/* cds-chrome.css — B205 (Phase 3: ONE CODEBASE, festival F-08).
   The shared chrome's own styles: header, the ONE composed
   footer, the draft choice card (F-11), and the legal pages'
   single visual era (F-07 — the legal text is untouched; only
   its frame is shared now). Rendered by cds-chrome.js into
   [data-cds-chrome] placeholders — the markup lives in ONE
   place, so the header/footer can never drift per page again. */
[data-cds-chrome] { display: block; }
[data-cds-chrome="header"] { min-height: 64px; }
.cds-head { background: var(--cds-charcoal); color: var(--cds-ink); }
.cds-head-in { max-width: 1120px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 16px; }
.cds-head .cds-logo img { height: 44px; width: auto; display: block; }
.cds-head .cds-head-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.cds-head .v2-top-hours { font-size: 14px; color: var(--cds-muted); }
.cds-head .cds-phone { color: var(--cds-ink); font-weight: 700; text-decoration: none; font-size: 16px; }
.cds-head .cds-book-btn { background: var(--cds-accent); color: #0A0A0F; font-weight: 800; text-decoration: none; padding: 10px 18px; border-radius: 10px; font-size: 16px; }
.cds-head .cds-portal-title { font-size: 18px; font-weight: 700; color: var(--cds-ink); }
.cds-foot { background: var(--cds-charcoal); color: var(--cds-ink); margin-top: 0; }
.cds-foot-in { max-width: 1120px; margin: 0 auto; padding: 28px 20px 34px; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
.cds-foot .cds-signature { font-family: var(--cds-font-display); font-size: 24px; font-weight: 700; letter-spacing: 0.02em; color: var(--cds-ink); }
.cds-foot p { margin: 6px 0; font-size: 15px; line-height: 1.55; color: var(--cds-muted); }
.cds-foot a { color: var(--cds-cyan); text-decoration: none; }
.cds-foot a:hover { text-decoration: underline; }
.cds-foot .cds-foot-links { font-size: 15px; line-height: 1.9; }
/* F-11 — the designed draft choice card (portal only). */
.cds-draft-choice { border: 2px solid var(--cds-cyan); border-radius: 16px; padding: 18px; margin: 0 0 18px; background: #FFFFFF; }
.cds-draft-choice p { font-size: 16.5px; line-height: 1.55; margin: 0 0 12px; color: var(--v2-ink); }
.cds-draft-choice .cds-draft-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cds-draft-choice button { min-height: 52px; font-size: 16px; font-weight: 800; border-radius: 12px; cursor: pointer; padding: 0 20px; }
.cds-draft-choice .cds-draft-continue { background: var(--cds-accent); border: 2px solid #0A0A0F; color: #0A0A0F; }
.cds-draft-choice .cds-draft-fresh { background: #FFFFFF; border: 2px solid var(--v2-line); color: var(--v2-ink); }
/* Legal pages — one era (the production dark frame), text untouched. */
body.cds-legal { margin: 0; font-family: var(--cds-font-text); background: #0B1E3F; color: #FFFFFF; }
body.cds-legal .wrap { max-width: 760px; margin: 0 auto; padding: 40px 20px 60px; }
body.cds-legal a { color: #00E5FF; }
body.cds-legal h1 { font-size: 32px; margin: 0 0 8px; }
body.cds-legal h2 { font-size: 20px; margin-top: 32px; color: #7FE9FF; }
body.cds-legal p, body.cds-legal li { line-height: 1.65; font-size: 17px; color: #E6EEF7; }
body.cds-legal .back { display: inline-block; margin-bottom: 24px; font-size: 16px; }
body.cds-legal .updated { color: #94A3B8; font-size: 15px; }
body.cds-legal .twin { margin-top: 48px; border-top: 1px solid #1E3A5F; padding-top: 20px; color: #94A3B8; font-size: 15px; }
/* B206 (Phase 4: THE PAYMENT STEP, F-12/F-13/F-14/F-15) — THE ONE
   PAYMENT MODULE. This family is the only payment-step CSS: one
   width, one radius, one hierarchy, defined ONCE here in the
   shared sheet and used by both payment surfaces (portal deposit,
   homepage gift certificate). The three era copies of .cashapp-box
   and the hand-drawn .brand-badge tiles are DELETED from the
   pages; the manual $CastilloShine block is deleted with them. */
#cds-pay .paymod { display: block; }
#cds-pay .paymod-trust { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 18px; padding: 14px 16px; border: 1px solid #D9E2EC; border-radius: 14px; background: #F4F8FB; }
#cds-pay .paymod-trust .paymod-lock { font-size: 26px; line-height: 1.2; }
#cds-pay .paymod-trust strong { display: block; font-size: 17px; color: #0B1E3F; }
#cds-pay .paymod-trust p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.5; color: #0B1E3F; }
#cds-pay .paymod-trust .paymod-trust-en { font-size: 13px; color: #64748B; }
#cds-pay .paymod-express { margin: 0 0 6px; }
#cds-pay .paymod-wallet { margin: 0 0 10px; min-height: 48px; }
#cds-pay .paymod-or { display: flex; align-items: center; gap: 12px; margin: 14px 0 4px; color: #64748B; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; }
#cds-pay .paymod-or::before, #cds-pay .paymod-or::after { content: ""; flex: 1; border-top: 1px solid #D9E2EC; }
#cds-pay .paymod-brands { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin: 0 0 12px; }
#cds-pay .paymod-brands .pm { display: inline-flex; align-items: center; height: 22px; }
#cds-pay .paymod-brands .pm-visa { font-size: 19px; font-weight: 900; font-style: italic; letter-spacing: 0.05em; color: #1A1F71; }
#cds-pay .paymod-brands .pm-amex { background: #2E77BC; color: #FFFFFF; font-size: 10.5px; font-weight: 900; letter-spacing: 0.08em; padding: 3px 7px; border-radius: 3px; }
#cds-pay .paymod-brands .pm-disc { font-size: 13.5px; font-weight: 800; letter-spacing: 0.03em; color: #0B1E3F; }
#cds-pay .paymod-brands .pm-disc i { display: inline-block; width: 15px; height: 15px; border-radius: 50%; background: #F48120; margin-left: 3px; vertical-align: -2px; }
#cds-pay .paymod-alt { margin-top: 16px; }
#cds-pay .paymod-alt .pay-field-label { margin-bottom: 8px; }

/* ---- B207: one language at a time (R10) + the pick ---- */
html[lang="es"] .cds-en { display: none !important; }
html[lang="en"] .cds-es { display: none !important; }
.cds-lang-toggle { display: inline-flex; border: 1px solid #33333F; border-radius: 999px; overflow: hidden; }
.cds-lang-toggle button { background: transparent; color: var(--cds-muted); border: 0; font: 700 13.5px var(--cds-font-display); letter-spacing: 0.06em; padding: 7px 12px; cursor: pointer; }
.cds-lang-toggle button.cds-lang-on { background: var(--cds-accent); color: #0A0A0F; }
.cds-head-right { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ---- B207 (F-44): the banner slot's tenant finish ---- */
.cds-banner { background: #101016; color: var(--cds-ink); border-bottom: 1px solid #26262F; position: relative; overflow: hidden; }
.cds-banner-in { position: relative; padding-top: 13px; padding-bottom: 13px; text-align: center; }
.cds-banner p { margin: 0; font-size: 16px; font-weight: 600; position: relative; z-index: 1; }
.cds-banner strong { color: #FFB35C; letter-spacing: .02em; }
.cds-banner a { color: #FFD9A0; text-decoration: underline; text-underline-offset: 3px; }
.cds-leaf { position: absolute; top: -18px; width: 14px; height: 14px; background: linear-gradient(135deg, #E8862E, #B3540E); border-radius: 2px 60% 2px 60%; opacity: .85; animation: cdsfall 9s linear infinite; }
.cds-leaf.l1 { left: 6%; } .cds-leaf.l2 { left: 22%; width: 10px; height: 10px; animation-delay: 3s; animation-duration: 11s; }
.cds-leaf.l3 { left: 78%; animation-delay: 1.5s; } .cds-leaf.l4 { left: 92%; width: 11px; height: 11px; animation-delay: 5s; animation-duration: 10s; }
@keyframes cdsfall { 0% { top: -18px; transform: rotate(0deg); } 100% { top: 110%; transform: rotate(320deg); } }
@media (prefers-reduced-motion: reduce) { .cds-leaf { animation: none; display: none; } }
