/* generated by tools/scss.py from mobile.scss (Dart Sass 1.105.2) — edit mobile.scss, never this file */
/* ─────────────────────────────────────────────────────────────────────────────
   FLOWERS/KRAFT-STEM — the phone's pages (spec/mobile-app-plan.md MB4b, MB-D4)
   The theme's look carried from theme.scss by tools/port_look.py, then designed for the phone by hand (the foot). On the mobile core (mobile/_shop.scss, the blocks) and the theme's look (_look.scss).
   ───────────────────────────────────────────────────────────────────────────── */
@import url("family/family.css");
@import url("shared/vendor/fonts/arvo.css");
@import url("shared/vendor/fonts/work-sans.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 {
  color: inherit;
  text-decoration-color: var(--mist);
  text-underline-offset: 3px;
}

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;
}

.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;
}

.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);
}

.mode-switch {
  display: inline-grid;
  place-items: center;
  inline-size: 44px;
  block-size: 44px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: inherit;
  cursor: pointer;
}

.mode-switch svg {
  inline-size: 22px;
  block-size: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.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 var(--accent);
  outline-offset: -2px;
}

html[data-f-size=XL] {
  --hs-tabs: 78px;
}

html {
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}

:root {
  --hs-tabs: 62px;
  --hs-stack: 52px;
  --hs-rail: 60px;
}

html:has(.tab-bar) {
  --hs-bar-space: calc(var(--hs-tabs) + env(safe-area-inset-bottom, 0px));
}

html:has(.tab-bar.dock) {
  --hs-bar-space: calc(var(--hs-tabs) + 20px + env(safe-area-inset-bottom, 0px));
}

html[data-bar-fold]:has(.tab-bar), html[data-phone-bar=left]:has(.tab-bar), html[data-phone-bar=right]:has(.tab-bar) {
  --hs-bar-space: 0px;
}

body:has(.tab-bar) {
  padding-bottom: max(var(--hs-bar-space), var(--hs-stack) + 24px + env(safe-area-inset-bottom, 0px));
}

body:has(.tab-bar) .hs-install {
  bottom: calc(var(--hs-bar-space) + 12px);
}

.tab-bar {
  --hs-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  position: fixed;
  z-index: 50;
  inset-inline: auto 0;
  bottom: 0;
  inline-size: 100%;
  overflow: hidden;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  padding: 4px max(6px, env(safe-area-inset-right, 0px)) calc(4px + env(safe-area-inset-bottom, 0px)) max(6px, env(safe-area-inset-left, 0px));
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-top: 1px solid var(--mist);
  transition: inline-size 0.34s var(--hs-ease), block-size 0.34s var(--hs-ease), inset 0.34s var(--hs-ease), border-radius 0.34s var(--hs-ease), padding 0.34s var(--hs-ease), grid-template-columns 0.34s var(--hs-ease), grid-template-rows 0.34s var(--hs-ease), box-shadow 0.34s, bottom 0.24s var(--hs-ease);
  view-transition-name: hs-tabs;
}

.tab {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 2px;
  min-block-size: 54px;
  min-inline-size: 0;
  overflow: hidden;
  color: var(--stone);
  text-decoration: none;
  font-family: var(--text);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
  transition: opacity 0.2s, transform 0.2s;
}

.tab > span:not(.count) {
  max-inline-size: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tab svg {
  inline-size: 24px;
  block-size: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transition: transform 0.16s ease;
}

.tab[aria-current=page] {
  color: var(--ink);
}

.tab[aria-current=page] svg {
  stroke-width: 2.1;
}

.tab:active svg {
  transform: scale(0.86);
}

.tab:focus-visible, .tab-fold:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -4px;
  border-radius: var(--r, 4px);
}

.tab .count, .tab-fold .count {
  position: absolute;
  top: 5px;
  inset-inline-start: calc(50% + 5px);
  border-radius: 9px;
  background: var(--signal);
  color: var(--signal-ink);
  font-size: 0.66rem;
  font-weight: 600;
}

.tab .count:empty, .tab-fold .count:empty {
  display: none;
}

.tab-bar-checkout .tab-secure {
  cursor: default;
  color: var(--stone);
}

.tab-bar:has(> .tab-fold) {
  grid-auto-flow: row;
  grid-template-columns: repeat(var(--hs-tab-n, 4), minmax(0, 1fr)) 34px;
}

.tab-fold {
  position: relative;
  display: grid;
  place-items: center;
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--stone);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.tab-fold svg {
  grid-area: 1/1;
  inline-size: 20px;
  block-size: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: opacity 0.22s, transform 0.34s var(--hs-ease, ease);
}

.tab-fold .i-stack {
  opacity: 0;
  transform: scale(0.6) rotate(-30deg);
}

.tab-fold .count {
  display: none;
  top: -4px;
  inset-inline-start: auto;
  inset-inline-end: -6px;
  box-shadow: 0 0 0 2px var(--paper);
}

[dir=rtl] .tab-fold .i-fold {
  transform: scaleX(-1);
}

html[data-bar-fold]:not([data-phone-bar=drawer]) .tab-bar {
  inline-size: var(--hs-stack);
  block-size: var(--hs-stack);
  padding: 0;
  overflow: visible;
  inset-inline-end: max(14px, env(safe-area-inset-right, 0px));
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  grid-template-columns: repeat(var(--hs-tab-n, 4), 0fr) 1fr;
  grid-template-rows: 1fr;
  border: 1px solid var(--mist);
  border-radius: 999px;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--ink) 22%, transparent);
}

html[data-bar-fold] .tab-bar > .tab {
  min-block-size: 0;
  opacity: 0;
  transform: scale(0.7);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.16s, transform 0.2s, visibility 0s 0.2s;
}

html[data-bar-fold] .tab-fold {
  color: var(--ink);
}

html[data-bar-fold] .tab-fold svg {
  inline-size: 24px;
  block-size: 24px;
}

html[data-bar-fold] .tab-fold .i-fold {
  opacity: 0;
  transform: scale(0.6) rotate(30deg);
}

html[data-bar-fold] .tab-fold .i-stack {
  opacity: 1;
  transform: none;
}

html[data-bar-fold] .tab-fold .count {
  display: block;
}

html[data-bar-fold] .tab-fold .count:empty {
  display: none;
}

html[data-phone-bar=left] .tab-bar, html[data-phone-bar=right] .tab-bar {
  inline-size: var(--hs-rail);
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  padding: 6px;
  grid-auto-flow: row;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: repeat(var(--hs-tab-n, 4), minmax(0, 1fr));
  border: 1px solid var(--mist);
  border-radius: calc(var(--hs-rail) / 2);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--ink) 18%, transparent);
}

html[data-phone-bar=left] .tab-bar {
  inset-inline: auto;
  left: max(10px, env(safe-area-inset-left, 0px));
  right: auto;
}

html[data-phone-bar=right] .tab-bar {
  inset-inline: auto;
  right: max(10px, env(safe-area-inset-right, 0px));
  left: auto;
}

html[data-phone-bar=left] .tab-bar:has(> .tab-fold), html[data-phone-bar=right] .tab-bar:has(> .tab-fold) {
  grid-template-rows: repeat(var(--hs-tab-n, 4), minmax(0, 1fr)) 30px;
}

html[data-phone-bar=left]:not([data-bar-fold]) .tab, html[data-phone-bar=right]:not([data-bar-fold]) .tab {
  min-block-size: 48px;
}

html[data-phone-bar=left] .tab > span:not(.count), html[data-phone-bar=right] .tab > span:not(.count) {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

html[data-phone-bar=left] .tab-fold .i-fold, html[data-phone-bar=right] .tab-fold .i-fold {
  transform: rotate(90deg);
}

html[data-phone-bar][data-bar-fold] .tab-bar {
  inline-size: var(--hs-stack);
  block-size: var(--hs-stack);
  padding: 0;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(var(--hs-tab-n, 4), 0fr) 1fr;
}

html[data-phone-bar=left][data-bar-fold] .tab-bar {
  left: max(14px, env(safe-area-inset-left, 0px));
}

html[data-phone-bar=right][data-bar-fold] .tab-bar {
  right: max(14px, env(safe-area-inset-right, 0px));
}

html[data-phone-bar=right]:not([data-bar-fold]) :is([data-kind=buy-box], [data-kind=cart-summary], [data-kind=checkout-form]) .btn {
  max-inline-size: calc(100% - var(--hs-rail) - 12px);
  margin-right: auto;
}

html[data-phone-bar=left]:not([data-bar-fold]) :is([data-kind=buy-box], [data-kind=cart-summary], [data-kind=checkout-form]) .btn {
  max-inline-size: calc(100% - var(--hs-rail) - 12px);
  margin-left: auto;
}

html[data-phone-bar=drawer] :is([data-kind=buy-box], [data-kind=cart-summary]) .btn {
  max-inline-size: calc(100% - 40px);
  margin-right: auto;
}

.tab-bar > .tab-drawer {
  display: none;
}

html[data-phone-bar=drawer]:has(.tab-bar) {
  --hs-bar-space: 0px;
}

html[data-phone-bar=drawer] .tab-bar:not(.tab-bar-checkout) {
  inset-inline: auto;
  right: 0;
  left: auto;
  bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  inline-size: 30px;
  block-size: 64px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  border: 1px solid var(--mist);
  border-right: 0;
  border-radius: 14px 0 0 14px;
  box-shadow: -6px 6px 20px color-mix(in srgb, var(--ink) 16%, transparent);
}

html[data-phone-bar=drawer] .tab-bar:not(.tab-bar-checkout) > :not(.tab-drawer) {
  display: none;
}

html[data-phone-bar=drawer] .tab-bar > .tab-drawer {
  display: grid;
  min-block-size: 0;
  color: var(--ink);
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

html[data-phone-bar=drawer] .tab-drawer svg {
  inline-size: 18px;
  block-size: 18px;
}

.tab-bar.dock {
  inline-size: min(340px, 100% - 32px);
  inset-inline-end: max(16px, (100% - 340px) / 2);
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  padding: 5px;
  gap: 2px;
  border: 1px solid var(--mist);
  border-radius: 999px;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--ink) 18%, transparent);
}

.dock .tab {
  min-block-size: 48px;
  border-radius: 999px;
}

.dock .tab[aria-current=page] {
  background: color-mix(in srgb, var(--ink) 7%, transparent);
}

.dock .tab-bag {
  background: var(--ink);
  color: var(--paper);
}

.dock .tab-bag .count {
  top: 3px;
  box-shadow: 0 0 0 2px var(--paper);
}

html[data-bar-fold] .tab-bar.dock, html[data-phone-bar] .tab-bar.dock {
  gap: 0;
}

html[data-bar-fold]:has(.buy-bar[data-on]) .tab-bar, html[data-phone-bar]:has(.buy-bar[data-on]) .tab-bar {
  bottom: calc(var(--hs-buy, 70px) + 12px + env(safe-area-inset-bottom, 0px));
}

@media (prefers-reduced-motion: reduce) {
  .tab-bar, .tab, .tab-fold svg {
    transition: none;
  }
}
.app-back {
  display: inline-grid;
  place-items: center;
  inline-size: 44px;
  block-size: 44px;
  margin-inline-start: -10px;
  color: inherit;
  border-radius: 50%;
  -webkit-tap-highlight-color: transparent;
}

.app-back svg {
  inline-size: 24px;
  block-size: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

[dir=rtl] .app-back svg {
  transform: scaleX(-1);
}

.app-back:active {
  background: color-mix(in srgb, var(--ink) 8%, transparent);
}

body[data-page=home] .app-back {
  display: none;
}

.app-back:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0;
}

@supports selector(:popover-open) {
  .sheet[popover] {
    position: fixed;
    inset: auto 0 0;
    margin: 0;
    inline-size: 100%;
    max-inline-size: none;
    max-block-size: min(86dvh, 760px);
    padding: 0 0 env(safe-area-inset-bottom, 0px);
    border: 0;
    border-radius: calc(var(--r, 4px) + 14px) calc(var(--r, 4px) + 14px) 0 0;
    background: var(--paper);
    color: var(--ink);
    overflow: auto;
    overscroll-behavior: contain;
    box-shadow: 0 -14px 44px color-mix(in srgb, var(--ink) 26%, transparent);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), overlay 0.3s allow-discrete, display 0.3s allow-discrete;
  }
  .sheet:popover-open {
    transform: translateY(var(--hs-drag, 0px));
  }
  .sheet[data-dragging] {
    transition: none;
  }
  @starting-style {
    .sheet:popover-open {
      transform: translateY(100%);
    }
  }
  .sheet::backdrop {
    background: color-mix(in srgb, var(--ink) 42%, transparent);
    opacity: 0;
    transition: opacity 0.3s, overlay 0.3s allow-discrete, display 0.3s allow-discrete;
  }
  .sheet:popover-open::backdrop {
    opacity: 1;
  }
  @starting-style {
    .sheet:popover-open::backdrop {
      opacity: 0;
    }
  }
}
.sheet-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 10px 8px 20px;
  background: var(--paper);
  touch-action: none;
}

.sheet-head::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  translate: -50% 0;
  inline-size: 38px;
  block-size: 4px;
  border-radius: 2px;
  background: var(--mist);
}

.sheet-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.15rem;
  line-height: 1.2;
}

.sheet-x {
  display: grid;
  place-items: center;
  inline-size: 44px;
  block-size: 44px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--stone);
  cursor: pointer;
}

.sheet-x svg {
  inline-size: 22px;
  block-size: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

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

.sheet-body {
  padding: 4px 20px 0;
}

.sheet .filter-panel {
  display: grid;
  gap: 20px;
}

.sheet .facts {
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-inline: -20px;
  padding: 12px 20px;
  background: var(--paper);
  border-top: 1px solid var(--mist);
}

.sheet .facts .btn {
  flex: 1;
  min-block-size: 48px;
}

.sheet-search[popover] {
  max-block-size: 92dvh;
}

.sheet-search .search {
  display: flex;
  gap: 8px;
}

.sheet-search input {
  flex: 1;
  min-inline-size: 0;
  min-block-size: 48px;
  padding: 0 14px;
  font-size: 1rem;
  border: 1px solid var(--mist);
  border-radius: calc(var(--r, 4px) + 6px);
  background: var(--well);
  color: var(--ink);
}

.sheet-search input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.sheet-search .search .btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-block-size: 48px;
}

.sheet-search .search svg {
  inline-size: 18px;
  block-size: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.sheet-search .menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 0 24px;
}

.sheet-search .menu a {
  display: inline-flex;
  align-items: center;
  min-block-size: 40px;
  padding: 0 14px;
  text-decoration: none;
  border: 1px solid var(--mist);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.9rem;
}

.sheet-search .menu a[aria-current=page] {
  border-color: var(--ink);
}

.sheet-shop[popover] {
  max-block-size: 92dvh;
}

.shop-all {
  display: flex;
  align-items: center;
  gap: 12px;
  min-block-size: 52px;
  margin: 4px 0 6px;
  padding: 0 16px;
  border-radius: calc(var(--r, 4px) + 6px);
  background: var(--well);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.shop-all svg {
  inline-size: 20px;
  block-size: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.tree {
  padding-bottom: 24px;
}

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

.tree > ul > li {
  border-bottom: 1px solid var(--mist);
}

.tree a, .tree summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-block-size: 52px;
  padding: 0 4px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
}

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

.tree summary::after {
  content: "";
  flex: none;
  inline-size: 8px;
  block-size: 8px;
  margin-inline-end: 6px;
  border-inline-end: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.2s;
}

.tree details[open] > summary::after {
  transform: rotate(225deg);
}

.tree details ul {
  padding: 0 0 10px 14px;
  border-inline-start: 1px solid var(--mist);
  margin-inline-start: 4px;
}

.tree details a {
  min-block-size: 44px;
  font-size: 0.95rem;
  color: var(--stone);
}

.tree a[aria-current=page] {
  color: var(--ink);
  font-weight: 600;
}

.tree a:focus-visible, .tree summary:focus-visible, .shop-all:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

@supports selector(:popover-open) {
  .drawer[popover] {
    position: fixed;
    inset: 0 auto 0 0;
    margin: 0;
    inline-size: min(86vw, 360px);
    max-inline-size: none;
    block-size: 100dvh;
    max-block-size: none;
    padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px);
    border: 0;
    border-radius: 0 calc(var(--r, 4px) + 14px) calc(var(--r, 4px) + 14px) 0;
    background: var(--paper);
    color: var(--ink);
    overflow: auto;
    overscroll-behavior: contain;
    box-shadow: 14px 0 44px color-mix(in srgb, var(--ink) 26%, transparent);
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), overlay 0.3s allow-discrete, display 0.3s allow-discrete;
  }
  .drawer[data-side=right][popover] {
    inset: 0 0 0 auto;
    border-radius: calc(var(--r, 4px) + 14px) 0 0 calc(var(--r, 4px) + 14px);
    box-shadow: -14px 0 44px color-mix(in srgb, var(--ink) 26%, transparent);
    transform: translateX(100%);
  }
  .drawer:popover-open, .drawer[data-side=right]:popover-open {
    transform: translateX(var(--hs-drag, 0px));
  }
  .drawer[data-dragging] {
    transition: none;
  }
  @starting-style {
    .drawer:popover-open {
      transform: translateX(-100%);
    }
  }
  @starting-style {
    .drawer[data-side=right]:popover-open {
      transform: translateX(100%);
    }
  }
  .drawer::backdrop {
    background: color-mix(in srgb, var(--ink) 42%, transparent);
    opacity: 0;
    transition: opacity 0.3s, overlay 0.3s allow-discrete, display 0.3s allow-discrete;
  }
  .drawer:popover-open::backdrop {
    opacity: 1;
  }
  @starting-style {
    .drawer:popover-open::backdrop {
      opacity: 0;
    }
  }
}
.drawer .sheet-head::before {
  display: none;
}

.drawer .sheet-head h2 {
  font-size: 1.3rem;
}

.drawer .search {
  display: flex;
  gap: 8px;
  margin-block: 4px 14px;
}

.drawer .search input {
  flex: 1;
  min-inline-size: 0;
  min-block-size: 48px;
  padding: 0 14px;
  font-size: 1rem;
  border: 1px solid var(--mist);
  border-radius: calc(var(--r, 4px) + 6px);
  background: var(--well);
  color: var(--ink);
}

.drawer .search .btn {
  display: inline-grid;
  place-items: center;
  min-inline-size: 48px;
  min-block-size: 48px;
  padding: 0;
}

.drawer svg {
  inline-size: 20px;
  block-size: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  flex: none;
}

.drawer-go {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-block-end: 14px;
}

.drawer-go a {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 12px 6px;
  text-decoration: none;
  border: 1px solid var(--mist);
  border-radius: calc(var(--r, 4px) + 6px);
  color: var(--ink);
  font-size: 0.82rem;
}

.drawer-go .count {
  position: absolute;
  top: 6px;
  inset-inline-end: 10px;
  border-radius: 9px;
  background: var(--signal);
  color: var(--signal-ink);
  font-size: 0.66rem;
  font-weight: 600;
}

.drawer-go .count:empty {
  display: none;
}

.drawer a:focus-visible, .drawer button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.cat-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 28px var(--m-gut, 16px) 8px;
}

.cat-step a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-block-size: 64px;
  padding: 10px 14px;
  text-decoration: none;
  border: 1px solid var(--mist);
  border-radius: calc(var(--r, 4px) + 6px);
  color: var(--ink);
  background: var(--paper);
}

.cat-step .cat-next {
  grid-column: 2;
  justify-content: flex-end;
  text-align: end;
}

.cat-step span {
  display: grid;
  gap: 2px;
  min-inline-size: 0;
  font-family: var(--display);
  font-size: 1.02rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.cat-step small {
  font-family: var(--text);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone);
}

.cat-step svg {
  inline-size: 20px;
  block-size: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  flex: none;
}

[dir=rtl] .cat-step svg {
  transform: scaleX(-1);
}

.cat-step a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.buy-bar {
  position: fixed;
  z-index: 49;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: var(--paper);
  border-top: 1px solid var(--mist);
  box-shadow: 0 -8px 24px color-mix(in srgb, var(--ink) 10%, transparent);
  transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.24s;
}

.buy-bar:not([data-on]) {
  transform: translateY(110%);
  visibility: hidden;
}

body:has(.tab-bar) .buy-bar {
  bottom: var(--hs-bar-space, 0px);
}

html:not([data-bar-fold]):not([data-phone-bar=left]):not([data-phone-bar=right]) body:has(.tab-bar) .buy-bar {
  padding-bottom: 10px;
}

.bb-what {
  flex: 1;
  min-inline-size: 0;
  display: grid;
  margin: 0;
  line-height: 1.25;
}

.bb-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--stone);
  font-size: 0.82rem;
}

.buy-bar .price {
  margin: 0;
  font-weight: 600;
}

.buy-bar .btn {
  flex: none;
  min-block-size: 48px;
}

.pg-swipe {
  position: relative;
  min-inline-size: 0;
  max-inline-size: 100%;
}

.pg-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.pg-track::-webkit-scrollbar {
  display: none;
}

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

.pg-shot {
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.pg-shot img {
  inline-size: 100%;
  block-size: auto;
  aspect-ratio: var(--pg-ratio, 4/5);
  object-fit: cover;
  background: var(--well);
}

.pg-swipe .pg-shot:first-child img {
  view-transition-name: hs-product;
}

.pg-dots {
  position: absolute;
  inset-inline: 0;
  bottom: 6px;
  display: flex;
  justify-content: center;
  gap: 0;
  pointer-events: none;
}

.pg-dots button {
  display: grid;
  place-items: center;
  inline-size: 22px;
  block-size: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  pointer-events: auto;
}

.pg-dots button::before {
  content: "";
  inline-size: 6px;
  block-size: 6px;
  border-radius: 3px;
  transition: inline-size 0.2s ease, background 0.2s ease;
  background: color-mix(in srgb, var(--paper) 55%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 14%, transparent);
}

.pg-dots button[aria-current=true]::before {
  inline-size: 16px;
  background: var(--paper);
}

.pg-dots button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -4px;
  border-radius: 6px;
}

html {
  --hs-vt: 1;
}

html[dir=rtl] {
  --hs-vt: -1;
}

@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
  ::view-transition-old(root) {
    animation: hs-vt-out 0.2s ease-in both;
  }
  ::view-transition-new(root) {
    animation: hs-vt-in 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }
  html:active-view-transition-type(back)::view-transition-old(root) {
    animation-name: hs-vt-out-back;
  }
  html:active-view-transition-type(back)::view-transition-new(root) {
    animation-name: hs-vt-in-back;
  }
  ::view-transition-group(hs-product) {
    animation-duration: 0.34s;
    animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  ::view-transition-group(hs-tabs) {
    animation: none;
  }
}
@keyframes hs-vt-out {
  to {
    opacity: 0;
    transform: translateX(calc(-4% * var(--hs-vt)));
  }
}
@keyframes hs-vt-in {
  from {
    opacity: 0;
    transform: translateX(calc(8% * var(--hs-vt)));
  }
}
@keyframes hs-vt-out-back {
  to {
    opacity: 0;
    transform: translateX(calc(8% * var(--hs-vt)));
  }
}
@keyframes hs-vt-in-back {
  from {
    opacity: 0;
    transform: translateX(calc(-4% * var(--hs-vt)));
  }
}
html {
  --m-gut: 18px;
  --m-sec: calc(var(--sec) * 0.62);
  --m-rail: 44%;
  --m-card-ratio: 3 / 4;
  --m-hero-ratio: 4 / 3;
  --m-foot: var(--foot, var(--well));
  --m-foot-ink: var(--foot-ink, var(--ink));
  --m-foot-stone: var(--foot-stone, var(--stone));
  -webkit-text-size-adjust: 100%;
}

html[data-f-spacing=compact] {
  --m-gut: 14px;
}

html[data-f-spacing=wide] {
  --m-gut: 22px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.12;
  margin: 0;
  overflow-wrap: anywhere;
}

a {
  color: inherit;
}

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

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

ul {
  padding: 0;
}

.wrap {
  padding-inline: var(--m-gut);
}

.kick {
  font-family: var(--display);
  font-size: 1rem;
  color: var(--stone);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-block-size: 48px;
  padding: 0 22px;
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid var(--accent);
  border-radius: var(--r, 2px);
  font-family: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s ease;
}

.btn:active {
  transform: scale(0.98);
}

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

.btn svg {
  inline-size: 18px;
  block-size: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.shead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: var(--m-sec);
  padding-inline: var(--m-gut);
}

.shead .kick {
  font-size: 1.35rem;
  color: var(--ink);
}

.shead a {
  font-size: 0.88rem;
  color: var(--stone);
  white-space: nowrap;
}

.wrap > .shead, section > .wrap.shead {
  padding-inline: 0;
}

section > .wrap.shead {
  padding-inline: var(--m-gut);
}

.note {
  margin: 0;
  padding: 7px var(--m-gut);
  text-align: center;
  font-size: 0.74rem;
  line-height: 1.35;
  background: var(--ink);
  color: var(--paper);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-page=home] .note {
  white-space: normal;
}

.app-top {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  min-block-size: 54px;
  padding: env(safe-area-inset-top, 0px) max(8px, env(safe-area-inset-right, 0px)) 4px max(8px, env(safe-area-inset-left, 0px));
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mist);
  view-transition-name: hs-head;
}

::view-transition-group(hs-head) {
  animation: none;
}

.app-top .app-back {
  margin: 0;
}

.app-top .mark {
  grid-column: 2;
  justify-self: center;
  max-inline-size: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.1;
}

.app-top .mode-switch {
  grid-column: 3;
  color: var(--stone);
}

.crumb {
  display: none;
}

.hero {
  display: grid;
  position: relative;
}

.hero-art {
  order: -1;
  margin: 0;
}

.hero-art img {
  inline-size: 100%;
  block-size: auto;
  aspect-ratio: var(--m-hero-ratio);
  object-fit: cover;
  background: var(--well);
}

.hero-copy {
  display: grid;
  gap: 14px;
  padding: 22px var(--m-gut) 26px;
}

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

.hero-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hero-cta .btn {
  padding-inline: 10px;
  font-size: 0.88rem;
  text-align: center;
  line-height: 1.2;
}

.hero-cta .btn:only-child {
  grid-column: 1/-1;
}

.hero-meta {
  color: var(--stone);
  font-size: 0.82rem;
}

.cats {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 62%;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 14px var(--m-gut) 4px;
  scroll-padding-inline: var(--m-gut);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

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

.cats a {
  position: relative;
  display: block;
  scroll-snap-align: start;
  text-decoration: none;
}

.cats img {
  inline-size: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  background: var(--well);
}

.cats span {
  position: absolute;
  inset-inline-start: 10px;
  bottom: 10px;
  padding: 3px 10px;
  background: var(--paper);
  font-family: var(--display);
  font-size: 1.05rem;
}

.rail {
  list-style: none;
  margin: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--m-rail);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 14px var(--m-gut) 4px;
  scroll-padding-inline: var(--m-gut);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

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

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

.rail-btn {
  display: none;
}

.quote {
  position: relative;
  margin-top: var(--m-sec);
  padding: 34px var(--m-gut);
  background: var(--well);
  text-align: center;
}

.quote p {
  font-family: var(--display);
  font-size: calc(1.4rem * var(--dsc));
  line-height: 1.25;
}

.quote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 0.84rem;
  color: var(--stone);
}

.look {
  position: relative;
  margin-top: var(--m-sec);
}

.look img {
  inline-size: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.look-copy {
  position: relative;
  display: grid;
  gap: 8px;
  margin: -38px var(--m-gut) 0;
  padding: 16px 18px;
  background: var(--paper);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--ink) 10%, transparent);
}

.look-copy h2 {
  font-size: calc(1.4rem * var(--dsc));
}

.look-copy a {
  font-size: 0.9rem;
}

.grid {
  list-style: none;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 14px;
  padding: 14px 0 0;
}

html[data-view=compact] .grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 10px;
}

html[data-view=large] .grid, html[data-f-size=XL] .grid {
  grid-template-columns: minmax(0, 1fr);
}

section > .grid {
  padding-inline: var(--m-gut);
}

.card {
  position: relative;
  display: grid;
  align-content: start;
  min-inline-size: 0;
}

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

.card-media img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}

.tag {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  z-index: 1;
  padding: 2px 8px;
  background: var(--paper);
  font-size: 0.7rem;
}

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

.qadd-form .qadd {
  position: absolute;
  inset-inline-end: 8px;
  bottom: 8px;
  z-index: 2;
  min-block-size: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--r, 2px);
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  color: var(--paper);
  font-size: 0.78rem;
  cursor: pointer;
}

.card-body {
  display: grid;
  gap: 2px;
  padding-top: 9px;
}

.card-brand {
  font-size: 0.74rem;
  color: var(--stone);
}

.card-name {
  font-size: 1rem;
}

.card-name a {
  font-family: var(--display);
  font-size: 1.02rem;
  line-height: 1.22;
  text-decoration: none;
}

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

.card-price {
  font-size: 0.92rem;
  font-weight: 600;
}

.card-price del {
  margin-inline-start: 6px;
  color: var(--stone);
  font-weight: 400;
}

.card-price .off {
  margin-inline-start: 6px;
  color: var(--signal);
  font-weight: 500;
}

.card-meta {
  font-size: 0.74rem;
  color: var(--stone);
}

.card-mark {
  font-size: 0.74rem;
  color: var(--accent);
}

.sw {
  display: flex;
  gap: 5px;
  padding-top: 3px;
}

.sw i {
  inline-size: 11px;
  block-size: 11px;
  border-radius: 50%;
  border: 1px solid var(--mist);
}

.lhead {
  display: grid;
  gap: 8px;
  padding-top: 18px;
}

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

.lhead h1 small {
  margin-inline-start: 0.35em;
  font-size: 0.48em;
  color: var(--stone);
}

.lhead p {
  margin: 0;
  color: var(--stone);
  font-size: 0.9rem;
}

.toolbar {
  position: sticky;
  top: var(--m-head, 58px);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px calc(var(--m-gut) * -1) 0;
  padding: 8px var(--m-gut);
  background: var(--paper);
  border-block: 1px solid var(--mist);
  flex-wrap: wrap;
}

.tb-start {
  display: contents;
}

.m-filter {
  order: -1;
  flex: none;
  min-block-size: 40px;
  padding: 0 14px;
  font-size: 0.88rem;
}

.sort {
  flex: 1;
  min-inline-size: 0;
  display: flex;
  align-items: center;
  font-size: 0.86rem;
}

.sort label {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.sort select {
  inline-size: 100%;
  min-inline-size: 0;
  min-block-size: 40px;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 0.9rem;
  text-overflow: ellipsis;
}

.views {
  flex: none;
  display: flex;
}

.views label {
  position: relative;
  display: grid;
  place-items: center;
  inline-size: 38px;
  block-size: 40px;
}

.views input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
}

.views svg {
  inline-size: 20px;
  block-size: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  color: var(--stone);
}

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

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

.views i {
  display: none;
}

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

.fgroup > span {
  font-size: 0.86rem;
  color: var(--stone);
}

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

.chips label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-block-size: 40px;
  padding: 0 14px;
  border: 1px solid var(--mist);
  border-radius: 999px;
  font-size: 0.88rem;
  cursor: pointer;
}

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

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

.dots {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dots label {
  position: relative;
  inline-size: 34px;
  block-size: 34px;
}

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

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

.facts .clear {
  border: 0;
  background: none;
  color: var(--stone);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.9rem;
  min-block-size: 44px;
}

.more {
  display: flex;
  justify-content: center;
  padding-top: 26px;
}

.more .btn {
  min-inline-size: 60%;
}

.grid.ed > .card:nth-child(10n+1) {
  grid-column: 1/-1;
}

.grid.ed > .card:nth-child(10n+1) .card-media {
  aspect-ratio: 4/3;
}

.pdp {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-inline: calc(var(--m-gut) * -1);
}

.pg-swipe {
  background: var(--well);
}

.pg-shot img {
  block-size: var(--pg-h, clamp(150px, min(100svh - 37rem, 100svh - 580px), 320px));
  inline-size: auto;
  max-inline-size: 100%;
  margin-inline: auto;
  aspect-ratio: var(--pg-ratio, 3/4);
  object-fit: contain;
  background: none;
  padding-block: 10px 16px;
  box-sizing: content-box;
}

.buy {
  display: grid;
  gap: 10px;
  padding-inline: var(--m-gut);
}

.buy > .card-brand {
  margin-bottom: -8px;
  font-size: 0.82rem;
}

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

.buy > div:has(.price) {
  display: grid;
  gap: 0;
}

.buy .price {
  font-size: 1.2rem;
  font-weight: 600;
}

.buy .taxline {
  color: var(--stone);
  font-size: 0.78rem;
}

.buy > .stars {
  margin-top: -4px;
}

.stars {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  text-decoration: none;
  color: var(--stone);
}

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

.icn-star {
  inline-size: 14px;
  block-size: 14px;
  fill: var(--signal);
  stroke: none;
}

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

.opt > span {
  font-size: 0.84rem;
  color: var(--stone);
}

.pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-inline: calc(var(--m-gut) * -1);
  padding-inline: var(--m-gut);
}

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

.pills label {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  min-block-size: 40px;
  padding: 0 15px;
  border: 1px solid var(--mist);
  border-radius: var(--r, 2px);
  font-size: 0.9rem;
  cursor: pointer;
}

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

.pills label:has(input:disabled) {
  color: var(--stone);
  text-decoration: line-through;
}

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

.buy > .btn {
  inline-size: 100%;
  min-block-size: 52px;
  font-size: 1rem;
}

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

.share {
  display: flex;
  align-items: center;
  gap: 8px;
}

.share > span {
  font-size: 0.84rem;
  color: var(--stone);
  margin-inline-end: auto;
}

.share a {
  display: grid;
  place-items: center;
  inline-size: 40px;
  block-size: 40px;
  border: 1px solid var(--mist);
  border-radius: var(--r, 2px);
  color: var(--ink);
}

.share svg {
  inline-size: 18px;
  block-size: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

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

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

.accs summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-block-size: 52px;
  list-style: none;
  cursor: pointer;
  font-size: 0.95rem;
}

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

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

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

.accs details > :not(summary) {
  margin: 0 0 16px;
  color: var(--stone);
  font-size: 0.9rem;
}

.accs ul {
  margin: 0 0 16px;
  padding-inline-start: 18px;
  color: var(--stone);
  font-size: 0.9rem;
}

.alt {
  display: grid;
  gap: 8px;
}

.alt-head {
  font-size: 0.84rem;
  color: var(--stone);
}

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

.alt-card img {
  inline-size: 48px;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: var(--well);
}

.alt-card > span {
  display: grid;
  gap: 1px;
}

.alt-card em {
  justify-self: start;
  padding: 1px 8px;
  background: var(--well);
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 600;
}

.alt-card strong {
  font-weight: 500;
  font-size: 0.9rem;
}

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

.look-pages {
  margin-inline: calc(var(--m-gut) * -1);
  padding-inline: var(--m-gut);
}

:is(section[data-row=with-it], section[data-row=recommendations], #reviews, .look-inside) .shead {
  padding-inline: 0;
}

.buy-bar .btn {
  padding-inline: 16px;
  font-size: 0.9rem;
}

.buy-bar .bb-name {
  font-family: var(--display);
  font-size: 0.95rem;
  color: var(--ink);
}

.rev {
  display: grid;
  gap: 18px;
  padding-top: 14px;
}

.rev-sum {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  align-items: center;
}

.rev-sum strong {
  grid-row: span 2;
  font-family: var(--display);
  font-size: 2.8rem;
  line-height: 1;
}

.rev-sum small {
  color: var(--stone);
  font-size: 0.84rem;
}

.rev-sum .btn {
  grid-column: 1/-1;
}

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

.rev-list li {
  display: grid;
  gap: 6px;
  padding: 14px;
  background: var(--well);
  border-radius: var(--r, 2px);
}

.rev-list p {
  font-size: 0.92rem;
}

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

.bag {
  display: grid;
  gap: 20px;
  padding-top: 10px;
}

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

.line {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding-block: 14px;
  border-bottom: 1px solid var(--mist);
}

.line > img {
  inline-size: 76px;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: var(--well);
  border-radius: var(--r, 2px);
}

.line-name {
  font-family: var(--display);
  font-size: 1.02rem;
  line-height: 1.25;
}

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

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

.line .price {
  font-weight: 600;
  font-size: 0.92rem;
}

.line .price + .price {
  display: none;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--mist);
  border-radius: var(--r, 2px);
}

.qty button {
  inline-size: 40px;
  block-size: 40px;
  border: 0;
  background: none;
  font-size: 1.1rem;
  cursor: pointer;
}

.qty span {
  min-inline-size: 26px;
  text-align: center;
  font-size: 0.92rem;
}

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

.sum {
  display: grid;
  gap: 12px;
  padding: 18px var(--m-gut);
  margin-inline: calc(var(--m-gut) * -1);
  background: var(--well);
}

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

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

.sum dd {
  margin: 0;
  text-align: end;
}

.sum .total {
  padding-top: 8px;
  border-top: 1px solid var(--mist);
  font-weight: 600;
  font-size: 1.05rem;
}

.sum .btn {
  inline-size: 100%;
  min-block-size: 52px;
}

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

.co {
  display: grid;
  gap: 22px;
  padding-top: 10px;
}

.co > .sum {
  order: -1;
}

.co-form {
  display: grid;
  gap: 26px;
}

.fs {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
  min-inline-size: 0;
}

.fs legend {
  padding: 0;
  margin-bottom: 4px;
  font-family: var(--display);
  font-size: 1.25rem;
}

.frow {
  display: grid;
  gap: 12px;
}

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

.fld span {
  font-size: 0.82rem;
  color: var(--stone);
}

.fld input, .fld select {
  inline-size: 100%;
  min-block-size: 48px;
  padding: 0 12px;
  font-size: 1rem;
  border: 1px solid var(--mist);
  border-radius: var(--r, 2px);
  background: var(--well);
  color: var(--ink);
}

.fld input:focus, .fld select:focus {
  outline: 2px solid var(--ink);
  outline-offset: -1px;
}

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

.choice label {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 4px 12px;
  align-items: baseline;
  padding: 14px;
  border: 1px solid var(--mist);
  border-radius: var(--r, 2px);
  cursor: pointer;
}

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

.choice small {
  grid-column: 2/-1;
  color: var(--stone);
  font-size: 0.8rem;
}

.co-form > .btn {
  inline-size: 100%;
  min-block-size: 54px;
  justify-self: stretch !important;
}

.co-items {
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
}

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

.co-items span:last-child {
  white-space: nowrap;
}

.secure-note {
  color: var(--stone);
  font-size: 0.78rem;
}

.foot-min {
  padding: 18px var(--m-gut);
  font-size: 0.84rem;
  color: var(--stone);
}

.foot {
  position: relative;
  margin-top: var(--m-sec);
  background: var(--m-foot);
  color: var(--m-foot-ink);
}

.foot-sign {
  padding: 28px var(--m-gut) 6px;
}

.foot-sign h2 {
  font-size: calc(1.9rem * var(--dsc));
  color: var(--m-foot-ink);
}

.foot-grid {
  display: grid;
  gap: 4px;
  padding: 10px var(--m-gut) 18px;
}

.news {
  display: grid;
  gap: 8px;
  padding-block: 12px 18px;
}

.news h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--m-foot-ink);
}

.news p {
  color: var(--m-foot-stone);
  font-size: 0.88rem;
}

.news form {
  display: flex;
  border-bottom: 1px solid var(--m-foot-ink);
}

.news input {
  flex: 1;
  min-inline-size: 0;
  min-block-size: 46px;
  border: 0;
  background: none;
  color: var(--m-foot-ink);
  font-size: 1rem;
}

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

.news button {
  min-block-size: 46px;
  border: 0;
  background: none;
  color: var(--m-foot-ink);
  font-weight: 500;
}

.foot-grid > div:not(.news) {
  border-top: 1px solid color-mix(in srgb, var(--m-foot-ink) 16%, transparent);
  padding-block: 12px;
}

.foot-grid h3 {
  font-family: var(--text);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--m-foot-ink);
  margin-bottom: 6px;
}

.foot-grid ul {
  list-style: none;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
}

.foot-grid a {
  display: inline-flex;
  align-items: center;
  min-block-size: 36px;
  color: var(--m-foot-stone);
  text-decoration: none;
  font-size: 0.88rem;
}

.foot-strip {
  display: grid;
  gap: 12px;
  padding: 16px var(--m-gut);
  border-top: 1px solid color-mix(in srgb, var(--m-foot-ink) 16%, transparent);
}

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

.fs-label {
  inline-size: 100%;
  font-size: 0.74rem;
  color: var(--m-foot-stone);
}

.fs-chip, .fs-seal {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border: 1px solid color-mix(in srgb, var(--m-foot-ink) 28%, transparent);
  font-size: 0.74rem;
  color: var(--m-foot-ink);
}

.fs-seal svg, .fs-social svg {
  inline-size: 15px;
  block-size: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.fs-social a {
  display: grid;
  place-items: center;
  inline-size: 40px;
  block-size: 40px;
  color: var(--m-foot-ink);
}

.foot-base {
  display: grid;
  gap: 4px;
  padding: 14px var(--m-gut) 20px;
  border-top: 1px solid color-mix(in srgb, var(--m-foot-ink) 16%, transparent);
  color: var(--m-foot-stone);
  font-size: 0.78rem;
}

.foot-base a {
  color: var(--m-foot-ink);
}

/* ── tokens ── */
html {
  --tone-1: #3C3029; /* the theme's own colour (palette, Q50) */
  --paper: #EFE4CF; /* light kraft */
  --well: #E5D6B8;
  --ink: #41301F;
  --stone: #6C5A41;
  --mist: #D4C19E;
  --accent:#3D6738; /* stem — actions */
  --accent-ink: #F0F7EE;
  --signal:#AA351F; /* tomato twine — count, sale */
  --signal-ink: #FDF1EE;
  --petal: #D9C08F; /* raffia */
  --display: "Arvo", Georgia, "Noto Naskh Arabic", serif;
  --text: "Work Sans", system-ui, "Noto Naskh Arabic", sans-serif;
  --r: 4px;
  --arch: 4px; /* square plates */
  --gap: 22px;
  --pad: 24px;
  --sec: 96px;
  --gut: clamp(20px, 3.6vw, 52px);
  --edge: max(var(--gut), calc((100% - 1340px) / 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: 13px;
  --pad: 16px;
  --sec: 56px;
}

html[data-f-spacing=wide] {
  --gap: 32px;
  --pad: 32px;
  --sec: 142px;
}

@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: #241D12; /* the bench after close */
  --well: #2E261A;
  --ink: #F0E7D6;
  --stone: #AE9C7F;
  --mist: #463A28;
  --accent:#8CB287;
  --accent-ink: #122012;
  --signal:#DD7257;
  --signal-ink: #290D06;
  --petal: #8A744C;
  color-scheme: dark;
}

/* details factor */
/* ── the theme's look, carried from its desktop pages ── */
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.12;
}

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

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
  border-radius: 4px;
}

.kick {
  font-family: var(--text);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.kick::before {
  content: "✕";
  color: var(--accent);
  font-size: 0.85em;
  line-height: 1;
  font-weight: 800;
}

.shead::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent) 0 90px, var(--mist) 90px);
}

.shead .kick {
  font-size: 0.8rem;
  color: var(--ink);
}

.shead a {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 800;
}

.btn {
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid var(--accent);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
  border-radius: 4px;
  box-shadow: 0 2px 0 color-mix(in srgb, var(--ink) 30%, transparent);
}

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

.note {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--accent-ink);
  background: var(--accent);
}

.note::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -3px;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 14px, transparent 14px 24px);
}

.app-top {
  border-bottom: 1px solid var(--mist);
  background: color-mix(in srgb, var(--paper) 93%, transparent);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}

.mark {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.55rem;
  letter-spacing: 0.14em;
  text-decoration: none;
}

.mark::before {
  content: "✕";
  font-size: 0.7em;
  font-weight: 800;
  color: var(--signal);
}

.count {
  background: var(--signal);
  color: var(--signal-ink);
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 999px;
}

.foot {
  background: var(--well);
}

.foot::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 0;
  border-top: 2px dashed var(--accent);
}

.foot-sign h2 {
  font-style: italic;
  font-weight: 400;
}

.news p {
  color: var(--stone);
  font-size: 0.92rem;
}

.news form {
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: 999px;
}

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

.news input {
  border: 0;
  background: none;
}

.news button {
  border: 0;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  border-radius: 999px;
}

.foot-base {
  color: var(--stone);
  font-size: 0.8rem;
  border-top: 1px solid var(--mist);
}

.hero {
  border-bottom: 1px dashed var(--stone);
  background: repeating-linear-gradient(135deg, transparent 0 34px, color-mix(in srgb, var(--ink) 3%, transparent) 34px 35px);
}

.hero-meta {
  color: var(--stone);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-art img {
  border-radius: var(--arch) var(--arch) var(--r) var(--r);
  border: 1px solid var(--mist);
}

.hero-art::after {
  content: "";
  position: absolute;
  top: calc(var(--pad) + 16px);
  inset-inline-end: calc(var(--pad) + 16px);
  width: 40px;
  height: 0;
  border-top: 2px dashed var(--signal);
  rotate: -35deg;
}

.look-copy {
  background: var(--paper);
  border-radius: var(--r);
  border: 1px solid var(--mist);
  border-top: 5px solid var(--signal);
  box-shadow: 0 18px 44px color-mix(in srgb, var(--tone-1) 16%, transparent);
}

.look-copy h2 {
  font-style: italic;
  font-weight: 400;
}

.look-copy a {
  font-weight: 800;
  color: var(--accent);
}

.cats a {
  text-decoration: none;
}

.cats img {
  background: var(--well);
  border-radius: var(--r);
  border: 1px dashed var(--stone);
}

.cats span {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.1rem;
  background: var(--paper);
  border-radius: 999px;
  box-shadow: 0 0 0 1px var(--accent);
}

.quote::before, .quote::after {
  content: "";
  position: absolute;
  inset-inline: 34%;
  height: 1px;
  background: var(--mist);
}

.quote::before {
  top: 0;
}

.quote::after {
  bottom: 0;
}

.quote p {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  line-height: 1.32;
}

.quote p::before {
  content: "✕ ";
  color: var(--accent);
  font-style: normal;
  font-size: 0.6em;
}

.quote cite {
  font-style: normal;
  color: var(--stone);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 800;
}

.card-media {
  background: var(--well);
  border-radius: var(--arch) var(--arch) var(--r) var(--r);
  border: 1px solid var(--mist);
}

.card-brand {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

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

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

.card-price {
  font-size: 0.96rem;
  font-weight: 800;
  font-family: var(--text);
}

.card-price del {
  color: var(--stone);
  font-weight: 400;
  font-size: 0.88em;
}

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

.card-meta {
  font-size: 0.78rem;
  color: var(--stone);
}

.tag {
  background: var(--paper);
  color: var(--ink);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px dashed var(--ink);
  border-radius: 3px;
  rotate: -2deg;
}

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

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

.qadd {
  border-radius: 50%;
  border: 0;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 1.42rem;
  font-weight: 500;
  line-height: 1;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--tone-1) 25%, transparent);
}

html[data-view=compact] .qadd {
  font-size: 1.12rem;
}

.crumb {
  font-size: 0.82rem;
  color: var(--stone);
}

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

.lhead h1 small {
  font-family: var(--text);
  font-weight: 800;
  font-size: 0.3em;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--signal);
}

.lhead > p {
  color: var(--stone);
}

.toolbar {
  border-block: 1px solid var(--mist);
}

.toolbar::before {
  content: "";
  position: absolute;
  top: -5px;
  inset-inline-start: 0;
  width: 9px;
  height: 9px;
  background: var(--accent);
}

.sort {
  font-size: 0.88rem;
  color: var(--stone);
}

.sort select {
  border: 0;
  background: none;
  color: var(--ink);
  font-weight: 800;
}

.fgroup > span {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

.chips label {
  border: 1px solid var(--mist);
  font-size: 0.86rem;
  font-weight: 700;
  border-radius: 999px;
}

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

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

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

.buy .price {
  font-size: 1.5rem;
  font-weight: 800;
}

.buy .taxline {
  color: var(--stone);
  font-size: 0.84rem;
}

.opt > span {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

.dots label {
  border-radius: 50%;
  border: 1px solid var(--mist);
}

.dots input:checked + i {
  border: 2px solid var(--accent);
  border-radius: 50%;
}

.pills label {
  border: 1px solid var(--mist);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 999px;
}

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

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

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

.accs summary {
  font-size: 1rem;
  font-family: var(--display);
  font-weight: 500;
}

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

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

.line img {
  background: var(--well);
  border-radius: 28px 28px 10px 10px;
  border: 1px solid var(--mist);
}

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

.line-opts {
  color: var(--stone);
  font-size: 0.85rem;
}

.qty {
  border: 1px solid var(--mist);
  border-radius: 999px;
}

.qty button {
  border: 0;
  background: none;
  font-weight: 800;
}

.qty span {
  font-size: 0.9rem;
  font-weight: 800;
}

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

.line .price {
  font-weight: 800;
}

.sum {
  background: var(--well);
  border-radius: var(--r);
  border-top: 5px solid var(--accent);
}

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

.sum dl {
  font-size: 0.93rem;
}

.sum dd {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.sum .total {
  border-top: 1px solid var(--mist);
  font-weight: 800;
  font-size: 1.08rem;
}

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

.fs legend {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.4rem;
}

.fld span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--stone);
}

.fld input, .fld select {
  border: 1px solid var(--mist);
  background: var(--paper);
  border-radius: 10px;
}

.fld input:focus, .fld select:focus {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
}

.choice label {
  border: 1px solid var(--mist);
  border-radius: var(--r);
}

.choice label:has(input:checked) {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 7%, var(--paper));
}

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

.stars {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}

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

.share > span {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

.share a {
  border: 1px solid var(--mist);
  border-radius: 50%;
}

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

.alt-head {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

.alt-card {
  border: 1px solid var(--mist);
  border-radius: var(--r);
  text-decoration: none;
}

.alt-card img {
  background: var(--well);
  border-radius: 16px 16px 7px 7px;
}

.alt-card em {
  font-style: normal;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--well);
  color: var(--accent);
  border-radius: 999px;
}

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

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

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

.rev-list li {
  border-top: 1px solid var(--mist);
}

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

.card-media {
  border: 1px dashed var(--stone);
}

.shead::after {
  background: none;
  border-bottom: 2px dashed var(--mist);
  height: 0;
}

.accs, .accs details {
  border-style: dashed;
}

.line {
  border-bottom-style: dashed;
}

.fs-chip {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--stone);
  border: 1px solid var(--mist);
  border-radius: 5px;
}

.fs-seal {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--stone);
  border: 1px solid var(--mist);
  border-radius: 5px;
}

/* ── the phone: designed by hand ── */
/* The wrap bench on a phone: kraft paper with faint grain, stem-green actions, twine-dash rules, stitched ✕ kickers;
   the tab bar tied off with a twine dash, the current tab stamped ✕. */
.tab-bar {
  border-top: 2px dashed color-mix(in srgb, var(--ink) 35%, transparent);
}

.tab[aria-current=page] {
  color: var(--accent);
}

.tab[aria-current=page] span:not(.count)::before {
  content: "✕ ";
  font-size: 0.8em;
}

.hero-art img {
  aspect-ratio: 4/3;
}

.card-media {
  border-radius: 4px;
}

/* regions (theme-equation §8e): body bands · card centred, the shared variants — tools/regions.py */
body main:has(> [data-row=hero]) > [data-row]:not([data-row=hero]):nth-child(even) {
  background: var(--well);
  padding-block: calc(var(--sec) * 0.5);
  padding-inline: var(--band-inset, clamp(16px, 3vw, 36px));
}

body .card {
  text-align: center;
}

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

/* /regions */
.card-mark {
  color: var(--ink);
} /* Q49: holds on its ground, both modes (tools/aa_apply.py) */
