/* The shop's stylesheet — Stock card, the direction chosen (docs/SHOP_PLAN.md §8, drawn in docs/shop-preview/).
   The shop as a dealer's stock book: each item is the dark card its stamps sit on, with the white writing field a
   dealer fills in. One family, Archivo, in three widths: wide for headings, narrow for the labels, so a long German
   title still fits.

   Two schemes, every colour a variable (SH53) — which is all the Look page changes, in /look.css:
   light  a grey paper counter, white labels;
   dark   the black page of a stock book, the labels dark as well;
   device as the visitor's device asks.

   Sizes are for a phone first where it matters (SH87): 16 px text, fields that do not make a phone zoom, buttons a
   thumb can find. The cart's and the checkout's parts come with them (W5), from docs/shop-preview/stock-card.css. */

/* Archivo, kept with the shop: no visitor's browser asks another company for a font. SIL Open Font License
   (fonts/Archivo-OFL.txt). One file holds every weight and width. */
@font-face {
    font-family: "Archivo";
    font-style: normal;
    font-weight: 400 800;
    font-stretch: 62% 125%;
    font-display: swap;
    src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Archivo";
    font-style: normal;
    font-weight: 400 800;
    font-stretch: 62% 125%;
    font-display: swap;
    src: url("../fonts/archivo-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --paper: #E6E8EA;   --on-paper: #15171A;  --on-paper-soft: #555B62;  --paper-line: #C8CCD0;
    --bar: #1D1F21;
    --head: #FFFFFF;    --on-head: #15171A;   --head-line: #C8CCD0;
    --hero: #2B2D30;    --card: #2B2D30;
    --label: #FFFFFF;   --ink: #15171A;       --soft: #555B62;           --line: #C8CCD0;   --tile-edge: transparent;
    --carmine: #B4202B; --carmine-deep: #8C1620;
    --price: #B4202B;   --hot: #B4202B;
    color-scheme: light;
}
:root[data-scheme="dark"] {
    --paper: #101113;   --on-paper: #ECEEF0;  --on-paper-soft: #A3AAB2;  --paper-line: #33373C;
    --bar: #08090A;
    --head: #101113;    --on-head: #FFFFFF;   --head-line: #33373C;
    --hero: #1C1E21;    --card: #2A2D31;
    --label: #1F2125;   --ink: #ECEEF0;       --soft: #A3AAB2;           --line: #3A3E44;   --tile-edge: #33373C;
    --price: #FF7D85;   --hot: #FF7D85;
    color-scheme: dark;
}
/* As the visitor's device asks: the same dark colours, where the device is set to dark. */
@media (prefers-color-scheme: dark) {
    :root[data-scheme="device"] {
        --paper: #101113;   --on-paper: #ECEEF0;  --on-paper-soft: #A3AAB2;  --paper-line: #33373C;
        --bar: #08090A;
        --head: #101113;    --on-head: #FFFFFF;   --head-line: #33373C;
        --hero: #1C1E21;    --card: #2A2D31;
        --label: #1F2125;   --ink: #ECEEF0;       --soft: #A3AAB2;           --line: #3A3E44;   --tile-edge: #33373C;
        --price: #FF7D85;   --hot: #FF7D85;
        color-scheme: dark;
    }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; background: var(--paper); color: var(--on-paper); font: 400 16px/1.45 "Archivo", system-ui, sans-serif; }
body > main { flex: 1 0 auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--hot); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 24px; }
[hidden] { display: none !important; }

/* ---- inside a closed shop with a pass ---- */
.pass-strip { background: var(--carmine-deep); color: #fff; font-size: 14px; }
.pass-strip .wrap { padding-top: 7px; padding-bottom: 7px; }

/* ---- the thin bar: where it ships from, the languages, light or dark ---- */
.util { background: var(--bar); color: #D5D9DD; font-size: 14px; }
.util .wrap { display: flex; align-items: center; justify-content: flex-end; gap: 6px 20px; min-height: 38px; }
.seg { display: flex; }
.seg button, .seg a { background: none; border: 0; padding: 8px 9px; color: #AEB5BC; font-stretch: 88%; font-weight: 600; text-decoration: none; }
.seg a:hover, .seg button:hover { color: #fff; }
.seg [aria-pressed="true"], .seg [aria-current="true"] { color: #fff; box-shadow: inset 0 -2px 0 var(--carmine); }
.seg svg { display: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; vertical-align: -3px; }

/* ---- the header ---- */
.head { position: relative; background: var(--head); color: var(--on-head); border-bottom: 1px solid var(--head-line); }
.head .wrap { display: flex; align-items: center; gap: 12px 30px; min-height: 68px; }
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-stretch: 112%; font-size: 21px; letter-spacing: -0.01em; white-space: nowrap; }
.mark svg { width: 30px; height: 30px; flex: none; }
.mark-paper { fill: var(--carmine); }
.mark b { color: var(--hot); font-weight: 800; }
.nav { display: flex; gap: 24px; }
.nav a { text-decoration: none; font-weight: 600; padding: 8px 0; white-space: nowrap; }
.nav a:hover { color: var(--hot); }
.hsearch { flex: 1; display: flex; max-width: 560px; margin-left: auto; border: 1.5px solid var(--on-head); border-radius: 3px; background: #fff; }
.hsearch input { flex: 1; min-width: 0; height: 42px; border: 0; background: none; padding: 0 12px; font-size: 16px; font-stretch: 92%; color: #15171A; }
.hsearch input:focus { outline: none; }
.hsearch:focus-within { box-shadow: 0 0 0 3px var(--carmine); border-color: var(--carmine); }
.hsearch button { border: 0; background: var(--carmine); color: #fff; font-weight: 700; padding: 0 16px; }

/* the menu a narrow screen has in place of the row of links */
.menu { display: none; }
.menu summary { display: flex; align-items: center; gap: 8px; list-style: none; cursor: pointer; height: 44px; padding: 0 12px; border: 1.5px solid var(--on-head); border-radius: 3px; font-weight: 600; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }
.menu nav { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; display: flex; flex-direction: column; background: var(--head); border-bottom: 1px solid var(--head-line); box-shadow: 0 14px 24px rgba(0,0,0,.22); padding: 4px 0 10px; }
.menu nav a { padding: 13px 24px; text-decoration: none; font-weight: 600; font-size: 17px; }

/* a line under the header: away (SH27), a campaign's banner later (SH63) */
.promo { background: var(--carmine); color: #fff; font-size: 15px; font-weight: 500; }
.promo .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; min-height: 40px; padding-top: 7px; padding-bottom: 7px; }
.promo p { margin: 0; }
.promo a { color: #fff; font-weight: 700; text-underline-offset: 3px; }
.promo :focus-visible { outline-color: #fff; }

/* ---- home: the hero is the search — on the card itself, strips and all ---- */
.hero { background: var(--hero); color: #fff; background-image: repeating-linear-gradient(to bottom, transparent 0 51px, rgba(255,255,255,.07) 51px 52px); }
.hero .wrap { padding-top: 34px; padding-bottom: 30px; }
.hero h1 { margin: 0 0 8px; font-weight: 800; font-stretch: 122%; font-size: clamp(28px, 3.9vw, 54px); line-height: 1.04; letter-spacing: -0.015em; max-width: 21ch; }
.hero p.lead { margin: 0 0 24px; color: #C9CED3; font-size: 18px; max-width: 62ch; }
/* What the shop says of the business (asked 2026-10-24): under the lead, before the search. */
.hero p.trust { margin: -12px 0 22px; color: #FFFFFF; font-size: 15px; font-weight: 600; }
.hero-tall { flex: 1; display: flex; align-items: center; }
.hero-tall .wrap { padding-top: 64px; padding-bottom: 96px; }
.hero-tall p.lead { margin-bottom: 0; }
.hero-link { margin: 22px 0 0; }
.hero-link a { color: #fff; font-weight: 700; text-underline-offset: 3px; }
.find { display: flex; max-width: 860px; background: #fff; border-radius: 3px; }
.find input { flex: 1; min-width: 0; border: 0; background: none; font-size: 21px; font-weight: 500; font-stretch: 92%; padding: 0 20px; height: 62px; color: #15171A; }
.find input::placeholder, .hsearch input::placeholder { color: #7B828A; }
.find input:focus { outline: none; }
.find:focus-within { box-shadow: 0 0 0 3px var(--carmine); }
.find button { border: 0; background: var(--carmine); color: #fff; font-weight: 700; font-size: 18px; padding: 0 30px; border-radius: 0 3px 3px 0; }
.find button:hover, .hsearch button:hover { background: var(--carmine-deep); }
.tries { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; color: #AEB5BC; font-size: 15px; }
.tries a { display: block; padding: 6px 11px; border: 1px solid rgba(255,255,255,.28); border-radius: 3px; text-decoration: none; color: #fff; font-stretch: 88%; font-weight: 500; }
.tries a:hover { border-color: #fff; }

/* the counter: lists on the left, cards on the right */
.counter { display: grid; grid-template-columns: 212px minmax(0, 1fr); gap: 34px; padding-top: 30px; padding-bottom: 64px; }
.counter-list { padding-top: 6px; }
.side h2 { margin: 0 0 6px; font-size: 16px; font-weight: 700; font-stretch: 108%; }
.side ul { list-style: none; margin: 0 0 28px; padding: 0; border-top: 2px solid var(--on-paper); }
.side li a, .side-group { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--paper-line); text-decoration: none; font-stretch: 92%; }
.side li a:hover span:first-child { color: var(--hot); }
.side li a[aria-current="true"] { font-weight: 700; box-shadow: inset 3px 0 0 var(--hot); padding-left: 10px; }
.side-group { font-weight: 700; font-stretch: 100%; padding-top: 14px; }
.side .n { color: var(--on-paper-soft); font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 400; }
.side .clear { font-weight: 600; text-underline-offset: 3px; }
/* kinds and conditions ticked, several at once (docs/SHOP_SEARCH_PLAN.md D6) */
.side .several .tick { display: inline-block; position: relative; width: 15px; height: 15px; margin-right: 9px; vertical-align: -2px; border: 1.5px solid currentColor; border-radius: 2px; }
.side .several a[aria-checked="true"] { font-weight: 700; }
.side .several a[aria-checked="true"] .tick { background: var(--hot); border-color: var(--hot); }
.side .several a[aria-checked="true"] .tick::after { content: ""; position: absolute; left: 3.5px; top: 0.5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
/* the filters folded on a narrow screen (D9): the button shows only there */
.side-fold > summary { display: none; }
.side-fold > summary::-webkit-details-marker { display: none; }
/* what was chosen, each with its ×, and the Sort box, above the items (D2, D7) */
.list-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 16px; }
.chosen { display: flex; flex-wrap: wrap; gap: 8px; }
.chosen a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border: 1.5px solid var(--on-paper); border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 600; }
.chosen a span { font-size: 18px; line-height: 1; }
.chosen a:hover { border-color: var(--hot); color: var(--hot); }
.chosen .chosen-all { border-color: transparent; text-decoration: underline; text-underline-offset: 3px; }
.sorter { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.sorter label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--on-paper-soft); }
.sorter select { height: 40px; padding: 0 10px; border: 1.5px solid var(--paper-line); border-radius: 3px; background: var(--paper); color: var(--on-paper); font-size: 15px; font-weight: 600; }
.sorter .btn { min-height: 40px; padding: 0 14px; font-size: 15px; color: var(--on-paper); border-color: var(--on-paper); }
/* the advanced search (D5) */
.adv { max-width: 860px; }
.adv-years { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.adv-ticks { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; align-content: flex-start; }
.adv-ticks legend { width: 100%; padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--soft); }
.adv-go { display: flex; align-items: center; gap: 22px; margin: 6px 0 0; }
.adv-go a { font-weight: 600; text-underline-offset: 3px; }
.hero-adv { margin: 10px 0 0; }
.hero-adv a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
.hsearch .hs-adv { display: grid; place-items: center; width: 42px; flex: none; color: #555B62; border-left: 1px solid #DADDE0; }
.hsearch .hs-adv:hover { color: #15171A; }
.hsearch .hs-adv svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.row h2 { margin: 0; font-size: 24px; font-weight: 800; font-stretch: 114%; letter-spacing: -0.01em; }
.row a { font-weight: 600; text-underline-offset: 3px; white-space: nowrap; }
.cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px 14px; }
.counter-list .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.empty { margin: 8px 0 0; font-size: 18px; color: var(--on-paper-soft); max-width: 60ch; }

/* every country, every theme */
.index { columns: 4 220px; column-gap: 34px; list-style: none; margin: 0 0 64px; padding: 0; border-top: 2px solid var(--on-paper); }
.index li { break-inside: avoid; }
.tree { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 34px; padding-bottom: 64px; }
.tree h2 { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.tree h2 a { text-decoration: none; }
.tree h2 a:hover { color: var(--hot); }

/* ---- a stock card: the dark card, then its writing field ---- */
.sc { background: var(--label); color: var(--ink); border-radius: 3px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--paper-line), 0 0 0 1px var(--tile-edge); }
.sc-pic { position: relative; }
.sc-art { display: block; background: var(--card); aspect-ratio: 4 / 3; }
.sc-art[data-look] { cursor: zoom-in; }
.sc-art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sc-tags { position: absolute; left: 0; top: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; pointer-events: none; }
.sc-tags span, .tag { font-size: 13px; font-weight: 700; font-stretch: 90%; padding: 2px 9px 2px 8px; }
.sc-off, .tag { background: var(--carmine); color: #fff; font-variant-numeric: tabular-nums; }
.sc-new { background: #fff; color: #15171A; }
.sc-free { background: #1E7A3C; color: #fff; }
.sc-field { padding: 10px 12px 12px; display: flex; flex-direction: column; flex: 1; }
.sc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; color: var(--soft); font-size: 14px; font-stretch: 86%; }
.sc-cond { border: 1px solid var(--ink); color: var(--ink); padding: 0 5px; font-weight: 600; font-size: 13px; white-space: nowrap; }
.sc-no { color: var(--soft); font-size: 14px; font-stretch: 86%; margin: 0 0 6px; }
.sc-title { margin: 3px 0 4px; font-size: 18px; font-weight: 700; font-stretch: 80%; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.sc-title a { text-decoration: none; }
.sc-title a:hover { text-decoration: underline; text-underline-offset: 2px; }
.sc-kind { color: var(--soft); font-size: 14px; font-stretch: 84%; margin-top: auto; }
.sc-buy { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 8px; border-top: 1px dashed var(--line); min-height: 40px; }
.sc-price { color: var(--price); font-weight: 800; font-size: 20px; font-stretch: 92%; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* the price struck through: the lowest of the 30 days before the discount (SH64) */
.sc-was { color: var(--soft); font-size: 14px; font-weight: 500; margin-left: 8px; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Add to cart from the tile: the theme's colour, a tick for a moment once added; the struck price goes under the
   price where the tile is narrow, so the button stays inside it */
.sc-buy > span { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; min-width: 0; }
.sc-buy .sc-was { margin-left: 0; }
/* a dealer signed in (PRICE_RULES_PLAN PL15): his price, the public one plain under it — never struck, it is no reduction */
.sc-public { color: var(--soft); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dealer-rule { color: var(--soft); font-size: 14px; }
.pricebox .public { margin-top: 6px; font-size: 18px; color: var(--soft); font-variant-numeric: tabular-nums; }
/* a dealer's Only with my price beside Sort: ringed in the shop's colour while on */
.btn-line.mine.on { border-color: var(--carmine); color: var(--carmine); font-weight: 700; }
.sc-addf { margin: 0; flex: none; }
.sc-add { width: 40px; height: 40px; padding: 0; border: 0; border-radius: 3px; background: var(--carmine); color: #fff; display: grid; place-items: center; cursor: pointer; }
.sc-add:hover { background: var(--carmine-deep); }
.sc-add:disabled { opacity: .6; cursor: default; }
.sc-add svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sc-add.done svg { display: none; }
.sc-add.done::after { content: "\2713"; font-size: 20px; font-weight: 800; line-height: 1; }
/* what an add from a tile did, over the page for a moment */
.toast { position: fixed; z-index: 60; top: 12px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); margin: 0; padding: 12px 16px;
         background: var(--label); color: var(--ink); border-left: 3px solid var(--carmine); box-shadow: 0 6px 24px rgba(0,0,0,.28); font-size: 15px; }
.toast a { color: inherit; font-weight: 700; margin-left: 8px; text-underline-offset: 3px; }
.toast[hidden] { display: none; }

/* ---- the pictures, large, over the page (SH69) ---- */
.look { border: 0; padding: 0; width: min(1120px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); background: var(--label); color: var(--ink); border-radius: 4px; overflow: hidden; }
.look::backdrop { background: rgba(8,9,10,.8); }
.look[open] { display: grid; grid-template-columns: minmax(0, 1fr) 320px; }
.look-stage { position: relative; background: var(--card); display: grid; place-items: center; min-height: 240px; }
.look-stage img { display: block; width: 100%; height: auto; max-height: calc(100dvh - 32px); object-fit: contain; }
.look-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; padding: 0 0 3px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(16,17,19,.55); color: #fff; font-size: 26px; line-height: 1; }
.look-nav:hover { border-color: #fff; }
.look-prev { left: 12px; }
.look-next { right: 12px; }
.look-count { position: absolute; left: 14px; bottom: 12px; margin: 0; color: #fff; font-size: 14px; background: rgba(16,17,19,.6); padding: 2px 9px; border-radius: 3px; }
.look-side { padding: 16px 22px 20px; display: flex; flex-direction: column; }
.look-x { align-self: flex-end; width: 40px; height: 40px; margin-bottom: 12px; padding: 0; border: 1.5px solid var(--ink); background: none; border-radius: 3px; font-size: 22px; line-height: 1; }
.look-x:hover { background: var(--ink); color: var(--label); }
.look-side .sc-kind { margin-top: 0; }
.look-title { margin: 2px 0 6px; font-size: 21px; font-stretch: 84%; font-weight: 700; line-height: 1.2; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.thumbs a, .thumbs button { display: block; width: 92px; padding: 0; border: 2px solid transparent; background: var(--card); border-radius: 3px; overflow: hidden; }
.thumbs [aria-pressed="true"] { border-color: var(--hot); }
.thumbs img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.look-price { margin-top: auto; padding-top: 14px; }
.look-price .sc-price { font-size: 26px; }
.look-see { margin-top: 12px; }

/* ---- buttons the pages share ---- */
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 3px; border: 0; background: var(--carmine); color: #fff; font-weight: 700; font-size: 18px; text-decoration: none; text-align: center; line-height: 1.15; }
.btn:hover { background: var(--carmine-deep); }
.btn:disabled { opacity: .4; cursor: default; background: var(--carmine); }
.btn-line { background: none; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--label); }
.pages .btn-line { color: var(--on-paper); border-color: var(--on-paper); min-height: 48px; font-size: 16px; }
.pages .btn-line:hover { background: var(--on-paper); color: var(--paper); }

/* ---- a list's head, and its pages ---- */
.crumbs { padding: 16px 0 12px; font-size: 14px; color: var(--on-paper-soft); }
.crumbs a { text-underline-offset: 3px; }
.pagehead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; padding: 4px 0 16px; }
.pagehead h1 { margin: 0; font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; font-stretch: 118%; letter-spacing: -0.015em; line-height: 1.1; }
.pagehead p { margin: 0; color: var(--on-paper-soft); }
main.wrap > .pagehead:first-child { padding-top: 24px; }   /* a page with no links above its heading: the account */
.pages { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; margin-top: 26px; }
.pages > :first-child { justify-self: start; }
.pages > :last-child { justify-self: end; }
.pg-nums { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.pg-nums a, .pg-gap { display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 6px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pg-nums a { border: 1.5px solid var(--paper-line); border-radius: 3px; color: var(--on-paper); text-decoration: none; }
.pg-nums a:hover { border-color: var(--on-paper); }
.pg-nums a[aria-current] { background: var(--on-paper); border-color: var(--on-paper); color: var(--paper); }
.pg-gap { min-width: 20px; padding: 0; color: var(--on-paper-soft); }

/* ---- an item's page ---- */
.item { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 30px; align-items: start; padding-bottom: 44px; }
.item > * { min-width: 0; }   /* a long country name in the delivery list must not widen the column */
.gal-main { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--card); border-radius: 3px; overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; }
.gal-main:disabled { cursor: default; }
.gal-main img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gal-main .tag { position: absolute; left: 0; top: 14px; font-size: 15px; padding: 3px 12px; }
.gal-note { margin: 2px 0 0; color: var(--on-paper-soft); font-size: 14px; }
.info { background: var(--label); color: var(--ink); border-radius: 3px; padding: 20px 24px 24px; box-shadow: 0 1px 0 var(--paper-line), 0 0 0 1px var(--tile-edge); }
.info .sc-top { font-size: 16px; }
.info .sc-cond { font-size: 14px; padding: 1px 7px; }
.info h1 { margin: 6px 0 4px; font-size: clamp(26px, 2.7vw, 34px); font-weight: 800; font-stretch: 86%; line-height: 1.1; letter-spacing: -0.005em; }
.info .cond-note { margin: 0; color: var(--soft); font-size: 15px; }
.pricebox { margin: 16px 0; padding: 14px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.pricebox .now { color: var(--price); font-weight: 800; font-size: 36px; line-height: 1; font-stretch: 92%; font-variant-numeric: tabular-nums; }
.pricebox .sc-was { font-size: 18px; }
.pricebox p { margin: 8px 0 0; font-size: 14px; color: var(--soft); }
.pricebox .until { color: var(--price); font-weight: 600; }
.info .gone { margin: 16px 0; padding: 14px 16px; border: 1.5px solid var(--hot); border-radius: 3px; }
/* what delivery costs to the visitor's country (SH66) */
.deliv { margin: 4px 0 48px; font-size: 15px; }
.deliv p { margin: 0 0 4px; }
.deliv ul { list-style: none; margin: 0 0 6px; padding: 0; }
.deliv li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; border-bottom: 1px dashed var(--line); }
.deliv li span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.deliv .free { color: var(--price); font-weight: 600; }
.deliv .nodeliv { color: var(--hot); font-weight: 600; }
.info .gone p { margin: 0; }
.info .gone .item-fav { margin: 10px 0 0; }
.facts { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 15px; }
.facts th, .facts td { text-align: left; padding: 8px 0; border-top: 1px solid var(--line); vertical-align: top; }
.facts th { width: 40%; font-weight: 600; color: var(--soft); padding-right: 10px; }
.facts a { text-underline-offset: 3px; }
.desc-head { margin: 22px 0 6px; font-size: 17px; font-weight: 700; font-stretch: 104%; }
.desc { font-size: 15px; }
.desc p { margin: 0 0 10px; overflow-wrap: anywhere; }
.band { padding-bottom: 40px; }
.band h2 { margin: 0 0 14px; font-size: 22px; font-weight: 800; font-stretch: 114%; letter-spacing: -0.01em; }
.band .row h2 { margin: 0; }

/* ---- the account and signing in (SH44, SH46) ---- */
.acct { display: flex; gap: 20px; align-items: center; margin-left: auto; }
.hsearch + .acct { margin-left: 0; }
.acct a { text-decoration: none; font-weight: 600; padding: 8px 0; white-space: nowrap; }
.acct a:hover { color: var(--hot); }
.narrow { max-width: 520px; }
.sheet { background: var(--label); color: var(--ink); border-radius: 3px; box-shadow: 0 1px 0 var(--paper-line), 0 0 0 1px var(--tile-edge); }
.step { padding: 18px 20px 20px; margin-bottom: 16px; }
.step h2 { margin: 0 0 14px; font-size: 19px; font-weight: 800; font-stretch: 108%; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.wide { grid-column: 1 / -1; }
.f { display: flex; flex-direction: column; gap: 5px; font-size: 14px; font-weight: 600; color: var(--soft); margin-bottom: 12px; }
.fields .f { margin-bottom: 0; }
.f .f-note { font-size: 13px; font-weight: 400; }
.f input, .f select { height: 48px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 3px; background: var(--label); color: var(--ink); font-size: 17px; font-weight: 500; min-width: 0; }
.f input:focus-visible, .f select:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.check input { width: 20px; height: 20px; accent-color: var(--carmine); }
.btn-wide { width: 100%; }
.said { margin: 0 0 12px; padding: 10px 12px; border-left: 3px solid var(--carmine); background: var(--paper); color: var(--on-paper); }
.problem { margin: 0 0 12px; padding: 10px 12px; border: 1.5px solid var(--hot); border-radius: 3px; color: var(--ink); background: var(--label); font-weight: 600; }
.soft { color: var(--soft); }
.under-link { margin: 12px 0 0; font-size: 15px; }
.linklike { background: none; border: 0; padding: 6px 0; color: var(--soft); text-decoration: underline; text-underline-offset: 3px; font-size: 15px; }
.linklike:hover { color: var(--hot); }
.account { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; align-items: start; padding-bottom: 48px; }
.acct-col { display: flex; flex-direction: column; min-width: 0; }
.acct-orders > p { margin: 0 0 16px; }
.address { padding: 10px 0; border-top: 1px solid var(--line); }
.address p { margin: 0 0 6px; }
.address details summary, .add-address summary { cursor: pointer; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; padding: 6px 0; }
.address-form { margin: 10px 0 14px; }
.add-address { border-top: 1px solid var(--line); padding-top: 6px; }
.tagline { color: var(--price); font-weight: 600; }
.delete-account { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line); }
.btn.danger { color: var(--hot); border-color: var(--hot); }
.signout { display: flex; gap: 18px; align-items: center; }
.signin { border: 0; padding: 22px 22px 20px; width: min(440px, calc(100vw - 24px)); background: var(--label); color: var(--ink); border-radius: 4px; }
.signin::backdrop { background: rgba(8,9,10,.7); }
.signin h2 { margin: 0 0 4px; font-size: 22px; font-weight: 800; font-stretch: 108%; }
.signin .look-x { float: right; margin: -6px -6px 0 0; }

/* ---- favourites (W13): the heart on a tile, on an item, in the header ---- */
.sc-favf { position: absolute; right: 8px; top: 8px; margin: 0; }
.sc-fav { width: 36px; height: 36px; padding: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(16,17,19,.55); color: #fff; display: grid; place-items: center; cursor: pointer; }
.sc-fav:hover { border-color: #fff; }
.heart { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
[data-fav][aria-pressed="true"] { background: var(--carmine); border-color: var(--carmine); color: #fff; }
[data-fav][aria-pressed="true"] .heart { fill: #fff; }
.item-fav { margin: 8px 0; }
.fav-btn { min-height: 44px; font-size: 16px; }
.acct .favs { display: flex; align-items: center; gap: 6px; }
.acct .favs .heart { width: 18px; height: 18px; }
.acct .favs.has .heart { fill: var(--carmine); stroke: var(--carmine); }
.fav-ticks { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
.fav-ticks .btn { min-height: 40px; font-size: 15px; }

/* ---- the cart and the checkout (W5), from docs/shop-preview/stock-card.css ---- */
.acct .bag { display: flex; align-items: center; gap: 8px; background: var(--ink); color: var(--label); padding: 9px 14px; border-radius: 3px; }
.acct .bag:hover { color: #fff; background: var(--carmine); }
.bag svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.bag b { font-variant-numeric: tabular-nums; }
.buybar { display: none; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 26px; align-items: start; padding-bottom: 64px; }
.cl { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto 96px 40px; gap: 6px 16px; align-items: center; padding: 14px 16px; }
.cl + .cl { border-top: 1px solid var(--line); }
.cl-pic { display: block; background: var(--card); aspect-ratio: 4 / 3; border-radius: 2px; overflow: hidden; }
.cl-pic img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cl-name { min-width: 0; }
.cl-name .sc-top { justify-content: flex-start; gap: 8px; }
.cl-name a { text-decoration: none; }
.cl-name a:hover { text-decoration: underline; text-underline-offset: 2px; }
.cl-name .sc-title { min-height: 0; margin: 0 0 2px; font-size: 16px; }
.cl-name .sc-no { margin: 0 0 2px; }
.cl-each { color: var(--soft); font-size: 14px; }
.cl-each .sc-was { font-size: 13px; margin-left: 6px; }
/* /offers: the running campaigns, each a line to its listings (SH63, SH80) */
.offer-strips { display: flex; flex-direction: column; gap: 8px; margin: 0 0 22px; }
.offer-strips a { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 12px 16px; background: var(--carmine); color: #fff; text-decoration: none; font-weight: 600; border-radius: 3px; }
.offer-strips a[aria-current="true"] { box-shadow: inset 0 0 0 3px #fff, 0 0 0 2px var(--carmine); }
.offer-strips a span { font-weight: 500; opacity: .9; }
.cl-note { color: var(--price); font-size: 14px; font-weight: 600; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--ink); border-radius: 3px; }
.qty form { display: contents; }
.qty button { width: 40px; height: 40px; padding: 0; border: 0; background: none; color: inherit; font-size: 20px; line-height: 1; }
.qty button:hover:not(:disabled) { background: var(--ink); color: var(--label); }
.qty button:disabled { opacity: .3; cursor: default; }
.qty span { min-width: 30px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.cl-sum { text-align: right; font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cl-x { width: 40px; height: 40px; padding: 0; border: 0; background: none; color: var(--soft); font-size: 22px; line-height: 1; border-radius: 3px; }
.cl-x:hover { background: var(--ink); color: var(--label); }
.cl.gone .cl-pic, .cl.gone .cl-name { opacity: .5; }
.cl.gone .cl-gone { grid-column: 3 / 5; text-align: right; font-weight: 700; color: var(--price); }
.cl-empty { padding: 22px 18px; margin: 0; }
.under { display: inline-block; margin-top: 16px; font-weight: 600; color: var(--on-paper); text-underline-offset: 3px; }
.sum { padding: 18px 20px 20px; position: sticky; top: 14px; }
.sum h2 { margin: 0 0 8px; font-size: 19px; font-weight: 800; font-stretch: 108%; }
.sum-row { display: flex; justify-content: space-between; gap: 14px; padding: 6px 0; }
.sum-row span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.sum-total { margin: 8px 0 14px; padding-top: 12px; border-top: 2px solid var(--ink); font-size: 23px; font-weight: 800; }
.freebar { margin: 12px 0 2px; font-size: 14px; }
.freebar progress { display: block; width: 100%; height: 6px; margin-top: 6px; border: 0; border-radius: 3px; overflow: hidden; background: var(--line); appearance: none; }
.freebar progress::-webkit-progress-bar { background: var(--line); }
.freebar progress::-webkit-progress-value { background: var(--carmine); }
.freebar progress::-moz-progress-bar { background: var(--carmine); }
.note { margin: 12px 0 0; font-size: 13.5px; color: var(--soft); }
.opt { display: flex; align-items: flex-start; gap: 12px; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 3px; cursor: pointer; }
.opt + .opt { margin-top: 8px; }
.opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.opt input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--carmine); }
.opt > span:nth-child(2) { flex: 1; min-width: 0; }
.opt b { display: block; }
.opt small { display: block; color: var(--soft); font-size: 14px; }
.opt .p { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.noserve { margin: 0; padding: 13px 14px; border: 1.5px solid var(--hot); border-radius: 3px; }
/* A country's notice in the address area (docs/SHIPPING_NOTICES_PLAN.md CN2): red, for as long as the country is chosen. */
.country-notice { margin: 10px 0 4px; padding: 12px 14px; border: 2px solid var(--hot); border-radius: 3px; background: color-mix(in srgb, var(--hot) 7%, var(--label)); color: var(--ink); font-size: 15px; }
.country-notice p { margin: 0 0 8px; }
.country-notice .cn-head { color: var(--hot); font-weight: 700; }
.country-notice form { margin: 0; }
.country-notice .check { margin-top: 4px; font-weight: 600; }
.country-notice .cn-kept { margin: 6px 0 0; font-size: 13px; color: var(--soft); }
.country-notice > :last-child { margin-bottom: 0; }
.cn-slot:empty { display: none; }
.cn-slot .country-notice { margin: 0; }
.mini { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 0; font-size: 14px; font-stretch: 90%; }
.mini b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.mini small { display: block; color: var(--soft); }
.mini.gone { opacity: .55; }
.buy { margin: 14px 0 6px; display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.buy .f { margin: 0; width: 110px; }
.buy .btn { flex: 1; min-width: 200px; }
.incart { margin: 4px 0 10px; font-size: 15px; }
#itemTrust { margin: 4px 0 10px; color: var(--soft); font-size: 14px; }
.update-row { margin-top: 12px; }
.switch-pay { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.bankbox { width: 100%; border-collapse: collapse; margin: 10px 0 4px; font-size: 15px; }
.bankbox th, .bankbox td { text-align: left; padding: 7px 0; border-top: 1px solid var(--line); vertical-align: top; }
.bankbox th { width: 38%; font-weight: 600; color: var(--soft); padding-right: 10px; }
.bankbox td { font-weight: 600; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.stages { list-style: none; margin: 0; padding: 0; }
.stages li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); color: var(--soft); }
.stages li.done { color: var(--ink); font-weight: 600; }
.stages li.done::before { content: "\2713"; color: var(--carmine); margin-right: 8px; }
.stages li span:first-child { flex: 1; }
.orders { width: 100%; border-collapse: collapse; font-size: 15px; }
.orders th, .orders td { text-align: left; padding: 9px 8px 9px 0; border-top: 1px solid var(--line); }
.orders th { color: var(--soft); font-weight: 600; font-size: 14px; }
.orders td:last-child, .orders th:last-child { text-align: right; padding-right: 0; white-space: nowrap; }

/* ---- the foot ---- */
.foot { background: var(--bar); color: #D5D9DD; font-size: 15px; border-top: 1px solid var(--paper-line); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 40px; padding-top: 26px; padding-bottom: 30px; }
.foot p { margin: 0; }
.foot .foot-trust { color: #FFFFFF; font-weight: 600; }
.foot a { color: #fff; text-underline-offset: 3px; }
/* The legal pages and Cookie settings on the left, ANPC's SAL on the right (§9t L5) */
.foot .foot-law { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; align-items: center; font-size: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; flex: 1 1 420px; }
.foot-sal { display: inline-block; line-height: 0; background: #fff; border-radius: 4px; }
.foot-sal img { display: block; max-width: 100%; height: auto; }

/* ---- the consent strip (SH83): at the foot of the window, over nothing that matters ---- */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--label); color: var(--ink);
    border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(0,0,0,.14); }
.consent .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding-top: 14px; padding-bottom: 14px; }
.consent p { margin: 0; flex: 1 1 360px; font-size: 15px; line-height: 1.5; }
.consent-go { display: flex; flex-wrap: wrap; gap: 8px; }
.consent-go .btn { min-width: 150px; min-height: 44px; font-size: 16px; }

/* ---- a legal page (§9t L1) ---- */
.legal { max-width: 780px; margin: 0 auto 40px; }
.legal h2 { font-size: 20px; margin: 26px 0 8px; }
.legal h3 { font-size: 17px; margin: 20px 0 6px; }
.legal p, .legal li { line-height: 1.6; }
.legal ul { padding-left: 22px; margin: 6px 0 12px; }

/* ================= narrower screens (SH87) ================= */

/* a tablet held wide, a small laptop */
@media (max-width: 1180px) {
    .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .counter-list .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    /* the newest, in full rows: 15 is three of five, 12 three of four */
    .cards-home .sc:nth-child(n+13) { display: none; }
}

/* a tablet held upright: the links go into the menu, the lists under the cards */
@media (max-width: 960px) {
    .menu { display: block; }
    .nav { display: none; }
    .acct a:not(.bag):not(.favs) { display: none; }   /* the account is in the menu; the cart and the hearts stay */
    .two { grid-template-columns: 1fr; gap: 16px; }
    .sum { position: static; }
    .account { grid-template-columns: 1fr; }
    .acct-orders { order: -1; }
    .head .wrap { gap: 10px 16px; }
    .counter { grid-template-columns: 1fr; gap: 24px; }
    .counter-list .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .side { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; order: 2; }
    .side-fold > summary { display: flex; width: max-content; min-height: 44px; font-size: 16px; cursor: pointer; list-style: none; }
    .side-fold[open] > summary { margin-bottom: 16px; }
    .side-fold.empty { display: none; }
    .counter-list .side { order: 0; }
    .item { grid-template-columns: 1fr; gap: 18px; }
    .look[open] { grid-template-columns: 1fr; overflow: auto; }
    .look-x { position: absolute; right: 10px; top: 10px; z-index: 2; margin: 0; border-color: rgba(255,255,255,.5); background: rgba(16,17,19,.6); color: #fff; }
}

@media (max-width: 760px) {
    .cards, .counter-list .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cards-home .sc:nth-child(n+13) { display: flex; }
    .head .wrap { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
    .hsearch { order: 5; flex: 1 0 100%; max-width: none; margin-left: 0; }

    /* the thing to press stays in reach (SH87) */
    .buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: 14px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--label); color: var(--ink); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(0,0,0,.14); }
    .buybar .sc-price { font-size: 22px; }
    .buybar small { display: block; color: var(--soft); font-size: 13px; }
    .buybar .btn { flex: 1; min-height: 50px; font-size: 17px; padding: 0 14px; }
    body.has-buybar { padding-bottom: 76px; }
    /* the bar has the button: the summary's own is not shown twice */
    body.has-buybar .sum > .btn { display: none; }
}

/* a phone */
@media (max-width: 560px) {
    .wrap { padding: 0 14px; }
    .util .wrap { min-height: 36px; justify-content: space-between; gap: 4px; }
    .seg button, .seg a { padding-left: 7px; padding-right: 7px; }
    .seg svg { display: inline-block; }
    .seg button span { display: none; }
    .mark { font-size: 18px; gap: 8px; }
    .mark svg { width: 26px; height: 26px; }
    .menu summary { width: 44px; padding: 0; justify-content: center; }
    .menu summary span { display: none; }
    .menu nav a { padding: 13px 14px; }
    .promo { font-size: 14px; }

    .hero .wrap { padding-top: 22px; padding-bottom: 22px; }
    .hero p.lead { font-size: 16px; margin-bottom: 16px; }
    .find input { font-size: 17px; padding: 0 12px; height: 54px; }
    .find button { padding: 0 16px; font-size: 16px; }

    .counter { padding-top: 20px; padding-bottom: 40px; }
    .row h2, .band h2 { font-size: 20px; }
    .cards, .counter-list .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 8px; }
    .cards-home .sc:nth-child(n+15) { display: none; }
    .sc-field { padding: 8px 9px 10px; }
    .sc-no { font-size: 13px; }
    .sc-title { font-size: 16px; }
    .sc-price { font-size: 18px; }
    .sc-add { width: 36px; height: 36px; }
    .side { grid-template-columns: 1fr; }
    .pages { grid-template-columns: 1fr 1fr; }
    .fields { grid-template-columns: 1fr; }
    .step { padding: 16px 14px 18px; }
    .pages > .pg-nums { grid-column: 1 / -1; grid-row: 1; }

    .info { padding: 16px 14px 18px; margin: 0 -14px; border-radius: 0; }
    .gal-main { width: calc(100% + 28px); margin: 0 -14px; border-radius: 0; }
    .pricebox .now { font-size: 32px; }
    .thumbs a { width: 76px; }

    .bag span, .acct .favs span { display: none; }
    /* the heart and the cart stay on the logo's line */
    .head .wrap { column-gap: 8px; }
    .acct { gap: 4px; }
    .acct .favs { height: 44px; padding: 0 4px; gap: 4px; }
    .acct .bag { padding: 0 12px; height: 44px; }
    .cl { grid-template-columns: 84px minmax(0, 1fr) auto; gap: 8px 10px; padding: 12px 10px; align-items: start; }
    .cl-pic { grid-row: 1 / 3; }
    .cl-x { grid-column: 3; grid-row: 1; justify-self: end; margin: -6px -4px 0 0; }
    .cl-name { grid-column: 2; grid-row: 1; }
    .cl .qty { grid-column: 2; grid-row: 2; justify-self: start; }
    .cl-sum { grid-column: 3; grid-row: 2; align-self: center; margin-right: 2px; }
    .cl.gone .cl-gone { grid-column: 2 / 4; grid-row: 2; text-align: left; }
    .sum { padding: 16px 14px 18px; }
    .sheet.flush { margin: 0 -14px; border-radius: 0; }
}

/* fingers, not a mouse: nothing to press is smaller than a fingertip */
@media (pointer: coarse) {
    .sc-fav { width: 40px; height: 40px; }
    .seg button, .seg a { padding: 10px 11px; }
    .tries a { padding: 9px 12px; }
    .side li a { padding: 12px 0; }
}

/* Under the cart's lines: Keep looking, and Empty the cart beside it (2026-10-27). */
.cart-under { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.cart-empty { margin: 0; }
.cart-empty button { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; }
