/* Rouge Kids checkout: email, delivery, bank transfer, order placed */
:root { --ok: #2f7d5b; --mib: #0d7a52; --bk: var(--red); }
.co-back { align-self: flex-start; border: 0; background: none; padding: 0; color: var(--muted); font-weight: 600; font-size: 13px; }
.co-steps { display: flex; flex-direction: column; gap: 6px; }
.co-bars { display: flex; gap: 6px; }
.co-bars span { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
.co-bars span.on { background: var(--red); }
.co-labels { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.co-h { font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.15; margin: 0; text-wrap: balance; }
.co-free { color: var(--ok); font-weight: 700; }
.co-free-note { margin: 0; background: var(--chip); border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.co-chip { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
/* pin */
.co-pinbtn { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 1.5px dashed var(--line); background: var(--surface); border-radius: 12px; padding: 12px 14px; }
.co-pinbtn b { display: block; font-size: 14px; }
.co-pinbtn small { color: var(--muted); font-size: 12.5px; }
.co-pin-i { width: 36px; height: 36px; border-radius: 50%; background: #fde9e7; color: var(--red); display: grid; place-items: center; flex: none; }
.co-pinset { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; border: 1.5px solid var(--red); background: #fff6f5; border-radius: 12px; padding: 12px 14px; }
.co-pinset b { display: block; font-size: 14px; }
.co-pinset div span { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.map-sheet { position: fixed; inset: 0; z-index: 60; background: rgb(20 14 12 / .5); display: flex; align-items: flex-end; justify-content: center; }
.map-in { background: var(--surface); width: 100%; max-width: 560px; height: min(88%, 720px); border-radius: 20px 20px 0 0; display: flex; flex-direction: column; overflow: hidden; padding-bottom: env(safe-area-inset-bottom, 0px); }
.map-h { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; }
.map-h b { font-family: var(--display); font-weight: 800; font-size: 19px; }
.map-area { position: relative; flex: 1; min-height: 0; }
#mapBox { position: absolute; inset: 0; background: var(--chip); }
.map-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); z-index: 1001; pointer-events: none; filter: drop-shadow(0 3px 4px rgb(0 0 0 / .3)); }
.map-f { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; }
.map-f .btn { width: 100%; }
/* payment */
.co-sum { border: 1px solid var(--line); border-radius: 14px; }
.co-sum summary { list-style: none; display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 12px 14px; cursor: pointer; font-weight: 700; font-size: 14px; }
.co-sum summary::-webkit-details-marker { display: none; }
.co-sum em { font-style: normal; color: var(--muted); font-weight: 600; margin-left: 4px; font-size: 13px; }
.co-sum summary b { font-variant-numeric: tabular-nums; }
.co-chev { width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.co-sum[open] .co-chev { transform: rotate(-135deg) translateY(-1px); }
.co-sum-b { display: flex; flex-direction: column; gap: 8px; padding: 2px 14px 14px; font-size: 14px; }
.co-sum-b > div { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.co-sum-b .co-sum-i { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; }
.co-sum-i img { width: 36px; height: 44px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.co-sum-b .tot { border-top: 1px solid var(--line); padding-top: 10px; font-weight: 800; }
.co-sum-to span:first-child { color: var(--muted); flex: none; }
.co-sum-to span:last-child { text-align: right; }
.co-sec { display: flex; flex-direction: column; gap: 10px; }
.co-sec-t { display: flex; flex-direction: column; gap: 2px; }
.co-sec-t b { font-size: 16px; }
.co-sec-t span { font-size: 13px; color: var(--muted); }
.co-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--chip); }
.co-seg-o { --bk: var(--red); position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; padding: 10px 12px; border-radius: 11px; cursor: pointer; font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: .02em; min-width: 0; }
.co-seg-o.bk-mib { --bk: var(--mib); }
.co-seg-o input { position: absolute; opacity: 0; pointer-events: none; }
.co-seg-o small { grid-column: 2; font-family: var(--body); font-weight: 600; font-size: 11.5px; letter-spacing: 0; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.co-seg-o .dot { grid-row: 1 / 3; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); }
.co-seg-o:has(input:checked) { background: var(--surface); box-shadow: 0 1px 3px rgb(0 0 0 / .1); }
.co-seg-o:has(input:checked) .dot { border: 5px solid var(--bk); }
.co-seg-o:has(input:focus-visible) { outline: 2px solid var(--bk); outline-offset: 1px; }
.co-tcard { --bk: var(--red); border: 1px solid var(--line); border-top: 4px solid var(--bk); border-radius: 14px; overflow: hidden; }
.co-tcard.bk-mib { --bk: var(--mib); }
.co-trow { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; font-size: 14px; }
.co-trow + .co-trow { border-top: 1px solid var(--line); }
.co-trow > span { color: var(--muted); flex: none; }
.co-trow b { text-align: right; min-width: 0; overflow-wrap: anywhere; }
.co-trow.co-acct { flex-direction: column; align-items: stretch; gap: 6px; background: color-mix(in srgb, var(--bk) 5%, white); }
.co-acct-v { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.co-acct-v b { text-align: left; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.co-acct-v b.long { font-size: clamp(15px, 4.4vw, 18px); letter-spacing: .02em; white-space: nowrap; }
.co-copy { display: inline-flex; align-items: center; gap: 6px; flex: none; font-weight: 700; font-size: 13px; border: 1px solid var(--bk); color: var(--bk); background: var(--surface); border-radius: 999px; padding: 7px 12px; }
.co-trow.co-amt b { font-size: 16px; font-variant-numeric: tabular-nums; }
.co-drop { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px; border-radius: 14px; border: 1.5px dashed var(--line); cursor: pointer; }
.co-drop:hover { border-color: var(--red); }
.co-drop-i { width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: var(--on-red); display: grid; place-items: center; }
.co-dt b { display: block; font-size: 15px; }
.co-dt small { color: var(--muted); font-size: 13px; }
.co-browse { font-weight: 700; font-size: 13px; padding: 7px 14px; border-radius: 999px; background: var(--ink); color: var(--bg); }
.co-slip { display: flex; flex-direction: column; border-radius: 14px; border: 1.5px solid var(--line); overflow: hidden; }
.co-slip-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.co-ok { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); font-weight: 800; font-size: 15px; }
.co-prog { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.co-prog b { font-size: 14px; }
.co-bar { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.co-bar i { display: block; height: 100%; background: var(--red); border-radius: 6px; transition: width .12s linear; }
.stage-reading .co-bar i { width: 100% !important; animation: coPulse 1s ease-in-out infinite; }
@keyframes coPulse { 50% { opacity: .45; } }
.co-slip-view { display: flex; justify-content: center; padding: 14px; background: var(--chip); }
.co-imgbox { position: relative; max-width: 100%; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgb(0 0 0 / .12); }
.co-imgbox img { display: block; width: auto; max-width: 100%; height: auto; max-height: min(62vh, 500px); object-fit: contain; transition: opacity .3s, filter .3s; }
.stage-uploading .co-imgbox img { opacity: .45; filter: grayscale(.6); }
.co-scan { position: absolute; left: 0; right: 0; height: 70px; top: -70px; background: linear-gradient(to bottom, transparent, rgb(226 72 63 / .35) 85%, var(--red)); animation: coScan 1.1s ease-in-out infinite; }
@keyframes coScan { to { top: 100%; } }
.co-pdf { align-items: center; gap: 12px; justify-content: flex-start; font-size: 13px; color: var(--muted); }
.co-pdf span { width: 44px; height: 54px; border-radius: 8px; background: var(--surface); display: grid; place-items: center; font-family: var(--display); font-weight: 800; color: var(--ink); }
.co-paybar { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.co-pb-t { display: flex; flex-direction: column; line-height: 1.15; }
.co-pb-t span { font-size: 12px; color: var(--muted); font-weight: 600; }
.co-pb-t b { font-family: var(--display); font-weight: 800; font-size: 19px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.co-reserve { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--muted); margin: 0; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
/* placed */
.co-hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding-top: 4px; }
.co-badge { width: 76px; height: 76px; border-radius: 50%; background: #e3f1ea; display: grid; place-items: center; margin-bottom: 4px; }
.co-badge span { width: 52px; height: 52px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; }
.co-badge svg { width: 26px; height: 26px; }
.co-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.co-big { font-family: var(--display); font-weight: 800; font-size: 27px; line-height: 1.1; margin: 0; }
@media (prefers-reduced-motion: no-preference) { .co-badge { animation: coPop .45s cubic-bezier(.2, 1.4, .4, 1); } @keyframes coPop { from { transform: scale(.6); opacity: 0; } } }
.co-notif { display: flex; flex-direction: column; gap: 12px; padding: 14px; border-radius: 14px; background: #fff3f1; border: 1px solid #f6d3cf; }
.co-notif.on { background: #eef7f2; border-color: #cfe7da; }
.co-nt-top { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.co-nt-top b { display: block; font-size: 15px; }
.co-nt-top span:not(.co-bell) { font-size: 13px; color: var(--muted); }
.co-bell { width: 38px; height: 38px; border-radius: 50%; background: var(--red); color: var(--on-red); display: grid; place-items: center; }
.co-notif.on .co-bell { background: var(--ok); color: #fff; }
.co-notif .btn { width: 100%; }
.co-track { list-style: none; margin: 0; padding: 16px 14px; border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; }
.co-track li { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding-bottom: 16px; }
.co-track li:last-child { padding-bottom: 0; }
.co-track li:not(:last-child)::before { content: ""; position: absolute; left: 10px; top: 24px; bottom: 2px; width: 2px; background: var(--line); }
.co-track li.did::before { background: var(--ok); }
.co-track i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); display: grid; place-items: center; }
.co-track li.did i { background: var(--ok); border-color: var(--ok); color: #fff; }
.co-track li.did i svg { width: 12px; height: 12px; }
.co-track li.now i { border-color: var(--red); box-shadow: 0 0 0 4px rgb(226 72 63 / .18); }
.co-track li.now i::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.co-track b { display: block; font-size: 14px; }
.co-track li:not(.did):not(.now) b { color: var(--muted); font-weight: 600; }
.co-track span { font-size: 12.5px; color: var(--muted); }
.co-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.co-items { display: flex; flex-direction: column; gap: 12px; padding: 14px; }
.co-item { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.co-item img { width: 48px; height: 60px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.co-item b { display: block; font-size: 13.5px; }
.co-item small { color: var(--muted); }
.co-item > span { font-weight: 700; font-variant-numeric: tabular-nums; }
.co-lines { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; background: var(--chip); font-size: 14px; }
.co-lines div { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.co-lines .tot { font-weight: 800; font-size: 16px; }
.co-info { display: grid; grid-template-columns: 1fr 1fr; }
.co-info > div { display: flex; flex-direction: column; gap: 3px; padding: 14px; min-width: 0; }
.co-info > div + div { border-left: 1px solid var(--line); }
.co-info span { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.co-info b { font-size: 14px; overflow-wrap: anywhere; }
.co-info small { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.co-info small svg { width: 13px; height: 13px; }
.co-info small.ok { color: var(--ok); }
@media (max-width: 360px) { .co-info { grid-template-columns: 1fr; } .co-info > div + div { border-left: 0; border-top: 1px solid var(--line); } }
/* back-to-top button */
.top-fab { position: fixed; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 30; width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--ink); color: var(--bg); box-shadow: 0 8px 22px rgb(0 0 0 / .22); }
.top-fab:hover { background: var(--red); color: var(--on-red); }
@media (prefers-reduced-motion: no-preference) { .top-fab:not([hidden]) { animation: fabIn .25s ease-out; } @keyframes fabIn { from { transform: translateY(12px); opacity: 0; } } }
/* shop policies */
.policies { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px; margin-bottom: 48px; display: grid; grid-template-columns: 1fr 2fr; gap: 24px; }
.pol-list { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.pol-list div { min-width: 0; }
.pol-list dt { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.pol-list dd { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .policies { grid-template-columns: 1fr; padding: 24px 20px; } .pol-list { grid-template-columns: 1fr; } }
.co-terms { margin: 0; text-align: center; font-size: 12px; color: var(--muted); }
.co-terms a { color: var(--ink); font-weight: 700; }
#policies { scroll-margin-top: 90px; }
/* policies pop-up */
.co-terms-btn { border: 0; background: none; padding: 0; font: inherit; color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.pol-modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; }
.pol-back { position: absolute; inset: 0; background: rgb(20 14 12 / .55); }
@media (prefers-reduced-motion: no-preference) { .pol-modal:not([hidden]) .pol-box { animation: polIn .22s ease-out; } @keyframes polIn { from { transform: translateY(14px) scale(.98); opacity: 0; } } }
.pol-box { position: relative; width: min(480px, 100%); max-height: min(82vh, 640px); display: flex; flex-direction: column; background: var(--surface); border-radius: 20px; box-shadow: 0 24px 60px rgb(0 0 0 / .25); overflow: hidden; }
.pol-head { padding: 22px 22px 14px; border-bottom: 1px solid var(--line); }
.pol-head h3 { font-family: var(--display); font-weight: 800; font-size: 22px; margin: 0 0 4px; }
.pol-head p { margin: 0; color: var(--muted); font-size: 14px; }
.pol-body { padding: 18px 22px; overflow-y: auto; overscroll-behavior: contain; }
.pol-body .pol-list { grid-template-columns: 1fr; gap: 16px; }
.pol-foot { padding: 14px 22px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.pol-foot .btn { width: 100%; }
/* footer social icons in the logo colours */
footer .wrap { align-items: center; }
.socials { display: flex; gap: 10px; }
.soc { --c: #e2483f; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 12%, white); border: 1.5px solid color-mix(in srgb, var(--c) 30%, white); transition: background .15s, color .15s, transform .15s; }
.soc.tt { --c: #2a9ea3; }
.soc.fb { --c: #2f6fc1; }
.soc:hover, .soc:focus-visible { background: var(--c); color: #fff; transform: translateY(-2px); }
body > footer { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }

/* Phones: keep bottom buttons clear of the browser's own toolbar */
html.rk-lock, html.rk-lock body { overscroll-behavior: none; }
.drawer { bottom: auto; height: 100vh; height: 100dvh; }
.drawer .body, .qv-box, .pol-body, .map-in { overscroll-behavior: contain; }
.drawer footer { padding-bottom: 20px; }
.drawer footer .btn, .pol-foot .btn { min-height: 50px; }
.map-in { height: min(88vh, 720px); height: min(88dvh, 720px); padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
.pol-box { max-height: min(82dvh, 640px); }
.pol-foot { padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
.top-fab { bottom: calc(26px + env(safe-area-inset-bottom, 0px)); }

/* App feel on phones: no double-tap or pinch zoom, no zoom when typing, no grey tap flash */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overscroll-behavior-y: none; }
*, *::before, *::after { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button, .btn, .chip, .tab, nav a, label { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
img { -webkit-touch-callout: none; -webkit-user-drag: none; }
.btn:active, .chip:active, .tab:active { transform: scale(.97); }
@media (pointer: coarse) { input, select, textarea { font-size: 16px !important; } }

/* Mobile number sign-in */
@media (pointer: coarse) { input.code-in { font-size: 26px !important; } }
.grecaptcha-badge { visibility: hidden !important; }
.rk-recap-note { font-size: 11px; line-height: 1.4; color: var(--muted); margin: 0; }
.rk-recap-note a { color: inherit; }


/* Mobile number accounts: sign in, create account, password */
.auth-form { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.auth-form .co-h { margin: 0; }
.pw-in { display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); overflow: hidden; }
.pw-in:focus-within { border-color: var(--ink); }
.field .pw-in input { border: 0; border-radius: 0; background: transparent; flex: 1; min-width: 0; font-size: 16px; }
.field .pw-in input:focus-visible { outline: none; }
.pw-eye { flex: none; border: 0; border-left: 1.5px solid var(--line); background: var(--chip); padding: 0 14px; font-weight: 700; font-size: 13px; color: var(--ink); }
.auth-note { margin: 0; background: color-mix(in srgb, #2f6fc1 10%, transparent); color: var(--ink); border-radius: 10px; padding: 10px 12px; font-size: 13.5px; }
.auth-alt { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; }
.auth-alt span { font-size: 13px; color: var(--muted); text-align: center; }
.auth-alt .btn { width: 100%; }