.loading,
.error-message {
    display: flex;
    height: 250px;
    text-align: center;
    padding: 50px;
    font-size: 18px;
    color: black;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
}

body {
    background-image: none !important;
}

.header {
    position: relative;
    z-index: 1000;
    background-color: transparent;
    padding: 15px 0;
    background-color: #ffffff;
    border-bottom: 3px solid #CDA831;
    /* золотая полоса */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav__link {
    color: #333 !important;
}

.nav__link:hover {
    color: #CDA831 !important;
}

.nav__link--active {
    color: #CDA831 !important;
}

.breadcrumbs {
    color: black;
    padding-top: 10px;
    background-color: #D1E8E2;
}

.breadcrumbs a {
    text-decoration: none;
    color: black;
    transition: 0.3s;
}

.breadcrumbs a:hover {
    text-decoration: none;
    color: #CDA831;
    transition: 0.3s;
}

#breadcrumb-product {
    color: #CDA831;
}

.product-grid {
    display: flex;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
}

.product-title h1 {
    color: #CDA831;
}

.product-page {
    background-color: #D1E8E2;
}

.product-info {
    width: 90%;
    color: black;
}

.product-price .current {
    font-size: 32px;
    font-weight: bold;
    color: black;
}

.product-price .old {
    font-size: 24px;
    color: #999;
    text-decoration: line-through;
    margin-left: 15px;
}

.product-disclaimer {
    color: gray;
}

.product-short {
    color: gray;
}

.buy-actions {
    display: flex;
    gap: 15px;
    margin: 25px 0;
}

/* .product-gallery .main-image {
} */

.composition-section {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #CDA831;
    margin: 30px 0;
}

.section-title {
    color: #333;
    margin-bottom: 20px;
    font-size: 20px;
}

.composition-items {
    display: grid;
    gap: 12px;
}

.composition-element {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.composition-marker {
    color: #CDA831;
    flex-shrink: 0;
}

.composition-text {
    color: #555;
    line-height: 1.5;
}

/* Аккордеоны */
.accordions-container {
    margin-top: 40px;
}

.info-accordion {
    border: 1px solid #eaeaea;
    border-radius: 10px;
    margin-top: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    background: #ffffff;
}

.info-accordion.active {
    border-color: #CDA831;
    box-shadow: 0 4px 15px rgba(205, 168, 49, 0.1);
}

.accordion-toggle {
    width: 100%;
    padding: 20px 25px;
    background: #f9f9f9;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    font-size: 16px;
    text-align: left;
    transition: background 0.3s;
}

.info-accordion.active .accordion-toggle {
    background: rgba(205, 168, 49, 0.05);
}

.accordion-toggle:hover {
    background: #f0f0f0;
}

.info-accordion.active .accordion-toggle:hover {
    background: rgba(205, 168, 49, 0.1);
}

.accordion-heading {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.accordion-icon {
    font-size: 30px;
    color: #CDA831;
    transition: transform 0.3s;
    display: inline-block;
    width: 20px;
    text-align: center;
}

.accordion.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.accordion-content li {
    padding: 10px 25px;
    border-bottom: 1px dashed #eee;
    color: #555;
}

.accordion-content li:last-child {
    border-bottom: none;
}

.accordion-content p {
    padding: 20px 25px;
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.recommendations-section {
    padding-top: 30px;
    border-top: 1px solid transparent;
}

.recommendations-section h2 {
    text-align: center;
    font-size: 20px;
    color: #333;
}

/* Особенности */
.product-features {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
}

.product-features h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #CDA831;
}

.feature h4 {
    color: #333;
    margin: 0 0 10px;
    font-size: 18px;
}

.feature p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Адаптивность */

@media (max-width: 768px) {

    .breadcrumbs {
        font-size: 14px;
    }

    .product-page {
        padding: 5% 0;
    }

    .product-grid {
        flex-direction: column;
        align-items: center;
    }

    .main-image img {
        width: 250px;
        height: 250px;
    }

    .product-title {
        display: flex;
        flex-direction: column;
    }

    .product-title h1 {
        text-align: center;
    }

    .product-price {
        display: flex;
        justify-content: center;
    }

    .buy-actions {
        justify-content: center;
    }
}

@media (max-width: 320px) {

    .main-image img {
        width: 250px;
        height: 250px;
    }

    .product-title h1 {
        font-size: 26px;
    }

    .product-price .current {
        font-size: 24px;
    }

    .button {
        padding: 3%;
    }

    .product-full-description {
        font-size: 14px;
    }

    .product-info {
        width: 100%;
    }

    .accordion-heading {
        font-size: 16px;
    }

    .accordion-content {
        font-size: 14px;
    }

    .recommendations-section h2 {
        font-size: 18px;
    }

}

/* @media (max-width: 992px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-info h1 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .product-page {
        padding: 20px 0 40px;
    }

    .accordion-toggle {
        padding: 15px 20px;
    }
}

.product-features h2 {
    color: black;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature {
    background: black;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #CDA831;
} */