/* Build-A-Box checkout step (js/final-checkout.js). Uses the builder's own colors and type so it reads as one piece. */
.fco-wrap{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:flex-end;justify-content:center;background:rgba(46,15,42,.5);animation:fco-fade .25s ease-out}
.fco-sheet{position:relative;width:100%;max-width:520px;max-height:92vh;max-height:92dvh;overflow-y:auto;overscroll-behavior:contain;background:#fdf8f0;color:#4a1942;border-radius:26px 26px 0 0;padding:22px 18px calc(18px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:12px;font-family:"DM Sans",system-ui,-apple-system,"Segoe UI",sans-serif;font-size:16px;line-height:1.45;box-shadow:0 -18px 50px rgba(46,15,42,.28);animation:fco-rise .38s cubic-bezier(.2,.9,.25,1)}
@media (min-width:700px){.fco-wrap{align-items:center}.fco-sheet{border-radius:26px}}
.fco-title{font-family:"Glaze Display",Georgia,"Times New Roman",serif;font-weight:400;font-size:26px;line-height:1.1;margin:0 44px 0 0}
.fco-x{position:absolute;top:12px;right:12px;width:44px;height:44px;border-radius:50%;border:0;background:#efe6d8;color:#4a1942;font-size:24px;line-height:1;cursor:pointer}
.fco-bonbon{margin:0;align-self:flex-start;max-width:92%;background:#fff;border:1px solid #efe6d8;border-radius:20px 20px 20px 6px;padding:10px 14px;box-shadow:0 2px 8px rgba(74,25,66,.06);animation:fco-pop .45s .12s cubic-bezier(.2,1.3,.4,1) both}
.fco-label{margin:4px 0 -4px;font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#8a6b1e}
.fco-chips{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 6px;scrollbar-width:none}.fco-chips::-webkit-scrollbar{display:none}
.fco-chip{flex:0 0 auto;min-width:68px;min-height:56px;padding:8px 12px;border-radius:16px;border:2px solid #efe6d8;background:#fff;color:#4a1942;font:inherit;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;transition:transform .14s,border-color .2s,background .2s}
.fco-chip small{font-size:12px;color:#7a6670}.fco-chip--wide{flex:1 1 0;min-width:140px}
.fco-chip[aria-checked="true"]{border-color:#d4a843;background:#fbf1d6;transform:translateY(-2px)}
.fco-chip:active{transform:scale(.97)}
.fco-total{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:4px 0 0;padding-top:12px;border-top:1px dashed #d9cdb8}
.fco-total b{font-family:"Glaze Display",Georgia,serif;font-weight:400;font-size:26px}
.fco-note{margin:0;font-size:14px;color:#7a6670}
.fco-msg{margin:0;min-height:1.2em;font-size:14px;font-weight:700;color:#9a2f2f}
.fco-cta{display:flex;align-items:center;justify-content:center;min-height:54px;border-radius:999px;border:0;background:#4a1942;color:#fdf8f0;font:inherit;font-weight:800;text-decoration:none;cursor:pointer;transition:transform .12s,opacity .2s}
.fco-cta:active{transform:scale(.97)}.fco-cta:disabled{opacity:.6}
.fco-back{min-height:44px;border:0;background:none;color:#4a1942;font:inherit;text-decoration:underline;cursor:pointer}
.fco-sheet :focus-visible{outline:3px solid #d4a843;outline-offset:2px}
html.fco-open{overflow:hidden}
@keyframes fco-fade{from{opacity:0}}@keyframes fco-rise{from{transform:translateY(40px);opacity:0}}@keyframes fco-pop{from{transform:scale(.9);opacity:0}}
@media (prefers-reduced-motion:reduce){.fco-wrap,.fco-sheet,.fco-bonbon{animation:none}.fco-chip{transition:none}}

/* BonBon beside the bubble, as everywhere else on the site */
.fco-bb { display: flex; align-items: flex-end; gap: 8px; }
.fco-bb .fco-bonbon { flex: 1; margin: 0; }
.fco-bb-face { flex: none; width: 44px; height: 44px; border-radius: 50%; animation: fco-bob 3.2s ease-in-out 2; }
@keyframes fco-bob { 50% { transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .fco-bb-face { animation: none; } }

/* Delivery ZIP in the Build-A-Box checkout sheet */
.fco-zip { display: grid; gap: 6px; }
.fco-zip input { font: inherit; font-size: 18px; letter-spacing: .08em; padding: 12px 14px; min-height: 48px; border-radius: 14px; border: 1px solid #e7dccb; background: #fff; color: #2D1928; width: 9em; }
.fco-zip input:focus { outline: 2px solid #D4A843; outline-offset: 2px; }
.fco-chips{flex-shrink:0}

/* Delivery address in the sheet: street, unit, then city and ZIP side by side */
.fco-addr { display: grid; grid-template-columns: 1fr 7em; gap: 10px; flex-shrink: 0; }
.fco-addr .fco-a-street, .fco-addr .fco-a-unit { grid-column: 1 / -1; }
.fco-addr .fco-zip input { width: 100%; box-sizing: border-box; letter-spacing: 0; font-size: 16px; }

/* The hold card: shown only after Pay, when someone comes back from Stripe without paying (js/final-checkout.js).
   Porcelain card, gold hairline, split-flap minutes. The clock is the server's deadline; it never restarts. */
.fco-hold{position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:2147482000;max-width:460px;margin:0 auto;display:flex;flex-direction:column;gap:10px;padding:16px 16px 12px;border-radius:22px;background:#fdf8f0;color:#4a1942;font-family:"DM Sans",system-ui,-apple-system,"Segoe UI",sans-serif;font-size:15px;line-height:1.45;border:1px solid rgba(212,168,67,.55);box-shadow:0 0 0 4px #fdf8f0,0 0 0 5px rgba(212,168,67,.35),0 18px 44px rgba(46,15,42,.24);animation:fco-rise .42s cubic-bezier(.2,.9,.25,1)}
.fco-hold--out{transition:transform .3s,opacity .3s;transform:translateY(24px);opacity:0}
.fco-hold-row{display:flex;justify-content:center}
.fco-hold-clock{display:flex;align-items:center;gap:6px;margin:0;font-family:"Glaze Display",Georgia,serif;color:#4a1942}
.fco-hold-clock span{display:inline-block;min-width:1.4em;padding:4px 6px 2px;font-size:30px;line-height:1;text-align:center;border-radius:8px;background:linear-gradient(#fff 0 49%,#f4ecdd 50% 100%);border:1px solid #e7dccb;box-shadow:inset 0 -1px 0 rgba(212,168,67,.35);font-variant-numeric:tabular-nums}
.fco-hold-clock i{font-style:normal;font-size:24px;color:#b88d2a}
.fco-hold-clock small{margin-left:8px;font-family:"DM Sans",system-ui,sans-serif;font-size:13px;font-weight:700;letter-spacing:.04em;color:#8a6b1e}
.fco-hold .fco-cta.is-off{opacity:.55;pointer-events:none}
.fco-hold :focus-visible{outline:3px solid #d4a843;outline-offset:2px}
.fco-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (prefers-reduced-motion:reduce){.fco-hold,.fco-hold--out{animation:none;transition:none}}
