/* Wood Ave Supply storefront — phone-first. Everything scoped to .shop-* */

.shop-page {
    --ink: #1a1a2e;
    --text: #1f2430;
    --muted: #645f55;
    --bg: #f6f3ec;
    --card: #fff;
    --line: #e4dfd3;
    --accent: #a8560f;      /* cork */
    --accent-soft: #f6e7d3;
    --ok: #15803d;
    --low: #b45309;
    --out: #b91c1c;
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.45 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    -webkit-text-size-adjust: 100%;
}
.shop-page *, .shop-page *::before, .shop-page *::after { box-sizing: border-box; }
.shop-page [hidden] { display: none !important; }
.shop-wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.shop-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.shop-skip { position: absolute; left: -999px; top: 0; z-index: 50; padding: 12px 16px; background: #fff; color: var(--ink); }
.shop-skip:focus { left: 8px; top: 8px; }
.shop-page :focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; }

/* ─── Header ─── */
.shop-header { background: #fff; border-bottom: 1px solid var(--line); }
.shop-header-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.shop-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 17px; letter-spacing: -.01em; white-space: nowrap; }
.shop-brand img { display: block; width: 44px; height: 35px; object-fit: contain; }
.shop-brand b { color: var(--accent); }
.shop-header-nav { display: flex; align-items: center; gap: 6px; }
.shop-call, .shop-login {
    display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px;
    border-radius: 22px; color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
}
.shop-call { border: 1.5px solid var(--ink); }
.shop-login { color: var(--muted); }
@media (max-width: 480px) { .shop-call span { display: none; } .shop-call { padding: 0; width: 44px; justify-content: center; } }

/* ─── Hero ─── */
.shop-hero { background: var(--ink); color: #fff; padding: 26px 0 24px; }
.shop-hero h1 { margin: 0 0 10px; font-size: clamp(28px, 6.4vw, 46px); line-height: 1.08; letter-spacing: -.025em; font-weight: 800; text-wrap: balance; }
.shop-hero h1 span { color: #f1b46c; }
.shop-hero p { margin: 0; max-width: 34em; font-size: 16px; color: #d7d8e2; }
.shop-proof { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.shop-proof li { padding: 5px 12px; border: 1px solid rgba(255,255,255,.28); border-radius: 16px; font-size: 13px; font-weight: 600; color: #fff; }
.shop-hero .shop-member { margin-top: 14px; font-weight: 700; color: #86efac; }
.shop-hero .shop-member-cta { margin-top: 14px; font-size: 14px; }
.shop-member-cta a { color: #f1b46c; font-weight: 700; }

/* ─── Search + chips (sticky) ─── */
.shop-main { padding-bottom: 120px; }
.shop-top { position: sticky; top: 0; z-index: 20; margin: 0 -16px; padding: 12px 16px 10px; background: var(--bg); }
.shop-search { position: relative; }
.shop-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.shop-search input {
    width: 100%; height: 50px; padding: 0 14px 0 44px;
    font: inherit; font-size: 17px; color: var(--text);
    background: #fff; border: 1.5px solid #cfc8b8; border-radius: 12px;
    -webkit-appearance: none; appearance: none;
}
.shop-search input:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(26,26,46,.15); }
.shop-chips { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.shop-chips::-webkit-scrollbar { display: none; }
.shop-chip {
    flex: 0 0 auto; height: 42px; padding: 0 18px;
    border: 1.5px solid #cfc8b8; border-radius: 21px; background: #fff; color: var(--text);
    font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.shop-chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.shop-chip small { margin-left: 4px; font-size: 13px; font-weight: 500; opacity: .7; }

/* ─── Order again ─── */
.shop-again { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; background: var(--accent-soft); border: 1px solid #e9cfa9; border-radius: 12px; }
.shop-again div { flex: 1; min-width: 0; font-size: 14px; color: #5c3a10; }
.shop-again b { display: block; font-size: 15px; color: #40270a; }
.shop-again span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-again button { flex: 0 0 auto; min-height: 44px; padding: 0 16px; border: none; border-radius: 10px; background: var(--accent); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.shop-again .shop-again-x { background: none; color: #5c3a10; padding: 0 6px; font-size: 22px; line-height: 1; }

/* ─── Job calculator ─── */
.shop-calc { margin: 6px 0 4px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.shop-calc > label { display: block; margin-bottom: 8px; font-weight: 700; color: var(--ink); }
.shop-calc-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; }
.shop-calc-input { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.shop-calc-input input { width: 130px; height: 48px; padding: 0 12px; font: inherit; font-size: 20px; font-weight: 700; color: var(--text); border: 1.5px solid #cfc8b8; border-radius: 10px; }
.shop-calc-waste { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; color: var(--text); cursor: pointer; }
.shop-calc-waste input { width: 20px; height: 20px; accent-color: var(--ink); }

.shop-count { margin: 10px 2px 8px; font-size: 13px; color: var(--muted); }

/* ─── Product cards ─── */
.shop-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.shop-list:focus { outline: none; }
@media (min-width: 820px) { .shop-list { grid-template-columns: 1fr 1fr; gap: 12px; } }
.shop-card { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.shop-card.in-cart { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.shop-card-img { grid-row: span 2; width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: #f1ede4; }
.shop-card-img[src*="/glue/"], .shop-card-img[src*="/cork/"], .shop-card-img[src*="/wallbase/"] { object-fit: contain; background: #fff; border: 1px solid var(--line, #e7e2d6); }
.shop-card-main { min-width: 0; grid-column: 2; }
.shop-card:not(.has-img) .shop-card-main, .shop-card:not(.has-img) .shop-card-foot { grid-column: 1 / -1; }
.shop-card-name { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.25; color: var(--ink); }
.shop-card-desc { margin: 3px 0 0; font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shop-card-price { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.shop-card-price strong { font-size: 22px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.shop-card-price strong small { font-size: 14px; font-weight: 600; color: var(--muted); }
.shop-card-price span { font-size: 14px; color: var(--muted); }
.shop-card-price s { font-size: 14px; color: var(--muted); }
.shop-card-price .shop-save { padding: 1px 8px; border-radius: 10px; background: #dcfce7; color: #166534; font-size: 12px; font-weight: 700; }
.shop-card-calc { margin: 8px 0 0; padding: 8px 10px; border-radius: 8px; background: var(--accent-soft); color: #5c3a10; font-size: 14px; }
.shop-card-calc b { color: #40270a; }
.shop-card-foot { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; min-height: 46px; }
.shop-stock { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ok); }
.shop-stock::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.shop-stock.is-low { color: var(--low); }
.shop-stock.is-out { color: var(--out); }
.shop-add {
    min-width: 96px; height: 46px; padding: 0 18px; border: none; border-radius: 12px;
    background: var(--ink); color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.shop-add:active { opacity: .85; }
.shop-ask { display: inline-flex; align-items: center; height: 46px; padding: 0 16px; border: 1.5px solid #cfc8b8; border-radius: 12px; color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.shop-step { display: inline-flex; align-items: center; border: 1.5px solid var(--ink); border-radius: 12px; overflow: hidden; background: #fff; }
.shop-step button { width: 46px; height: 43px; border: none; background: none; font: inherit; font-size: 24px; line-height: 1; color: var(--ink); cursor: pointer; }
.shop-step button:active { background: #f1ede4; }
.shop-step input { width: 54px; height: 43px; border: none; text-align: center; font: inherit; font-size: 18px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; -moz-appearance: textfield; background: none; }
.shop-step input::-webkit-outer-spin-button, .shop-step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.shop-empty { padding: 40px 20px; text-align: center; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 14px; grid-column: 1 / -1; }
.shop-empty a { color: var(--ink); font-weight: 700; }

/* ─── How it works + footer ─── */
.shop-how { display: grid; gap: 10px; margin-top: 28px; }
@media (min-width: 820px) { .shop-how { grid-template-columns: repeat(3, 1fr); } }
.shop-how div { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px dashed #cfc8b8; border-radius: 12px; font-size: 15px; }
.shop-how b { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.shop-footer { padding: 24px 0 110px; background: #fff; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.shop-footer .shop-wrap { display: grid; gap: 4px; }
.shop-footer strong { color: var(--ink); font-size: 15px; }
.shop-footer a { color: var(--ink); font-weight: 700; }
.shop-footer-fine { margin-top: 6px; font-size: 13px; }

/* ─── Cart bar ─── */
.shop-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--bg) 70%, rgba(246,243,236,0)); }
.shop-bar-btn {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    width: 100%; max-width: 560px; margin: 0 auto; height: 58px; padding: 0 20px;
    border: none; border-radius: 16px; background: var(--accent); color: #fff;
    font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; box-shadow: 0 6px 20px rgba(64,39,10,.3);
}
.shop-bar-go span { margin-left: 6px; font-variant-numeric: tabular-nums; }
body.shop-has-cart .ada-toggle { bottom: 88px !important; }
body.shop-sheet-open .ada-toggle, body.shop-sheet-open .ada-panel { display: none !important; }
body.shop-sheet-open { overflow: hidden; }
body.shop-sheet-open .shop-toast { display: none; }

/* ─── Order sheet ─── */
.shop-scrim { position: fixed; inset: 0; z-index: 2000; background: rgba(17,24,39,.5); }
.shop-sheet {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 2001;
    max-width: 560px; margin: 0 auto; max-height: 94vh; overflow-y: auto;
    padding: 14px 18px calc(18px + env(safe-area-inset-bottom));
    background: #fff; border-radius: 18px 18px 0 0; box-shadow: 0 -8px 30px rgba(0,0,0,.2);
}
@media (min-width: 769px) { .shop-sheet { bottom: 50%; transform: translateY(50%); border-radius: 18px; } }
.shop-sheet-head { display: flex; align-items: center; justify-content: space-between; }
.shop-sheet h2 { margin: 0; font-size: 22px; color: var(--ink); }
.shop-sheet h3 { margin: 18px 0 10px; font-size: 16px; color: var(--ink); }
.shop-x { width: 44px; height: 44px; margin-right: -10px; border: none; background: none; font-size: 30px; line-height: 1; color: var(--muted); cursor: pointer; }
.shop-lines { list-style: none; margin: 10px 0 0; padding: 0; }
.shop-lines li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.shop-line-name { font-weight: 600; color: var(--ink); line-height: 1.3; }
.shop-lines .shop-step { justify-self: start; }
.shop-line-each { font-size: 13px; color: var(--muted); }
.shop-line-total { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.shop-line-remove { justify-self: end; min-height: 44px; padding: 0 4px; border: none; background: none; color: var(--muted); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.shop-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-top: 2px solid var(--ink); font-size: 17px; font-weight: 700; color: var(--ink); }
.shop-total small { font-size: 13px; font-weight: 500; color: var(--muted); }
.shop-total strong { font-size: 24px; font-variant-numeric: tabular-nums; }
.shop-field { margin: 0 0 12px; padding: 0; border: none; }
.shop-field label, .shop-field legend { display: block; margin-bottom: 5px; padding: 0; font-size: 14px; font-weight: 600; color: var(--text); }
.shop-field input[type=text], .shop-field input[type=tel], .shop-field input[type=email] {
    width: 100%; height: 50px; padding: 0 12px; font: inherit; font-size: 17px; color: var(--text);
    border: 1.5px solid #cfc8b8; border-radius: 10px; background: #fff;
}
.shop-field input:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(26,26,46,.15); }
.shop-field input.is-bad { border-color: var(--out); }
.shop-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.shop-pick label { margin: 0; }
.shop-pick input { position: absolute; opacity: 0; }
.shop-pick span { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 8px; border: 1.5px solid #cfc8b8; border-radius: 10px; font-size: 15px; font-weight: 600; text-align: center; cursor: pointer; }
.shop-pick input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.shop-pick input:focus-visible + span { outline: 3px solid #2563eb; outline-offset: 2px; }
.shop-more { margin: 4px 0 8px; }
.shop-more summary { display: flex; align-items: center; min-height: 44px; color: #1d4ed8; font-size: 15px; cursor: pointer; list-style: none; }
.shop-more summary::-webkit-details-marker { display: none; }
.shop-error { margin: 0 0 8px; color: var(--out); font-size: 14px; font-weight: 600; text-align: center; }
.shop-error:empty { display: none; }
.shop-submit { width: 100%; height: 58px; border: none; border-radius: 14px; background: var(--accent); color: #fff; font: inherit; font-size: 18px; font-weight: 800; cursor: pointer; }
.shop-submit:disabled { opacity: .55; cursor: default; }
.shop-fine { margin: 10px 0 0; text-align: center; font-size: 13px; color: var(--muted); }

.shop-done { text-align: center; padding: 10px 0 0; }
.shop-done-check { width: 60px; height: 60px; margin: 0 auto 12px; border-radius: 50%; background: #dcfce7; color: var(--ok); font-size: 30px; line-height: 60px; }
.shop-done p { margin: 8px 0 16px; color: var(--text); }
.shop-done dl { margin: 0 0 16px; padding: 4px 14px; background: var(--bg); border-radius: 12px; text-align: left; }
.shop-done dl div { display: flex; justify-content: space-between; padding: 10px 0; }
.shop-done dl div + div { border-top: 1px solid var(--line); }
.shop-done dt { color: var(--muted); }
.shop-done dd { margin: 0; font-weight: 700; color: var(--ink); }
.shop-done-call { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-bottom: 8px; color: var(--ink); font-weight: 600; }

/* ─── Toast ─── */
.shop-toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 40; max-width: calc(100% - 32px); padding: 10px 16px; border-radius: 10px; background: #111827; color: #fff; font-size: 15px; box-shadow: 0 6px 20px rgba(0,0,0,.25); }

@media (prefers-reduced-motion: no-preference) {
    .shop-sheet:not([hidden]) { animation: shop-up .18s ease-out; }
    @keyframes shop-up { from { translate: 0 24px; opacity: 0; } }
}

/* ═══ Spanish Mediterranean theme ═══
   Palette taken from the Wood Ave logo: sun gold, pale gold, tree green, leaf green.
   Arches, a tile band and serif headings carry the look; layout and sizes are unchanged. */
.shop-page {
    --ink: #1c3722;          /* tree green */
    --deep: #142008;         /* trunk */
    --leaf: #366447;
    --gold: #f9d857;         /* sun */
    --gold-soft: #fbeec4;
    --text: #24291f;
    --muted: #5d5a48;
    --bg: #fbf7ea;           /* limewash */
    --card: #fffdf6;
    --line: #e6dbb6;
    --accent: #2f5a3d;
    --accent-soft: #fbeec4;
    --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
    --tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Crect width='48' height='48' fill='%23fbeec4'/%3E%3Cpath d='M24 4L44 24 24 44 4 24Z' fill='none' stroke='%23203d27' stroke-width='2.5'/%3E%3Ccircle cx='24' cy='24' r='7' fill='%23f9d857' stroke='%23203d27' stroke-width='2.5'/%3E%3Cpath d='M0 0Q13 0 13 13 0 13 0 0ZM48 0Q35 0 35 13 48 13 48 0ZM0 48Q13 48 13 35 0 35 0 48ZM48 48Q35 48 35 35 48 35 48 48Z' fill='%23366447'/%3E%3C/svg%3E");
}
.shop-page :focus-visible { outline-color: #0b57d0; }

.shop-header { background: var(--card); border-bottom: 1px solid var(--line); }
.shop-brand { font-family: var(--serif); font-size: 19px; letter-spacing: 0; }
.shop-brand b { color: var(--leaf); }
.shop-call { border-color: var(--ink); }

.shop-hero {
    position: relative; padding: 30px 0 46px; color: #fff; overflow: hidden;
    background:
        radial-gradient(circle at 100% 0, rgba(249,216,87,.20) 0 120px, rgba(249,216,87,.08) 121px 170px, transparent 171px),
        linear-gradient(165deg, #23452b 0%, #1c3722 55%, #142008 100%);
}
@media (min-width: 820px) {
    .shop-hero {
        padding: 44px 0 62px;
        background:
            radial-gradient(circle at 82% 46%, #f9d857 0 118px, rgba(249,227,144,.30) 119px 150px, rgba(249,227,144,.12) 151px 190px, transparent 191px),
            linear-gradient(165deg, #23452b 0%, #1c3722 55%, #142008 100%);
    }
}
.shop-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 18px; background: var(--tile) repeat-x left center / 18px 18px; }
.shop-hero h1 { font-family: var(--serif); font-weight: 700; letter-spacing: -.01em; }
.shop-hero h1 span { color: var(--gold); font-style: italic; }
.shop-hero p { color: #ece8d6; }
.shop-proof li { border-color: rgba(249,216,87,.55); color: #fff; background: rgba(20,32,8,.25); }
.shop-hero .shop-member { color: var(--gold); }
.shop-member-cta a { color: var(--gold); }

.shop-search input, .shop-calc-input input, .shop-field input[type=text], .shop-field input[type=tel], .shop-field input[type=email] { border-color: #d6c998; background: var(--card); }
.shop-search input:focus, .shop-field input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(54,100,71,.25); }
.shop-chip { border-color: #d6c998; background: var(--card); }
.shop-chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.shop-again { background: var(--gold-soft); border-color: #ead796; }
.shop-again div, .shop-again .shop-again-x { color: #3d3a1c; }
.shop-again b { color: var(--deep); }
.shop-again button { background: var(--ink); }

.shop-calc { background: var(--card); border-color: var(--line); border-radius: 16px; }
.shop-calc > label { font-family: var(--serif); font-size: 18px; }

.shop-card { border-radius: 16px; box-shadow: 0 1px 0 rgba(28,55,34,.04); }
.shop-card.in-cart { border-color: var(--leaf); box-shadow: inset 0 0 0 1px var(--leaf); }
.shop-card-img, .shop-card-img[src*="/glue/"], .shop-card-img[src*="/cork/"], .shop-card-img[src*="/wallbase/"] { width: 68px; height: 78px; border-radius: 34px 34px 8px 8px; border: 1px solid var(--line); background: #fff; }
.shop-card-name { font-family: var(--serif); font-size: 18px; }
.shop-card-calc { background: var(--gold-soft); color: #3d3a1c; }
.shop-card-calc b { color: var(--deep); }
.shop-card-price .shop-save { background: var(--gold-soft); color: var(--ink); }
.shop-add { background: var(--ink); border-radius: 23px; }
.shop-ask { border-color: #d6c998; border-radius: 23px; }
.shop-step { border-color: var(--ink); border-radius: 23px; background: var(--card); }
.shop-step button:active { background: var(--gold-soft); }
.shop-empty { background: var(--card); border-radius: 16px; }

.shop-how { margin-top: 34px; }
.shop-how div { border: 1px solid var(--line); background: var(--card); border-radius: 16px; }
.shop-how b { width: 30px; height: 36px; border-radius: 15px 15px 4px 4px; background: var(--gold); color: var(--deep); font-family: var(--serif); font-size: 16px; }

.shop-footer { position: relative; padding-top: 42px; background: var(--ink); border-top: none; color: #d9d6c2; }
.shop-footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 18px; background: var(--tile) repeat-x left center / 18px 18px; }
.shop-footer strong { color: #fff; font-family: var(--serif); font-size: 17px; }
.shop-footer a { color: var(--gold); }

.shop-bar { background: linear-gradient(to top, var(--bg) 70%, rgba(251,247,234,0)); }
.shop-bar-btn { background: var(--gold); color: var(--deep); border-radius: 29px; box-shadow: 0 6px 20px rgba(20,32,8,.28); }

.shop-sheet { background: var(--card); }
.shop-sheet h2, .shop-sheet h3 { font-family: var(--serif); }
.shop-pick span { border-color: #d6c998; }
.shop-pick input:checked + span { background: var(--ink); border-color: var(--ink); }
.shop-more summary { color: var(--leaf); font-weight: 600; }
.shop-submit { background: var(--ink); border-radius: 29px; }
.shop-done-check { background: var(--gold-soft); color: var(--ink); }
.shop-toast { background: var(--deep); }

/* ─── Product and category pages (shop_base.html) ─── */
.shop-card-name a { color: inherit; text-decoration: none; }
.shop-card-name a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.shop-footer-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; }
.shop-pg { padding-top: 14px; padding-bottom: 48px; }
.shop-crumbs { font-size: 14px; color: var(--muted); }
.shop-crumbs a { color: var(--leaf); font-weight: 600; text-decoration: none; }
.shop-crumbs a:hover { text-decoration: underline; }
.shop-pg-title { margin: 12px 0 6px; font-family: var(--serif); font-size: clamp(26px, 5.4vw, 38px); line-height: 1.12; color: var(--ink); text-wrap: balance; }
.shop-pg-intro { margin: 0 0 14px; max-width: 42em; font-size: 16px; color: var(--text); }
.shop-pg-cta { margin: 0 0 18px; }
.shop-pg-btn { display: inline-flex; align-items: center; text-decoration: none; }
.shop-pg-call { font-size: 16px; font-weight: 600; color: var(--muted); }
.shop-pg-sub { margin: 30px 0 8px; font-family: var(--serif); font-size: 21px; color: var(--ink); }
.shop-pg-more { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px 20px; }
@media (min-width: 620px) { .shop-pg-more { grid-template-columns: 1fr 1fr; } }
.shop-pg-more li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.shop-pg-more a { color: var(--ink); font-weight: 600; text-decoration: none; }
.shop-pg-more a:hover { text-decoration: underline; }
.shop-pg-more span { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

.shop-pdp { display: grid; gap: 18px; margin-top: 4px; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
@media (min-width: 700px) { .shop-pdp { grid-template-columns: 260px 1fr; gap: 28px; padding: 26px; align-items: start; } }
.shop-pdp-img { display: block; width: 100%; max-width: 260px; height: 300px; margin: 0 auto; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 130px 130px 12px 12px; padding: 22px 14px 14px; }
.shop-pdp .shop-pg-title { margin-top: 0; }
.shop-pdp-sku { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.shop-pdp-price strong { font-size: 30px; }
.shop-pdp-stock { margin: 10px 0 0; }
.shop-pdp-desc { margin: 14px 0 0; max-width: 40em; color: var(--text); }
.shop-pdp-add { display: flex; align-items: center; justify-content: center; max-width: 340px; margin-top: 18px; text-decoration: none; }
.shop-pdp-callbtn { background: var(--card); color: var(--ink); border: 1.5px solid var(--ink); }
.shop-pdp .shop-fine { max-width: 340px; }

.shop-pdp-note { margin: 8px 0 0; font-size: 13px; color: var(--muted); }

/* Chip counts are in the page from the start so the row does not jump when products load */
.shop-chip small { display: inline-block; min-width: 1.15em; text-align: left; }
.shop-count { margin: 10px 2px 6px; }
.shop-calc { margin: 4px 0 10px; }
