/* Furniture Zoo storefront: the public website in the manner of Interior Define
   (2026-10-12). Loaded after site.css on public pages only (layouts.site).
   White ground, large photographs, a serif for headlines, quiet lines and
   solid dark buttons. The brand's green and sand stay: green-deep for text,
   the announcement line and the main buttons; sand for soft grounds.
   docs/design-system.md, "Storefront", lists where this departs from the
   back office's rules. No inline styles anywhere (the CSP refuses them). */

.store{
  --store-ink:#1E2A27;
  --store-muted:#5B6662;
  --store-line:#E7E1D3;
  --store-soft:#F6F2E9;
  --store-dark:var(--green-deep);
  --store-mist:#F3F1EE;   /* the warm light grey behind the "Shop by room" panel */
  --store-tan:#80694A;    /* the room names in that panel: the palest tan with 4.5:1 on store-mist */
  /* Typography after Interior Define (2026-11-02): it sets titles and text in Calibre at one
     weight, and its small capitals in Interstate; both are licensed. Their nearest free faces:
     Hanken Grotesk for titles and text, Overpass (drawn from the same highway lettering as
     Interstate) for the uppercase labels. --font-serif keeps its name so the rules using it for
     titles need no change. */
  --font-serif:"Hanken Grotesk","Segoe UI",Helvetica,Arial,sans-serif;
  --font-text:"Hanken Grotesk","Segoe UI",Helvetica,Arial,sans-serif;
  --font-display:"Overpass","Segoe UI",Helvetica,Arial,sans-serif;
  /* The home page's large headline only: Fraunces, the more playful serif the client approved
     before 2026-11-02 and asked back for on 2026-11-16. Everything else stays Hanken Grotesk. */
  --font-hero:"Fraunces",Georgia,"Times New Roman",serif;
  --header-height:72px;
  background:var(--surface);
  color:var(--store-ink);
  font-family:var(--font-text);
  font-size:17px;
  line-height:1.3;
  letter-spacing:.024em;
}
.store h1,.store h2,.store h3{color:var(--store-dark)}
.store a{color:var(--store-dark)}

/* ---------- Announcement line ---------- */
.announce{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:2px var(--space-3);margin:0;padding:9px var(--space-4);background:var(--store-dark);color:var(--on-green);font-size:13px;letter-spacing:.02em;text-align:center}
.store .announce a{color:var(--on-green);text-underline-offset:3px}
.announce__sep{opacity:.6}

/* ---------- Header ----------
   Wide screens: the logo on the left, then one menu, SHOP BY ROOM · OUR STORY · PAST
   PROJECTS · READY TO BUY, and on the right the search bar (from 1400px) and the icons. Below
   1400px the search bar is behind the magnifier among the icons. Below 1180px: the logo, the
   icons, then Menu at the far right. The Trade program is in the announcement line only. */
.store-header{position:sticky;top:0;z-index:30;background:var(--surface);border-bottom:1px solid var(--store-line)}
.store-header__bar{position:relative;display:flex;align-items:center;gap:var(--space-4);max-width:1440px;min-height:var(--header-height);margin:0 auto;padding-inline:clamp(var(--space-4),3vw,var(--space-10))}
.store-header__logo{display:flex;align-items:center;flex-shrink:0;min-height:var(--tap-min);margin-right:clamp(var(--space-2),1.5vw,var(--space-6))}
.store-header__logo img{height:34px;width:auto}
.store-header__end{display:flex;align-items:stretch;justify-content:flex-end;gap:var(--space-2);align-self:stretch;margin-left:auto}

/* Search: the bar on wide screens; the magnifier (a <details>, no script) opens the same box under the header. */
.store-search{display:flex;align-items:center;gap:0;margin:0}
.store-search--bar{display:none;align-self:center;width:clamp(200px,16vw,280px);margin-right:var(--space-2)}
.store-search__input{flex:1 1 auto;min-width:0;height:42px;padding:0 var(--space-3);border:1px solid var(--store-line);border-right:0;border-radius:2px 0 0 2px;background:var(--surface);color:var(--store-ink);font:inherit;font-size:16px;-webkit-appearance:none;appearance:none}
.store-search__input::placeholder{color:var(--store-muted)}
.store-search__input:focus{outline:2px solid var(--store-dark);outline-offset:-1px;border-color:var(--store-dark)}
.store-search__submit{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:42px;padding:0;border:1px solid var(--store-dark);border-radius:0 2px 2px 0;background:var(--store-dark);color:var(--on-green);cursor:pointer}
.store-search__submit svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.store-search-toggle{display:flex}
.store-search-toggle>summary{list-style:none}
.store-search-toggle>summary::-webkit-details-marker{display:none}
.store-search--panel{position:absolute;top:100%;left:0;right:0;padding:var(--space-3) clamp(var(--space-4),3vw,var(--space-10));background:var(--surface);border-top:1px solid var(--store-line);border-bottom:1px solid var(--store-line);box-shadow:0 8px 16px rgba(30,42,39,.08)}
.store-search--panel .store-search__input{height:46px}
.store-search--panel .store-search__submit{height:46px;width:48px}
@media (min-width:1400px){
  .store-search--bar{display:flex}
  .store-search-toggle{display:none}
}

/* The search results page's own large box. */
.search-page__form{display:flex;max-width:640px}
.search-page__form .store-search__input{height:52px;font-size:17px}
.search-page__form .store-btn{min-height:52px;border-radius:0 2px 2px 0}
.search-page__categories{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-1) var(--space-4)}
.search-page__categories ul{display:flex;flex-wrap:wrap;gap:0 var(--space-4);margin:0;padding:0;list-style:none}

.store-nav{align-self:stretch;display:flex}
.store-nav__list{display:flex;align-items:stretch;gap:0;margin:0;padding:0;list-style:none}
.store-nav__item{display:flex}
.store-nav__link{display:flex;align-items:center;padding:0 clamp(8px,.9vw,14px);border-bottom:2px solid transparent;font-family:var(--font-display);font-size:13px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;text-decoration:none;white-space:nowrap}
.store .store-nav__link{color:var(--store-ink)}
.store-nav__link:hover,.store-nav__link[aria-current],.store-nav__item:focus-within>.store-nav__link{border-bottom-color:var(--store-dark)}
.store-nav__item:first-child>.store-nav__link{padding-left:0}

/* "Shop by room": one wide panel under the header, a column per room. Opens on hover, or while
   the link or a link in it has keyboard focus: CSS only, so it needs no script. */
.store-mega{position:absolute;top:100%;left:0;right:0;display:none;max-height:calc(100vh - var(--header-height) - 40px);overflow-y:auto;padding:var(--space-6) clamp(var(--space-4),3vw,var(--space-10)) var(--space-8);background:var(--store-mist);border-bottom:1px solid var(--store-line)}
.store-nav__item--rooms:hover>.store-mega,.store-nav__item--rooms:focus-within>.store-mega{display:block}
/* Put away with Escape (public/js/app.js) until focus or the pointer leaves "Shop by room". */
.store-nav__item--rooms.is-dismissed>.store-mega{display:none}
/* A grid, so a room that wraps to a new row lines up under the first column instead of sitting alone in the middle. */
.store-mega__cols{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:var(--space-6) clamp(var(--space-6),3vw,48px);max-width:var(--content-max);margin:0 auto}
.store-mega__col{display:flex;flex-direction:column;min-width:0}
.store-mega__heading{margin:0 0 var(--space-1)}
.store .store-mega__heading a{display:inline-flex;align-items:center;min-height:32px;font-family:var(--font-display);font-size:13px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;text-decoration:none;color:var(--store-tan)}
.store .store-mega__heading a:hover{text-decoration:underline;text-underline-offset:4px}
.store-mega__list{margin:0;padding:0;list-style:none}
/* A pointer menu on a wide screen: rows of 34px, as drawn; the phone menu keeps 44px. */
.store .store-mega__list a{display:flex;align-items:center;min-height:34px;font-size:15px;line-height:1.3;color:var(--store-ink);text-decoration:none}
.store-mega__list a:hover,.store-mega__list a[aria-current]{text-decoration:underline;text-underline-offset:4px}

.store-actions{display:flex;align-items:center;gap:var(--space-1);flex-shrink:0}
.store-actions__signout{display:flex}
.store-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:var(--space-1);min-width:var(--tap-min);min-height:var(--tap-min);padding:0;border:0;background:none;color:var(--store-dark);text-decoration:none;cursor:pointer}
.store-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.store-icon__word{font-size:14px;font-weight:500}
.store-cart__count{position:absolute;top:4px;right:0;display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;border-radius:var(--radius-pill);background:var(--store-dark);color:var(--on-green);font-size:13px;font-weight:700;line-height:1}
.store-link{display:inline-flex;align-items:center;min-height:var(--tap-min);padding:0;border:0;background:none;color:var(--store-dark);font:inherit;font-size:15px;font-weight:500;text-decoration:underline;text-underline-offset:4px;cursor:pointer}

/* The whole menu behind "Menu", for narrower screens: each room with its categories, then the other links. */
.store-drawer{display:none}
.store-drawer__toggle{list-style:none}
.store-drawer__toggle::-webkit-details-marker{display:none}
.store-drawer__close{display:none}
.store-drawer[open] .store-drawer__open{display:none}
.store-drawer[open] .store-drawer__close{display:block}
/* A panel on the right under the Menu button, never the whole screen: the page stays in sight on
   its left and below it, and the button (now a cross) folds it away again. The panel scrolls in
   itself when the menu is longer than it. */
.store-drawer__panel{position:absolute;top:100%;right:clamp(var(--space-2),2vw,var(--space-6));left:auto;width:min(340px,calc(100vw - 48px));max-height:min(70vh,calc(100vh - var(--header-height) - 56px));max-height:min(70dvh,calc(100dvh - var(--header-height) - 56px));overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:var(--space-4);padding:var(--space-4) var(--space-5) var(--space-5);background:var(--surface);border:1px solid var(--store-line);border-radius:0 0 6px 6px;box-shadow:0 14px 32px rgba(30,42,39,.18)}
.store-drawer__heading{margin:0 0 2px;font-family:var(--font-display);font-size:13px;font-weight:500;letter-spacing:.1em;text-transform:uppercase;color:var(--store-muted)}
.store-drawer__panel ul{margin:0;padding:0;list-style:none}
.store-drawer__panel a{display:flex;align-items:center;min-height:var(--tap-min);font-size:17px;text-decoration:none;color:var(--store-ink)}
.store-drawer__panel a[aria-current]{text-decoration:underline;text-underline-offset:4px}
.store-drawer__more{display:flex;flex-direction:column;padding-top:var(--space-3)!important;border-top:1px solid var(--store-line)}
/* The four menu items first; "Shop by room" folds its rooms in a <details> of its own. */
.store-drawer__top{display:flex;flex-direction:column}
.store-drawer__summary{display:flex;align-items:center;justify-content:space-between;min-height:var(--tap-min);font-size:17px;color:var(--store-ink);list-style:none;cursor:pointer}
.store-drawer__summary::-webkit-details-marker{display:none}
.store-drawer__summary::after{content:"+";font-size:22px;line-height:1;color:var(--store-dark)}
.store-drawer__rooms[open]>.store-drawer__summary::after{content:"\2212"}
.store-drawer__rooms-body{display:flex;flex-direction:column;gap:var(--space-3);margin:0 0 var(--space-3);padding:var(--space-1) 0 var(--space-2) var(--space-4);border-left:1px solid var(--store-line)}

/* Just above the phone menu the links and the icons are tight: closer links, a smaller logo,
   and WhatsApp stays in the footer only. */
@media (min-width:1181px) and (max-width:1320px){
  .store-nav__link{padding-inline:8px}
  .store-header__logo img{height:30px}
  .store-actions__whatsapp{display:none}
}
@media (max-width:1180px){
  .store-nav{display:none}
  .store-drawer{display:block;order:3}
  .store-header__end{order:2;margin-left:auto}
}

/* ---------- Buttons ---------- */
.store-btn{display:inline-flex;align-items:center;justify-content:center;min-height:var(--control-height);padding:0 28px;border:1px solid var(--store-dark);border-radius:2px;background:transparent;color:var(--store-dark);font-family:var(--font-display);font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;text-decoration:none;white-space:nowrap;cursor:pointer}
.store .store-btn{color:var(--store-dark)}
.store-btn:hover{background:var(--store-soft)}
.store .store-btn--solid{background:var(--store-dark);color:var(--on-green)}
.store-btn--solid:hover{background:var(--green)}
/* The main action of a page keeps its class (fz-btn--primary) and takes the storefront look. */
.store .fz-btn{border-radius:2px}
.store .fz-btn--primary{background:var(--store-dark);border:1px solid var(--store-dark);color:var(--on-green);font-family:var(--font-display);font-size:14px;letter-spacing:.08em;text-transform:uppercase}
.store .fz-btn--primary:hover{background:var(--green);color:var(--on-green)}
.store .fz-btn--primary[aria-disabled="true"]{background:var(--ground);border:2px solid var(--control-border);color:var(--muted)}

/* ---------- Type ---------- */
.display-title{font-family:var(--font-serif);font-size:clamp(34px,4.2vw,54px);line-height:1.08;font-weight:400;letter-spacing:-.01em;color:var(--store-dark)}
.store .page__title{font-family:var(--font-serif);font-weight:400;letter-spacing:-.01em}
.lede{max-width:62ch;font-size:clamp(17px,1.4vw,19px);line-height:1.55;color:var(--store-muted)}
.eyebrow{margin:0;font-family:var(--font-display);font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--store-muted)}
.store .crumbs{font-size:14px;color:var(--store-muted)}

/* ---------- Home: the large photo ---------- */
.store-hero{position:relative;display:grid;align-items:end;min-height:clamp(440px,68vh,720px);overflow:hidden;background:var(--store-dark)}
.store-hero__photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.store-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(to right,rgba(10,24,21,.7) 0%,rgba(10,24,21,.35) 45%,rgba(10,24,21,0) 70%),linear-gradient(to top,rgba(10,24,21,.5) 0%,rgba(10,24,21,0) 50%)}
.store-hero__text{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-5);width:100%;max-width:var(--content-max);margin:0 auto;padding:clamp(var(--space-8),6vw,72px) clamp(var(--space-4),4vw,var(--space-12))}
.store .store-hero__title{max-width:18ch;font-family:var(--font-hero);font-size:clamp(38px,5.4vw,72px);line-height:1.04;font-weight:400;letter-spacing:-.015em;color:var(--on-green)}
.store-hero__intro{max-width:48ch;font-size:clamp(17px,1.5vw,20px);color:rgba(255,255,255,.9)}
.store-hero__actions{display:flex;flex-wrap:wrap;gap:var(--space-3)}
.store .store-hero .store-btn{border-color:var(--on-green);color:var(--on-green)}
.store .store-hero .store-btn:hover{background:rgba(255,255,255,.12)}
.store .store-hero .store-btn--solid{background:var(--on-green);color:var(--store-dark)}
.store .store-hero .store-btn--solid:hover{background:var(--sand-tint)}

/* What makes us different: four short lines under the photo */
.promises{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-6);margin-top:0;margin-bottom:0;padding-block:var(--space-8);border-bottom:1px solid var(--store-line);list-style:none}
.promise{display:flex;align-items:flex-start;gap:var(--space-3);font-size:15px;line-height:1.45;color:var(--store-muted)}
.promise strong{color:var(--store-ink);font-weight:700}
.promise svg{flex-shrink:0;width:28px;height:28px;fill:none;stroke:var(--store-dark);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}

/* ---------- Sections ---------- */
.store-section{display:flex;flex-direction:column;gap:var(--space-6);padding-top:clamp(var(--space-10),6vw,80px)}
.store-section--last{padding-bottom:clamp(var(--space-10),6vw,80px)}
.store-section__head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:var(--space-2) var(--space-6)}
.store .store-section__title{font-family:var(--font-serif);font-size:clamp(28px,3.2vw,42px);line-height:1.1;font-weight:400;letter-spacing:-.01em}
.store-section__note{color:var(--store-muted)}
.store-count{font-size:15px;color:var(--store-muted)}

.store-page{gap:var(--space-6)}
.store-page__head{display:flex;flex-direction:column;gap:var(--space-3);padding-top:var(--space-4)}
.store-page .store-section{padding-top:var(--space-10)}
.store-page .store-section:first-of-type{padding-top:var(--space-4)}
.store-page__intro{max-width:68ch;margin:0;font-size:clamp(16px,1.3vw,18px);line-height:1.6;color:var(--store-muted)}

/* Category tiles */
.category-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(230px,100%),1fr));gap:var(--space-8) var(--space-6);margin:0;padding:0;list-style:none}
.category-tile{display:flex;flex-direction:column;gap:var(--space-2);text-decoration:none;color:var(--store-ink)}
/* Every product and category photo is a square (2026-10-26): the same 1:1 box,
   cropped to fill (object-fit:cover), 2px corners and a quiet line, on the
   soft ground that shows while the photo loads. */
.category-tile__media{display:block;overflow:hidden;aspect-ratio:1;border:1px solid var(--store-line);border-radius:2px;background:var(--store-soft)}
.category-tile__photo{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.category-tile__photo--empty{background:var(--sand-tint)}
.category-tile:hover .category-tile__photo{transform:scale(1.04)}
.category-tile__name{margin-top:var(--space-1);font-size:18px;font-weight:600;color:var(--store-dark)}
.category-tiles--rooms{grid-template-columns:repeat(3,minmax(0,1fr))}
.category-tiles--rooms .category-tile__name{font-family:var(--font-serif);font-size:24px;font-weight:400}
.category-tile__note{font-size:14px;color:var(--store-muted)}
.category-tile__cta{font-size:14px;color:var(--store-muted);text-decoration:underline;text-underline-offset:4px}

/* Product cards */
.store-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-10) var(--space-6);margin:0;padding:0;list-style:none}
.store-grid>li{display:grid}
.store-card{display:flex;flex-direction:column;gap:var(--space-3);min-width:0;max-width:100%;color:var(--store-ink);text-decoration:none}
.store-card__media{display:block;overflow:hidden;aspect-ratio:1;border:1px solid var(--store-line);border-radius:2px;background:var(--store-soft)}
.store-card__photo{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.store-card__photo--empty{background:var(--sand-tint)}
.store-card:hover .store-card__photo{transform:scale(1.04)}
.store-card__body{display:flex;flex-direction:column;gap:2px}
.store-card__name{font-size:17px;font-weight:600;line-height:1.3;color:var(--store-dark);overflow-wrap:anywhere}
.store-card:hover .store-card__name{text-decoration:underline;text-underline-offset:4px}
.store-card__summary{font-size:14px;color:var(--store-muted)}
/* The price may wrap, the amount itself never: on a phone's narrow card a price kept on one
   line ran over the next card. */
.store-card__price{font-size:15px;color:var(--store-ink)}
.store-card__price,.store-card__vat{overflow-wrap:break-word}
.store-card__vat{font-size:13px;color:var(--store-muted)}
.store-card__dots{display:flex;align-items:center;gap:6px;margin-top:var(--space-2)}
.store-card__dot{width:16px;height:16px}
.store-card__dot circle{stroke:rgba(0,0,0,.18);stroke-width:1}
.store-card__dot--photo{border-radius:50%;object-fit:cover;box-shadow:inset 0 0 0 1px rgba(0,0,0,.18);outline:1px solid rgba(0,0,0,.18);outline-offset:-1px}
.store-card__more{font-size:13px;color:var(--store-muted)}

/* From our workshop: text beside three photos, on a soft ground */
.store-split{margin-top:clamp(var(--space-10),6vw,80px);padding-block:clamp(var(--space-10),6vw,80px);background:var(--store-soft)}
.store-split__inner{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.4fr);align-items:center;gap:clamp(var(--space-8),5vw,72px)}
.store-split__text{display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-5);font-size:17px;line-height:1.6;color:var(--store-muted)}
.store-split__inner--photo{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}
.store-split__inner--photo-left{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}
.store-split__inner--photo-left .store-split__photo{order:-1}
.store-split__photo{display:block;width:100%;aspect-ratio:3 / 2;object-fit:cover}
.store-split__photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:var(--space-3);margin:0;padding:0;list-style:none}
.store-split__photos li:first-child{grid-row:1 / span 2}
.store-split__photos a{display:block;height:100%}
.store-split__photos img{display:block;width:100%;height:100%;min-height:180px;object-fit:cover}

/* A band that invites (the trade program) */
.store-band{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-5) var(--space-10);padding:clamp(var(--space-6),4vw,56px);border:1px solid var(--store-line);background:var(--surface)}
.store-band>div{display:flex;flex-direction:column;gap:var(--space-3);max-width:640px;color:var(--store-muted)}

/* The custom-design strip, quieter */
.store .custom-design{border-radius:0;background:var(--sand-tint)}
.store .custom-design__lead{font-family:var(--font-serif);font-weight:400}
.store .custom-design__text p{max-width:65ch}

/* ---------- Footer ---------- */
.store-footer{margin-top:auto;background:var(--surface);border-top:1px solid var(--store-line);color:var(--store-muted);font-size:15px}
.store-footer__cols{display:grid;grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,1fr));gap:var(--space-8);padding-block:clamp(var(--space-10),5vw,64px) var(--space-8)}
.store-footer__brand{display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-2)}
.store-footer__logo{height:36px;width:auto;margin-bottom:var(--space-2)}
.store-footer__tagline{font-family:var(--font-serif);font-size:19px;color:var(--store-dark)}
.store-footer__col{display:flex;flex-direction:column;gap:var(--space-1)}
.store .store-footer__title{margin-top:var(--space-3);font-family:var(--font-display);font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--store-ink)}
.store-footer__col .store-footer__title:first-child{margin-top:0}
.store-footer__col ul{margin:0;padding:0;list-style:none}
.store-footer__col a{display:inline-flex;align-items:center;min-height:36px;color:var(--store-muted);text-decoration:none}
@media (max-width:820px){.store-footer__col a{min-height:var(--tap-min)}}
.store-footer__col a:hover{color:var(--store-dark);text-decoration:underline}
.store-footer__base{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-2) var(--space-6);min-height:56px;border-top:1px solid var(--store-line);font-size:13px}
.store-footer__base a{display:inline-flex;align-items:center;min-height:var(--tap-min);color:var(--store-muted)}

/* ---------- Product page ---------- */
.product--store{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:var(--space-6) clamp(var(--space-8),4vw,64px);padding-top:var(--space-6)}
.product--store .product__gallery{grid-row:1 / span 2}
.product--store .product__photo{border:1px solid var(--store-line);border-radius:2px;background:var(--store-soft)}
/* The large photo sits in a square box of its own and fills it, so a photo of any shape (or one
   still loading) never spills over the thumbnails or the text below, whatever the browser. */
.product--store .gallery__stage{position:relative;width:100%;aspect-ratio:1 / 1;overflow:hidden;border:1px solid var(--store-line);border-radius:2px;background:var(--store-soft)}
@supports not (aspect-ratio:1 / 1){.product--store .gallery__stage{height:0;padding-bottom:100%}}
.product--store .gallery__stage .product__photo{position:absolute;inset:0;width:100%;height:100%;max-width:none;aspect-ratio:auto;object-fit:cover;border:0;border-radius:0}
.product--store .gallery__step,.product--store .gallery__count{z-index:1}
.product--store .product__thumbs{flex-wrap:nowrap;min-width:0;max-width:100%}
.product--store .product__thumbs li{flex:0 0 auto}
.product--store .product__thumb-link{box-sizing:border-box;overflow:hidden}
.product--store .product__thumb{width:100%;height:100%;object-fit:cover}
.product--store .product__gallery{scroll-margin-top:calc(var(--header-height) + var(--space-4))}
.product--store .product__thumbs{gap:var(--space-2)}
.product--store .product__thumb-link{border-radius:2px}
.product--store .product__thumb-link:hover{border-color:var(--store-line)}
.product--store .product__thumb-link[aria-current="true"]{border-color:var(--store-dark);background:var(--surface)}
.product--store .product__thumb{border-radius:1px;background:var(--store-soft)}
.product--store .gallery__step{border-radius:2px;color:var(--store-dark)}
.product--store .gallery__step:hover{background:var(--surface)}
.product--store .product__info{grid-row:1;position:sticky;top:calc(var(--header-height) + var(--space-4));gap:var(--space-6)}
.product__head{display:flex;flex-direction:column;gap:var(--space-2)}
.store .product__title{font-family:var(--font-serif);font-size:clamp(30px,3.2vw,42px);line-height:1.1;font-weight:400;letter-spacing:-.01em}
.product__summary{font-size:17px;color:var(--store-muted)}
.product__from{font-size:15px;color:var(--store-ink)}
.store .option-step{padding-top:var(--space-5);border-top:1px solid var(--store-line)}
.store .option-step__legend{font-family:var(--font-display);font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--store-ink)}
.store .option-step__chosen{font-family:var(--font-text);font-size:15px;letter-spacing:0;text-transform:none;color:var(--store-muted)}
.option-step__hint{margin-top:calc(-1 * var(--space-2));margin-bottom:var(--space-3);font-size:14px;color:var(--store-muted)}
.fabric-later{display:flex;flex-direction:column;gap:var(--space-1);margin-top:var(--space-4);padding:var(--space-4) var(--space-5);border-left:3px solid var(--store-dark);background:var(--store-soft)}
.store .fabric-later__title{margin:0;font-family:var(--font-serif);font-size:19px;line-height:1.25;color:var(--store-dark)}
.fabric-later__body{margin:0;font-size:14px;line-height:1.55;color:var(--store-muted)}
.store .fz-option{border-radius:2px;border-color:var(--store-line)}
.store .fz-option__label{font-weight:400}
.store .fz-option:has(.option-button__input:checked){background:var(--surface);border-color:var(--store-dark);box-shadow:inset 0 0 0 1px var(--store-dark)}
.store .swatch:has(.swatch__input:checked) .swatch__colour{outline-color:var(--store-dark)}
.store .swatch:has(.swatch__input:checked) .swatch__photo{outline:2px solid var(--store-dark);outline-offset:3px}
.store .quantity{padding-top:var(--space-5);border-top:1px solid var(--store-line)}
.store .quantity__label{font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:var(--store-ink)}
.store .product-total{display:flex;flex-direction:column;gap:var(--space-2);padding-top:var(--space-5);border-top:1px solid var(--store-line)}
.store .product-total__amount{font-family:var(--font-serif);font-size:32px;font-weight:500;color:var(--store-dark)}
.store .product-total__label{font-family:var(--font-display);font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:var(--store-ink)}
.store .product-bar__add{min-height:56px}
.product__promises{display:flex;flex-direction:column;gap:var(--space-2);margin:0;padding:var(--space-4) var(--space-5);background:var(--store-soft);font-size:14px;color:var(--store-muted);list-style:none}
.product__promises li{position:relative;padding-left:var(--space-6)}
.product__promises li::before{content:"";position:absolute;left:2px;top:.45em;width:10px;height:6px;border-left:2px solid var(--store-dark);border-bottom:2px solid var(--store-dark);transform:rotate(-45deg)}
.product__more{display:flex;flex-direction:column;border-top:1px solid var(--store-line)}
.fold{border-bottom:1px solid var(--store-line)}
.fold__title{display:flex;align-items:center;justify-content:space-between;min-height:56px;font-family:var(--font-display);font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--store-ink);list-style:none;cursor:pointer}
.fold__title::-webkit-details-marker{display:none}
.fold__title::after{content:"+";font-family:var(--font-text);font-size:22px;font-weight:400;letter-spacing:0}
.fold[open] .fold__title::after{content:"−"}
.fold__body{display:flex;flex-direction:column;gap:var(--space-2);padding-bottom:var(--space-5);color:var(--store-muted);line-height:1.6}

/* ---------- Website pages (About, Contact, Terms…) ---------- */
.cms-page{display:flex;flex-direction:column;gap:var(--space-8);max-width:860px;padding-block:var(--space-10) clamp(var(--space-10),6vw,80px)}
.cms-page__head{display:flex;flex-direction:column;gap:var(--space-3)}
.cms-page__updated{font-size:14px}
.prose{display:flex;flex-direction:column;gap:var(--space-4);font-size:17px;line-height:1.7;color:var(--store-ink)}
.store .prose h2{margin-top:var(--space-4);font-family:var(--font-serif);font-size:26px;font-weight:400}
.store .prose h3{font-size:19px}
.prose ul,.prose ol{margin:0;padding-left:var(--space-6)}
.prose li+li{margin-top:var(--space-1)}
/* Pictures in a page's text (Office › Pages): beside the text on the left or right (one column on a
   phone), centred, or the full width. Headings start below a picture beside the text. */
.prose:has(.page-img){display:flow-root}
.prose:has(.page-img)>*{margin:0}
.prose:has(.page-img)>*+*{margin-top:var(--space-4)}
.page-img{display:block;max-width:100%;height:auto;border-radius:2px;background:var(--store-soft)}
.prose .page-img--center{width:min(100%,560px);margin-inline:auto}
.page-img--full{width:100%}
.prose .page-img--left{float:left;width:min(45%,360px);margin:6px var(--space-6) var(--space-3) 0}
.prose .page-img--right{float:right;width:min(45%,360px);margin:6px 0 var(--space-3) var(--space-6)}
.prose h2,.prose hr{clear:both}
@media (max-width:560px){
  .prose .page-img--left,.prose .page-img--right{float:none;width:100%;margin:var(--space-4) 0 0}
}
.prose blockquote{margin:0;padding:var(--space-3) var(--space-4);border-left:3px solid var(--sand-deep);background:var(--sand-tint);color:var(--store-muted);font-size:15px}
.prose blockquote p{margin:0}
.prose a{text-underline-offset:3px}
.contact-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:var(--space-4);margin:0;padding:0;list-style:none}
.contact-card{display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-2);padding:var(--space-6);border:1px solid var(--store-line)}
.store .contact-card__title{font-family:var(--font-display);font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--store-ink)}
.contact-card__big{font-family:var(--font-serif);font-size:22px;text-decoration:none;overflow-wrap:anywhere}

/* ---------- Trade program ---------- */
.feature-band{background:var(--store-soft);border-bottom:1px solid var(--store-line)}
.feature-band__inner{display:flex;flex-direction:column;gap:var(--space-4);padding-block:clamp(var(--space-10),7vw,96px)}
.trade{gap:var(--space-10)}
.benefits{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:var(--space-8);margin:0;padding:0;list-style:none}
.benefit{display:flex;flex-direction:column;gap:var(--space-2);padding-top:var(--space-4);border-top:2px solid var(--store-dark);color:var(--store-muted)}
.store .benefit__title{font-family:var(--font-serif);font-size:22px;font-weight:400}
.trade__apply{max-width:860px;border-radius:0}

/* ---------- Cart, checkout and the order pages ---------- */
.trade-code{display:flex;flex-direction:column;gap:var(--space-2);padding-top:var(--space-3);border-top:1px solid var(--line)}
.trade-code__ask summary{display:flex;align-items:center;min-height:var(--tap-min);font-weight:500;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.trade-code__form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:var(--space-2);margin-block:var(--space-2)}
.trade-code__form .fz-field{flex:1 1 180px}
.trade-code__on{font-size:15px}

.how-to-pay{display:flex;flex-direction:column;gap:var(--space-3);margin-top:var(--space-2)}
.store .how-to-pay__title{font-family:var(--font-display);font-size:16px;font-weight:700}
.how-to-pay__list{display:flex;flex-direction:column;gap:var(--space-2);margin:0;padding:0;list-style:none}
.how-to-pay__method{display:flex;flex-direction:column;gap:var(--space-2);padding:var(--space-4);border:1px solid var(--line);border-radius:var(--radius-md)}
.how-to-pay__method--chosen{border:2px solid var(--store-dark);background:var(--sand-tint)}
/* The M-Pesa prompt (STK push), first in "How to pay" once it is set up (2026-11-16). */
.mpesa-prompt{display:flex;flex-direction:column;gap:var(--space-3);padding:var(--space-4);border:2px solid var(--store-dark);border-radius:var(--radius-md);background:var(--sand-tint)}
.store .mpesa-prompt__title{margin:0;font-family:var(--font-display);font-size:15px;font-weight:700}
.mpesa-prompt p{margin:0}
.mpesa-prompt__form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:var(--space-3)}
.mpesa-prompt__form .fz-field{flex:1 1 220px;margin:0}
.how-to-pay__or{margin:0;color:var(--store-muted)}
.how-to-pay__name{font-weight:700;color:var(--store-dark)}
.how-to-pay__yours{margin-left:var(--space-2);padding:2px 8px;border-radius:var(--radius-pill);background:var(--store-dark);color:var(--on-green);font-size:13px;font-weight:700}
.how-to-pay__details{display:grid;grid-template-columns:auto 1fr;gap:var(--space-1) var(--space-4);margin:0}
.how-to-pay__details div{display:contents}
.how-to-pay__details dt{color:var(--store-muted)}
.how-to-pay__details dd{margin:0}
.how-to-pay__details strong{font-size:18px;letter-spacing:.02em}
.how-to-pay__text{white-space:normal}
.how-to-pay__quote{font-size:15px;color:var(--store-muted)}

/* The finished photos of a ready piece on its tracking page */
.track-photos{display:flex;flex-direction:column;gap:var(--space-2);margin:0}
.track-photos__list{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:var(--space-2);margin:0;padding:0;list-style:none}
.track-photos__list a{display:block}
.track-photos__img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:var(--radius-md);background:var(--store-soft)}
.track-photos__caption{font-size:14px;color:var(--store-muted)}

/* ---------- Narrower screens ---------- */
@media (max-width:1100px){
  .store-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .store-footer__cols{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:820px){
  :root{--header-height:60px}
  .store-header__bar{gap:var(--space-2)}
  .store-header__logo{margin-right:auto}
  .store-header__logo img{height:28px}
  .announce{font-size:13px}
  .announce span:not(:first-child),.announce__sep{display:none}
  .promises{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4)}
  .store-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-8) var(--space-3)}
  .store-card__name{font-size:15px}
  .store-card__summary{display:none}
  .category-tiles,.category-tiles--rooms{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-6) var(--space-3)}
  .category-tiles--rooms .category-tile__name{font-size:19px}
  .category-tile__name{font-size:16px}
  .store-split__inner{grid-template-columns:minmax(0,1fr)}
  .store-split__inner--photo-left .store-split__photo{order:0}
  .store-footer__cols{grid-template-columns:minmax(0,1fr)}
  /* One column on a phone: the store's two-column grid above would otherwise win over site.css. */
  .product--store{grid-template-columns:minmax(0,1fr)}
  .product--store .product__gallery,.product--store .product__info{grid-column:1;grid-row:auto}
  .product--store .product__info{position:static}
  .product--store .product__thumb-link{width:64px;height:64px}
  .store .product-bar{margin-inline:calc(-1 * clamp(var(--space-4),4vw,var(--space-12)))}
}

@media (max-width:480px){
  .promises{grid-template-columns:minmax(0,1fr)}
  /* Five icons and the logo do not fit a small phone: WhatsApp is in the footer and on every design. */
  .store-actions__whatsapp{display:none}
  .store-header__logo img{height:26px}
}

@media (prefers-reduced-motion:reduce){
  .category-tile__photo,.store-card__photo{transition:none}
  .category-tile:hover .category-tile__photo,.store-card:hover .store-card__photo{transform:none}
}

/* ---------- Typography (after Interior Define, 2026-11-02) ----------
   One face at one weight for titles and text, sizes as theirs: page and section titles 36px,
   card titles 24px, text 17px, small text 15px, notes 13px; letters a little open (0.024em).
   Uppercase is kept for the small labels and the main menu. Last in the file so it wins over
   the sizes above; phones get their own below.
   Client review 2026-11-16: the names under product and category photos 17px (were 20px), the
   room names of "Shop by room" 21px (were 24px), the main menu in capitals at 15px (was 18px
   in ordinary case), and the home page's headline back in Fraunces (--font-hero). */
.store h1,.store h2,.store h3,.store h4{font-weight:400}
.display-title,.store .page__title,.store .store-section__title,.store .product__title{font-family:var(--font-serif);font-size:36px;line-height:1.28;font-weight:400;letter-spacing:.0235em}
/* The home headline keeps its own face and sizes (Fraunces, "Home: the large photo"). */
.store-hero__intro,.lede{font-size:17px;line-height:1.35}
.store .prose h2,.store .benefit__title,.store .custom-design__lead,.store .fabric-later__title{font-family:var(--font-serif);font-size:24px;line-height:1.27;font-weight:400}
.category-tiles--rooms .category-tile__name{font-family:var(--font-serif);font-size:21px;line-height:1.27;font-weight:400}
.store .prose h3,.contact-card__big{font-size:20px;line-height:1.3}
.contact-card__email{font-size:17px}
.store-nav__link{font-family:var(--font-text);font-size:15px;font-weight:500;letter-spacing:.08em;text-transform:uppercase}
.store .store-mega__list a,.store-drawer__panel a{font-size:17px}
.store-card__name,.category-tile__name{font-size:17px;font-weight:400;line-height:1.3}
.store-card__price,.product__from,.store-count,.store-footer,.promise,.store .option-step__chosen,.product__summary{font-size:17px}
.store-card__summary,.store .crumbs,.option-step__hint,.fabric-later__body,.product__promises,.category-tile__note,.category-tile__cta,.store-footer__col a{font-size:15px}
.store-card__vat,.store-footer__base,.announce{font-size:13px}
.prose,.store-split__text{font-size:17px;line-height:1.55}
.store .fz-option__label,.store .fz-option__price{font-size:17px}
.store .fz-option__note,.swatch__name{font-size:15px}
.store .product-total__amount{font-family:var(--font-serif);font-size:36px;font-weight:400}
.store-footer__tagline{font-size:24px}
/* Buttons as theirs: 17px, ordinary case. */
.store-btn,.store .fz-btn--primary,.store .fz-btn{font-family:var(--font-text);font-size:17px;font-weight:400;letter-spacing:.0235em;text-transform:none}
/* The small uppercase labels: Interstate at 15px with wide spacing, here Overpass. */
.eyebrow,.store .option-step__legend,.store .quantity__label,.store .product-total__label,.fold__title,.store .store-footer__title,.store .contact-card__title,.store-drawer__heading,.store .store-mega__heading a{font-family:var(--font-display);font-size:14px;font-weight:500;letter-spacing:.1em;text-transform:uppercase}
@media (max-width:820px){
  .store-card__price{font-size:15px}
  .store-card__vat{display:block}
  .display-title,.store .page__title,.store .store-section__title,.store .product__title{font-size:30px;line-height:1.25}
  /* Fraunces stays large enough to read on a phone, and a long word still fits a 320px screen. */
  .store .store-hero__title{font-size:clamp(32px,9.6vw,40px);line-height:1.08}
  .store-card__name{font-size:15px}
  .category-tile__name{font-size:16px}
  .category-tiles--rooms .category-tile__name{font-size:17px}
  .store .product-total__amount{font-size:30px}
}

/* ---------- Anchors under the sticky header (design review, 2026-11-16) ----------
   A link to a section (#shop-by-category, #group-living, a cart line…) lands with the heading
   clear of the header, not under it. Only the page and the footer: the header's own fields
   (#header-search…) sit in the sticky bar, and a margin there scrolls the page on every focus. */
.site-main [id],.store-footer [id]{scroll-margin-top:calc(var(--header-height) + var(--space-6))}

/* ---------- Back-office components on public pages (design review, 2026-11-16) ----------
   The cart, checkout and Past projects use the shared components (fz-panel, fz-input, fz-card,
   fz-filter…), whose 16px corners, pills and bold names belong to the back office. On the
   website they take the storefront's look: square 2px corners, thin #E7E1D3 lines, weight 400. */
.store .fz-panel{border-radius:2px;border-color:var(--store-line);padding:var(--space-6)}
.store .fz-panel__title,.store .checkout__path-title{font-family:var(--font-serif);font-size:24px;line-height:1.27;font-weight:400;color:var(--store-dark)}
.store .fz-strip{border-radius:2px}
.store .fz-input{border-radius:2px;border-color:var(--control-border)}
.store .fz-input:focus{outline:2px solid var(--store-dark);outline-offset:-1px;border-color:var(--store-dark)}
/* The error border is drawn inside the 1px border, so the field keeps its size. */
.store .fz-input[aria-invalid="true"]{border-color:var(--late);box-shadow:inset 0 0 0 1px var(--late)}
.store .fz-label{font-size:15px;font-weight:400;color:var(--store-ink)}
.store .fz-choice,.store .checkout__path,.store .how-to-pay__method{border-radius:2px;border:1px solid var(--store-line)}
.store .fz-choice:has(input:checked),.store .checkout__path--order,.store .how-to-pay__method--chosen{border-color:var(--store-dark);background:var(--surface);box-shadow:inset 0 0 0 1px var(--store-dark)}
.store .fz-choice__title,.store .how-to-pay__name,.store .summary-line__name,.store .confirm-order__lines li,.store .confirm-order__total{font-weight:400}
.store .fz-chip,.store .checkout__path-tag,.store .how-to-pay__yours{border-radius:2px;font-family:var(--font-display);font-weight:500;letter-spacing:.08em}
.store .quote-line__photo,.store .track-photos__img{border-radius:2px;border:1px solid var(--store-line)}
.store .quote-line__price,.store .trade-code{border-top-color:var(--store-line)}
.store .confirm-order{border-radius:2px;border-color:var(--store-line)}
.store .checkout__pay legend,.store .checkout__terms dt{font-weight:400;color:var(--store-dark)}
.store .checkout__terms{border-color:var(--store-line)}
/* Past projects: cards as the product cards (the photo on the soft ground, the name under it), and
   square filter buttons. Finished-work photos stay 4:3. */
.store .project-card{gap:var(--space-3);border:0;border-radius:0;background:none;overflow:visible}
.store .project-card__photo,.store .project-card .fz-card__image{border:1px solid var(--store-line);border-radius:2px;background:var(--store-soft)}
.store .project-card .fz-card__body{padding:0}
.store .project-card__name{font-weight:400;color:var(--store-dark)}
.store .project-card:hover .project-card__name{text-decoration:underline;text-underline-offset:4px}
.store .project-card__caption{color:var(--store-muted)}
.store .project__photo,.store .project__thumb{border-radius:2px}
.store .fz-filter{border-radius:2px;border:1px solid var(--store-line);font-weight:400;color:var(--store-ink)}
.store .fz-filter:hover{border-color:var(--store-dark)}
.store .fz-filter[aria-pressed="true"]{background:var(--surface);border-color:var(--store-dark);box-shadow:inset 0 0 0 1px var(--store-dark);color:var(--store-dark)}
/* Checkout's main button: the full width on a phone. */
@media (max-width:820px){
  .store .checkout__place{width:100%}
}

/* ---------- "Shop all furniture" and the footer's social icons (2026-11-16) ----------
   The link to the whole catalogue at the foot of the "Shop by room" panel. (The menu words
   themselves are sized by the typography block above: the meeting's four, capitals, 15px.) */
.store-mega__all{margin:var(--space-5) 0 0;text-align:center}
.store .store-mega__all a{display:inline-flex;align-items:center;min-height:var(--tap-min);font-family:var(--font-display);font-size:14px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:var(--store-dark);text-decoration:underline;text-underline-offset:4px}

/* The footer's social icons: round, outlined, one colour, 44px to tap. */
.store-footer__social{display:flex;flex-wrap:wrap;gap:var(--space-2);margin:var(--space-2) 0 0;padding:0;list-style:none}
.store-footer__social-link{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid var(--store-line);border-radius:50%;color:var(--store-dark);text-decoration:none}
.store-footer__social-link:hover,.store-footer__social-link:focus-visible{border-color:var(--store-dark);background:var(--store-dark);color:var(--on-green)}
.store-footer__social-link svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

/* ---------- Reviews (2026-11-16) ---------- */
.reviews{gap:var(--space-8)}
.stars{display:inline-flex;align-items:center}
.stars__row{color:var(--store-tan);font-size:1.25em;letter-spacing:.08em;line-height:1}
.reviews__average{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-3);margin:0;font-size:18px}
.reviews__links{display:flex;flex-wrap:wrap;gap:var(--space-2) var(--space-6);margin:0}
.review-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(320px,100%),1fr));gap:var(--space-6);margin:0;padding:0;list-style:none}
.review__card{display:flex;flex-direction:column;gap:var(--space-3);height:100%;padding:var(--space-6);background:var(--store-soft);border:1px solid var(--store-line)}
.review__rating{margin:0}
.review__body{display:flex;flex-direction:column;gap:var(--space-2);color:var(--store-ink);overflow-wrap:anywhere}
.review__body p{margin:0}
.review__who{display:flex;flex-direction:column;gap:2px;margin:auto 0 0}
.review__meta{color:var(--store-muted);font-size:15px}
.reviews__form{max-width:860px;border-radius:0}
.rate{display:flex;flex-direction:column;gap:var(--space-2);margin:0 0 var(--space-4);padding:0;border:0}
.rate__legend{padding:0;font-weight:500}
.rate__stars{display:flex;gap:var(--space-1)}
.rate__opt{position:relative;display:flex;align-items:center;justify-content:center;min-width:var(--tap-min);min-height:var(--tap-min);color:var(--store-line);font-size:34px;line-height:1;cursor:pointer}
.rate__opt input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
/* This star and every star before it take the colour; the choice is also the checked radio. */
.rate__opt:has(input:checked),.rate__opt:has(~ .rate__opt input:checked){color:var(--store-tan)}
.rate__opt:has(input:focus-visible){outline:3px solid var(--green);outline-offset:2px}
@media (hover:hover){
  .rate__stars:hover .rate__opt{color:var(--store-line)}
  .rate__stars .rate__opt:hover,.rate__stars .rate__opt:has(~ .rate__opt:hover){color:var(--store-tan)}
}

/* ---------- Newsletter (2026-11-16) ---------- */
.newsletter{display:flex;flex-direction:column;gap:var(--space-8)}
.story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-5);margin:0;padding:0;list-style:none}
.story-grid>li{display:grid}
.story-card__photo{display:block;width:100%;aspect-ratio:4 / 3;object-fit:cover;background:var(--sand-tint)}
.story-card__date,.story__date{font-size:14px;color:var(--muted)}
.story-card__title{font-size:19px;line-height:1.3;overflow-wrap:anywhere}
.story-card__teaser{font-size:15px;color:var(--muted);overflow-wrap:anywhere}
.story{display:flex;flex-direction:column;gap:var(--space-6);max-width:760px;margin-inline:auto;width:100%}
.story__cover{display:block;width:100%;aspect-ratio:3 / 2;object-fit:cover;border-radius:var(--radius-lg);background:var(--sand-tint)}
.newsletter-signup{display:flex;flex-direction:column;gap:var(--space-3);max-width:560px;width:100%;margin-inline:auto;padding:var(--space-6);border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface)}
.newsletter-signup__title{font-family:var(--font-serif);font-size:26px;line-height:1.25;font-weight:400}
.newsletter-signup__intro{color:var(--muted)}
.newsletter-signup__form{display:flex;flex-direction:column;gap:var(--space-4)}
.newsletter-signup__note{font-size:14px;color:var(--muted)}
@media (max-width:820px){
  .story-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-3)}
}
@media (max-width:480px){
  .story-grid{grid-template-columns:minmax(0,1fr)}
  .newsletter-signup{padding:var(--space-4)}
}

/* ---------- Production time under Add to cart (2026-11-16) ---------- */
.product__promises .product__lead-time{color:var(--store-ink);font-weight:700}

/* ---------- Contact page: the message form (2026-12-03) ---------- */
.contact-message{display:flex;flex-direction:column;gap:var(--space-4);scroll-margin-top:calc(var(--header-height,72px) + var(--space-4))}
.contact-message__head{display:flex;flex-direction:column;gap:var(--space-2)}
.store .contact-message__title{font-family:var(--font-serif);font-size:24px;line-height:1.27;font-weight:400}
.contact-form .form-actions{padding-top:var(--space-2)}
.contact-note{padding:var(--space-4) var(--space-5);border-left:3px solid var(--sand-deep);background:var(--store-soft);font-size:15px;color:var(--store-ink)}
@media (max-width:820px){
  .contact-page{gap:var(--space-6)}
  .store .contact-form{padding:var(--space-4)}
  .contact-form .fz-btn{width:100%;justify-content:center}
  .contact-card{padding:var(--space-4)}
}

/* ---------- Past projects: the gallery and a project's page (2026-12-03) ----------
   The gallery: a grid of projects, each its cover at 4:3 on the soft ground, the name
   as a card title and the optional line in small capitals; the whole card is the link.
   A project's page: the cover large, the other photos two by two, and each photo large
   in a lightbox that is plain CSS (:target, #photo-<n>), with Previous, Next, Full size
   and Close links; public/js/project-gallery.js only adds the keyboard. */
.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-10) var(--space-6);margin:0;padding:0;list-style:none}
.gallery-grid>li{display:grid}
.gallery-card{display:flex;flex-direction:column;gap:var(--space-2);min-width:0;text-decoration:none}
.gallery-card__frame{display:block;aspect-ratio:4 / 3;overflow:hidden;border:1px solid var(--store-line);border-radius:2px;background:var(--store-soft)}
.gallery-card__photo{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.gallery-card:hover .gallery-card__photo{transform:scale(1.03)}
.store .gallery-card__name{margin-top:var(--space-2);font-size:24px;line-height:1.25;font-weight:400;color:var(--store-dark);overflow-wrap:anywhere}
.gallery-card:hover .gallery-card__name{text-decoration:underline;text-underline-offset:4px}
.gallery-card__line,.project-page__line{font-family:var(--font-display);font-size:14px;font-weight:500;letter-spacing:.1em;text-transform:uppercase;color:var(--store-muted);overflow-wrap:anywhere}
.project-page__line{margin:0}
.project-page__cover{display:block;overflow:hidden;border-radius:2px;background:var(--store-soft)}
.project-page__cover-photo{display:block;width:100%;aspect-ratio:3 / 2;max-height:82vh;object-fit:cover}
.project-page__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-5);margin:0;padding:0;list-style:none}
.project-page__grid>li{scroll-margin-top:calc(var(--header-height) + var(--space-4))}
.project-page__thumb{display:block;overflow:hidden;border-radius:2px;background:var(--store-soft)}
.project-page__thumb-photo{display:block;width:100%;aspect-ratio:4 / 3;object-fit:cover;transition:transform .5s ease}
.project-page__thumb:hover .project-page__thumb-photo{transform:scale(1.02)}
.project-page__back{margin:0}
.lightbox{display:none}
.lightbox:target{position:fixed;inset:0;z-index:100;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-3);padding:var(--space-4);background:rgba(16,24,22,.94)}
.lightbox__backdrop{position:absolute;inset:0}
.lightbox__figure{position:relative;display:flex;flex-direction:column;align-items:center;gap:var(--space-2);min-height:0;max-width:100%;margin:0;pointer-events:none}
.lightbox__photo{display:block;width:auto;height:auto;max-width:min(100%,1600px);max-height:calc(100vh - 150px);object-fit:contain;pointer-events:auto}
.lightbox__caption{color:#fff;font-size:14px;font-variant-numeric:tabular-nums}
.lightbox__bar{position:relative;display:flex;flex-wrap:wrap;justify-content:center;gap:var(--space-2)}
.store .lightbox__link{display:inline-flex;align-items:center;min-height:var(--tap-min);padding:0 var(--space-4);border:1px solid rgba(255,255,255,.6);border-radius:2px;color:#fff;font-family:var(--font-display);font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;text-decoration:none}
.store .lightbox__link:hover,.store .lightbox__link:focus-visible{background:#fff;color:var(--store-dark)}
.store .lightbox__link:focus-visible{outline:3px solid #fff;outline-offset:2px}
@media (prefers-reduced-motion:reduce){
  .gallery-card__photo,.project-page__thumb-photo{transition:none}
  .gallery-card:hover .gallery-card__photo,.project-page__thumb:hover .project-page__thumb-photo{transform:none}
}
@media (max-width:1024px){
  .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-8) var(--space-4)}
}
@media (max-width:640px){
  .gallery-grid,.project-page__grid{grid-template-columns:minmax(0,1fr);gap:var(--space-6)}
  .store .gallery-card__name{font-size:21px}
  .project-page__cover-photo{aspect-ratio:4 / 3}
  .lightbox:target{padding:var(--space-2)}
  .store .lightbox__link{padding:0 var(--space-3)}
}
