/* D.R Elite Beauty — site-wide skin over dr-makeup-theme.
   Same palette, type and motion as the new homepage. The theme is token based,
   so most of the work is re-pointing its variables; the rest is component polish. */

/* ---------- tokens ---------- */
html:root {
  --dr-bg: #faf6f1;
  --dr-surface: #f2ebe2;
  --dr-surface-2: #ffffff;
  --dr-ink: #1d1816;
  --dr-muted: #62564f;
  --dr-line: rgb(29 24 22 / 0.12);
  --dr-accent: #9c5333;
  --dr-accent-ink: #ffffff;
  --dr-glow: rgb(214 150 110 / 0.35);
  --dr-night: #1d1816;
  --dr-ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* theme variables → new palette */
  --bg: var(--dr-bg);
  --bg-alt: var(--dr-surface);
  --card: var(--dr-surface-2);
  --surface: var(--dr-surface-2);
  --text: var(--dr-ink);
  --text-soft: var(--dr-muted);
  --line: var(--dr-line);
  --teal: var(--dr-accent);
  --teal-dark: var(--dr-accent);
  --copper: var(--dr-accent);
  --copper-dark: var(--dr-accent);
  --copper-light: var(--dr-accent);
  --gold: var(--dr-accent);
  --radius: 16px;
  --shadow-soft: 0 18px 40px -18px rgb(29 24 22 / 0.25);
  --font-display: "Frank Ruhl Libre", serif;
  --font-body: "Heebo", system-ui, sans-serif;
  color-scheme: light;
}
html[data-theme="dark"]:root {
  --dr-bg: #110e0e;
  --dr-surface: #1a1616;
  --dr-surface-2: #221c1b;
  --dr-ink: #f4ede7;
  --dr-muted: #b4a79e;
  --dr-line: rgb(244 237 231 / 0.12);
  --dr-accent: #e0a07a;
  --dr-accent-ink: #1a1210;
  --dr-glow: rgb(224 160 122 / 0.18);
  --dr-night: #231b18;
  --shadow-soft: 0 18px 40px -18px rgb(0 0 0 / 0.6);
  color-scheme: dark;
}

/* ---------- base ---------- */
html body { background: var(--dr-bg); color: var(--dr-ink); font-family: var(--font-body); line-height: 1.7; transition: background-color .4s ease, color .4s ease; }
html body h1, html body h2, html body h3, html body h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; color: var(--dr-ink); text-wrap: balance; }
html body p { text-wrap: pretty; }
html body a { transition: color .3s ease; }
html body ::selection { background: var(--dr-accent); color: var(--dr-accent-ink); }
html body :focus-visible { outline: 2px solid var(--dr-accent); outline-offset: 3px; border-radius: 6px; }
html body .skip-link { background: var(--dr-accent); color: var(--dr-accent-ink); top: -200px; border-radius: 999px; }
html body .skip-link:focus { top: 12px; }
html body .eyebrow { color: var(--dr-accent); letter-spacing: .18em; font-weight: 500; }
html body .eyebrow::before, html body .eyebrow::after { background: var(--dr-accent); }

/* old header/footer are replaced; hide any leftovers */
html body > header.site-header, html body footer.site-footer { display: none !important; }

/* ---------- page hero ---------- */
html body .page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); background: radial-gradient(ellipse 60% 70% at 50% 0%, var(--dr-glow), transparent 70%); }
html body .page-hero h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); animation: drx-rise .9s var(--dr-ease) both; }
html body .page-hero > .container > p, html body .page-hero .eyebrow { animation: drx-fade .9s var(--dr-ease) .12s both; }
html body .page-content { font-size: 1.06rem; }
html body .page-content h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 1.6em; }
html body .page-content h3 { font-size: 1.35rem; margin-top: 1.3em; }
html body .page-content a { color: var(--dr-accent); text-underline-offset: 3px; }
html body .page-content li::marker { color: var(--dr-accent); }
html body .page-content img, html body .photo-frame { border-radius: 1.5rem; }
html body .crumbs, html body .crumbs a { color: var(--dr-muted); }
html body .crumbs a:hover { color: var(--dr-accent); }
html body .section-alt { background: var(--dr-surface); }
html body .divider-line { background: linear-gradient(90deg, transparent, var(--dr-accent), transparent); }

/* ---------- buttons ---------- */
html body .btn { border-radius: 999px; padding: 14px 30px; font-weight: 500; min-height: 48px; transition: transform .3s var(--dr-ease), background-color .3s ease, color .3s ease, box-shadow .3s ease, border-color .3s ease; }
html body .btn:active { transform: scale(.97); }
html body .btn-primary { background: var(--dr-accent); color: var(--dr-accent-ink); box-shadow: 0 10px 30px -10px var(--dr-glow); }
html body .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px var(--dr-glow); color: var(--dr-accent-ink); }
html body .btn-ghost { border: 1px solid var(--dr-line); color: var(--dr-ink); background: transparent; }
html body .btn-ghost:hover { border-color: var(--dr-accent); color: var(--dr-accent); background: transparent; transform: translateY(-2px); }

/* ---------- cards & rows ---------- */
html body .card, html body .t-card, html body .service-row, html body .booking-card, html body .login-card, html body .account-box, html body .notes-box {
  background: var(--dr-surface-2); border: 1px solid var(--dr-line); border-radius: 2rem; box-shadow: none;
  transition: transform .5s var(--dr-ease), box-shadow .5s var(--dr-ease), border-color .3s ease;
}
html body .card:hover, html body .t-card:hover, html body .service-row:hover { transform: translateY(-6px); border-color: var(--dr-line); box-shadow: 0 30px 60px -24px rgb(29 24 22 / .22); }
html body .card .icon, html body .card .card-index, html body .t-card .quote-mark, html body .t-card .who, html body .service-row .s-price { color: var(--dr-accent); }
html body .pkg-featured { background: var(--dr-night); color: #f4ede7; border-color: rgb(224 160 122 / .4); box-shadow: none; --text: #f4ede7; --text-soft: rgb(244 237 231 / .72); --dr-ink: #f4ede7; --dr-muted: rgb(244 237 231 / .72); --dr-accent: #e0a07a; }
html body .pkg-featured::before { background: #e0a07a; color: #1d1816; }
html body .service-row .s-price-ask { border-radius: 999px; color: var(--dr-accent); }

/* ---------- gallery ---------- */
html body .g-item { border-radius: 1.25rem; }
html body .g-item img { transition: transform 1.1s var(--dr-ease); }
html body .g-item:hover img { transform: scale(1.06); }
html body .lightbox { background: rgb(0 0 0 / .9); backdrop-filter: blur(4px); --text: #f4ede7; --text-soft: #d8cdc4; }
html body .lightbox .lb-close, html body .lightbox .lb-nav { background: rgb(255 255 255 / .1); border: 0; color: #fff; transition: background .3s ease, transform .3s ease; }
html body .lightbox .lb-close:hover { transform: rotate(90deg); background: rgb(255 255 255 / .2); color: #fff; }

/* ---------- forms ---------- */
html body .field input, html body .field textarea, html body .field select,
html body .booking-card input, html body .booking-card select, html body .booking-card textarea,
html body .login-card input[type="text"], html body .login-card input[type="password"], html body .login-card input[type="email"],
html body .prep-form input[type="text"], html body .prep-form textarea {
  background: var(--dr-surface-2); border: 1px solid var(--dr-line); border-radius: 16px; color: var(--dr-ink); padding: 14px 16px;
  transition: border-color .3s ease, box-shadow .3s ease;
}
html body .field input:focus, html body .field textarea:focus, html body .booking-card :is(input, select, textarea):focus, html body .login-card input:focus {
  outline: none; border-color: var(--dr-accent); box-shadow: 0 0 0 4px var(--dr-glow);
}
html body .login-card .login-submit input[type="submit"], html body .booking-submit, html body .account-logout {
  background: var(--dr-accent); color: var(--dr-accent-ink); border-radius: 999px; transition: transform .3s var(--dr-ease), box-shadow .3s ease;
}
html body .login-card .login-submit input[type="submit"]:hover, html body .booking-submit:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px var(--dr-glow); background: var(--dr-accent); }
html body .login-card .login-remember input, html body .prep-item input { accent-color: var(--dr-accent); }

/* ---------- booking calendar ---------- */
html body .cal-day, html body .slot { background: var(--dr-surface-2); border: 1px solid var(--dr-line); border-radius: 14px; transition: border-color .25s ease, transform .25s var(--dr-ease), background-color .25s ease; }
html body .cal-day.is-free:hover, html body .slot:hover { border-color: var(--dr-accent); color: var(--dr-accent); transform: translateY(-2px); }
html body .cal-day.is-on, html body .slot.is-on { background: var(--dr-accent); border-color: var(--dr-accent); color: var(--dr-accent-ink); }
html body .cal-day.is-on i, html body .slot.is-on i { background: var(--dr-accent-ink); color: var(--dr-accent-ink); }
html body .cal-day i { background: var(--dr-accent); }

/* ---------- faq ---------- */
html body .faq-item { background: transparent; border: 0; border-bottom: 1px solid var(--dr-line); border-radius: 0; padding: 4px 0; margin: 0; }
html body .faq-item summary { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; padding: 20px 0; justify-content: space-between; flex-direction: row-reverse; transition: color .3s ease; }
html body .faq-item summary:hover { color: var(--dr-accent); }
html body .faq-item summary::before { content: "+"; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--dr-line); border-radius: 999px; color: var(--dr-ink); font-family: var(--font-body); transition: transform .5s var(--dr-ease), background-color .3s ease, color .3s ease; }
html body .faq-item[open] summary::before { content: "+"; transform: rotate(45deg); background: var(--dr-accent); border-color: var(--dr-accent); color: var(--dr-accent-ink); }
html body .faq-item p { padding-inline-start: 0; font-size: 1.05rem; color: var(--dr-muted); }

/* ---------- cta band (always dark, like the homepage builder) ---------- */
html body .cta-band { background: var(--dr-night); color: #f4ede7; border: 0; border-radius: 2.5rem; margin: 0 16px; --text: #f4ede7; --text-soft: rgb(244 237 231 / .72); --dr-ink: #f4ede7; --gold: #e0a07a; --dr-accent: #e0a07a; --dr-accent-ink: #1d1816; }
@media (min-width: 1100px) { html body .cta-band { max-width: 1216px; margin: 0 auto; } }

/* ---------- reveal (theme's own scroll reveal, smoother) ---------- */
html body .reveal { transition: opacity .8s var(--dr-ease), transform .8s var(--dr-ease); transform: translateY(28px); }

/* ---------- floating whatsapp ---------- */
html body .whatsapp-float { background: #1f9d55; color: #fff; width: 56px; height: 56px; bottom: 20px; left: 20px; box-shadow: 0 12px 30px -8px rgb(0 0 0 / .3); transition: transform .3s var(--dr-ease); }
html body .whatsapp-float:hover { transform: scale(1.08); }

/* ============ new header ============ */
.drx-header { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 90; padding: 16px 0; transition: padding .5s var(--dr-ease), background-color .5s ease, border-color .5s ease; border-bottom: 1px solid transparent; }
.drx-header.is-scrolled { padding: 10px 0; background: color-mix(in srgb, var(--dr-bg) 82%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom-color: var(--dr-line); }
.drx-wrap { max-width: 1280px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
@media (min-width: 640px) { .drx-wrap { padding: 0 24px; } }
@media (min-width: 1024px) { .drx-wrap { padding: 0 40px; } }
.drx-brand { display: flex; align-items: center; gap: 12px; color: var(--dr-ink); text-decoration: none; }
.drx-brand img { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; box-shadow: 0 0 0 1px var(--dr-line); transition: transform .5s var(--dr-ease); }
.drx-brand:hover img { transform: rotate(-8deg) scale(1.05); }
.drx-brand b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.1rem; letter-spacing: .2em; line-height: 1.2; }
.drx-brand small { display: block; font-size: .75rem; color: var(--dr-muted); line-height: 1.3; }
.drx-nav { display: none; }
.drx-nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.drx-nav a { position: relative; display: block; padding: 8px 12px; border-radius: 999px; color: var(--dr-muted); text-decoration: none; font-size: .95rem; white-space: nowrap; }
.drx-nav a::after { content: ""; position: absolute; inset-inline: 12px; bottom: 4px; height: 1px; background: var(--dr-accent); transform: scaleX(0); transform-origin: right; transition: transform .3s ease; }
.drx-nav a:hover { color: var(--dr-ink); }
.drx-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.drx-nav .current-menu-item > a { color: var(--dr-accent); }
.drx-actions { display: flex; align-items: center; gap: 8px; }
.drx-icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--dr-line); background: transparent; color: var(--dr-ink); cursor: pointer; transition: transform .3s ease, border-color .3s ease, color .3s ease; }
.drx-icon-btn:hover { border-color: var(--dr-accent); color: var(--dr-accent); transform: rotate(12deg); }
.drx-icon-btn:active { transform: scale(.9); }
.drx-icon-btn svg { width: 20px; height: 20px; }
.drx-theme .drx-sun { display: none; }
html[data-theme="dark"] .drx-theme .drx-sun { display: block; }
html[data-theme="dark"] .drx-theme .drx-moon { display: none; }
.drx-cta { display: none; align-items: center; border-radius: 999px; padding: 10px 20px; background: var(--dr-ink); color: var(--dr-bg); font-size: .9rem; font-weight: 500; text-decoration: none; white-space: nowrap; transition: transform .3s ease, background-color .3s ease, color .3s ease; }
.drx-cta:hover { transform: translateY(-2px); background: var(--dr-accent); color: var(--dr-accent-ink); }
@media (min-width: 640px) { .drx-cta { display: inline-flex; } }
.drx-burger { position: relative; }
.drx-burger span { position: absolute; width: 20px; height: 1px; background: var(--dr-ink); transition: transform .3s ease; }
.drx-burger span:first-child { transform: translateY(-4px); }
.drx-burger span:last-child { transform: translateY(4px); }
.drx-open .drx-burger span:first-child { transform: rotate(45deg); }
.drx-open .drx-burger span:last-child { transform: rotate(-45deg); }
@media (min-width: 1180px) { .drx-nav { display: block; } .drx-burger { display: none; } }

.drx-menu { position: fixed; inset: 0; z-index: 89; background: var(--dr-bg); padding: 110px 24px 32px; overflow-y: auto; clip-path: inset(0 0 100% 0); opacity: 0; visibility: hidden; transition: clip-path .5s var(--dr-ease), opacity .5s var(--dr-ease), visibility 0s .5s; }
.drx-open .drx-menu { clip-path: inset(0 0 0 0); opacity: 1; visibility: visible; transition: clip-path .5s var(--dr-ease), opacity .5s var(--dr-ease); }
.drx-menu ul { list-style: none; margin: 0; padding: 0; }
.drx-menu li { opacity: 0; transform: translateX(24px); transition: opacity .5s var(--dr-ease), transform .5s var(--dr-ease); }
.drx-open .drx-menu li { opacity: 1; transform: none; }
.drx-menu a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--dr-line); font-family: var(--font-display); font-size: 1.85rem; color: var(--dr-ink); text-decoration: none; }
.drx-menu a::after { content: "←"; color: var(--dr-accent); font-family: var(--font-body); font-size: 1.1rem; }
.drx-menu .drx-wa { margin-top: 36px; display: flex; justify-content: center; align-items: center; gap: 8px; border-radius: 999px; padding: 16px; background: var(--dr-accent); color: var(--dr-accent-ink); text-decoration: none; font-weight: 500; }
body.drx-lock { overflow: hidden; }

/* ============ new footer ============ */
.drx-footer { border-top: 1px solid var(--dr-line); margin-top: 64px; position: relative; z-index: 2; }
.drx-footer-grid { max-width: 1280px; margin: 0 auto; padding: 56px 16px 0; display: grid; gap: 40px; }
@media (min-width: 768px) { .drx-footer-grid { grid-template-columns: 2fr 1fr; padding-inline: 40px; } }
.drx-footer h2 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; margin: 0; color: var(--dr-ink); }
.drx-footer ul { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .9rem; }
.drx-footer .drx-col ul { display: block; }
.drx-footer .drx-col li { margin-bottom: 8px; }
.drx-footer a { color: var(--dr-muted); text-decoration: none; }
.drx-footer a:hover { color: var(--dr-accent); }
.drx-footer-bottom { max-width: 1280px; margin: 0 auto; padding: 40px 16px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 20px; font-size: .9rem; color: var(--dr-muted); }
@media (min-width: 640px) { .drx-footer-bottom { flex-direction: row; padding-inline: 40px; } }
.drx-footer-bottom .drx-id { display: flex; align-items: center; gap: 12px; }
.drx-footer-bottom img { width: 40px; height: 40px; border-radius: 999px; object-fit: cover; }
.drx-social { display: flex; gap: 10px; }
.drx-social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--dr-line); border-radius: 999px; color: var(--dr-ink); transition: transform .3s ease, border-color .3s ease, color .3s ease; }
.drx-social a:hover { transform: translateY(-4px); border-color: var(--dr-accent); color: var(--dr-accent); }
.drx-social svg { width: 20px; height: 20px; }

@keyframes drx-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes drx-fade { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html body *, html body *::before, html body *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- bride area (dr-elite-app) ---------- */
html body .dreb-wrap {
  --dreb-bg: transparent; --dreb-card: var(--dr-surface-2); --dreb-text: var(--dr-ink); --dreb-soft: var(--dr-muted);
  --dreb-copper: var(--dr-accent); --dreb-gold: var(--dr-accent); --dreb-line: var(--dr-line);
  font-family: var(--font-body);
}
html body .dreb-card { border-radius: 2rem; padding: 32px 28px; box-shadow: 0 30px 60px -30px rgb(29 24 22 / .25); }
html body .dreb-kick, html body .dreb-tab, html body .dreb-lbl, html body .dreb-in, html body .dreb-btn, html body .dreb-note, html body .dreb-err, html body .dreb-bar, html body .dreb-sub { font-family: var(--font-body); }
html body .dreb-h { font-family: var(--font-display); font-weight: 500; }
html body .dreb-tabs { background: var(--dr-surface); }
html body .dreb-tab { transition: color .3s ease, background-color .3s ease; }
html body .dreb-tab.on, html body .dreb-btn { background: var(--dr-accent); color: var(--dr-accent-ink); }
html body .dreb-btn { transition: transform .3s var(--dr-ease), box-shadow .3s ease; box-shadow: 0 10px 30px -10px var(--dr-glow); }
html body .dreb-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px var(--dr-glow); }
html body .dreb-in { background: var(--dr-surface-2); border-radius: 16px; transition: border-color .3s ease, box-shadow .3s ease; }
html body .dreb-in:focus { border-color: var(--dr-accent); box-shadow: 0 0 0 4px var(--dr-glow); }
html body .dreb-err { background: color-mix(in srgb, var(--dr-accent) 12%, transparent); border-color: color-mix(in srgb, var(--dr-accent) 40%, transparent); color: var(--dr-accent); }
html body .dreb-bar { background: var(--dr-surface); border-bottom-color: var(--dr-line); color: var(--dr-ink); }
html body .dreb-bar a { color: var(--dr-accent); }

/* off-screen honeypot fields (contact form) must not create sideways scroll */
html, html body { overflow-x: clip; }

/* ---------- wedding-day planner (drp-*) ---------- */
html body .drp-root {
  --drp-bg: transparent; --drp-surface: var(--dr-surface-2); --drp-surface2: var(--dr-surface);
  --drp-border: var(--dr-line); --drp-bs: var(--dr-line); --drp-text: var(--dr-ink); --drp-dim: var(--dr-muted); --drp-faint: var(--dr-muted);
  --drp-copper: var(--dr-accent); --drp-teal: var(--dr-accent);
  background: transparent; color: var(--dr-ink); font-family: var(--font-body);
}
html body .drp-root h2, html body .drp-root h3, html body .drp-days b, html body .drp-what, html body .drp-t { font-family: var(--font-display); font-weight: 500; }
html body .drp-panel, html body .drp-day { border-radius: 2rem; }
html body .drp-panel { padding: 28px; }
html body .drp-f input { border-radius: 16px; padding: 12px 14px; transition: border-color .3s ease, box-shadow .3s ease; }
html body .drp-f input:focus { outline: none; border-color: var(--dr-accent); box-shadow: 0 0 0 4px var(--dr-glow); }
html body .drp-days { background: color-mix(in srgb, var(--dr-accent) 8%, transparent); border-color: color-mix(in srgb, var(--dr-accent) 25%, transparent); border-radius: 1.25rem; }
html body .drp-row.drp-fin { background: color-mix(in srgb, var(--dr-accent) 12%, var(--dr-surface-2)); }
html body .drp-tl::before { background: var(--dr-accent); }
html body .drp-cta { background: var(--dr-accent); color: var(--dr-accent-ink); transition: transform .3s var(--dr-ease), box-shadow .3s ease; }
html body .drp-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px var(--dr-glow); }

/* ---------- links hub (drlh-*) ---------- */
html body .drlh-root {
  --l-bg: transparent; --l-surface: var(--dr-surface-2); --l-surface2: var(--dr-surface);
  --l-border: var(--dr-line); --l-bs: color-mix(in srgb, var(--dr-accent) 45%, transparent); --l-text: var(--dr-ink); --l-dim: var(--dr-muted); --l-faint: var(--dr-muted);
  --l-copper: var(--dr-accent); --l-teal: var(--dr-accent);
  background: transparent; color: var(--dr-ink); font-family: var(--font-body);
}
html body .drlh-name, html body .drlh-t, html body .drlh-badge span { font-family: var(--font-display); font-weight: 500; }
html body .drlh-a { border-radius: 1.5rem; transition: transform .4s var(--dr-ease), border-color .3s ease, box-shadow .4s var(--dr-ease); }
html body .drlh-a:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgb(29 24 22 / .3); }
html body .drlh-a.pri { background: color-mix(in srgb, var(--dr-accent) 8%, var(--dr-surface-2)); border-color: color-mix(in srgb, var(--dr-accent) 35%, transparent); }
html body .drlh-ic, html body .drlh-a.pri .drlh-ic { background: color-mix(in srgb, var(--dr-accent) 12%, transparent); border-color: color-mix(in srgb, var(--dr-accent) 30%, transparent); color: var(--dr-accent); border-radius: 999px; }
