/* ===== ПЕРЕМЕННЫЕ ===== */
:root {
    /* Фирменные цвета КОНТИ */
    --primary: #8e24aa;       /* Основной фиолетовый */
    --primary-dark: #6a1b9a;  /* Тёмно-фиолетовый */
    --accent: #fdd835;        /* Золотой/жёлтый акцент */
    --gold: #fbc02d;          /* Более тёмный золотой */
    --red: #c41e3a;           /* Красный (для цен и CTA) */
    --red-dark: #a01830;
    --light: #fafafa;         /* Светлый фон */
    --text: #2c3e50;
    --text-light: #666;
    --white: #ffffff;
    --shadow: 0 10px 40px rgba(0,0,0,0.1);
    --radius: 20px;
}

/* ===== СБРОС ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--light);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}
.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

/* ===== СНЕГ И ЗВЕЗДЫ ===== */
.snow-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1000; overflow: hidden; }
.snowflake { position: absolute; top: -50px; color: white; text-shadow: 0 0 5px rgba(255,255,255,0.8); animation: snowfall linear infinite; opacity: 0; }
@keyframes snowfall {
    0% { opacity: 0; transform: translateY(0) rotate(0deg) translateX(0); }
    10% { opacity: 0.9; }
    90% { opacity: 0.9; }
    100% { opacity: 0; transform: translateY(100vh) rotate(360deg) translateX(100px); }
}
.stars { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }
.star { position: absolute; background: white; border-radius: 50%; animation: twinkle ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: 0.3; transform: scale(1); } 50% { opacity: 1; transform: scale(1.3); } }

/* ===== ШАПКА (ОБНОВЛЕННАЯ СТИЛИСТИКА) ===== */
.header {
    /* Используем самый темный фиолетовый из вашей палитры */
    background: linear-gradient(180deg, #4a148c 0%, var(--primary-dark) 100%);
    
    /* Добавляем легкую тень снизу, чтобы отделить шапку от контента */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    
    backdrop-filter: blur(15px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    
    /* Тонкая золотая линия снизу для акцента (опционально, можно убрать) */
    border-bottom: 1px solid rgba(253, 216, 53, 0.2); 
}
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.logo { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
}
.logo-svg {
    height: 45px;
    width: auto;
    display: block;
}
.logo-text {
    display: flex;
    flex-direction: column;
}
.logo-title { 
    font-family: 'Playfair Display', serif; 
    font-size: 24px; 
    font-weight: 900; 
    color: var(--gold); 
    letter-spacing: 2px; 
}
.logo-subtitle { 
    font-size: 11px; 
    color: rgba(255,255,255,0.7); 
    letter-spacing: 1px; 
}
.nav { display: flex; gap: 30px; }
.nav-link { color: rgba(255,255,255,0.8); text-decoration: none; font-weight: 500; font-size: 15px; transition: color 0.3s; position: relative; }
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link.active::after { content: ''; position: absolute; bottom: -8px; left: 0; width: 100%; height: 2px; background: var(--gold); }
.btn-small { background: linear-gradient(135deg, var(--red), var(--red-dark)); color: white; padding: 10px 24px; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 14px; transition: all 0.3s; box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3); }
.btn-small:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(196, 30, 58, 0.5); }

/* ===== HERO ===== */
.hero { position: relative; min-height: 90vh; background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #ab47bc 100%); display: flex; align-items: center; padding: 80px 0; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 50%), radial-gradient(circle at 20% 50%, rgba(201, 169, 97, 0.1) 0%, transparent 50%); }
.moon-glow { position: absolute; top: 15%; right: 20%; width: 300px; height: 300px; background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 40%, transparent 70%); border-radius: 50%; animation: moonPulse 4s ease-in-out infinite; pointer-events: none; }
@keyframes moonPulse { 0%, 100% { opacity: 0.6; transform: scale(1); } 50% { opacity: 0.8; transform: scale(1.1); } }
.hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.badge-row { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.badge { background: rgba(255,255,255,0.1); backdrop-filter: blur(15px); border: 1px solid rgba(255,255,255,0.2); padding: 8px 18px; border-radius: 50px; font-size: 13px; font-weight: 500; color: white; }
.badge.gold { background: linear-gradient(135deg, var(--gold), var(--accent)); color: var(--primary-dark); border: none; font-weight: 600; }
.hero-title { font-family: 'Playfair Display', serif; font-size: clamp(40px, 5vw, 64px); font-weight: 900; line-height: 1.1; margin-bottom: 20px; color: white; background: linear-gradient(135deg, #ffffff 0%, var(--gold) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: 18px; color: rgba(255,255,255,0.85); margin-bottom: 40px; line-height: 1.7; max-width: 500px; }
.hero-stats { display: flex; gap: 30px; margin-bottom: 40px; }
.stat { text-align: left; }
.stat-value { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; color: var(--gold); margin-bottom: 4px; }
.stat-label { font-size: 12px; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 1px; }
.btn-primary { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(135deg, var(--red), var(--red-dark)); color: white; padding: 18px 40px; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 16px; box-shadow: 0 10px 30px rgba(196, 30, 58, 0.4); transition: all 0.3s; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(196, 30, 58, 0.6); }
.hero-visual { display: flex; justify-content: center; }
.hero-card { 
    width: 100%; 
    max-width: 450px; 
    aspect-ratio: 1; 
    background: rgba(255,255,255,0.05); 
    backdrop-filter: blur(20px); 
    border: 1px solid rgba(255,255,255,0.15); 
    border-radius: 30px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    overflow: hidden;
    padding: 20px;
}
.hero-card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.hero-emoji { font-size: 120px; margin-bottom: 20px; animation: float 3s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
.hero-card-text { font-size: 16px; color: rgba(255,255,255,0.9); font-weight: 500; }

/* ===== ФИЛЬТРЫ ===== */
.filters-section { padding: 80px 0 40px; background: white; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-label { display: inline-block; color: var(--accent); font-size: 14px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 16px; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(32px, 4vw, 48px); color: var(--primary-dark); margin-bottom: 16px; }
.section-divider { width: 60px; height: 3px; background: linear-gradient(90deg, var(--accent), var(--gold)); margin: 0 auto; }
.filters { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.filter-btn { background: white; border: 2px solid #e0e0e0; padding: 12px 24px; border-radius: 50px; font-size: 14px; font-weight: 600; color: var(--text); cursor: pointer; transition: all 0.3s; font-family: 'Inter', sans-serif; }
.filter-btn:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.filter-btn.active { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; border-color: var(--primary); box-shadow: 0 8px 20px rgba(26, 58, 107, 0.3); }

/* ===== КАТАЛОГ ===== */
.catalog-section { padding: 40px 0 80px; background: white; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.product-card { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all 0.4s; border: 1px solid rgba(0,0,0,0.05); display: flex; flex-direction: column; cursor: pointer; text-decoration: none; color: inherit; }
.product-card:hover { transform: translateY(-10px); box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.product-image { aspect-ratio: 1; background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.product-image-placeholder { font-size: 80px; opacity: 0.3; }
.product-image-real { width: 100%; height: 100%; object-fit: contain; padding: 20px; background: white; display: block; }
.product-badges { position: absolute; top: 15px; left: 15px; display: flex; flex-direction: column; gap: 8px; }
.product-badge { background: var(--red); color: white; padding: 5px 12px; border-radius: 20px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.product-badge.limited { background: linear-gradient(135deg, var(--gold), var(--accent)); color: var(--primary-dark); }
.product-badge.stock { background: rgba(0,0,0,0.7); }
.product-info { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
.product-name { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; line-height: 1.2; }
.product-weight { font-size: 14px; color: var(--text-light); margin-bottom: 12px; font-weight: 500; }
.product-desc { font-size: 14px; color: var(--text-light); line-height: 1.6; margin-bottom: 20px; flex-grow: 1; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-meta { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid #eee; }
.product-candies { font-size: 13px; color: var(--text-light); }
.product-candies strong { color: var(--primary); font-size: 16px; }
.product-link { color: var(--gold); font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 5px; }
.no-results { text-align: center; padding: 60px 20px; }
.no-results-icon { font-size: 60px; margin-bottom: 20px; opacity: 0.5; }
.no-results-text { font-size: 18px; color: var(--text-light); }

/* ===== ПРЕИМУЩЕСТВА ===== */
.features-section { padding: 100px 0; background: linear-gradient(135deg, #f8f6f0 0%, #ebe5d5 100%); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.feature-card { text-align: center; padding: 40px 30px; background: white; border-radius: var(--radius); transition: all 0.4s; border: 1px solid rgba(201, 169, 97, 0.1); }
.feature-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); border-color: var(--gold); }
.feature-icon { width: 80px; height: 80px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 36px; }
.feature-title { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--primary-dark); margin-bottom: 12px; }
.feature-text { color: var(--text-light); font-size: 15px; line-height: 1.6; }

/* ===== КОНТАКТЫ ===== */
.contacts-section { padding: 100px 0; background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); color: white; }
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contacts-text { font-size: 16px; color: rgba(255,255,255,0.85); margin: 30px 0; line-height: 1.7; }
.contacts-list { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: center; gap: 15px; }
.contact-icon { 
    font-size: 24px; 
    width: 50px; 
    height: 50px; 
    background: rgba(255,255,255,0.1); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    color: var(--gold); /* Золотой цвет иконок */
    flex-shrink: 0;
}
.contact-icon svg {
    width: 24px;
    height: 24px;
}
.contact-label { font-size: 12px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; }
.contact-value { font-size: 16px; font-weight: 600; color: white; }
.contacts-form { background: rgba(255,255,255,0.05); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1); padding: 40px; border-radius: var(--radius); }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; color: rgba(255,255,255,0.8); margin-bottom: 8px; font-weight: 500; }
.form-input { width: 100%; padding: 14px 18px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 12px; color: white; font-size: 15px; font-family: 'Inter', sans-serif; transition: all 0.3s; }
.form-input::placeholder { color: rgba(255,255,255,0.4); }
.form-input:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,0.15); }
.form-textarea { min-height: 100px; resize: vertical; }
.btn-submit { width: 100%; background: linear-gradient(135deg, var(--gold), var(--accent)); color: var(--primary-dark); padding: 16px; border: none; border-radius: 50px; font-size: 16px; font-weight: 700; cursor: pointer; transition: all 0.3s; font-family: 'Inter', sans-serif; }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4); }

/* ===== ПОДВАЛ ===== */
.footer { background: var(--primary-dark); color: white; padding: 60px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-text { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.6; }
.footer-title { font-size: 16px; font-weight: 700; margin-bottom: 20px; color: var(--gold); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 14px; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { padding: 20px 0; text-align: center; color: rgba(255,255,255,0.5); font-size: 13px; }

/* ===== АДАПТИВ ===== */
@media (max-width: 968px) {
    .header-inner { flex-wrap: wrap; }
    .nav { order: 3; width: 100%; justify-content: center; padding-top: 15px; border-top: 1px solid rgba(255,255,255,0.1); }
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-subtitle { margin: 0 auto 40px; }
    .hero-stats { justify-content: center; }
    .contacts-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .products-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 20px; }
    .footer-inner { grid-template-columns: 1fr; }
    .filters { flex-direction: column; }
    .filter-btn { width: 100%; }
}

/* ===== СТРАНИЦА ТОВАРА ===== */
.product-hero { position: relative; min-height: 80vh; background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #ab47bc 100%); display: flex; align-items: center; padding: 100px 0 60px; overflow: hidden; }
.product-hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.back-link { display: inline-block; color: rgba(255,255,255,0.7); text-decoration: none; font-size: 14px; margin-bottom: 20px; transition: color 0.3s; }
.back-link:hover { color: var(--gold); }
.product-title { font-family: 'Playfair Display', serif; font-size: clamp(36px, 5vw, 56px); font-weight: 900; color: white; margin-bottom: 10px; line-height: 1.1; background: linear-gradient(135deg, #ffffff 0%, var(--gold) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.product-subtitle { font-size: 20px; color: var(--gold); margin-bottom: 25px; font-weight: 600; }
.product-description { font-size: 18px; color: rgba(255,255,255,0.9); line-height: 1.7; margin-bottom: 40px; }
.product-specs-mini { display: flex; gap: 40px; margin-bottom: 40px; padding: 25px; background: rgba(255,255,255,0.05); border-radius: 20px; border: 1px solid rgba(255,255,255,0.1); }
.spec-mini { text-align: center; }
.spec-mini-val { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; color: white; margin-bottom: 5px; }
.spec-mini-lbl { font-size: 12px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; }
.product-visual { display: flex; justify-content: center; }
.product-image-large { width: 100%; max-width: 450px; aspect-ratio: 1; background: rgba(255,255,255,0.95); border-radius: 30px; display: flex; align-items: center; justify-content: center; box-shadow: 0 30px 60px rgba(0,0,0,0.4); position: relative; }
.product-image-placeholder-large { font-size: 150px; opacity: 0.8; }
.composition-section { background: linear-gradient(135deg, #f8f6f0 0%, #ebe5d5 100%); padding: 100px 0; }

/* ===== ЖЕЛЕЗОБЕТОННАЯ ВЕРСТКА СОСТАВА (FLEXBOX) ===== */
.composition-flex-columns { display: flex; gap: 30px; width: 100%; align-items: flex-start; }
.composition-col { flex: 1; min-width: 0; }
.composition-table-clean { width: 100%; border-collapse: collapse; background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); font-size: 13px; table-layout: fixed; }
.composition-table-clean th { background: var(--primary); color: white; padding: 12px 15px; text-align: left; font-weight: 700; text-transform: uppercase; font-size: 11px; letter-spacing: 0.5px; white-space: nowrap; }
.qty-th, .comp-qty { width: 80px !important; text-align: center !important; }
.composition-table-clean td { padding: 8px 15px; border-bottom: 1px solid #f0f0f0; vertical-align: middle; }
.comp-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.comp-qty { font-weight: 700; color: var(--primary); white-space: nowrap; }
.composition-table-clean tbody tr:nth-child(even) { background-color: #fafafa; }

@media (max-width: 1000px) {
    .composition-flex-columns { flex-wrap: wrap; }
    .composition-col { flex: 0 0 calc(50% - 15px); }
}
@media (max-width: 600px) {
    .composition-col { flex: 0 0 100%; }
    .comp-name { white-space: normal; }
}

/* ===== ГАЛЕРЕЯ СО СТРЕЛКАМИ ===== */
.product-gallery-wrapper { position: relative; width: 100%; aspect-ratio: 1 / 1; background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.3); display: flex; align-items: center; justify-content: center; }
.gallery-main-img { width: 100%; height: 100%; object-fit: contain; padding: 20px; transition: transform 0.3s ease; }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0, 0, 0, 0.5); color: white; border: none; width: 40px; height: 40px; border-radius: 50%; font-size: 20px; cursor: pointer; opacity: 0; transition: all 0.3s ease; z-index: 10; display: flex; align-items: center; justify-content: center; }
.gallery-arrow.prev { left: 15px; }
.gallery-arrow.next { right: 15px; }
.product-gallery-wrapper:hover .gallery-arrow { opacity: 1; }
.gallery-arrow:hover { background: var(--gold); color: var(--dark); transform: translateY(-50%) scale(1.1); }
.gallery-dots { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.dot { width: 8px; height: 8px; background: rgba(0,0,0,0.3); border-radius: 50%; cursor: pointer; transition: all 0.3s; }
.dot.active { background: var(--gold); transform: scale(1.3); }
.gallery-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #f0f0f0; color: #999; font-size: 18px; border-radius: 20px; }

/* ===== СТАТЬИ ===== */
.articles-hero { position: relative; min-height: 50vh; background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #ab47bc 100%); display: flex; align-items: center; padding: 100px 0 60px; overflow: hidden; }
.articles-hero-content { position: relative; z-index: 2; text-align: center; }
.articles-hero-title { font-family: 'Playfair Display', serif; font-size: clamp(36px, 5vw, 56px); font-weight: 900; color: white; margin-bottom: 20px; background: linear-gradient(135deg, #ffffff 0%, var(--gold) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.articles-hero-subtitle { font-size: 20px; color: rgba(255,255,255,0.85); max-width: 700px; margin: 0 auto; }
.articles-section { background: white; padding: 80px 0; }
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 30px; }
.article-card { background: white; border-radius: 20px; padding: 30px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); transition: all 0.4s; text-decoration: none; color: inherit; display: flex; flex-direction: column; border: 1px solid rgba(0,0,0,0.05); }
.article-card:hover { transform: translateY(-10px); box-shadow: 0 20px 60px rgba(0,0,0,0.15); border-color: var(--gold); }
.article-category { display: inline-block; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; padding: 6px 16px; border-radius: 20px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; align-self: flex-start; }
.article-title { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; color: var(--primary-dark); margin-bottom: 15px; line-height: 1.3; }
.article-preview { font-size: 15px; color: var(--text-light); line-height: 1.6; margin-bottom: 25px; flex-grow: 1; }
.article-meta { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; border-top: 1px solid #eee; }
.article-date { font-size: 13px; color: var(--text-light); }
.article-read { font-size: 14px; color: var(--gold); font-weight: 600; }
.article-hero { position: relative; min-height: 60vh; background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #ab47bc 100%); display: flex; align-items: center; padding: 100px 0 60px; overflow: hidden; }
.article-hero-content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; text-align: center; }
.article-category-badge { display: inline-block; background: linear-gradient(135deg, var(--gold), var(--accent)); color: var(--primary-dark); padding: 8px 20px; border-radius: 20px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 25px; }
.article-hero-title { font-family: 'Playfair Display', serif; font-size: clamp(32px, 5vw, 48px); font-weight: 900; color: white; margin-bottom: 20px; line-height: 1.2; }
.article-content-section { background: white; padding: 80px 0; }
.article-content { max-width: 800px; margin: 0 auto; font-size: 17px; line-height: 1.8; color: var(--text); }
.article-content h2 { font-family: 'Playfair Display', serif; font-size: 32px; color: var(--primary-dark); margin: 40px 0 20px; }
.article-content h3 { font-family: 'Playfair Display', serif; font-size: 24px; color: var(--primary); margin: 30px 0 15px; }
.article-content p { margin-bottom: 20px; }
.article-content ul { margin: 20px 0; padding-left: 30px; }
.article-content li { margin-bottom: 12px; line-height: 1.7; }
.article-content a { color: var(--primary); text-decoration: underline; font-weight: 600; }
.article-content a:hover { color: var(--gold); }
.article-cta { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); padding: 80px 0; text-align: center; color: white; }
.article-cta-content h2 { font-family: 'Playfair Display', serif; font-size: 36px; margin-bottom: 15px; }
.article-cta-content p { font-size: 18px; margin-bottom: 30px; opacity: 0.9; }
.article-cta-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.btn-secondary { display: inline-flex; align-items: center; gap: 10px; background: transparent; color: white; padding: 18px 40px; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 16px; border: 2px solid white; transition: all 0.3s; }
.btn-secondary:hover { background: white; color: var(--primary); }
@media (max-width: 768px) {
    .articles-grid { grid-template-columns: 1fr; }
    .article-cta-buttons { flex-direction: column; }
    .btn-secondary { width: 100%; justify-content: center; }
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ===== */
.product-price { font-size: 20px; font-weight: 800; color: var(--red); margin-bottom: 8px; }
.form-note { text-align: center; font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 10px; }
.btn-outline { background: transparent !important; border: 1px solid white !important; box-shadow: none !important; }
.btn-outline:hover { background: white !important; color: var(--primary) !important; }
.product-image-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); color: #6c757d; font-size: 14px; text-align: center; padding: 20px; border-radius: 20px; box-sizing: border-box; position: absolute; top: 0; left: 0; }
.product-image { position: relative; aspect-ratio: 1; overflow: hidden; }
/* Исправление цвета заголовков на странице товара */
.specs-section h2, 
.specs-title {
    color: var(--primary-dark) !important; /* Темно-фиолетовый, как "Мишаня" */
    font-family: 'Playfair Display', serif;
}
/* ===== СТИЛИ ДЛЯ ХАРАКТЕРИСТИК И ДОСТАВКИ ===== */
.specs-container {
    background: transparent; /* Фон прозрачный, так как секция уже на светлом фоне */
    padding-top: 0;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spec-label {
    font-size: 13px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.spec-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark); /* Темно-фиолетовый текст значений */
}

/* Блок доставки */
.delivery-block {
    background: linear-gradient(135deg, #fffdf5 0%, #ffffff 100%);
    border: 2px solid var(--gold);
    border-radius: 16px;
    padding: 30px;
    position: relative;
}

.delivery-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.delivery-desc {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Выпадающий список */
.city-select {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: white;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e24aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    font-family: 'Inter', sans-serif;
}

.city-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(142, 36, 170, 0.1);
}

@media (max-width: 768px) {
    .specs-grid { grid-template-columns: 1fr 1fr; padding: 20px; }
    .delivery-block { padding: 20px; }
    .delivery-title { font-size: 20px; }
}
/* ===== НОВЫЙ БЛОК CTA И МЕНЕДЖЕРОВ ===== */
.new-cta-block {
    margin-top: 40px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-radius: 20px;
    padding: 40px;
    color: white;
    box-shadow: 0 10px 40px rgba(106, 27, 154, 0.3);
}

.cta-text-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--gold);
}

.b2b-note {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid var(--gold);
}

/* Сетка менеджеров */
.managers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.manager-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
}

.manager-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
}

.manager-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--gold);
}

.manager-route {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 15px;
    min-height: 40px;
}

.manager-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-call, .btn-max {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-call {
    background: var(--gold);
    color: var(--primary-dark);
}

.btn-call:hover {
    background: #ffe066;
    transform: scale(1.02);
}

.btn-max {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    color: white;
}

.btn-max:hover {
    background: white;
    color: var(--primary);
    border-color: white;
}

@media (max-width: 768px) {
    .new-cta-block { padding: 20px; }
    .cta-text-content h3 { font-size: 22px; }
    .managers-grid { grid-template-columns: 1fr; }
}
/* Стили для выпадающего списка городов */
.suggestion-item {
    padding: 12px 18px;
    cursor: pointer;
    font-size: 15px;
    color: var(--text);
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}
.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover { background: #f8f6f0; color: var(--primary-dark); }
.btn-submit.disabled { 
    background: #ccc !important; 
    cursor: not-allowed !important; 
    transform: none !important; 
    box-shadow: none !important; 
}
.suggestion-item { padding: 12px 18px; cursor: pointer; font-size: 15px; color: var(--text); border-bottom: 1px solid #f0f0f0; transition: background 0.2s; }
.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover { background: #f8f6f0; color: var(--primary-dark); }
.btn-submit.disabled { background: #ccc !important; cursor: not-allowed !important; transform: none !important; box-shadow: none !important; }
/* ===== CTA БЛОК ПОСЛЕ СТАТЬИ ===== */
.article-cta-block {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.article-cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 15px;
    color: white;
}

.article-cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

.article-cta-content .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.4);
    transition: all 0.3s;
}

.article-cta-content .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(196, 30, 58, 0.6);
}

@media (max-width: 768px) {
    .article-cta-block {
        padding: 60px 20px;
    }
    .article-cta-content h2 {
        font-size: 28px;
    }
    .article-cta-content p {
        font-size: 16px;
    }
}
/* ===== Стили для поиска города ===== */
.city-search-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.city-search-input {
    width: 100%;
    padding: 22px 25px;  /* УВЕЛИЧЕНО */
    border: 2px solid var(--gold);
    border-radius: 20px;  /* БОЛЕЕ ОКРУГЛЫЕ */
    font-size: 18px;  /* УВЕЛИЧЕНО */
    font-family: 'Inter', sans-serif;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text);
    outline: none;
    transition: all 0.3s ease;
}

.city-search-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(253, 216, 53, 0.2);
}

.city-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 100;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    margin-top: 5px;
}

.city-search-item {
    padding: 15px 25px;  /* УВЕЛИЧЕНО */
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 16px;
}

.city-search-item:hover {
    background: rgba(106, 27, 154, 0.08);  /* УСИЛЕН ЭФФЕКТ */
    cursor: pointer;
    padding-left: 30px;  /* СДВИГ ВПРАВО ПРИ НАВЕДЕНИИ */
}

.city-search-item:last-child {
    border-bottom: none;
}

/* ===== Карточка менеджера ===== */
.manager-display {
    margin-bottom: 25px;
}

.manager-info-card {
    background: linear-gradient(135deg, rgba(106, 27, 154, 0.1), rgba(253, 216, 53, 0.1));
    border: 2px solid var(--gold);
    border-radius: 16px;
    padding: 20px;
}

.manager-info-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.manager-icon {
    font-size: 40px;
}

.manager-info-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.manager-info-route {
    font-size: 14px;
    color: var(--text);
    opacity: 0.8;
}

.manager-info-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.manager-action-btn {
    flex: 1;
    min-width: 140px;
    padding: 12px 20px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.call-btn {
    background: var(--primary);
    color: white;
}

.call-btn:hover {
    background: var(--primary-dark);
}

.max-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.max-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* ===== Сообщение об отсутствии доставки ===== */
.no-delivery-message {
    margin-bottom: 25px;
}

.warning-box {
    background: rgba(255, 193, 7, 0.15);
    border: 2px solid #ffc107;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.warning-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.warning-text {
    flex: 1;
}

.warning-text strong {
    display: block;
    margin-bottom: 10px;
    color: var(--primary-dark);
    font-size: 16px;
}

.coordinator-contact {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed rgba(0, 0, 0, 0.2);
}

.coordinator-contact div {
    margin-bottom: 8px;
    color: var(--text);
}

.coordinator-phone,
.coordinator-max {
    display: inline-block;
    margin: 5px 10px 5px 0;
    padding: 8px 15px;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.coordinator-phone:hover,
.coordinator-max:hover {
    background: var(--gold);
    transform: translateY(-2px);
}

/* ===== Мобильная адаптация ===== */
@media (max-width: 768px) {
    .product-hero-content {
        flex-direction: column;
    }
    
    .product-visual {
        margin-bottom: 30px;
    }
    
    .product-image-large {
        max-width: 100%;
    }
    
    .product-image-placeholder {
        min-height: 250px;
    }
    
    .product-info-large {
        width: 100%;
    }
    
    .product-title {
        font-size: 28px;
    }
    
    .product-subtitle {
        font-size: 18px;
    }
    
    .product-specs-mini {
        flex-wrap: wrap;
    }
    
    .spec-mini {
        flex: 1 1 40%;
        min-width: 120px;
    }
    
    .managers-grid {
        grid-template-columns: 1fr;
    }
    
    .manager-info-actions {
        flex-direction: column;
    }
    
    .manager-action-btn {
        width: 100%;
    }
    
    .warning-box {
        flex-direction: column;
    }
    
    .city-search-input {
        font-size: 16px; /* Предотвращает зум на iOS */
    }
}

@media (max-width: 480px) {
    .product-title {
        font-size: 24px;
    }
    
    .product-subtitle {
        font-size: 16px;
    }
    
    .product-badges {
        flex-direction: column;
        gap: 8px;
    }
    
    .badge {
        padding: 6px 12px;
        font-size: 12px;
    }
}