/* ==========================================================================
   Caddy Collections — storefront styles
   Plain CSS, mobile-first. Tokens up top; components below in page order.
   ========================================================================== */

:root {
  --paper:       #f7f5f1;
  --surface:     #ffffff;
  --sunk:        #eeeae3;
  --ink:         #1b1a17;
  --ink-2:       #46433d;
  --ink-3:       #6b675f;   /* 5.2:1 on --paper */
  --line:        #e3ded5;
  --line-2:      #cdc6b9;

  --accent:      #23483a;   /* bottle green */
  --accent-2:    #193529;
  --accent-soft: #e3ebe5;
  --sale:        #a6391f;
  --brass:       #b0893a;
  --wa:          #0f7a40;   /* WhatsApp-ish green that still passes AA with white text */
  --ok:          #22663f;
  --warn:        #94590b;

  --font: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r:     6px;
  --r-lg: 10px;
  --wrap: 1320px;
  --gut:  16px;
  --header-h: 64px;
  --shadow: 0 1px 2px rgb(27 26 23 / .06), 0 8px 24px rgb(27 26 23 / .08);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 700px)  { :root { --gut: 24px; } }
@media (min-width: 1100px) { :root { --gut: 40px; --header-h: 72px; } }

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 56px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.55 var(--font);
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
:where(ul[class], ol[class], nav ul, nav ol) { list-style: none; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; }
code { font: 500 .92em ui-monospace, "SF Mono", Menlo, Consolas, monospace; background: var(--sunk); padding: 1px 5px; border-radius: 4px; }

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

.icon { flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.narrow    { max-width: calc(860px + var(--gut) * 2); }
.narrow-lg { max-width: calc(1100px + var(--gut) * 2); }
.narrow-sm { max-width: calc(520px + var(--gut) * 2); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: var(--r);
}
.skip:focus { top: 12px; }

.muted  { color: var(--ink-3); }
.small  { font-size: 14px; }
.center { text-align: center; }
@media (max-width: 699px) { .hide-sm { display: none; } }

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

.h1, .h2, .h3, .h4 { font-weight: 650; letter-spacing: -.02em; line-height: 1.12; text-wrap: balance; }
.h1 { font-size: clamp(28px, 3.6vw, 44px); }
.h2 { font-size: clamp(22px, 2.4vw, 30px); }
.h3 { font-size: 20px; letter-spacing: -.01em; }
.h4 { font-size: 17px; letter-spacing: -.005em; }

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 14px;
}
.lede { color: var(--ink-2); font-size: 17px; max-width: 62ch; margin-top: 10px; }

.prose { color: var(--ink-2); max-width: 68ch; }
.prose > * + * { margin-top: 14px; }
.prose h2 { color: var(--ink); font-size: 20px; font-weight: 650; letter-spacing: -.01em; margin-top: 36px; }
.prose ul, .prose ol { padding-left: 20px; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--accent); }

/* --------------------------------------------------------------------------
   Buttons, links, tags
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px;
  border: 1px solid transparent; border-radius: var(--r);
  background: none; font-size: 15px; font-weight: 600; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-2); }
.btn--ghost { border-color: var(--line-2); background: var(--surface); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #0b6334; }
.btn--link { min-height: 36px; padding: 0 4px; font-weight: 500; text-decoration: underline; color: var(--ink-2); }
.btn--link:hover { color: var(--ink); }
.btn--lg { min-height: 52px; padding: 0 24px; font-size: 16px; }
.btn--sm { min-height: 36px; padding: 0 12px; font-size: 14px; }
.btn--block { width: 100%; }
.btn.is-busy { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-busy::after {
  content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgb(255 255 255 / .35); border-top-color: #fff; animation: spin .7s linear infinite;
}
.btn--ghost.is-busy::after { border-color: var(--line-2); border-top-color: var(--ink); }

.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--ink);
}
.icon-btn:hover { background: var(--sunk); }

.badge {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
 
}
.badge[hidden] { display: none; }
.badge.is-bump { animation: bump .35s var(--ease); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 600; text-decoration: none; color: var(--accent);
}
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform .15s; }

.tag {
  display: inline-block; padding: 3px 8px; border-radius: 4px;
  background: var(--surface); color: var(--ink);
  font-size: 12px; font-weight: 700; letter-spacing: .02em;
}
.tag--sale { background: var(--sale); color: #fff; }

.notice {
  margin-top: 16px; padding: 12px 16px; border-radius: var(--r);
  background: var(--accent-soft); color: var(--accent-2); font-weight: 500;
}

/* --------------------------------------------------------------------------
   Top bar + header
   -------------------------------------------------------------------------- */

.topbar { background: var(--ink); color: #e9e5dd; font-size: 13px; }
.topbar__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar__contact { display: flex; gap: 18px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgb(255 255 255 / .96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__row {
  display: grid; align-items: center; gap: 4px 8px;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "menu brand actions" "search search search";
  padding-block: 8px 10px;
}
.header__menu { grid-area: menu; margin-left: -10px; }
.wordmark { grid-area: brand; }
.search { grid-area: search; }
.header__actions { grid-area: actions; display: flex; margin-right: -8px; }

@media (min-width: 960px) {
  .header__row {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand search actions";
    gap: 32px; min-height: var(--header-h); padding-block: 0;
  }
  .header__menu { display: none; }
  .search { max-width: 560px; width: 100%; justify-self: center; }
}

.wordmark { display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none; line-height: 1; }
.wordmark__a { font-size: 25px; font-weight: 750; letter-spacing: -.045em; }
.wordmark__b { margin-top: 3px; font-size: 9.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--brass); }
.header__row > .wordmark { justify-self: center; }
@media (min-width: 960px) { .header__row > .wordmark { justify-self: start; } }
.wordmark--sm .wordmark__a { font-size: 21px; }

.search { position: relative; }
.search input[type="search"] {
  width: 100%; height: 42px; min-height: 0; padding: 0 14px 0 40px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
  font-size: 15px;
}
.search input::placeholder { color: var(--ink-3); }
.search input:focus { outline: none; border-color: var(--ink); background: var(--surface); }
.search__icon { position: absolute; left: 14px; top: 50%; translate: 0 -50%; color: var(--ink-3); pointer-events: none; }
.search--page { max-width: 420px; margin: 18px auto 0; }

.catnav { border-top: 1px solid var(--line); }
.catnav__list {
  display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent);
          mask-image: linear-gradient(90deg, #000 90%, transparent);
}
.catnav__list::-webkit-scrollbar { display: none; }
.catnav a {
  display: block; padding: 11px 0 10px; border-bottom: 2px solid transparent;
  font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; white-space: nowrap;
}
.catnav a:hover { color: var(--ink); }
.catnav a[aria-current] { color: var(--ink); border-bottom-color: var(--ink); }
.catnav__sale { color: var(--sale) !important; }
@media (min-width: 1100px) {
  .catnav__list { -webkit-mask-image: none; mask-image: none; gap: 28px; }
}

/* --------------------------------------------------------------------------
   Drawers (native <dialog>)
   -------------------------------------------------------------------------- */

.drawer {
  position: fixed; inset: 0 0 0 auto; margin: 0;
  width: min(420px, 100vw); height: 100dvh; max-width: none; max-height: none;
  padding: 0; border: 0; background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow);
}
.drawer--left { inset: 0 auto 0 0; width: min(340px, 88vw); }
.drawer::backdrop { background: rgb(20 18 15 / .45); }
.drawer[open] { animation: slide-in-r .28s var(--ease); }
.drawer--left[open] { animation-name: slide-in-l; }
.drawer[open]::backdrop { animation: fade .28s ease; }

.drawer__inner { display: flex; flex-direction: column; height: 100%; }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--line);
}
.drawer__title { font-size: 18px; font-weight: 650; }
.drawer__body { flex: 1; overflow-y: auto; padding: 16px 20px; overscroll-behavior: contain; }
.drawer__foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 8px; }
.drawer__body.empty { display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; color: var(--ink-3); }

.menu__label { margin: 20px 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.menu__label:first-child { margin-top: 0; }
.menu a { display: flex; justify-content: space-between; padding: 10px 0; font-size: 16px; text-decoration: none; border-bottom: 1px solid var(--line); }
.menu a span { color: var(--ink-3); font-size: 14px; font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding-block: 48px; }
.section--tight { padding-block: 32px; }
@media (min-width: 1100px) { .section { padding-block: 72px; } }

.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }

.page-head { padding-block: 32px 24px; }
.page-head--checkout { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
@media (min-width: 1100px) { .page-head { padding-block: 48px 32px; } }

/* --------------------------------------------------------------------------
   Home
   -------------------------------------------------------------------------- */

.hero { padding-block: 32px 40px; border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; gap: 32px; }
.hero__title { font-size: clamp(32px, 5vw, 58px); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; max-width: 15ch; }
.hero__lede { margin-top: 18px; font-size: 18px; color: var(--ink-2); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero__facts {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0;
  margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line);
}
.hero__facts div { padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--line); }
.hero__facts div:last-child { border: 0; margin: 0; padding: 0; }
.hero__facts dt { font-size: 13px; color: var(--ink-3); }
.hero__facts dd { font-size: 20px; font-weight: 650; letter-spacing: -.01em; }

.hero__mosaic { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 1.15; }
.mosaic__tile { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--sunk); }
.mosaic__tile--0 { grid-row: span 2; }
.mosaic__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mosaic__tile:hover img { transform: scale(1.035); }

.pricetag {
  position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px);
  display: flex; align-items: center; gap: 10px; padding: 6px 10px;
  background: rgb(255 255 255 / .94); border-radius: 4px; font-size: 13px; color: var(--ink-2);
}
.pricetag span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pricetag strong { color: var(--ink); font-weight: 650; white-space: nowrap; }

@media (min-width: 900px) {
  .hero { padding-block: 56px 64px; }
  .hero__grid { grid-template-columns: 1fr 1.08fr; align-items: center; gap: 56px; }
}
@media (max-width: 599px) {
  .hero__facts div { padding-right: 16px; margin-right: 16px; }
  .mosaic__tile:not(.mosaic__tile--0) .pricetag span { display: none; }
}

.depts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
@media (min-width: 700px)  { .depts { grid-template-columns: repeat(4, 1fr); gap: 28px 16px; } }
.depts--wide { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.dept { display: grid; gap: 2px; text-decoration: none; }
.dept__media { aspect-ratio: 4 / 3; margin-bottom: 10px; overflow: hidden; border-radius: var(--r); background: var(--sunk); }
.dept__media--empty { display: grid; place-items: center; color: var(--ink-3);
  background: repeating-linear-gradient(135deg, transparent 0 14px, rgb(0 0 0 / .022) 14px 15px), var(--sunk); }
.dept__media--empty span { font-size: 44px; font-weight: 700; letter-spacing: -.04em; color: var(--line-2); }
.dept__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.dept:hover .dept__media img { transform: scale(1.04); }
.dept__label { font-weight: 600; font-size: 16px; }
.dept:hover .dept__label { text-decoration: underline; }
.dept__count { font-size: 14px; color: var(--ink-3); }

.promises { display: grid; gap: 0; border-top: 1px solid var(--line); }
.promises li { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; }
.promises .icon { color: var(--accent); grid-row: span 2; margin-top: 2px; }
.promises h3 { font-size: 16px; font-weight: 650; }
.promises p { font-size: 15px; color: var(--ink-2); margin-top: 2px; }
@media (min-width: 700px) {
  .promises { grid-template-columns: repeat(2, 1fr); column-gap: 32px; }
}
@media (min-width: 1100px) {
  .promises { grid-template-columns: repeat(4, 1fr); border: 0; }
  .promises li { border: 0; border-left: 1px solid var(--line); padding: 4px 24px; grid-template-columns: 1fr; }
  .promises li:first-child { border-left: 0; padding-left: 0; }
  .promises .icon { margin-bottom: 12px; }
}

.shops-band { background: var(--sunk); }
.shops-band__grid { display: grid; gap: 28px; }
@media (min-width: 1000px) { .shops-band__grid { grid-template-columns: 1fr 2fr; gap: 56px; align-items: start; } }

.store-cards { display: grid; gap: 12px; }
@media (min-width: 700px) { .store-cards { grid-template-columns: repeat(3, 1fr); } }
.store-cards--row { margin-block: 20px 8px; }
.store {
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.store h3 { font-size: 16px; font-weight: 650; }
.store p { font-size: 15px; color: var(--ink-2); }
.store__hours { display: flex; gap: 6px; align-items: flex-start; font-size: 14px !important; color: var(--ink-3) !important; }
.store__hours .icon { margin-top: 3px; }
.store .link-arrow { margin-top: auto; padding-top: 6px; font-size: 14px; }

.tiktok { margin-top: 24px; }
.tiktok ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tiktok a {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  font-size: 14px; font-weight: 500; text-decoration: none;
}
.tiktok a:hover { border-color: var(--ink); }

/* --------------------------------------------------------------------------
   Product grid + card
   -------------------------------------------------------------------------- */

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
@media (min-width: 700px)  { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 20px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 960px) and (max-width: 1279px) { .grid--shop { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.card { position: relative; display: flex; flex-direction: column; }
.card__media {
  position: relative; aspect-ratio: 1; overflow: hidden;
  border-radius: var(--r); background: var(--sunk);
}
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .3s, transform .6s var(--ease); }
.card__alt { opacity: 0; }
@media (hover: hover) {
  .card:hover .card__alt { opacity: 1; }
  .card:hover .card__media img:first-child:only-of-type { transform: scale(1.04); }
}
.card .tag { position: absolute; left: 8px; top: 8px; }
.card--oos .card__media img { opacity: .6; }

.card__save { position: absolute; right: 6px; top: 6px; z-index: 2; }
.save-btn {
  display: inline-grid; place-items: center; width: 36px; height: 36px;
  border: 0; border-radius: 50%; background: rgb(255 255 255 / .9); color: var(--ink);
}
.save-btn:hover { background: #fff; }
.save-btn .on, .save-btn[aria-pressed="true"] .off { display: none; }
.save-btn[aria-pressed="true"] .on { display: inline; color: var(--sale); }
.save-btn--wide { width: auto; height: auto; border: 1px solid var(--line-2); border-radius: var(--r); display: inline-flex; background: var(--surface); }
.save-btn--wide:hover { border-color: var(--ink); }
.save-btn--wide span.on, .save-btn--wide[aria-pressed="true"] span.off { display: none; }
.save-btn--wide[aria-pressed="true"] span.on { display: inline; color: var(--ink); }

.card__body { padding-top: 10px; display: grid; gap: 3px; }
.card__title { font-size: 15px; font-weight: 500; line-height: 1.35; letter-spacing: 0; }
.card__title a { text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card:hover .card__title a { text-decoration: underline; }

.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.price__now { font-weight: 650; font-size: 15px; }
.price__was { color: var(--ink-3); font-size: 14px; }
.price:has(.price__was) .price__now { color: var(--sale); }
.price--lg .price__now { font-size: 26px; letter-spacing: -.02em; }
.price--lg .price__was { font-size: 17px; }

.ph {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px;
  color: var(--ink-3); font-size: 13px; text-align: center;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgb(0 0 0 / .022) 14px 15px),
    var(--sunk);
}
.ph--sm { position: static; width: 100%; height: 100%; }
.ph--lg { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); gap: 12px; font-size: 15px; }

/* --------------------------------------------------------------------------
   Shop (listing)
   -------------------------------------------------------------------------- */

.crumbs { padding-top: 18px; font-size: 14px; color: var(--ink-3); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--line-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40ch; }

.shop__head { padding-block: 14px 24px; }
.shop__layout { display: grid; gap: 32px; padding-bottom: 64px; }
@media (min-width: 960px) { .shop__layout { grid-template-columns: 220px minmax(0, 1fr); gap: 48px; } }

.filters__head { display: none; }
.fgroup + .fgroup { margin-top: 28px; }
.fgroup__title { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.fgroup__list a {
  display: flex; justify-content: space-between; gap: 8px; padding: 6px 0;
  font-size: 15px; color: var(--ink-2); text-decoration: none;
}
.fgroup__list a:hover { color: var(--ink); text-decoration: underline; }
.fgroup__list a span { color: var(--ink-3); font-size: 13px; font-variant-numeric: tabular-nums; }
.fgroup__list a[aria-current] { color: var(--ink); font-weight: 650; }
.check { justify-content: flex-start !important; }
.check::before {
  content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px;
  border: 1px solid var(--line-2); border-radius: 4px; background: var(--surface);
}
.check[aria-current]::before {
  border-color: var(--accent);
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

@media (max-width: 959px) {
  .filters {
    position: fixed; inset: 0 auto 0 0; z-index: 60; width: min(340px, 88vw);
    padding: 0 20px 24px; overflow-y: auto; background: var(--surface);
    transform: translateX(-102%); transition: transform .28s var(--ease); visibility: hidden;
    box-shadow: var(--shadow);
  }
  .filters.is-open { transform: none; visibility: visible; }
  .filters__head {
    position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between;
    margin: 0 -20px 16px; padding: 10px 12px 10px 20px; background: var(--surface); border-bottom: 1px solid var(--line);
  }
  .filters__title { font-size: 18px; font-weight: 650; }
  .filters-scrim { position: fixed; inset: 0; z-index: 55; background: rgb(20 18 15 / .45); animation: fade .2s; }
}

.toolbar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--line);
}
.toolbar__count { font-size: 14px; color: var(--ink-3); margin-right: auto; font-variant-numeric: tabular-nums; }
@media (min-width: 960px) { .toolbar__filter { display: none; } }
.toolbar__sort select { height: 36px; }

select {
  appearance: none; height: 46px; padding: 0 36px 0 12px;
  border: 1px solid var(--line-2); border-radius: var(--r);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2346433d' stroke-width='2' stroke-linecap='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 10px center / 16px no-repeat;
  font-size: 15px;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 20px; }
.chips a {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px;
  border-radius: 999px; background: var(--sunk); font-size: 14px; text-decoration: none;
}
.chips a:hover { background: var(--line); }
.chips__clear { background: none !important; text-decoration: underline !important; color: var(--ink-3); }

.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 48px; font-variant-numeric: tabular-nums; }
.pager ol { display: flex; gap: 4px; }
.pager a {
  display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 6px;
  border-radius: var(--r); text-decoration: none; font-weight: 500;
}
.pager a:hover { background: var(--sunk); }
.pager a[aria-current] { background: var(--ink); color: #fff; }
.pager__step { display: inline-flex !important; gap: 4px; padding: 0 10px !important; }
.pager__gap { display: grid; place-items: center; width: 24px; color: var(--ink-3); }
@media (max-width: 599px) { .pager__step span { display: none; } }

/* --------------------------------------------------------------------------
   Product page
   -------------------------------------------------------------------------- */

.pdp { display: grid; gap: 28px; padding-block: 16px 48px; }
@media (min-width: 960px) {
  .pdp { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; padding-top: 24px; }
  .buy { position: sticky; top: calc(var(--header-h) + 64px); align-self: start; }
}

.gallery { min-width: 0; }
.gallery__stage {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  border-radius: var(--r-lg); background: var(--sunk); scrollbar-width: none;
}
.gallery__stage::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 1; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.gallery__thumbs a { display: block; width: 68px; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; border: 2px solid transparent; opacity: .7; }
.gallery__thumbs a[aria-current] { border-color: var(--ink); opacity: 1; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.buy__cat { font-size: 14px; font-weight: 500; color: var(--ink-3); text-decoration: none; }
.buy__cat:hover { text-decoration: underline; color: var(--ink); }
.buy__title { margin-top: 6px; font-size: clamp(24px, 3vw, 34px); font-weight: 650; letter-spacing: -.025em; line-height: 1.12; text-wrap: balance; }
.buy .price { margin-top: 14px; }
.buy__short { margin-top: 14px; color: var(--ink-2); }

.stars { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; text-decoration: none; }
.stars__row { display: inline-flex; gap: 1px; color: var(--line-2); }
.stars__row[data-rating="1"] svg:nth-child(-n+1),
.stars__row[data-rating="2"] svg:nth-child(-n+2),
.stars__row[data-rating="3"] svg:nth-child(-n+3),
.stars__row[data-rating="4"] svg:nth-child(-n+4),
.stars__row[data-rating="5"] svg:nth-child(-n+5) { color: var(--brass); }

.flash { margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--sale); }

.stock { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; color: var(--ink-2); }
.stock__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.stock--low .stock__dot { background: var(--warn); }
.stock--low { color: var(--warn); font-weight: 600; }
.stock--out .stock__dot { background: var(--ink-3); }

.buy__form { margin-top: 24px; }
.buy__row { display: flex; gap: 10px; }
.buy__add { flex: 1; }
.buy__secondary { display: flex; gap: 10px; margin-top: 10px; }
.buy__secondary > * { flex: 1; }
.buy__secondary form .btn { width: 100%; }

.options { border: 0; padding: 0; margin: 0 0 18px; }
.options legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.options { display: flex; flex-wrap: wrap; gap: 8px; }
.option input { position: absolute; opacity: 0; }
.option span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); font-size: 15px; cursor: pointer;
}
.option input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); font-weight: 600; }
.option input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.option--out span { color: var(--ink-3); text-decoration: line-through; cursor: not-allowed; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); }
.qty button { display: grid; place-items: center; width: 44px; height: 50px; border: 0; background: none; color: var(--ink-2); }
.qty button:hover { color: var(--ink); }
.qty input, .qty output {
  width: 40px; border: 0; background: none; text-align: center; font-weight: 600;
  -moz-appearance: textfield; appearance: textfield;
}
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: none; }
.qty--sm button { width: 34px; height: 34px; }
.qty--sm output { width: 28px; font-size: 14px; }

.ship { margin-top: 28px; border-top: 1px solid var(--line); }
.ship li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.ship .icon { color: var(--accent); margin-top: 1px; }
.ship strong { display: block; font-size: 15px; font-weight: 600; }
.ship span { color: var(--ink-2); }
.ship a { color: var(--accent); }

.details { padding-block: 40px; border-top: 1px solid var(--line); }
.details__grid { display: grid; gap: 28px; margin-top: 16px; }
@media (min-width: 900px) { .details__grid { grid-template-columns: 1.3fr 1fr; gap: 56px; } }

.specs div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs div:first-child { border-top: 1px solid var(--line); }
.specs dt { color: var(--ink-3); }
.specs dd { }
.specs--stack div { grid-template-columns: 90px 1fr; }

.reviews { padding-block: 40px; border-top: 1px solid var(--line); }
.review-list { display: grid; gap: 0; }
.review { padding: 18px 0; border-bottom: 1px solid var(--line); }
.review p { margin-top: 8px; color: var(--ink-2); max-width: 70ch; }
.review__by { font-size: 14px; color: var(--ink-3) !important; }
.review-form { margin-top: 20px; }
.review-form summary { list-style: none; }
.review-form summary::-webkit-details-marker { display: none; }
.review-form[open] summary { display: none; }
.review-form .form { max-width: 520px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }

.rate { display: inline-flex; flex-direction: row-reverse; gap: 2px; border: 0; padding: 0; margin: 0 0 16px; }
.rate legend { float: left; width: 100%; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.rate input { position: absolute; opacity: 0; }
.rate label { color: var(--line-2); cursor: pointer; padding: 2px; }
.rate label:hover, .rate label:hover ~ label,
.rate input:checked ~ label { color: var(--brass); }
.rate input:focus-visible + label { outline: 2px solid var(--accent); border-radius: 4px; }

.buybar {
  position: fixed; inset: auto 0 0 0; z-index: 30;
  display: flex; align-items: center; gap: 12px;
  padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
  background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgb(27 26 23 / .06);
  transform: translateY(110%); transition: transform .25s var(--ease);
}
.buybar.is-visible { transform: none; }
.buybar__info { flex: 1; min-width: 0; display: grid; font-size: 14px; }
.buybar__name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--ink-2); }
.buybar strong { }
@media (min-width: 960px) { .buybar { display: none; } }

/* --------------------------------------------------------------------------
   Cart lines, summary, free-delivery bar
   -------------------------------------------------------------------------- */

.lines { display: grid; }
.line { display: grid; grid-template-columns: 80px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.lines--compact .line { grid-template-columns: 64px 1fr auto; }
.line:first-child { padding-top: 4px; }
.line__img { position: relative; display: block; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--sunk); }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.line__name { font-weight: 500; text-decoration: none; line-height: 1.3; }
.line__name:hover { text-decoration: underline; }
.line__meta { font-size: 13px; color: var(--ink-3); }
.line__warn { font-size: 13px; color: var(--warn); }
.line .qty { margin-top: 8px; align-self: flex-start; }
.line__remove { width: auto !important; padding: 0 10px; font-size: 13px; text-decoration: underline; color: var(--ink-3) !important; border-left: 1px solid var(--line) !important; }
.line__total { font-weight: 600; white-space: nowrap; }

.freebar { margin-bottom: 16px; padding: 12px 14px; background: var(--paper); border-radius: var(--r); font-size: 14px; }
.freebar p { display: flex; align-items: center; gap: 6px; }
.freebar p .icon { color: var(--ok); }
.freebar__track { height: 4px; margin-top: 8px; border-radius: 2px; background: var(--line); overflow: hidden; }
.freebar__track span { display: block; height: 100%; background: var(--accent); border-radius: 2px; transition: width .4s var(--ease); }

.sumrow { display: flex; justify-content: space-between; font-size: 16px; }

.cartpage { display: grid; gap: 32px; padding-bottom: 64px; }
@media (min-width: 900px) { .cartpage { grid-template-columns: 1fr 360px; gap: 48px; align-items: start; } }

.summary {
  display: grid; gap: 12px; padding: 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.summary .freebar { margin: 0; }
.summary__title { font-size: 18px; font-weight: 650; }
.summary__pay { display: flex; justify-content: center; gap: 6px; font-size: 13px; color: var(--ink-3); }
@media (min-width: 1000px) { .summary--sticky { position: sticky; top: calc(var(--header-h) + 64px); } }

.empty { text-align: center; color: var(--ink-2); }
.empty--page { display: grid; justify-items: center; gap: 12px; padding-block: 56px 80px; }
.empty--page > .icon { color: var(--ink-3); margin-bottom: 4px; }
.empty--page p { max-width: 46ch; }
.empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.error-code { font-size: 64px; font-weight: 750; letter-spacing: -.05em; color: var(--line-2); line-height: 1; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.fields { display: grid; gap: 16px; }
@media (min-width: 640px) { .fields { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; align-content: start; }
.field + .field { margin-top: 0; }
.form .field + .field, .form .field + .btn, .card-form .btn { margin-top: 16px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea, .field select { width: 100%; }
input:not([type="radio"], [type="checkbox"], [type="hidden"]), textarea {
  min-height: 46px; padding: 10px 12px;
  border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface);
  font-size: 16px; /* stops iOS zoom on focus */
}
textarea { resize: vertical; line-height: 1.45; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.search input:focus { box-shadow: none; }
input::placeholder, textarea::placeholder { color: #9a958c; }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: var(--sale); }
.field__error { font-size: 13px; color: var(--sale); }
.hint { font-size: 13px; color: var(--ink-3); }
.form-error {
  padding: 12px 14px; border-radius: var(--r);
  background: #fbeae5; color: #7c2814; font-size: 15px; font-weight: 500;
}
.form-error[hidden] { display: none; }
.card-form { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 20px; }
.card-form .form-error { margin-bottom: 16px; }
.card-form .field + .field { margin-top: 16px; }

/* --------------------------------------------------------------------------
   Checkout
   -------------------------------------------------------------------------- */

.checkout { display: grid; gap: 32px; padding-bottom: 64px; }
@media (min-width: 1000px) { .checkout { grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; align-items: start; } }
.checkout__main > .form-error { margin-bottom: 20px; }

.step { padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.step:last-child { border: 0; margin: 0; }
.step__title { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 20px; font-weight: 650; letter-spacing: -.01em; }
.step__n {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 700;
}
.step > .field { margin-top: 16px; }

.choices { display: grid; gap: 10px; margin: 0 0 20px; padding: 0; border: 0; }
@media (min-width: 640px) { .choices:not(.choices--stack) { grid-template-columns: repeat(3, 1fr); } }
.choice {
  display: flex; gap: 10px; align-items: flex-start; padding: 14px;
  border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.choice:hover { border-color: var(--ink-3); }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.choice input { margin: 3px 0 0; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.choice__body { display: grid; gap: 2px; }
.choice__title { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; }
.choice__meta { font-size: 13px; color: var(--ink-2); }
.mode-panel .hint { margin-top: 12px; }

.mpesa { padding: 16px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); }
.mpesa__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; font-size: 14px; color: var(--ink-2); }
.mpesa__logo {
  flex: none; padding: 4px 8px; border-radius: 4px; background: #e8f4ea; color: #1d6b2f;
  font-size: 12px; font-weight: 800; letter-spacing: .04em;
}

.minilines { display: grid; gap: 12px; max-height: 320px; overflow-y: auto; padding: 4px 4px 4px 0; }
.minilines li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.minilines__img { position: relative; width: 56px; aspect-ratio: 1; border-radius: var(--r); background: var(--sunk); }
.minilines__img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.minilines__qty {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--ink-2); color: #fff; font-size: 11px; font-weight: 700; line-height: 20px; text-align: center;
}
.minilines__name { line-height: 1.3; }
.minilines__name small { display: block; color: var(--ink-3); }

.coupon { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding-block: 16px; border-block: 1px solid var(--line); }
.coupon input { min-height: 36px !important; padding: 6px 10px !important; font-size: 15px !important; text-transform: uppercase; }
.coupon input::placeholder { text-transform: none; }
.coupon__msg { grid-column: 1 / -1; }
.coupon__msg.is-ok { color: var(--ok); }
.coupon__msg.is-err { color: var(--sale); }

.totals { display: grid; gap: 8px; font-size: 15px; }
.totals div { display: flex; justify-content: space-between; }
.totals div[hidden] { display: none; }
.totals dt { color: var(--ink-2); }
.totals__grand { padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--line); font-size: 18px; font-weight: 700; }
.totals__grand dt { color: var(--ink); }

/* --------------------------------------------------------------------------
   Order page
   -------------------------------------------------------------------------- */

.order-head { padding-block: 40px 24px; }
.order-head__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; margin-bottom: 16px; }
.order-head__icon--ok { background: var(--accent-soft); color: var(--accent); }
.order-ref { margin-top: 14px; font-size: 15px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.order-ref strong { color: var(--ink); letter-spacing: .02em; }

.paybox {
  display: grid; gap: 14px; padding: 22px; margin-bottom: 32px;
  border: 1px solid var(--accent); border-radius: var(--r-lg); background: var(--surface);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.paybox [data-pay-state] { display: grid; gap: 10px; justify-items: start; }
.paybox [data-pay-state][hidden] { display: none; }
.paybox__form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.paybox__form .field { flex: 1 1 220px; }
.paybox__manual summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--accent); }
.paybox__manual ol { margin-top: 10px; padding-left: 20px; font-size: 15px; display: grid; gap: 4px; }
.paybox .ok { display: flex; gap: 8px; align-items: center; color: var(--ok); }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--accent-soft); border-top-color: var(--accent); animation: spin .8s linear infinite; }

.timeline { display: grid; gap: 0; margin-bottom: 40px; }
.timeline li { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 0; color: var(--ink-3); font-size: 15px; }
.timeline__dot {
  position: relative; z-index: 1; display: grid; place-items: center; flex: none;
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--paper); color: #fff;
}
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 9px; top: 28px; bottom: -12px; width: 2px; background: var(--line); }
.timeline .is-done { color: var(--ink-2); }
.timeline .is-done .timeline__dot { background: var(--accent); border-color: var(--accent); }
.timeline .is-done::after { background: var(--accent) !important; }
.timeline .is-current { color: var(--ink); font-weight: 650; }
.timeline .is-current .timeline__dot { border-color: var(--accent); box-shadow: inset 0 0 0 4px var(--paper); background: var(--accent); }
@media (min-width: 700px) {
  .timeline { grid-template-columns: repeat(5, 1fr); }
  .timeline li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 0; font-size: 14px; }
  .timeline li:not(:last-child)::after { left: 24px; right: 4px; top: 9px; bottom: auto; width: auto; height: 2px; }
}

.order-grid { display: grid; gap: 40px; padding-bottom: 64px; }
@media (min-width: 860px) { .order-grid { grid-template-columns: 1.4fr 1fr; gap: 48px; } }
.order-grid h2 { margin-bottom: 14px; }
.order-info .btn { margin-top: 20px; }

.itable { width: 100%; font-size: 15px; }
.itable th, .itable td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.itable thead th { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.itable tfoot th { font-weight: 400; color: var(--ink-2); }
.itable .num { text-align: right; padding-left: 12px; white-space: nowrap; }
.itable__total th, .itable__total td { font-size: 17px; font-weight: 700 !important; color: var(--ink) !important; border-bottom: 0; }
.itable--doc th, .itable--doc td { padding: 12px 16px 12px 0; }
.itable--doc tbody th { font-weight: 600; }
.table-wrap { overflow-x: auto; margin-bottom: 28px; }

/* --------------------------------------------------------------------------
   Content pages
   -------------------------------------------------------------------------- */

.doc { padding-bottom: 72px; }

.faq { margin-top: 32px; }
.faq h2 { margin-bottom: 8px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 0; font-weight: 600; cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { transition: transform .2s; color: var(--ink-3); }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__item p { padding-bottom: 18px; color: var(--ink-2); max-width: 68ch; }

.contact-grid { display: grid; gap: 12px; margin-bottom: 40px; }
@media (min-width: 700px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-grid li { display: grid; gap: 6px; justify-items: start; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.contact-grid .icon { color: var(--accent); margin-bottom: 4px; }
.contact-grid p { font-size: 14px; color: var(--ink-2); margin-bottom: 6px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { margin-top: 0; padding-block: 48px 24px; background: var(--ink); color: #d9d4ca; font-size: 15px; }
.footer__grid { display: grid; gap: 36px; }
@media (min-width: 700px)  { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 48px; } }
.footer__h { margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.footer__links { display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.shop-list { display: grid; gap: 16px; }
@media (min-width: 1100px) { .shop-list { grid-template-columns: 1fr 1fr; } }
.shop-list li { display: grid; gap: 2px; }
.shop-list strong { color: #fff; font-weight: 600; }
.site-footer .muted { color: #a8a296; font-size: 14px; }
.footer__tiktok { display: grid; gap: 6px; margin-top: 18px; font-size: 14px; }
.footer__tiktok a { display: inline-flex; align-items: center; gap: 6px; }
.footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 40px; padding-top: 20px; border-top: 1px solid #3a3833; font-size: 14px; color: #a8a296;
}
.footer__pay { display: inline-flex; align-items: center; gap: 6px; }

/* --------------------------------------------------------------------------
   Toast
   -------------------------------------------------------------------------- */

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 90; translate: -50% 0;
  max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: var(--r);
  background: var(--ink); color: #fff; font-size: 15px; box-shadow: var(--shadow);
  animation: toast-in .25s var(--ease);
}
.toast[hidden] { display: none; }
.has-buybar .toast { bottom: 88px; }

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade { from { opacity: 0; } }
@keyframes slide-in-r { from { transform: translateX(100%); } }
@keyframes slide-in-l { from { transform: translateX(-100%); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes bump { 50% { transform: scale(1.3); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Department description under the product grid (also read by search engines). */
.seo-copy { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 72ch; color: var(--ink-2); font-size: 15px; }
.seo-copy h2 { color: var(--ink); margin-bottom: 10px; }
.seo-copy p + p { margin-top: 10px; }
.seo-copy a { color: var(--accent); }

/* Contact page shop map */
.shops-map { height: 360px; margin: 8px 0 32px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--sunk); overflow: hidden; z-index: 0; }
.shops-map .leaflet-popup-content { font: 14px/1.45 var(--font); }
.shops-map .leaflet-popup-content a { color: var(--accent); font-weight: 600; }
@media (max-width: 699px) { .shops-map { height: 300px; } }
