/* ============================================================
   ШАФРАН — тема «Crocus sativus» — Bootstrap 5 overrides
   Лепесток: лавандово-фиолетовый · Рыльце (нити): красно-оранжевый
   Пыльник: шафраново-жёлтый · Тёмные блоки: глубокий сливовый
   ============================================================ */

/* ---- CSS переменные ---- */
:root {
    /* Лепесток крокуса */
    --petal-900: #221236;
    --petal-800: #33204F;
    --petal-700: #4A2B72;
    --petal-600: #6A43A0;
    --petal-500: #8C68C6;
    --petal-300: #C4AFEA;
    --petal-200: #DFD2F5;
    --petal-100: #EFE8FB;
    --petal-50:  #F8F5FD;

    /* Рыльце (шафрановые нити) */
    --thread-700: #8A1B12;
    --thread-600: #B8261A;
    --thread-500: #D2391D;
    --thread-400: #E9681E;

    /* Пыльник */
    --pollen-500: #F0AE16;
    --pollen-300: #FFD35A;

    --ink:     #231A33;
    --muted:   #6C6282;
    --line:    #E7DFF4;
    --surface: #FFFFFF;
    --bg:      #FCFAFE;

    --grad-thread: linear-gradient(135deg, #C42C1B 0%, #E9681E 100%);
    --grad-thread-hover: linear-gradient(135deg, #D63A1E 0%, #F58A2A 100%);
    --grad-petal:  linear-gradient(135deg, #8C68C6 0%, #6A43A0 100%);
    --grad-plum:   linear-gradient(140deg, #3B2260 0%, #221236 100%);

    /* Совместимость: старые имена переменных используются инлайном в страницах */
    --saf-gold:       var(--thread-500);
    --saf-gold-dark:  var(--thread-600);
    --saf-gold-light: var(--pollen-300);
    --saf-gold-pale:  rgba(140,104,198,0.08);
    --saf-gold-glow:  rgba(210,57,29,0.25);
    --saf-red:        var(--thread-600);
    --saf-dark:       var(--petal-900);
    --saf-dark2:      var(--petal-800);
    --saf-light:      var(--bg);
    --saf-cream:      var(--petal-50);
    --saf-glass:      rgba(255,255,255,0.85);
    --saf-text:       var(--ink);
    --saf-muted:      var(--muted);
    --saf-border:     var(--line);

    /* Bootstrap */
    --bs-body-font-family: 'Manrope', Arial, sans-serif;
    --bs-link-color: var(--petal-600);
    --bs-link-color-rgb: 106,67,160;
    --bs-link-hover-color-rgb: 74,43,114;
    --bs-primary-rgb: 106,67,160;
    --bs-warning-rgb: 240,174,22;
    --bs-danger-rgb: 184,38,26;
    --bs-border-color: var(--line);

    /* Тени — с фиолетовым оттенком */
    --shadow-sm:     0 1px 3px rgba(34,18,54,0.05), 0 2px 8px rgba(34,18,54,0.04);
    --shadow-md:     0 4px 14px rgba(34,18,54,0.07), 0 10px 28px rgba(34,18,54,0.05);
    --shadow-lg:     0 10px 30px rgba(34,18,54,0.09), 0 24px 56px rgba(34,18,54,0.06);
    --shadow-xl:     0 18px 50px rgba(34,18,54,0.14), 0 36px 72px rgba(34,18,54,0.08);
    --shadow-thread: 0 6px 20px rgba(210,57,29,0.30), 0 2px 6px rgba(210,57,29,0.18);
    --shadow-petal:  0 10px 30px rgba(106,67,160,0.18);
    --shadow-gold:   var(--shadow-thread);

    --ease:       cubic-bezier(0.4, 0, 0.2, 1);
    --trans:      all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --trans-fast: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);

    --r-sm:  10px;
    --r-md:  18px;
    --r-lg:  26px;
    --r-xl:  36px;
}

/* ---- Базовые стили ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', Arial, sans-serif;
    font-size: 16px;
    color: var(--ink);
    background-color: var(--bg);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--petal-200);
    color: var(--petal-900);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 700;
    color: var(--petal-900);
    letter-spacing: -0.005em;
    line-height: 1.2;
    font-variant-numeric: lining-nums;
}
h5, h6 { font-family: 'Manrope', Arial, sans-serif; font-weight: 700; letter-spacing: 0; }

a {
    color: var(--petal-600);
    text-decoration: none;
    transition: var(--trans-fast);
}
a:hover {
    color: var(--thread-500);
    text-decoration: none;
}

img { max-width: 100%; }

/* Декоративный разделитель — нить шафрана с пыльником */
.gold-divider {
    width: 64px; height: 3px;
    background: var(--grad-thread);
    border-radius: 2px;
    margin: 0.75rem auto 1.5rem;
    position: relative;
}
.gold-divider::after {
    content: '';
    position: absolute;
    right: -10px; top: 50%;
    width: 7px; height: 7px;
    margin-top: -3.5px;
    border-radius: 50%;
    background: var(--pollen-500);
}
.gold-divider-left { margin-left: 0; }


/* ================================================================
   NAVBAR
   ================================================================ */
#main-nav {
    background: rgba(255,255,255,0.82);
    backdrop-filter: saturate(160%) blur(18px);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    border-bottom: 1px solid rgba(140,104,198,0.14);
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
    transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
#main-nav.scrolled {
    background: rgba(255,255,255,0.95);
    box-shadow: 0 6px 24px rgba(34,18,54,0.08);
}

/* Логотип: знак-крокус + надпись */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-right: 0;
}
.brand-mark {
    width: 44px;
    height: 44px;
    transition: transform 0.35s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.05); }
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.brand-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--petal-900);
    letter-spacing: 0.005em;
}
.brand-domain {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--thread-500);
    letter-spacing: 0.08em;
    margin-top: 3px;
}

#main-nav .nav-link {
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.5rem 0.85rem;
    position: relative;
    border-radius: 999px;
    transition: color 0.2s, background 0.2s;
}
#main-nav .nav-link i { color: var(--petal-500); transition: color 0.2s; }
#main-nav .nav-link:hover,
#main-nav .nav-link:focus {
    color: var(--petal-700);
    background: var(--petal-100);
}
#main-nav .nav-link:hover i { color: var(--thread-500); }

/* Кнопка "Купить шафран" */
.btn-buy-nav {
    background: var(--grad-thread);
    color: #fff !important;
    border: none;
    border-radius: 999px;
    padding: 0.5rem 1.25rem;
    font-weight: 700;
    font-size: 0.88rem;
    transition: var(--trans);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: var(--shadow-thread);
}
.btn-buy-nav:hover {
    background: var(--grad-thread-hover);
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(210,57,29,0.35);
}

/* Контакты в хедере */
.header-contacts {
    color: var(--muted);
    font-size: 0.83rem;
    line-height: 1.35;
    padding-left: 1rem;
    border-left: 1px solid var(--line);
}
.header-phone {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--petal-700);
    letter-spacing: 0.01em;
}
.header-phone i { color: var(--thread-500); }
.header-tagline {
    font-size: 0.76rem;
}

#main-nav .navbar-toggler {
    border: 1px solid var(--petal-200);
    border-radius: 12px;
    padding: 0.4rem 0.6rem;
}
#main-nav .navbar-toggler:focus { box-shadow: 0 0 0 3px var(--petal-100); }
#main-nav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%236A43A0' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
@media (max-width: 767px) {
    #navMenu .navbar-nav { padding: 0.75rem 0 0.25rem; }
}


/* ================================================================
   HERO
   ================================================================ */
.hero-section {
    background:
        radial-gradient(ellipse 60% 70% at 85% 30%, rgba(140,104,198,0.30) 0%, transparent 70%),
        radial-gradient(ellipse 50% 60% at 10% 90%, rgba(233,104,30,0.10) 0%, transparent 70%),
        radial-gradient(ellipse 70% 60% at 0% 0%, rgba(196,175,234,0.35) 0%, transparent 70%),
        var(--petal-50);
    color: var(--ink);
    position: relative;
    overflow: hidden;
    padding: 72px 0 120px;
}

/* Декоративные нити шафрана */
.hero-threads {
    position: absolute;
    left: -40px; bottom: -30px;
    width: 420px; height: auto;
    opacity: 0.18;
    pointer-events: none;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.75);
    border: 1px solid var(--petal-200);
    color: var(--petal-700);
    border-radius: 999px;
    padding: 0.35rem 1rem 0.35rem 0.45rem;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1.4rem;
    box-shadow: var(--shadow-sm);
}
.hero-eyebrow .dot {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--grad-petal);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.hero-title {
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    font-weight: 700;
    color: var(--petal-900);
    line-height: 1.02;
    margin-bottom: 1.3rem;
    letter-spacing: -0.015em;
}
.hero-title span {
    display: block;
    font-style: italic;
    background: linear-gradient(100deg, #B8261A 0%, #D2391D 45%, #E9681E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-bottom: 0.08em;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--petal-800);
    margin-bottom: 1.5rem;
    max-width: 480px;
    line-height: 1.7;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.4rem;
    margin-top: 1.4rem;
}
.hero-badge {
    color: var(--petal-800);
    font-size: 0.86rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}
.hero-badge i {
    color: var(--thread-500);
    font-size: 1rem;
}

/* Визуал: фото цветка в арке-лепестке + плавающие карточки */
.hero-visual {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    padding: 0 0 40px 40px;
}
.hero-photo {
    position: relative;
    border-radius: 260px 260px var(--r-xl) var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 4 / 4.6;
    background: var(--petal-500);
}
.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25);
    pointer-events: none;
}

.hero-chip {
    position: absolute;
    top: 14%; right: -18px;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 0.65rem 1rem 0.65rem 0.7rem;
    box-shadow: var(--shadow-lg);
    line-height: 1.25;
    text-align: left;
}
.hero-chip-icon {
    width: 38px; height: 38px;
    flex-shrink: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--pollen-300), var(--pollen-500));
    color: var(--thread-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}
.hero-chip strong { display: block; font-size: 0.9rem; color: var(--petal-900); }
.hero-chip small  { font-size: 0.75rem; color: var(--muted); }

/* Нижний чип — на месте старого фото-образца */
.hero-chip.hero-chip-bottom {
    top: auto; right: auto;
    left: 0; bottom: 0;
}
.hero-chip-bottom .hero-chip-icon {
    background: var(--grad-thread);
    color: #fff;
}

/* Выбор упаковки в герое */
.hero-buy {
    background: rgba(255,255,255,0.8);
    border: 1px solid var(--petal-200);
    border-radius: var(--r-lg);
    padding: 1.1rem 1.1rem 1.2rem;
    box-shadow: var(--shadow-md);
    max-width: 560px;
}
.hero-buy-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 0.7rem;
}
.hero-buy-from {
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.9rem;
    color: var(--ink);
    font-weight: 600;
}
.hero-buy-from strong { color: var(--thread-600); font-weight: 800; }

.weight-picker {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    margin-bottom: 1rem;
}
.weight-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 0.55rem 0.2rem;
    border: 1.5px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    color: var(--ink);
    line-height: 1.1;
    cursor: pointer;
    transition: var(--trans-fast);
}
.weight-pill:hover { border-color: var(--petal-300); }
.weight-pill-w { font-weight: 800; font-size: 1.05rem; }
.weight-pill-p { font-size: 0.74rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.weight-pill.is-active {
    background: var(--grad-plum);
    border-color: transparent;
    color: #fff;
    box-shadow: var(--shadow-petal);
}
.weight-pill.is-active .weight-pill-p { color: var(--pollen-300); }

.hero-buy-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem 1.2rem;
}
.btn-hero-buy {
    flex: 1 1 auto;
    padding: 0.9rem 1.6rem;
    font-size: 1.05rem;
}
.hero-buy-sum {
    font-weight: 600;
    opacity: 0.9;
    margin-left: 0.35rem;
}
.hero-link-all {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--petal-700);
    white-space: nowrap;
}
.hero-link-all i { transition: transform 0.2s; display: inline-block; }
.hero-link-all:hover i { transform: translateY(2px); }

/* Старые классы героя (на случай использования в других шаблонах) */
.hero-img {
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xl);
    max-width: 100%;
}
.hero-img-caption {
    font-size: 0.78rem;
    color: var(--muted);
    text-align: center;
    margin-top: 0.6rem;
}


/* ================================================================
   STATS BAR — плавающая карточка поверх низа героя
   ================================================================ */
.stats-bar {
    position: relative;
    z-index: 2;
    margin-top: -64px;
    padding: 0;
}
.stats-bar > .container > .row {
    background: var(--grad-plum);
    border-radius: var(--r-lg);
    padding: 28px 12px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}
.stats-bar > .container > .row::before {
    content: '';
    position: absolute;
    right: -80px; top: -120px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(140,104,198,0.45) 0%, transparent 65%);
    pointer-events: none;
}

.stat-item {
    text-align: center;
    padding: 0.5rem 0;
    position: relative;
}
.stat-item + .stat-item::before { display: none; }
.stats-bar .col-md-3 + .col-md-3 .stat-item::before {
    content: '';
    display: block;
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    height: 40px; width: 1px;
    background: rgba(255,255,255,0.12);
}

.stat-num {
    font-variant-numeric: lining-nums;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--pollen-300);
    line-height: 1;
}
.stat-label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.62);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 8px;
    font-weight: 600;
}


/* ================================================================
   КНОПКИ
   ================================================================ */
.btn-saffron,
.btn-warning {
    background: var(--grad-thread);
    border: none;
    color: #fff;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    transition: var(--trans);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-thread);
}
.btn-saffron:hover,
.btn-saffron:focus,
.btn-warning:hover,
.btn-warning:focus {
    background: var(--grad-thread-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(210,57,29,0.35);
}

.btn-saffron-outline {
    border: 1.5px solid var(--petal-300);
    color: var(--petal-700);
    background: rgba(255,255,255,0.6);
    font-weight: 700;
    border-radius: 999px;
    padding: 0.75rem 1.8rem;
    transition: var(--trans);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-saffron-outline:hover {
    background: var(--petal-600);
    border-color: var(--petal-600);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-petal);
}

/* Вариант на тёмном фоне */
.btn-outline-light-petal {
    border: 1.5px solid rgba(255,255,255,0.35);
    color: #fff;
    background: rgba(255,255,255,0.06);
    font-weight: 700;
    border-radius: 999px;
    padding: 0.7rem 1.6rem;
    transition: var(--trans);
}
.btn-outline-light-petal:hover {
    background: #fff;
    color: var(--petal-800);
    border-color: #fff;
}

/* Круглая кнопка звонка */
.btn-call-round {
    width: 48px; height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--petal-100);
    color: var(--petal-700);
    border: 1px solid var(--petal-200);
    flex-shrink: 0;
    font-size: 1.1rem;
}
.btn-call-round:hover { background: var(--petal-600); color: #fff; }


/* ================================================================
   СЕКЦИИ (общие)
   ================================================================ */
.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--thread-500);
    margin-bottom: 0.6rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 700;
    color: var(--petal-900);
    margin-bottom: 0.5rem;
}
.section-title span {
    font-style: italic;
    color: var(--petal-600);
}

.section-subtitle {
    color: var(--muted);
    font-size: 0.98rem;
    margin-bottom: 2.5rem;
}


/* ================================================================
   ТОВАРЫ
   ================================================================ */
.products-section {
    padding: 88px 0 80px;
    background: var(--bg);
}

.product-card {
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--surface);
    transition: var(--trans);
    height: 100%;
    box-shadow: var(--shadow-sm);
    position: relative;
}
.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 24px; right: 24px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--grad-thread);
    opacity: 0;
    transition: opacity 0.3s;
}
.product-card:hover {
    border-color: var(--petal-300);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}
.product-card:hover::before { opacity: 1; }

.product-card .card-body {
    padding: 1.8rem 1.1rem 1.3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.product-weight {
    font-variant-numeric: lining-nums;
    font-size: 3.4rem;
    font-weight: 700;
    color: var(--petal-800);
    font-family: 'Cormorant Garamond', serif;
    line-height: 0.9;
}
.product-weight-unit {
    font-size: 0.78rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    margin-bottom: 0.9rem;
}
.product-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--thread-600);
    margin: 0;
    line-height: 1;
    padding-top: 0.9rem;
    border-top: 1px dashed var(--line);
    width: 100%;
}
.product-price .currency {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--muted);
}
.product-per-gram {
    font-size: 0.74rem;
    color: var(--muted);
    margin-bottom: 1.1rem;
    margin-top: 4px;
}

.btn-product-buy {
    background: var(--grad-thread);
    border: none;
    color: #fff;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.6rem 1.2rem;
    width: 100%;
    cursor: pointer;
    font-size: 0.92rem;
    transition: var(--trans);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    box-shadow: 0 4px 14px rgba(210,57,29,0.22);
}
.btn-product-buy:hover {
    background: var(--grad-thread-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-thread);
    color: #fff;
}
/* Вторичный вариант кнопки (лепесток) */
.btn-product-buy.is-petal {
    background: var(--petal-100);
    color: var(--petal-700);
    box-shadow: none;
}
.btn-product-buy.is-petal:hover {
    background: var(--petal-600);
    color: #fff;
    box-shadow: var(--shadow-petal);
}

/* Популярный (5г) — тёмная «сливовая» карточка */
.product-card.popular {
    background: var(--grad-plum);
    border-color: transparent;
    box-shadow: var(--shadow-xl);
}
.product-card.popular::before { display: none; }
.product-card.popular .product-weight { color: #fff; }
.product-card.popular .product-weight-unit,
.product-card.popular .product-per-gram,
.product-card.popular .product-price .currency { color: rgba(255,255,255,0.6); }
.product-card.popular .product-price {
    color: var(--pollen-300);
    border-top-color: rgba(255,255,255,0.15);
}
.product-card.popular:hover { border-color: transparent; }
@media (min-width: 992px) {
    .product-card.popular { transform: translateY(-10px); }
    .product-card.popular:hover { transform: translateY(-16px); }
}

.product-badge-popular {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--pollen-300), var(--pollen-500));
    color: var(--thread-700);
    border-radius: 999px;
    padding: 0.2rem 0.95rem;
    font-size: 0.74rem;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(240,174,22,0.45);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    z-index: 1;
}


/* ================================================================
   КАК ОТЛИЧИТЬ ПОДДЕЛКУ — тёмная контрастная секция
   ================================================================ */
.fake-section {
    padding: 96px 0;
    background:
        radial-gradient(ellipse 45% 60% at 0% 100%, rgba(210,57,29,0.28) 0%, transparent 70%),
        radial-gradient(ellipse 45% 60% at 100% 0%, rgba(140,104,198,0.40) 0%, transparent 70%),
        var(--grad-plum);
    color: rgba(255,255,255,0.8);
    position: relative;
    overflow: hidden;
}
.fake-section .section-title { color: #fff; }
.fake-section .section-title span { color: var(--pollen-300); }
.fake-section .section-eyebrow { color: var(--thread-400); }
.fake-section .section-subtitle {
    color: rgba(255,255,255,0.7);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}
.fake-section h3,
.fake-section h4 { color: #fff; }

.fake-step {
    width: 40px; height: 40px;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--grad-thread);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-thread);
}

.fake-test {
    height: 100%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--r-lg);
    padding: 1.8rem;
}
.fake-test-head {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.fake-test-head h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
}
.fake-test-head p { margin: 0; font-size: 0.95rem; line-height: 1.55; }

.fake-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.fake-glass {
    margin: 0;
    text-align: center;
    background: rgba(0,0,0,0.18);
    border-radius: var(--r-md);
    padding: 1.2rem 0.9rem 1rem;
}
.fake-glass svg {
    width: 100px;
    height: auto;
    display: block;
    margin: 0 auto 0.9rem;
}
.fake-glass figcaption {
    font-size: 0.85rem;
    line-height: 1.45;
}
.fake-glass figcaption strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}
.fake-glass.is-real figcaption strong { color: var(--pollen-300); }
.fake-glass.is-fake figcaption strong { color: #FF8A73; }

.fake-signs {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
    margin-bottom: 1.6rem;
}
.fake-sign {
    display: flex;
    gap: 1rem;
}
.fake-sign h4 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}
.fake-sign p { margin: 0; font-size: 0.92rem; line-height: 1.55; }

.fake-guarantee {
    background: linear-gradient(135deg, rgba(255,211,90,0.16), rgba(233,104,30,0.12));
    border: 1px solid rgba(255,211,90,0.35);
    border-radius: var(--r-md);
    padding: 1.3rem 1.4rem;
    color: #fff;
    font-size: 0.98rem;
}
.fake-guarantee strong { color: var(--pollen-300); }
.fake-guarantee-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem 1.4rem;
    margin-top: 1rem;
}
.fake-more {
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
}
.fake-more:hover { color: var(--pollen-300); }


/* ================================================================
   КАК ЗАКАЗАТЬ — 3 шага
   ================================================================ */
.steps-section {
    padding: 88px 0;
    background:
        radial-gradient(ellipse 50% 50% at 100% 0%, rgba(196,175,234,0.35) 0%, transparent 70%),
        var(--petal-50);
}

.step-card {
    position: relative;
    height: 100%;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 2rem 1.8rem 1.7rem;
    box-shadow: var(--shadow-sm);
    transition: var(--trans);
}
.step-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

/* Стрелка-связка между шагами (десктоп) */
.steps-row .col-md-4 + .col-md-4 .step-card::before {
    content: '\f133'; /* bi-arrow-right-circle-fill */
    font-family: 'bootstrap-icons';
    position: absolute;
    left: -1.5rem; top: 2.4rem;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--thread-500);
    background: var(--petal-50);
    border-radius: 50%;
}

.step-num {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 700;
    line-height: 0.9;
    margin-bottom: 0.8rem;
    background: var(--grad-thread);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-variant-numeric: lining-nums;
}
.step-card h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.step-card p {
    font-size: 0.93rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.step-link { font-weight: 700; font-size: 0.92rem; }

/* Последний шаг — акцентный */
.step-card.is-accent {
    background: var(--grad-plum);
    border-color: transparent;
    box-shadow: var(--shadow-xl);
}
.step-card.is-accent .step-num {
    background: linear-gradient(135deg, var(--pollen-300), var(--pollen-500));
    -webkit-background-clip: text;
    background-clip: text;
}
.step-card.is-accent h3 { color: #fff; }
.step-card.is-accent p { color: rgba(255,255,255,0.75); }
.step-card.is-accent .step-link { color: var(--pollen-300); }
.step-card.is-accent .step-link:hover { color: #fff; }


/* ================================================================
   О ШАФРАНЕ
   ================================================================ */
.about-section {
    padding: 88px 0;
    background: var(--bg);
}
.about-section .lead {
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.75;
}

/* Крупный факт вместо сайдбара с ценами */
.fact-card {
    background:
        radial-gradient(circle at 100% 0%, rgba(233,104,30,0.35) 0%, transparent 55%),
        var(--grad-plum);
    color: rgba(255,255,255,0.75);
    border-radius: var(--r-lg);
    padding: 2.2rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-xl);
}
.fact-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.4rem;
    font-weight: 700;
    color: var(--pollen-300);
    line-height: 1;
    font-variant-numeric: lining-nums;
}
.fact-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #fff;
    margin-top: 0.4rem;
}
.fact-eq {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--thread-400);
    margin: 0.5rem 0;
    line-height: 1;
}
.fact-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 1.4rem 0 0;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255,255,255,0.12);
}


/* ================================================================
   КАРТОЧКИ (delivery-card — используются по всему сайту)
   ================================================================ */
.delivery-card {
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 1.5rem 1.2rem;
    background: var(--surface);
    height: 100%;
    transition: var(--trans);
    box-shadow: var(--shadow-sm);
}
.delivery-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--petal-300);
    transform: translateY(-3px);
}
.delivery-icon {
    width: 56px; height: 56px;
    margin: 0 auto 0.9rem;
    border-radius: 50%;
    background: var(--petal-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--petal-600);
    transition: var(--trans);
}
.delivery-card:hover .delivery-icon {
    background: var(--grad-thread);
    color: #fff;
}


/* ================================================================
   БОКОВАЯ ПАНЕЛЬ (sidebar)
   ================================================================ */
.sidebar-card {
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 1.8rem;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 90px;
    overflow: hidden;
}
.sidebar-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--petal-500), var(--thread-500), var(--thread-400), var(--pollen-500));
}
.sidebar-card h5 {
    color: var(--petal-900);
    font-size: 1.1rem;
    margin-bottom: 0.9rem;
}
.sidebar-card h5 i { color: var(--thread-500); }

/* Информационные карточки сайдбара */
.sidebar-info {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    padding: 1.4rem 1.5rem;
}
.sidebar-info.is-tinted {
    background: var(--petal-50);
    border-color: var(--petal-100);
}
.sidebar-info h6 {
    color: var(--petal-900);
    font-weight: 700;
    margin-bottom: 0.9rem;
}
.sidebar-info h6 i { color: var(--thread-500); }
.sidebar-info ul { color: var(--muted); }
.sidebar-info .ico { color: var(--petal-500); }
.sidebar-info hr { border-color: var(--line); opacity: 1; margin: 0.9rem 0; }


/* ================================================================
   ХЛЕБНЫЕ КРОШКИ
   ================================================================ */
.breadcrumb {
    background: transparent;
    padding: 0;
    font-size: 0.85rem;
}
.breadcrumb-item a { color: var(--petal-600); font-weight: 600; }
.breadcrumb-item a:hover { color: var(--thread-500); }
.breadcrumb-item.active { color: var(--muted); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--petal-300); content: '›'; }


/* ================================================================
   КОНТЕНТНЫЕ СТРАНИЦЫ (статьи)
   ================================================================ */
.content-page {
    padding: 40px 0 64px;
}
main h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
}
.content-page h1 {
    padding-bottom: 0.9rem;
    margin-bottom: 1.5rem;
    position: relative;
}
.content-page h1::after,
article > h1::after {
    content: '';
    display: block;
    width: 64px; height: 3px;
    margin-top: 0.9rem;
    border-radius: 2px;
    background: var(--grad-thread);
}
main h2 {
    font-size: clamp(1.55rem, 3vw, 1.95rem);
    color: var(--petal-800);
    margin-top: 2.2rem;
    margin-bottom: 0.8rem;
}
main h3 { color: var(--petal-800); }
.content-page img {
    border-radius: var(--r-md);
    margin: 1rem 0;
    box-shadow: var(--shadow-md);
}

/* Списки со «звёздочками» в статьях */
.list-group-item {
    background: transparent;
    border-color: var(--line);
    color: var(--ink);
}

/* Bootstrap-утилиты, приведённые к палитре */
.bg-light { background-color: var(--petal-50) !important; }
.border-warning { border-color: var(--thread-500) !important; }
.text-warning { color: var(--thread-400) !important; }
.text-danger { color: var(--thread-600) !important; }
.bg-warning {
    background: linear-gradient(135deg, var(--pollen-300), var(--pollen-500)) !important;
    color: var(--thread-700) !important;
}
.badge { border-radius: 999px; font-weight: 700; }

.card { border-color: var(--line); border-radius: var(--r-md); }
.card.bg-light { border-radius: 0 var(--r-md) var(--r-md) 0; }

.alert { border-radius: var(--r-md); }
.alert-warning {
    background: #FFF7E6;
    border: 1px solid #F8DFA6;
    color: #6B3D06;
}
.alert-info {
    background: var(--petal-50);
    border: 1px solid var(--petal-200);
    color: var(--petal-800);
}

.table { --bs-table-striped-bg: var(--petal-50); --bs-table-hover-bg: var(--petal-100); }
.table thead th { color: var(--petal-800); border-bottom-color: var(--petal-200); }

.ratio { border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-md); }

.form-control,
.form-select {
    border-color: var(--line);
    border-radius: var(--r-sm);
}
.form-control:focus,
.form-select:focus {
    border-color: var(--petal-500);
    box-shadow: 0 0 0 4px rgba(140,104,198,0.15);
}


/* ================================================================
   ФОРМА ЗАКАЗА (modal)
   ================================================================ */
#orderModal .modal-header {
    background: var(--grad-plum);
    color: #fff;
    border-bottom: none;
    padding: 1.2rem 1.6rem;
    position: relative;
}
#orderModal .modal-header::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--thread-600), var(--thread-400), var(--pollen-500));
}
#orderModal .modal-title {
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
}
#orderModal .modal-title i { color: var(--pollen-300); }
#orderModal .btn-close { filter: invert(1); opacity: 0.8; }
#orderModal .modal-content {
    border: none;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
#orderModal .modal-body { padding: 1.6rem; }
.modal-backdrop.show { opacity: 0.6; background: var(--petal-900); }

.order-summary-box {
    background: var(--petal-50);
    border: 1px solid var(--petal-200);
    border-radius: var(--r-sm);
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    margin-bottom: 1.1rem;
    color: var(--ink);
}
.order-summary-box .ico { color: var(--petal-600); }

#orderModal .form-label { font-weight: 600; font-size: 0.9rem; color: var(--petal-900); }
#orderModal .form-control {
    border-color: var(--line);
    border-radius: var(--r-sm);
    padding: 0.65rem 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-size: 0.95rem;
}
#orderModal .form-control:focus {
    border-color: var(--petal-500);
    box-shadow: 0 0 0 4px rgba(140,104,198,0.15);
    outline: none;
}

.btn-order {
    background: var(--grad-thread);
    border: none;
    color: #fff;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.8rem;
    font-size: 1.05rem;
    transition: var(--trans);
    box-shadow: var(--shadow-thread);
}
.btn-order:hover {
    background: var(--grad-thread-hover);
    color: #fff;
    box-shadow: 0 12px 30px rgba(210,57,29,0.35);
    transform: translateY(-1px);
}


/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
    background:
        radial-gradient(ellipse 40% 60% at 100% 0%, rgba(140,104,198,0.35) 0%, transparent 70%),
        var(--grad-plum);
    color: rgba(255,255,255,0.72);
    padding: 64px 0 0;
    position: relative;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--petal-500), var(--thread-500), var(--thread-400), var(--pollen-500));
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.6rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
    background: #fff;
    border-radius: 16px;
    width: 56px; height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.footer-logo img { width: 40px; height: 40px; }
.footer-brand-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}
.footer-brand-tag { font-size: 0.8rem; color: rgba(255,255,255,0.5); }

.footer-heading {
    color: var(--pollen-300);
    font-size: 0.78rem;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 1.1rem;
}
.footer-list { font-size: 0.9rem; }
.footer-list li { margin-bottom: 0.55rem; }
.footer-list a {
    color: rgba(255,255,255,0.72);
    transition: color 0.2s, padding 0.2s;
}
.footer-list a:hover {
    color: #fff;
    padding-left: 3px;
}
.footer-list .ico { color: var(--petal-300); }
.footer-list .bi-chevron-right { font-size: 0.7rem; color: var(--thread-400); }
.footer-text { font-size: 0.9rem; line-height: 1.7; }
.footer-divider {
    border-color: rgba(255,255,255,0.08);
    opacity: 1;
    margin: 2rem 0 0;
}
.footer-bottom {
    padding: 1.1rem 0 1.6rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.42);
}
.footer-link-deluxe {
    color: var(--petal-300);
    font-size: 0.86rem;
}

/* Отзывы */
.review-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 1.5rem 1.6rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--trans);
}
.review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.review-stars { color: var(--pollen-500); font-size: 1.1rem; margin-bottom: 0.5rem; }
.review-text { font-size: 0.93rem; color: var(--ink); margin-bottom: 0.8rem; line-height: 1.65; }
.review-author { font-size: 0.82rem; color: var(--petal-600); font-weight: 700; }


/* ================================================================
   АЛЕРТЫ
   ================================================================ */
.alert-saffron {
    background: var(--petal-50);
    border: 1px solid var(--petal-200);
    border-radius: var(--r-sm);
    color: var(--ink);
    padding: 1rem 1.25rem;
}


/* ================================================================
   MOBILE STICKY CTA
   ================================================================ */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(255,255,255,0.92);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    padding: 10px 14px;
    z-index: 1040;
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 24px rgba(34,18,54,0.08);
    align-items: center;
    gap: 10px;
}
.mobile-sticky-cta .btn-saffron { padding: 0.7rem 1rem; }
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .mobile-sticky-cta {
        padding-bottom: calc(10px + env(safe-area-inset-bottom));
    }
}


/* ================================================================
   АДАПТИВНОСТЬ
   ================================================================ */
@media (max-width: 991px) {
    .hero-section { padding: 56px 0 110px; }
    .hero-visual { max-width: 420px; margin-top: 1rem; }
    .hero-chip { right: 0; }
}

@media (max-width: 767px) {
    .mobile-sticky-cta { display: flex; }
    body { padding-bottom: 72px; }

    .hero-section { text-align: center; padding-top: 32px; }
    .hero-eyebrow { margin-bottom: 1rem; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-buy { margin: 0 auto; padding: 0.9rem 0.8rem 1rem; text-align: left; }
    .hero-buy-head { font-size: 0.72rem; }
    .weight-pill-w { font-size: 0.95rem; }
    .weight-pill-p { font-size: 0.68rem; }
    .hero-buy-actions { justify-content: center; }
    .btn-hero-buy { width: 100%; }
    .hero-badges { justify-content: center; gap: 0.5rem 1rem; }
    .hero-threads { width: 260px; }
    .hero-photo { aspect-ratio: 4 / 3.4; }

    .fake-section { padding: 64px 0; }
    .fake-test { padding: 1.3rem 1.1rem; }
    .fake-glass svg { width: 80px; }
    .fake-glass figcaption { font-size: 0.8rem; }

    .stats-bar .col-md-3 + .col-md-3 .stat-item::before { display: none; }
    .stat-num { font-size: 2rem; }

    .products-section,
    .steps-section,
    .about-section { padding: 56px 0; }
    .products-section { padding-top: 64px; }

    .steps-row .col-md-4 + .col-md-4 .step-card::before { display: none; }
    .steps-row { --bs-gutter-y: 0.9rem; }
    .step-card { padding: 1.3rem 1.3rem 1.1rem; }
    .step-num { font-size: 2.8rem; margin-bottom: 0.4rem; }
    .step-card p { margin-bottom: 0.6rem; }
    .sidebar-card { position: static; }
}

@media (max-width: 480px) {
    .hero-visual { padding: 0 0 32px 20px; }
    .hero-chip { padding: 0.5rem 0.8rem 0.5rem 0.55rem; top: 8%; }
    .hero-chip-icon { width: 32px; height: 32px; font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
    html { scroll-behavior: auto; }
}

/* ===== Переключатель языка RU/UA (html/header.php) ===== */
.lang-switch {
    display: flex;
    align-items: center;
    gap: .1rem;
    margin-left: .25rem;
}
.lang-switch .nav-link {
    padding-left: .35rem !important;
    padding-right: .35rem !important;
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .04em;
    opacity: .55;
}
.lang-switch .nav-link:hover,
.lang-switch .nav-link.is-active {
    opacity: 1;
    color: var(--petal-600);
}
.lang-switch .lang-sep {
    opacity: .3;
    font-size: .8rem;
}

/* На телефоне g-5 (gutter 3rem) шире отступа контейнера → горизонтальный скролл на 12px */
@media (max-width: 767.98px) {
    .row.g-5 { --bs-gutter-x: 1.5rem; }
}

/* Страница ошибок (error.php) */
.error-page { text-align: center; padding: 4rem 0 5rem; }
.error-page .error-code {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: clamp(5rem, 18vw, 9rem);
    line-height: 1;
    color: var(--petal-600);
    background: linear-gradient(135deg, var(--petal-600) 0%, var(--thread-500) 60%, var(--pollen-500) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}
.error-page h1::after { margin-left: auto; margin-right: auto; }
.error-page .lead { max-width: 34rem; margin: 0 auto 2rem; color: var(--saf-muted); }
.error-page .error-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem; margin-bottom: 2rem; }
.error-page .error-links a { color: var(--petal-700); text-decoration: underline; text-underline-offset: 3px; }
.error-page .error-help { color: var(--saf-muted); }
.error-page .error-help a { color: var(--thread-600); font-weight: 600; white-space: nowrap; }
