/* generated by tools/scss.py from theme.scss (Dart Sass 1.105.2) — edit theme.scss, never this file */
/* ─────────────────────────────────────────────────────────────────────────────
   SOLITAIRE — design lab theme (hikmastream-commerce spec/theme-collection-plan.md, TL4)
   Family: Jewellery & Gold. Signature: the vitrine — near-white gallery light,
   platinum greys, one steel-blue accent, hairline rules only, centred cards,
   Cormorant Garamond with tracked Questrial caps, museum whitespace (wide default,
   minimal details). Signal: garnet — count, sale. Factors change TOKENS ONLY.
   ───────────────────────────────────────────────────────────────────────────── */
@import url("family/family.css");
@import url("shared/vendor/fonts/cormorant-garamond.css");
@import url("shared/vendor/fonts/questrial.css");
@import url("shared/vendor/fonts/noto-naskh-arabic.css");
html[data-f-size=S] {
  font-size: calc(14.5px * var(--ft-scale, 1));
  --dsc: 0.86;
}

html[data-f-size=L] {
  font-size: calc(17.5px * var(--ft-scale, 1));
  --dsc: 1.16;
}

html[data-f-size=XL] {
  font-size: calc(20px * var(--ft-scale, 1));
  --dsc: 1.3;
}

html[data-f-size=XL] svg:has(> use[href*="icons.svg#"]) {
  zoom: 1.35;
}

html[data-f-size=XL] :is(.btn, button:not(.mode-switch):not(.rail-btn):not(.pg-dots button), select,
input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]), .acts a, .acts .mode-switch) {
  min-height: 56px;
}

html[data-f-size=XL] .acts :is(a, .mode-switch) {
  min-width: 56px;
  justify-content: center;
}

html[data-f-size=XL] .rail-btn {
  width: 56px;
  height: 56px;
}

html[data-f-size=XL][data-f-size] {
  --cols: 3;
}

html[data-f-size=XL][data-view=compact] {
  --cols: 4;
}

html[data-f-size=XL][data-view=large] {
  --cols: 2;
}

@media (max-width: 1023px) {
  html[data-f-size=XL][data-f-size] {
    --cols: 2;
  }
  html[data-f-size=XL][data-view=compact] {
    --cols: 3;
  }
  html[data-f-size=XL][data-view=large] {
    --cols: 1;
  }
}
@media (max-width: 599px) {
  html[data-f-size=XL][data-f-size] {
    --cols: 1;
  }
  html[data-f-size=XL][data-view=compact] {
    --cols: 2;
  }
  html[data-f-size=XL][data-view=large] {
    --cols: 1;
  }
  html[data-f-size=XL] .grid[style*="--cols"] {
    --cols: 1 !important;
  }
  html[data-f-size=XL] {
    --dsc: 1;
  }
  html[data-f-size=XL] .top > * {
    min-width: 0;
  }
  html[data-f-size=XL] .top .mark {
    zoom: 0.8;
    white-space: normal;
    flex-wrap: wrap;
    max-width: 50vw;
  }
  html[data-f-size=XL] .acts {
    gap: 0;
  }
  html[data-f-size=XL] .acts :is(a, .mode-switch) {
    min-width: 40px;
  }
  html[data-f-size=XL] .menu {
    max-width: 100%;
  }
  html[data-f-size=XL] .menu a {
    overflow-wrap: anywhere;
  }
  html[data-f-size=XL] .shead :is(h2, .kick) {
    white-space: normal;
  }
  html[data-f-size=XL] :is(.hero-copy, .lhead, .shead) {
    min-width: 0;
  }
  html[data-f-size=XL] :is(.hero-cta, .news form) {
    flex-wrap: wrap;
  }
  html[data-f-size=XL] form :is(input, select, button) {
    min-width: 0;
    max-width: 100%;
  }
}
html[data-view=compact] {
  --cols: 7;
}

html[data-view=large] {
  --cols: 3;
}

html[data-f-details=minimal] .d-m,
html[data-f-details=minimal] .d-r {
  display: none !important;
}

html[data-f-details=moderate] .d-r {
  display: none !important;
}

*, *::before, *::after {
  box-sizing: border-box;
}

img {
  display: block;
  max-width: 100%;
}

p {
  margin: 0;
}

button, input, select {
  font: inherit;
  color: inherit;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
svg[viewBox="0 0 24 24"] {
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hs-vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

a:hover {
  text-decoration-color: var(--accent);
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

input[type=radio], input[type=checkbox] {
  accent-color: var(--accent);
}

:root {
  --ts: var(--ts-ratio, 1.25);
  --fs-1: calc(1rem * var(--ts));
  --fs-2: calc(var(--fs-1) * var(--ts));
  --fs-3: calc(var(--fs-2) * var(--ts));
  --fs-4: calc(var(--fs-3) * var(--ts));
  --fs-5: calc(var(--fs-4) * var(--ts));
  --fs-6: calc(var(--fs-5) * var(--ts));
  --fs-7: calc(var(--fs-6) * var(--ts));
}

@media (max-width: 860px) {
  :root {
    --ts: var(--ts-ratio-phone, 1.18);
  }
}
.hero-copy, .lhead, .buy {
  container-type: inline-size;
  min-inline-size: 0;
  inline-size: -webkit-fill-available;
  inline-size: -moz-available;
  inline-size: stretch;
}

.hero-copy h1 {
  font-size: clamp(var(--fs-3), 10.5cqi, var(--fs-7));
  overflow-wrap: break-word;
}

.lhead h1 {
  font-size: clamp(var(--fs-3), 8cqi, var(--fs-5));
  overflow-wrap: break-word;
}

.buy h1 {
  font-size: clamp(var(--fs-2), 7cqi, var(--fs-4));
  overflow-wrap: break-word;
}

.count:not(:empty) {
  display: inline-block;
  box-sizing: border-box;
  min-inline-size: 1.6em;
  block-size: auto;
  padding: calc((1.6em - 1cap) / 2) 0.42em;
  line-height: 1;
  text-align: center;
  letter-spacing: 0;
  text-indent: 0;
  font-family: var(--text);
  font-variant-numeric: tabular-nums lining-nums;
  text-box: trim-both cap alphabetic;
}

.search input::placeholder {
  color: var(--stone);
}

.acts a.only-narrow {
  display: none;
}

.acts .mode-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  line-height: 1;
  cursor: pointer;
}

.mode-switch .ms-sun, html[data-mode=dark] .mode-switch .ms-moon {
  display: none;
}

html[data-mode=dark] .mode-switch .ms-sun {
  display: block;
}

.mode-switch:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 4px;
}

.search button {
  border: 0;
  background: none;
  cursor: pointer;
  display: grid;
}

.rail::-webkit-scrollbar {
  display: none;
}

.rail > * {
  scroll-snap-align: start;
}

.rail {
  scroll-padding-inline: var(--edge);
}

.rail-wrap {
  position: relative;
}

.rail-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.rail-btn.prev {
  inset-inline-start: calc(var(--edge) - 20px);
}

.rail-btn.next {
  inset-inline-end: calc(var(--edge) - 20px);
}

.rail-btn[disabled] {
  opacity: 0;
  pointer-events: none;
}

.card-name a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.price {
  font-variant-numeric: tabular-nums;
}

.filter > summary::-webkit-details-marker {
  display: none;
}

.fgroup {
  display: grid;
  gap: 10px;
  align-content: start;
}

.chips input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.facts .clear {
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--stone);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.views label:hover svg {
  color: var(--ink);
}

.more {
  display: grid;
  place-items: center;
  padding-top: calc(var(--sec) * 0.5);
}

.views i {
  position: absolute;
}

@media (max-width: 599px) {
  .grid[style*="--cols"] {
    --cols: 2 !important;
  }
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.facts {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--mist);
  padding-top: 14px;
}

.views input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

.grid.ed .card {
  display: flex;
  flex-direction: column;
}

.dots {
  display: flex;
  gap: 10px;
}

.dots input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.pills input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.st-row {
  display: inline-flex;
  gap: 2px;
}

.alt-card > span {
  display: grid;
  gap: 2px;
  justify-items: start;
}

.rev-sum {
  display: grid;
  gap: 8px;
  align-content: start;
  justify-items: start;
}

.rev-sum .btn {
  margin-top: 8px;
}

.rev-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.rev-list p {
  max-width: 58ch;
}

.pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.accs details {
  border-bottom: 1px solid var(--mist);
}

.accs details[open] summary::after {
  content: "–";
}

.stars small {
  color: var(--stone);
}

.lines {
  list-style: none;
  margin: 0;
  padding: 0;
}

.choice small {
  grid-column: 2;
  color: var(--stone);
}

.co .sum {
  position: static;
}

.co-items div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.fs {
  display: grid;
  gap: 14px;
  border: 0;
  padding: 0;
  margin: 0;
}

.frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.choice {
  display: grid;
  gap: 10px;
}

.co-items {
  display: grid;
  gap: 10px;
  font-size: 0.9rem;
}

:where(html) {
  --foot: var(--well);
  --foot-ink: var(--ink);
  --foot-stone: var(--stone);
}

.foot-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  align-items: center;
  padding: 16px var(--edge);
  border-top: 1px solid var(--mist);
}

.fs-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.fs-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--foot-stone);
  margin-inline-end: 4px;
}

.fs-social a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--mist);
  border-radius: 50%;
  color: var(--foot-stone);
}

.fs-social svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.fs-seal svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

@media (max-width: 599px) {
  .foot-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .foot-grid > div {
    order: 0 !important;
  }
  .foot-grid a, .foot-grid li {
    overflow-wrap: anywhere;
  }
}
.news input:focus {
  outline: none;
}

.news input::placeholder {
  color: var(--foot-stone);
}

.hs-consent {
  display: grid;
  gap: 0.6em;
  padding: var(--pad, 1rem) var(--gut, 1rem);
  background: var(--well);
  color: var(--ink);
  border-bottom: 1px solid var(--edge);
  font-size: 0.95rem;
  line-height: 1.45;
}

.hs-consent[hidden] {
  display: none;
}

.hs-consent h2 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink);
}

.hs-consent p {
  margin: 0;
  color: var(--ink);
  max-width: 70ch;
}

.hs-consent-purposes {
  display: grid;
  gap: 0.5em;
}

.hs-consent-purposes[hidden] {
  display: none;
}

.hs-consent-purpose {
  display: flex;
  gap: 0.6em;
  align-items: flex-start;
  color: var(--ink);
  cursor: pointer;
}

.hs-consent-purpose input {
  width: 1.25em;
  height: 1.25em;
  margin: 0.1em 0 0;
  flex: none;
  accent-color: var(--accent);
}

.hs-consent-purpose strong {
  color: var(--ink);
}

.hs-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  align-items: center;
}

.hs-consent-button {
  min-height: 44px;
  padding: 0.55em 1.2em;
  border: 0;
  border-radius: var(--r, 6px);
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.hs-consent-more, .hs-consent-again {
  min-height: 44px;
  padding: 0.55em 0.4em;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.hs-consent-again {
  display: block;
  margin: 0.75em auto;
  padding: 0.45em 1em;
  font-size: 0.85rem;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--edge);
  border-radius: 999px;
  text-decoration: none;
}

.hs-consent :focus-visible, .hs-consent-again:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 599px) {
  [data-page=product] .crumb {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-block: 4px;
    margin-block: 0;
    font-size: 0.82rem;
  }
  [data-page=product] .pdp {
    padding-top: 8px;
    gap: 10px;
  }
  [data-page=product] .pdp .pg {
    gap: 0;
    position: relative;
  }
  [data-page=product] .pdp .pg-main {
    display: none;
  }
  [data-page=product] .pdp .pg-thumbs {
    display: flex;
    gap: 0;
    padding: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  [data-page=product] .pdp .pg-thumbs::-webkit-scrollbar {
    display: none;
  }
  [data-page=product] .pdp .pg-thumbs > img {
    flex: 0 0 100%;
    width: 100%;
    height: var(--pg-h, 40svh);
    aspect-ratio: auto;
    object-fit: contain;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    background: var(--well);
    border: 0;
    border-radius: var(--r, 0);
    cursor: auto;
    opacity: 1;
    outline: 0;
  }
  [data-page=product] .pdp .buy {
    row-gap: 8px;
  }
  [data-page=product] .pdp .buy > :is(.card-brand, h1, div:has(> .price), .opt, .btn) {
    order: -1;
  }
  [data-page=product] .pdp .buy > .btn {
    position: sticky;
    bottom: 10px;
    z-index: 6;
    width: 100%;
    box-shadow: 0 0 0 10px var(--paper);
  }
  .pg-dots {
    position: absolute;
    inset-inline: 0;
    bottom: 4px;
    display: flex;
    justify-content: center;
    gap: 2px;
    pointer-events: none;
  }
  .pg-dots button {
    pointer-events: auto;
  }
  .pg-dots button {
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    display: grid;
    place-items: center;
  }
  .pg-dots button::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mist);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--paper) 70%, transparent);
  }
  .pg-dots button[aria-current=true]::before {
    background: var(--ink);
  }
  html[data-phone-listing=one]:has(> body[data-page^=listing]) {
    scroll-snap-type: y proximity;
  }
  html[data-phone-listing=one] [data-page^=listing] .grid {
    --cols: 1 !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }
  html[data-phone-listing=one] [data-page^=listing] .grid > .card {
    height: calc(100svh - var(--hs-top, 0px));
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    scroll-margin-top: var(--hs-top, 0px);
    padding-bottom: 72px;
  }
  html[data-phone-listing=one] [data-page^=listing] .grid > .card :is(.card-meta, .card-brand) {
    display: none;
  }
  html[data-phone-listing=one] [data-page^=listing] .grid > .card > .card-media {
    flex: 1 1 0;
    min-height: 0;
    aspect-ratio: auto;
    display: flex;
  }
  html[data-phone-listing=one] [data-page^=listing] .grid > .card > .card-media > img {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: contain;
  }
}
.hs-pager {
  position: fixed;
  inset-inline: 0;
  bottom: 14px;
  margin-inline: auto;
  width: max-content;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 6px 20px color-mix(in srgb, var(--ink) 25%, transparent);
}

.hs-pager[hidden] {
  display: none;
}

.hs-pager output {
  padding-inline: 8px;
  min-width: 4.5em;
  text-align: center;
}

.hs-pager button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.hs-pager button:disabled {
  opacity: 0.35;
  cursor: default;
}

.hs-pager button:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: -4px;
}

.hs-install {
  position: fixed;
  z-index: 60;
  inset-inline: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  margin-inline: auto;
  max-inline-size: 440px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  column-gap: 12px;
  row-gap: 10px;
  padding: 14px 14px 14px 16px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--mist);
  border-radius: calc(var(--r, 4px) + 10px);
  box-shadow: 0 10px 32px color-mix(in srgb, var(--ink) 22%, transparent);
  font-family: var(--text);
  font-size: 0.92rem;
  line-height: 1.4;
  animation: hs-install-in 0.22s ease-out;
}

body[data-page=product] .hs-install {
  bottom: auto;
  top: calc(12px + env(safe-area-inset-top, 0px));
}

.hs-install-icon {
  inline-size: 48px;
  block-size: 48px;
  border-radius: 22%;
  grid-row: span 2;
}

.hs-install-words strong {
  display: block;
  font-family: var(--display);
  font-size: 1.02rem;
}

.hs-install-words p {
  margin: 2px 0 0;
  color: var(--stone);
}

.hs-install-acts {
  grid-column: 2/-1;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.hs-install-acts button {
  min-block-size: 44px;
  padding-inline: 16px;
  font: inherit;
  cursor: pointer;
}

.hs-install-later {
  background: none;
  border: 0;
  color: var(--stone);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hs-install-x {
  grid-column: 3;
  grid-row: 1;
  inline-size: 44px;
  block-size: 44px;
  margin: -10px -8px 0 0;
  border: 0;
  background: none;
  color: var(--stone);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.hs-install button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@keyframes hs-install-in {
  from {
    transform: translateY(16px);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hs-install {
    animation: none;
  }
}
.hs-push {
  grid-template-columns: 1fr auto;
}

.hs-push .hs-install-words {
  grid-column: 1;
}

.hs-push .hs-install-acts {
  grid-column: 1/-1;
}

.hs-push .hs-install-x {
  grid-column: 2;
}

.hs-push-on {
  row-gap: 4px;
  padding-block: 10px;
}

.hs-push-on .hs-install-words p {
  margin: 0;
  color: var(--ink);
}

/* ── tokens ── */
html {
  --tone-1: #23262B; /* the theme's own colour (palette, Q50) */
  --paper: #FBFBF9; /* gallery white */
  --well: #F3F2EE;
  --ink: #23262B;
  --stone: #6B6E72;
  --mist: #E5E4DF;
  --accent:#4A6A86; /* steel blue — actions */
  --accent-ink: #F7FAFC;
  --signal:#9A3B4A; /* garnet — count, sale */
  --signal-ink: #FBF0F2;
  --display: "Cormorant Garamond", Georgia, "Noto Naskh Arabic", serif;
  --text: "Questrial", system-ui, "Noto Naskh Arabic", sans-serif;
  --r: 0px;
  --gap: 26px;
  --pad: 28px;
  --sec: 110px;
  --gut: clamp(22px, 4vw, 64px);
  --edge: max(var(--gut), calc((100% - 1320px) / 2 + var(--gut)));
  font-size: calc(16px * var(--ft-scale, 1));
  --dsc: 1;
  --cols: 5;
  background: var(--paper);
  color-scheme: light;
}

html[data-f-spacing=compact] {
  --gap: 14px;
  --pad: 18px;
  --sec: 60px;
}

html[data-f-spacing=wide] {
  --gap: 38px;
  --pad: 36px;
  --sec: 160px;
}

@media (max-width: 1023px) {
  html {
    --cols: 3;
  }
  html[data-view=compact] {
    --cols: 4;
  }
  html[data-view=large] {
    --cols: 2;
  }
}
@media (max-width: 599px) {
  html {
    --cols: 2;
  }
  html[data-view=compact] {
    --cols: 3;
  }
  html[data-view=large] {
    --cols: 1;
  }
}
html[data-mode=dark] {
  --paper: #191B1E;
  --well: #212428;
  --ink: #EDEDEA;
  --stone: #93969B;
  --mist: #33373C;
  --accent: #8FB2D1;
  --accent-ink: #0F1A23;
  --signal: #CE6F7D;
  --signal-ink: #26070C;
  color-scheme: dark;
}

/* details factor */
/* ── base ── */
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.06;
  margin: 0;
  letter-spacing: 0.01em;
}

h1 em, h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

a {
  color: inherit;
  text-decoration-color: var(--mist);
  text-underline-offset: 4px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* kicker: one small open diamond, wide tracking */
.kick {
  font-family: var(--text);
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--stone);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.kick::before {
  content: "◇";
  font-size: 0.8em;
  color: var(--accent);
  flex: none;
}

/* section head: centred, a hairline either side */
.shead {
  margin-top: var(--sec);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.shead .kick {
  color: var(--ink);
}

.shead a {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 3px;
}

.shead a:hover {
  color: var(--ink);
  border-color: var(--ink);
}

/* buttons: hairline cases */
.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  padding: 1.05em 2.6em;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  border-radius: var(--r);
  transition: all 0.2s ease;
}

.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
}

.btn.ghost:hover {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

/* ── chrome ── */
.note {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 10px var(--edge);
  color: var(--paper);
  background: var(--ink);
}

.top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 20px var(--edge);
  border-bottom: 1px solid var(--mist);
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}

.mark {
  font-family: var(--text);
  font-weight: 400;
  font-size: 1.2rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  text-decoration: none;
  justify-self: center;
  padding-inline-start: 0.5em;
}

.menu {
  display: flex;
  gap: clamp(12px, 2vw, 32px);
  flex-wrap: wrap;
}

.menu a {
  text-decoration: none;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  padding-block: 2px;
}

.menu a:hover {
  color: var(--ink);
}

.menu a[aria-current=page] {
  color: var(--ink);
  box-shadow: 0 1px 0 var(--accent);
}

.acts {
  display: flex;
  gap: 16px;
  justify-self: end;
  align-items: center;
}

.search {
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--mist);
}

.search:focus-within {
  border-color: var(--accent);
}

.search input {
  border: 0;
  background: none;
  padding: 5px 0;
  width: 11ch;
  transition: width 0.2s ease;
  font-size: 0.88rem;
}

.search input:focus {
  outline: none;
  width: 16ch;
}

.search svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.4;
}

@media (max-width: 1023px) {
  .search {
    display: none;
  }
  .acts a.only-narrow {
    display: inline-flex;
  }
}
.acts a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 0.88rem;
}

.acts svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.4;
}

.count {
  background: var(--signal);
  color: var(--signal-ink);
  font-size: 0.7rem;
  font-weight: 400;
  border-radius: 50%;
}

@media (max-width: 860px) {
  .top {
    grid-template-columns: auto 1fr auto;
  }
  .menu {
    order: 3;
    grid-column: 1/-1;
    padding-top: 8px;
    border-top: 1px solid var(--mist);
  }
  .mark {
    justify-self: start;
  }
}
/* footer: the gallery wall text */
.foot {
  margin-top: var(--sec);
  border-top: 1px solid var(--mist);
  background: var(--paper);
}

.foot-sign {
  padding: calc(var(--sec) * 0.55) var(--edge) 0;
  text-align: center;
}

.foot-sign h2 {
  font-size: calc(clamp(30px, 4.4vw, 56px) * var(--dsc));
  font-style: italic;
  font-weight: 400;
}

.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--gap);
  padding: 44px var(--edge) 28px;
}

.foot-grid h3 {
  font-family: var(--text);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  margin-bottom: 13px;
  color: var(--stone);
}

.foot-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.foot-grid a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--stone);
}

.foot-grid a:hover {
  color: var(--accent);
}

.news p {
  color: var(--stone);
  font-size: 0.9rem;
  max-width: 34ch;
  margin-bottom: 12px;
}

.news form {
  display: flex;
  border-bottom: 1px solid var(--ink);
  max-width: 330px;
}

.news form:focus-within {
  border-color: var(--accent);
}

.news input {
  flex: 1;
  border: 0;
  background: none;
  padding: 9px 0;
  min-width: 0;
}

.news button {
  border: 0;
  background: none;
  color: var(--accent);
  cursor: pointer;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 0 4px;
}

.foot-base {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px var(--edge) 24px;
  color: var(--stone);
  font-size: 0.78rem;
  border-top: 1px solid var(--mist);
}

@media (max-width: 860px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}
/* ── hero: one stone under one light ── */
.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: stretch;
  border-bottom: 1px solid var(--mist);
}

.hero-copy {
  padding: calc(var(--sec) * 0.9) var(--edge);
  display: grid;
  align-content: center;
  gap: 26px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-meta {
  color: var(--stone);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
}

.hero-art {
  position: relative;
  padding: calc(var(--pad) * 1.5);
  display: grid;
  background: var(--well);
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: calc(var(--pad) * 0.75);
  border: 1px solid var(--mist);
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-art img {
    min-height: 280px;
  }
}
/* rail */
.rail {
  list-style: none;
  margin: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(190px, 22vw, 310px);
  gap: var(--gap);
  overflow-x: auto;
  padding: 26px var(--edge) 10px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

/* Q36 — the rail snaps to the content edge, not the screen's: without it the first card is snapped to x=0 on load */
/* full-bleed band */
.look {
  position: relative;
  margin-top: var(--sec);
}

.look img {
  width: 100%;
  height: clamp(320px, 50vw, 600px);
  object-fit: cover;
}

.look-copy {
  position: absolute;
  inset-inline-start: var(--edge);
  bottom: 40px;
  background: color-mix(in srgb, var(--paper) 96%, transparent);
  border: 1px solid var(--mist);
  padding: calc(var(--pad) * 1.1);
  max-width: min(420px, 78vw);
  display: grid;
  gap: 12px;
}

.look-copy h2 {
  font-size: calc(clamp(24px, 2.8vw, 38px) * var(--dsc));
  font-style: italic;
  font-weight: 400;
}

.look-copy a {
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 3px;
  width: max-content;
}

/* category tiles: mounted and captioned beneath */
.cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(var(--gap) * 1.4);
  padding: 30px 10px 10px;
}

.cats a {
  text-decoration: none;
  text-align: center;
}

.cats img {
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
  background: var(--well);
  border: 1px solid var(--mist);
}

.cats span {
  display: block;
  padding-top: 14px;
  font-family: var(--text);
  font-size: 0.72rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ink);
}

@media (max-width: 599px) {
  .cats {
    grid-template-columns: 1fr;
  }
}
/* quote: alone in the light */
.quote {
  margin-top: var(--sec);
  padding: calc(var(--sec) * 0.7) var(--edge);
  text-align: center;
}

.quote p {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: calc(clamp(26px, 3.6vw, 46px) * var(--dsc));
  line-height: 1.3;
  max-width: 24ch;
  margin-inline: auto;
}

.quote cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  color: var(--stone);
  font-size: 0.68rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}

/* ── product card: mounted, centred, captioned ── */
.grid {
  display: grid;
  grid-template-columns: repeat(var(--cols), 1fr);
  gap: calc(var(--gap) * 1.3);
  padding: 30px 10px 0;
  list-style: none;
  margin: 0;
}

.card {
  position: relative;
  text-align: center;
}

.card-media {
  position: relative;
  overflow: hidden;
  background: var(--well);
  aspect-ratio: 4/5;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.card:hover .card-media img {
  transform: scale(1.03);
}

.card-body {
  padding-top: 14px;
  display: grid;
  gap: 3px;
  justify-items: center;
}

.card-brand {
  font-size: 0.6rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--stone);
}

.card-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.12rem;
  line-height: 1.2;
}

.card-name a {
  text-decoration: none;
}

.card-price {
  font-size: 0.9rem;
  font-family: var(--text);
  letter-spacing: 0.06em;
}

.card-price del {
  color: var(--stone);
  margin-inline-start: 8px;
  font-size: 0.88em;
}

.card-price .off {
  color: var(--signal);
}

.card-meta {
  font-size: 0.76rem;
  color: var(--stone);
  letter-spacing: 0.05em;
}

.tag {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  background: var(--paper);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid var(--mist);
  z-index: 1;
}

.tag.sale {
  background: var(--signal);
  color: var(--signal-ink);
  border-color: var(--signal);
}

.rate {
  font-size: 0.76rem;
  color: var(--stone);
}

.qadd {
  position: absolute;
  inset-inline-end: 12px;
  bottom: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.card:hover .qadd, .qadd:focus-visible {
  opacity: 1;
}

.qadd:hover {
  background: var(--ink);
  color: var(--paper);
}

html[data-view=compact] .qadd {
  width: 31px;
  height: 31px;
  font-size: 1.1rem;
}

/* ── listing ── */
.crumb {
  padding: 18px 0 0;
  font-size: 0.78rem;
  color: var(--stone);
  letter-spacing: 0.04em;
}

.crumb a {
  color: inherit;
  text-decoration: none;
}

.crumb a:hover {
  color: var(--accent);
}

.lhead {
  padding-top: 34px;
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
}

.lhead h1 small {
  display: block;
  font-family: var(--text);
  font-size: 0.17em;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 10px;
}

.lhead > p {
  color: var(--stone);
  max-width: 54ch;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-block: 1px solid var(--mist);
  margin-top: 34px;
  padding-block: 12px;
  flex-wrap: wrap;
  position: relative;
}

.sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--stone);
}

.sort select {
  border: 0;
  background: none;
  padding: 6px 2px;
  cursor: pointer;
  color: var(--ink);
}

.tb-start {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 30px);
  flex-wrap: wrap;
}

.filter > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 0;
}

.filter > summary svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.4;
}

.filter > summary small {
  color: var(--stone);
  text-transform: none;
  letter-spacing: 0;
}

.filter[open] > summary {
  color: var(--accent);
}

.filter-panel {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  z-index: 40;
  background: var(--paper);
  border: 1px solid var(--mist);
  border-top: 0;
  padding: var(--pad);
  box-shadow: 0 20px 50px color-mix(in srgb, var(--tone-1) 8%, transparent);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: calc(var(--gap) * 1.2);
}

.fgroup > span {
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone);
}

.chips label {
  position: relative;
  border: 1px solid var(--mist);
  padding: 6px 15px;
  font-size: 0.82rem;
  cursor: pointer;
  letter-spacing: 0.04em;
}

.chips label:has(input:checked) {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

@media (max-width: 860px) {
  .filter > summary small {
    display: none;
  }
  .filter-panel {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 599px) {
  .filter-panel {
    grid-template-columns: 1fr;
  }
}
/* view widget */
.views {
  display: flex;
  gap: 3px;
}

.views label {
  position: relative;
  display: grid;
  place-items: center;
  width: 37px;
  height: 33px;
  cursor: pointer;
  border: 1px solid transparent;
}

.views svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  color: var(--stone);
}

.views label:has(input:checked) {
  border-color: var(--ink);
}

.views input:checked + svg {
  color: var(--ink);
}

.views input:focus-visible + svg {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* Q26: never a grid row */
/* editorial grid: "the vitrine" — one stone tall and alone at the head of every seven */
.grid.ed > .card:nth-child(7n+1) {
  grid-row: span 2;
}

.grid.ed > .card:nth-child(7n+1) .card-media {
  aspect-ratio: auto;
  height: 100%;
}

.grid.ed > .card:nth-child(7n+5) {
  grid-column: span 2;
}

.grid.ed > .card:nth-child(7n+5) .card-media {
  aspect-ratio: 16/10;
}

.grid.ed > .card:nth-child(7n+5) .card-media img {
  object-position: center 45%;
}

.grid.ed > .card:nth-child(7n+1) .card-media {
  flex: 1;
}

@media (max-width: 599px) {
  /* TA7 (Q37): the vitrine's menu stays one row on a phone and scrolls sideways — wrapped at Size L it took three rows,
     and pushed the product's first choice below the first screen */
  .menu {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  .menu a {
    white-space: nowrap;
  }
  html[data-view=large] .grid.ed > .card {
    grid-column: auto;
    grid-row: auto;
  }
  html[data-view=large] .grid.ed > .card:nth-child(7n+1) .card-media {
    aspect-ratio: 4/5;
    flex: none;
  }
  html[data-view=large] .grid.ed > .card:nth-child(7n+5) .card-media {
    aspect-ratio: 16/10;
  }
}
/* ── product page ── */
.pdp {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: calc(var(--gap) * 2.2);
  padding: 34px 10px 0;
}

.pg {
  display: grid;
  gap: calc(var(--gap) * 0.9);
}

.pg-main img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  background: var(--well);
  border: 1px solid var(--mist);
}

.pg-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: calc(var(--gap) * 0.7);
  padding-top: 6px;
}

.pg-thumbs img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  background: var(--well);
  cursor: pointer;
  border: 1px solid var(--mist);
}

.pg-thumbs img:hover {
  border-color: var(--accent);
}

.buy {
  position: sticky;
  top: 100px;
  align-self: start;
  display: grid;
  gap: 18px;
}

.buy .card-brand {
  font-size: 0.64rem;
}

.buy .price {
  font-size: 1.4rem;
  font-family: var(--text);
  letter-spacing: 0.04em;
}

.buy .taxline {
  color: var(--stone);
  font-size: 0.82rem;
  margin-top: 2px;
}

.opt {
  display: grid;
  gap: 10px;
}

.opt > span {
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone);
}

.dots label {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  border: 1px solid var(--mist);
}

.dots input:checked + i {
  position: absolute;
  inset: -5px;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.pills label {
  position: relative;
  border: 1px solid var(--mist);
  padding: 9px 18px;
  cursor: pointer;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.pills label:has(input:checked) {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.pills label:has(input:disabled) {
  color: var(--mist);
  text-decoration: line-through;
  cursor: not-allowed;
}

.buy .btn {
  padding-block: 1.2em;
  text-align: center;
}

.shipline {
  font-size: 0.86rem;
  color: var(--stone);
}

.accs {
  border-top: 1px solid var(--mist);
}

.accs summary {
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  font-size: 1.08rem;
  font-family: var(--display);
  font-weight: 500;
}

.accs summary::after {
  content: "+";
  font-size: 1.1rem;
  line-height: 1;
  color: var(--accent);
}

.accs p, .accs ul {
  color: var(--stone);
  font-size: 0.9rem;
  padding-bottom: 16px;
  margin: 0;
}

.accs ul {
  padding-inline-start: 18px;
}

@media (max-width: 860px) {
  .pdp {
    grid-template-columns: 1fr;
  }
  .buy {
    position: static;
  }
}
/* ── basket ── */
.bag {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: calc(var(--gap) * 2);
  padding: 30px 10px 0;
}

.line {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: var(--gap);
  padding-block: var(--pad);
  border-bottom: 1px solid var(--mist);
  align-items: start;
}

.line img {
  width: 100px;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--well);
  border: 1px solid var(--mist);
}

.line-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.15rem;
}

.line-opts {
  color: var(--stone);
  font-size: 0.84rem;
  margin-top: 3px;
}

.line-acts {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 13px;
}

.qty {
  display: inline-flex;
  border: 1px solid var(--mist);
}

.qty button {
  width: 32px;
  height: 32px;
  border: 0;
  background: none;
  cursor: pointer;
}

.qty button:hover {
  background: var(--well);
  color: var(--accent);
}

.qty span {
  width: 32px;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}

.line-remove {
  font-size: 0.82rem;
  color: var(--stone);
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.line .price {
  justify-self: end;
}

.sum {
  border: 1px solid var(--ink);
  padding: calc(var(--pad) * 1.1);
  display: grid;
  gap: 12px;
  align-self: start;
  position: sticky;
  top: 100px;
  background: var(--paper);
}

.sum h2 {
  font-size: 1.35rem;
}

.sum dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px 12px;
  margin: 0;
  font-size: 0.92rem;
}

.sum dd {
  margin: 0;
  text-align: end;
  font-variant-numeric: tabular-nums;
}

.sum .total {
  border-top: 1px solid var(--mist);
  padding-top: 11px;
  font-size: 1.06rem;
}

.sum .hint {
  color: var(--stone);
  font-size: 0.8rem;
}

@media (max-width: 860px) {
  .bag {
    grid-template-columns: 1fr;
  }
  .sum {
    position: static;
  }
}
/* ── checkout ── */
.co {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: calc(var(--gap) * 2.3);
  padding: 30px 10px 0;
}

.co-form {
  display: grid;
  gap: calc(var(--sec) * 0.36);
}

.fs legend {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.45rem;
  padding: 0;
  margin-bottom: 6px;
}

.fld {
  display: grid;
  gap: 6px;
}

.fld span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

.fld input, .fld select {
  border: 1px solid var(--mist);
  background: var(--paper);
  padding: 12px 13px;
  width: 100%;
  border-radius: 0;
}

.fld input:focus, .fld select:focus {
  outline: none;
  border-color: var(--ink);
}

.choice label {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: baseline;
  border: 1px solid var(--mist);
  padding: 15px 17px;
  cursor: pointer;
}

.choice label:has(input:checked) {
  border-color: var(--ink);
}

.co-items span:last-child {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 860px) {
  .co {
    grid-template-columns: 1fr;
  }
  .frow {
    grid-template-columns: 1fr;
  }
}
/* RTL */
[dir=rtl] .mark {
  letter-spacing: 0.3em;
  padding-inline-start: 0.3em;
}

/* icon set: Lucide (ISC), rounded caps (Q24) */
/* ── selling layer ── */
.stars {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.88rem;
}

.icn-star {
  width: 14px;
  height: 14px;
  fill: var(--accent);
  stroke: none;
}

.share {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--mist);
  padding-top: 15px;
}

.share > span {
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone);
}

.share a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--mist);
  border-radius: 50%;
}

.share a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.share svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.4;
}

.alt {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--mist);
  padding-top: 15px;
}

.alt-head {
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone);
}

.alt-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--mist);
  padding: 10px 12px;
  text-decoration: none;
}

.alt-card:hover {
  border-color: var(--ink);
}

.alt-card img {
  width: 52px;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--well);
}

.alt-card em {
  font-style: normal;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.alt-card strong {
  font-size: 0.96rem;
  font-family: var(--display);
  font-weight: 500;
}

.alt-card .price {
  font-size: 0.85rem;
  color: var(--stone);
}

.rev {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: calc(var(--gap) * 2);
  padding-top: 24px;
}

.rev-sum strong {
  font-family: var(--display);
  font-weight: 500;
  font-size: 3.2rem;
  line-height: 1;
}

.rev-list li {
  border-top: 1px solid var(--mist);
  padding-block: 17px;
  display: grid;
  gap: 8px;
}

.rev-list footer {
  font-size: 0.82rem;
  color: var(--stone);
}

@media (max-width: 860px) {
  .rev {
    grid-template-columns: 1fr;
  }
}
/* Q29 — the count badge: the digit sits dead-centre; two digits (up to 99) stretch the
   circle into a pill, never squeeze the number */
.count {
  border-radius: 999px;
}

/* Q30 — the search box is wide enough to use: full placeholder at rest, wider in focus */
.search input {
  width: 17ch;
}

.search input:focus {
  width: 24ch;
}

/* Q29b — optical centring of the badge digit: the glyph box sits high with
   line-height 1, so a hair of top padding drops it onto the true centre */
/* Q31 — the hero fits the fold */
.hero-copy {
  padding-block: clamp(36px, 7svh, 72px);
}

.hero-art img {
  min-height: clamp(300px, 52svh, 520px);
  max-height: calc(100svh - 210px);
}

@media (max-width: 860px) {
  .hero-art img {
    min-height: 240px;
    max-height: 52svh;
  }
}
/* Q32 — the product rail is a slider (arrows injected by shared/slider.js);
   category tiles, offers and trust bands always show whole */
.rail-btn {
  position: absolute;
  top: 44%;
  translate: 0 -50%;
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--mist);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 0;
  padding-bottom: 0.1em;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

@media (max-width: 860px) {
  .rail-btn {
    display: none;
  }
}
/* hero variant — centred stack: the words first, a wide band of image below */
.hero {
  grid-template-columns: 1fr;
}

.hero > .hero-copy {
  text-align: center;
  justify-items: center;
  padding-block: clamp(30px, 6svh, 56px) 20px;
  max-width: 820px;
  margin-inline: auto;
}

.hero > .hero-copy .hero-cta {
  justify-content: center;
}

.hero > .hero-art {
  padding-top: 0;
}

.hero > .hero-art img {
  aspect-ratio: 21/8;
  min-height: 220px;
  max-height: 42svh;
  width: 100%;
}

/* footer variant — inverted: the small print on top, the sign-off at the bottom */
.foot {
  display: flex;
  flex-direction: column;
}

.foot-base {
  order: -1;
  border-top: 0;
  border-bottom: 1px solid var(--mist);
}

.foot-sign {
  order: 2;
  padding-bottom: calc(var(--sec) * 0.4);
}

.foot-grid {
  order: 1;
  padding-top: calc(var(--sec) * 0.45);
}

/* Q34 — the trust bar: couriers and payments accepted by tijara, socials optional */
.fs-chip {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--foot-stone);
  border: 1px solid var(--mist);
  border-radius: 5px;
  padding: 3px 10px;
  white-space: nowrap;
}

.fs-social a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.fs-seal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--foot-stone);
  border: 1px solid var(--mist);
  border-radius: 5px;
  padding: 3px 10px;
  white-space: nowrap;
}

/* ── mode-switch (storefront-cutover C4c, Q28) ── */
/* A fixed-count rail (cross-sell, recommendations: style="--cols:4") takes the phone's two columns (storefront-cutover C6b-3). */
/* On a phone the footer's columns stack, one under the other, and long words wrap — nothing scrolls sideways (SE3 harness, golden words: clean, airy). */
/* On a phone a bag line keeps its picture small and its quantity buttons wrap (SE3 harness). */
@media (max-width: 599px) {
  .line {
    grid-template-columns: 72px minmax(0, 1fr) auto !important;
  }
  .line img {
    width: 72px !important;
  }
  .line-acts {
    flex-wrap: wrap;
    gap: 10px;
  }
}
/* regions (theme-equation §8e): header brand-left · footer centred · body ruled · card centred · icons tabler — tools/regions.py */
@media (min-width: 861px) {
  body .top {
    grid-template-columns: auto 1fr auto;
  }
  body .top > .mark {
    order: -1;
    justify-self: start;
  }
  body .top > .menu {
    justify-self: center;
  }
}
body .foot {
  text-align: center;
}

body .foot .foot-grid {
  justify-items: center;
  justify-content: center;
}

body .foot .foot-grid ul {
  padding-inline: 0;
}

body .foot .foot-base, body .foot .foot-strip, body .foot .news form {
  justify-content: center;
}

body main:has(> [data-row=hero]) > [data-row] + [data-row] {
  border-top: 1px solid var(--mist);
}

body .card {
  text-align: center;
}

body .card :is(.card-meta, .card-foot, .qadd, .dots) {
  justify-content: center;
  margin-inline: auto;
}

/* /regions */
