/* ============================================================================
 * /css/cpf-gift-steps.css — CC-ASK-13760 · THE GIFT CARD FOUR-STEP CHECKOUT, paper look.
 * Pairs with /js/cpf-gift-steps.js (one script, both twins). The look is the shared four-step standard
 * (docs/standards/checkout-four-steps.md, public/css/cpf-checkout-flow.css): ONE fixed frame, header · step bar ·
 * amount bar · a body that scrolls inside its own box · a footer bar with ONE ALL-CAPS call to action. White, one
 * hairline between rows, no boxed lines, no pills, no green (a gold bar under the step line).
 * Everything here hangs off `html.gc4`: with the class off (the gift_four_step_on switch Off, or ?classic=1) none of it
 * applies and the page is today's single form.
 * SCREEN LOCK: overflow-x: clip (never hidden) and overscroll-behavior: none on html and body; inputs 16px;
 * the frame is position:fixed, so its bars never move.
 * ========================================================================== */
.gc4-only{display:none}
html:not(.gc4) .gc4-only{display:none!important}
html.gc4,html.gc4 body{overflow-x:clip;overscroll-behavior:none;height:100%;margin:0;background:#fff}
/* CC-ASK-13800 (brief 395 B): the site header and the booking notice STAY above the frame; only the hero, the footer and the app bar go (the frame carries its own hero, back, X and EN | ES). */
html.gc4 .hero,html.gc4 .site-footer{display:none!important}
/* CC-ASK-13830 (Shawn Nov 27, 9:38 PM: "the bottom menu should go away while we're in the screen"): the app-style bottom bar is #cpfBar
   (lib/app-bar.js), never .cpf-app-bar — the old rule named a class no page carries, so HOME · ENGAGE · BOOK · MERLIN · MENU stayed over the
   frame's foot, every sheet's button and the Custom box, and a buyer on an iPhone could not reach CONTINUE. The bar and the room it reserves
   go for the whole flow (every step, every sheet) and are back the moment the frame is off (undo / ?classic=1 / another page). */
html.gc4 #cpfBar,html.gc4 #cpfBarScrim,html.gc4 #cpfBarBubble,html.gc4 .cpf-app-bar{display:none!important}
html.gc4:root body{padding-bottom:0!important}   /* :root lifts it past the bar's own html:not(.cpf-bar-off) body rule, which is stitched later in the page */
@media(max-width:819px){html.gc4 .cpf-booknotice{display:none!important}}   /* a phone keeps the header (menu behind the burger) and drops the notice so the frame keeps its room */
html.gc4 .gc4-app{position:fixed;left:0;right:0;top:var(--gc4-top,0px);height:calc(100dvh - var(--gc4-top,0px));z-index:90;display:flex;flex-direction:column;background:#fff;color:#231F20;
  max-width:560px;margin:0 auto;padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px);box-sizing:border-box;font-family:'League Spartan',Arial,Helvetica,sans-serif}
/* CC-ASK-13830: while a box has focus the frame follows the VISIBLE viewport exactly (cpf-gift-steps.js fit()) and covers the site header, so the
   X, the field and the foot bar are all on screen above the keyboard. Before this the frame kept subtracting the header's height after iOS had
   scrolled the header away: a blank band above "Gift cards", dead space under CONTINUE, and nothing past the first screen reachable. */
html.gc4.gc4-kb .gc4-app{z-index:120}
html.gc4 .gc4-app *,html.gc4 .gc4-app *::before,html.gc4 .gc4-app *::after{box-sizing:border-box}
@media(min-width:600px){html.gc4 .gc4-app{border-left:1px solid #E4DFD6;border-right:1px solid #E4DFD6}}
html.gc4 .gc4-head{flex:none;display:grid;grid-template-columns:auto 1fr auto;align-items:center;min-height:56px;padding:env(safe-area-inset-top,0px) 8px 0;border-bottom:1px solid #E4DFD6}
html.gc4 .gc4-logo{font-family:'Marcellus',Georgia,serif;font-size:1.05rem;text-align:center;letter-spacing:.02em;white-space:nowrap}
.gc4-ic{display:inline-flex;align-items:center;justify-content:center;border:0;background:none;color:#7A5E1E;font:700 .9rem 'League Spartan',Arial,sans-serif;min-height:44px;min-width:44px;padding:0 8px;cursor:pointer;text-decoration:none}
.gc4-ic svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.gc4-ic[hidden]{display:none}
html.gc4 .gc4-right{display:flex;align-items:center}
html.gc4 .gc4-lang{display:flex;align-items:center;font-size:.85rem;font-weight:700}
.gc4-lang a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:36px;padding:0 4px;color:#6E6A62;text-decoration:none}
.gc4-lang a.on{color:#231F20}
html.gc4 .gc4-steps{flex:none;display:flex;gap:6px;align-items:center;padding:10px 16px 0}
.gc4-steps i{flex:1;height:2px;background:#E4DFD6}.gc4-steps i.on{background:#C29D46}
.gc4-steps b{font-size:.78rem;font-weight:700;color:#6E6A62;min-width:14px;text-align:center}.gc4-steps b.on{color:#231F20}
/* the amount bar: a thin gold rule under the step line, the amount and a Choose link on every step */
html.gc4 .gc4-bar{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 16px 0;padding:0 0 0;min-height:44px;border-top:2px solid #C29D46;font-size:15px}
.gc4-bar span{opacity:.85}.gc4-bar b{font-family:'Marcellus',Georgia,serif;font-size:19px;font-weight:400;opacity:1}
.gc4-bar button{border:0;background:none;color:#7A5E1E;font:700 14px 'League Spartan',Arial,sans-serif;min-height:44px;min-width:44px;padding:0 4px;cursor:pointer;text-decoration:underline}
html.gc4[data-gc4-step="1"] .gc4-bar{display:none}   /* CC-ASK-13830 (Shawn: "that line should be gone in this form"): step 1 shows the amounts themselves */
html.gc4 .gc4-amts{padding:14px 0 0}
html.gc4 .gc4-amts .gc-grid{margin:0}
html.gc4 .gc4-amts .gc4-coach{margin:8px 0 0;min-height:0}
html.gc4 .gc4-amts.miss .gc-amt,html.gc4 .gc4-amts.miss .gc-custom{border-color:#A33C3C}
html.gc4 .gc4-body{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:clip;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
html.gc4 .gc4-body .tight{padding:0}
html.gc4 .gc4-body .gc-wrap{max-width:none;padding:0 16px 16px}
html.gc4 .gc4-foot{flex:none;display:block;padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));border-top:1px solid #E4DFD6;background:#fff}
.gc4-foot #gcMsg{min-height:0;margin:0 0 8px;font-size:14px;text-align:center}
.gc4-foot #gcMsg:empty{display:none}
.gc4-next{width:100%;min-height:56px;border:0;border-radius:8px;background:#C29D46;color:#231F20;font:700 14px 'League Spartan',Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase;cursor:pointer}
.gc4-next:disabled{opacity:.7}
.gc4-next.off{background:#E4DFD6;color:#6E6A62}
/* steps */
html.gc4 .gc4-step{display:none}
html.gc4 .gc4-step.on{display:block}
html.gc4 .gc4-hero h1{font-family:'Marcellus',Georgia,serif;font-weight:400;font-size:1.5rem;line-height:1.15;margin:14px 0 4px;color:#231F20}
html.gc4 .gc4-hero p{margin:0;font-size:15px;line-height:1.45;color:#4a453f}
html.gc4 .gc4-note{margin:10px 0 0;font-size:13px;line-height:1.45;opacity:.8}
html.gc4 .gc4-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;border-top:1px solid #E4DFD6;font-size:15px;color:inherit;text-decoration:none}
html.gc4 .gc4-row span:last-child{color:#7A5E1E;font-weight:700;white-space:nowrap}
html.gc4 .gc4-link{border:0;background:none;font:inherit;font-size:14px;font-weight:700;color:#7A5E1E;min-height:48px;padding:0;cursor:pointer;text-align:left;text-decoration:underline}
html.gc4 .gc4-sub{display:flex;justify-content:space-between;gap:12px;min-height:48px;align-items:center;border-top:1px solid #E4DFD6;margin-top:12px;font-size:15px}
html.gc4 .gc4-sub b{font-family:'Marcellus',Georgia,serif;font-size:20px;font-weight:400}
html.gc4 #gcSelectAll,html.gc4 .gc-before .gc-lnk{min-height:44px}
/* what the single form shows that a step does not */
html.gc4 .gc-foot{display:none}
html.gc4 #gcEnvelope{display:none}
html.gc4 #gcStyles{padding-top:4px}
html.gc4 .gc-step.on#gcEnvelope{display:none}
html.gc4 .gc-gsi{border-bottom:0}
html.gc4 .gc-fine{display:block}
html.gc4 .gc-exist{display:none}
/* the amount sheet, the resend sheet, the two-ways sheet and (CC-ASK-13830) the card preview pop-up: ALL live inside the frame, so they follow it
   above the keyboard and never sit under a bar. Each box scrolls in its own room; its bottom padding clears the iPhone home bar. */
html.gc4 #gcPrev{position:absolute;inset:0;z-index:30;background:rgba(35,31,32,.5);align-items:flex-end;justify-content:stretch}
html.gc4 #gcPrev[hidden]{display:none}
html.gc4 #gcPrev .gc-prev-box{max-width:none;max-height:92%;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:20px 16px calc(16px + env(safe-area-inset-bottom,0px));border-radius:14px 14px 0 0}
html.gc4 #gcPrev .gp-cta{width:100%;min-height:56px;border:0;border-radius:8px;background:#C29D46;color:#231F20;font:700 14px 'League Spartan',Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase}
html.gc4 .gc-fld textarea{overflow:hidden;min-height:48px}   /* CC-ASK-13830: a note grows with its words (cpf-gift-steps.js), never a second scroll box inside the one that scrolls */
.gc4-sheet{position:absolute;inset:0;z-index:30;background:rgba(35,31,32,.5);display:flex;align-items:flex-end}
.gc4-sheet[hidden]{display:none}
.gc4-sheet-box{position:relative;width:100%;max-height:92%;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:#fff;border-radius:14px 14px 0 0;padding:20px 16px calc(16px + env(safe-area-inset-bottom,0px))}
.gc4-sheet-x{position:absolute;top:4px;right:4px}
.gc4-sheet h2{font-family:'Marcellus',Georgia,serif;font-weight:400;font-size:1.3rem;margin:0 36px 12px 0}
.gc4-coach{margin:10px 0 0;min-height:1.4em;font-size:14px;line-height:1.4;color:#4a453f}
.gc4-sheet .gc-grid{margin:0}
.gc4-sheet .gc-exist,html.gc4 .gc4-sheet .gc-exist{display:block;border:0;margin:0}   /* CC-ASK-13800 E: html.gc4 .gc-exist{display:none} (0,2,1) beat .gc4-sheet .gc-exist (0,2,0), so the resend form was hidden inside its own sheet */
.gc4-sheet .gc-exist>summary{display:none}
.gc4-sheet-box .gc-cta{width:100%;min-height:56px;background:#C29D46;color:#231F20;font-weight:700}
.gc4-sheet-box .gc-foot,html.gc4 .gc4-sheet-box .gc-foot{display:block}   /* CC-ASK-13800 E: same specificity slip as the resend form: html.gc4 .gc-foot{display:none} hid the SEND EXISTING CARD and Use this amount buttons inside their own sheets */
@media (prefers-reduced-motion:no-preference){.gc4-sheet-box{animation:gc4up .18s ease-out}@keyframes gc4up{from{transform:translateY(24px);opacity:.6}to{transform:none;opacity:1}}}
/* a row the page hides with the hidden attribute must stay hidden (.gc-ln sets display:flex, which beat the browser's own [hidden] rule) */
.gc-ln[hidden],.gc-before[hidden]{display:none}
/* the "software update" warning (cpf-debug.js) is a real promote notice: keep it above the frame, never hidden behind it */
html.gc4 #cpfUpBanner{position:fixed!important;top:0;left:0;right:0;z-index:2147483647}
/* review fix (Shawn, Nov 27 2026: "no coupons on gift cards"): the four-step page shows no coupon box. ?classic=1 keeps it for staff. */
html.gc4 #gcCouponRoll{display:none!important}

/* ── CC-ASK-13800 · brief 395 ─────────────────────────────────────────────────────────────────────────────────── */
/* H2: the section headers of steps 2 to 4 are shaded bands with a heavy rule above (Shawn Nov 27: "the line above the shaded section helps people understand the sections") */
html.gc4 .gc4-step:not([data-s="1"]) .gc-hd{display:block;margin:18px 0 0;padding:12px;background:#F3EEE3;border-top:2px solid #231F20;color:#231F20;opacity:1;font-size:12px;letter-spacing:.12em;font-weight:700}
html.gc4 .gc4-step:not([data-s="1"]) .gc-before{margin:18px 0 0;padding:0 4px 0 0;background:#F3EEE3;border-top:2px solid #231F20}
html.gc4 .gc4-step:not([data-s="1"]) .gc-before .gc-hd{margin:0;padding:12px;border:0;background:none}
/* step 3: each send choice says its price on the right */
html.gc4 .gc4-wp{margin-left:auto;max-width:46%;text-align:right;font-size:14px;font-weight:700;line-height:1.2;color:#7A5E1E}
html.gc4 .gc-when-opt small{white-space:normal}
/* C: the Good for strip, four of the farm's own pictures: one row on a desktop, two by two on a phone, no boxes */
html.gc4 .gc4-good .gc-hd{padding:18px 0 8px}
html.gc4 .gc4-good-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}
@media(min-width:520px){html.gc4 .gc4-good-row{grid-template-columns:repeat(4,minmax(0,1fr))}}
html.gc4 .gc4-tile img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;background:#F3EEE3}
html.gc4 .gc4-tile b{display:block;margin-top:6px;font-size:14px;line-height:1.2}
html.gc4 .gc4-tile small{display:block;margin-top:2px;font-size:12px;line-height:1.3;opacity:.75}
@media(max-width:819px){html.gc4 .gc4-tile img{aspect-ratio:16/9}}
/* D, I, J: two ways to wrap it. Faded on purpose: the creased fold sheet is for after the purchase. */
html.gc4 .gc4-ways .gc-hd{padding:18px 0 8px}
html.gc4 .gc4-ways-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
html.gc4 .gc4-way img,html.gc4 .gc4-teaser{display:block;width:100%;height:auto;opacity:.6;filter:blur(1.4px)}
html.gc4 .gc4-way b{display:block;margin-top:6px;font-size:14px}
html.gc4 .gc4-way small{display:block;font-size:12px;opacity:.75}
html.gc4 .gc4-ghost{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;margin:12px 0 0;border:1.5px solid #231F20;border-radius:8px;background:none;color:#231F20;font:700 13px 'League Spartan',Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase;cursor:pointer}
.gc4-seg{display:grid;grid-template-columns:1fr 1fr;margin:0 0 12px;border:1px solid #231F20}
.gc4-seg button{min-height:44px;border:0;background:none;color:#231F20;font:700 12px 'League Spartan',Arial,sans-serif;letter-spacing:.1em;text-transform:uppercase;cursor:pointer}
.gc4-seg button[aria-selected="true"]{background:#231F20;color:#fff}
html.gc4 .gc-opt small{white-space:normal;overflow:visible;text-overflow:clip}

/* CC-ASK-13880 (Shawn, Nov 28: "fit it all without scrolling ... take away a little of the spacing at the top"): STEP 4 only.
   The amount bar is gone here (the summary's first line already says the amount; Back and the step line still change it), and the
   spacing above and between the price lines is trimmed, so the price block, the terms and the first consent box show with BUY on one
   screen. Every consent box keeps its full wording (it wraps, never clips): the rest of them scroll under it. */
html.gc4[data-gc4-step="4"] .gc4-bar{display:none}
html.gc4[data-gc4-step="4"] .gc4-steps{padding-top:6px;padding-bottom:6px}
html.gc4[data-gc4-step="4"] .gc4-step[data-s="4"] .gc-hd{margin:10px 0 0;padding:8px 12px}
html.gc4[data-gc4-step="4"] .gc4-step[data-s="4"] .gc-before .gc-hd{margin:0;padding:8px 12px}
html.gc4[data-gc4-step="4"] .gc4-step[data-s="4"] .gc-ln{padding-top:5px;padding-bottom:5px;min-height:0}
html.gc4[data-gc4-step="4"] .gc4-step[data-s="4"] .gc-total{padding-top:8px;padding-bottom:8px}
html.gc4[data-gc4-step="4"] .gc4-step[data-s="4"] .gc-terms,html.gc4[data-gc4-step="4"] .gc4-step[data-s="4"] .gc-fine{font-size:12px;line-height:1.3;margin-top:4px}
html.gc4[data-gc4-step="4"] .gc4-step[data-s="4"] .gc-consent{padding-top:4px;padding-bottom:4px;line-height:1.25}
