/* ============================================================
   PARFUM BAR — Light theme + Typography upgrade
   Loads after the per-page <style>, so these rules win.
   ============================================================ */

/* ---------- Body font: Manrope ---------- */
html, body {
  font-family: 'Manrope', sans-serif !important;
  font-weight: 400;
  color: #1a1a1a;
  background: #ffffff;
}

/* Cormorant Garamond for elegant headings */
h1, h2, h3,
.hero-title, .hero-headline,
.product-name, .product-title,
.price, .price-value,
.brand-name, .feature-title,
.boutique-name,
em, .accent-italic {
  font-family: 'Cormorant Garamond', serif;
}

/* ---------- Announcement bar: black on top, white text ---------- */
.announce {
  background: #0a0a0a !important;
  color: #ffffff !important;
  font-size: 12px !important;
  letter-spacing: 0.22em !important;
  font-weight: 500;
}
.announce-arrow { color: #ffffff !important; }

/* ---------- NAV: semi-transparent white with blur ---------- */
nav {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}
nav.hovered {
  background: #ffffff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.nav-link, .nav-link-item, .nav a {
  color: #1a1a1a !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.18em;
}
.nav-link:hover, .nav-link-item:hover { color: #8a7355 !important; }

.nav-icon-btn, .nav-icon-btn svg, .nav-icon-btn path { color: #1a1a1a !important; stroke: #1a1a1a !important; }

/* ---------- LOGO: dark italic Cormorant with gold accent ---------- */
.logo, .nav-logo, .brand-logo, a.logo, [class*="logo"] {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 26px !important;
  font-weight: 400 !important;
  font-style: italic;
  color: #1a1a1a !important;
  letter-spacing: 0.03em;
}
.logo em, .logo-accent, .nav-logo em { color: #8a7355 !important; font-style: italic; }

/* ---------- Sections: white / cream backgrounds ---------- */
body, main, section, footer { background-color: transparent; }
.section-cream, .feature-panel, .boutique-card, .messenger-cta, footer {
  background-color: #faf8f3 !important;
  color: #1a1a1a !important;
}
.section-cream-deep { background-color: #f5efe4 !important; color: #1a1a1a; }

/* ---------- Product features panels (Sauvage / Stronger / Hermès) ---------- */
.feature, .product-feature, .feature-block {
  background: #faf8f3 !important;
  color: #1a1a1a !important;
  border-radius: 18px;
}
.feature .feature-title,
.product-feature h2,
.product-feature h3 {
  font-family: 'Cormorant Garamond', serif !important;
  font-style: italic;
  color: #1a1a1a !important;
}
.feature-accent { color: #8a7355 !important; }

/* ---------- Brand ticker: white gradient with gold dividers ---------- */
.ticker, .brand-ticker, .brands-strip {
  background: linear-gradient(90deg, #ffffff 0%, #faf8f3 50%, #ffffff 100%) !important;
  color: #1a1a1a !important;
}
.ticker .sep, .brand-ticker .divider { color: #8a7355 !important; }

/* ---------- Boutiques: cream cards with lift hover ---------- */
.boutique, .boutique-card, .store-card {
  background: #faf8f3 !important;
  color: #1a1a1a !important;
  border-radius: 20px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.boutique:hover, .boutique-card:hover, .store-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(138, 115, 85, 0.18);
}

/* ---------- Messenger CTA: soft cream gradient ---------- */
.messenger-cta, .messengers, .cta-messengers {
  background: linear-gradient(135deg, #faf8f3 0%, #f5efe4 100%) !important;
  color: #1a1a1a !important;
}

/* ---------- Footer: cream bg, dark text, gold headings ---------- */
footer {
  background: #faf8f3 !important;
  color: #1a1a1a !important;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
footer h3, footer h4, footer .col-title, footer .footer-title {
  color: #8a7355 !important;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
}
footer a, footer li a {
  color: #4a4a4a !important;
  font-size: 15px !important;
}
footer a:hover { color: #8a7355 !important; }

/* ---------- Hero video overlay: lighter ---------- */
.hero-overlay, .video-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.32) 100%) !important;
}

/* ============================================================
   TYPOGRAPHY UPGRADE
   ============================================================ */

/* Logo */
.logo, .nav-logo { font-size: 26px !important; }

/* Menu */
.nav-link, .nav-link-item, nav a { font-size: 13px !important; font-weight: 500 !important; }

/* Announcement */
.announce, .announce-msg { font-size: 12px !important; }

/* Product names */
.product-name, .product-title, .feature-title {
  font-size: 19px !important;
  font-family: 'Cormorant Garamond', serif !important;
}

/* Product descriptions */
.product-description, .feature-desc, .feature-text, p.desc {
  font-size: 17px !important;
  line-height: 1.9;
  font-family: 'Manrope', sans-serif;
}

/* Meta values (prices etc.) */
.meta-value, .price, .price-value, .product-price {
  font-size: 22px !important;
  font-family: 'Cormorant Garamond', serif !important;
}

/* Footer links */
footer a, footer li a { font-size: 15px !important; }

/* Small labels (СЕРВИС, КАТАЛОГ etc.) */
.label, .small-label, .col-title, .footer-title,
.section-eyebrow, .eyebrow, h4.uppercase {
  font-size: 12px !important;
  letter-spacing: 0.24em !important;
  font-weight: 600;
}

/* ============================================================
   SECTION BACKGROUNDS — force light on home page sections
   Inline dark styles get overridden with !important.
   ============================================================ */

/* Brand ticker */
.brand-ticker-section {
  background: #ffffff !important;
  border-top: 1px solid rgba(0,0,0,0.06) !important;
  border-bottom: 1px solid rgba(0,0,0,0.06) !important;
}
.brand-ticker-section::before { background: #8a7355 !important; opacity: 0.6 !important; }
.brand-ticker-label {
  color: #6b5d48 !important;
  font-family: 'Manrope', sans-serif !important;
  font-weight: 600;
  letter-spacing: 0.28em;
}
.brand-ticker-label::before,
.brand-ticker-label::after { background: rgba(138,115,85,0.45) !important; }
.brand-ticker::before { background: linear-gradient(to right, #ffffff 0%, rgba(255,255,255,0.85) 50%, transparent 100%) !important; }
.brand-ticker::after  { background: linear-gradient(to left,  #ffffff 0%, rgba(255,255,255,0.85) 50%, transparent 100%) !important; }
.brand-item span { color: #1a1a1a !important; }
.brand-item:hover span { color: #8a7355 !important; text-shadow: 0 0 28px rgba(138,115,85,0.25) !important; }
.brand-item::after { color: #8a7355 !important; opacity: 0.55 !important; }

/* Boutiques section */
#boutiques {
  background: #faf8f3 !important;
  border-top: 1px solid rgba(0,0,0,0.06) !important;
}
#boutiques h2,
#boutiques h2 em { color: #1a1a1a !important; }
#boutiques h2 em { color: #8a7355 !important; }
#boutiques > div > div:first-child > div:first-child { color: #6b5d48 !important; }
#boutiques > div > div:first-child > div:first-child > span { background: #8a7355 !important; opacity: 0.6 !important; }

/* Boutique cards */
#boutiques [style*="border:1px solid rgba(232,228,223,0.1)"] {
  border: 1px solid rgba(0,0,0,0.08) !important;
  background: #ffffff !important;
  border-radius: 18px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
#boutiques [style*="border:1px solid rgba(232,228,223,0.1)"]:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(138, 115, 85, 0.18);
}
/* Inside the cards: re-color labels, headings, addresses, map link */
#boutiques [style*="color:#c8bfb0"],
#boutiques [style*="color: #c8bfb0"] { color: #8a7355 !important; opacity: 1 !important; }
#boutiques [style*="color:#e8e4df"],
#boutiques [style*="color: #e8e4df"] { color: #1a1a1a !important; }
#boutiques [style*="color:rgba(232,228,223"] { color: #4a4a4a !important; }

/* Yandex map wrapper border */
#boutiques [style*="border:1px solid rgba(232,228,223,0.1)"][style*="width:100%"] {
  border: 1px solid rgba(0,0,0,0.08) !important;
  background: #ffffff !important;
  border-radius: 12px;
}

/* Messenger CTA section (the section right before <footer>) */
section[style*="background:#0d1117"],
section[style*="background: #0d1117"] {
  background: linear-gradient(135deg, #faf8f3 0%, #f5efe4 100%) !important;
  border-top: 1px solid rgba(0,0,0,0.06) !important;
  border-bottom: 1px solid rgba(0,0,0,0.06) !important;
}
section[style*="background:#0d1117"] h2,
section[style*="background:#0d1117"] h2 em { color: #1a1a1a !important; }
section[style*="background:#0d1117"] h2 em { color: #8a7355 !important; }
section[style*="background:#0d1117"] [style*="color:rgba(232,228,223"],
section[style*="background:#0d1117"] [style*="color: rgba(232,228,223"] { color: #4a4a4a !important; }

/* ============================================================
   FOOTER — clean light design per screenshot reference
   ============================================================ */
footer {
  background: #ffffff !important;
  color: #1a1a1a !important;
  font-family: 'Manrope', sans-serif !important;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 56px 64px 32px !important;
}
.f-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 48px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.f-head-title {
  font-family: 'Manrope', sans-serif !important;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.15;
  max-width: 480px;
  letter-spacing: -0.01em;
}
.f-back-top {
  font-family: 'Manrope', sans-serif !important;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  letter-spacing: 0.04em;
  white-space: nowrap;
  border-bottom: 1px solid #1a1a1a;
  padding-bottom: 2px;
}
.f-back-top:hover { color: #8a7355; border-bottom-color: #8a7355; }

.f-top {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr 1fr !important;
  gap: 32px !important;
  padding: 0 !important;
  border-bottom: 1px solid rgba(0,0,0,0.08) !important;
  padding-bottom: 40px !important;
  margin-bottom: 28px;
}
.f-col { padding: 0 !important; }
.f-col-title {
  font-family: 'Manrope', sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  margin-bottom: 18px !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
}
.f-city, .f-city-name {
  font-family: 'Manrope', sans-serif !important;
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.f-city-phone {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #2a2a2a;
  display: block;
  margin-bottom: 6px;
}
.f-city-addr {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #2a2a2a;
  line-height: 1.55;
}
.f-links { list-style: none !important; display: flex !important; flex-direction: column !important; gap: 10px !important; }
.f-links a {
  font-family: 'Manrope', sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #2a2a2a !important;
  letter-spacing: 0 !important;
  transition: color 0.2s !important;
}
.f-links a:hover { color: #8a7355 !important; }

.f-bottom {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 18px 0 0 !important;
  margin-top: 8px;
}
.f-copy {
  font-family: 'Manrope', sans-serif !important;
  font-size: 12px !important;
  color: #6a6a6a !important;
  letter-spacing: 0.01em !important;
  font-weight: 400;
}
.f-privacy {
  font-family: 'Manrope', sans-serif !important;
  font-size: 12px;
  color: #6a6a6a;
  letter-spacing: 0.01em;
  font-weight: 400;
}
.f-privacy:hover { color: #1a1a1a; }

/* Hide the legacy newsletter row + wordmark + tagline (kept for safety if HTML
   includes them on other pages) */
.f-nl-row, .f-nl-note, .f-wordmark, .f-tagline, .f-tagline-col { display: none !important; }
.f-socials { display: flex; gap: 14px; align-items: center; }

@media (max-width: 900px) {
  footer { padding: 40px 24px 24px !important; }
  .f-top { grid-template-columns: 1fr 1fr !important; gap: 28px !important; }
  .f-head { flex-direction: column; gap: 18px; padding-bottom: 28px; margin-bottom: 28px; }
  .f-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ============================================================
   PRODUCT PAGES — Fragrance detail typography
   Targets: ve_hero.html, swi.html, terre.html
   ============================================================ */

/* — Section label ("ПИРАМИДА", "ХАРАКТЕРИСТИКИ", "О АРОМАТЕ") — */
.sec-label {
  font-family: 'Manrope', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.36em !important;
  text-transform: uppercase !important;
  color: var(--accent, #8a7355) !important;
  opacity: 1 !important;
  margin-bottom: 16px !important;
  gap: 16px !important;
}
.sec-label::before {
  width: 36px !important;
  height: 1px !important;
  background: var(--accent, #8a7355) !important;
  opacity: 0.65 !important;
}

/* — Meta rows: "Тип аромата" / "Направление" / "Стойкость" keys — */
.meta-key {
  font-family: 'Manrope', sans-serif !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.30em !important;
  text-transform: uppercase !important;
  color: var(--text-muted, rgba(26,26,26,0.50)) !important;
  margin-bottom: 8px !important;
}

/* — Meta values: "Парфюмерная вода (EDP)" / "Свежий, древесный, пряный" — */
.meta-val {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 26px !important;
  font-weight: 300 !important;
  font-style: italic !important;
  line-height: 1.2 !important;
  color: var(--text, #1a1a1a) !important;
  letter-spacing: 0.01em !important;
}
.meta-val em {
  font-style: italic !important;
  color: var(--accent, #8a7355) !important;
}

/* — Spacing between meta items — */
.desc-meta { gap: 36px !important; }

/* ── Notes pyramid: "Верхние ноты" / "Бергамот" / descriptions ── */

/* Tier label: "Верхние ноты", "Ноты сердца", "Базовые ноты" */
.note-tier {
  font-family: 'Manrope', sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.32em !important;
  text-transform: uppercase !important;
  color: var(--accent, #8a7355) !important;
  opacity: 1 !important;
  margin-bottom: 24px !important;
}

/* Note name: "Бергамот", "Лаванда", "Амброксан" */
.note-name {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 30px !important;
  font-weight: 300 !important;
  font-style: italic !important;
  line-height: 1.15 !important;
  margin-bottom: 10px !important;
  color: var(--text, #1a1a1a) !important;
}
.note-name em {
  font-style: italic !important;
  color: var(--accent, #8a7355) !important;
}

/* Note description */
.note-desc {
  font-family: 'Manrope', sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.85 !important;
  color: var(--text-muted, rgba(26,26,26,0.60)) !important;
}

/* Note column padding */
.note-col { padding: 52px 40px !important; }

/* Notes grid border on light theme */
.notes-grid {
  border: 1px solid rgba(0,0,0,0.08) !important;
  border-radius: 4px;
  overflow: hidden;
}
.note-col { border-right: 1px solid rgba(0,0,0,0.08) !important; }

/* ── Details strip: "Сезон", "Аудитория" (bottom strip) ── */
.detail-key {
  font-family: 'Manrope', sans-serif !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.30em !important;
  text-transform: uppercase !important;
  color: var(--text-muted, rgba(26,26,26,0.50)) !important;
}
.detail-val {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 26px !important;
  font-weight: 300 !important;
  font-style: italic !important;
  color: var(--text, #1a1a1a) !important;
  line-height: 1.2 !important;
}
.detail-val em { color: var(--accent, #8a7355) !important; }

/* Detail item spacing */
.detail-item { padding: 48px 36px !important; gap: 12px !important; }
.details-strip { border: 1px solid rgba(0,0,0,0.08) !important; border-radius: 4px; overflow: hidden; }
.detail-item { border-right: 1px solid rgba(0,0,0,0.08) !important; }

/* Main description body */
.desc-body {
  font-family: 'Manrope', sans-serif !important;
  font-size: 16px !important;
  line-height: 2 !important;
  color: var(--text-dim, rgba(26,26,26,0.78)) !important;
  letter-spacing: 0.015em !important;
}

/* ---------- Adaptive (mobile) ---------- */
@media (max-width: 768px) {
  .logo, .nav-logo { font-size: 24px !important; }
  .nav-link, .nav-link-item, nav a { font-size: 12px !important; }
  .product-name, .product-title { font-size: 17px !important; }
  .product-description, .feature-desc { font-size: 15px !important; line-height: 1.8; }
  .meta-value, .price { font-size: 20px !important; }
  footer a, footer li a { font-size: 14px !important; }
  .announce, .announce-msg { font-size: 11px !important; letter-spacing: 0.18em !important; }
  .label, .small-label { font-size: 11px !important; }

  /* Product detail pages mobile */
  .meta-val { font-size: 22px !important; }
  .note-name { font-size: 26px !important; }
  .detail-val { font-size: 22px !important; }
  .note-col { padding: 32px 20px !important; }
  .detail-item { padding: 32px 20px !important; }
  .desc-body { font-size: 15px !important; }
}
