/* ==========================================================================
   DIVINA WEDDING — HAUTE COUTURE EDITORIAL TYPOGRAPHY SYSTEM
   Headings: Cormorant Garamond (Editorial Serif)
   Body & UI: Manrope (Modern, Legible Sans-Serif)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&family=Manrope:wght@300;400;500;600;700&display=swap');

/* Global Reset for Hyperlinks & Selection — Zero Browser Defaults */
a:not(.btn):not([class*="btn-"]):not([class*="leaflet"]), a:visited:not(.btn):not([class*="btn-"]):not([class*="leaflet"]) {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease, border-color 0.25s ease;
}

a:hover {
  color: var(--color-gold, #C2A478);
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-gold, #C2A478);
  outline-offset: 2px;
}

::selection {
  background-color: var(--color-champagne, #EDE5DA);
  color: var(--color-espresso, #1E1A17);
}

/* Base Body Typography */
body {
  font-family: var(--font-sans, 'Manrope', sans-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-espresso, #1E1A17);
  background-color: var(--color-ivory, #FDFBF8);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Headings System — Cormorant Garamond */
h1, h2, h3, h4, h5, h6,
.font-serif,
.editorial-heading {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-weight: 400;
  color: var(--color-espresso, #1E1A17);
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-wrap: balance;
}

/* Hero H1: 52px – 68px */
.hero-title,
h1.hero-title {
  font-size: clamp(3.25rem, 5.2vw, 4.25rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-md, 1.25rem);
}

/* Page Title H1: 42px – 54px */
h1,
.page-title {
  font-size: clamp(2.6rem, 4.2vw, 3.4rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-sm, 0.75rem);
}

/* Section Title H2: 32px – 42px */
h2,
.section-title {
  font-size: clamp(2rem, 3.4vw, 2.65rem);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: 0.02em;
  margin-bottom: 0.85rem;
}

/* Product & Article Titles: 22px – 28px */
h3,
.product-title,
.product-card-title {
  font-size: clamp(1.38rem, 2.2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: 0.01em;
  margin-bottom: 0.4rem;
}

.product-card-title a,
.product-card-title a:visited {
  color: var(--color-espresso, #1E1A17);
  text-decoration: none;
  transition: color 0.25s ease;
}

.product-card-title a:hover {
  color: var(--color-gold, #C2A478);
  text-decoration: none;
}

/* Card & Widget Headings: 19px – 22px */
h4,
.card-title,
.widget-title {
  font-size: clamp(1.18rem, 1.8vw, 1.38rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

h5 {
  font-size: 1.05rem;
  font-weight: 600;
}

/* Eyebrows & Category Badges: 11px – 12px */
.section-eyebrow,
.hero-eyebrow,
.eyebrow,
.category-eyebrow {
  display: block;
  font-family: var(--font-sans, 'Manrope', sans-serif);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-gold, #C2A478);
  margin-bottom: 0.75rem;
}

/* Subtitles & Lead Paragraphs */
.section-subtitle,
.page-subtitle {
  font-family: var(--font-sans, 'Manrope', sans-serif);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--color-mocha, #5E5047);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section-lead,
p.lead {
  font-family: var(--font-sans, 'Manrope', sans-serif);
  font-size: 1.08rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-mocha, #5E5047);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Body Paragraphs & Utility Text: 15px – 17px */
p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.text-small,
small,
.caption {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-mocha, #5E5047);
}

.text-micro {
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  color: var(--color-mocha, #5E5047);
}

/* Button & Action Typography */
.btn,
button.btn,
a.btn {
  font-family: var(--font-sans, 'Manrope', sans-serif);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}

/* Text Colors */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-light { color: #FFFFFF !important; }
.text-gold { color: var(--color-gold, #C2A478) !important; }
.text-espresso { color: var(--color-espresso, #1E1A17) !important; }
.text-mocha { color: var(--color-mocha, #5E5047) !important; }
.text-muted { color: #8C7F77 !important; }

/* Subtle Gold Divider */
.divider {
  width: 44px;
  height: 1px;
  background-color: var(--color-gold, #C2A478);
  margin: 1.5rem auto;
}
