/**
 * 97 GROWTH — the order panel
 *
 * Laid out to match the SMM panel our customers already order through:
 * platform tiles, search, category, service, link, quantity, average time,
 * charge, submit — in that order, on a blush surface with a coral selection
 * state and a warm CTA.
 *
 * Self-contained on purpose. It shares nothing with hub.css/style.css so the
 * dark tokens used by the rest of 97 World cannot leak in.
 */

:root {
    --g-bg: #EFE9E8;
    --g-surface: #FFFFFF;
    --g-surface-2: #FCF4F3;
    --g-ink: #131111;
    --g-ink-2: #3D3838;
    --g-muted: #7A7070;
    --g-faint: #A79E9E;
    --g-line: #F0DFDD;
    --g-line-2: #E4CFCC;

    /* coral marks what is selected; the warm gradient is the one CTA */
    --g-acc: #E0705C;
    --g-acc-hi: #D25E49;
    --g-acc-ink: #FFFFFF;
    --g-acc-soft: #FCEEEC;
    --g-acc-line: #F0C4BC;

    --fw-field: #FBEDEB;
    --fw-tile: #FDF4F3;
    --fw-cta-a: #E79433;
    --fw-cta-b: #D7791C;

    --g-warn: #B45309;
    --g-danger: #B91C1C;

    --g-r: 18px;
    --g-r-sm: 12px;
    --g-r-lg: 22px;

    --g-shadow: 0 1px 2px rgba(16, 16, 20, 0.04), 0 8px 24px -16px rgba(16, 16, 20, 0.18);
    --g-shadow-up: 0 2px 6px rgba(16, 16, 20, 0.06), 0 18px 40px -22px rgba(16, 16, 20, 0.28);

    --g-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --g-fast: 180ms;
    --g-mid: 260ms;
    --g-slow: 340ms;

    --g-head-h: 58px;

    --g-font-d: 'Cabinet Grotesk', 'Satoshi', system-ui, -apple-system, sans-serif;
    --g-font-b: 'Satoshi', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* JS toggles visibility with the hidden attribute on elements whose class
   also sets display — without this the class wins and "hidden" still shows. */
[hidden] { display: none !important; }

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    background: var(--g-bg);
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.growth {
    background: var(--g-bg);
    color: var(--g-ink);
    font-family: var(--g-font-b);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
}
body.growth.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

.g-wrap { width: 100%; max-width: 640px; margin: 0 auto; padding: 0 18px; }
@media (min-width: 1024px) { .g-wrap { max-width: 1080px; padding: 0 32px; } }

.g-sr {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ========================================================== 01 HEADER === */

.g-header {
    position: sticky; top: 0; z-index: 60;
    background: rgba(239, 233, 232, 0.88);
    border-bottom: 1px solid transparent;
    transition: height var(--g-mid) var(--g-ease),
                background var(--g-mid) var(--g-ease),
                border-color var(--g-mid) var(--g-ease);
}
@supports (backdrop-filter: blur(12px)) {
    .g-header { backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); }
}
.g-header-in {
    height: var(--g-head-h);
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    transition: height var(--g-mid) var(--g-ease);
}
.g-header.is-stuck { border-bottom-color: var(--g-line); background: rgba(239, 233, 232, 0.96); }
.g-header.is-stuck .g-header-in { height: 50px; }

.g-brand { display: flex; align-items: center; gap: 9px; font-family: var(--g-font-d); font-weight: 800; font-size: 1.02rem; letter-spacing: -0.02em; white-space: nowrap; }
.g-brand img { width: 24px; height: 24px; object-fit: contain; }
.g-head-right { display: flex; align-items: center; gap: 6px; }
.g-track-btn {
    padding: 8px 13px; border-radius: 100px;
    border: 1px solid var(--g-line-2); background: var(--g-surface);
    font-size: 0.82rem; font-weight: 700; white-space: nowrap;
    transition: border-color var(--g-fast) var(--g-ease), background var(--g-fast) var(--g-ease);
}
.g-track-btn:hover { border-color: var(--g-ink); }
.g-menu-btn {
    width: 38px; height: 38px; display: grid; place-items: center;
    border-radius: 10px; font-size: 1.05rem; color: var(--g-ink-2);
    transition: background var(--g-fast) var(--g-ease);
}
.g-menu-btn:hover { background: rgba(16,16,20,0.05); }

/* ============================================ 02 OPENING STATEMENT === */

/* padding-block only — a `padding` shorthand here would cancel the
   horizontal padding .g-wrap sets on the very same element */
.g-open { padding-top: 26px; padding-bottom: 4px; }
.g-open h1 {
    font-family: var(--g-font-d); font-weight: 800;
    font-size: clamp(1.65rem, 7vw, 2.15rem); line-height: 1.12; letter-spacing: -0.03em;
}
.g-open p { margin-top: 8px; font-size: 0.96rem; color: var(--g-muted); }

/* the header and the platform strip are both sticky — anything we scroll to
   has to clear them or it lands underneath */
.g-sec, .g-open, main section { scroll-margin-top: 112px; }
.g-sec { padding-top: 26px; padding-bottom: 26px; }
.g-sec-head { margin-bottom: 14px; }
.g-sec-head h2 {
    font-family: var(--g-font-d); font-weight: 800;
    font-size: clamp(1.18rem, 5vw, 1.5rem); letter-spacing: -0.02em; line-height: 1.2;
}
.g-sec-head p { margin-top: 5px; font-size: 0.88rem; color: var(--g-muted); }

.goal-cards { display: grid; gap: 9px; }
.goal-card {
    display: flex; align-items: flex-start; gap: 12px; width: 100%; text-align: left;
    padding: 15px; border-radius: var(--g-r);
    border: 1px solid var(--g-line); background: var(--g-surface);
    transition: border-color var(--g-fast) var(--g-ease), background var(--g-fast) var(--g-ease), box-shadow var(--g-fast) var(--g-ease);
}
.goal-card:active { transform: scale(0.99); }
.goal-card.is-on { border-color: var(--g-acc-line); background: var(--g-acc-soft); box-shadow: 0 0 0 1px var(--g-acc-line); }
.goal-card-copy { flex: 1; min-width: 0; }
.goal-card-copy b { display: block; font-size: 0.95rem; font-weight: 750; }
.goal-card-copy small { display: block; margin-top: 2px; font-size: 0.81rem; color: var(--g-muted); }
.goal-card-tick {
    flex: none; width: 20px; height: 20px; border-radius: 50%;
    border: 1.5px solid var(--g-line-2); display: grid; place-items: center;
    font-size: 0.58rem; color: transparent;
    transition: border-color var(--g-fast) var(--g-ease), background var(--g-fast) var(--g-ease), color var(--g-fast) var(--g-ease);
}
.goal-card.is-on .goal-card-tick { border-color: var(--g-acc); background: var(--g-acc); color: #fff; }

/* ============================================== 14 PRICE + 17 ACCT === */

.price-card {
    padding: 17px; border-radius: var(--g-r);
    border: 1px solid var(--g-line); background: var(--g-surface); box-shadow: var(--g-shadow);
}
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 0.88rem; color: var(--g-muted); }
.price-row + .price-row { margin-top: 7px; }
.price-row b { font-weight: 650; color: var(--g-ink-2); }
.price-sep { height: 1px; background: var(--g-line); margin: 13px 0; }
.price-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.price-total span { font-size: 0.92rem; font-weight: 700; }
.price-total b { font-family: var(--g-font-d); font-size: 1.6rem; font-weight: 800; letter-spacing: -0.025em; }

/* deposit now, balance later — split out from the total, not just implied */
.price-split { display: grid; gap: 8px; }
.price-split-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 0.85rem; }
.price-split-row span { display: flex; align-items: center; gap: 7px; color: var(--g-ink-2); }
.price-split-row span i { width: 14px; text-align: center; color: var(--g-muted); font-size: 0.8rem; }
.price-split-row b { font-family: var(--g-font-d); font-weight: 800; }
.price-split-row.is-now span, .price-split-row.is-now span i { color: var(--g-acc); }
.price-split-row.is-now b { color: var(--g-acc); }

.acct-list { display: grid; gap: 11px; }
.acct-field label { display: block; margin-bottom: 5px; font-size: 0.82rem; font-weight: 700; color: var(--g-ink-2); }
.acct-box { display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: var(--g-r-sm); border: 1px solid var(--g-line-2); background: var(--g-surface); transition: border-color var(--g-fast) var(--g-ease), box-shadow var(--g-fast) var(--g-ease); }
.acct-box:focus-within { border-color: var(--g-acc-line); box-shadow: 0 0 0 3px var(--g-acc-soft); }
.acct-box img { width: 18px; height: 18px; object-fit: contain; flex: none; }
.acct-box i { width: 18px; text-align: center; flex: none; color: var(--g-muted); }
.acct-box input { flex: 1; min-width: 0; height: 46px; border: none; outline: none; background: none; font-size: 0.92rem; }
.acct-field.is-bad .acct-box { border-color: var(--g-danger); }
.acct-err { margin-top: 5px; font-size: 0.79rem; color: var(--g-danger); }
.acct-note { margin-top: 10px; display: flex; align-items: center; gap: 7px; font-size: 0.8rem; color: var(--g-muted); }
.acct-note i { color: var(--g-acc); }
/* quick order carries its own submit — one CTA on screen, not two */

.g-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 22px; border-radius: 100px;
    background: var(--g-acc); color: var(--g-acc-ink);
    font-size: 0.95rem; font-weight: 750; white-space: nowrap;
    transition: background var(--g-fast) var(--g-ease), transform var(--g-fast) var(--g-ease), opacity var(--g-fast) var(--g-ease);
}
.g-btn:hover { background: var(--g-acc-hi); }
.g-btn:active { transform: scale(0.98); }
.g-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.g-btn--wide { width: 100%; }
.g-btn--ghost { background: var(--g-surface); color: var(--g-ink); border: 1px solid var(--g-line-2); }
.g-btn--ghost:hover { background: var(--g-surface-2); border-color: var(--g-ink); }
.g-btn--dark { background: var(--g-ink); color: #fff; }
.g-btn--dark:hover { background: #24242c; }

/* the number rolls, the bar does not */
.g-roll { display: inline-block; transition: opacity var(--g-fast) var(--g-ease), transform var(--g-fast) var(--g-ease); }
.g-roll.is-swap { opacity: 0; transform: translateY(-6px); }

/* ================================================= 19 ORDER REVIEW === */

.rev-list { display: grid; gap: 8px; }
.rev-row { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: var(--g-r-sm); border: 1px solid var(--g-line); background: var(--g-surface); }
.rev-mark {
    flex: none; width: 34px; height: 34px; border-radius: 10px;
    display: grid; place-items: center; overflow: hidden;
    background: var(--fw-tile); border: 1px solid var(--g-line);
    font-size: 0.95rem;
}
.rev-mark img { width: 21px; height: 21px; object-fit: contain; }
.rev-copy { flex: 1; min-width: 0; }
.rev-copy b { display: block; font-size: 0.9rem; font-weight: 750; }
.rev-copy small { display: block; margin-top: 1px; font-size: 0.78rem; color: var(--g-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rev-amt { flex: none; font-family: var(--g-font-d); font-size: 0.92rem; font-weight: 800; }
@media (min-width: 720px) { .pop-row { grid-template-columns: repeat(4, 1fr); } }

/* ============================================ 25/26 TRUST + PROOF === */

.trust-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
@media (min-width: 720px) { .trust-row { grid-template-columns: repeat(4, 1fr); } }
.trust-item {
    display: flex; align-items: center; gap: 9px;
    padding: 13px 14px; border-radius: var(--g-r-sm);
    border: 1px solid var(--g-line); background: var(--g-surface);
    font-size: 0.82rem; font-weight: 650;
}
.trust-item i { color: var(--g-acc); font-size: 0.88rem; flex: none; }

/* honest empty state — shown until there are real order screenshots to put
   here, same dashed-card language as the combo grid's "more" card */
.proof-empty {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    padding: 30px 22px; border-radius: var(--g-r); text-align: center;
    border: 1.5px dashed var(--g-line-2); background: var(--g-surface-2);
}
.proof-empty-ic {
    width: 46px; height: 46px; border-radius: 13px;
    display: grid; place-items: center;
    background: var(--g-acc-soft); color: var(--g-acc); font-size: 1.2rem;
}
.proof-empty p { max-width: 380px; font-size: 0.92rem; color: var(--g-ink-2); line-height: 1.55; }
.proof-empty .g-btn { margin-top: 4px; }

/* ============================================== 14b HOW IT WORKS === */

.steps { display: grid; gap: 10px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
    padding: 16px; border-radius: var(--g-r); border: 1px solid var(--g-line); background: var(--g-surface);
    transition: border-color var(--g-fast) var(--g-ease), background var(--g-fast) var(--g-ease);
}
.step-n { font-family: var(--g-font-d); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; color: var(--g-acc); }

/* /track/'s live status — a step in progress glows the accent, a finished
   one settles to a quiet check so the eye lands on what's actually next. */
.step.is-current { border-color: var(--g-acc-line); background: var(--g-acc-soft); }
.step.is-done { border-color: var(--g-line-2); }
.step.is-done .step-n::after { content: ' \2713'; color: var(--g-acc); }
@media(prefers-reduced-motion: reduce) { .step { transition: none !important; } }
.step b { display: block; margin-top: 6px; font-size: 0.98rem; font-weight: 750; }
.step p { margin-top: 4px; font-size: 0.84rem; color: var(--g-muted); }

/* ======================================================== 15 FAQ === */

.g-faq { display: grid; gap: 8px; }
.g-faq details { border-radius: var(--g-r-sm); border: 1px solid var(--g-line); background: var(--g-surface); overflow: hidden; }
.g-faq summary {
    padding: 15px 16px; cursor: pointer; list-style: none;
    font-size: 0.92rem; font-weight: 700;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.g-faq summary::-webkit-details-marker { display: none; }
.g-faq summary::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 0.7rem; color: var(--g-muted); transition: transform var(--g-mid) var(--g-ease); }
.g-faq details[open] summary::after { transform: rotate(180deg); }
.g-faq .faq-a { padding: 0 16px 15px; font-size: 0.87rem; color: var(--g-muted); }

/* ===================================================== 16 FOOTER === */

.g-footer { margin-top: 8px; padding-top: 26px; padding-bottom: 34px; border-top: 1px solid var(--g-line); }
.g-foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.84rem; }
.g-foot-links a { color: var(--g-ink-2); }
.g-foot-links a:hover { color: var(--g-acc); }
.g-foot-note { margin-top: 14px; font-size: 0.78rem; color: var(--g-faint); }

/* =============================================== BOTTOM SHEETS === */

.sheet {
    position: fixed; inset: 0; z-index: 90;
    display: flex; align-items: flex-end; justify-content: center;
    background: rgba(16, 16, 20, 0.34);
    opacity: 0; visibility: hidden;
    transition: opacity var(--g-mid) var(--g-ease), visibility var(--g-mid) var(--g-ease);
}
.sheet.is-open { opacity: 1; visibility: visible; }
.sheet-card {
    width: 100%; max-width: 640px; max-height: 88vh; overflow-y: auto;
    background: var(--g-surface);
    border-radius: var(--g-r-lg) var(--g-r-lg) 0 0;
    padding: 10px 18px calc(22px + env(safe-area-inset-bottom, 0px));
    transform: translateY(100%);
    transition: transform var(--g-slow) var(--g-ease);
}
.sheet.is-open .sheet-card { transform: translateY(0); }
.sheet-grab { width: 38px; height: 4px; border-radius: 100px; background: var(--g-line-2); margin: 4px auto 14px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sheet-head h2 { font-family: var(--g-font-d); font-size: 1.1rem; font-weight: 800; letter-spacing: -0.02em; }
.sheet-close { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--g-muted); }
.sheet-close:hover { background: rgba(16,16,20,0.06); }

/* ==================================================== MOTION === */

.r-up { opacity: 0; transform: translateY(10px); transition: opacity var(--g-slow) var(--g-ease), transform var(--g-slow) var(--g-ease); }
.r-up.is-in { opacity: 1; transform: none; }

.swap-in { animation: gSwap var(--g-mid) var(--g-ease); }
@keyframes gSwap { from { opacity: 0; transform: translateY(10px); } }

/* ---- a step that has just become answerable arrives, it doesn't appear --- */
/* ---- a step that has just become answerable arrives,it doesn't appear --- */
.g-sec[id]:not([hidden]) > .g-sec-head { animation: gStep var(--g-mid) var(--g-ease); }
@keyframes gStep { from { opacity: 0; transform: translate3d(0, 8px, 0); } }

/* ---- combo unlock: the pips fill left to right, then the card settles --- */
/* the reward is the price change, so that is what gets the one-shot ring */
/* ---- selection feedback: an immediate answer to a press --- */
.goal-card, .g-btn {
    -webkit-tap-highlight-color: transparent;
}
.goal-card:active { transform: scale(0.99); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .r-up { opacity: 1; transform: none; }
}

@media(prefers-reduced-motion: reduce) {
}

.qo-desc {
    margin-top: 13px; padding: 13px 15px;
    border-radius: var(--g-r-sm);
    background: var(--g-surface-2); border: 1px solid var(--g-line);
    animation: gStep var(--g-mid) var(--g-ease);
}
.qo-desc-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; font-size: 0.83rem; }
.qo-desc-row + .qo-desc-row { margin-top: 6px; }
.qo-desc-row span { color: var(--g-muted); flex: none; }
.qo-desc-row b { font-weight: 650; text-align: right; }

.qo-minmax { margin-top: 6px; font-size: 0.78rem; color: var(--g-muted); }

/* ==========================================================================
   COMBOS — the real named packages from the price list
   ========================================================================== */

.combo-kicker {
    display: inline-flex; align-items: center; gap: 7px; margin-bottom: 7px;
    padding: 5px 12px; border-radius: 100px;
    background: var(--g-acc-soft); border: 1px solid var(--g-acc-line);
    color: var(--g-acc); font-size: 0.68rem; font-weight: 800;
    letter-spacing: 0.08em; text-transform: uppercase;
}
.combo-kicker i { font-size: 0.7rem; }

.combo-grid { display: grid; gap: 12px; }
@media (min-width: 620px) { .combo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .combo-grid { grid-template-columns: repeat(3, 1fr); } }

.combo-item {
    position: relative; display: flex; flex-direction: column; gap: 10px;
    padding: 20px; border-radius: var(--g-r);
    border: 1px solid var(--g-line); background: var(--g-surface);
    transition: border-color var(--g-fast) var(--g-ease),
                box-shadow var(--g-fast) var(--g-ease),
                transform var(--g-fast) var(--g-ease);
}
@media (hover: hover) {
    .combo-item:hover { border-color: var(--g-acc-line); box-shadow: var(--g-shadow); transform: translateY(-3px); }
}
.combo-item:active { transform: scale(0.99); }
.combo-item.has-tag { padding-top: 30px; }

/* the flagship picks get a warm wash instead of a flat white card, same
   "featured plan" treatment the rest of the site already uses (hub.css's
   .offer-card.is-hero) — reused, not reinvented */
.combo-item.is-hero {
    border-color: var(--g-acc-line);
    background: linear-gradient(165deg, var(--g-acc-soft), var(--g-surface) 60%);
    box-shadow: 0 0 0 1px var(--g-acc-line);
}
@media (hover: hover) {
    .combo-item.is-hero:hover { box-shadow: 0 0 0 1px var(--g-acc-line), var(--g-shadow); }
}

.combo-tag {
    position: absolute; top: 0; right: 0;
    padding: 4px 11px;
    border-bottom-left-radius: 12px; border-top-right-radius: var(--g-r);
    background: var(--g-ink); color: #fff;
    font-size: 0.6rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase;
}

/* which real platforms this bundle touches, shown as small brand-coloured
   marks rather than buried in the checklist text */
.combo-marks { display: flex; gap: 6px; }
.combo-mark {
    width: 30px; height: 30px; border-radius: 9px;
    display: grid; place-items: center; overflow: hidden;
    background: var(--fw-tile); border: 1px solid var(--g-line);
    font-size: 0.92rem;
}
.combo-mark img { width: 19px; height: 19px; object-fit: contain; }

.combo-item-name { font-family: var(--g-font-d); font-size: 1.08rem; font-weight: 800; letter-spacing: -0.02em; }
.combo-item.has-tag .combo-item-name { padding-right: 68px; }

.combo-lines {
    display: grid; gap: 7px;
    padding-top: 10px; border-top: 1px solid var(--g-line);
}
.combo-line { display: flex; align-items: flex-start; gap: 9px; font-size: 0.85rem; color: var(--g-ink-2); line-height: 1.4; }
.combo-line i { width: 15px; text-align: center; flex: none; font-size: 0.8rem; margin-top: 3px; color: var(--g-muted); }
.combo-line.is-gold { color: var(--g-ink); font-weight: 700; }
.combo-line.is-gold i { color: var(--g-acc); }

.combo-item-foot {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 10px;
    margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--g-line-2);
}
.combo-item-price-wrap { display: flex; flex-direction: column; gap: 4px; }
.combo-item-price { font-family: var(--g-font-d); font-size: 1.28rem; font-weight: 800; color: var(--g-ink); letter-spacing: -0.02em; }
.combo-item-was-row { display: flex; align-items: center; gap: 7px; }
.combo-item-was { font-family: var(--g-font-b); font-size: 0.78rem; font-weight: 500; color: var(--g-faint); }
.combo-item-save {
    padding: 2px 8px; border-radius: 100px;
    background: var(--g-acc-soft); color: var(--g-acc);
    font-size: 0.66rem; font-weight: 800;
}
.combo-item-go {
    display: inline-flex; align-items: center; gap: 6px; flex: none;
    padding: 9px 15px; border-radius: 100px;
    background: var(--g-acc); color: #fff;
    font-size: 0.8rem; font-weight: 800; white-space: nowrap;
    transition: transform var(--g-fast) var(--g-ease), box-shadow var(--g-fast) var(--g-ease);
}
.combo-item-go i { transition: transform var(--g-fast) var(--g-ease); }
@media (hover: hover) {
    .combo-item:hover .combo-item-go { box-shadow: 0 8px 18px -10px var(--g-acc); }
    .combo-item:hover .combo-item-go i { transform: translateX(3px); }
}

/* trailing card: the other 2 bundles. A single cell on mobile; once the
   grid goes multi-column it would otherwise sit alone with empty cells
   beside it, so it spans full width and lays out as a banner instead. */
.combo-more {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    padding: 24px 18px; border-radius: var(--g-r); text-align: center;
    border: 1.5px dashed var(--g-line-2); background: var(--g-surface-2);
    transition: border-color var(--g-fast) var(--g-ease), transform var(--g-fast) var(--g-ease);
}
@media (hover: hover) {
    .combo-more:hover { border-color: var(--g-acc-line); transform: translateY(-3px); }
}
.combo-more:active { transform: scale(0.99); }
.combo-more-ic {
    width: 42px; height: 42px; margin-bottom: 6px; border-radius: 12px;
    display: grid; place-items: center;
    background: var(--g-acc-soft); color: var(--g-acc); font-size: 1.1rem;
}
.combo-more-copy { display: flex; flex-direction: column; gap: 2px; }
.combo-more-title { font-family: var(--g-font-d); font-weight: 800; font-size: 1rem; color: var(--g-ink); }
.combo-more-sub { font-size: 0.82rem; color: var(--g-ink-2); }
.combo-more-go {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
    font-size: 0.82rem; font-weight: 800; color: var(--g-acc);
}
@media (min-width: 620px) {
    .combo-more {
        grid-column: 1 / -1; flex-direction: row; justify-content: center;
        gap: 16px; padding: 20px 24px;
    }
    .combo-more-ic { margin-bottom: 0; }
    .combo-more-copy { text-align: left; }
    .combo-more-go { margin-top: 0; margin-left: 10px; }
}

@media(prefers-reduced-motion: reduce) {
    .qo-desc { animation: none !important; }
    .combo-item, .combo-more, .combo-item-go, .combo-item-go i {
        transition: none !important; transform: none !important;
    }
}

/* ==========================================================================
   THE ORDER PANEL
   Matches the panel layout our customers already order through: platform
   tiles, search, category, service, link, quantity with its min/max, the
   average start window, the charge, and one submit.

   Where it departs, it departs on purpose:
   - No service IDs or supplier strings in the Service list. Those describe
     where we buy, not what is being bought, and ours are not mapped yet —
     printing one would mean inventing it.
   - Average time is the honest window we quote everywhere else rather than
     a to-the-minute figure, because nothing reports per-service timing to
     us yet.
   - A typed quantity snaps to the nearest tier the price list actually
     sells, and says so, since there is no per-1000 rate to multiply.
   ========================================================================== */

.fw-card {
    padding: 16px; border-radius: var(--g-r);
    background: var(--g-surface); border: 1px solid var(--g-line);
    box-shadow: var(--g-shadow);
}

/* ---- platform tiles ---- */
/* 3 across instead of 4 — bigger targets, and the logos (TikTok included,
   now that it's cropped to just the mark) actually read at this size. */
.fw-plats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.fw-tile {
    position: relative; display: grid; place-items: center;
    height: 76px; border-radius: 18px;
    background: var(--fw-tile); border: 1px solid var(--g-line);
    color: var(--g-ink-2); font-size: 1.65rem;
    box-shadow: 0 1px 2px rgba(19, 17, 17, 0.04);
    transition: background var(--g-fast) var(--g-ease),
                border-color var(--g-fast) var(--g-ease),
                box-shadow var(--g-fast) var(--g-ease),
                transform var(--g-fast) var(--g-ease);
}
.fw-tile img { width: 34px; height: 34px; object-fit: contain; transition: filter var(--g-fast) var(--g-ease); }
.fw-tile:hover { border-color: var(--g-line-2); transform: translateY(-1px); box-shadow: 0 8px 18px -12px rgba(19, 17, 17, 0.22); }
.fw-tile:active { transform: scale(0.96); }

/* Selected glows gold — a deliberate step up from the coral used everywhere
   else on the page, so "this is your pick" reads as a small reward, not
   just a state change. Never fills solid or inverts the icon, so a real
   logo (or a brand-coloured glyph) keeps its own colour selected or not.
   .fw-tile.is-on is rendered fresh into the DOM on every pick (renderTiles
   replaces innerHTML), so the pop + ring below auto-play on each selection
   without any extra JS trigger. */
.fw-tile.is-on {
    background: linear-gradient(165deg, #FFF9EC 0%, #FFEFCF 100%);
    border-color: #E7B65B;
    color: #A96A0A;
    box-shadow: 0 0 0 3px rgba(231, 148, 51, 0.18), 0 0 0 1px #E7B65B, 0 12px 26px -14px rgba(199, 118, 10, 0.55);
    animation: fwGoldPop 460ms var(--g-ease);
}
.fw-tile.is-on img { filter: drop-shadow(0 3px 10px rgba(199, 118, 10, 0.35)); }
.fw-tile.is-on::after {
    content: ''; position: absolute; inset: -6px; border-radius: 24px;
    border: 1.5px solid #E7B65B; opacity: 0; pointer-events: none;
    animation: fwGoldRing 620ms var(--g-ease);
}
@keyframes fwGoldPop {
    0% { transform: scale(0.92); }
    55% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
@keyframes fwGoldRing {
    from { opacity: 0.6; transform: scale(0.9); }
    to { opacity: 0; transform: scale(1.2); }
}

/* corner cue for the two shortcut tiles (Website links out, Snapchat opens
   WhatsApp) so tapping them doesn't feel like a silent platform switch */
.fw-tile-badge {
    position: absolute; top: -5px; right: -5px; z-index: 1;
    width: 17px; height: 17px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--g-surface); border: 1px solid var(--g-line);
    font-size: 0.56rem; color: var(--g-ink-2);
}

/* ---- search ---- */
.fw-search { position: relative; margin-top: 14px; }
.fw-search i {
    position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
    color: var(--g-muted); font-size: 0.9rem; pointer-events: none;
}
.fw-search input {
    width: 100%; height: 52px; padding: 0 16px 0 42px;
    border-radius: var(--g-r-sm); border: 1px solid transparent;
    background: var(--fw-field); color: var(--g-ink);
    font-size: 0.95rem; outline: none;
    transition: border-color var(--g-fast) var(--g-ease);
}
.fw-search input::placeholder { color: var(--g-muted); }
.fw-search input:focus { border-color: var(--g-acc-line); }

.fw-results { margin-top: 8px; display: grid; gap: 6px; max-height: 260px; overflow-y: auto; }
.fw-res {
    display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
    padding: 11px 13px; border-radius: var(--g-r-sm);
    background: var(--fw-tile); border: 1px solid var(--g-line);
    transition: border-color var(--g-fast) var(--g-ease);
}
.fw-res:hover { border-color: var(--g-acc-line); }
.fw-res img { width: 18px; height: 18px; object-fit: contain; flex: none; }
.fw-res i { width: 18px; text-align: center; flex: none; }
.fw-res span { flex: 1; min-width: 0; font-size: 0.86rem; font-weight: 600; }
.fw-res b { flex: none; font-size: 0.82rem; color: var(--g-acc); }

/* ---- fields ---- */
.fw-field { margin-top: 16px; }
.fw-field > label {
    display: block; margin-bottom: 7px;
    font-size: 1rem; font-weight: 800; letter-spacing: -0.01em; color: var(--g-ink);
}
.fw-field > label i { margin-left: 5px; font-size: 0.8rem; color: var(--g-ink); vertical-align: baseline; }

.fw-input {
    width: 100%; height: 56px; padding: 0 16px;
    border-radius: var(--g-r-sm); border: 1px solid transparent;
    background: var(--fw-field); color: var(--g-ink);
    font-size: 0.98rem; font-weight: 600; outline: none;
    transition: border-color var(--g-fast) var(--g-ease);
}
.fw-input:focus { border-color: var(--g-acc-line); }
.fw-field.is-bad .fw-input { border-color: var(--g-danger); box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.1); }
.fw-err { margin-top: 6px; font-size: 0.8rem; color: var(--g-danger); }

/* a one-shot nudge the moment a typed amount goes out of range — not a
   loop, see shake() in app.js */
@keyframes fwShake {
    10%, 90% { transform: translateX(-1px); }
    20%, 80% { transform: translateX(2px); }
    30%, 50%, 70% { transform: translateX(-4px); }
    40%, 60% { transform: translateX(4px); }
}
.fw-field.is-shake .fw-input { animation: fwShake 420ms var(--g-ease); }

/* readonly display fields — average time and charge */
.fw-readonly {
    display: flex; align-items: center;
    width: 100%; min-height: 56px; padding: 0 16px;
    border-radius: var(--g-r-sm); background: var(--fw-field);
    font-size: 0.98rem; font-weight: 600; color: var(--g-ink-2);
}
.fw-readonly.is-charge { font-family: var(--g-font-d); font-size: 1.2rem; font-weight: 800; color: var(--g-ink); }

.fw-minmax { margin-top: 8px; font-size: 0.86rem; color: var(--g-ink-2); }
.fw-snap { margin-top: 6px; font-size: 0.8rem; color: var(--g-acc); font-weight: 650; }
.fw-snap.is-danger { color: var(--g-danger); }
.fw-snap.is-danger::before { content: '\f071'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 0.85em; margin-right: 5px; }
.fw-desc { margin-top: 8px; font-size: 0.86rem; color: var(--g-ink-2); line-height: 1.5; }
.fw-desc:empty { display: none; }

.fw-submit {
    width: 100%; height: 58px; margin-top: 20px;
    border-radius: var(--g-r-sm);
    background: linear-gradient(180deg, var(--fw-cta-a), var(--fw-cta-b));
    color: #fff; font-size: 1.08rem; font-weight: 800; letter-spacing: -0.01em;
    box-shadow: 0 8px 20px -12px var(--fw-cta-b);
    transition: filter var(--g-fast) var(--g-ease), transform var(--g-fast) var(--g-ease);
}
.fw-submit:hover { filter: brightness(1.05); }
.fw-submit:active { transform: scale(0.99); }

@media(prefers-reduced-motion: reduce) {
    .fw-tile, .fw-submit, .fw-input { transition: none !important; }
    .fw-tile:active, .fw-submit:active, .fw-tile:hover { transform: none !important; }
    .fw-tile.is-on { animation: none !important; }
    .fw-tile.is-on::after { display: none !important; }
}

/* ==========================================================================
   COMBOBOX — the searchable selector
   A native <select> cannot show an icon, a price, or let you type to filter,
   and on a long service list that is the difference between finding a thing
   and scrolling for it. This is the control panels actually use: a button
   that opens a filtered, keyboard-driven listbox.

   Keyboard: ↑/↓ move, Enter picks, Esc closes and returns focus to the
   button. The search input carries role=combobox and aria-activedescendant
   so a screen reader follows the highlight.
   ========================================================================== */

.fw-combo { position: relative; }

.fw-combo-btn {
    display: flex; align-items: center; gap: 12px;
    width: 100%; height: 60px; padding: 0 14px;
    border-radius: 14px; border: 1.5px solid var(--g-line-2);
    background: var(--g-surface); color: var(--g-ink);
    font-size: 0.98rem; font-weight: 600; text-align: left;
    box-shadow: 0 1px 2px rgba(19, 17, 17, 0.03);
    transition: border-color var(--g-fast) var(--g-ease), box-shadow var(--g-fast) var(--g-ease),
                transform var(--g-fast) var(--g-ease);
}
.fw-combo-btn:hover { border-color: var(--g-acc-line); }
.fw-combo-btn:active { transform: scale(0.99); }
.fw-combo.is-open .fw-combo-btn {
    border-color: var(--g-acc);
    box-shadow: 0 0 0 4px var(--g-acc-soft);
}
.fw-combo-val { display: flex; align-items: center; gap: 11px; flex: 1; min-width: 0; }
.fw-combo-val > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: -0.01em; }
.fw-combo-val img,
.fw-combo-val > i {
    flex: none; width: 34px; height: 34px; border-radius: 10px;
    background: var(--fw-tile);
    display: flex; align-items: center; justify-content: center;
    transition: background var(--g-fast) var(--g-ease);
}
.fw-combo-val img { object-fit: contain; padding: 7px; box-sizing: border-box; }
.fw-combo-val > i { font-size: 1.05rem; }
.fw-combo.is-open .fw-combo-val img,
.fw-combo.is-open .fw-combo-val > i { background: var(--g-acc-soft); }
.fw-combo-meta {
    flex: none; font-size: 0.78rem; font-weight: 800; color: var(--g-acc);
    background: var(--g-acc-soft); padding: 5px 10px; border-radius: 999px;
    letter-spacing: -0.01em;
}
.fw-combo-meta:empty { display: none; }
.fw-combo-caret {
    flex: none; width: 26px; height: 26px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.68rem; color: var(--g-ink-2); background: transparent;
    transition: transform var(--g-mid) var(--g-ease), background var(--g-fast) var(--g-ease), color var(--g-fast) var(--g-ease);
}
.fw-combo.is-open .fw-combo-caret { transform: rotate(180deg); background: var(--g-acc-soft); color: var(--g-acc); }

.fw-combo-pop {
    position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 8px);
    border-radius: 16px;
    background: var(--g-surface); border: 1px solid var(--g-line-2);
    box-shadow: 0 2px 8px rgba(19, 17, 17, 0.05), 0 20px 48px -18px rgba(19, 17, 17, 0.32);
    overflow: hidden;
    transform-origin: top center;
    animation: fwPop var(--g-mid) var(--g-ease);
}
@keyframes fwPop { from { opacity: 0; transform: translateY(-8px) scale(0.97); } }
.fw-combo-pop.is-up { top: auto; bottom: calc(100% + 8px); transform-origin: bottom center; animation-name: fwPopUp; }
@keyframes fwPopUp { from { opacity: 0; transform: translateY(8px) scale(0.97); } }

.fw-combo-search { position: relative; padding: 10px; border-bottom: 1px solid var(--g-line); }
.fw-combo-search i {
    position: absolute; left: 26px; top: 50%; transform: translateY(-50%);
    font-size: 0.8rem; color: var(--g-muted); pointer-events: none;
}
.fw-combo-search input {
    width: 100%; height: 42px; padding: 0 14px 0 38px;
    border: 1px solid transparent; border-radius: 10px; outline: none;
    background: var(--g-surface-2); color: var(--g-ink);
    font-size: 0.92rem;
    transition: border-color var(--g-fast) var(--g-ease), background var(--g-fast) var(--g-ease);
}
.fw-combo-search input:focus { border-color: var(--g-acc-line); background: var(--g-surface); }
.fw-combo-search input::placeholder { color: var(--g-muted); }

.fw-combo-pop:focus, .fw-combo-list:focus { outline: none; }
.fw-combo-list {
    list-style: none; max-height: 264px; overflow-y: auto; overscroll-behavior: contain;
    padding: 6px; scrollbar-width: thin; scrollbar-color: var(--g-line-2) transparent;
}
.fw-combo-list::-webkit-scrollbar { width: 7px; }
.fw-combo-list::-webkit-scrollbar-thumb { background: var(--g-line-2); border-radius: 999px; }
.fw-combo-list::-webkit-scrollbar-track { background: transparent; }

.fw-opt {
    display: flex; align-items: center; gap: 11px;
    padding: 10px 10px; cursor: pointer;
    font-size: 0.92rem; font-weight: 600;
    border-radius: 11px;
    transition: background var(--g-fast) var(--g-ease), transform var(--g-fast) var(--g-ease);
}
.fw-opt img,
.fw-opt > i:first-child {
    flex: none; width: 28px; height: 28px; border-radius: 8px;
    background: var(--fw-tile);
    display: flex; align-items: center; justify-content: center;
}
.fw-opt img { object-fit: contain; padding: 5px; box-sizing: border-box; }
.fw-opt-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fw-opt-meta { flex: none; font-size: 0.8rem; font-weight: 700; color: var(--g-muted); }
.fw-opt:active { transform: scale(0.985); }
.fw-opt.is-active { background: var(--fw-tile); }
.fw-opt.is-sel { background: var(--g-acc-soft); }
.fw-opt.is-sel img,
.fw-opt.is-sel > i:first-child { background: var(--g-surface); }
.fw-opt.is-sel .fw-opt-label { color: var(--g-acc-hi); }
.fw-opt.is-sel .fw-opt-meta { color: var(--g-acc); }
.fw-opt-tick {
    flex: none; width: 20px; height: 20px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.62rem; color: var(--g-acc-ink); background: var(--g-acc);
    opacity: 0; transform: scale(0.5);
    transition: opacity var(--g-fast) var(--g-ease), transform var(--g-fast) var(--g-ease);
}
.fw-opt.is-sel .fw-opt-tick { opacity: 1; transform: scale(1); }

.fw-combo-empty { padding: 30px 14px; text-align: center; font-size: 0.86rem; color: var(--g-muted); }
.fw-combo-empty::before {
    content: '\f002'; display: block; margin: 0 auto 8px; opacity: 0.45;
    font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 1.3rem; color: var(--g-faint);
}

@media(prefers-reduced-motion: reduce) {
    .fw-combo-pop { animation: none !important; }
    .fw-combo-caret, .fw-combo-btn, .fw-opt, .fw-opt-tick, .fw-combo-val img, .fw-combo-val > i { transition: none !important; }
    .fw-combo-btn:active, .fw-opt:active { transform: none !important; }
}
