/* --- Загрузка Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Lato:wght@300;400;700&display=swap');

/* --- Переменные CSS для цветов и шрифтов --- */
:root {
    --primary-color: #25302d;       /* тёмный угольно-бирюзовый (текст логотипа) */
    --accent-color: #2fa395;        /* фирменный бирюзовый (стрелка логотипа) */
    --accent-deep: #1f8073;         /* глубокий бирюзовый для hover */
    --light-bg-color: #f4f8f7;      /* мягкий прохладный мятно-белый */
    --dark-text-color: #2b3331;     /* прохладный тёмный */
    --light-text-color: #6f7d79;    /* прохладный серо-зелёный */
    --border-color: #deece8;        /* мягкая прохладная граница */
    --header-footer-bg: #ffffff;    /* чистый белый */

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    /* === Новые переменные премиального лендинга === */
    --soft-sage: #7fc4b4;           /* мягкая мята (вторичный акцент) */
    --warm-sand: #e6f1ed;           /* мягкий прохладный мятный тон для секций */
    --radius: 20px;
    --radius-sm: 12px;
    --radius-lg: 28px;
    --shadow-soft: 0 1px 2px rgba(30,46,43,0.04), 0 8px 24px rgba(30,46,43,0.07), 0 24px 48px rgba(30,46,43,0.05);
    --shadow-hover: 0 4px 8px rgba(30,46,43,0.06), 0 16px 40px rgba(30,46,43,0.12), 0 32px 64px rgba(30,46,43,0.08);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

    /* === RGB-тройки для прозрачности: rgba(var(--x), a) === */
    --accent-rgb: 47, 163, 149;        /* = --accent-color #2fa395 */
    --white-rgb: 255, 255, 255;
    --overlay-dark-rgb: 16, 38, 35;    /* тёмно-зелёный для затемняющих оверлеев */

    /* === Поверхности и доп. акценты === */
    --white: #ffffff;
    --star-gold: #ffd76e;              /* золотой — звёзды отзывов */
}

/* --- Общие стили --- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    margin: 0;
    padding: 0;
    background-color: var(--light-bg-color);
    color: var(--dark-text-color);
    overflow-x: hidden;
    letter-spacing: 0.3px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    overflow: hidden;
}

/* --- Шапка сайта (Header) --- */
header {
    background-color: var(--header-footer-bg);
    color: var(--primary-color);
    padding: 1.4rem 0;
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(30,46,43,0.08), 0 2px 12px rgba(30,46,43,0.05);
}

header .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    background-color: transparent;
    padding: 0 30px;
    margin: 0 auto;
    max-width: 1200px;
    flex-wrap: nowrap;
    overflow: visible;
    /* позиционный контекст для абсолютной центровки nav */
    position: relative;
}

/* Логотип-ссылка — левая зона трёхзонной раскладки */
.logo-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    flex-shrink: 0;
}

header h1 {
    display: none;
}

.logo {
    max-width: 300px;
    width: auto;
    height: auto;
    max-height: 64px;
    padding: 0;
    background-color: transparent;
    margin-bottom: 0;
    margin-right: 0;
    margin-left: 14px;
    transition: opacity 0.3s ease;
    display: block;
    flex-shrink: 0;
}

.logo:hover {
    opacity: 0.7;
}

header h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin: 0;
    color: var(--primary-color);
    background-color: transparent;
    padding: 0;
    white-space: nowrap;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* --- Навигация (Navigation) --- */
header nav {
    background-color: transparent;
    padding: 0;
    margin: 0;
    /* Абсолютная центровка навигации относительно шапки */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    pointer-events: auto;
}

header nav ul {
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    margin: 0;
    gap: 36px;
    white-space: nowrap;
}

header nav ul li {
    margin: 0;
}

header nav a {
    font-family: var(--font-body);
    color: var(--primary-color);
    text-decoration: none;
    padding: 0;
    transition: color 0.3s ease;
    border-radius: 0;
    position: relative;
    overflow: visible;
    display: inline-block;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid transparent;
    font-weight: 400;
    text-transform: uppercase;
}

header nav a:hover {
    color: var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
}

/* --- Корзина — правая зона шапки --- */
.cart-link {
    margin-left: auto;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
    font-family: var(--font-body);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 400;
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
    white-space: nowrap;
    padding-right: 14px;
}

.cart-link:hover,
.cart-link:focus-visible {
    color: var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
}

.cart-icon {
    flex-shrink: 0;
    display: block;
}

/* На десктопе показываем корзину в шапке, на мобиле — внутри панели меню */
.cart-link--mobile {
    display: none;
}

/* --- Кнопка-гамбургер (видна только на мобильных) --- */
.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: 8px;
    padding: 0;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.25s ease;
}

.nav-toggle:hover {
    background-color: var(--warm-sand);
}

.nav-toggle:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.nav-toggle-box {
    position: relative;
    display: block;
    width: 22px;
    height: 16px;
}

.nav-toggle-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background-color: var(--primary-color);
    transition: transform 0.3s var(--ease-out), opacity 0.2s ease, background-color 0.3s ease;
}

.nav-toggle-line:nth-child(1) { top: 0; }
.nav-toggle-line:nth-child(2) { top: 7px; }
.nav-toggle-line:nth-child(3) { top: 14px; }

/* Состояние "открыто" — превращаем линии в крестик */
body.nav-open .nav-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

body.nav-open .nav-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Затемнение фона при открытом мобильном меню --- */
.nav-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(var(--overlay-dark-rgb), 0.4);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.nav-open .nav-overlay {
    opacity: 1;
}

.nav-overlay[hidden] {
    display: none;
}

/* --- Hero Section (Default) --- */
.hero-section {
    background: linear-gradient(135deg, var(--light-bg-color) 0%, #f5f5f0 100%);
    color: var(--primary-color);
    padding: 120px 30px;
    text-align: center;
    border-bottom: 2px solid var(--accent-color);
    position: relative;
    overflow: hidden;
}

.hero-section h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin: 0 0 1.5rem 0;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--light-text-color);
    opacity: 1;
    font-weight: 300;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1;
}

/* --- Hero Section (Home Page with Background Image) ---
   Базовые свойства: позиционирование и структура.
   Цвет оверлея переопределён в блоке «Премиальный лендинг» ниже. */
.hero-section-home {
    background: linear-gradient(160deg, rgba(20,42,38,0.62) 0%, rgba(24,52,47,0.45) 60%, rgba(var(--accent-rgb),0.28) 100%),
                url('/static/hero-cover.jpg') center/cover no-repeat;
    background-attachment: fixed;
    color: white;
    padding: 220px 30px 180px;
    text-align: center;
    border-bottom: none;
    position: relative;
    overflow: hidden;
    min-height: 640px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-section-home::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg,
        rgba(20,42,38,0.48) 0%,
        rgba(24,52,47,0.30) 50%,
        rgba(var(--accent-rgb),0.16) 100%);
    z-index: 1;
}

.hero-section-home::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 140px;
    background: linear-gradient(to bottom, transparent, rgba(250,246,240,0.18));
    z-index: 2;
}

.hero-section-home h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 1.5rem + 5vw, 5rem);
    margin: 0 0 1.5rem 0;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -1px;
    position: relative;
    z-index: 3;
    text-shadow: 0 2px 20px rgba(var(--overlay-dark-rgb),0.30);
    text-wrap: balance;
}

.hero-section-home .lead {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: rgba(var(--white-rgb),0.88);
    opacity: 1;
    font-weight: 300;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 3;
    text-shadow: none;
}

/* --- Кнопки --- */
.btn {
    display: inline-block;
    padding: 14px 40px;
    background-color: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 100px;
    transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
    border: 2px solid var(--primary-color);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: var(--font-body);
}

.btn:hover {
    background-color: var(--primary-color);
    color: var(--light-bg-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

/* --- Секции контента --- */
section {
    padding: 90px 30px;
    text-align: center;
}

section h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-wrap: balance;
}

section h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

section p {
    font-size: 1.05rem;
    color: var(--light-text-color);
    line-height: 1.8;
}

#about-short,
#benefits-short,
#cta {
    margin: 0;
    border-bottom: 1px solid var(--border-color);
}

#about-short {
    background-color: var(--light-bg-color);
}

#benefits-short {
    background-color: var(--white);
}

#cta {
    /* По умолчанию — тёмный для нелендинговых страниц.
       На главной переопределяется классом .section-cta (см. ниже) */
    background-color: var(--primary-color);
    color: var(--white);
    border-bottom: none;
}

#cta h2,
#cta p {
    color: var(--white);
}

#cta .btn {
    color: var(--white);
    border-color: var(--white);
}

#cta .btn:hover {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

/* --- Сетки для карточек --- */
.benefit-cards-grid,
.products-grid,
.benefits-grid,
.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin: 50px 0;
}

.benefit-card,
.product-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    transition: box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out), border-color 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.benefit-card:hover,
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.benefit-card h3,
.product-card h3 {
    color: var(--primary-color);
    margin-top: 0;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
}

.benefit-card p,
.product-card p {
    color: var(--light-text-color);
    font-size: 0.95rem;
    line-height: 1.8;
}

.product-image {
    font-size: 3rem;
    margin-bottom: 20px;
    border-radius: 0;
    padding: 20px;
}

.product-card ul {
    text-align: left;
    display: inline-block;
    margin: 20px 0;
    color: var(--light-text-color);
}

.product-card li {
    margin: 10px 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- Формы --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin: 50px 0;
    align-items: start;
}

.contact-form {
    background-color: var(--white);
    padding: 0;
    border-radius: 0;
}

.contact-info {
    padding: 0;
}

.info-block {
    text-align: left;
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.info-block:last-child {
    border-bottom: none;
}

.info-block h4 {
    color: var(--primary-color);
    margin: 0 0 12px 0;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    font-weight: 600;
}

.info-block p {
    margin: 8px 0;
    color: var(--light-text-color);
    line-height: 1.7;
}

.info-block a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-block a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    background-color: var(--white);
    color: var(--dark-text-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb),0.18);
}

.contact-form .btn {
    width: 100%;
    margin-top: 15px;
}

/* --- Карточки преимуществ --- */
.benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.benefits-grid .benefit-card {
    background: var(--white);
    border: 1px solid var(--border-color);
}

.benefits-grid .benefit-card:hover {
    border-color: var(--accent-color);
}

/* --- Секция популярных столов --- */
.featured-products {
    background: linear-gradient(135deg, #f5f5f0 0%, var(--light-bg-color) 100%);
    border-top: none;
}

.featured-products h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 50px;
}

.featured-products h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin: 50px 0;
}

.featured-product-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out), border-color 0.3s ease;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
}

.featured-product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.featured-product-image {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #9ad2c7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: rgba(var(--white-rgb),0.2);
    position: relative;
    overflow: hidden;
}

.featured-product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.05) 0%, rgba(212, 197, 185, 0.1) 100%);
}

.featured-product-info {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.featured-product-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.featured-product-desc {
    color: var(--light-text-color);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 15px;
    flex: 1;
}

.featured-product-price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.featured-product-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--accent-color);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.featured-product-link:hover {
    color: var(--accent-color);
}

/* --- Real Life Section --- */
.reallife-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
    background: white;
}

.reallife-image {
    width: 100%;
    height: 500px;
    background: #f0f0f0;
    overflow: hidden;
}

.reallife-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reallife-content {
    padding: 80px 60px;
    background: var(--light-bg-color);
}

.reallife-content h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 20px;
}

.reallife-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

.reallife-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--light-text-color);
    margin-bottom: 20px;
}

.reallife-content ul {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.reallife-content li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: var(--light-text-color);
    line-height: 1.6;
}

.reallife-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .reallife-section {
        grid-template-columns: 1fr;
    }
    
    .reallife-image {
        height: 300px;
    }
    
    .reallife-content {
        padding: 50px 30px;
    }
    
    .reallife-content h2 {
        font-size: 2rem;
    }
}

/* --- Карта сайта --- */
.sitemap-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.sitemap-section {
    background-color: var(--white);
    padding: 35px 30px;
    border-radius: var(--radius);
    text-align: left;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    transition: box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out), border-color 0.3s ease;
}

.sitemap-section:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
    border-color: var(--accent-color);
}

.sitemap-section h3 {
    color: var(--primary-color);
    margin-top: 0;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    text-align: left;
}

.sitemap-section ul {
    list-style: none;
    padding: 0;
}

.sitemap-section li {
    margin: 12px 0;
}

.sitemap-section a {
    color: var(--light-text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    line-height: 1.6;
}

.sitemap-section a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* --- Секция контента --- */
.content-section {
    text-align: left;
    padding: 40px 0;
}

.content-section h2 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-weight: 600;
}

.content-section p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--light-text-color);
    margin-bottom: 20px;
}

.content-section ul {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.content-section ul li {
    padding: 15px 0;
    padding-left: 35px;
    position: relative;
    font-size: 1.05rem;
    color: var(--light-text-color);
    line-height: 1.8;
}

.content-section ul li:before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 600;
}

/* --- Алерты --- */
.alert {
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: var(--radius-sm);
    background-color: var(--warm-sand);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-color);
    color: var(--dark-text-color);
}

/* --- Анимация появления (fade-in) --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
    will-change: opacity, transform;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
        will-change: auto;
    }
    .fade-in.appear {
        opacity: 1;
        transform: none;
    }
}

/* --- Подвал (Footer) — премиальный многоколоночный --- */
footer {
    background-color: var(--primary-color);
    color: rgba(var(--white-rgb),0.82);
    margin-top: 0;
    border-top: none;
}

.footer-main {
    padding: 72px 30px 56px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 0.8fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Колонка бренда */
.footer-brand {}

.footer-brand-name {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.06em;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.footer-brand-tagline {
    font-size: 0.92rem;
    color: rgba(var(--white-rgb),0.78);
    line-height: 1.7;
    margin: 0;
    max-width: 220px;
}

/* Заголовки колонок */
.footer-col-title {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--white);
    margin: 0 0 20px;
}

/* Навигационные колонки */
.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav-list a {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: rgba(var(--white-rgb),0.8);
    text-decoration: none;
    transition: color 0.25s ease;
    line-height: 1.5;
}

.footer-nav-list a:hover {
    color: var(--accent-color);
}

/* Контактная колонка */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact-list li {
    font-size: 0.92rem;
    color: rgba(var(--white-rgb),0.65);
    line-height: 1.55;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-contact-list a {
    color: rgba(var(--white-rgb),0.65);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-contact-list a:hover {
    color: var(--accent-color);
}

/* Два телефона — колонкой, без переноса внутри номера */
.footer-phones {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-phones a {
    white-space: nowrap;
}

.footer-contact-icon {
    flex-shrink: 0;
    opacity: 0.55;
    margin-top: 2px;
}

.footer-delivery-note {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(var(--white-rgb),0.1);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-delivery-note span {
    font-size: 0.85rem;
    color: rgba(var(--white-rgb),0.5);
    line-height: 1.5;
}

/* Соц-иконки */
.footer-social-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-social-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: rgba(var(--white-rgb),0.65);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-social-list a:hover {
    color: var(--accent-color);
}

.footer-social-list svg {
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.25s ease;
}

.footer-social-list a:hover svg {
    opacity: 1;
}

/* Нижняя полоса авторских прав */
.footer-bottom {
    border-top: 1px solid rgba(var(--white-rgb),0.10);
    padding: 20px 30px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(var(--white-rgb),0.4);
    font-weight: 300;
    letter-spacing: 0.3px;
    margin: 0;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
}

.footer-legal-links a {
    font-size: 0.82rem;
    color: rgba(var(--white-rgb),0.35);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-legal-links a:hover {
    color: rgba(var(--white-rgb),0.7);
}

/* ============================================================
   === Каталог товаров (products.html) — премиальный стиль ===
   ============================================================ */

/* Хедер секции каталога */
.catalog-hero {
    background: linear-gradient(160deg, var(--warm-sand) 0%, var(--light-bg-color) 100%);
    padding: 80px 30px 60px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.catalog-hero .section-eyebrow {
    margin-bottom: 0.7rem;
}

.catalog-hero h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 1rem + 3vw, 3rem);
    color: var(--primary-color);
    margin: 0 0 1rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.catalog-hero .lead {
    font-size: 1.05rem;
    color: var(--light-text-color);
    margin: 0;
    line-height: 1.7;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

/* Контейнер каталога */
.catalog-section {
    padding: 56px 30px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Фильтр-кнопки */
.products-filter {
    margin: 0 0 2.5rem;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid var(--border-color);
    background: var(--white);
    color: var(--light-text-color);
    border-radius: 100px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-decoration: none;
    display: inline-block;
}

.filter-btn:hover {
    background: var(--warm-sand);
    color: var(--primary-color);
    border-color: var(--accent-color);
}

.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-soft);
}

/* Сетка каталога */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 36px;
    margin: 0 0 48px;
}

/* Карточка товара каталога */
.catalog-product-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.catalog-product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

/* Градиентный плейсхолдер изображения */
.catalog-product-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(145deg, var(--warm-sand) 0%, #b8ddd7 45%, var(--accent-color) 80%, var(--accent-deep) 100%);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.catalog-product-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(var(--white-rgb),0.22) 0%, transparent 55%);
    pointer-events: none;
}

/* Реальное фото товара в карточках каталога и на странице товара */
.catalog-product-image img,
.product-detail-image img,
.related-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 0;
}

/* SVG-иконка стола внутри плейсхолдера */
.catalog-product-image-icon {
    position: absolute;
    bottom: 20px;
    right: 24px;
    opacity: 0.18;
    z-index: 1;
}

/* Информация о товаре */
.catalog-product-info {
    padding: 24px 26px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.catalog-product-category {
    font-size: 0.75rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-bottom: 6px;
}

.catalog-product-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    line-height: 1.3;
}

.catalog-product-desc {
    font-size: 0.9rem;
    color: var(--light-text-color);
    line-height: 1.65;
    margin-bottom: 14px;
    flex: 1;
    min-height: 42px;
}

.catalog-product-price {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.catalog-product-stock {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 18px;
}

.catalog-product-stock.in-stock  { color: #3aaa74; }
.catalog-product-stock.low-stock { color: #e07d2e; }
.catalog-product-stock.out-of-stock { color: #d94f4f; }

/* Кнопки действий карточки */
.catalog-product-actions {
    display: flex;
    gap: 10px;
}

.catalog-view-btn {
    flex: 1;
    padding: 11px 16px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    font-family: var(--font-body);
    transition: background 0.25s ease, color 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-view-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.catalog-cart-btn {
    flex: 1;
    padding: 11px 16px;
    background: var(--accent-color);
    color: var(--white);
    border: 2px solid var(--accent-color);
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    font-family: var(--font-body);
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    width: 100%;
}

.catalog-cart-btn:hover {
    background: var(--accent-deep);
    border-color: var(--accent-deep);
}

.catalog-cart-btn:disabled {
    background: var(--border-color);
    border-color: var(--border-color);
    color: var(--light-text-color);
    cursor: not-allowed;
}

/* Пагинация */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 0 0 16px;
}

.pagination a,
.pagination span {
    padding: 9px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
    min-width: 40px;
    text-align: center;
    background: var(--white);
}

.pagination a:hover {
    background: var(--warm-sand);
    border-color: var(--accent-color);
    color: var(--primary-color);
}

.pagination .current {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Пустое состояние каталога */
.catalog-empty {
    text-align: center;
    padding: 80px 30px;
    color: var(--light-text-color);
}

.catalog-empty h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .catalog-hero {
        padding: 56px 24px 44px;
    }

    .catalog-section {
        padding: 40px 24px 56px;
    }

    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (max-width: 560px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .catalog-product-image {
        height: 220px;
    }
}

/* ============================================================
   === Страница товара (product_detail.html) — премиум ======
   ============================================================ */

/* Хлебные крошки */
.product-breadcrumb {
    padding: 24px 0 0;
}

.product-breadcrumb a {
    font-size: 0.9rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: color 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.product-breadcrumb a:hover {
    color: var(--accent-deep);
}

/* Блок детали товара */
.product-detail-wrap {
    padding: 36px 0 80px;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    margin-bottom: 72px;
    align-items: start;
}

@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

/* Плейсхолдер фото товара */
.product-detail-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: linear-gradient(145deg, var(--warm-sand) 0%, #b8ddd7 45%, var(--accent-color) 80%, var(--accent-deep) 100%);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.product-detail-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(var(--white-rgb),0.20) 0%, transparent 55%);
}

/* Информационная панель */
.product-detail-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.product-detail-category {
    display: inline-block;
    background: var(--warm-sand);
    color: var(--accent-color);
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
    border: 1px solid var(--border-color);
    width: fit-content;
}

.product-detail-name {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 1rem + 2vw, 2.2rem);
    color: var(--primary-color);
    margin: 0 0 16px;
    font-weight: 600;
    line-height: 1.2;
}

.product-detail-price {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 12px;
}

.product-detail-stock {
    font-size: 0.83rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.product-detail-stock.in-stock  { color: #3aaa74; }
.product-detail-stock.low-stock { color: #e07d2e; }
.product-detail-stock.out-of-stock { color: #d94f4f; }

.product-detail-description {
    font-size: 1rem;
    color: var(--light-text-color);
    line-height: 1.8;
    margin-bottom: 24px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

/* Блок особенностей */
.product-detail-features {
    background: var(--light-bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    margin-bottom: 24px;
}

.product-detail-features h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--primary-color);
    margin: 0 0 14px;
    font-weight: 600;
}

.product-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.product-feature-list li {
    padding: 9px 0 9px 26px;
    position: relative;
    font-size: 0.9rem;
    color: var(--dark-text-color);
    line-height: 1.5;
    border-bottom: 1px solid var(--border-color);
}

.product-feature-list li:last-child {
    border-bottom: none;
}

.product-feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: rgba(var(--accent-rgb),0.12);
    border-radius: 50%;
    border: 1.5px solid var(--accent-color);
}

.product-feature-list li::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-60%) rotate(45deg);
    width: 4px;
    height: 7px;
    border-right: 2px solid var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

/* Выбор количества */
.product-quantity-section {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.product-quantity-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.product-quantity-input {
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--white);
}

.product-quantity-input button {
    width: 40px;
    height: 42px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
    transition: background 0.2s ease, color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-quantity-input button:hover {
    background: var(--warm-sand);
    color: var(--accent-color);
}

.product-quantity-input input {
    width: 56px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    padding: 0 8px;
    height: 42px;
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--dark-text-color);
    background: var(--white);
    -moz-appearance: textfield;
}

.product-quantity-input input::-webkit-outer-spin-button,
.product-quantity-input input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

/* Кнопка добавления в корзину */
.product-add-to-cart-btn {
    width: 100%;
    padding: 15px 24px;
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.product-add-to-cart-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.product-add-to-cart-btn:disabled {
    background: var(--border-color);
    border-color: var(--border-color);
    color: var(--light-text-color);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Блок похожих товаров */
.related-products-section {
    padding: 56px 0 0;
    border-top: 1px solid var(--border-color);
}

.related-products-section h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 32px;
    font-weight: 600;
    text-align: left;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 28px;
}

/* Карточка похожего товара */
.related-product-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.related-product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.related-product-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(145deg, var(--warm-sand) 0%, #b8ddd7 50%, var(--soft-sage) 100%);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.related-product-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(var(--white-rgb),0.18) 0%, transparent 55%);
}

.related-product-info {
    padding: 18px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.related-product-category {
    font-size: 0.72rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.related-product-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.3;
    margin-top: 2px;
}

.related-product-price {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: 700;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .product-detail-wrap {
        padding: 28px 0 56px;
    }

    .related-products-section h2 {
        text-align: center;
        font-size: 1.5rem;
    }

    .related-products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .related-products-grid {
        grid-template-columns: 1fr;
    }
}

/* Адаптив футера */
@media (max-width: 900px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        padding: 56px 30px 44px;
    }
}

@media (max-width: 600px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 44px 24px 36px;
    }

    .footer-brand-tagline {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 18px 24px;
    }

    .footer-legal-links {
        justify-content: center;
    }
}

/* --- Шапка: бургер-меню до 1280px (планшеты, в т.ч. альбомные) --- */
@media (max-width: 1280px) {
    header h1 {
        font-size: 1.2rem;
    }

    .logo {
        max-width: 180px;
        max-height: 44px;
    }

    header .container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0;
    }

    /* Сброс трёхзонной раскладки на мобиле */
    .logo-link {
        flex: none;
        justify-content: flex-start;
    }

    .logo {
        margin-left: 0;
    }

    /* Корзина в шапке скрывается — переезжает в мобильное меню */
    .cart-link--desktop {
        display: none;
    }

    .cart-link--mobile {
        display: flex;
        margin-left: 0;
        justify-content: flex-start;
        padding-right: 0;
        padding: 14px 24px;
        border-top: 1px solid var(--border-color);
        margin-top: 8px;
        font-size: 1rem;
    }

    .cart-link--mobile .cart-icon {
        width: 22px;
        height: 22px;
    }

    /* Кнопка-гамбургер видна на мобиле */
    .nav-toggle {
        display: inline-flex;
    }

    /* --- Выпадающее меню под шапкой (полная ширина; скрыто, когда закрыто) --- */
    header nav {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        left: auto;
        transform: none;
        z-index: 1001;
        margin: 0;
        padding: 6px 0;
        width: max-content;
        min-width: 190px;
        max-width: 80vw;
        background-color: var(--header-footer-bg);
        border: 1px solid var(--border-color);
        box-shadow: 0 16px 32px rgba(30, 46, 43, 0.16);
        border-radius: var(--radius);
        max-height: calc(100dvh - 96px);
        overflow-y: auto;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        display: none;
    }

    body.nav-open header nav {
        display: flex;
        animation: navDrop 0.25s var(--ease-out);
    }

    @keyframes navDrop {
        from { opacity: 0; transform: translateY(-8px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    header nav ul {
        flex-direction: column;
        gap: 4px;
        align-items: stretch;
        width: 100%;
    }

    header nav ul li {
        width: 100%;
    }

    header nav a {
        display: block;
        padding: 14px 24px;
        font-size: 0.95rem;
        border-bottom: 1px solid transparent;
        border-radius: 0;
    }

    header nav a:hover,
    header nav a:focus-visible {
        background-color: var(--warm-sand);
        border-bottom-color: transparent;
        color: var(--accent-color);
    }

    /* Блокировка скролла фона при открытом меню */
    body.nav-open {
        overflow: hidden;
    }
}

/* --- Адаптивный дизайн (Responsive) --- */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 30px;
    }

    .hero-section h2 {
        font-size: 2.2rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    section {
        padding: 60px 30px;
    }

    section h2 {
        font-size: 2rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .benefits-grid,
    .products-grid,
    .sitemap-grid {
        grid-template-columns: 1fr;
    }

    .content-section {
        text-align: center;
    }

    .content-section h2 {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    header {
        padding: 1rem 0;
    }

    header h1 {
        font-size: 1rem;
    }

    .logo {
        max-width: 150px;
        max-height: 38px;
        margin-left: 0;
    }

    header nav a {
        padding: 14px 20px;
        font-size: 0.85rem;
    }

    .cart-link--mobile {
        font-size: 0.85rem;
        padding: 14px 20px;
    }

    .hero-section {
        padding: 60px 20px;
    }

    .hero-section h2 {
        font-size: 1.8rem;
    }

    .hero-section .lead {
        font-size: 0.9rem;
    }

    section {
        padding: 40px 20px;
    }

    section h2 {
        font-size: 1.6rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.85rem;
    }

    .benefit-cards-grid,
    .products-grid,
    .benefits-grid,
    .sitemap-grid {
        gap: 25px;
    }
}

/* ============================================================
   === Премиальный лендинг (index.html) =======================
   ============================================================ */

/* ----- Hero — новые классы ----- */

/* Blob-пятна на hero */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
    z-index: 1;
    opacity: 0.28;
}

.hero-blob--1 {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    top: -120px;
    right: -100px;
}

.hero-blob--2 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, var(--soft-sage) 0%, transparent 70%);
    bottom: -80px;
    left: -60px;
}

.hero-inner {
    position: relative;
    z-index: 3;
    max-width: 820px;
    margin: 0 auto;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(var(--white-rgb),0.75);
    margin-bottom: 1.4rem;
    position: relative;
    z-index: 3;
}

/* hero-title переопределяет .hero-section-home h2 */
.hero-section-home .hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 1.5rem + 5vw, 5rem);
    overflow-wrap: break-word;
    hyphens: auto;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -1px;
    color: var(--white);
    margin: 0 0 1.4rem 0;
    text-shadow: 0 2px 20px rgba(var(--overlay-dark-rgb),0.30);
    text-wrap: balance;
    position: relative;
    z-index: 3;
}

.hero-sub {
    font-size: clamp(1rem, 0.9rem + 0.5vw, 1.2rem);
    font-weight: 300;
    color: rgba(var(--white-rgb),0.88);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 2.8rem;
    text-wrap: balance;
    position: relative;
    z-index: 3;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 3;
}

/* Белая кнопка на тёмном hero */
.btn--light {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.btn--light:hover {
    background-color: var(--warm-sand);
    color: var(--primary-color);
    border-color: var(--warm-sand);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

/* Призрак-кнопка на тёмном hero */
.btn--ghost-light {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(var(--white-rgb),0.65);
}

.btn--ghost-light:hover {
    background-color: rgba(var(--white-rgb),0.14);
    color: var(--white);
    border-color: rgba(var(--white-rgb),0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(var(--overlay-dark-rgb),0.20);
}

/* ----- Section eyebrow (метка над заголовком) ----- */
.section-eyebrow {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 0.7rem;
}

/* ----- Benefits section ----- */
.section-benefits {
    background-color: var(--white);
}

.section-benefits .benefit-card {
    padding: 44px 36px;
    text-align: left;
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    background: var(--warm-sand);
    border-radius: var(--radius-sm);
    padding: 8px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.benefit-icon svg {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.section-benefits .benefit-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

/* ----- About section ----- */
.section-about {
    background-color: var(--light-bg-color);
    text-align: left;
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 1.2rem;
}

.about-text p {
    margin-bottom: 2rem;
}

.about-text .section-eyebrow {
    margin-bottom: 0.5rem;
}

/* Декоративный блок (правая колонка about) */
.about-decoration {
    position: relative;
    height: 320px;
}

.about-deco-blob {
    position: absolute;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle at 40% 40%, var(--warm-sand) 0%, var(--border-color) 60%, transparent 100%);
    border-radius: 50% 40% 55% 45% / 45% 50% 40% 55%;
    top: 20px;
    left: 20px;
    opacity: 0.8;
}

.about-deco-ring {
    position: absolute;
    width: 180px;
    height: 180px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    bottom: 10px;
    right: 30px;
    opacity: 0.25;
}

/* ----- Products section ----- */
.section-products {
    background: linear-gradient(160deg, var(--warm-sand) 0%, var(--light-bg-color) 100%);
    border-top: none;
}

.section-products h2 {
    margin-bottom: 10px;
}

/* Плейсхолдер изображения товара */
.product-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--warm-sand) 0%, var(--accent-color) 60%, var(--accent-deep) 100%);
    position: relative;
}

.product-image-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(var(--white-rgb),0.15) 0%, transparent 60%);
}

/* ----- Real life section ----- */
.reallife-section {
    background: var(--white);
}

.reallife-image img {
    border-radius: 0;
    display: block;
}

/* Скругляем только правые углы изображения */
@media (min-width: 769px) {
    .reallife-image {
        border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
        overflow: hidden;
    }
}

/* Чек-листы с мягкими галочками (sage) */
.reallife-checklist {
    list-style: none;
    padding: 0;
    margin: 28px 0 36px;
}

.reallife-checklist li {
    padding: 10px 0 10px 36px;
    position: relative;
    color: var(--dark-text-color);
    font-size: 0.98rem;
    line-height: 1.6;
}

.reallife-checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background-color: rgba(127,196,180,0.18);
    border-radius: 50%;
    border: 1.5px solid var(--soft-sage);
}

.reallife-checklist li::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 50%;
    transform: translateY(-60%) rotate(45deg);
    width: 5px;
    height: 9px;
    border-right: 2px solid var(--soft-sage);
    border-bottom: 2px solid var(--soft-sage);
}

.reallife-content .section-eyebrow {
    margin-bottom: 8px;
}

/* ----- CTA section ----- */
#cta.section-cta {
    background: linear-gradient(135deg, var(--warm-sand) 0%, #d2e8e2 60%, #eef6f4 100%);
    color: var(--dark-text-color);
    border-bottom: none;
    position: relative;
    overflow: hidden;
}

#cta.section-cta h2,
#cta.section-cta p {
    color: var(--dark-text-color);
}

/* Переопределяем жёсткие белые кнопки CTA */
#cta.section-cta .btn--cta {
    background-color: var(--primary-color);
    color: var(--light-bg-color);
    border-color: var(--primary-color);
}

#cta.section-cta .btn--cta:hover {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

/* Декоративные blob на CTA */
.cta-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    opacity: 0.4;
}

.cta-blob--1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--accent-rgb),0.45) 0%, transparent 70%);
    top: -150px;
    right: -100px;
}

.cta-blob--2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(127,196,180,0.42) 0%, transparent 70%);
    bottom: -100px;
    left: -50px;
}

.section-eyebrow--cta {
    color: var(--accent-color);
}

/* ============================================================
   Адаптивность лендинга (mobile)
   ============================================================ */

@media (max-width: 768px) {
    .hero-section-home {
        padding: 140px 24px 100px;
        min-height: 520px;
        background-attachment: scroll;
    }

    .hero-section-home .hero-title {
        font-size: clamp(1.85rem, 1rem + 4vw, 2.8rem);
        letter-spacing: -0.5px;
    }

    .hero-sub {
        font-size: 1rem;
        line-height: 1.6;
    }

    .hero-blob--1 { width: 280px; height: 280px; }
    .hero-blob--2 { width: 200px; height: 200px; }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 320px;
        box-sizing: border-box;
        text-align: center;
    }

    .about-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-decoration {
        display: none;
    }

    .about-text h2 {
        text-align: center;
    }

    .about-text .section-eyebrow {
        text-align: center;
        display: block;
    }

    .section-about {
        text-align: center;
    }

    .benefit-cards-grid {
        grid-template-columns: 1fr;
    }

    .section-benefits .benefit-card {
        text-align: center;
    }

    .benefit-icon {
        margin: 0 auto 24px;
    }

    .reallife-image {
        border-radius: 0;
    }
}

@media (max-width: 480px) {
    .hero-section-home {
        padding: 100px 20px 80px;
    }

    .hero-actions .btn {
        padding: 13px 28px;
        font-size: 0.85rem;
    }

    .cta-blob--1,
    .cta-blob--2 {
        display: none;
    }
}

/* ----- Trust band / Delivery band (тёмная полоса доставки) ----- */
.trust-band {
    background-color: var(--primary-color);
    padding: 60px 30px;
    text-align: center;
}

.delivery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.delivery-item {
    padding: 28px 36px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border-right: 1px solid rgba(var(--white-rgb),0.12);
}

.delivery-item:last-child {
    border-right: none;
}

.delivery-item__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delivery-item__text {
    font-family: var(--font-body);
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.35;
    text-align: left;
}

@media (max-width: 768px) {
    .delivery-grid {
        grid-template-columns: 1fr;
    }

    .delivery-item {
        padding: 22px 24px;
        justify-content: flex-start;
        border-right: none;
        border-bottom: 1px solid rgba(var(--white-rgb),0.12);
    }

    .delivery-item:last-child {
        border-bottom: none;
    }

    .delivery-item__text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .trust-band {
        padding: 36px 20px;
    }

    .delivery-item {
        padding: 18px 16px;
        justify-content: center;
        text-align: center;
    }

    .delivery-item__text {
        font-size: 0.95rem;
        text-align: left;
    }
}

/* ----- Reviews section (отзывы) ----- */
.section-reviews {
    position: relative;
    background-color: var(--primary-color);
    padding: 90px 30px;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}

/* Фоновая карусель из фото клиентских сетапов */
.reviews-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.reviews-bg__layer {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    animation: reviews-bg-fade 18s linear infinite;
    will-change: opacity;
}

.reviews-bg__layer--1 {
    animation-delay: -12s;
}

.reviews-bg__layer--2 {
    animation-delay: -6s;
}

.reviews-bg__layer--3 {
    animation-delay: 0s;
}

/* Бесшовный кроссфейд: каждый слой 6с проявляется, 6с держится
   на полной непрозрачности и 6с угасает — соседние слои всегда
   перекрываются, провалов в "пустоту" не остаётся. */
@keyframes reviews-bg-fade {
    0%,
    100% {
        opacity: 0;
    }
    16.66%,
    50% {
        opacity: 1;
    }
    66.66% {
        opacity: 0;
    }
}

/* Затемняющий оверлей в фирменных тёмно-зелёных тонах (как на hero).
   Плотность повышена, чтобы текст уверенно читался даже на самых
   светлых/пёстрых кадрах карусели; нижняя часть (где лежат карточки)
   дополнительно затемнена вторым радиальным слоем. */
.reviews-bg__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 90% at 50% 100%, rgba(14,30,27,0.55) 0%, rgba(14,30,27,0) 60%),
        linear-gradient(160deg, rgba(16,36,32,0.88) 0%, rgba(20,46,42,0.82) 50%, rgba(35,110,99,0.74) 100%);
}

.section-reviews .container {
    position: relative;
    z-index: 1;
}

.section-reviews .section-eyebrow {
    color: var(--soft-sage);
}

.section-reviews h2 {
    color: var(--white);
    text-shadow: 0 2px 20px rgba(var(--overlay-dark-rgb),0.35);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin: 50px 0 0;
}

/* Карточки-стекло (glassmorphism) — фон-карусель просвечивает сквозь них */
.review-card {
    background-color: rgba(var(--white-rgb), 0.14);
    border: 1px solid rgba(var(--white-rgb), 0.22);
    border-radius: var(--radius);
    padding: 40px 36px;
    text-align: left;
    box-shadow: 0 8px 32px rgba(var(--overlay-dark-rgb),0.25);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    transition: box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out), border-color 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-card:hover {
    transform: translateY(-6px);
    background-color: rgba(var(--white-rgb), 0.20);
    box-shadow: 0 16px 48px rgba(var(--overlay-dark-rgb),0.32);
    border-color: rgba(var(--white-rgb), 0.4);
}

/* Фолбэк для браузеров без backdrop-filter: более плотный тёмный фон */
@supports not (backdrop-filter: blur(1px)) {
    .review-card {
        background-color: rgba(20, 42, 38, 0.78);
    }

    .review-card:hover {
        background-color: rgba(20, 42, 38, 0.86);
    }
}

.review-stars {
    font-size: 1.1rem;
    color: var(--star-gold);
    letter-spacing: 2px;
    line-height: 1;
}

.review-quote {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--white);
    line-height: 1.75;
    margin: 0;
    flex: 1;
    font-style: italic;
    text-shadow: 0 1px 8px rgba(var(--overlay-dark-rgb),0.25);
}

.review-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 16px;
    border-top: 1px solid rgba(var(--white-rgb), 0.22);
}

.review-author__name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
}

.review-author__role {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(var(--white-rgb), 0.72);
}

@media (max-width: 768px) {
    .section-reviews {
        padding: 60px 30px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 480px) {
    .section-reviews {
        padding: 40px 20px;
    }

    .review-card {
        padding: 28px 24px;
    }
}

/* Отключаем анимацию карусели при reduced-motion — статичный первый кадр */
@media (prefers-reduced-motion: reduce) {
    .reviews-bg__layer {
        animation: none;
        opacity: 0;
    }

    .reviews-bg__layer--1 {
        opacity: 1;
    }
}

/* Мобильное меню: без анимаций при reduced-motion */
@media (prefers-reduced-motion: reduce) {
    header nav,
    .nav-toggle-line,
    .nav-overlay {
        transition: none;
    }
}

/* ----- Hero — logo PNG (светлая версия wordmark поверх тёмного фото) ----- */

.hero-logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 3;
}

.hero-logo-img {
    width: clamp(180px, 40vw, 260px);
    height: auto;
    display: block;
    /* Лёгкое свечение-тень вокруг логотипа для читаемости поверх фото */
    filter: drop-shadow(0 2px 12px rgba(var(--overlay-dark-rgb),0.30));
}

@media (max-width: 768px) {
    .hero-logo-wrap {
        margin-bottom: 1.4rem;
    }

    .hero-logo-img {
        width: clamp(150px, 50vw, 200px);
    }

    /* Уменьшаем верхний паддинг hero, чтобы всё помещалось */
    .hero-section-home {
        padding-top: 110px;
    }
}

@media (max-width: 480px) {
    .hero-logo-wrap {
        margin-bottom: 1rem;
    }

    .hero-logo-img {
        width: clamp(140px, 56vw, 180px);
    }

    .hero-section-home {
        padding-top: 80px;
    }
}

/* ----- Наши работы (галерея на странице "О нас") ----- */
.works-gallery {
    padding: 90px 30px;
    text-align: center;
}

.works-gallery .section-eyebrow {
    text-align: center;
}

.works-gallery h2 {
    text-align: center;
}

.works-gallery .lead {
    text-align: center;
    margin: 0.5rem auto 0;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 50px 0 0;
}

.works-item {
    aspect-ratio: 3 / 4;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    transition: box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out), border-color 0.3s ease;
}

.works-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.works-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-out);
}

.works-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .works-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .works-gallery {
        padding: 60px 30px;
    }

    .works-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-top: 36px;
    }
}

@media (max-width: 480px) {
    .works-gallery {
        padding: 40px 20px;
    }

    .works-grid {
        gap: 12px;
    }
}

/* ----- Отзывы на странице "О нас" (светлый блок) ----- */
.about-reviews {
    background-color: var(--light-bg-color);
    padding: 90px 30px;
    text-align: center;
}

.about-reviews .section-eyebrow {
    text-align: center;
}

.about-reviews h2 {
    text-align: center;
}

.about-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin: 50px 0 0;
}

.about-review-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow-soft);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out), border-color 0.3s ease;
}

.about-review-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.about-review-card__stars {
    font-size: 1.1rem;
    color: var(--accent-color);
    letter-spacing: 2px;
    line-height: 1;
}

.about-review-card__quote {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--dark-text-color);
    line-height: 1.75;
    margin: 0;
    flex: 1;
    font-style: italic;
}

.about-review-card__author {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.about-review-card__name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.about-review-card__role {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--light-text-color);
}

@media (max-width: 768px) {
    .about-reviews {
        padding: 60px 30px;
    }

    .about-reviews-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 480px) {
    .about-reviews {
        padding: 40px 20px;
    }

    .about-review-card {
        padding: 28px 24px;
    }
}

/* ============================================================
   === Декор страницы «О нас» (hero + Миссия/История/Ценности)
   ============================================================ */

/* --- Hero «О компании LIFTABLE»: блобы + завиток --- */
.about-hero .hero-blob--1 {
    top: -140px;
    right: -120px;
}

.about-hero .hero-blob--2 {
    bottom: -100px;
    left: -80px;
    opacity: 0.22;
}

.about-hero-swirl {
    position: absolute;
    top: 18%;
    right: 6%;
    width: 130px;
    height: 130px;
    z-index: 1;
    opacity: 0.35;
    pointer-events: none;
}

.about-hero-swirl path {
    fill: none;
    stroke: var(--accent-color);
    stroke-width: 1.5;
    stroke-linecap: round;
}

.about-hero-swirl circle {
    fill: var(--soft-sage);
}

/* --- Обёртка трёх блоков (Миссия / История / Ценности) --- */
.about-intro {
    padding: 60px 30px;
    position: relative;
}

.about-intro .about-block {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: 48px clamp(24px, 5vw, 64px);
    isolation: isolate;
}

.about-intro .about-block--mission,
.about-intro .about-block--values {
    background: var(--light-bg-color);
}

.about-intro .about-block--history {
    background: var(--warm-sand);
}

/* Размытые цветовые пятна-блобы внутри блоков */
.about-block-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.35;
}

.about-block-blob--mission {
    width: 320px;
    height: 320px;
    top: -120px;
    right: -100px;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
}

.about-block-blob--history {
    width: 280px;
    height: 280px;
    bottom: -110px;
    left: -90px;
    background: radial-gradient(circle, var(--soft-sage) 0%, transparent 70%);
    opacity: 0.4;
}

.about-block-blob--values {
    width: 300px;
    height: 300px;
    bottom: -130px;
    right: -90px;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    opacity: 0.3;
}

/* Точечный паттерн (dots grid) у «Миссии» */
.about-block-dots {
    position: absolute;
    top: 36px;
    left: clamp(12px, 3vw, 36px);
    width: 96px;
    height: 96px;
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
    background-image: radial-gradient(var(--soft-sage) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 75%);
    mask-image: radial-gradient(circle, #000 0%, transparent 75%);
}

/* Тонкий завиток-линия у «Истории» */
.about-block-curl {
    position: absolute;
    pointer-events: none;
    z-index: -1;
}

.about-block-curl--history {
    top: 50%;
    right: clamp(8px, 4vw, 48px);
    width: 110px;
    height: 110px;
    transform: translateY(-50%);
    opacity: 0.3;
}

.about-block-curl path {
    fill: none;
    stroke: var(--accent-color);
    stroke-width: 1.5;
    stroke-linecap: round;
}

/* Кольца-акценты у «Ценностей» */
.about-block-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid var(--accent-color);
    opacity: 0.18;
    pointer-events: none;
    z-index: -1;
}

.about-block-ring {
    width: 200px;
    height: 200px;
    top: -70px;
    right: -60px;
}

.about-block-ring--sm {
    width: 56px;
    height: 56px;
    top: 36px;
    right: 120px;
    border-color: var(--soft-sage);
    opacity: 0.3;
}

/* --- Росчерки (flourish) под заголовками h2 --- */
.about-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.about-flourish {
    display: block;
    width: 120px;
    height: 19px;
    flex-shrink: 0;
    pointer-events: none;
}

.about-flourish path {
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
}

.about-flourish circle {
    fill: var(--accent-color);
    opacity: 0.7;
}

.about-flourish--hero {
    width: 140px;
    height: 21px;
}

/* --- Кластеры «пузырьков»: маленькие точки + контурные кружки --- */
.about-bubbles {
    position: absolute;
    pointer-events: none;
    z-index: -1;
}

.about-bubble {
    position: absolute;
    border-radius: 50%;
}

.about-bubble--fill {
    background: var(--accent-color);
    opacity: 0.22;
}

.about-bubble--ring {
    border: 1.5px solid var(--soft-sage);
    opacity: 0.35;
}

.about-bubble--xs { width: 10px; height: 10px; }
.about-bubble--sm { width: 18px; height: 18px; }
.about-bubble--md { width: 32px; height: 32px; }
.about-bubble--lg { width: 52px; height: 52px; }

/* Миссия: кластер у нижнего левого края, у завитка-подчёркивания */
.about-bubbles--mission {
    bottom: 28px;
    left: clamp(16px, 4vw, 56px);
    width: 90px;
    height: 70px;
}

.about-bubbles--mission .about-bubble--md { top: 0; left: 0; }
.about-bubbles--mission .about-bubble--sm { top: 38px; left: 46px; opacity: 0.3; }
.about-bubbles--mission .about-bubble--xs { top: 8px; left: 64px; }

/* История: кластер у нижнего правого края, перекликается с завитком */
.about-bubbles--history {
    bottom: 18px;
    right: clamp(16px, 4vw, 64px);
    width: 100px;
    height: 90px;
}

.about-bubbles--history .about-bubble--lg { bottom: 0; right: 0; opacity: 0.22; }
.about-bubbles--history .about-bubble--sm { bottom: 56px; right: 18px; }
.about-bubbles--history .about-bubble--xs { bottom: 30px; right: 64px; opacity: 0.3; }

/* Ценности: кластер в верхнем левом углу, балансирует кольца справа */
.about-bubbles--values {
    top: 24px;
    left: clamp(12px, 4vw, 48px);
    width: 80px;
    height: 70px;
}

.about-bubbles--values .about-bubble--md { top: 0; left: 10px; opacity: 0.18; }
.about-bubbles--values .about-bubble--sm { top: 40px; left: 0; }
.about-bubbles--values .about-bubble--xs { top: 28px; left: 50px; }

/* --- Разделители между блоками: волна + точка-акцент --- */
.about-divider {
    position: relative;
    width: 100%;
    max-width: 360px;
    height: 32px;
    margin: 4px auto;
    pointer-events: none;
    opacity: 0.45;
}

.about-divider svg {
    width: 100%;
    height: 100%;
    display: block;
}

.about-divider path {
    fill: none;
    stroke: var(--soft-sage);
    stroke-width: 2;
    stroke-linecap: round;
}

.about-divider--alt path {
    stroke: var(--accent-color);
}

.about-divider-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-color);
    transform: translate(-50%, -50%);
}

.about-divider--alt .about-divider-dot {
    background: var(--soft-sage);
}

/* --- Мягкая «дыхание»-анимация для блобов --- */
@media (prefers-reduced-motion: no-preference) {
    .about-block-blob {
        animation: about-blob-breathe 14s ease-in-out infinite;
    }

    .about-block-blob--history {
        animation-delay: -5s;
    }

    .about-block-blob--values {
        animation-delay: -9s;
    }
}

@keyframes about-blob-breathe {
    0%, 100% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.08) translate(-12px, 12px); }
}

@media (prefers-reduced-motion: reduce) {
    .about-block-blob {
        animation: none !important;
    }
}

/* --- Адаптив: планшет --- */
@media (max-width: 768px) {
    .about-hero-swirl {
        width: 90px;
        height: 90px;
        top: 12%;
        right: 4%;
        opacity: 0.25;
    }

    .about-intro {
        padding: 40px 20px;
    }

    .about-intro .about-block {
        padding: 36px 24px;
        border-radius: var(--radius);
    }

    .about-block-blob--mission,
    .about-block-blob--history,
    .about-block-blob--values {
        width: 200px;
        height: 200px;
        filter: blur(48px);
    }

    .about-block-dots {
        width: 72px;
        height: 72px;
    }

    .about-block-curl--history {
        width: 80px;
        height: 80px;
    }

    .about-block-ring {
        width: 130px;
        height: 130px;
        top: -40px;
        right: -40px;
    }

    .about-block-ring--sm {
        width: 40px;
        height: 40px;
        top: 24px;
        right: 76px;
    }

    .about-flourish {
        width: 100px;
        height: 16px;
    }

    .about-flourish--hero {
        width: 110px;
        height: 17px;
    }

    .about-bubbles--mission,
    .about-bubbles--history,
    .about-bubbles--values {
        transform: scale(0.8);
    }

    .about-bubbles--mission {
        bottom: 16px;
        left: 8px;
        transform-origin: bottom left;
    }

    .about-bubbles--history {
        bottom: 10px;
        right: 8px;
        transform-origin: bottom right;
    }

    .about-bubbles--values {
        top: 12px;
        left: 8px;
        transform-origin: top left;
    }
}

/* --- Адаптив: мобильный --- */
@media (max-width: 480px) {
    .about-hero-swirl {
        display: none;
    }

    .about-hero .hero-blob--1,
    .about-hero .hero-blob--2 {
        width: 220px;
        height: 220px;
    }

    .about-intro {
        padding: 32px 16px;
    }

    .about-intro .about-block {
        padding: 28px 18px;
    }

    .about-block-blob--mission,
    .about-block-blob--history,
    .about-block-blob--values {
        width: 160px;
        height: 160px;
        filter: blur(40px);
        opacity: 0.25;
    }

    .about-block-dots {
        width: 56px;
        height: 56px;
        top: 20px;
    }

    .about-block-ring,
    .about-block-ring--sm {
        display: none;
    }

    .about-divider {
        max-width: 240px;
        height: 24px;
    }

    .about-flourish {
        width: 84px;
        height: 14px;
    }

    .about-flourish--hero {
        width: 90px;
        height: 14px;
    }

    .about-bubbles--mission,
    .about-bubbles--history,
    .about-bubbles--values {
        transform: scale(0.65);
    }

    .about-bubbles--history .about-bubble--lg {
        opacity: 0.16;
    }
}

/* ============================================================
   Главная: общий бренд-декор (росчерки + пузырьки)
   Переиспользуем приём со страницы «О нас», но классы — общие
   и не зависят от .about-* / друг от друга.
   ============================================================ */

/* Контейнеры секций, где используется декор: даём якорь
   для absolute-пузырьков и прячем то, что выходит за край */
.section-benefits,
.section-about,
.section-offerings.section-products {
    position: relative;
    overflow: hidden;
}

/* Заголовок с тонким росчерком под текстом */
.deco-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.deco-heading--left {
    align-items: flex-start;
}

.deco-flourish {
    display: block;
    width: 120px;
    height: 19px;
    flex-shrink: 0;
    pointer-events: none;
}

.deco-flourish path {
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
}

.deco-flourish circle {
    fill: var(--accent-color);
    opacity: 0.7;
}

.deco-flourish--lg {
    width: 140px;
    height: 21px;
}

/* Кластеры «пузырьков»: маленькие точки + контурные кружки */
.deco-bubbles {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.deco-bubble {
    position: absolute;
    border-radius: 50%;
}

.deco-bubble--fill {
    background: var(--accent-color);
    opacity: 0.22;
}

.deco-bubble--ring {
    border: 1.5px solid var(--soft-sage);
    opacity: 0.35;
}

.deco-bubble--xs { width: 10px; height: 10px; }
.deco-bubble--sm { width: 18px; height: 18px; }
.deco-bubble--md { width: 32px; height: 32px; }
.deco-bubble--lg { width: 52px; height: 52px; }

/* «Три причины»: кластер в правом верхнем углу секции */
.deco-bubbles--benefits {
    top: 28px;
    right: clamp(16px, 4vw, 64px);
    width: 90px;
    height: 80px;
    z-index: 0;
}

.deco-bubbles--benefits .deco-bubble--md { top: 0; right: 0; opacity: 0.16; }
.deco-bubbles--benefits .deco-bubble--sm { top: 44px; right: 56px; }
.deco-bubbles--benefits .deco-bubble--xs { top: 18px; right: 64px; opacity: 0.3; }

/* «О LIFTABLE»: кластер в правой декоративной колонке, рядом с blob/ring */
.deco-bubbles--about {
    top: 6px;
    right: 24px;
    width: 90px;
    height: 70px;
    z-index: 0;
}

.deco-bubbles--about .deco-bubble--md { top: 0; right: 0; opacity: 0.18; }
.deco-bubbles--about .deco-bubble--sm { top: 40px; right: 48px; }
.deco-bubbles--about .deco-bubble--xs { top: 12px; right: 64px; opacity: 0.3; }

/* «Рабочее место вашей мечты»: кластер в левом верхнем углу секции */
.deco-bubbles--offerings {
    top: 24px;
    left: clamp(16px, 4vw, 56px);
    width: 90px;
    height: 70px;
    z-index: 0;
}

.deco-bubbles--offerings .deco-bubble--md { top: 0; left: 10px; opacity: 0.16; }
.deco-bubbles--offerings .deco-bubble--sm { top: 42px; left: 0; }
.deco-bubbles--offerings .deco-bubble--xs { top: 30px; left: 52px; opacity: 0.3; }

/* CTA: светлый вариант (фон секции светлый — мятный градиент),
   кластер в правом нижнем углу, перекликается с cta-blob */
.deco-bubbles--cta {
    bottom: 22px;
    right: clamp(16px, 5vw, 72px);
    width: 100px;
    height: 86px;
    z-index: 0;
}

.deco-bubbles--cta .deco-bubble--lg { bottom: 0; right: 0; opacity: 0.2; }
.deco-bubbles--cta .deco-bubble--sm { bottom: 54px; right: 20px; }
.deco-bubbles--cta .deco-bubble--xs { bottom: 28px; right: 60px; opacity: 0.32; }

/* На CTA пузырьки/росчерк должны быть поверх blur-блобов, но под контентом */
.section-cta .deco-bubbles {
    z-index: 1;
}

.section-cta .deco-flourish {
    position: relative;
    z-index: 1;
}

/* --- Адаптив: планшет/мобильный --- */
@media (max-width: 768px) {
    .deco-flourish {
        width: 100px;
        height: 16px;
    }

    .deco-flourish--lg {
        width: 110px;
        height: 17px;
    }

    .deco-bubbles--benefits,
    .deco-bubbles--about,
    .deco-bubbles--offerings,
    .deco-bubbles--cta {
        transform: scale(0.8);
    }

    .deco-bubbles--benefits {
        top: 12px;
        right: 8px;
        transform-origin: top right;
    }

    .deco-bubbles--about {
        bottom: 8px;
        left: 4px;
        transform-origin: bottom left;
    }

    .deco-bubbles--offerings {
        top: 12px;
        left: 8px;
        transform-origin: top left;
    }

    .deco-bubbles--cta {
        bottom: 12px;
        right: 8px;
        transform-origin: bottom right;
    }
}

/* --- Адаптив: мобильный --- */
@media (max-width: 480px) {
    .deco-flourish {
        width: 84px;
        height: 14px;
    }

    .deco-flourish--lg {
        width: 90px;
        height: 14px;
    }

    .deco-bubbles--benefits,
    .deco-bubbles--about,
    .deco-bubbles--offerings,
    .deco-bubbles--cta {
        transform: scale(0.65);
    }

    .deco-bubbles--cta .deco-bubble--lg {
        opacity: 0.14;
    }
}

/* ============================================================
   === Страница «Акции» (promotions)
   ============================================================ */

/* ----- Акцентный пункт меню «Акции» ----- */
.nav-link--promo {
    color: var(--accent-color) !important;
}

.nav-link--promo:hover {
    color: var(--accent-deep) !important;
    border-bottom-color: var(--accent-deep) !important;
}

/* ----- Hero акций ----- */
.promotions-hero {
    padding: 100px 30px 80px;
    text-align: center;
}

.promotions-flourish {
    display: block;
    width: 160px;
    height: 24px;
    margin: 12px auto 0;
    overflow: visible;
}

/* ----- Секция с сеткой ----- */
.promotions-section {
    padding: 20px 30px 100px;
    background: var(--light-bg-color);
}

.promotions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 0;
}

/* ----- Карточка промо ----- */
.promo-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.3s ease;
    position: relative;
}

.promo-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

/* Бейдж */
.promo-card__badge {
    display: inline-block;
    align-self: flex-start;
    margin: 28px 28px 0;
    padding: 5px 14px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1;
}

/* Вариант «В подарок» — бирюзовый */
.promo-card__badge--gift {
    background: rgba(var(--accent-rgb), 0.12);
    color: var(--accent-deep);
    border: 1px solid rgba(var(--accent-rgb), 0.28);
}

/* Вариант «Бесплатно» — шалфей */
.promo-card__badge--free {
    background: rgba(127, 196, 180, 0.15);
    color: #3a7a6e;
    border: 1px solid rgba(127, 196, 180, 0.35);
}

/* Вариант «−10%» — тёплый (песочный) */
.promo-card__badge--discount {
    background: rgba(230, 241, 237, 0.9);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
}

/* Тело карточки */
.promo-card__body {
    padding: 20px 28px 12px;
    flex: 1;
}

.promo-card__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 12px;
    line-height: 1.3;
    text-align: left;
}

.promo-card__desc {
    font-family: var(--font-body);
    font-size: 0.98rem;
    color: var(--light-text-color);
    line-height: 1.75;
    margin: 0;
    text-align: left;
}

/* Подвал карточки */
.promo-card__footer {
    padding: 20px 28px 28px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.promo-card__condition {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--light-text-color);
    margin: 0;
    letter-spacing: 0.02em;
    font-style: italic;
    text-align: left;
}

.promo-card__cta {
    padding: 11px 28px;
    font-size: 0.82rem;
}

/* ----- Адаптив ----- */
@media (max-width: 900px) {
    .promotions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .promotions-hero {
        padding: 70px 20px 56px;
    }

    .promotions-section {
        padding: 16px 20px 72px;
    }

    .promotions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .promo-card__badge {
        margin: 24px 24px 0;
    }

    .promo-card__body {
        padding: 16px 24px 10px;
    }

    .promo-card__footer {
        padding: 16px 24px 24px;
    }
}

@media (max-width: 480px) {
    .promotions-hero {
        padding: 52px 16px 44px;
    }

    .promotions-section {
        padding: 12px 16px 56px;
    }
}

/* ============================================================
   SUPPORT FAB — плавающая кнопка чата поддержки (Telegram)
   ============================================================ */

.support-fab {
    position: fixed;
    right: 24px;
    bottom: 28px;
    z-index: 400;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 13px 20px 13px 16px;
    border-radius: 50px;

    background-color: var(--accent-color);
    color: var(--white);
    text-decoration: none;

    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 1;
    white-space: nowrap;

    box-shadow: var(--shadow-hover);
    transition:
        transform 0.28s var(--ease-out),
        box-shadow 0.28s var(--ease-out),
        background-color 0.22s ease;

    /* Появление: slide-up + fade */
    animation: fab-enter 0.55s var(--ease-out) 0.6s both;
}

.support-fab:hover,
.support-fab:focus-visible {
    background-color: var(--accent-deep);
    transform: translateY(-4px) scale(1.03);
    box-shadow:
        0 6px 16px rgba(var(--accent-rgb), 0.35),
        0 20px 48px rgba(30, 46, 43, 0.18);
    outline: none;
}

/* Видимый фокус-ринг для клавиатуры */
.support-fab:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
}

.support-fab__icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.support-fab__label {
    display: inline;
}

/* Ключевые кадры появления */
@keyframes fab-enter {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Мобильный: компактнее, чуть выше чтобы не перекрывать CTA корзины */
@media (max-width: 768px) {
    .support-fab {
        right: 16px;
        bottom: 80px;  /* выше кнопки «Оформить заказ» в корзине */
        padding: 12px 16px 12px 14px;
        font-size: 0.8rem;
        gap: 7px;
    }

    .support-fab__label {
        display: none;  /* только иконка на мобиле */
    }

    /* Без подписи — делаем круглее */
    .support-fab {
        padding: 14px;
        border-radius: 50%;
    }
}

/* Отключаем анимации при prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .support-fab {
        animation: none;
        transition: background-color 0.15s ease;
    }

    .support-fab:hover,
    .support-fab:focus-visible {
        transform: none;
    }
}

/* ============ Cookie-баннер ============ */
/* Атрибут hidden должен скрывать баннер, несмотря на display:flex ниже
   (иначе авторское display:flex перебивает браузерное [hidden]{display:none}). */
.cookie-note[hidden] {
    display: none;
}

.cookie-note {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 14px 24px;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.5;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.18);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-note span {
    flex: 1 1 260px;
    min-width: 0;
}

.cookie-note button {
    flex-shrink: 0;
    padding: 8px 22px;
    border-radius: 100px;
    background: var(--accent-color);
    color: #fff;
    border: 2px solid var(--accent-color);
    font-size: 0.85rem;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    letter-spacing: 0.04em;
    transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
    white-space: nowrap;
}

.cookie-note button:hover {
    background: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.cookie-note button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

@media (max-width: 560px) {
    .cookie-note {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 16px 18px;
    }

    .cookie-note button {
        align-self: flex-end;
    }
}

/* Honeypot — поле-приманка для ботов, скрыто от людей */
.hp-field { position: absolute !important; left: -9999px !important; top: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ============================================================
   КРОСС-СЕЙЛ АКСЕССУАРОВ
   ============================================================ */
.xsell { margin: 48px auto; max-width: 1100px; padding: 0 30px; }
.xsell__title { font-family: var(--font-heading); font-size: 1.5rem; color: var(--primary-color); text-align: center; margin-bottom: 24px; }
.xsell__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 800px) { .xsell__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .xsell__grid { grid-template-columns: 1fr; } }
.xsell__card { border: 1px solid var(--border-color); border-radius: var(--radius); padding: 14px; background: #fff; display: flex; flex-direction: column; gap: 8px; transition: box-shadow .2s, transform .2s; }
.xsell__card:hover { box-shadow: var(--shadow-soft); transform: translateY(-3px); }
.xsell__imgwrap { display: block; aspect-ratio: 1/1; overflow: hidden; border-radius: var(--radius-sm); background: var(--light-bg-color); }
.xsell__imgwrap img { width: 100%; height: 100%; object-fit: cover; }
.xsell__name { font-size: 0.9rem; line-height: 1.3; }
.xsell__name a { color: var(--primary-color); text-decoration: none; }
.xsell__name a:hover { color: var(--accent-color); }
.xsell__price { font-weight: 700; color: var(--primary-color); }
.xsell__btn { margin-top: auto; padding: 9px; background: var(--primary-color); color: #fff; border: none; border-radius: 100px; font-weight: 600; font-size: 0.82rem; cursor: pointer; transition: background .2s; width: 100%; font-family: var(--font-body); }
.xsell__btn:hover { background: var(--accent-color); }

/* ============================================================
   CALLBACK FAB + МОДАЛКА
   ============================================================ */
.callback-fab { position: fixed; right: 24px; bottom: 84px; z-index: 998; display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; background: var(--accent-color); color: #fff; border: none; border-radius: 100px; font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; cursor: pointer; box-shadow: var(--shadow-soft); transition: background .2s; }
.callback-fab:hover { background: var(--primary-color); }
.callback-modal { position: fixed; inset: 0; background: rgba(20,32,29,.55); display: flex; align-items: center; justify-content: center; z-index: 10000; padding: 20px; }
.callback-modal[hidden] { display: none; }
.callback-modal__box { background: #fff; border-radius: var(--radius); max-width: 420px; width: 100%; padding: 28px; position: relative; box-shadow: var(--shadow-hover); }
.callback-modal__box h3 { font-family: var(--font-heading); color: var(--primary-color); margin: 0 0 8px; }
.callback-modal__box p { color: var(--light-text-color); font-size: 0.9rem; margin: 0 0 16px; }
.callback-modal__box input, .callback-modal__box textarea { width: 100%; padding: 11px 14px; margin-bottom: 12px; border: 1px solid var(--border-color); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 0.95rem; box-sizing: border-box; }
.callback-modal__close { position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--light-text-color); }
.callback-modal__submit { width: 100%; padding: 13px; background: var(--primary-color); color: #fff; border: none; border-radius: 100px; font-weight: 700; cursor: pointer; font-family: var(--font-body); transition: background .2s; }
.callback-modal__submit:hover { background: var(--accent-color); }
.callback-modal__tg { display: block; text-align: center; margin-top: 12px; color: var(--accent-color); font-size: 0.85rem; text-decoration: none; }
/* Мобильный: «Заказать звонок» — стопкой НАД кнопкой Telegram (support-fab), без наложения */
@media (max-width: 768px) { .callback-fab { right: 16px; bottom: 140px; } }
@media (max-width: 600px) { .callback-fab__label { display: none; } .callback-fab { padding: 12px; border-radius: 50%; } }
