/* kartouneh storefront. One stylesheet.
   Ported from docs/store-plan/mockup/index.html after the critique in that folder.
   The page stays quiet so the wordmark and the photos carry the brand. */

:root {
    --bg: #FFFFFF;
    --cream: #FBF5EB;
    --ink: #3F2A1A;
    --ink-2: #6B4E3A;
    --brown: #7A4419;
    --pink: #F08A9B;
    /* Measured: white on #D5566F is 3.90:1 and fails AA at button size. */
    --pink-deep: #C24862;
    --pink-deeper: #A93B54;
    --pink-soft: #FBD3DA;
    --line: #EEE4D6;
    --line-dash: #D9C6AE;
    --placeholder-ink: #7F6547;   /* 5.02:1 on --cream, measured */

    /* Checkout and status page. Measured on white unless said otherwise. */
    --paper: #F6F0E3;
    --card-line: #E7DDC9;
    --ink-3: #6B5B45;         /* 6.55:1; small print, hints, the struck-through name */
    --field-ink: #2E2119;
    --field-line: #A8865A;    /* 3.1:1 on white and on cream; a field's border is the control (WCAG 1.4.11) */
    --pink-mid: #D5566F;      /* checked borders and accent-color only, never text */
    --pink-ring: #F9DDE3;
    --pink-tint: #FBEDF0;
    --bad: #7E2320;           /* 8.3:1 on --bad-bg */
    --bad-bg: #FBE9E8;
    --bad-line: #EFC3C1;
    --bad-strong: #A8322F;
    --note: #6B4A16;          /* 7.5:1 on --note-bg */
    --note-bg: #FFF6E8;
    --note-line: #E8C88F;
    --good: #1F4D2B;          /* 8.6:1 on --good-bg */
    --good-bg: #E8F3EA;
    --link: #B5482F;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul, figure { margin: 0; padding: 0; }

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 17px;
    line-height: 1.5;
    color: var(--ink);
    background: var(--bg);
}

h1, h2 {
    font-family: "Fredoka", system-ui, sans-serif;
    font-weight: 600;
    color: var(--brown);
    line-height: 1.1;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--brown); outline-offset: 3px; }

.wrap { width: min(1100px, calc(100% - 32px)); margin-inline: auto; }

/* Cross-document view transitions. Chrome, Edge and Safari fade between
   server-rendered pages with no JavaScript; Firefox does a normal load. */
@view-transition { navigation: auto; }

/* ---- announcement bar ---- */
.bar {
    background: var(--pink);
    color: var(--ink);
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    padding: 9px 14px;
}

/* ---- header ---- */
header { border-bottom: 1px solid var(--line); }

.nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 84px;
}

.nav .logo { grid-column: 2; }
.nav img { height: 56px; width: auto; }
.nav .bag { grid-column: 3; justify-self: end; }

.bag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 6px;
    font-weight: 600;
    font-size: 15px;
}

.bag svg { width: 24px; height: 24px; stroke: var(--ink); fill: none; stroke-width: 2; }

.bag b {
    background: var(--pink);
    color: var(--ink);
    min-width: 22px;
    height: 22px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    font-size: 13px;
}

@media (max-width: 760px) {
    .nav { height: 76px; }
    .nav img { height: 52px; }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    background: var(--pink-deep);
    color: #fff;
    font-weight: 700;
    font-size: 17px;
}

.btn:hover { background: var(--pink-deeper); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }

@media (max-width: 760px) { .btn { width: 100%; } }

/* ---- the builder (ADR 0018, prototype D) ---- */
.page .back, .builder .back { display: inline-grid; place-items: center; width: 44px; height: 44px; margin: -6px 0 6px -10px; border-radius: 12px; color: var(--brown); font-size: 28px; line-height: 1; text-decoration: none; }
.what h1, .count h1 { font-size: 34px; margin-bottom: 10px; }
.what > p, .count > p { color: var(--ink-2); margin-bottom: 20px; }
.what-choices .choice, .count .choice { min-height: 72px; border-radius: 18px; text-decoration: none; }
.choice b { display: block; font-size: 18px; }
.choice small { display: block; color: var(--ink-3); font-size: 14px; line-height: 1.4; }
.choice .mini { width: 52px; height: 52px; flex: none; }
.mini { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--cream); overflow: hidden; position: relative; }
.mini svg { width: 30px; height: 30px; fill: none; stroke: var(--brown); stroke-width: 1.8; stroke-linejoin: round; }
.mini img { width: 100%; height: 100%; object-fit: cover; }
.note { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; color: var(--ink-2); font-size: 15px; margin-top: 18px; }
.page.what, .page.count { max-width: 560px; }

.builder { display: grid; grid-template-columns: 1fr; gap: 0; padding: 12px 0 40px; }
.pane { padding: 4px 0 8px; }
.pane-card { background: var(--cream); border-radius: 24px; padding: 16px 16px 14px; }
.pane-card h2 { font-size: 20px; text-align: center; }
.pane-sub { text-align: center; color: var(--ink-2); font-size: 15px; margin-top: 2px; }
.lid { height: 14px; margin: 12px 10px 0; border-radius: 8px 8px 0 0; background: var(--pink-soft); border: 2px solid var(--brown); border-bottom: 0; }
.tray { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 14px 12px; border: 2px solid var(--brown); border-radius: 0 0 16px 16px; background: #fff; min-height: 96px; }
.slot { width: 60px; height: 60px; border-radius: 16px; border: 2px dashed var(--line-dash); display: grid; place-items: center; background: var(--cream); position: relative; overflow: visible; }
.slot.full { border: 2px solid var(--pink-deep); background: #fff; }
.slot img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; }
.slot .x { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; background: var(--pink-deep); color: #fff; font-size: 14px; display: grid; place-items: center; }
.slot.pop img, .slot.pop .noimg { animation: pop .35s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes pop { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }
.noimg.tiny { font-size: 10px; letter-spacing: 0; padding: 2px; }
.bag-art { margin-top: 12px; border: 2px dashed var(--line-dash); border-radius: 18px; background: #fff; padding: 12px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; min-height: 80px; }
.bag-art .empty { color: var(--ink-3); font-size: 15px; align-self: center; }
.bag-art .mini b { position: absolute; top: -6px; right: -6px; background: var(--pink-deep); color: #fff; font-size: 12px; border-radius: 999px; min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 5px; }
.bag-art .mini { overflow: visible; }
.tot { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 4px 0; font-weight: 700; }
.strip { display: none; }

.shelf h1 { font-size: 30px; }
.lede { color: var(--ink-2); margin-top: 6px; }
.search { display: flex; align-items: center; gap: 10px; margin-top: 14px; border: 1.5px solid var(--field-line); border-radius: 14px; padding: 0 12px; background: #fff; }
.search svg { width: 20px; height: 20px; fill: none; stroke: var(--ink-3); stroke-width: 2.2; stroke-linecap: round; flex: none; }
.search input { flex: 1; border: 0; min-height: 50px; font: inherit; background: none; color: var(--ink); min-width: 0; }
.search input:focus { outline: none; }
.search .clear { color: var(--link); text-decoration: underline; min-height: 44px; display: inline-flex; align-items: center; padding: 0 4px; }
.tags { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 4px; scrollbar-width: none; }
.tags::-webkit-scrollbar { display: none; }
.tags .chip { flex: none; min-height: 40px; padding: 0 14px; font-size: 15px; margin: 0; background: #fff; color: var(--ink); }
.tags .chip[aria-pressed="true"] { border-color: var(--pink-deep); background: var(--pink-tint); }
.nomatch { padding: 24px 0; color: var(--ink-3); }
.nomatch a { color: var(--link); text-decoration: underline; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.tilewrap { position: relative; }
[hidden] { display: none !important; }
.tilewrap[hidden] { display: none; }
.zoom { position: absolute; top: 6px; left: 6px; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--brown); z-index: 1; }
.zoom svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 8px 12px; border: 1.5px solid var(--line); border-radius: 18px; background: #fff; color: var(--ink); text-align: center; min-height: 44px; }
.tile .img { width: 100%; aspect-ratio: 1; border-radius: 12px; background: var(--cream); display: grid; place-items: center; overflow: hidden; }
.tile .img img { width: 100%; height: 100%; object-fit: cover; }
.tile .nm { font-weight: 600; font-size: 15px; }
.tile .price { font-size: 14px; color: var(--ink-2); margin-top: -4px; }
.tile[aria-pressed="true"] { outline: 2px dashed var(--pink); outline-offset: 3px; border-color: var(--pink-deep); background: var(--pink-tint); }
.tile .chk { position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--pink-deep); color: #fff; display: none; place-items: center; font-size: 13px; font-weight: 700; }
.tile[aria-pressed="true"] .chk { display: grid; }
.tile.out { cursor: default; }
.tile.out .img { opacity: .45; }
.tile.out .nm { color: var(--ink-3); }
.qty { display: flex; align-items: center; border: 1.5px solid var(--line-dash); border-radius: 999px; overflow: hidden; }
.qty a { width: 44px; height: 40px; display: grid; place-items: center; font-size: 20px; color: var(--brown); text-decoration: none; }
.qty a.off { opacity: .35; pointer-events: none; }
.qty span { min-width: 28px; text-align: center; font-weight: 700; }
.qty.big { max-width: 240px; margin: 0 auto; }
.qty.big span { flex: 1; }
html { scroll-padding-bottom: 120px; }
.builder .foot > * { pointer-events: auto; }
.builder .foot { position: sticky; bottom: 0; z-index: 3; pointer-events: none; padding: 12px 0 22px; background: linear-gradient(to top, #fff 75%, rgba(255,255,255,0)); margin-top: 10px; }
.builder .foot .btn { width: 100%; justify-content: space-between; min-height: 56px; border-radius: 18px; font-size: 18px; padding: 0 20px; }
.builder .foot .btn[aria-disabled="true"] { pointer-events: none; }

/* a patch, big */
.detail { text-align: center; }
.detail-art { width: 220px; height: 220px; margin: 8px auto 4px; background: var(--cream); border-radius: 28px; display: grid; place-items: center; overflow: hidden; }
.detail-art img { width: 100%; height: 100%; object-fit: cover; }
.detail-name { font-size: 26px; margin-top: 8px; }
.detail-meta { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
.detail-meta span { font-size: 14px; color: var(--ink-2); background: var(--paper); border-radius: 999px; padding: 6px 12px; }
.detail-about { margin-top: 14px; max-width: 44ch; margin-inline: auto; }
.detail-page { max-width: 560px; }
.detail-page .crumb { font-size: 14px; color: var(--ink-3); margin-bottom: 10px; }
.detail-page .crumb a { color: var(--link); text-decoration: underline; }
.detail-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.detail-links .btn { width: auto; }
.sheet-scrim { position: fixed; inset: 0; z-index: 30; display: flex; align-items: flex-end; justify-content: center; background: rgba(63, 42, 26, .45); }
.sheet-scrim[hidden] { display: none; }
.sheet { position: relative; background: #fff; border-radius: 28px 28px 0 0; width: 100%; max-width: 560px; max-height: 92dvh; overflow: auto; padding: 12px 20px 28px; animation: up .32s cubic-bezier(.2, .9, .2, 1); }
@keyframes up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet .closex { position: absolute; right: 16px; top: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--paper); font-size: 22px; color: var(--brown); }
.sheet-act { margin-top: 18px; }
.sheet-act .btn { width: 100%; justify-content: center; min-height: 56px; border-radius: 18px; }

@media (max-width: 819px) {
    .builder.details .pane-card, .builder.details .tot { display: none; }
    .strip { display: block; }
}
@media (min-width: 820px) {
    .builder { grid-template-columns: 400px 1fr; gap: 40px; padding: 28px 0 40px; }
    .pane { position: sticky; top: 16px; align-self: start; }
    .grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
    .shelf h1 { font-size: 34px; }
    .builder .foot .btn { max-width: 360px; }
    .sheet-scrim { align-items: center; }
    .sheet { border-radius: 28px; }
    .tray .slot { width: 72px; height: 72px; }
    .tray .slot img { width: 58px; height: 58px; }
}
@media (max-width: 560px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { .slot.pop img, .sheet { animation: none; } }

/* ---- plain content page ---- */
.page { padding: 40px 0 56px; max-width: 62ch; }
.page h1 { font-size: 34px; margin-bottom: 16px; }
.page > p { margin-bottom: 14px; color: var(--ink-2); }

/* ---- footer ---- */
footer { background: var(--pink-soft); padding: 36px 0 28px; margin-top: 20px; }

.foot { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; }
.foot img { height: 64px; width: auto; margin-bottom: 12px; }
.foot p, .foot li { font-size: 15px; color: var(--ink); line-height: 1.6; }
.foot ul { list-style: none; }
.foot li a { display: inline-flex; align-items: center; min-height: 44px; }
.foot strong { display: block; margin-bottom: 4px; font-weight: 700; }

@media (max-width: 700px) { .foot { grid-template-columns: 1fr; gap: 20px; } }

.fine { margin-top: 28px; font-size: 13px; color: var(--ink-2); }
.fine a { text-decoration: underline; padding: 15px 0; margin: -15px 0; }   /* 44px tap height without moving the line */

@media (prefers-reduced-motion: reduce) {
    @view-transition { navigation: none; }
}

/* ---- checkout and status ---- */
.checkout h1, .status h1 { margin-bottom: 8px; }
.co { display: grid; gap: 22px; max-width: 640px; }
.co-part { background: #fff; border: 1px solid var(--card-line); border-radius: 16px; padding: 18px 18px 20px; }
.co-part h2 { font-size: 20px; margin-bottom: 12px; }
.notice { background: var(--note-bg); border: 1px solid var(--note-line); color: var(--note); border-radius: 12px; padding: 12px 15px; margin-bottom: 16px; }
.notice.bad { background: var(--bad-bg); border-color: var(--bad-line); color: var(--bad); }
.chosen { display: grid; gap: 6px; }
.chosen li { display: flex; align-items: center; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.chosen li:last-child { border-bottom: 0; }
.chosen img, .noimg.small { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--paper); flex: none; }
.chosen-name { flex: 1; font-weight: 600; }
.chosen-gone { color: var(--bad); font-size: 14px; }
.chosen .gone .chosen-name { text-decoration: line-through; color: var(--ink-3); }
.remove { font-size: 14px; color: var(--ink-3); text-decoration: underline; min-height: 44px; display: inline-flex; align-items: center; padding: 0 6px; }
.choices { display: grid; gap: 10px; }
.choice { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--card-line); border-radius: 12px; cursor: pointer; min-height: 56px; }
.choice:has(input:checked) { border-color: var(--pink-mid); box-shadow: 0 0 0 2px var(--pink-ring) inset; }
.choice input { width: 20px; height: 20px; accent-color: var(--pink-mid); }
.choice img { grid-column: 2; width: 56px; height: 56px; border-radius: 8px; object-fit: cover; }
.choice-name { font-weight: 700; }
.choice-price { font-weight: 700; color: var(--field-ink); }
.choice-sub { grid-column: 2 / -1; font-size: 14px; color: var(--ink-3); }
.pay .choice { grid-template-columns: auto 1fr; }
.style-options[hidden] { display: none; }
.opt { border: 0; margin: 14px 0 0; padding: 0; }
.opt legend { font-weight: 600; margin-bottom: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; margin: 0 8px 8px 0; border: 1px solid var(--card-line); border-radius: 999px; cursor: pointer; }
.chip:has(input:checked) { border-color: var(--pink-mid); background: var(--pink-tint); }
.chip input { accent-color: var(--pink-mid); }
.field { margin-top: 14px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; border: 1px solid var(--field-line); border-radius: 10px; background: #fff; color: var(--field-ink); }
.field textarea { min-height: 72px; resize: vertical; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: var(--bad-strong); }
.field-error { color: var(--bad); font-weight: 600; font-size: 14px; margin-top: 6px; }
.hint { color: var(--ink-3); font-size: 14px; margin-top: 6px; }
.tick { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 8px; cursor: pointer; }
.tick input { width: 22px; height: 22px; accent-color: var(--pink-mid); }
.co-total { display: grid; gap: 4px; padding: 14px 18px; background: var(--paper); border-radius: 12px; }
.co-total span { display: flex; justify-content: space-between; }
.co-total .grand { font-size: 20px; font-weight: 700; padding-top: 6px; border-top: 1px solid var(--card-line); margin-top: 4px; }
.co .btn { width: 100%; justify-content: center; font-size: 18px; min-height: 56px; }
.co .fine { text-align: center; }

.status { max-width: 640px; }
.placed { background: var(--good-bg); color: var(--good); border-radius: 12px; padding: 12px 15px; margin-bottom: 18px; font-weight: 600; }
.status-number { color: var(--ink-3); }
.deadline { background: var(--note-bg); border: 1px solid var(--note-line); color: var(--note); border-radius: 12px; padding: 12px 15px; margin: 12px 0 18px; }
.whish-card { background: #fff; border: 2px solid var(--pink-mid); border-radius: 16px; padding: 18px; margin: 18px 0; }
.whish-card h2 { font-size: 20px; margin-bottom: 10px; }
.steps { padding-left: 20px; display: grid; gap: 8px; font-size: 17px; }
.whish-number { font-size: 22px; letter-spacing: .02em; }
.claim { margin-top: 16px; }
.claim .btn { width: 100%; justify-content: center; margin-top: 14px; min-height: 56px; }
.receipt { background: #fff; border: 1px solid var(--card-line); border-radius: 16px; padding: 18px; margin-top: 18px; }
.receipt h2 { font-size: 18px; margin-bottom: 10px; }
.items li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); }
.items .grand { font-weight: 700; font-size: 18px; border-bottom: 0; }

/* ---- checkout: code link, sticky total, remembered details ---- */
.co-code { border: 1px solid var(--card-line); border-radius: 12px; padding: 0 18px; background: #fff; }
.co-code summary { min-height: 52px; display: flex; align-items: center; font-weight: 600; cursor: pointer; list-style: none; }
.co-code summary::-webkit-details-marker { display: none; }
.co-code summary::after { content: "+"; margin-left: auto; color: var(--ink-3); font-size: 20px; }
.co-code[open] summary::after { content: "–"; }
.co-code .field { margin: 0 0 16px; }
.remembered { font-size: 14px; color: var(--ink-3); margin: -4px 0 8px; }
.linklike { background: none; border: 0; padding: 0 4px; min-width: 44px; font: inherit; color: var(--link); text-decoration: underline; cursor: pointer; min-height: 44px; }
.co-sticky {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--card-line); box-shadow: 0 -8px 24px -16px rgb(46 33 25 / .3);
}
.co-sticky[hidden] { display: none; }
.co-sticky-sum { font-size: 15px; color: var(--ink-3); white-space: nowrap; }
.co-sticky-sum b { font-size: 18px; color: var(--field-ink); margin-left: 4px; }
.co-sticky .btn { flex: 1; min-height: 48px; font-size: 16px; margin: 0; }
@media (min-width: 720px) { .co-sticky { display: none !important; } }
.placed .keep { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.btn.small { min-height: 44px; font-size: 15px; padding: 0 14px; }
.btn.quiet { background: #fff; color: var(--field-ink); border: 1px solid var(--field-line); }
.steps .copy { font-size: 14px; margin-left: 6px; }

/* ---- from the critique ---- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
input::placeholder { text-transform: none; }
.hint a, .add-more { color: var(--link); text-decoration: underline; display: inline-block; padding: 12px 0; margin: -12px 0; }
.fine { max-width: 60ch; }
.co-part .field-error:first-of-type { scroll-margin-top: 80px; }
.co-summary { margin-bottom: 8px; }
.co-summary a { color: var(--bad); text-decoration: underline; }
.style-line { display: flex; justify-content: space-between; min-height: 48px; align-items: center; padding: 0 2px; font-weight: 600; }
.style-line .choice-price { font-weight: 700; }
.status-code { font-size: 15px; color: var(--ink-3); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.status-code b { font-size: 26px; letter-spacing: .04em; color: var(--field-ink); }

/* ---- checkout, one step at a time ---- */
.checkout .back { margin-bottom: 4px; }
.co-steps { display: flex; gap: 14px; list-style: none; margin: 0 0 18px; padding: 0; color: var(--ink-3); font-size: 14px; flex-wrap: wrap; }
.co-steps[hidden] { display: none; }
.co-steps li { display: flex; align-items: center; gap: 6px; min-height: 32px; cursor: default; }
.co-steps li i { width: 24px; height: 24px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 12px; color: var(--brown); }
.co-steps li.on { color: var(--brown); font-weight: 700; }
.co-steps li.on i { background: var(--pink-deep); color: #fff; }
.co-steps li.done { cursor: pointer; }
.co-steps li.done i { background: var(--good); color: #fff; }
.co [data-step][hidden] { display: none; }
.co .co-next { margin-top: -6px; }
.checkout { max-width: 640px; }
@media (min-width: 900px) { .checkout { max-width: 760px; } }

/* ---- browse first: the shelf is the landing page, two doors under it ---- */
.shelf.browse h1 { font-family: "Fredoka", system-ui, sans-serif; }
.tile.look { text-decoration: none; }
.tile.look .price { margin-top: -2px; }
.builder .foot.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.builder .foot.doors .btn { padding: 0 14px; font-size: 16px; flex-direction: column; gap: 2px; align-items: flex-start; justify-content: center; min-height: 64px; }
.builder .foot.doors .btn .money { font-size: 13px; font-weight: 500; opacity: .85; }
.builder .foot.doors .btn.quiet { background: #fff; color: var(--brown); border: 1.5px solid var(--line-dash); }
.builder .foot.doors .empty { grid-column: 1 / -1; text-align: center; color: var(--ink-2); }
.sheet-title { font-size: 24px; margin: 6px 44px 2px 0; }
.sizes-list { margin-top: 14px; }
.sizes-list .choice { text-decoration: none; color: var(--ink); min-height: 64px; border-radius: 16px; }
.sheet-act { display: grid; gap: 10px; }
@media (max-width: 480px) { .builder .foot.doors { grid-template-columns: 1fr 1fr; gap: 8px; } .builder .foot.doors .btn { font-size: 15px; padding: 0 12px; } }
@media (min-width: 820px) {
    /* No pane while browsing: the shelf takes the whole width and the doors sit in a row. */
    .builder.browse { grid-template-columns: 1fr; }
    .builder.browse .grid { grid-template-columns: repeat(5, 1fr); gap: 14px; }
    .builder.browse .foot.doors { max-width: 560px; }
    .builder.browse .search { max-width: 520px; }
}
@media (min-width: 1100px) { .builder.browse .grid { grid-template-columns: repeat(6, 1fr); } }
