/* ============================================
   БАЗОВЫЕ СТИЛИ LobanovaRG
   Цветовая схема: Светлый Luxury
   Фон: #F7F4EE | Секции: #EFE7D8 | Карточки: #FCFAF5
   Акценты: Золото #D4AF37, Бирюза #63D6E6
   ============================================ */

/* ---------- СБРОС И БАЗА ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Arial', sans-serif;
    background-color: #F7F4EE;
    color: #2D2D2D;
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- ШАПКА ---------- */
.header {
    background-color: #FCFAF5;
    border-bottom: 2px solid #EFE7D8;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
}

.logo__name {
    color: #2D2D2D;
}

.logo__suffix {
    color: #D4AF37;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 25px;
    flex-wrap: wrap;
}

.nav__link {
    text-decoration: none;
    color: #2D2D2D;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
}

.nav__link:hover,
.nav__link.active {
    color: #D4AF37;
}

.header__cart {
    font-size: 22px;
    text-decoration: none;
    color: #2D2D2D;
}

/* ---------- ОСНОВНАЯ ЧАСТЬ ---------- */
.main {
    padding: 40px 0 60px;
}

/* ---------- КАТАЛОГ ---------- */
.catalog-page__title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #2D2D2D;
}

.catalog-page__wrapper {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

/* --- САЙДБАР (ФИЛЬТРЫ) --- */
.catalog-page__filters {
    width: 260px;
    flex-shrink: 0;
    background: #FCFAF5;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #EFE7D8;
}

.filters__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.filter-group {
    margin-bottom: 18px;
}

.filter-group__label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #2D2D2D;
    margin-bottom: 5px;
}

.filter-group__select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #EFE7D8;
    border-radius: 6px;
    background: #FCFAF5;
    font-size: 14px;
    color: #2D2D2D;
    cursor: pointer;
}

.filter-group__select:focus {
    outline: none;
    border-color: #D4AF37;
}

.filter-group__colors {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 5px;
}

.color-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
}

.color-dot {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid #ddd;
    flex-shrink: 0;
}

/* --- ТОВАРЫ --- */
.catalog-page__items {
    flex: 1;
    min-width: 300px;
}

.catalog-page__sort {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.catalog-page__sort select {
    padding: 6px 12px;
    border: 1px solid #EFE7D8;
    border-radius: 6px;
    background: #FCFAF5;
    font-size: 14px;
    cursor: pointer;
}

/* --- СЕТКА КАРТОЧЕК --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

.product-card {
    background: #FCFAF5;
    border-radius: 12px;
    border: 1px solid #EFE7D8;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

/* --- СТАТУСЫ КАРТОЧЕК --- */
.product-card--sold {
    opacity: 0.75;
    filter: grayscale(0.3);
}

.product-card--sold .product-card__info {
    opacity: 0.6;
}

.product-card--coming .product-card__badge--coming {
    background: #FFA500;
    color: #fff;
}

.product-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 5;
}

.product-card__badge--sold {
    background: #2D2D2D;
    color: #FCFAF5;
}

.product-card__badge--coming {
    background: #FFA500;
    color: #fff;
}

.product-card__image {
    width: 100%;
    aspect-ratio: 1/1.2;
    background: #EFE7D8;
    overflow: hidden;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-card__info {
    padding: 16px 16px 20px;
}

.product-card__name {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #2D2D2D;
}

.product-card__uniqueness {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    margin-bottom: 6px;
}

.uniqueness-icon {
    font-size: 16px;
}

.uniqueness-label {
    color: #666;
}

.product-card__sizes {
    font-size: 13px;
    color: #555;
    margin-bottom: 4px;
}

.size-label {
    font-weight: 500;
}

.product-card__condition {
    font-size: 12px;
    color: #888;
    background: #EFE7D8;
    display: inline-block;
    padding: 1px 12px;
    border-radius: 12px;
    margin-bottom: 8px;
}

.product-card__price {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: #D4AF37;
    margin-bottom: 10px;
}

.product-card__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* --- КНОПКИ --- */
.btn {
    padding: 8px 18px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn--primary {
    background: #D4AF37;
    color: #fff;
}

.btn--primary:hover {
    background: #c4a030;
}

.btn--secondary {
    background: transparent;
    color: #D4AF37;
    border: 1px solid #D4AF37;
}

.btn--secondary:hover {
    background: #D4AF37;
    color: #fff;
}

.btn--large {
    padding: 14px 40px;
    font-size: 18px;
}

/* --- ПУСТОЙ РЕЗУЛЬТАТ --- */
.empty-message {
    background: #FCFAF5;
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid #EFE7D8;
    text-align: center;
    font-size: 18px;
    color: #666;
}

/* ---------- СТРАНИЦА ТОВАРА ---------- */
.product-page__wrapper {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.product-page__media {
    flex: 1;
    min-width: 320px;
}

.product-slider {
    background: #EFE7D8;
    border-radius: 12px;
    overflow: hidden;
}

.product-slider__slide img {
    width: 100%;
    display: block;
}

.product-page__info {
    flex: 1;
    min-width: 320px;
}

.product-page__title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.product-page__status {
    display: inline-block;
    padding: 4px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.product-page__status--available {
    background: #63D6E6;
    color: #fff;
}

.product-page__uniqueness {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    margin-bottom: 16px;
}

.product-page__description {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
    padding: 16px 0;
    border-top: 1px solid #EFE7D8;
    border-bottom: 1px solid #EFE7D8;
}

.product-page__specs h3,
.product-page__materials h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    margin-bottom: 10px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.specs-table td {
    padding: 6px 10px;
    border-bottom: 1px solid #EFE7D8;
}

.specs-table td:first-child {
    font-weight: 500;
    color: #888;
    width: 40%;
}

.product-page__price {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: #D4AF37;
    margin: 20px 0;
}

.product-page__actions {
     text-align: left !important;
}

.product-page__copyright {
    font-size: 13px;
    color: #999;
    border-top: 1px solid #EFE7D8;
    padding-top: 16px;
    margin-top: 16px;
}

/* ---------- ПОДВАЛ ---------- */
.footer {
    background: #EFE7D8;
    padding: 30px 0;
    margin-top: 40px;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer__copyright {
    font-size: 14px;
    color: #666;
}

.footer__social {
    display: flex;
    gap: 20px;
}

.footer__social-link {
    text-decoration: none;
    color: #2D2D2D;
    font-size: 14px;
    transition: color 0.3s;
}

.footer__social-link:hover {
    color: #D4AF37;
}

/* ---------- АДАПТИВ ---------- */
@media (max-width: 900px) {
    .catalog-page__wrapper {
        flex-direction: column;
    }
    .catalog-page__filters {
        width: 100%;
    }
    .product-page__wrapper {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .header__inner {
        flex-direction: column;
        gap: 10px;
    }
    .nav__list {
        justify-content: center;
        gap: 12px;
    }
    .nav__link {
        font-size: 13px;
    }
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
    .product-card__info {
        padding: 12px;
    }
    .product-card__name {
        font-size: 15px;
    }
    .product-card__price {
        font-size: 17px;
    }
}

/* ===== ВИДЕО ПРИ НАВЕДЕНИИ ===== */
.product-card__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    background: #EFE7D8;
}

.product-card__image {
    position: relative;
    overflow: hidden;
    background: #EFE7D8;
}

.product-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

/* ===== СПИННЕР (иконка загрузки) ===== */
.video-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(239, 231, 216, 0.7);
    z-index: 2;
}

.product-card:hover .video-loader {
    display: flex;
}

.spinner {
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

.spinner-path {
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

@keyframes dash {
    0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; }
    50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; }
    100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; }
}

/* Видео становится видимым только когда загрузилось */
.product-card__video[style*="display: block"] {
    display: block !important;
}
/* ===== ФОРМА ПОИСКА ПО ПАРАМЕТРАМ ===== */
.search-params {
    background: #FCFAF5;
    border-radius: 12px;
    border: 1px solid #EFE7D8;
    padding: 20px 25px;
    margin-bottom: 30px;
}

.search-form__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 15px;
}

.search-form__group {
    flex: 1;
    min-width: 120px;
}

.search-form__group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #2D2D2D;
    margin-bottom: 4px;
}

.search-form__group input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #EFE7D8;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    color: #2D2D2D;
    transition: border-color 0.3s;
}

.search-form__group input:focus {
    outline: none;
    border-color: #D4AF37;
}

.search-form__group--action {
    flex: 0 0 auto;
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn--search {
    padding: 8px 24px;
    font-size: 15px;
    white-space: nowrap;
}

.btn--reset {
    padding: 8px 16px;
    font-size: 14px;
    white-space: nowrap;
}

.search-form__hint {
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 15px;
    color: #666;
    background: #EFE7D8;
}

.search-form__hint--empty {
    background: #fef0e6;
    color: #b87333;
    border-left: 4px solid #D4AF37;
}

/* Адаптив для формы поиска */
@media (max-width: 768px) {
    .search-form__row {
        flex-direction: column;
        gap: 10px;
    }
    .search-form__group {
        min-width: 100%;
    }
    .search-form__group--action {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
}
/* ===== СТРАНИЦЫ-ЗАГЛУШКИ ===== */
.page-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 40px 20px;
}

.page-placeholder__inner {
    max-width: 600px;
    text-align: center;
    background: #FCFAF5;
    padding: 50px 40px;
    border-radius: 16px;
    border: 1px solid #EFE7D8;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.page-placeholder__icon {
    font-size: 64px;
    margin-bottom: 16px;
    display: block;
}

.page-placeholder__title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: #2D2D2D;
    margin-bottom: 12px;
}

.page-placeholder__divider {
    width: 60px;
    height: 3px;
    background: #D4AF37;
    margin: 0 auto 20px;
    border-radius: 2px;
}

.page-placeholder__description {
    font-size: 17px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.page-placeholder__sub {
    font-size: 15px;
    color: #888;
    background: #EFE7D8;
    padding: 14px 20px;
    border-radius: 8px;
    margin-bottom: 28px;
}

.page-placeholder__sparkle {
    margin: 0 6px;
}

.page-placeholder__btn {
    display: inline-block;
}

/* Адаптив для страниц-заглушек */
@media (max-width: 600px) {
    .page-placeholder__inner {
        padding: 30px 20px;
    }
    .page-placeholder__title {
        font-size: 26px;
    }
    .page-placeholder__icon {
        font-size: 48px;
    }
    .page-placeholder__description {
        font-size: 15px;
    }
}
/* ===== СОЦИАЛЬНЫЕ СЕТИ В ПОДВАЛЕ ===== */
.footer__social {
    display: flex;
    gap: 16px;
    align-items: center;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FCFAF5;
    color: #2D2D2D;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #EFE7D8;
}

.footer__social-link:hover {
    background: #D4AF37;
    color: #fff;
    border-color: #D4AF37;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* Отдельные цвета при наведении (опционально) */
.footer__social-link:hover .fa-instagram {
    color: #fff;
}

.footer__social-link:hover .fa-telegram-plane {
    color: #fff;
}

.footer__social-link:hover .fa-whatsapp {
    color: #fff;
}

/* Адаптив */
@media (max-width: 600px) {
    .footer__inner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .footer__social {
        gap: 12px;
    }
    .footer__social-link {
        width: 36px;
        height: 36px;
        font-size: 17px;
    }
}
/* ===== ПУНКТ 1: Клик по карточке ===== */
.product-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-card__name-link {
    text-decoration: none;
    color: inherit;
}

.product-card__name-link:hover .product-card__name {
    color: #D4AF37;
}

/* ===== ПУНКТ 5: Цвет фона состояния ===== */
.product-card__condition {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 14px;
    border-radius: 12px;
    margin-bottom: 8px;
    color: #fff;
}

.condition--new {
    background: #63D6E6; /* бирюза */
    color: #fff;
}

.condition--used {
    background: #b0b0b0;
    color: #fff;
}
/* ===== ПЛАШКИ НА СТРАНИЦЕ ТОВАРА (ПУНКТ 8) ===== */
.product-page__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.badge {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge--status {
    background: #D4AF37;
    color: #fff;
}
.badge--available {
    background: #63D6E6;
    color: #fff;
}
.badge--coming {
    background: #FFA500;
    color: #fff;
}

.badge--condition {
    background: #b0b0b0;
    color: #fff;
}
.badge--new {
    background: #63D6E6;
    color: #fff;
}
.badge--used {
    background: #b0b0b0;
    color: #fff;
}

.badge--uniqueness {
    background: #FCFAF5;
    color: #2D2D2D;
    border: 1px solid #EFE7D8;
}
/* ===== ФИКСИРОВАННАЯ ВЫСОТА ДЛЯ СЛАЙДЕРА ===== */
/* ===== БЕСКОНЕЧНЫЙ СЛАЙДЕР «НАШИ ЗВЁЗДОЧКИ» ===== */
.stars-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 50px;
    overflow: hidden;
    height: 380px; /* фиксированная высота */
}

.stars-track {
    display: flex;
    gap: 12px;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.stars-slide {
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
}

.stars-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.stars-slide--large {
    width: 55%;
}

.stars-slide--small {
    width: 20%;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.stars-slide--small:hover {
    opacity: 1;
}
/* ===== АРТИКУЛ ===== */
.product-card__article {
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
    font-weight: 400;
}

.product-page__article {
    font-size: 13px;
    color: #999;
    margin-bottom: 4px;
    font-weight: 400;
    margin-top: -4px;
}
/* ===== МАТЕРИАЛЫ (НОВЫЙ ФОРМАТ) ===== */
.materials-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}

/* ===== МАТЕРИАЛЫ — БЕЗ ПЕРЕНОСА СТРОКИ ===== */
.materials-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    font-size: 16px !important;
    color: #2D2D2D !important;
    line-height: 1.7 !important;
    font-family: 'Inter', 'Arial', sans-serif !important;
}

.materials-label {
    font-weight: 600 !important;
    color: #2D2D2D !important;
}

.materials-value {
    color: #555 !important;
}
/* ===== СТРАНИЦА «ИНДИВИДУАЛЬНЫЙ ЗАКАЗ» ===== */
.custom-content {
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
    padding: 10px 0;
}

.custom-content p {
    font-size: 17px;
    line-height: 1.8;
    color: #2D2D2D;
    margin-bottom: 16px;
}

.custom-content__lead {
    font-size: 19px !important;
    font-weight: 600;
    color: #D4AF37 !important;
}

.custom-content__steps {
    background: #FCFAF5;
    border-radius: 12px;
    border: 1px solid #EFE7D8;
    padding: 20px 28px;
    margin: 24px 0;
}

.custom-content__steps h4 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: #2D2D2D;
    margin-bottom: 10px;
}

.custom-content__steps ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 20px;
}

.custom-content__steps ul li {
    font-size: 15px;
    color: #555;
    padding: 4px 0;
}

.custom-content__footer {
    font-size: 18px !important;
    font-weight: 500;
    text-align: center;
    color: #2D2D2D !important;
    margin-top: 20px !important;
}

.custom-content__action {
    text-align: center;
    margin-top: 30px;
}

@media (max-width: 600px) {
    .custom-content__steps ul {
        grid-template-columns: 1fr;
    }
}
/* ===== СТРАНИЦА «О КУПАЛЬНИКАХ» ===== */
.about-content {
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
    padding: 10px 0;
}

.about-content p {
    font-size: 17px;
    line-height: 1.9;
    color: #2D2D2D;
    margin-bottom: 18px;
}

.about-content__footer {
    font-size: 18px !important;
    font-weight: 500;
    text-align: center;
    color: #D4AF37 !important;
    margin-top: 24px !important;
}

.about-content__action {
    text-align: center;
    margin-top: 30px;
}
/* ===== ГАЛЕРЕЯ НА СТРАНИЦЕ «О КУПАЛЬНИКАХ» ===== */
.about-gallery {
    margin: 30px 0;
}

.about-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.about-gallery__item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: #EFE7D8;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-gallery__item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.about-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-gallery__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 36px;
    color: #fff;
}

.about-gallery__item:hover .about-gallery__overlay {
    opacity: 1;
}

/* Лайтбокс для галереи */
.lightbox-gallery {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-gallery.active {
    display: flex;
}

.lightbox-gallery__image {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-gallery__close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    font-family: Arial, sans-serif;
    z-index: 10;
    transition: color 0.3s;
}

.lightbox-gallery__close:hover {
    color: #D4AF37;
}

/* Адаптив */
@media (max-width: 768px) {
    .about-gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .about-gallery__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}
/* ===== СТРАНИЦА «КОНТАКТЫ» ===== */
.contacts-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 10px 0;
}

.contacts-content__lead {
    font-size: 22px;
    font-weight: 600;
    color: #2D2D2D;
    text-align: center;
    margin-bottom: 8px;
}

.contacts-content p {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-bottom: 24px;
}

.contacts-content__form {
    background: #FCFAF5;
    border-radius: 16px;
    border: 1px solid #EFE7D8;
    padding: 30px 28px;
}

.contacts-content__submit {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 17px;
}
.search-form__hint--success {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #D4AF37;
}

.search-form__hint--success a {
    color: #D4AF37;
    text-decoration: underline;
}

.search-form__hint--success small {
    display: block;
    margin-top: 6px;
    color: #555;
}
/* ===== ПЛАШКИ В КАРТОЧКЕ КАТАЛОГА ===== */
.product-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.product-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 12px;
    border-radius: 12px;
    color: #fff;
}

.condition--new {
    background: #63D6E6;
}

.condition--used {
    background: #b0b0b0;
}

.product-card__badge--uniqueness {
    background: #FCFAF5;
    color: #2D2D2D;
    border: 1px solid #EFE7D8;
}

.product-card__badge--uniqueness .uniqueness-icon {
    font-size: 14px;
}

.product-card__badge--uniqueness .uniqueness-label {
    font-size: 12px;
    color: #2D2D2D;
}
/* ===== МАТЕРИАЛЫ (как "Мерки") ===== */
.product-page__materials h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    margin-bottom: 10px;
}

.materials-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}


.materials-label {
    font-weight: 600;
    color: #2D2D2D;
}

.materials-value {
    color: #555;
}
.product-card__badge--available {
    background: #63D6E6;
    color: #fff;
}
/* ===== ПОПАП ОБРАТНОЙ СВЯЗИ ===== */
.feedback-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9998;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.feedback-overlay.active {
    display: flex;
}

.feedback-popup {
    background: #FCFAF5;
    border-radius: 20px;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 35px 30px 30px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    animation: feedbackIn 0.3s ease;
}

@keyframes feedbackIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.feedback-popup__close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
    font-family: Arial, sans-serif;
}

.feedback-popup__close:hover {
    color: #2D2D2D;
}

.feedback-popup__header {
    text-align: center;
    margin-bottom: 24px;
}

.feedback-popup__icon {
    font-size: 40px;
    display: block;
    margin-bottom: 6px;
}

.feedback-popup__title {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: #2D2D2D;
    margin: 0 0 4px;
}

.feedback-popup__sub {
    font-size: 14px;
    color: #888;
    margin: 0;
}

.feedback-popup__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feedback-popup__row {
    display: flex;
    gap: 14px;
}

.feedback-popup__row .feedback-popup__group {
    flex: 1;
}

.feedback-popup__group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.feedback-popup__group label {
    font-size: 14px;
    font-weight: 500;
    color: #2D2D2D;
}

.feedback-popup__group input,
.feedback-popup__group textarea {
    padding: 10px 14px;
    border: 1px solid #EFE7D8;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    background: #fff;
    transition: border-color 0.3s;
}

.feedback-popup__group input:focus,
.feedback-popup__group textarea:focus {
    outline: none;
    border-color: #D4AF37;
}

.feedback-popup__group textarea {
    resize: vertical;
    min-height: 80px;
}

.feedback-popup__hint {
    font-size: 13px;
    color: #999;
    text-align: center;
    margin-top: -4px;
    background: #f5f5f5;
    padding: 8px 14px;
    border-radius: 8px;
    line-height: 1.5;
}

.feedback-popup__hint strong {
    color: #D4AF37;
}

.feedback-popup__submit {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 17px;
}

.feedback-popup__status {
    text-align: center;
    font-size: 14px;
    padding: 8px 0;
    display: none;
}

.feedback-popup__status.success {
    display: block;
    color: #27ae60;
}

.feedback-popup__status.error {
    display: block;
    color: #e74c3c;
}

.feedback-popup__status.loading {
    display: block;
    color: #D4AF37;
}

@media (max-width: 600px) {
    .feedback-popup {
        padding: 24px 18px 20px;
        border-radius: 16px;
    }
    .feedback-popup__row {
        flex-direction: column;
        gap: 14px;
    }
    .feedback-popup__title {
        font-size: 22px;
    }
}
.product-page__materials .materials-row {
    list-style: none;
}

.product-page__materials .materials-row::before {
    content: none !important;
}
/* ===== ПЛАШКИ ПОД ФОТО (уникальность и состояние) ===== */
/* ===== ПЛАШКИ В КАТАЛОГЕ (исправленные) ===== */

/* Контейнер для плашек */
.product-card__info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 16px 20px;
}

/* Блок с плашками (обертка) */
.product-card__badges-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-bottom: 4px;
    width: 100%;
}

/* Плашка уникальности */
.product-card__uniqueness-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 28px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    background: #FCFAF5 !important;
    color: #2D2D2D !important;
    border: 1px solid #EFE7D8 !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    gap: 4px !important;
    white-space: nowrap !important;
}

.product-card__uniqueness-badge .uniqueness-icon {
    font-size: 14px !important;
    line-height: 1 !important;
}

.product-card__uniqueness-badge .uniqueness-label {
    font-size: 12px !important;
    color: #2D2D2D !important;
    line-height: 1 !important;
}

/* Плашка состояния (Новое / Б/У) */
.product-card__condition-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 28px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    color: #fff !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
}

.condition--new {
    background: #63D6E6 !important;
}

.condition--used {
    background: #b0b0b0 !important;
}

/* Ховер для плашки уникальности как ссылки */
.product-card__uniqueness-badge:hover {
    background: #D4AF37 !important;
    color: #fff !important;
    border-color: #D4AF37 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
}

.product-card__uniqueness-badge:hover .uniqueness-label {
    color: #fff !important;
}
.product-card__status-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 5;
}

.product-card__status-badge--sold {
    background: #2D2D2D;
    color: #FCFAF5;
}

.product-card__status-badge--coming {
    background: #FFA500;
    color: #fff;
}

.product-card__status-badge--available {
    background: #63D6E6;
    color: #fff;
}
.product-page__slogan {
    font-size: 16px;
    color: #555;
    margin-bottom: 16px;
    padding: 8px 0;
    border-bottom: 1px solid #EFE7D8;
}
.filter-group__price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group__price input {
    width: 70px;
    padding: 6px 8px;
    border: 1px solid #EFE7D8;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
}

.filter-group__price input:focus {
    outline: none;
    border-color: #D4AF37;
}

.price-separator {
    color: #999;
}
/* ===== ПЛАШКИ УНИКАЛЬНОСТИ КАК ССЫЛКИ ===== */
.product-card__uniqueness-badge,
.badge--uniqueness {
    transition: all 0.3s ease !important;
}

.product-card__uniqueness-badge:hover,
.badge--uniqueness:hover {
    background: #D4AF37 !important;
    color: #fff !important;
    border-color: #D4AF37 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
}
/* ===== КНОПКИ В КАРТОЧКЕ ТОВАРА (ПУНКТ 4.4) ===== */
.product-page__buttons--left {
     display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}

/* Кнопка «Хочу этот образ» */
.btn--want {
   background: #D4AF37;
    color: #fff;
    border: none;
    padding: 14px 32px;
    font-size: 18px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn--want:hover {
    background: #C19B2E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Кнопка «Задать вопрос» (как «Уведомить меня» в каталоге) */
.btn--ask {
     background: transparent;
    color: #D4AF37;
    border: 1px solid #D4AF37;
    padding: 14px 32px;
    font-size: 18px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn--ask:hover {
    background: #D4AF37;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

/* Адаптив для мобильных */
@media (max-width: 600px) {
    .product-page__buttons--left {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn--want,
    .btn--ask {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 16px;
    }
}
/* ===== ФИКСИРОВАННАЯ КНОПКА «ВЕРНУТЬСЯ К СПИСКУ СТАТЕЙ» ===== */
.back-to-blog-fixed {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    background: #D4AF37;
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.back-to-blog-fixed:hover {
    background: #C19B2E;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.5);
    color: #fff;
    opacity: 1;
}

/* Адаптив для мобильных */
@media (max-width: 600px) {
    .back-to-blog-fixed {
        bottom: 20px;
        padding: 10px 20px;
        font-size: 14px;
        border-radius: 40px;
        white-space: nowrap;
    }
}