/*
 Theme Name:   Cosmetic Dentistry Dubai Child
 Theme URI:    https://cosmeticdentistrydubai.ae
 Description:  Child theme for cosmeticdentistrydubai.ae — Premium Cosmetic Dental Guide Dubai
 Author:       cosmeticdentistrydubai.ae
 Template:     generatepress
 Version:      2.0.0
*/

/* ═══════════════════════════════════════════════════════════
   BRAND TOKENS
   ═══════════════════════════════════════════════════════════ */
:root {
  /* Rose Primary */
  --rose-900: #2D0D12;
  --rose-800: #4A1E24;
  --rose-700: #6E2C35;
  --rose-600: #8F3D47;
  --rose-500: #C26878;
  --rose-400: #D48A97;
  --rose-300: #E4ADB8;
  --rose-200: #F0CDD3;
  --rose-100: #F8E8EB;
  --rose-50:  #FDF4F5;

  /* Champagne Gold */
  --gold-700: #7A5A10;
  --gold-600: #9E7618;
  --gold-500: #C49A2E;
  --gold-400: #D4B050;
  --gold-300: #E3C878;
  --gold-200: #EDD9A8;
  --gold-100: #F7EDD0;
  --gold-50:  #FEFBF3;

  /* Neutrals */
  --ink:      #1C1010;
  --ink-80:   #2E1E1E;
  --ink-60:   #5C4040;
  --ink-40:   #8C6868;
  --ink-20:   #C4A8A8;
  --ink-10:   #E8D8D8;

  /* Semantic */
  --bg-page:     #FDFBFB;
  --bg-section:  #F8F2F2;
  --bg-card:     #FFFFFF;
  --bg-dark:     #2D0D12;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Montserrat', system-ui, sans-serif;

  /* Radii */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;

  /* Shadows */
  --sh-sm:   0 2px 12px rgba(28,12,14,.07);
  --sh-md:   0 8px 36px rgba(28,12,14,.11);
  --sh-lg:   0 24px 64px rgba(28,12,14,.16);
  --sh-rose: 0 8px 32px rgba(194,104,120,.25);
  --sh-gold: 0 8px 28px rgba(196,154,46,.22);

  /* Layout */
  --max-w: 1240px;
  --gutter: clamp(1rem, 4vw, 3rem);
}

/* ═══════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-page);
  color: var(--ink-60);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink-80);
  line-height: 1.2;
  font-weight: 600;
  margin-bottom: .75rem;
}
h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 700; letter-spacing: .02em; }
p  { margin-bottom: 1.25rem; color: var(--ink-60); }
a  { color: var(--rose-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--rose-500); }
strong { color: var(--ink-80); font-weight: 700; }
ul, ol { padding-left: 1.5rem; margin-bottom: 1.25rem; color: var(--ink-60); }
li { margin-bottom: .4rem; }
table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: .95rem; }
th { background: var(--rose-800); color: #fff; padding: .75rem 1rem; text-align: left; font-family: var(--font-body); font-weight: 600; letter-spacing: .03em; }
td { padding: .65rem 1rem; border-bottom: 1px solid var(--ink-10); color: var(--ink-60); }
tr:nth-child(even) td { background: var(--rose-50); }
tr:hover td { background: var(--gold-50); }

/* ═══════════════════════════════════════════════════════════
   FULL-WIDTH LAYOUT — override GP container boxing
   ═══════════════════════════════════════════════════════════ */
.site-grid,
.grid-container,
.site.grid-container,
.grid-container.grid-parent { max-width: 100% !important; padding: 0 !important; }

/* GP one-container layout: remove white box background */
.one-container .container,
.one-container .site.container,
.site.grid-container.container {
  background: transparent !important;
  max-width: 100% !important;
  padding: 0 !important;
}

.content-area,
.site-main {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  padding: 0 !important;
}

.inside-article,
.entry-content,
.page .entry-content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem var(--gutter);
}

/* Remove sidebar entirely */
.widget-area,
.sidebar,
aside.sidebar,
#right-sidebar,
.inside-right-sidebar,
.right-sidebar { display: none !important; }

/* ═══════════════════════════════════════════════════════════
   HEADER & NAVIGATION
   ═══════════════════════════════════════════════════════════ */
#masthead,
.site-header {
  background: var(--rose-800) !important;
  border-bottom: 1px solid rgba(196,154,46,.2) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 200 !important;
  box-shadow: 0 2px 20px rgba(45,13,18,.3) !important;
}

.inside-header.grid-container {
  max-width: var(--max-w) !important;
  margin: 0 auto !important;
  padding: 0 var(--gutter) !important;
  min-height: 70px !important;
  display: flex !important;
  align-items: center !important;
  gap: 2rem !important;
}

/* Logo / site title */
.site-branding .main-title,
p.main-title { margin: 0 !important; }

.main-title a,
.main-title a:hover,
.site-branding a,
.site-branding a:hover {
  font-family: var(--font-display) !important;
  font-size: 1.15rem !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  letter-spacing: .02em !important;
}

.main-title a::before {
  content: '✦';
  color: var(--gold-300);
  margin-right: .4rem;
  font-size: .8em;
}

.site-description { display: none !important; }

/* Nav links */
.main-navigation,
.main-navigation ul ul {
  background: var(--rose-800) !important;
}

.main-navigation .main-nav ul li a,
.main-navigation .main-nav ul > li > a,
.main-navigation .menu-toggle,
.main-navigation .menu-bar-items,
#site-navigation a {
  font-family: var(--font-body) !important;
  font-size: .72rem !important;
  font-weight: 600 !important;
  color: rgba(255,255,255,.88) !important;
  letter-spacing: .07em !important;
  text-transform: uppercase !important;
  padding: .5rem .9rem !important;
  transition: color .2s !important;
}

.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li.sfHover > a,
.main-navigation .main-nav ul li[class*="current-menu"] > a {
  color: var(--gold-300) !important;
}

/* Dropdown */
.main-navigation .main-nav ul ul {
  background: var(--rose-900) !important;
  border: 1px solid rgba(196,154,46,.15) !important;
  border-radius: var(--r-md) !important;
  box-shadow: 0 16px 48px rgba(0,0,0,.4) !important;
  min-width: 220px !important;
}
.main-navigation .main-nav ul ul li a {
  text-transform: none !important;
  font-size: .82rem !important;
  border-bottom: 1px solid rgba(196,154,46,.06) !important;
}

/* Mobile hamburger */
button.menu-toggle,
.menu-toggle {
  background: transparent !important;
  border: 1.5px solid rgba(227,200,120,.4) !important;
  color: var(--gold-200) !important;
  border-radius: var(--r-sm) !important;
  padding: .5rem .75rem !important;
}

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════ */
.cd-hero {
  position: relative;
  background: linear-gradient(135deg, var(--rose-900) 0%, var(--rose-800) 50%, var(--rose-700) 100%);
  padding: clamp(4rem, 10vw, 8rem) var(--gutter);
  text-align: center;
  overflow: hidden;
}

.cd-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(196,154,46,.12), transparent 70%);
  pointer-events: none;
}

.cd-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}

.cd-hero h1,
.cd-hero h2 {
  color: #ffffff !important;
  text-shadow: 0 2px 20px rgba(45,13,18,.4);
}

.cd-hero p {
  color: rgba(255,255,255,.85) !important;
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.cd-hero .cd-whatsapp-btn,
.cd-hero a.button,
.cd-hero .wp-block-button__link {
  margin-top: 1.5rem;
}

/* ═══════════════════════════════════════════════════════════
   SECTION WRAPPER
   ═══════════════════════════════════════════════════════════ */
.cd-section {
  padding: clamp(3rem, 6vw, 5rem) var(--gutter);
  max-width: 100%;
}

.cd-section:nth-child(even) {
  background: var(--bg-section);
}

.cd-section h2 {
  color: var(--rose-800) !important;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

.cd-section h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  border-radius: 2px;
}

.cd-section h3 { color: var(--rose-700) !important; }

/* Inner content max-width */
.cd-section > *, .cd-cta > * { max-width: var(--max-w); margin-left: auto; margin-right: auto; }

/* ═══════════════════════════════════════════════════════════
   CARDS GRID
   ═══════════════════════════════════════════════════════════ */
.cd-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 1rem 0;
}

.cd-card {
  background: var(--bg-card);
  border-radius: var(--r-md);
  border-top: 3px solid var(--gold-500);
  box-shadow: var(--sh-sm);
  padding: 1.75rem;
  transition: transform .25s, box-shadow .25s;
}

.cd-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-rose);
}

.cd-card h3,
.cd-card h4 { color: var(--rose-700) !important; }

.cd-card p  { color: var(--ink-60) !important; }

.cd-card .cd-price {
  display: inline-block;
  background: var(--gold-100);
  color: var(--gold-700);
  font-weight: 700;
  font-size: .85rem;
  padding: .25rem .8rem;
  border-radius: 100px;
  border: 1px solid var(--gold-200);
  margin-top: .5rem;
}

/* ═══════════════════════════════════════════════════════════
   TREATMENT CARD
   ═══════════════════════════════════════════════════════════ */
.cd-treatment-card {
  background: var(--bg-card);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: box-shadow .25s;
}
.cd-treatment-card:hover { box-shadow: var(--sh-rose); }

.cd-treatment-card .cd-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--rose-800), var(--rose-600));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.cd-treatment-card .cd-body { padding: 1.5rem; }
.cd-treatment-card h3,
.cd-treatment-card h4 { color: var(--rose-700) !important; margin-bottom: .5rem; }
.cd-treatment-card p  { color: var(--ink-60) !important; font-size: .9rem; }

.cd-treatment-card .cd-price-label {
  color: var(--rose-600) !important;
  font-weight: 700;
  font-size: .9rem;
}

/* ═══════════════════════════════════════════════════════════
   PRICE TABLE
   ═══════════════════════════════════════════════════════════ */
.cd-price-table {
  background: var(--bg-card);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  margin: 2rem auto;
}

.cd-price-table table { margin: 0; }

.cd-price-table th {
  background: var(--rose-800) !important;
  color: #fff !important;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.cd-price-table td { color: var(--ink-60) !important; }
.cd-price-table td:first-child { color: var(--ink-80) !important; font-weight: 600; }
.cd-price-table td strong { color: var(--rose-600) !important; }

/* ═══════════════════════════════════════════════════════════
   STEPS
   ═══════════════════════════════════════════════════════════ */
.cd-steps { counter-reset: step; list-style: none; padding: 0; }

.cd-steps li {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 4.5rem;
  margin-bottom: 1rem;
  background: var(--bg-card);
  border-radius: var(--r-md);
  box-shadow: var(--sh-sm);
  border-left: 3px solid var(--gold-400);
  counter-increment: step;
  color: var(--ink-60) !important;
}

.cd-steps li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.2rem;
  height: 2.2rem;
  background: linear-gradient(135deg, var(--rose-800), var(--rose-600));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
}

.cd-steps li strong { color: var(--rose-700) !important; }

/* ═══════════════════════════════════════════════════════════
   REVIEWS / TESTIMONIALS
   ═══════════════════════════════════════════════════════════ */
.cd-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.cd-review {
  background: var(--rose-900);
  border-radius: var(--r-md);
  padding: 2rem;
  position: relative;
}

.cd-review::before {
  content: '\201C';
  position: absolute;
  top: .5rem; left: 1.2rem;
  font-family: var(--font-display);
  font-size: 5rem;
  color: rgba(196,154,46,.2);
  line-height: 1;
}

.cd-review .cd-stars {
  color: var(--gold-400) !important;
  font-size: 1rem;
  letter-spacing: .1em;
  margin-bottom: .75rem;
  display: block;
}

.cd-review blockquote,
.cd-review p {
  font-family: var(--font-display) !important;
  font-style: italic !important;
  color: rgba(255,255,255,.9) !important;
  font-size: 1rem !important;
  line-height: 1.7 !important;
  margin-bottom: 1rem !important;
}

.cd-review .cd-reviewer {
  color: var(--gold-300) !important;
  font-weight: 700 !important;
  font-size: .85rem !important;
  letter-spacing: .05em !important;
  text-transform: uppercase !important;
}

/* ═══════════════════════════════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════════════════════════════ */
.cd-trust-bar {
  background: var(--rose-900);
  padding: 2rem var(--gutter);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 3rem;
}

.cd-trust-bar .cd-trust-item {
  text-align: center;
  color: #ffffff !important;
}

.cd-trust-bar .cd-trust-item strong,
.cd-trust-bar strong {
  display: block;
  font-size: 1.6rem;
  font-family: var(--font-display);
  color: var(--gold-300) !important;
  line-height: 1.1;
}

.cd-trust-bar p,
.cd-trust-bar span { color: rgba(255,255,255,.8) !important; font-size: .82rem; }

/* ═══════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════ */
.cd-faq { max-width: 800px; margin: 0 auto; }

.cd-faq-item {
  border-bottom: 1px solid var(--ink-10);
  padding: 1.25rem 0;
}

.cd-faq-item:last-child { border-bottom: none; }

.cd-faq-q {
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--rose-800) !important;
  margin: 0 !important;
  cursor: default;
  display: flex;
  gap: .75rem;
  align-items: flex-start;
}

.cd-faq-q::before {
  content: '✦';
  color: var(--gold-500);
  flex-shrink: 0;
  font-size: .8em;
  margin-top: .15em;
}

.cd-faq-a { padding: .75rem 0 0 1.5rem; }
.cd-faq-a p { color: var(--ink-60) !important; margin: 0; }

/* ═══════════════════════════════════════════════════════════
   CALL TO ACTION
   ═══════════════════════════════════════════════════════════ */
.cd-cta {
  background: linear-gradient(135deg, var(--rose-900) 0%, var(--rose-800) 100%);
  padding: clamp(3rem, 6vw, 5rem) var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cd-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(196,154,46,.1), transparent);
  pointer-events: none;
}

.cd-cta h2,
.cd-cta h3 { color: #ffffff !important; }
.cd-cta p  { color: rgba(255,255,255,.85) !important; max-width: 560px; margin: 0 auto 1.5rem; }

/* ═══════════════════════════════════════════════════════════
   CALLOUT
   ═══════════════════════════════════════════════════════════ */
.cd-callout {
  background: var(--gold-50);
  border-left: 4px solid var(--gold-500);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}
.cd-callout h4 { color: var(--gold-700) !important; margin-bottom: .5rem; }
.cd-callout p  { color: var(--ink-60) !important; margin: 0; }

/* ═══════════════════════════════════════════════════════════
   BUTTONS & WHATSAPP
   ═══════════════════════════════════════════════════════════ */
.cd-btn,
a.cd-btn,
.cd-cta a.button,
.cd-hero a.button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: linear-gradient(135deg, var(--rose-700), var(--rose-600));
  color: #ffffff !important;
  font-family: var(--font-body) !important;
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .04em;
  padding: .85rem 2rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none !important;
}

.cd-btn:hover,
a.cd-btn:hover { transform: translateY(-2px); box-shadow: var(--sh-rose); }

.cd-whatsapp-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: .6rem !important;
  background: #25D366 !important;
  color: #ffffff !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  font-size: .95rem !important;
  padding: .9rem 2.2rem !important;
  border-radius: 100px !important;
  text-decoration: none !important;
  transition: transform .2s, box-shadow .2s !important;
  box-shadow: 0 4px 16px rgba(37,211,102,.35) !important;
}
.cd-whatsapp-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(37,211,102,.45) !important;
  color: #ffffff !important;
}
.cd-whatsapp-btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════
   BADGES
   ═══════════════════════════════════════════════════════════ */
.cd-badge {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.cd-badge-verified {
  background: var(--rose-100);
  color: var(--rose-700) !important;
  border: 1px solid var(--rose-300);
}
.cd-price-badge {
  background: var(--gold-100);
  color: var(--gold-700) !important;
  font-weight: 700;
  font-size: .85rem;
  padding: .3rem .9rem;
  border-radius: 100px;
  border: 1px solid var(--gold-200);
}
.cd-price-badge .cd-price-label {
  font-size: .7rem;
  font-weight: 500;
  display: block;
  margin-bottom: 2px;
  opacity: .8;
}
.cd-price-badge .cd-price-amount { font-family: var(--font-display); font-size: 1.1em; }

/* ═══════════════════════════════════════════════════════════
   ENTRY CONTENT PROSE (blog posts, pages)
   ═══════════════════════════════════════════════════════════ */
.entry-content p,
.entry-content li,
.entry-content td { color: var(--ink-60) !important; }

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 { color: var(--rose-800) !important; }

.entry-content h2 {
  border-left: 4px solid var(--gold-500);
  padding-left: 1rem;
  margin-top: 2.5rem;
}

.entry-content a { color: var(--rose-600) !important; text-decoration: underline; }
.entry-content a:hover { color: var(--rose-500) !important; }

.entry-content blockquote {
  border-left: 4px solid var(--rose-400);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--rose-50);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-style: italic;
  color: var(--ink-60) !important;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.site-footer,
#mastfoot {
  background: var(--rose-900) !important;
  border-top: 1px solid rgba(196,154,46,.2);
}

.inside-footer,
.footer-widgets-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem var(--gutter) 1.5rem;
}

.footer-widgets { background: transparent !important; }
.footer-widget-1, .footer-widget-2, .footer-widget-3 { color: rgba(255,255,255,.75) !important; }
.footer-widgets .widget-title { color: var(--gold-300) !important; font-family: var(--font-display); font-size: 1rem; }
.footer-widgets a { color: var(--rose-300) !important; }
.footer-widgets a:hover { color: var(--gold-300) !important; }

.site-info {
  background: rgba(0,0,0,.2) !important;
  border-top: 1px solid rgba(196,154,46,.1);
  padding: 1rem var(--gutter) !important;
  text-align: center;
}
.site-info,
.site-info a,
.copyright-bar { color: rgba(255,255,255,.55) !important; font-size: .78rem !important; }
.site-info a:hover { color: var(--gold-300) !important; }

/* ── Hide GP credit & comments ── */
.site-info a[href*="generatepress"],
.site-info a[href*="wordpress.org"],
.generated-by-gp,
.gp-footer-link,
span.sep + a { display: none !important; }

/* ── Disable comments display ── */
#comments,
.comments-area,
.comment-respond,
.comment-navigation { display: none !important; }

/* ═══════════════════════════════════════════════════════════
   GP OVERRIDES — force correct colors on all GP elements
   ═══════════════════════════════════════════════════════════ */
/* Ensure GP doesn't add white bg to nav */
.main-navigation,
.main-navigation ul ul,
.nav-below-header .main-navigation,
.mobile-menu-control-wrapper,
.has-inline-mobile-toggle #site-navigation.toggled {
  background: var(--rose-800) !important;
}

/* Mobile menu overlay */
.mobile-menu-control-wrapper .menu-toggle,
.mobile-menu-control-wrapper .menu-toggle:hover,
.mobile-menu-control-wrapper .menu-toggle:focus {
  background: transparent !important;
  color: rgba(255,255,255,.9) !important;
}

/* GP separate-container override — make article full-width */
.separate-containers .inside-article,
.separate-containers .comments-area,
.separate-containers .page-header,
.one-container .container {
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .inside-article, .entry-content { padding: 2rem 1.25rem; }
  .cd-hero { padding: 3rem 1.25rem; }
  .cd-section { padding: 2.5rem 1.25rem; }
  .cd-trust-bar { flex-direction: column; gap: 1.5rem; }
  .cd-cards-grid, .cd-reviews-grid { grid-template-columns: 1fr; }
  .cd-steps li { padding-left: 3.5rem; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  table { font-size: .82rem; }
  th, td { padding: .5rem .6rem; }
}

@media (max-width: 480px) {
  .cd-hero p { font-size: 1rem; }
  .cd-whatsapp-btn { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════
   CLASS ALIASES — fixes mismatched HTML class names
   ═══════════════════════════════════════════════════════════ */

/* .cd-faq-question → alias for .cd-faq-q */
.cd-faq-question {
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--rose-800) !important;
  margin: 0 !important;
  cursor: default;
  display: flex;
  gap: .75rem;
  align-items: flex-start;
}
.cd-faq-question::before {
  content: '✦';
  color: var(--gold-500);
  flex-shrink: 0;
  font-size: .8em;
  margin-top: .15em;
}

/* .cd-faq-answer → alias for .cd-faq-a */
.cd-faq-answer { padding: .75rem 0 0 1.5rem; }
.cd-faq-answer p { color: var(--ink-60) !important; margin: 0; }

/* .cd-heading — standalone section heading */
.cd-heading {
  font-family: var(--font-display) !important;
  color: var(--rose-800) !important;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}
.cd-heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  border-radius: 2px;
}

/* .cd-list-benefits — rose-checkmark bullet list */
.cd-list-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.cd-list-benefits li {
  position: relative;
  padding: .5rem 0 .5rem 2rem;
  color: var(--ink-60);
  border-bottom: 1px solid var(--ink-10);
}
.cd-list-benefits li:last-child { border-bottom: none; }
.cd-list-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--rose-600);
  font-weight: 700;
}

/* .cd-process-steps → alias for .cd-steps */
.cd-process-steps { counter-reset: step; list-style: none; padding: 0; }
.cd-process-steps li {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 4.5rem;
  margin-bottom: 1rem;
  background: var(--bg-card);
  border-radius: var(--r-md);
  box-shadow: var(--sh-sm);
  border-left: 3px solid var(--gold-400);
  counter-increment: step;
  color: var(--ink-60) !important;
}
.cd-process-steps li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.2rem;
  height: 2.2rem;
  background: linear-gradient(135deg, var(--rose-800), var(--rose-600));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
}
.cd-process-steps li strong { color: var(--rose-700) !important; }

@media (max-width: 640px) {
  .cd-process-steps li { padding-left: 3.5rem; }
}


/* ═══════════════════════════════════════════════════════════
   CD-HERO OVERRIDE — ensure white text inside dark hero
   (must come after entry-content rules to win specificity)
   ═══════════════════════════════════════════════════════════ */
.entry-content .cd-hero h1,
.entry-content .cd-hero h2,
.cd-hero h1,
.cd-hero h2 {
  color: #ffffff !important;
  text-shadow: 0 2px 20px rgba(45,13,18,.4);
}

.entry-content .cd-hero p,
.cd-hero p {
  color: rgba(255,255,255,.85) !important;
}

.entry-content .cd-hero a,
.cd-hero a {
  color: var(--gold-300) !important;
}

/* ═══════════════════════════════════════════════════════════
   CD-SECTION ON H2 — handle <h2 class=cd-section> pattern
   Reset section-level padding when cd-section is applied to h2
   ═══════════════════════════════════════════════════════════ */
h2.cd-section,
h3.cd-section {
  padding: 0.5rem 0 0.5rem 1rem !important;
  margin-top: 2rem !important;
  background: none !important;
  color: var(--rose-800) !important;
  text-align: left !important;
  border-left: 4px solid var(--gold-500);
}

h3.cd-section {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  border-left-width: 3px;
  color: var(--rose-700) !important;
}

/* ═══════════════════════════════════════════════════════════
   HOMEPAGE — flush hero to nav, hide redundant entry-title
   ═══════════════════════════════════════════════════════════ */
.home .entry-header,
.home .entry-title { display: none !important; }
.home .entry-content { padding-top: 0 !important; padding-bottom: 0 !important; }
.home .inside-article { padding: 0 !important; }

/* ═══════════════════════════════════════════════════════════
   CRITICAL LAYOUT FIX — override GP and block-library conflicts
   ═══════════════════════════════════════════════════════════ */

/* Body background — hardcoded to avoid var() resolution issues */
body { background-color: #FDFBFB !important; }

/* GP separate-containers adds 20px margin to site-main — remove it */
.separate-containers .site-main,
.site-main { margin: 0 !important; }

/* Override site-content flex to block to prevent flex sizing issues */
.site-content { display: block !important; }

/* Ensure content-area is full width — override GP's 70% */
.site-content .content-area,
.content-area { width: 100% !important; float: none !important; }

/* Kill ALL background on inside-article — use !important to beat GP */
body .separate-containers .inside-article,
body .inside-article { background: none !important; background-color: transparent !important; padding: 0 !important; box-shadow: none !important; }

/* Homepage: entry-content must show sections directly */
.home .entry-content { padding: 0 !important; max-width: 100% !important; margin: 0 !important; }
.home .inside-article { max-width: 100% !important; }

/* Force hero to be visible — hardcoded fallback */
.cd-hero { background-color: #4A1E24 !important; min-height: 300px; }

/* Force hero text to be white — hardcoded */
.cd-hero, .cd-hero h1, .cd-hero h2, .cd-hero p, .cd-hero * { color: #ffffff !important; }


/* ═══════════════════════════════════════════════════════════
   HEADER & NAV — fix GP 3.6.1 Global Colors (var(--base-3)=white)
   Hardcode the brand colors GP customizer no longer outputs directly
   ═══════════════════════════════════════════════════════════ */
.site-header { background-color: #4A1E24 !important; }
.inside-header { background-color: #4A1E24 !important; }
.main-title a,
.main-title a:hover { color: #ffffff !important; }
.site-description { color: rgba(255,255,255,0.75) !important; }

/* Navigation */
.main-navigation,
.main-navigation ul,
.main-navigation ul ul { background-color: #4A1E24 !important; }
.main-navigation .main-nav ul li a,
.main-navigation .menu-toggle,
.main-navigation .menu-bar-items { color: #ffffff !important; }
.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li:hover > a { color: #C49A2E !important; }
.main-navigation .main-nav ul li[class*='current-menu-'] > a { color: #C49A2E !important; }

/* Mobile toggle */
.mobile-menu-control-wrapper .menu-toggle,
.mobile-menu-control-wrapper .menu-toggle:hover,
.mobile-menu-control-wrapper .menu-toggle:focus { background-color: rgba(255,255,255,0.08) !important; color: #ffffff !important; }
.menu-toggle svg path { fill: #ffffff; }

/* ═══════════════════════════════════════════════════════════
   ONE-CONTAINER LAYOUT FIXES (body class changed from
   separate-containers → one-container after fixing corrupted
   generate_settings option)
   ═══════════════════════════════════════════════════════════ */

/* Container background — remove white so hero shows correctly */
.one-container .container { background-color: transparent !important; box-shadow: none !important; }

/* Inside-article — remove padding/bg for homepage hero sections */
.home.one-container .inside-article,
.one-container .inside-article { background: none !important; background-color: transparent !important; padding: 0 !important; box-shadow: none !important; }

/* Site-main margin reset for one-container */
.one-container .site-main { margin: 0 !important; }

/* ═══════════════════════════════════════════════════════════
   GP GLOBAL COLORS CSS VARIABLE FIX
   Override :root defaults with actual brand values
   ═══════════════════════════════════════════════════════════ */
:root {
  --base-2: #FDFBFB !important;
  --base-3: #ffffff !important;
  --contrast: #2E1E1E !important;
  --accent: #A85060 !important;
}

/* Site header - override var(--base-3)=white with brand dark red */
.site-header,
.site-header .inside-header { background-color: #4A1E24 !important; color: #ffffff !important; }
.main-navigation,
.main-navigation ul,
.main-navigation ul ul { background-color: #4A1E24 !important; }
.main-navigation .main-nav ul li a,
.main-navigation .menu-toggle,
.main-navigation .menu-bar-items { color: #ffffff !important; }
.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li[class*='current-menu-'] > a { color: #C49A2E !important; }
.main-title a, .main-title a:hover { color: #ffffff !important; }
.site-description { color: rgba(255,255,255,.7) !important; }

/* Footer */
.site-footer,
.footer-bar,
.site-info { background-color: #4A1E24 !important; color: #E4ADB8 !important; }
.site-info a { color: #E3C878 !important; }
