/* The web shop's pages (/butikk/, lib/shop_front.php). Colours and fonts are the installation's brand tokens (api/brand.php?css);
   the only colours written here are the stock dot's green (no brand token means «in stock») and the banner's scrim and text over a
   photo (a photo is dark or light whatever the theme). Flat: no shadows, no fade-ins; the banner scrim is the only gradient. Phone
   first (390 px): cards two across, the drawer full width, the checkout and the listings one column. */
:root{ --shop-r: 0.75rem; --shop-pill: 999px; --shop-gutter: 1rem; --shop-max: 76rem; --shop-ok: #2f8a50; }
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; }
body.shop{ margin:0; background:var(--background); color:var(--ink); font-family:var(--font-sans); font-size:1rem; line-height:1.5; overflow-x:hidden; }
.shop img{ display:block; max-width:100%; }
.shop a{ color:var(--accent-ink); text-underline-offset:2px; }
.shop h1,.shop h2,.shop h3,.shop p,.shop ul,.shop dl,.shop dd,.shop fieldset{ margin:0; padding:0; }
.shop ul{ list-style:none; }
.shop [hidden]{ display:none !important; }
.shop-skip{ position:absolute; left:-999px; top:0; }
.shop-skip:focus{ left:var(--shop-gutter); top:0.5rem; padding:0.5rem 1rem; background:var(--surface); z-index:10; }
.shop-sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.shop-muted{ display:block; color:var(--ink-muted); font-size:0.875rem; }
.shop-muted-i{ color:var(--ink-muted); font-weight:400; }
.shop-ic{ flex:none; }
:focus-visible{ outline:2px solid var(--accent-ink); outline-offset:2px; }

/* the trust strip on top, the header (name, search, cart with count and sum), the category row; sticky from 720 px */
.shop-trust{ display:flex; flex-wrap:wrap; justify-content:center; gap:0 0.5rem; padding:0.4rem var(--shop-gutter); margin:0;
  font-size:0.8125rem; color:var(--on-brand); background:var(--brand-deep); text-align:center; }
.shop-trust a{ color:inherit !important; }
.shop-top{ background:var(--background); border-bottom:1px solid var(--hairline); }
@media (min-width:45rem){ .shop-page-full .shop-top{ position:sticky; top:0; z-index:5; } }
.shop-head{ display:grid; grid-template-columns:minmax(0, 1fr) auto; grid-template-areas:"brand cart" "search search"; align-items:center; gap:0.5rem 1rem;
  max-width:var(--shop-max); margin:0 auto; padding:0.75rem var(--shop-gutter); }
@media (min-width:45rem){ .shop-head{ grid-template-columns:auto minmax(0, 1fr) auto; grid-template-areas:"brand search cart"; gap:1.5rem; min-height:4.5rem; } }
.shop-brand{ grid-area:brand; display:flex; align-items:center; min-height:2.75rem; text-decoration:none; color:var(--ink) !important; min-width:0; }
/* the logo has a definite size in every look: an SVG with only a viewBox has a ratio but no size, and with max-height alone it resolved to 0×0 in Lun's shrink-to-fit, centred brand box; so a definite height, width:auto from the ratio, a rem/vw width cap (it beats «.shop img»' max-width:100%) and object-fit so a capped logo is never distorted */
.shop .shop-logo{ flex:none; height:2.5rem; max-height:2.5rem; width:auto; max-width:min(14rem, 55vw); object-fit:contain; object-position:left center; mix-blend-mode:multiply; } /* (sim round 4: a logo saved on a white ground showed a white box on the cream header; multiply lets the header colour through its white, a transparent logo is unchanged) */
.shop-logo.shop-logo-plain{ mix-blend-mode:normal; } /* (a logo for a dark bar, or the other slot's: multiply would erase it) */
.shop-name{ font-family:var(--font-serif); font-size:1.375rem; font-weight:500; overflow-wrap:anywhere; }
.shop-search{ grid-area:search; display:flex; align-items:center; max-width:40rem; width:100%; justify-self:center; border:1px solid var(--ghost); border-radius:var(--shop-pill); background:var(--surface); }
.shop-search:focus-within{ border-color:var(--ink); }
.shop-search input{ flex:1; min-width:0; min-height:2.75rem; padding:0 0 0 1.125rem; border:0; background:transparent; color:var(--ink); font:inherit; outline:none; }
.shop-search input::-webkit-search-cancel-button{ cursor:pointer; }
.shop-search-btn{ display:inline-flex; align-items:center; justify-content:center; width:2.75rem; height:2.75rem; border:0; background:transparent; color:var(--ink); cursor:pointer; border-radius:var(--shop-pill); }
.shop-cartlink{ grid-area:cart; display:inline-flex; align-items:center; gap:0.5rem; min-height:2.75rem; padding:0 0.875rem; border-radius:var(--shop-pill);
  color:var(--ink) !important; text-decoration:none; white-space:nowrap; font-size:0.9375rem; }
.shop-cartlink:hover{ background:var(--surface); }
.shop-cart-label{ display:none; }
@media (min-width:45rem){ .shop-cart-label{ display:inline; } }
.shop-cart-n{ display:inline-flex; align-items:center; font-variant-numeric:tabular-nums; }
.shop-count{ display:inline-flex; align-items:center; justify-content:center; min-width:1.5rem; height:1.5rem; padding:0 0.375rem; border-radius:var(--shop-pill);
  background:var(--brand-deep); color:var(--on-brand); font-size:0.8125rem; font-variant-numeric:tabular-nums; }
.shop-cart-sum{ font-weight:600; margin-left:0.25rem; }
.shop-cats{ max-width:var(--shop-max); margin:0 auto; padding:0 var(--shop-gutter); }
.shop-cats ul{ display:flex; gap:1.5rem; overflow-x:auto; scrollbar-width:none; }
.shop-cats a{ display:inline-flex; align-items:center; min-height:2.75rem; color:var(--ink-soft); text-decoration:none; white-space:nowrap; border-bottom:2px solid transparent; font-weight:500; font-size:0.9375rem; }
.shop-cats a:hover{ color:var(--ink); }
.shop-cats a[aria-current="page"]{ color:var(--ink); border-bottom-color:var(--ink); }

/* the main column */
.shop-main{ max-width:var(--shop-max); margin:0 auto; padding:1.25rem var(--shop-gutter) 3rem; }
.shop-h1{ font-family:var(--font-serif); font-weight:400; font-size:clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem); line-height:1.15; margin-bottom:1.25rem !important; overflow-wrap:anywhere; }
.shop-h2{ font-family:var(--font-serif); font-weight:400; font-size:1.5rem; line-height:1.25; margin-bottom:1rem !important; }
.shop-h2 a{ color:inherit; text-decoration:none; }
.shop-h2 a:hover{ text-decoration:underline; }
.shop-sec{ margin-top:3rem; }
.shop-sec-head{ display:flex; align-items:baseline; justify-content:space-between; gap:1rem; }
.shop-more{ white-space:nowrap; font-weight:500; font-size:0.9375rem; line-height:1.2; margin-left:auto; flex:none; }
.shop-crumb{ font-size:0.875rem; color:var(--ink-muted); margin-bottom:1rem; overflow-wrap:anywhere; }
.shop-crumb a{ color:var(--ink-soft); }

/* the front page's banner: the owner's picture (or the first product picture) under a dark scrim, the headline, one line, one button */
.shop-hero{ position:relative; display:flex; align-items:flex-end; min-height:16rem; border-radius:var(--shop-r); overflow:hidden; background:var(--secondary, var(--surface)); }
@media (min-width:45rem){ .shop-hero{ min-height:24rem; align-items:center; } }
.shop-hero-img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.shop-hero.has-pic::after{ content:""; position:absolute; inset:0; background:linear-gradient(to top, rgb(0 0 0 / 0.68), rgb(0 0 0 / 0.18) 75%); }
@media (min-width:45rem){ .shop-hero.has-pic::after{ background:linear-gradient(to right, rgb(0 0 0 / 0.66), rgb(0 0 0 / 0.08) 70%); } }
.shop-hero-in{ position:relative; z-index:1; display:flex; flex-direction:column; gap:0.75rem; max-width:34rem; padding:1.5rem; }
@media (min-width:45rem){ .shop-hero-in{ padding:3rem; } }
.shop-hero-h{ font-family:var(--font-serif); font-weight:400; font-size:clamp(2rem, 1.5rem + 2.4vw, 3.25rem); line-height:1.08; overflow-wrap:anywhere; }
.shop-hero-p{ font-size:1.0625rem; max-width:30rem; }
.shop-hero.has-pic .shop-hero-in{ color:#fff; }
/* the owner's own words or picture: text over a photo needs a scrim that holds on ANY photo, also a white one (white text on a 60 % black scrim over white = 5.7:1, WCAG AA),
   and a long headline or text reaches up where the gradients above are thin; so one flat, even scrim instead (Tydelig and Vid; Lun sets its text beside the photo) */
.shop-hero.has-pic.is-own::after,[data-look="vid"] .shop-hero.has-pic.is-own::after{ background:rgb(0 0 0 / 0.6); }
.shop-hero-in p:last-child{ margin-top:0.5rem; }
/* «Hjørner» (Nettbutikk → Forsiden → Toppen): nothing chosen = the look's own corners above; a class only when the owner fixes them */
.shop-hero.shop-corners-rett{ border-radius:0; }
.shop-hero.shop-corners-rund{ border-radius:1.25rem; }

/* category tiles: picture, name, count */
.shop-tiles{ display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:1rem; }
@media (min-width:45rem){ .shop-tiles{ grid-template-columns:repeat(auto-fill, minmax(12rem, 1fr)); gap:1.5rem; } }
.shop-tile{ display:flex; flex-direction:column; gap:0.125rem; color:var(--ink) !important; text-decoration:none; }
.shop-tile-pic{ aspect-ratio:4 / 3; margin-bottom:0.5rem; }
.shop-tile-tint{ background:color-mix(in srgb, var(--brand) 12%, var(--surface)); } /* a category with no picture yet: its first letter on a tint of the shop's colour */
.shop-tile-tint .shop-pic-ph{ color:var(--ink); }
.shop-tile-name{ font-weight:600; overflow-wrap:anywhere; }
.shop-tile:hover .shop-tile-name{ text-decoration:underline; }
.shop-tile-n{ font-size:0.875rem; color:var(--ink-muted); }

/* «Nyheter»: one row of cards, four in view on a wide screen; on a phone it scrolls sideways, one card whole and about a third of the next showing (72 %: the 41 % before cut the names off at 390 px) */
.shop-rail{ display:grid; grid-auto-flow:column; grid-auto-columns:72%; gap:1rem; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:thin; padding-bottom:0.5rem; }
.shop-rail > *{ scroll-snap-align:start; }
@media (min-width:45rem){ .shop-rail{ grid-auto-columns:calc((100% - 3rem) / 3.3); gap:1.5rem; } }
@media (min-width:64rem){ .shop-rail{ grid-auto-columns:calc((100% - 4.5rem) / 4); } }

/* product cards: two across on a phone, three from 720 px, four from 1024 px */
.shop-grid{ display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:2rem 1rem; }
@media (min-width:45rem){ .shop-grid{ grid-template-columns:repeat(3, minmax(0, 1fr)); gap:2.5rem 1.5rem; } }
@media (min-width:64rem){ .shop-grid{ grid-template-columns:repeat(4, minmax(0, 1fr)); } }
@media (min-width:64rem){ .shop-listing .shop-grid{ grid-template-columns:repeat(3, minmax(0, 1fr)); } }
.shop-card{ display:flex; flex-direction:column; gap:0.25rem; min-width:0; }
.shop-card-link{ display:flex; flex-direction:column; gap:0.75rem; color:var(--ink) !important; text-decoration:none; }
.shop-card-link:hover .shop-card-name{ text-decoration:underline; }
.shop-pic{ display:block; aspect-ratio:1; background:var(--surface); border-radius:var(--shop-r); overflow:hidden; }
.shop-pic img{ width:100%; height:100%; object-fit:cover; }
.shop-card-name{ font-size:1rem; font-weight:500; line-height:1.35; overflow-wrap:break-word; hyphens:auto; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.shop-card-sub{ font-size:0.875rem; color:var(--ink-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
/* a card without a subtitle keeps the line free when a card beside it has one, so the prices and buttons line up (sim round 4) */
.shop-card-sub-ph{ display:none; min-height:1.3125rem; }
:is(.shop-grid, .shop-rail):has(.shop-card-sub:not(.shop-card-sub-ph)) .shop-card-sub-ph{ display:block; }
.shop-card-price{ margin-top:0.375rem; }
.shop-price{ font-variant-numeric:tabular-nums; font-weight:700; font-size:1.375rem; line-height:1.2; letter-spacing:-0.01em; }
.shop-was{ display:flex; flex-wrap:wrap; align-items:center; gap:0.25rem 0.5rem; margin-top:0.25rem !important; font-size:0.875rem; color:var(--ink-soft); }
.shop-was s{ font-variant-numeric:tabular-nums; }
.shop-save{ display:inline-flex; align-items:center; padding:0.0625rem 0.5rem; border-radius:var(--shop-pill); background:var(--brand-deep); color:var(--on-brand); font-weight:600; font-size:0.8125rem; white-space:nowrap; }
.shop-fine{ font-size:0.75rem; color:var(--ink-muted); line-height:1.35; margin-top:0.125rem !important; }
.shop-stock{ display:flex; align-items:flex-start; gap:0.5rem; font-size:0.875rem; color:var(--ink-soft); min-height:1.3125rem; margin-top:0.25rem !important; }
.shop-dot{ flex:none; margin-top:0.375rem; width:0.5625rem; height:0.5625rem; border-radius:50%; background:var(--shop-ok); }
.shop-stock[data-state="out"] .shop-dot{ background:transparent; border:1.5px solid var(--ink-muted); }
.shop-stock[data-state="out"]{ color:var(--ink-muted); }
.shop-card-buy{ margin-top:auto !important; padding-top:0.75rem; }
.shop-card-buy .shop-btn{ width:100%; }

/* buttons: one solid kind, one quiet kind */
/* (the fill is the theme's «Knapper bruker» colour, --button / --on-button from api/brand.php?css, else the deep brand colour as before) */
.shop-btn{ display:inline-flex; align-items:center; justify-content:center; gap:0.375rem; min-height:2.75rem; padding:0.5rem 1.25rem; border:1px solid var(--button, var(--brand-deep));
  border-radius:var(--shop-pill); background:var(--button, var(--brand-deep)); color:var(--on-button, var(--on-brand)) !important; font:inherit; font-size:0.9375rem; font-weight:600; line-height:1.2;
  text-align:center; text-decoration:none; cursor:pointer; transition:background-color 0.2s, color 0.2s; }
.shop-btn:hover{ background:var(--brand); border-color:var(--brand); }
/* accent buttons: the hover is the text colour with the page colour on it (>= 4.5:1 by the theme's own rule), as on the website (engine generated-site.css) */
:where(body[data-buttons="accent"]) .shop-btn:hover{ background:var(--ink); border-color:var(--ink); color:var(--background) !important; }
/* an accent that stands < 3:1 off the deep colour gets an edge in the deep colour's text colour (--button-edge, lib/brand.php em_brand_scheme_button)
   where the button sits on a dark ground: the banner's photo under its dark scrim (Lun puts the words on a panel instead) */
body:not([data-look="lun"]) .shop-hero.has-pic .shop-btn:not(:hover):not([disabled]){ border-color:var(--button-edge, var(--button, var(--brand-deep))); }
.shop-btn[disabled]{ background:var(--surface); border-color:var(--hairline); color:var(--ink-muted) !important; cursor:not-allowed; }
.shop-btn-quiet{ background:transparent; color:var(--ink) !important; border-color:var(--ghost); }
.shop-btn-quiet:hover{ background:var(--surface); border-color:var(--ghost); }
.shop-btn-wide{ width:100%; }
.shop-btn-hero{ min-height:3rem; padding:0.75rem 1.75rem; font-size:1rem; }
@media (prefers-reduced-motion:reduce){ .shop-btn{ transition:none; } }

/* a listing (a category, Alle produkter, the search): the filter column, «Viser N produkter» + «Sorter», the grid */
.shop-listing{ display:grid; gap:1.25rem; }
@media (min-width:52rem){ .shop-listing{ grid-template-columns:14rem minmax(0, 1fr); gap:2.5rem; align-items:start; } }
.shop-filters{ min-width:0; }
.shop-filter-toggle{ list-style:none; width:auto; }
.shop-filter-toggle::-webkit-details-marker{ display:none; }
@media (min-width:52rem){ .shop-filter-toggle{ display:none !important; } .shop-filters{ position:sticky; top:9rem; } }
.shop-filters[open] .shop-filter-toggle{ margin-bottom:1rem; }
.shop-filter-form{ display:flex; flex-direction:column; gap:1.25rem; }
.shop-fs-f{ border:0; min-width:0; }
.shop-fs-f legend, .shop-filter-h{ font-weight:600; font-size:0.9375rem; margin-bottom:0.5rem; padding:0; }
.shop-range{ display:flex; align-items:center; gap:0.5rem; }
.shop-range label{ flex:1; min-width:0; }
.shop-range input{ width:100%; min-height:2.75rem; padding:0.5rem 0.75rem; border:1px solid var(--ghost); border-radius:0.5rem; background:var(--background); color:var(--ink); font:inherit; font-variant-numeric:tabular-nums; }
.shop-range input:focus{ border-color:var(--ink); outline:none; }
.shop-check{ display:flex; align-items:center; gap:0.625rem; min-height:2.75rem; cursor:pointer; font-size:0.9375rem; }
.shop-check input{ width:1.25rem; height:1.25rem; margin:0; accent-color:var(--brand-deep); }
.shop-filter-cats{ padding-top:1.25rem; border-top:1px solid var(--hairline); }
.shop-filter-cats a{ display:flex; justify-content:space-between; gap:0.5rem; min-height:2.5rem; align-items:center; color:var(--ink-soft); text-decoration:none; font-size:0.9375rem; }
.shop-filter-cats a:hover{ color:var(--ink); text-decoration:underline; }
.shop-filter-cats a[aria-current="page"]{ color:var(--ink); font-weight:600; }
.shop-results{ min-width:0; }
.shop-bar{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:0.75rem 1rem; padding-bottom:1rem; margin-bottom:1.5rem; border-bottom:1px solid var(--hairline); }
.shop-count-line{ font-size:0.9375rem; color:var(--ink-soft); }
.shop-sort{ display:inline-flex; align-items:center; gap:0.5rem; font-size:0.9375rem; }
.shop-sort select{ min-height:2.75rem; padding:0 2rem 0 1rem; border:1px solid var(--ghost); border-radius:var(--shop-pill); background:var(--background); color:var(--ink); font:inherit; cursor:pointer; }

/* the product page: the gallery left, the buying column right; then the tabs and «Lignende produkter» */
.shop-product{ display:grid; gap:1.5rem; }
@media (min-width:52rem){ .shop-product{ grid-template-columns:minmax(0, 1.15fr) minmax(0, 1fr); gap:3rem; align-items:start; } }
.shop-gallery{ display:flex; flex-direction:column; gap:0.75rem; min-width:0; }
.shop-thumbs{ display:flex; gap:0.5rem; overflow-x:auto; }
.shop-thumb-btn{ display:block; width:4.5rem; aspect-ratio:1; border-radius:0.5rem; overflow:hidden; border:2px solid transparent; background:var(--surface); flex:none; }
.shop-thumb-btn[aria-current="true"]{ border-color:var(--ink); }
.shop-thumb-btn img{ width:100%; height:100%; object-fit:cover; }
.shop-info{ display:flex; flex-direction:column; gap:0.75rem; min-width:0; }
.shop-info .shop-h1{ margin-bottom:0 !important; }
.shop-sub{ color:var(--ink-soft); font-size:1.0625rem; }
.shop-pricebox{ display:flex; flex-direction:column; gap:0.5rem; padding:1.25rem; border-radius:var(--shop-r); background:var(--surface); }
.shop-price-big{ font-size:2rem; }
.shop-buy{ margin-top:0.5rem !important; }
.shop-buy .shop-btn{ width:100%; min-height:3.25rem; font-size:1rem; }
.shop-deliv{ display:flex; flex-direction:column; gap:0.375rem; padding-top:0.75rem !important; margin-top:0.25rem !important; border-top:1px solid var(--hairline); font-size:0.9375rem; }
.shop-deliv-list{ display:flex; flex-direction:column; gap:0.375rem; }
.shop-desc p + p, .shop-text p + p, .shop-desc ul + p, .shop-text ul + p{ margin-top:0.75rem; }
.shop-desc{ max-width:44rem; }
.shop-tabs{ margin-top:3rem; }
.shop-tablist{ display:flex; gap:1.5rem; overflow-x:auto; border-bottom:1px solid var(--hairline); margin-bottom:1.5rem; scrollbar-width:none; }
.shop-tablist a, .shop-tablist button{ display:inline-flex; align-items:center; min-height:3rem; padding:0; border:0; border-bottom:2px solid transparent; background:transparent;
  color:var(--ink-soft) !important; font:inherit; font-weight:600; white-space:nowrap; text-decoration:none; cursor:pointer; }
.shop-tablist [aria-selected="true"]{ color:var(--ink) !important; border-bottom-color:var(--ink); }
.shop-tabpanel + .shop-tabpanel{ margin-top:2rem; }
.shop-tabs.is-tabs .shop-tabpanel + .shop-tabpanel{ margin-top:0; }
.shop-tabs.is-tabs .shop-tab-h{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; margin:0 !important; }
.shop-specs{ display:flex; flex-direction:column; max-width:44rem; border-top:1px solid var(--hairline); }
.shop-specs > div{ display:grid; grid-template-columns:minmax(0, 2fr) minmax(0, 3fr); gap:1rem; padding:0.625rem 0; border-bottom:1px solid var(--hairline); }
.shop-specs > div.is-line{ grid-template-columns:1fr; }
.shop-specs dt{ color:var(--ink-soft); overflow-wrap:anywhere; }
.shop-specs dd{ text-align:left !important; overflow-wrap:anywhere; }

/* the cart */
.shop-cart{ display:grid; gap:2rem; }
@media (min-width:52rem){ .shop-cart{ grid-template-columns:minmax(0, 1fr) 20rem; align-items:start; } .shop-cart > .shop-error, .shop-cart > .shop-empty{ grid-column:1 / -1; } }
.shop-lines{ border-top:1px solid var(--hairline); }
.shop-line{ display:grid; grid-template-columns:4.5rem minmax(0, 1fr) auto; gap:1rem; padding:1rem 0; border-bottom:1px solid var(--hairline); }
.shop-pic-thumb{ width:4.5rem; }
.shop-line-main{ display:flex; flex-direction:column; gap:0.25rem; min-width:0; }
.shop-line-name{ font-weight:500; overflow-wrap:anywhere; }
.shop-line-name a{ color:var(--ink); }
.shop-line-note{ font-size:0.875rem; color:var(--ink); font-weight:500; }
.shop-line[data-state="gone"] .shop-line-name, .shop-line[data-state="soldout"] .shop-line-name{ color:var(--ink-muted); }
.shop-line-sum{ font-variant-numeric:tabular-nums; white-space:nowrap; font-weight:500; }
.shop-line-ctl{ display:flex; flex-wrap:wrap; align-items:center; gap:0.5rem 1rem; margin-top:0.5rem; }
.shop-stepper{ display:inline-flex; align-items:center; border:1px solid var(--hairline); border-radius:var(--shop-pill); }
.shop-qty{ display:inline; margin:0; }
.shop-step{ width:2.75rem; height:2.75rem; border:0; background:transparent; color:var(--ink); font:inherit; font-size:1.125rem; cursor:pointer; border-radius:var(--shop-pill); }
.shop-step[disabled]{ color:var(--ghost); cursor:not-allowed; }
.shop-qty-n{ min-width:1.75rem; text-align:center; font-variant-numeric:tabular-nums; }
.shop-remove{ min-height:2.75rem; padding:0 0.25rem; border:0; background:transparent; color:var(--ink-soft); font:inherit; font-size:0.875rem; text-decoration:underline; text-underline-offset:2px; cursor:pointer; }
.shop-sum, .shop-summary{ display:flex; flex-direction:column; gap:1rem; padding:1.25rem; background:var(--surface); border-radius:var(--shop-r); }
.shop-sum dl, .shop-summary dl, .shop-sum-dl{ display:flex; flex-direction:column; gap:0.5rem; }
.shop-sum dl > div, .shop-summary dl > div, .shop-sum-dl > div, .shop-sum-lines li{ display:flex; justify-content:space-between; gap:1rem; }
.shop dd{ font-variant-numeric:tabular-nums; text-align:right; }
.shop-sum-total{ padding-top:0.5rem; border-top:1px solid var(--hairline); font-weight:600; font-size:1.0625rem; }
.shop-sum-vat{ font-size:0.875rem; color:var(--ink-muted); }
.shop-sum-lines{ display:flex; flex-direction:column; gap:0.5rem; font-size:0.9375rem; }
.shop-sum-lines li span:first-child{ min-width:0; overflow-wrap:anywhere; }
.shop-sum-lines li span:last-child{ font-variant-numeric:tabular-nums; white-space:nowrap; }
.shop-why{ font-size:0.875rem; }
.shop-empty{ padding:2rem 0; display:flex; flex-direction:column; gap:1rem; align-items:flex-start; }
.shop-error{ padding:0.75rem 1rem; border:1px solid var(--ink); border-radius:var(--shop-r); font-weight:500; }
.shop-error[hidden]{ display:none; }

/* the checkout: the form and the summary beside it (under it on a phone) */
.shop-kasse{ display:grid; gap:2rem; }
@media (min-width:52rem){ .shop-kasse{ grid-template-columns:minmax(0, 1fr) 22rem; gap:3rem; align-items:start; } .shop-summary{ position:sticky; top:1rem; } }
.shop-checkout{ display:flex; flex-direction:column; gap:2rem; max-width:36rem; }
.shop-fs{ border:0; display:flex; flex-direction:column; gap:1rem; min-width:0; }
.shop-fs legend{ padding:0; }
.shop-field{ display:flex; flex-direction:column; gap:0.25rem; min-width:0; }
.shop-field label{ font-weight:500; font-size:0.9375rem; }
.shop-hint{ font-size:0.875rem; color:var(--ink-muted); }
.shop-field input{ width:100%; min-height:2.75rem; padding:0.5rem 0.75rem; border:1px solid var(--ghost); border-radius:0.5rem; background:var(--background); color:var(--ink); font:inherit; }
.shop-field input:focus{ border-color:var(--ink); outline:none; box-shadow:0 0 0 1px var(--ink); }
.shop-field input[aria-invalid="true"]{ border-color:var(--ink); border-width:2px; }
.shop-field-err{ font-size:0.875rem; font-weight:500; min-height:1.3125rem; }
.shop-row{ display:grid; grid-template-columns:7rem minmax(0, 1fr); gap:1rem; }
.shop-radios{ display:flex; flex-direction:column; gap:0.5rem; }
.shop-radio{ display:flex; align-items:center; gap:0.75rem; min-height:3.5rem; padding:0.75rem 1rem; border:1px solid var(--hairline); border-radius:var(--shop-r); cursor:pointer; }
.shop-radio:has(input:checked){ border-color:var(--ink); }
.shop-radio input{ width:1.25rem; height:1.25rem; margin:0; accent-color:var(--brand-deep); flex:none; }
.shop-radio-text{ display:flex; flex-direction:column; flex:1; min-width:0; }
.shop-radio-name{ font-weight:500; }
.shop-radio-price{ font-variant-numeric:tabular-nums; white-space:nowrap; }
.shop-ship{ display:flex; flex-direction:column; gap:1rem; }
.shop-ship[hidden]{ display:none; }
.shop-terms{ font-size:0.9375rem; color:var(--ink-soft); }
.shop-hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
/* «Har du en rabattkode?» in the checkout's summary (lib/shop_front.php em_shop_front_code_box) and the discount's own line */
.shop-code{ display:flex; flex-direction:column; gap:0.5rem; padding-top:0.75rem; border-top:1px solid var(--hairline); }
.shop-code-more > summary{ min-height:2.75rem; display:flex; align-items:center; cursor:pointer; font-weight:500; text-decoration:underline; text-underline-offset:2px; }
.shop-code-more[open] > summary{ margin-bottom:0.5rem; }
.shop-code-form{ margin:0; }
.shop-code-row{ display:flex; gap:0.5rem; }
.shop-code-row input{ flex:1; min-width:0; text-transform:uppercase; }
.shop-code-use{ flex:none; }
.shop-code-on{ margin:0; }
.shop-sum-disc dd{ white-space:nowrap; }

/* the order's own page, the terms, the calm pages */
.shop-takk, .shop-text{ max-width:38rem; display:flex; flex-direction:column; gap:1rem; }
.shop-takk .shop-sum-lines, .shop-takk .shop-sum-dl{ padding:1rem 0; border-top:1px solid var(--hairline); }
.shop-lead{ font-size:1.125rem; }
.shop-text .shop-h2{ margin-top:1.5rem !important; margin-bottom:0 !important; }
.shop-calm{ padding:2rem 0 3rem; }

/* the footer: four columns on a full page (Kundeservice, Om oss, Betaling, Levering), then who is selling */
.shop-foot{ max-width:var(--shop-max); margin:0 auto; padding:2.5rem var(--shop-gutter) 3rem; border-top:1px solid var(--hairline); font-size:0.875rem; color:var(--ink-muted);
  display:flex; flex-direction:column; gap:1.5rem; }
.shop-foot a{ color:inherit; }
.shop-foot-cols{ display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:2rem 1.5rem; }
@media (min-width:52rem){ .shop-foot-cols{ grid-template-columns:repeat(4, minmax(0, 1fr)); } }
.shop-foot-col{ display:flex; flex-direction:column; gap:0.5rem; min-width:0; overflow-wrap:anywhere; }
.shop-foot-col ul{ display:flex; flex-direction:column; gap:0.375rem; }
.shop-foot-h{ font-family:var(--font-sans); font-size:0.9375rem; font-weight:600; color:var(--ink); }
.shop-foot-who{ padding-top:1.25rem; border-top:1px solid var(--hairline); }
.shop-page-checkout .shop-foot-who, .shop-page-closed .shop-foot-who{ padding-top:0; border-top:0; }

/* the drawer after «Legg i handlekurv»: from the right, the page dimmed behind it; the whole width on a phone */
.shop-drawer{ margin:0 0 0 auto; padding:0; border:0; width:min(26rem, 100%); max-width:100%; height:100%; max-height:100%; background:var(--background); color:var(--ink); }
.shop-drawer::backdrop{ background:color-mix(in srgb, var(--ink) 45%, transparent); }
.shop-drawer-in{ display:flex; flex-direction:column; gap:1rem; padding:1.5rem var(--shop-gutter); }
.shop-drawer-title{ font-family:var(--font-serif); font-size:1.375rem; }
.shop-drawer-item{ font-weight:500; overflow-wrap:anywhere; }
.shop-drawer-msg{ color:var(--ink-soft); }
.shop-drawer-actions{ display:flex; flex-direction:column; gap:0.75rem; margin-top:0.5rem; }
.shop-drawer-actions [hidden]{ display:none; }

/* the medium shop (2026-11-11): the category row's drop-downs (a panel under the row, anchored to the row itself so the row's sideways
   scroll on a phone never clips it; opened by hover with a mouse from 720 px, by the small button on touch and keyboard: js/shop.js),
   a category page's sub-category tiles, the facets, «Vis 24/48», the pages, the maker line */
.shop-cats{ position:relative; }
.shop-cats > ul > li{ display:flex; align-items:center; }
.shop-cat-open{ position:relative; display:inline-flex; align-items:center; justify-content:center; width:1.75rem; min-height:2.75rem; margin-left:0.125rem; padding:0; border:0; background:none; color:var(--ink-soft); cursor:pointer; }
.shop-cat-open:hover{ color:var(--ink); }
.shop-cat-open .shop-ic{ transition:transform .2s; }
.shop-cat-has.is-open .shop-cat-open .shop-ic{ transform:rotate(180deg); }
/* on a phone (and on touch) the panel is the looks' own surface with a clear edge (--ghost, the stronger of the two line tokens: the hairline on a
   surface one shade off the page read as no edge at all, sim 2026-11-28) and the looks' radius, inset by the gutter, so it never lies flat on the hero picture (sim round 7) */
.shop-sub{ display:none; position:absolute; left:var(--shop-gutter); right:var(--shop-gutter); top:100%; z-index:6; padding:0.5rem 1rem 0.75rem; background:var(--surface); border:1px solid var(--ghost, var(--hairline)); border-radius:var(--shop-r); }
.shop-cat-has.is-open > .shop-sub{ display:block; }
@media (hover:hover) and (min-width:45rem){ .shop-cat-has:not(.is-esc):hover > .shop-sub, .shop-cat-has:not(.is-esc):focus-within > .shop-sub{ display:block; } }
/* with a mouse from 720 px (the same condition as the hover): the box sits straight under ITS category, left edges aligned, as wide as its
   content (at least the category, at most 20rem); the row wraps instead of scrolling so nothing clips it; a 0.375rem transparent bridge keeps
   it open while the pointer travels down into it; the last category's box (and one that would pass the window's edge, js/shop.js .sub-r)
   aligns to the category's right edge. Below 720 px / on touch the full-width panel above is used. */
@media (hover:hover) and (min-width:45rem){
  .shop-cats > ul{ overflow:visible; flex-wrap:wrap; }
  .shop-cat-has{ position:relative; }
  .shop-cats .shop-sub{ left:0; right:auto; top:100%; width:max-content; min-width:100%; max-width:20rem; padding:0.375rem 0 0; background:none; border:0; border-radius:0; }
  .shop-cats > ul > li > .shop-sub > ul{ display:block; padding:0.5rem; background:var(--background); border:1px solid var(--hairline); border-radius:min(var(--shop-r, 0.5rem), 1rem); }
  .shop-cats > ul > li > .shop-sub > ul > li > a{ padding-inline:0.5rem; }
  .shop-cats > ul > li:last-child.shop-cat-has > .shop-sub, .shop-cat-has.sub-r > .shop-sub{ left:auto; right:0; }
}
.shop-cats .shop-sub ul{ display:grid; grid-template-columns:repeat(auto-fill, minmax(11rem, 1fr)); gap:0 1.5rem; overflow:visible; }
.shop-cats .shop-sub a{ white-space:normal; border-bottom:0; min-height:2.75rem; font-weight:400; }
@media (pointer:coarse){ .shop-cat-open{ width:2.75rem; } }
.shop-cats .shop-sub li:first-child a{ font-weight:600; }
@media (prefers-reduced-motion:reduce){ .shop-cat-open .shop-ic{ transition:none; } }
.shop-subcats{ margin:0 0 2rem; }
.shop-subcats .shop-tiles{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
@media (min-width:45rem){ .shop-subcats .shop-tiles{ grid-template-columns:repeat(auto-fill, minmax(10rem, 1fr)); } }
.shop-facet{ padding-top:1.25rem; border-top:1px solid var(--hairline); }
.shop-facet .shop-check{ min-height:2.25rem; }
@media (min-width:52rem){ .shop-filters{ max-height:calc(100vh - 10rem); overflow-y:auto; overscroll-behavior:contain; } }
.shop-bar-ctl{ display:flex; flex-wrap:wrap; align-items:center; gap:0.75rem 1rem; }
.shop-pager{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:0.75rem 1rem; margin-top:2.5rem; padding-top:1.25rem; border-top:1px solid var(--hairline); }
.shop-pager ul{ display:flex; flex-wrap:wrap; align-items:center; gap:0.25rem; }
.shop-pager a{ display:inline-flex; align-items:center; justify-content:center; min-width:2.75rem; min-height:2.75rem; padding:0 0.75rem; border-radius:var(--shop-pill); color:var(--ink-soft); text-decoration:none; font-variant-numeric:tabular-nums; }
.shop-pager a:hover{ color:var(--ink); background:var(--surface); }
.shop-pager a[aria-current="page"]{ background:var(--ink); color:var(--background); font-weight:600; }
.shop-pager-step{ font-weight:500; }
.shop-pager-gap{ padding:0 0.25rem; color:var(--ink-muted); }
.shop-pager-of{ font-size:0.9375rem; color:var(--ink-soft); font-variant-numeric:tabular-nums; }
.shop-maker{ font-size:0.8125rem; font-weight:600; letter-spacing:0.06em; text-transform:uppercase; color:var(--ink-muted); margin-bottom:0.25rem; }

/* 2026-11-12 (the café simulation): a product without a picture shows its first letter on the surface tint; the terms page's list of
   exceptions; four cards across from 1200 px (listings too), «Lignende produkter» never leaves one card alone on a row; on a narrow phone
   the trust strip stays one line (the e-mail address is left out there; it is in the footer) */
.shop-pic-ph{ display:flex; align-items:center; justify-content:center; width:100%; height:100%; font-family:var(--font-serif); font-size:clamp(2rem, 8vw, 3.5rem); line-height:1; color:var(--ink); opacity:0.25; border:0; user-select:none; }
.shop-pic-thumb .shop-pic-ph{ font-size:1.5rem; }
.shop-text .shop-list{ list-style:disc; padding-left:1.25rem; display:flex; flex-direction:column; gap:0.25rem; }
@media (min-width:75rem){ .shop-grid, .shop-listing .shop-grid{ grid-template-columns:repeat(4, minmax(0, 1fr)); } }
@media (min-width:45rem) and (max-width:63.99rem){ .shop-related .shop-card:nth-child(n+4){ display:none; } }
@media (max-width:29.99rem){
  /* wave 5: the facts wrap whole (never cut with «…»): each one on one line, centred, without the dots between them */
  .shop-trust{ flex-wrap:wrap; gap:0.125rem 1rem; }
  .shop-trust > span{ white-space:nowrap; }
  .shop-trust .shop-trust-dot{ display:none; }
  .shop-trust .shop-trust-mailbox{ display:none; }
}

/* wave 5 (2026-11-13; the carpenter's shop) */
/* the phone: the category row and the product tab row scroll edge to edge (they run under the screen's edge, so it reads as a row to
   scroll, never a word cut at the gutter) */
@media (max-width:44.99rem){
  .shop-cats{ padding-inline:0; }
  .shop-cats > ul{ padding-inline:var(--shop-gutter); scroll-padding-inline:var(--shop-gutter); }
  .shop-tablist{ margin-inline:calc(-1 * var(--shop-gutter)); padding-inline:var(--shop-gutter); scroll-padding-inline:var(--shop-gutter); }
}
/* the category tiles: a balanced grid (lib/shop_front.php em_shop_front_tiles: c4-N up to 4 across, c6-N up to 6, from the count); at least
   three columns so one or two tiles never stretch over the page; on a phone an odd last tile spans the row, as low as the others */
@media (max-width:44.99rem){ .shop-tiles.is-odd > li:last-child{ grid-column:1 / -1; } .shop-tiles.is-odd > li:last-child .shop-tile-pic{ aspect-ratio:8 / 3; } }
@media (min-width:45rem){
  .shop-tiles.c4-1, .shop-tiles.c4-2, .shop-tiles.c4-3{ grid-template-columns:repeat(3, minmax(0, 1fr)); }
  .shop-tiles.c4-4{ grid-template-columns:repeat(4, minmax(0, 1fr)); }
}
@media (min-width:64rem){
  .shop-tiles.c6-1, .shop-tiles.c6-2, .shop-tiles.c6-3{ grid-template-columns:repeat(3, minmax(0, 1fr)); }
  .shop-tiles.c6-4{ grid-template-columns:repeat(4, minmax(0, 1fr)); }
  .shop-tiles.c6-5{ grid-template-columns:repeat(5, minmax(0, 1fr)); }
  .shop-tiles.c6-6{ grid-template-columns:repeat(6, minmax(0, 1fr)); }
}
/* the unit and «ekskl. mva» after a price: smaller, the same line */
.shop-per{ font-size:0.8125rem; font-weight:400; color:var(--ink-soft); white-space:nowrap; }
/* the VAT specification (checkout, order page) */
.shop-vatspec{ width:100%; border-collapse:collapse; margin-top:1rem; font-size:0.875rem; font-variant-numeric:tabular-nums; }
.shop-vatspec caption{ text-align:left; font-weight:600; padding-bottom:0.25rem; }
.shop-vatspec th, .shop-vatspec td{ padding:0.25rem 0; border-top:1px solid var(--hairline); text-align:right; font-weight:400; }
.shop-vatspec thead th{ color:var(--ink-muted); font-size:0.8125rem; border-top:0; }
.shop-vatspec th:first-child{ text-align:left; }
.shop-vatspec[hidden]{ display:none; }
/* «Handler som bedrift»: the company fields under the contact fields */
.shop-co{ display:flex; flex-direction:column; gap:1rem; }
.shop-co[hidden], .shop-radio[hidden]{ display:none; }
.shop-fs-sub{ border:0; padding:0; margin:0; display:flex; flex-direction:column; gap:1rem; min-width:0; }
.shop-fs-sub legend{ font-weight:600; padding:0; margin-bottom:0.25rem; }
.shop-buyer, .shop-invfacts{ padding:1rem 0; border-top:1px solid var(--hairline); }

/* a product's option (variants, v1: one option): the values as pills in the price box; the chosen one filled; a sold-out value can not be chosen */
.shop-var{ border:0; padding:0; margin:0.25rem 0 0; min-width:0; }
.shop-var-h{ padding:0; margin-bottom:0.5rem; font-weight:600; }
.shop-var-opts{ display:flex; flex-wrap:wrap; gap:0.5rem; }
.shop-var-opt{ position:relative; display:inline-flex; }
.shop-var-opt input{ position:absolute; inset:0; width:100%; height:100%; opacity:0; margin:0; cursor:pointer; }
.shop-var-opt span{ display:inline-flex; align-items:center; justify-content:center; min-height:2.75rem; min-width:2.75rem; padding:0 1rem; border:1px solid var(--hairline); border-radius:var(--shop-pill); background:var(--background); color:var(--ink); font-weight:500; }
.shop-var-opt input:checked + span{ border-color:var(--brand-deep); background:var(--brand-deep); color:var(--on-brand); }
.shop-var-opt input:focus-visible + span{ outline:2px solid var(--accent-ink); outline-offset:2px; }
.shop-var-opt input:disabled{ cursor:not-allowed; }
.shop-var-opt input:disabled + span{ opacity:0.6; text-decoration:line-through; }
.shop-var-why{ margin:0.5rem 0 0; font-size:0.875rem; }
.shop-var-why[hidden]{ display:none; }
/* adding without a choice: the hint becomes the reason, at the picker (js/shop.js) */
.shop-var-why.is-error{ color:var(--ink); font-weight:600; }
/* «fra» before the lowest of a product's variant prices, until one is picked */
.shop-from{ font-weight:400; }
.shop-from[hidden]{ display:none; }
/* the cart's «+» is off at the stock limit: the reason beside it */
.shop-line-limit{ font-size:0.875rem; color:var(--ink-soft); flex-basis:100%; }
.shop-h3{ font-weight:600; font-size:1.0625rem; margin-top:1.25rem; }
.shop-line-var{ margin-top:0.125rem; }

/* Nettbutikk → Forsiden: the sections the owner adds (lib/shop_front.php em_shop_front_sec_own). Utvalgte produkter and Én kategori are the
   shop's own grid and row (above); a campaign is one panel on the surface tint with its picture beside the words; a text section is a reading column */
.shop-camp{ display:grid; grid-template-columns:minmax(0, 1fr); border-radius:var(--shop-r); overflow:hidden; background:var(--secondary, var(--surface)); }
@media (min-width:45rem){ .shop-camp.has-pic{ grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); } }
.shop-camp-pic{ position:relative; aspect-ratio:3 / 2; background:var(--surface); }
@media (min-width:45rem){ .shop-camp-pic{ aspect-ratio:auto; min-height:18rem; } }
.shop-camp-img{ position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover; }
.shop-camp-in{ display:flex; flex-direction:column; justify-content:center; align-items:flex-start; gap:0.75rem; padding:1.5rem; }
@media (min-width:45rem){ .shop-camp-in{ padding:2.5rem; } }
.shop-camp-in .shop-h2{ margin-bottom:0 !important; }
.shop-camp-text, .shop-textsec-body{ max-width:44rem; overflow-wrap:anywhere; }
.shop-camp-text p + p, .shop-textsec-body p + p{ margin-top:0.75rem; }
.shop-camp-in p:last-child{ margin-top:0.25rem; }
/* a campaign's «Hjørner» (a class only when chosen) */
.shop-camp.shop-corners-rett{ border-radius:0; }
.shop-camp.shop-corners-rund{ border-radius:1.25rem; }
/* «Bredde: Full bredde»: the picture runs edge to edge (out of the page column) in a band of a fixed height (--camp-h, «Høyde»), square corners; the words sit in a
   solid panel on --surface over the lower left, inside the page column, and under the picture on a phone. No scrim, no shadow: the text never lies on the picture. */
.shop-camp.shop-camp-full{ --camp-h:22rem; grid-template-columns:minmax(0, 1fr); width:100vw; margin-left:calc(50% - 50vw); border-radius:0; background:var(--secondary, var(--surface)); }
.shop-camp-full.shop-camp-h-lav{ --camp-h:14rem; }
.shop-camp-full.shop-camp-h-hoy{ --camp-h:32rem; }
.shop-camp-full .shop-camp-pic{ grid-area:1 / 1; aspect-ratio:auto; min-height:var(--camp-h); }
.shop-camp-link{ position:absolute; inset:0; display:block; }
.shop-camp-link:focus-visible{ outline-offset:-4px; }
.shop-camp-full .shop-camp-in{ grid-area:1 / 1; align-self:end; justify-self:start; position:relative; z-index:1; width:min(32rem, calc(100% - 2 * var(--shop-gutter)));
  margin:0 0 2rem max(var(--shop-gutter), calc((100% - var(--shop-max)) / 2 + var(--shop-gutter))); padding:2rem; background:var(--secondary, var(--surface)); }
@media (max-width:40rem){
  .shop-camp-full{ --camp-h:14rem; }
  .shop-camp-full.shop-camp-h-lav{ --camp-h:9rem; }
  .shop-camp-full.shop-camp-h-hoy{ --camp-h:20rem; }
  .shop-camp-full .shop-camp-pic, .shop-camp-full .shop-camp-in{ grid-area:auto; }
  .shop-camp-full .shop-camp-in{ width:auto; justify-self:stretch; margin:0; padding:1.25rem var(--shop-gutter) 1.5rem; }
}

/* «Sekundærfarge» (the theme's secondary, api/brand.php?css --secondary; body[data-secondary] only when it is set, lib/shop_front.php): the
   shop's secondary places are filled with it and their text tokens become its own readable text colours (--on-secondary / --on-secondary-soft,
   >= 4.5:1 on it, lib/brand.php em_brand_scheme), so headings, links, names, prices and muted lines all read on it. The places: the footer
   as a full-width band on every shop page (every look), the Kampanje panel (and the words' panel of a full-width one), the banner without
   a picture (Lun also: its hero panel and its alternating bands, css/shop-looks.css). The «Kategorier» section stays on the page ground.
   Without a secondary colour nothing here applies. */
body[data-secondary] :is(.shop-camp, .shop-camp-full .shop-camp-in, .shop-hero:not(.has-pic), .shop-foot){
  --ink:var(--on-secondary); --ink-soft:var(--on-secondary-soft); --ink-muted:var(--on-secondary-soft); --accent-ink:var(--on-secondary); color:var(--ink); }
/* the footer band: the secondary edge to edge (the column stays the page's), its lines a quarter of the text colour into the secondary, the
   focus ring (--accent-ink above) the secondary's own text colour */
body[data-secondary] .shop-foot{ position:relative; isolation:isolate; border-top:0; color:var(--ink-muted);
  --hairline:color-mix(in srgb, var(--on-secondary) 25%, var(--secondary)); }
body[data-secondary] .shop-foot::before{ content:""; position:absolute; z-index:-1; top:0; bottom:0; left:50%; width:100vw; margin-left:-50vw; background:var(--secondary); }
/* a picture's own tile (the surface, a placeholder letter) inside a secondary place keeps the page's text colour */
body[data-secondary]{ --shop-ink:var(--ink); }
body[data-secondary] .shop-pic{ --ink:var(--shop-ink); }

/* 44 px tap targets on a phone (2026-11-28, the bicycle shop's simulation: footer links, «Se alle (n)» and the breadcrumb were 18 px tall,
   «Fjern» 41 px wide). A link in a footer list is a 44 px row (the list's gap goes into the rows); a link in a line of text («Se alle»,
   the breadcrumb, the e-mail under the footer) grows by padding that a negative margin of the same size takes back, so nothing moves.
   The three looks (css/shop-looks.css) keep it. Not the category row. */
@media (max-width:44.99rem){
  .shop-foot-col ul{ gap:0; }
  .shop-foot-col li > a{ display:inline-flex; align-items:center; min-height:2.75rem; }
  .shop-foot-who a, .shop-foot > p > a, .shop-crumb a, .shop-more{ display:inline-block; padding-block:0.8125rem; margin-block:-0.8125rem; }
  .shop-remove{ min-width:2.75rem; }
}
