/* =======================================================
   ZILFRESH.RU — СТРАНИЦА ТОВАРА (QUIET LUXURY PDP)
   Полная синхронизация с дизайн-системой стартовой страницы
   ======================================================= */

   :root {
    --bg-canvas: #FAF8F5;
    --bg-card: #FFFFFF;
    --bg-subtle: #F2EFE9;
    --bg-pill-active: #FAF8F5;

    --text-main: #141613;
    --text-muted: #62685E;
    --text-light: #9EA398;

    --border-subtle: rgba(20, 22, 19, 0.07);
    --border-hover: rgba(20, 22, 19, 0.18);

    --shadow-search-floating: 0 24px 60px rgba(0, 0, 0, 0.12), 0 6px 16px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 4px 18px rgba(20, 22, 19, 0.03);
    --shadow-float: 0 16px 36px rgba(20, 22, 19, 0.08);

    --btn-primary-bg: #141613;
    --btn-primary-text: #FAF8F5;
    --accent-nectar: #DE5D26;
    --accent-fresh: #2B7A32;

    --radius-pill: 9999px;
    --radius-card: 24px;
    --radius-inner: 16px;
    --radius-sm: 10px;
}

/* 1. ГЛАВНЫЙ КОНТЕЙНЕР */
.product-page-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 110px 24px 80px;
    position: relative;
    z-index: 10;
}

/* 2. ХЛЕБНЫЕ КРОШКИ */
.breadcrumbs {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: var(--text-main);
}

.breadcrumbs .sep {
    color: rgba(20, 22, 19, 0.25);
    font-size: 11px;
}

.breadcrumbs .current {
    color: var(--text-main);
    font-weight: 700;
}

/* 3. ОСНОВНАЯ КАРТОЧКА ТОВАРА */
.product-main-card {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 48px;
    background: var(--bg-card);
    border-radius: var(--radius-card);
    padding: 36px;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
    margin-bottom: 40px;
}

/* ЛЕВАЯ КОЛОНКА: ГАЛЕРЕЯ */
.product-gallery {
    position: relative;
    display: flex;
    flex-direction: column;
}

.gallery-stickers {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 6px;
    pointer-events: none;
}

.badge-pill {
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.badge-live-video {
    background: linear-gradient(135deg, #141613, #333830);
    color: #FFFFFF;
}

.badge-rescued {
    background: #EBF3EB;
    color: var(--accent-fresh);
    border: 1px solid rgba(43, 122, 50, 0.15);
}

.badge-discount {
    background: #FDF0EA;
    color: var(--accent-nectar);
    border: 1px solid rgba(222, 93, 38, 0.15);
}

.badge-custom {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-main);
    border: 1px solid var(--border-subtle);
}

/* Подиум для фото */
.gallery-main-frame {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: radial-gradient(circle at 50% 35%, #FFFFFF 0%, #F5F2EC 100%);
    border-radius: var(--radius-inner);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}

.product-aura-glow {
    position: absolute;
    width: 65%;
    height: 65%;
    background: radial-gradient(circle, rgba(222, 93, 38, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.gallery-main-frame img {
    position: relative;
    z-index: 2;
    max-width: 88%;
    max-height: 88%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-main-frame img.png-shadow {
    filter: drop-shadow(0 18px 24px rgba(20, 22, 19, 0.12));
}

.gallery-main-frame:hover img {
    transform: scale(1.05);
}

.gallery-video-player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

.gallery-zoom-badge {
    position: absolute;
    bottom: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    z-index: 5;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, background 0.2s ease;
}

.gallery-zoom-badge:hover {
    transform: scale(1.08);
    background: #FFFFFF;
}

.gallery-zoom-badge svg {
    width: 18px;
    height: 18px;
}

/* Миниатюры */
.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}
.gallery-thumbs::-webkit-scrollbar { display: none; }

.thumb-item-wrapper {
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    border-radius: 12px;
}

.thumb-item {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: #FFFFFF;
    border: 1.5px solid var(--border-subtle);
    object-fit: contain;
    padding: 4px;
    transition: all 0.2s ease;
}

.thumb-item-wrapper.active .thumb-item,
.thumb-item-wrapper:hover .thumb-item {
    border-color: var(--text-main);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 22, 19, 0.08);
}

.thumb-video-badge {
    position: absolute;
    inset: 0;
    background: rgba(20, 22, 19, 0.4);
    border-radius: 12px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* ПРАВАЯ КОЛОНКА: ИНФОРМАЦИЯ */
.product-info-col {
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 800;
    letter-spacing: -0.8px;
    color: var(--text-main);
    line-height: 1.15;
    margin-bottom: 10px;
}

.serif-accent {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 600;
    color: var(--accent-nectar);
}

.product-meta-row {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.stock-status {
    font-weight: 700;
}
.stock-status.in-stock { color: var(--accent-fresh); }
.stock-status.out-of-stock { color: var(--accent-nectar); }

/* Блок цены */
.price-box {
    background: var(--bg-subtle);
    border-radius: var(--radius-inner);
    padding: 20px 24px;
    margin-bottom: 20px;
    border: 1px solid rgba(20, 22, 19, 0.04);
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.price-main {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.8px;
    color: var(--text-main);
    line-height: 1;
}

.price-old {
    font-size: 18px;
    text-decoration: line-through;
    color: var(--text-light);
    font-weight: 600;
}

.price-unit {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
}

.price-per-kg-sub {
    font-size: 13.5px;
    color: var(--accent-nectar);
    font-weight: 700;
    margin-left: 4px;
}

.price-weight-hint {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-top: 8px;
    font-weight: 500;
}

/* 4. СЕЛЕКТОРЫ: ФАСОВКА И СПЕЛОСТЬ */
.option-group-wrap {
    margin-bottom: 18px;
}

.option-group-label {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.options-pills-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Кнопки фасовок (в тихом премиальном стиле) */
.pack-pill-btn {
    background: #FFFFFF;
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-inner);
    padding: 8px 16px;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    min-width: 90px;
}

.pack-pill-btn:hover {
    border-color: var(--border-hover);
    background: #FAF8F5;
    transform: translateY(-1px);
}

.pack-pill-btn.active {
    border-color: var(--text-main);
    background: #FFFFFF;
    box-shadow: 0 4px 14px rgba(20, 22, 19, 0.08);
}

.pack-pill-price {
    font-size: 11.5px;
    color: var(--accent-fresh);
    font-weight: 800;
}

.pack-pill-btn.active .pack-pill-price {
    color: var(--accent-nectar);
}

/* Кнопки спелости */
.ripeness-pill-btn {
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    padding: 7px 16px;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.ripeness-pill-btn:hover {
    border-color: var(--text-main);
    color: var(--text-main);
    background: #FAF8F5;
}

.ripeness-pill-btn.active {
    background: #FAF3E8;
    border-color: rgba(222, 93, 38, 0.3);
    color: #8C531B;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(222, 93, 38, 0.08);
}

/* Заметка отборщика */
.picker-note-card {
    background: #FAF3E8;
    border: 1px solid rgba(184, 142, 76, 0.15);
    border-radius: var(--radius-inner);
    padding: 16px 20px;
    margin-bottom: 20px;
    display: flex;
    gap: 14px;
    align-items: center;
}

.picker-role {
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #8C531B;
    margin-bottom: 2px;
}

.picker-quote {
    font-size: 13.5px;
    color: var(--text-main);
    line-height: 1.45;
    font-style: italic;
}

/* 5. ГЛАВНАЯ КНОПКА И СТЕППЕР КОРЗИНЫ */
.action-container {
    margin: 22px 0;
    min-height: 54px;
}

/* Добавить в корзину (черный графит) */
.btn-add-main {
    width: 100%;
    height: 54px;
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border: none;
    border-radius: var(--radius-pill);
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 24px rgba(20, 22, 19, 0.15);
}

.btn-add-main:hover {
    background: #2B2F2A;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(20, 22, 19, 0.22);
}

.btn-add-main.is-disabled {
    background: var(--bg-subtle);
    color: var(--text-light);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* Активный степпер (сочный брендовый зеленый) */
.stepper-active-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--accent-fresh);
    color: #FFFFFF;
    border-radius: var(--radius-pill);
    height: 54px;
    padding: 0 8px;
    width: 100%;
    box-shadow: 0 10px 24px rgba(43, 122, 50, 0.25);
    animation: popIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stepper-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 800;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.stepper-btn:hover {
    background: #FFFFFF;
    color: var(--accent-fresh);
    transform: scale(1.05);
}

.stepper-text {
    font-weight: 800;
    font-size: 14.5px;
    letter-spacing: 0.2px;
}

@keyframes popIn {
    0% { transform: scale(0.96); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

/* Гарантия и доставка */
.trust-guarantee-box {
    background: var(--bg-canvas);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-inner);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
}

.trust-icon { font-size: 24px; }
.trust-title { font-size: 13.5px; font-weight: 800; color: var(--text-main); }
.trust-desc { font-size: 12px; color: var(--text-muted); margin-top: 2px; line-height: 1.4; }

.delivery-express-tag {
    font-size: 13px;
    color: var(--text-main);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
}

/* 6. СОЧЕТАНИЯ И ИДЕИ (PAIRINGS) */
.pairings-container {
    background: var(--bg-canvas);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-inner);
    padding: 16px 18px;
    margin-bottom: 20px;
}

.pairings-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.pairings-badge {
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--accent-nectar);
    background: rgba(222, 93, 38, 0.1);
    padding: 3px 8px;
    border-radius: 6px;
}

.pairings-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pairing-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.2s ease;
}

.pairing-chip.is-link:hover {
    border-color: var(--text-main);
    background: var(--text-main);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 22, 19, 0.12);
}

/* 7. ОПИСАНИЕ И ХАРАКТЕРИСТИКИ */
.details-block {
    background: var(--bg-card);
    border-radius: var(--radius-card);
    padding: 36px;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
    margin-bottom: 40px;
}

.details-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-subtle);
}

.details-description-text {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.specs-table {
    width: 100%;
    max-width: 680px;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--border-subtle);
}

.specs-table td {
    padding: 12px 0;
    font-size: 13.5px;
}

.specs-table td.label {
    color: var(--text-muted);
    font-weight: 500;
    width: 40%;
}

.specs-table td.value {
    color: var(--text-main);
    font-weight: 700;
}

/* =======================================================
   8. СЕТКА СОПУТСТВУЮЩИХ И ПОХОЖИХ ТОВАРОВ (CROSS-SELL)
   Идеально переработанная 4-колоночная Quiet Luxury витрина
   ======================================================= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 18px;
}

.product-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 12px;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(20, 22, 19, 0.06);
    border-color: var(--border-hover);
}

.card-img-holder {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    background: #F7F5F0;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .card-img-holder img {
    transform: scale(1.05);
}

.card-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.25;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 34px;
}

.card-meta {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.card-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    padding: 4px 9px;
    border-radius: var(--radius-pill);
    font-size: 10.5px;
    font-weight: 800;
    z-index: 3;
}
.card-badge.alert { color: var(--accent-nectar); }
.card-badge.gold { color: #8C531B; }

.card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 6px;
}

.card-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.card-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
}

.card-unit {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Кнопка "В корзину" в карточке */
.card-action-holder {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.add-to-cart-btn {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.add-to-cart-btn svg {
    width: 16px;
    height: 16px;
}

.add-to-cart-btn:hover {
    background: #2B2F2A;
    transform: scale(1.08);
}

/* Степпер в карточке каталога */
.wb-card-stepper {
    display: inline-flex;
    align-items: center;
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border-radius: var(--radius-pill);
    padding: 3px 6px;
    gap: 4px;
}

.wb-stepper-btn {
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 800;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.wb-stepper-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.wb-stepper-count {
    font-size: 12px;
    font-weight: 800;
    min-width: 16px;
    text-align: center;
}

.out-of-stock-chip {
    font-size: 11px;
    color: var(--text-light);
    background: var(--bg-subtle);
    padding: 4px 8px;
    border-radius: var(--radius-pill);
    font-weight: 600;
}

/* 9. ТАЙМЛАЙН СВЕЖЕСТИ */
.freshness-timeline-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAF8F5 100%);
    border-radius: var(--radius-card);
    padding: 36px;
    border: 1px solid var(--border-subtle);
    margin-bottom: 48px;
    box-shadow: var(--shadow-card);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 12px;
}

.timeline-header h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
}

.timeline-badge {
    background: #EBF3EB;
    color: var(--accent-fresh);
    font-size: 12px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(43, 122, 50, 0.15);
}

.timeline-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}

.timeline-steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border-subtle);
    z-index: 1;
}

.step-item {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-time {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-muted);
    margin-bottom: 8px;
    background: #FFFFFF;
    padding: 3px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-subtle);
}

.step-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 3px solid var(--text-main);
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.step-item.active .step-dot {
    background: var(--accent-fresh);
    border-color: var(--accent-fresh);
    box-shadow: 0 0 0 4px rgba(43, 122, 50, 0.2);
}

.step-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 4px;
}

.step-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    max-width: 180px;
}

/* 10. СЕКЦИЯ ЕЩЁ ИЗ КАТЕГОРИИ */
.same-category-section {
    margin-top: 40px;
    margin-bottom: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-subtle);
}

.same-category-section .section-title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-nectar);
    display: block;
    margin-bottom: 4px;
}

.section-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    color: var(--text-main);
}

.see-all-link {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--accent-nectar);
    text-decoration: none;
    transition: transform 0.2s ease;
}

.see-all-link:hover { transform: translateX(4px); }

/* 11. МОДАЛКА ФОТО И ТОСТ */
.image-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 22, 19, 0.85);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.image-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.image-modal-content img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.image-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #FFFFFF;
    font-size: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 22, 19, 0.95);
    color: #FFFFFF;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    font-size: 13.5px;
    font-weight: 700;
    z-index: 10000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* =======================================================
   12. АДАПТИВНОСТЬ ДЛЯ ПЛАНШЕТОВ И МОБИЛЬНЫХ
   ======================================================= */
@media (max-width: 1100px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
}

@media (max-width: 900px) {
    .product-page-container {
        padding-top: 85px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .product-main-card {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 24px;
    }

    .timeline-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
    .timeline-steps::before { display: none; }
}

@media (max-width: 768px) {
    .product-page-container {
        padding: 75px 12px 60px;
    }

    .product-main-card {
        padding: 16px;
        border-radius: 20px;
        margin-bottom: 24px;
    }

    .product-title {
        font-size: 24px;
        letter-spacing: -0.4px;
    }

    .price-box {
        padding: 14px 16px;
        border-radius: 14px;
    }

    .price-main {
        font-size: 28px;
    }

    .btn-add-main,
    .stepper-active-bar {
        height: 48px;
        font-size: 14px;
    }

    .stepper-btn {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    /* Мобильная 2-колоночная сетка Quiet Luxury */
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .product-card {
        padding: 8px;
        border-radius: 16px;
    }

    .card-img-holder {
        border-radius: 12px;
        margin-bottom: 6px;
    }

    .card-name {
        font-size: 12.5px;
        min-height: 31px;
    }

    .card-price {
        font-size: 14.5px;
    }

    .add-to-cart-btn {
        width: 30px;
        height: 30px;
    }

    .add-to-cart-btn svg {
        width: 14px;
        height: 14px;
    }

    .details-block,
    .freshness-timeline-card {
        padding: 20px 16px;
        border-radius: 20px;
    }
}
/* Убираем подчеркивание и синий цвет ссылок карточек */
.card-click-area,
.product-card a {
    text-decoration: none !important;
    color: inherit !important;
    outline: none;
    display: flex;
    flex-direction: column;
}

/* Название товара: без подчеркивания даже при наведении */
.card-name {
    text-decoration: none !important;
    color: var(--text-main);
    transition: color 0.2s ease;
}

/* Элегантное изменение цвета при наведении вместо подчеркивания */
.product-card:hover .card-name,
.card-click-area:hover .card-name {
    color: var(--accent-nectar); /* или var(--text-main), если не нужно менять цвет */
    text-decoration: none !important;
}

/* На всякий случай убираем подчеркивание у курсива в заголовке секции */
.section-title i {
    font-style: italic;
    text-decoration: none;
}
/* 🌸 КОНФИГУРАТОР МОНО-БУКЕТА */
.flower-config-wrap {
    background: #fff5f8;
    border: 1.5px solid #fbcfe8;
    border-radius: 16px;
    padding: 16px 18px;
    margin-top: 16px;
    margin-bottom: 16px;
}

.flower-config-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.flower-config-title {
    font-size: 14px;
    font-weight: 800;
    color: #9d174d;
    display: flex;
    align-items: center;
    gap: 6px;
}

.flower-discount-badge {
    background: #db2777;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 20px;
    letter-spacing: 0.02em;
    animation: pulse 2s infinite;
}

/* Кнопки длины стебля */
.flower-lengths-grid {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.flower-length-btn {
    background: #ffffff;
    border: 1.5px solid #fbcfe8;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.flower-length-btn:hover {
    border-color: #f472b6;
    background: #fff;
}

.flower-length-btn.active {
    background: #db2777;
    color: #ffffff;
    border-color: #db2777;
    box-shadow: 0 4px 12px rgba(219, 39, 119, 0.25);
}

.flower-length-btn .len-price {
    font-size: 11px;
    opacity: 0.85;
    margin-top: 2px;
}

/* Кнопки пресетов количества (охапки) */
.flower-presets-grid {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.flower-preset-btn {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.15s ease;
}

.flower-preset-btn:hover {
    border-color: #f472b6;
    color: #db2777;
}

.flower-preset-btn.active {
    background: #fdf2f8;
    border-color: #db2777;
    color: #db2777;
    font-weight: 800;
}

/* Ручной ввод и степпер количества стеблей */
.flower-custom-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1.5px solid #fbcfe8;
    border-radius: 12px;
    padding: 6px 12px;
}

.flower-qty-stepper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.flower-qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #1e293b;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flower-qty-btn:active {
    background: #e2e8f0;
}

.flower-qty-input {
    width: 50px;
    text-align: center;
    font-size: 15px;
    font-weight: 800;
    border: none;
    outline: none;
    color: #0f172a;
    background: transparent;
}
