/* =====================================================================
   AURELIA storefront stylesheet
   All colours, fonts and type sizes come from CSS custom properties that the server generates from
   the market's branding settings (see Branding::css). The defaults below are only a safety net.
   ===================================================================== */

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/outfit-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/outfit-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --c-primary: #1f1a17; --c-secondary: #f4ede4; --c-accent: #b08d57; --c-text: #231f1c; --c-muted: #7a6f66;
  --c-bg: #fdfbf7; --c-surface: #ffffff; --c-border: #e6ddd1;
  --c-header-bg: #ffffff; --c-header-text: #231f1c; --c-footer-bg: #1f1a17; --c-footer-text: #e9dfd3;
  --c-btn-bg: #1f1a17; --c-btn-text: #ffffff; --c-btn-hover: #b08d57; --c-btn-hover-text: #111111;
  --c-accent-text: #8a6d3b; --c-muted-text: #6f645b; --c-on-accent: #111111; --c-on-primary: #ffffff;
  --font-body: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fs-base: 16px; --fs-h1: 56px; --fs-h2: 38px; --fs-h3: 24px; --fw-heading: 300; --tt-heading: none;

  --sp-1: .25rem; --sp-2: .5rem; --sp-3: .75rem; --sp-4: 1rem; --sp-5: 1.5rem; --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4.5rem; --sp-9: 6.5rem;
  --radius: 2px;
  --container: 1320px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 68px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font-family: var(--font-body); font-size: var(--fs-base); line-height: 1.65; font-weight: 400;
  color: var(--c-text); background: var(--c-bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
main { flex: 1 0 auto; outline: none; }
img, picture, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
address { font-style: normal; }
hr { border: 0; border-top: 1px solid var(--c-border); }

:focus-visible { outline: 2px solid var(--c-accent-text); outline-offset: 3px; border-radius: 1px; }
.site-footer :focus-visible, .announce :focus-visible { outline-color: currentColor; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--c-primary); color: var(--c-on-primary); padding: .75rem 1.25rem; }
.skip-link:focus { left: 0; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- icons ---------- */
.icon { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--brand { fill: currentColor; stroke: none; }
.icon--sm { width: 1rem; height: 1rem; }
.icon--xs { width: .8rem; height: .8rem; }
.icon--filled { fill: currentColor; }
.icon--pay { width: 2.6rem; height: 1.6rem; }

/* ---------- typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: var(--fw-heading); text-transform: var(--tt-heading); line-height: 1.12; letter-spacing: -.005em; margin: 0 0 .5em; color: inherit; }
h1 { font-size: clamp(calc(var(--fs-h1) * .6), 5vw + .5rem, var(--fs-h1)); }
h2 { font-size: clamp(calc(var(--fs-h2) * .68), 3.4vw + .4rem, var(--fs-h2)); }
h3 { font-size: clamp(calc(var(--fs-h3) * .8), 1.6vw + .6rem, var(--fs-h3)); }
.eyebrow { font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 500; color: var(--c-accent-text); margin: 0 0 1rem; }
.eyebrow--onmedia { color: inherit; opacity: .92; }
.fineprint { font-size: .78rem; color: var(--c-muted-text); }

/* ---------- buttons and forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 2.2rem; min-height: 3rem; border: 1px solid var(--c-btn-bg); background: var(--c-btn-bg); color: var(--c-btn-text);
  font-size: .76rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; line-height: 1.2;
  border-radius: var(--radius); transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: var(--c-btn-hover); border-color: var(--c-btn-hover); color: var(--c-btn-hover-text); }
.btn--ghost { background: transparent; color: var(--c-text); border-color: currentColor; }
.btn--ghost:hover { background: var(--c-text); border-color: var(--c-text); color: var(--c-bg); }
.btn--light { background: #fff; color: #111; border-color: #fff; }
.btn--light:hover { background: transparent; color: #fff; border-color: #fff; }
.btn--sm { padding: .7rem 1.4rem; min-height: 2.6rem; font-size: .7rem; }
.btn--block { display: flex; width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .3rem; }
.link-arrow:hover { color: var(--c-accent-text); }

input[type=text], input[type=email], input[type=search], input[type=password], input[type=tel], input[type=number], input[type=url], select, textarea {
  width: 100%; min-height: 3rem; padding: .7rem 1rem; background: var(--c-surface); color: var(--c-text);
  border: 1px solid var(--c-border); border-radius: var(--radius); transition: border-color .2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--c-text); outline: none; box-shadow: 0 0 0 1px var(--c-text); }
input::placeholder { color: var(--c-muted-text); opacity: .85; }

.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; background: none; border: 0; color: inherit; border-radius: 50%; position: relative; text-decoration: none; }
.icon-btn:hover { background: color-mix(in srgb, currentColor 8%, transparent); }

/* ---------- announcement + header ---------- */
.announce { background: var(--c-primary); color: var(--c-on-primary); text-align: center; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; padding: .65rem var(--gutter); }
.announce a { text-decoration: none; }
.announce a:hover { text-decoration: underline; }

.site-header { position: sticky; top: 0; z-index: 60; background: var(--c-header-bg); color: var(--c-header-text); border-bottom: 1px solid var(--c-border); }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); gap: var(--sp-3); }
.brand { grid-column: 2; justify-self: center; display: inline-flex; align-items: center; text-decoration: none; max-width: 60vw; }
.brand img { max-height: 36px; width: auto; }
.brand__word { font-family: var(--font-heading); font-size: 1.35rem; letter-spacing: .34em; text-transform: uppercase; font-weight: 400; white-space: nowrap; padding-left: .34em; }
.nav-toggle { grid-column: 1; justify-self: start; margin-left: -.6rem; }
.header-tools { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: .1rem; }
.primary-nav { display: none; }
.search { display: none; }
.cart-count { position: absolute; top: .2rem; right: .1rem; min-width: 1.1rem; height: 1.1rem; padding: 0 .25rem; font-size: .66rem; line-height: 1.1rem; text-align: center; border-radius: 1rem; background: var(--c-accent); color: var(--c-on-accent); font-weight: 600; }

.market-switch { position: relative; }
.market-switch summary { list-style: none; display: inline-flex; align-items: center; gap: .35rem; min-height: 2.75rem; padding: 0 .55rem; cursor: pointer; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; border-radius: var(--radius); }
.market-switch summary::-webkit-details-marker { display: none; }
.market-switch summary:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.market-switch__label { display: none; font-weight: 500; }
.market-switch__cur { opacity: .7; margin-left: .15rem; }
.market-switch__menu { position: absolute; right: 0; top: calc(100% + .5rem); min-width: 16rem; background: var(--c-surface); color: var(--c-text); border: 1px solid var(--c-border); box-shadow: 0 12px 32px rgba(0,0,0,.09); padding: 1rem 1.1rem; z-index: 70; }
.market-switch__title { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--c-muted-text); margin-bottom: .5rem; }
.market-switch__menu a { display: flex; align-items: center; gap: .75rem; padding: .7rem 0; text-decoration: none; border-top: 1px solid var(--c-border); }
.market-switch__menu li:first-child a { border-top: 0; }
.market-switch__menu a > span:first-child { flex: 1; }
.market-switch__meta { font-size: .72rem; color: var(--c-muted-text); letter-spacing: .08em; }
.market-switch__menu a:hover span:first-child { text-decoration: underline; text-underline-offset: 4px; }
.market-switch__menu a[aria-current] { font-weight: 500; }

.mobile-search { border-top: 1px solid var(--c-border); background: var(--c-header-bg); padding-block: .6rem; }
.mobile-search .container { display: flex; gap: .5rem; }

@media (min-width: 640px) { .market-switch__label { display: inline; } }

/* Phones: the account and wishlist links move into the drawer so the bar never outgrows the screen */
@media (max-width: 639px) {
  .header-row { grid-template-columns: auto minmax(0, 1fr) auto; gap: .5rem; }
  .brand { max-width: 100%; min-width: 0; }
  .brand__word { font-size: 1.1rem; letter-spacing: .24em; padding-left: .24em; }
  .header-tools .hide-sm, .market-switch summary > .icon--xs { display: none; }
  .market-switch summary { padding: 0; justify-content: center; width: 2.75rem; }
}

/* Desktop navigation: logo centred, links left, tools right */
@media (min-width: 1100px) {
  :root { --header-h: 88px; }
  .nav-toggle, .search-toggle, .mobile-search { display: none !important; }
  .primary-nav { display: block; grid-column: 1; grid-row: 1; justify-self: start; }
  .primary-nav > ul { display: flex; gap: clamp(1rem, 1.6vw, 2rem); align-items: center; }
  .primary-nav a, .nav-parent { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; font-weight: 400; padding: 1.9rem 0; display: inline-flex; align-items: center; gap: .35rem; background: none; border: 0; color: inherit; position: relative; }
  .primary-nav > ul > li > a::after, .nav-parent::after { content: ''; position: absolute; left: 0; right: 0; bottom: 1.5rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  .primary-nav > ul > li:hover > a::after, .primary-nav > ul > li:focus-within > a::after, .nav-parent:hover::after, .has-sub.is-open .nav-parent::after { transform: scaleX(1); }
  .has-sub { position: relative; }
  .sub { position: absolute; left: -1.25rem; top: 100%; min-width: 15rem; background: var(--c-surface); color: var(--c-text); border: 1px solid var(--c-border); box-shadow: 0 16px 36px rgba(0,0,0,.08); padding: .75rem 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s; z-index: 70; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.is-open > .sub { opacity: 1; visibility: visible; transform: none; }
  .sub a { display: block; padding: .6rem 1.5rem; font-size: .8rem; letter-spacing: .08em; text-transform: none; }
  .sub a::after { display: none; }
  .sub a:hover { background: var(--c-secondary); }
  .search { display: flex; align-items: center; border-bottom: 1px solid var(--c-border); margin-right: .5rem; width: 11rem; transition: width .3s var(--ease), border-color .2s; }
  .search:focus-within { width: 15rem; border-color: var(--c-text); }
  .search input { border: 0; background: transparent; min-height: 2.5rem; padding: 0 .25rem; font-size: .85rem; box-shadow: none !important; }
  .search input:focus { border: 0; }
  .brand img { max-height: 44px; }
}

/* ---------- mobile drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 290; opacity: 0; transition: opacity .3s var(--ease); }
.drawer-backdrop.is-visible { opacity: 1; }
.drawer { position: fixed; inset: 0 auto 0 0; width: min(88vw, 24rem); background: var(--c-surface); color: var(--c-text); z-index: 300; display: flex; flex-direction: column; overflow-y: auto; transform: translateX(-100%); transition: transform .32s var(--ease); overscroll-behavior: contain; }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1rem .75rem 1.5rem; border-bottom: 1px solid var(--c-border); min-height: 4.25rem; }
.drawer__title { font-family: var(--font-heading); letter-spacing: .28em; text-transform: uppercase; font-size: 1rem; }
.drawer__nav li { border-bottom: 1px solid var(--c-border); }
.drawer__nav a, .drawer__nav summary { display: flex; align-items: center; justify-content: space-between; padding: 1.05rem 1.5rem; font-size: .95rem; letter-spacing: .06em; text-decoration: none; list-style: none; cursor: pointer; }
.drawer__nav summary::-webkit-details-marker { display: none; }
.drawer__nav details[open] > summary .icon { transform: rotate(180deg); }
.drawer__nav details ul { background: var(--c-secondary); padding: .35rem 0; }
.drawer__nav details ul li { border: 0; }
.drawer__nav details ul a { padding: .75rem 1.5rem 0.75rem 2.25rem; font-size: .9rem; }
.drawer__section { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--c-border); }
.drawer__label { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--c-muted-text); margin-bottom: .6rem; }
.drawer__markets a { display: flex; justify-content: space-between; padding: .6rem 0; text-decoration: none; }
.drawer__markets a[aria-current] { font-weight: 500; }
.drawer__markets a span { color: var(--c-muted-text); font-size: .8rem; }
.drawer__contact a { display: flex; align-items: center; gap: .6rem; padding: .45rem 0; text-decoration: none; font-size: .9rem; }
body.no-scroll { overflow: hidden; }
@media (min-width: 1100px) { .drawer, .drawer-backdrop { display: none !important; } }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--c-primary); overflow: hidden; }
.hero__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hero__track::-webkit-scrollbar { display: none; }
.hero__slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; min-height: clamp(26rem, 78vh, 46rem); display: flex; align-items: flex-end; color: var(--slide-text, #fff); background: var(--slide-bg, var(--c-primary)); isolation: isolate; }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__slide::before { content: ''; position: absolute; inset: 0; background: var(--overlay, #000); opacity: var(--overlay-o, 0); z-index: -1; }
.hero__inner { padding-block: clamp(3rem, 9vw, 6.5rem) clamp(4.5rem, 8vw, 6.5rem); }
.hero__copy { max-width: 36rem; }
.hero__slide--center { justify-content: center; text-align: center; }
.hero__slide--center .hero__copy { margin-inline: auto; }
.hero__slide--right .hero__copy { margin-left: auto; text-align: right; }
.hero__title { font-size: clamp(2.1rem, 6vw, 4.4rem); font-weight: var(--fw-heading); margin-bottom: .35em; }
.hero__sub { font-size: clamp(1rem, 1.6vw, 1.2rem); opacity: .92; max-width: 30rem; margin-bottom: 2rem; }
.hero__slide--center .hero__sub { margin-inline: auto; }
.hero__slide--right .hero__sub { margin-left: auto; }
.hero__controls { position: absolute; left: 0; right: 0; bottom: 1.25rem; display: flex; justify-content: center; align-items: center; gap: .75rem; color: #fff; }
.hero__dots { display: flex; gap: .4rem; }
.hero__dots button { width: 1.6rem; height: 1.5rem; padding: 0; background: none; border: 0; position: relative; }
.hero__dots button::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: currentColor; opacity: .45; transition: opacity .3s; }
.hero__dots button[aria-selected=true]::after { opacity: 1; }
.hero__nav { display: none; }
@media (min-width: 900px) { .hero__nav { display: inline-flex; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section-head { text-align: center; max-width: 42rem; margin: 0 auto clamp(1.75rem, 4vw, 3rem); }
.section-head h2 { margin-bottom: .3em; }
.section-head__sub { color: var(--c-muted-text); margin: 0; }

.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.category-tile { display: block; text-decoration: none; text-align: center; }
.category-tile__media { display: block; aspect-ratio: 4 / 5; background: var(--c-secondary); overflow: hidden; display: grid; place-items: center; }
.category-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.category-tile:hover img { transform: scale(1.04); }
.category-tile__mark { color: var(--c-accent-text); }
.category-tile__mark .icon { width: 2.4rem; height: 2.4rem; stroke-width: 1; }
.category-tile__name { display: block; margin-top: .9rem; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }
@media (min-width: 640px) { .category-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
@media (min-width: 1100px) { .category-grid { grid-template-columns: repeat(6, 1fr); } }

/* product cards */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1rem; }
.product-grid--4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem 1.5rem; } .product-grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(62%, 1fr); gap: 1rem; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 1rem; scrollbar-width: thin; }
.product-row > * { scroll-snap-align: start; }
@media (min-width: 640px) { .product-row { grid-auto-columns: minmax(38%, 1fr); } }
@media (min-width: 900px) { .product-row { grid-auto-columns: calc((100% - 3rem) / 4); gap: 1rem; } }

.product-card { position: relative; }
.product-card__media { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--c-secondary); overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.035); }
.badges { position: absolute; top: .7rem; left: .7rem; display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; }
.badge { display: inline-block; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; padding: .28rem .6rem; background: var(--c-primary); color: var(--c-on-primary); line-height: 1.3; }
.badge--sale { background: #8c2f39; color: #fff; }
.badge--best { background: var(--c-accent); color: var(--c-on-accent); }
.badge--new { background: var(--c-surface); color: var(--c-text); }
.product-card__soldout { position: absolute; inset: auto 0 0 0; text-align: center; padding: .55rem; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; background: rgba(255,255,255,.92); color: var(--c-text); }
.product-card__body { padding-top: .9rem; text-align: center; }
.product-card__type { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--c-muted-text); margin: 0 0 .25rem; }
.product-card__name { font-family: var(--font-body); font-size: .98rem; font-weight: 400; text-transform: none; letter-spacing: 0; margin: 0 0 .35rem; line-height: 1.35; }
.product-card__name a { text-decoration: none; }
.product-card__name a:hover { text-decoration: underline; text-underline-offset: 4px; }
.price { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: .2rem .6rem; }
.price__now { font-weight: 500; }
.price__was { color: var(--c-muted-text); font-size: .88em; }
.price--lg { justify-content: flex-start; font-size: 1.5rem; margin-bottom: .1rem; }
.price__off { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: #8c2f39; font-weight: 500; }
.tax-note { font-size: .78rem; color: var(--c-muted-text); margin-bottom: 1.25rem; }

/* promo blocks */
.promo-grid { display: grid; gap: 1rem; }
@media (min-width: 720px) { .promo-grid--2 { grid-template-columns: 1fr 1fr; } .promo-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.promo { position: relative; display: flex; align-items: flex-end; min-height: clamp(16rem, 34vw, 26rem); padding: clamp(1.25rem, 3vw, 2.25rem); color: var(--promo-text, #fff); background: var(--promo-bg, var(--c-primary)); text-decoration: none; overflow: hidden; isolation: isolate; }
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .9s var(--ease); }
.promo:hover img { transform: scale(1.04); }
.promo__copy { display: flex; flex-direction: column; gap: .5rem; }
.promo__title { font-family: var(--font-heading); font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: var(--fw-heading); line-height: 1.15; }
.promo__cta { display: inline-flex; align-items: center; gap: .5rem; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; }

.editorial__grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .editorial__grid { grid-template-columns: 1fr 1fr 1fr; } .editorial__copy { padding-right: 2rem; } }
.editorial__fig { margin: 0; aspect-ratio: 4/5; overflow: hidden; }
.editorial__fig img { width: 100%; height: 100%; object-fit: cover; }

.brand-story { background: var(--c-secondary); text-align: center; }
.brand-story__inner { max-width: 46rem; }
.brand-story__lede { font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: var(--fw-heading); margin-bottom: 1rem; }
.brand-story__body { color: var(--c-muted-text); margin-bottom: 1.75rem; }

.testimonials { display: grid; gap: 1.5rem; }
@media (min-width: 800px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }
.testimonial { margin: 0; padding: 2rem; border: 1px solid var(--c-border); background: var(--c-surface); text-align: center; }
.testimonial blockquote { margin: 0 0 1rem; font-size: 1.02rem; }
.testimonial figcaption { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.testimonial figcaption span { display: block; color: var(--c-muted-text); letter-spacing: .06em; text-transform: none; margin-top: .2rem; }
.stars { display: flex; justify-content: center; gap: .15rem; color: var(--c-accent-text); margin-bottom: .75rem; }

.social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
@media (min-width: 800px) { .social-grid { grid-template-columns: repeat(6, 1fr); } }
.social-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.newsletter-band { background: var(--c-primary); color: var(--c-on-primary); text-align: center; }
.newsletter-band__inner { max-width: 40rem; }
.newsletter-band p { opacity: .85; }
.newsletter-form { display: flex; gap: .5rem; align-items: stretch; }
.newsletter-form input[type=email] { flex: 1; min-width: 0; background: transparent; border-color: currentColor; color: inherit; }
.newsletter-form input::placeholder { color: inherit; opacity: .7; }
.newsletter-band .btn { background: #fff; color: #111; border-color: #fff; }
.newsletter-band .btn:hover { background: transparent; color: #fff; }
.newsletter-form--band { margin: 1.5rem auto .75rem; max-width: 30rem; }
@media (max-width: 479px) { .newsletter-form { flex-direction: column; } }

/* ---------- listing pages ---------- */
.page-hero { position: relative; background: var(--c-secondary); text-align: center; isolation: isolate; }
.page-hero__inner { padding-block: clamp(2.5rem, 6vw, 4.5rem); max-width: 48rem; }
.page-hero__inner h1 { margin-bottom: .25em; }
.page-hero__lede { color: var(--c-muted-text); max-width: 36rem; margin: 0 auto; }
.page-hero--image { color: #fff; min-height: clamp(14rem, 28vw, 22rem); display: flex; align-items: center; }
.page-hero--image::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.32); z-index: -1; }
.page-hero--image .page-hero__lede { color: inherit; }
.page-hero__media, .page-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.search-page { display: flex; gap: .5rem; max-width: 34rem; margin: 1rem auto 0; }
.search-page .btn { flex: none; }

.breadcrumbs { padding-block: 1rem; font-size: .78rem; color: var(--c-muted-text); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: .5rem; opacity: .5; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--c-text); text-decoration: underline; }

.listing { padding-block: 2rem 4rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 1.75rem; }
.chip { display: inline-block; padding: .5rem 1.1rem; border: 1px solid var(--c-border); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; background: var(--c-surface); }
.chip:hover { border-color: var(--c-text); }
.listing__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; margin-bottom: 1.75rem; border-bottom: 1px solid var(--c-border); flex-wrap: wrap; }
.listing__count { margin: 0; font-size: .85rem; color: var(--c-muted-text); }
.sort { display: flex; align-items: center; gap: .6rem; font-size: .8rem; }
.sort label { color: var(--c-muted-text); white-space: nowrap; }
.sort select { width: auto; min-height: 2.6rem; padding-right: 2rem; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 3.5rem; flex-wrap: wrap; }
.pagination ul { display: flex; gap: .25rem; }
.pagination li a, .pagination li span { display: inline-flex; align-items: center; justify-content: center; min-width: 2.6rem; height: 2.6rem; text-decoration: none; font-size: .9rem; }
.pagination li span[aria-current] { border-bottom: 1px solid currentColor; font-weight: 500; }
.pagination li a:hover { background: var(--c-secondary); }
.pagination__step { display: inline-flex; align-items: center; gap: .3rem; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.pagination__gap { min-width: 1.5rem; text-align: center; color: var(--c-muted-text); }

.empty-state { text-align: center; padding: clamp(3rem, 8vw, 6rem) 1rem; max-width: 34rem; margin-inline: auto; }
.empty-state p { color: var(--c-muted-text); }

/* ---------- product page ---------- */
.product { display: grid; gap: 2rem; padding-block: 1rem 4rem; }
@media (min-width: 900px) { .product { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; } .product__info { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.gallery { display: grid; gap: .75rem; }
@media (min-width: 640px) { .gallery { grid-template-columns: 5.5rem 1fr; } .gallery__thumbs { order: -1; flex-direction: column; } }
.gallery__main { position: relative; background: var(--c-secondary); aspect-ratio: 4 / 5; overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: .5rem; overflow-x: auto; }
.gallery__thumbs button { display: block; width: 4.5rem; padding: 0; border: 1px solid transparent; background: var(--c-secondary); opacity: .7; }
.gallery__thumbs button[aria-pressed=true] { border-color: var(--c-text); opacity: 1; }
.gallery__thumbs img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.product__title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: .4em; }
.product__lede { color: var(--c-muted-text); }
.rating { display: flex; align-items: center; gap: .35rem; font-size: .88rem; margin-bottom: .75rem; color: var(--c-accent-text); }
.rating span { color: var(--c-muted-text); }
.variant-list { margin: 1.25rem 0; border-top: 1px solid var(--c-border); padding-top: 1rem; }
.variant-list__label { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--c-muted-text); margin-bottom: .5rem; }
.variant-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--c-border); font-size: .92rem; }
.variant-list li.is-out { color: var(--c-muted-text); }
.stock { display: flex; align-items: center; gap: .5rem; font-size: .85rem; margin: 1.25rem 0; }
.stock--in { color: #2f6b45; }
.stock--out { color: #8c2f39; }
.assurances { margin: 1.75rem 0; display: grid; gap: .75rem; font-size: .88rem; }
.assurances li { display: flex; gap: .75rem; align-items: center; }
.assurances .icon { color: var(--c-accent-text); }
.accordion { border-top: 1px solid var(--c-border); }
.accordion:last-of-type { border-bottom: 1px solid var(--c-border); }
.accordion summary { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 0; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; list-style: none; font-weight: 500; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion[open] summary .icon { transform: rotate(180deg); }
.accordion > div, .accordion > dl { padding-bottom: 1.25rem; }
.facts div { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px dashed var(--c-border); font-size: .9rem; }
.facts dt { color: var(--c-muted-text); }
.facts dd { margin: 0; text-align: right; }

/* ---------- CMS content ---------- */
.page-article { padding-block: 1rem 5rem; max-width: 50rem; }
.page-article__head { text-align: center; padding-block: 2rem 2.5rem; border-bottom: 1px solid var(--c-border); margin-bottom: 2.5rem; }
.page-article__meta { font-size: .8rem; color: var(--c-muted-text); margin: 0; }
.prose { font-size: 1.02rem; }
.prose h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.prose h3 { font-size: 1.25rem; margin-top: 1.8rem; font-weight: 400; }
.prose ul, .prose ol { padding-left: 1.4rem; margin-bottom: 1em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .35em; }
.prose a { color: var(--c-accent-text); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .92rem; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--c-border); padding: .65rem .75rem; text-align: left; white-space: nowrap; }
.prose th { font-weight: 500; text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--c-footer-bg); color: var(--c-footer-text); margin-top: auto; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-grid { display: grid; gap: 2.25rem 1.5rem; padding-block: clamp(3rem, 6vw, 5rem) 2.5rem; grid-template-columns: repeat(2, 1fr); }
.footer-brand { grid-column: 1 / -1; }
.footer-wordmark { font-family: var(--font-heading); letter-spacing: .34em; text-transform: uppercase; font-size: 1.3rem; margin-bottom: 1rem; }
.footer-logo { margin-bottom: 1rem; max-height: 36px; width: auto; }
.footer-about { opacity: .8; font-size: .9rem; max-width: 26rem; }
.footer-h { font-family: var(--font-body); font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; margin: 0 0 1.1rem; opacity: .7; }
.footer-col li { margin-bottom: .6rem; font-size: .9rem; }
.footer-contact { grid-column: 1 / -1; }
.footer-contact p { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; margin-bottom: .6rem; }
.footer-contact .icon { margin-top: .2rem; opacity: .7; }
.social { display: flex; gap: .4rem; margin-top: 1.25rem; }
.social a { display: inline-flex; width: 2.5rem; height: 2.5rem; align-items: center; justify-content: center; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); border-radius: 50%; }
.social a:hover { background: color-mix(in srgb, currentColor 12%, transparent); text-decoration: none; }
.social .icon { width: 1.05rem; height: 1.05rem; }
.footer-newsletter { display: grid; gap: 1rem; padding-block: 2rem; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.footer-newsletter .footer-h { margin-bottom: .4rem; }
.footer-newsletter .footer-about { margin: 0; }
.footer-newsletter .newsletter-form { max-width: 28rem; }
.btn--light.btn--sm { white-space: nowrap; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.5rem 2rem; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); font-size: .78rem; opacity: .9; }
.footer-bottom p { margin: 0; }
.payment-marks { display: flex; gap: .75rem; }
.payment-marks .icon { opacity: .8; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } .footer-contact { grid-column: auto; } .footer-newsletter { grid-template-columns: 1fr 1fr; align-items: center; } .footer-newsletter .newsletter-form { justify-self: end; width: 100%; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.6fr repeat(4, 1fr); } .footer-brand { grid-column: auto; } .footer-contact { grid-column: auto; } }

/* ---------- country chooser + confirmation ---------- */
.plain-page { background: var(--c-bg); }
.chooser { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 6vw, 4rem) var(--gutter); max-width: 74rem; margin-inline: auto; width: 100%; }
.chooser__head { text-align: center; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.chooser__head h1 { font-size: clamp(2.2rem, 6vw, 4rem); letter-spacing: .3em; text-transform: uppercase; padding-left: .3em; margin-bottom: .2em; }
.chooser__tag { color: var(--c-muted-text); font-size: 1.05rem; margin-bottom: 1.5rem; }
.chooser__prompt { font-size: 1.05rem; max-width: 30rem; margin-inline: auto; }
.chooser__grid { display: grid; gap: 1rem; }
@media (min-width: 720px) { .chooser__grid { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 1.5rem; } }
.chooser__grid > li { display: flex; }
.chooser__card { flex: 1; position: relative; display: flex; flex-direction: column; gap: .5rem; min-height: 15rem; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--card-bg); color: var(--card-text); text-decoration: none; overflow: hidden; transition: transform .4s var(--ease); }
.chooser__card::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--card-accent); transform: scaleX(.18); transform-origin: left; transition: transform .5s var(--ease); }
.chooser__card:hover::after, .chooser__card:focus-visible::after { transform: scaleX(1); }
.chooser__country { font-family: var(--font-heading); font-weight: var(--fw-heading); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; margin-top: auto; }
.chooser__meta { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.chooser__hint { position: absolute; top: 1.25rem; right: 1.25rem; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; border: 1px solid currentColor; padding: .25rem .6rem; opacity: .85; }
.chooser__cta { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.25rem; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; }
.chooser__foot { text-align: center; margin-top: 2rem; font-size: .85rem; color: var(--c-muted-text); }

.confirm { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem var(--gutter); }
.confirm__panel { max-width: 34rem; background: var(--c-surface); border: 1px solid var(--c-border); padding: clamp(1.75rem, 5vw, 3rem); }
.confirm__points { margin: 1.25rem 0 2rem; display: grid; gap: .75rem; font-size: .92rem; color: var(--c-muted-text); }
.confirm__points li { padding-left: 1.4rem; position: relative; }
.confirm__points li::before { content: ''; position: absolute; left: 0; top: .7em; width: .7rem; height: 1px; background: var(--c-accent-text); }
.confirm__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- feedback ---------- */
.flash-stack { padding-top: 1rem; display: grid; gap: .5rem; }
.flash { padding: .9rem 1.1rem; border: 1px solid var(--c-border); background: var(--c-surface); font-size: .92rem; border-left-width: 3px; }
.flash--success { border-left-color: #2f6b45; }
.flash--error { border-left-color: #8c2f39; }
.flash--info { border-left-color: var(--c-accent); }
.toast-region { position: fixed; z-index: 320; left: 50%; bottom: 1.25rem; transform: translateX(-50%); display: grid; gap: .5rem; width: min(92vw, 26rem); pointer-events: none; }
.toast { pointer-events: auto; padding: .9rem 1.1rem; background: var(--c-primary); color: var(--c-on-primary); font-size: .9rem; box-shadow: 0 10px 30px rgba(0,0,0,.22); display: flex; gap: .75rem; align-items: center; justify-content: space-between; animation: toast-in .3s var(--ease); }
.toast--error { background: #8c2f39; color: #fff; }
.toast button { background: none; border: 0; color: inherit; text-decoration: underline; padding: 0; font-size: .8rem; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.cookie-banner { position: fixed; z-index: 250; left: 1rem; right: 1rem; bottom: 1rem; max-width: 46rem; margin-inline: auto; background: var(--c-surface); color: var(--c-text); border: 1px solid var(--c-border); box-shadow: 0 18px 50px rgba(0,0,0,.18); padding: 1.25rem 1.5rem; display: grid; gap: 1rem; }
.cookie-banner__title { font-family: var(--font-body); font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; margin-bottom: .4rem; }
.cookie-banner p { font-size: .88rem; margin: 0; color: var(--c-muted-text); }
.cookie-banner a { color: var(--c-accent-text); }
.cookie-banner__actions { display: flex; gap: .5rem; flex-wrap: wrap; }
@media (min-width: 720px) { .cookie-banner { grid-template-columns: 1fr auto; align-items: center; left: 50%; right: auto; transform: translateX(-50%); width: min(46rem, calc(100vw - 2rem)); } }

/* ---------- errors ---------- */
.error-page { text-align: center; padding-block: clamp(4rem, 12vw, 9rem); max-width: 40rem; }
.error-page p { color: var(--c-muted-text); }
.debug { text-align: left; font-size: .75rem; overflow: auto; background: #111; color: #eee; padding: 1rem; margin-top: 2rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print { .site-header, .site-footer, .announce, .cookie-banner, .drawer { display: none !important; } }

/* =====================================================================
   Stage 3: forms, bag, wishlist, account
   ===================================================================== */
.muted { color: var(--c-muted-text); }
.section--tight { padding-block: clamp(1.75rem, 4vw, 3.5rem); }
.page-head { margin-bottom: 1.75rem; }
.page-head h1 { margin-bottom: .15em; }
.page-head__sub { color: var(--c-muted-text); margin: 0; }
.hint-line { color: var(--c-muted-text); font-size: .9rem; margin-bottom: 1.5rem; }
.empty-state__icon { width: 2.5rem; height: 2.5rem; margin: 0 auto 1rem; color: var(--c-accent-text); }
.link-btn { background: none; border: 0; padding: .25rem 0; font-size: .82rem; color: var(--c-text); text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: .35rem; cursor: pointer; }
.link-btn:hover { color: var(--c-accent-text); }
.link-btn--danger { color: #8c2f39; }
.btn--danger { background: #8c2f39; border-color: #8c2f39; color: #fff; }
.btn--danger:hover { background: #6f242c; border-color: #6f242c; color: #fff; }
.btn[disabled], .btn:disabled { opacity: .55; cursor: not-allowed; }
.btn[disabled]:hover { background: var(--c-btn-bg); border-color: var(--c-btn-bg); color: var(--c-btn-text); }

/* form fields (shared with the account pages) */
.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; min-width: 0; }
.field label, .field .label { font-size: .82rem; font-weight: 500; letter-spacing: .02em; }
.field .req { color: #8c2f39; }
.field .hint { font-size: .78rem; color: var(--c-muted-text); }
.field .error-text { display: flex; align-items: center; gap: .4rem; font-size: .82rem; color: #8c2f39; }
.field--error input, .field--error select, .field--error textarea { border-color: #8c2f39; }
label.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .9rem; font-weight: 400; cursor: pointer; }
label.check input { width: 1.1rem; height: 1.1rem; margin-top: .2rem; flex: none; accent-color: var(--c-primary); }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 1rem; }
@media (min-width: 560px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }

/* sign in, register */
.auth-wrap { display: flex; justify-content: center; }
.auth-card { width: 100%; max-width: 27rem; background: var(--c-surface); border: 1px solid var(--c-border); padding: clamp(1.5rem, 4vw, 2.5rem); }
.auth-card--wide { max-width: 36rem; }
.auth-card h1 { font-size: clamp(1.7rem, 4vw, 2.2rem); margin-bottom: .25em; }
.auth-card__sub { color: var(--c-muted-text); margin-bottom: 1.5rem; }
.auth-card__foot { text-align: center; font-size: .9rem; margin: 1.5rem 0 0; }
.auth-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; align-items: center; font-size: .88rem; margin-bottom: 1.25rem; }
.auth-or { display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0; color: var(--c-muted-text); font-size: .8rem; }
.auth-or::before, .auth-or::after { content: ''; flex: 1; border-top: 1px solid var(--c-border); }
.google-btn { text-transform: none; letter-spacing: .02em; font-size: .92rem; }
.google-btn:hover { background: var(--c-secondary); color: var(--c-text); border-color: var(--c-text); }

/* account area */
.account { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .account { grid-template-columns: 17rem minmax(0, 1fr); gap: 3rem; } }
.account-nav { border: 1px solid var(--c-border); background: var(--c-surface); padding: 1.25rem; display: grid; gap: 1rem; }
.account-nav__who { display: grid; margin: 0; line-height: 1.35; }
.account-nav__name { font-weight: 500; }
.account-nav__email { font-size: .82rem; color: var(--c-muted-text); overflow-wrap: anywhere; }
.account-nav ul { display: grid; gap: .1rem; }
.account-nav li a { display: flex; align-items: center; gap: .65rem; padding: .6rem .5rem; text-decoration: none; font-size: .92rem; border-left: 2px solid transparent; }
.account-nav li a:hover { background: var(--c-secondary); }
.account-nav li a[aria-current="page"] { border-left-color: var(--c-accent); background: var(--c-secondary); font-weight: 500; }
.account__main { min-width: 0; }
.account__main h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.account__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.account__head h1 { margin: 0; }
.account-cards { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .account-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .account-cards .card:first-child { grid-column: 1 / -1; } }
.card { background: var(--c-surface); border: 1px solid var(--c-border); padding: 1.5rem; margin-bottom: 1.25rem; min-width: 0; }
.account-cards .card { margin-bottom: 0; }
.card h2 { font-size: 1.15rem; font-weight: 500; margin-bottom: .75rem; }
.card--danger { border-color: #d9b4b8; }
.tag { display: inline-block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; padding: .2rem .55rem; background: var(--c-secondary); border: 1px solid var(--c-border); margin-right: .3rem; }
.tag--ok { background: #e7f1ea; border-color: #b8d4c0; color: #2f6b45; }
.tag--warn { background: #fbf1dc; border-color: #ecd49a; color: #7a5a12; }
.verify-banner { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.order-list { display: grid; }
.order-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-top: 1px solid var(--c-border); font-size: .92rem; }
.order-list li:first-child { border-top: 0; }
.address-grid { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .address-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.address-card { margin: 0; display: flex; flex-direction: column; gap: .75rem; }
.address-card__tags { margin: 0; min-height: 1.4rem; }
.address-card address { line-height: 1.6; font-size: .92rem; overflow-wrap: anywhere; }
.address-card__actions { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin-top: auto; }

/* bag */
.cart-layout { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 960px) { .cart-layout { grid-template-columns: minmax(0, 1fr) 24rem; gap: 3rem; } .cart-summary { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.cart-lines { display: grid; }
.cart-line { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) auto; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--c-border); }
.cart-line:last-child { border-bottom: 1px solid var(--c-border); }
@media (min-width: 640px) { .cart-line { grid-template-columns: 7.5rem minmax(0, 1fr) auto; gap: 1.5rem; } }
.cart-line__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--c-secondary); }
.cart-line__name { font-family: var(--font-body); font-size: 1rem; font-weight: 500; text-transform: none; letter-spacing: 0; margin: 0 0 .2rem; line-height: 1.35; }
.cart-line__name a { text-decoration: none; }
.cart-line__name a:hover { text-decoration: underline; }
.cart-line__opt, .cart-line__sku, .cart-line__note { margin: 0; font-size: .84rem; color: var(--c-muted-text); }
.cart-line__warn { display: flex; gap: .4rem; align-items: flex-start; margin: .4rem 0 0; font-size: .84rem; color: #8c2f39; }
.cart-line__form { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; margin-top: .75rem; }
.cart-line__price { text-align: right; display: grid; align-content: start; gap: .1rem; }
.cart-line__price .price__was { display: block; }
.cart-line__each { font-size: .78rem; color: var(--c-muted-text); }
.cart-line.is-blocked .cart-line__img img { opacity: .5; }
.qty-select { width: auto; min-width: 4.5rem; min-height: 2.5rem; padding: .4rem 2rem .4rem .8rem; }
.cart-summary { background: var(--c-surface); border: 1px solid var(--c-border); padding: 1.5rem; }
.cart-summary h2 { font-size: 1.3rem; }
.cart-summary__continue { margin-top: 1.25rem; }
.coupon { margin-bottom: 1.25rem; }
.coupon__form { display: flex; gap: .5rem; }
.coupon__form input { flex: 1; min-width: 0; text-transform: uppercase; }
.coupon__form .btn { flex: none; }
.coupon__applied { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .7rem .9rem; background: #e7f1ea; border: 1px solid #b8d4c0; font-size: .9rem; }
.coupon__msg { font-size: .84rem; color: var(--c-muted-text); margin: .5rem 0 0; }
.totals { margin: 0 0 .75rem; }
.totals > div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; font-size: .95rem; }
.totals dt { color: var(--c-muted-text); }
.totals dd { margin: 0; text-align: right; }
.totals__discount dt, .totals__discount dd { color: #2f6b45; }
.totals__grand { border-top: 1px solid var(--c-border); margin-top: .35rem; padding-top: .9rem !important; font-size: 1.1rem !important; font-weight: 500; }
.totals__grand dt { color: var(--c-text); }
.soon { background: var(--c-secondary); padding: 1rem; display: grid; gap: .75rem; font-size: .9rem; }
.soon p { margin: 0; }
.saved { margin-top: 3rem; }
.saved h2 { font-size: 1.3rem; }

/* wishlist hearts */
.wish { margin: 0; }
.wish--card { position: absolute; top: .45rem; right: .45rem; z-index: 3; }
.wish__btn { width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--c-text); display: inline-flex; align-items: center; justify-content: center; transition: transform .2s var(--ease), color .2s; }
.wish__btn:hover { transform: scale(1.08); }
.wish__btn svg { width: 1.15rem; height: 1.15rem; }
.wish__btn[aria-pressed="true"] { color: #8c2f39; }
.wish__btn[aria-pressed="true"] svg { fill: currentColor; }
.wish--inline .wish__btn { width: 3rem; height: 3rem; border-radius: var(--radius); border: 1px solid var(--c-border); background: var(--c-surface); }
.wish-item { display: grid; gap: .75rem; align-content: start; }

/* product buy box */
.buy { margin: 1.25rem 0 0; }
.options { border: 0; padding: 0; margin: 0 0 1.25rem; min-width: 0; }
.options__grid { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.option { position: relative; display: grid; gap: .1rem; min-width: 5rem; padding: .6rem 1rem; border: 1px solid var(--c-border); background: var(--c-surface); text-align: center; cursor: pointer; }
.option input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.option:has(input:checked) { border-color: var(--c-text); box-shadow: 0 0 0 1px var(--c-text); }
.option:has(input:focus-visible) { outline: 2px solid var(--c-accent-text); outline-offset: 2px; }
.option__label { font-size: .92rem; font-weight: 500; }
.option__price { font-size: .76rem; color: var(--c-muted-text); }
.option.is-out { opacity: .5; cursor: not-allowed; }
.option.is-out input { cursor: not-allowed; }
.option.is-out .option__label { text-decoration: line-through; }
.buy__row { display: flex; gap: .75rem; align-items: stretch; flex-wrap: wrap; }
.buy__add { flex: 1 1 10rem; }
.qty { display: inline-flex; border: 1px solid var(--c-border); background: var(--c-surface); }
.qty__btn { width: 2.75rem; border: 0; background: none; display: inline-flex; align-items: center; justify-content: center; }
.qty__btn:hover { background: var(--c-secondary); }
.qty__input { width: 3rem; min-height: 0; border: 0 !important; box-shadow: none !important; text-align: center; padding: 0; -moz-appearance: textfield; }
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.drawer__account a { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .6rem 0; text-decoration: none; font-size: .95rem; }
.drawer__account a span { color: var(--c-muted-text); font-size: .8rem; }

/* ---- Checkout, orders (Stage 4) ---------------------------------------------------------------- */
.steps { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0 0 2rem; padding: 0; list-style: none; font-size: .82rem; color: var(--c-muted-text); }
.steps li { display: inline-flex; align-items: center; gap: .55rem; }
.steps__n { width: 1.6rem; height: 1.6rem; border: 1px solid var(--c-border); border-radius: 50%; display: inline-grid; place-items: center; font-size: .75rem; background: var(--c-surface); }
.steps .is-current { color: var(--c-text); font-weight: 500; }
.steps .is-current .steps__n { background: var(--c-primary); color: var(--c-on-primary); border-color: var(--c-primary); }
.steps .is-done .steps__n { background: var(--c-secondary); color: var(--c-text); }
.checkout-main { min-width: 0; }
.checkout-main .card { margin-bottom: 1.25rem; }
.choices { display: grid; gap: .6rem; margin-bottom: 1rem; }
.choice { position: relative; display: flex; align-items: flex-start; gap: .85rem; padding: 1rem 1.1rem; border: 1px solid var(--c-border); background: var(--c-surface); cursor: pointer; }
.choice > input[type="radio"] { width: 1.1rem; height: 1.1rem; min-height: 0; margin: .2rem 0 0; flex: none; accent-color: var(--c-primary); }
.choice:has(input:checked) { border-color: var(--c-text); box-shadow: 0 0 0 1px var(--c-text); }
.choice:has(input:focus-visible) { outline: 2px solid var(--c-accent-text); outline-offset: 2px; }
.choice__body { flex: 1; min-width: 0; display: grid; gap: .15rem; font-size: .92rem; overflow-wrap: anywhere; }
.choice__price { font-weight: 500; white-space: nowrap; }
.recap { display: grid; gap: .6rem; font-size: .92rem; }
.recap__row { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) auto; gap: .75rem; align-items: baseline; }
.recap__label { color: var(--c-muted-text); }
.recap__row span:nth-child(2) { overflow-wrap: anywhere; }
.mini-lines { display: grid; gap: .9rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.mini-lines li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .85rem; align-items: center; font-size: .9rem; }
.mini-lines__img { position: relative; display: block; width: 56px; height: 70px; background: var(--c-secondary); }
.mini-lines__img img { width: 56px; height: 70px; object-fit: cover; display: block; }
.mini-lines__qty { position: absolute; top: -.45rem; right: -.45rem; min-width: 1.25rem; height: 1.25rem; padding: 0 .3rem; border-radius: 1rem; background: var(--c-primary); color: var(--c-on-primary); font-size: .7rem; line-height: 1.25rem; text-align: center; }
.mini-lines__name { display: grid; gap: .1rem; overflow-wrap: anywhere; }
.mini-lines__name small { color: var(--c-muted-text); font-size: .78rem; }
.mini-lines__price { white-space: nowrap; }
.totals__tax dt, .totals__tax dd { font-size: .85rem; }
.small { font-size: .82rem; }
.thanks { text-align: center; padding: 1.5rem 0 2rem; max-width: 40rem; margin: 0 auto; }
.thanks__icon { width: 3rem; height: 3rem; color: #2f6b45; margin-bottom: .75rem; }
.order-page { max-width: 52rem; }
.order-status { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .9rem; padding: 1rem 1.5rem; }
.order-status .badge, .orders-list .badge { background: var(--c-secondary); color: var(--c-text); }
.order-status .badge--ok, .orders-list .badge--ok { background: #e3f0e7; color: #1f4d33; }
.order-status .badge--warn { background: #fbf0d9; color: #6b4e12; }
.order-status .badge--info { background: #e7eef6; color: #23446b; }
.order-status .badge--err, .orders-list .badge--err { background: #f6e1e3; color: #7a232d; }
.orders-list .badge--info { background: #e7eef6; color: #23446b; }
.card--accent { border-left: 3px solid var(--c-accent); }
.mini-lines--wide { margin-bottom: 1rem; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.1rem; border-left: 1px solid var(--c-border); display: grid; gap: 1rem; }
.timeline li { position: relative; font-size: .92rem; }
.timeline li::before { content: ''; position: absolute; left: -1.5rem; top: .45rem; width: .55rem; height: .55rem; border-radius: 50%; background: var(--c-accent); }
.timeline .muted { margin-left: .5rem; font-size: .8rem; }
.orders-list { display: grid; gap: .75rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.orders-list__item { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; margin: 0; }
.orders-list__item p { margin: .2rem 0 0; }
.orders-list__side { display: flex; align-items: center; gap: 1rem; }
.pager { display: flex; align-items: center; justify-content: center; gap: 1rem; }
@media (max-width: 480px) { .recap__row { grid-template-columns: minmax(0, 1fr) auto; } .recap__label { grid-column: 1 / -1; font-size: .78rem; } }

/* paying online */
.pay { max-width: 34rem; }
.pay__card { text-align: center; display: grid; gap: .9rem; justify-items: center; padding: 2rem 1.5rem; }
.pay__card > * { max-width: 100%; }
.pay__card h1 { font-size: 1.5rem; margin: 0; }
.pay__eyebrow { display: inline-flex; align-items: center; gap: .4rem; margin: 0; color: var(--c-muted-text); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.pay__amount { font-size: 2rem; margin: 0; font-weight: 500; }
.pay__status { margin: 0; color: var(--c-muted-text); min-height: 1.4em; }
.pay__card .btn--block { width: 100%; }
.pay__test { display: flex; gap: .5rem; align-items: flex-start; text-align: left; background: #fbf0d9; color: #6b4e12; padding: .7rem .9rem; border-radius: 6px; margin: 0; font-size: .88rem; }
.pay-panel h2 { display: flex; align-items: center; gap: .4rem; margin-top: 0; }
.pay-panel__actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.pay-panel__actions form { margin: 0; }
.refund-list { list-style: none; margin: 0 0 .75rem; padding: 0; display: grid; gap: .5rem; }
.refund-list .badge--ok { background: #e3f0e7; color: #1f4d33; }
.refund-list .badge--info { background: #e7eef6; color: #23446b; }

/* returns, reviews and help requests */
.btn-row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-top: 1rem; }
.btn-row form { margin: 0; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--c-accent-text); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: .3rem; }
.link-button:hover { color: var(--c-text); }
.photo-strip { display: flex; flex-wrap: wrap; gap: .5rem; margin: .75rem 0 0; padding: 0; list-style: none; }
.photo-strip a { display: block; }
.photo-strip img { width: 96px; height: 96px; object-fit: cover; border: 1px solid var(--c-border); background: var(--c-secondary); }
.icon--empty { fill: none; opacity: .4; }

.return-form h2 { font-size: 1.05rem; margin: 1.5rem 0 .75rem; font-weight: 500; }
.return-form h2:first-of-type { margin-top: 0; }
.return-form__items li { grid-template-columns: auto minmax(0, 1fr) auto; }
.return-form__items li.is-disabled { opacity: .55; }
.return-form__qty select { min-width: 8.5rem; }
.return-form__rules { margin: 1.25rem 0 0; padding: .9rem 1rem; background: var(--c-secondary); font-size: .88rem; }
.return-form__rules p { margin: .3rem 0 0; }

.reviews__layout { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .reviews__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 3rem; } }
.reviews__avg { font-size: 2.4rem; margin: 0 0 .1rem; line-height: 1.1; }
.reviews__avg strong { font-weight: 400; }
.reviews .stars, .review .stars { justify-content: flex-start; margin-bottom: .25rem; }
.reviews__bars { display: grid; gap: .35rem; margin: 1rem 0 1.5rem; padding: 0; list-style: none; }
.reviews__bars li { display: grid; grid-template-columns: 3.6rem minmax(0, 1fr) 1.8rem; gap: .6rem; align-items: center; font-size: .82rem; }
.reviews__bar { display: block; height: .5rem; background: var(--c-secondary); }
.reviews__bar > span { display: block; height: 100%; background: var(--c-accent); }
.reviews__write { border-top: 1px solid var(--c-border); padding-top: 1.25rem; }
.review-form h3 { margin: 0 0 .75rem; font-size: 1.1rem; font-weight: 500; }
.reviews__sort { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.reviews__sort a { text-decoration: none; color: var(--c-muted-text); }
.reviews__sort a[aria-current] { color: var(--c-text); text-decoration: underline; text-underline-offset: 4px; }
.review { margin-bottom: 1rem; }
.review header { display: flex; flex-wrap: wrap; gap: .3rem .75rem; align-items: center; margin-bottom: .4rem; }
.review header .stars { margin: 0; }
.review p { margin: 0 0 .5rem; }
.review footer { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .4rem; margin-top: .6rem; }
.review__verified { display: inline-flex; align-items: center; gap: .25rem; color: #1f4d33; }
.review__report { margin: 0 0 0 auto; }

.rating-input { border: 0; padding: 0; margin: 0 0 1rem; display: flex; flex-direction: row-reverse; justify-content: flex-end; flex-wrap: wrap; gap: .1rem; }
.rating-input legend { float: left; width: 100%; padding: 0; margin-bottom: .4rem; font-size: .9rem; }
.rating-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating-input label { cursor: pointer; color: var(--c-accent-text); line-height: 0; padding: .1rem; }
.rating-input label svg { width: 1.7rem; height: 1.7rem; fill: none; }
.rating-input input:checked ~ label svg, .rating-input label:hover svg, .rating-input label:hover ~ label svg { fill: currentColor; }
.rating-input input:focus-visible + label { outline: 2px solid var(--c-accent-text); outline-offset: 2px; }

.thread { display: grid; gap: .9rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.thread__msg { padding: .9rem 1.1rem; border: 1px solid var(--c-border); background: var(--c-surface); max-width: 46rem; }
.thread__msg--me { background: var(--c-secondary); margin-left: auto; }
.thread__who { display: flex; flex-wrap: wrap; gap: .25rem .75rem; margin: 0 0 .35rem; }
.thread__body { overflow-wrap: anywhere; }
.orders-list .badge--warn { background: #fbf0d9; color: #6b4e12; }
@media (max-width: 480px) { .thread__msg--me { margin-left: 0; } .return-form__items li { grid-template-columns: auto minmax(0, 1fr); } .return-form__qty { grid-column: 1 / -1; } }
.account__main { min-width: 0; }
input[type=file] { max-width: 100%; width: 100%; font-size: .85rem; }

/* Stage 7: FAQ list */
.faq-topic { margin-top: 2rem; }
.faq-topic h2 { font-size: 1.25rem; margin-bottom: .75rem; }
.faq-item { border-bottom: 1px solid var(--c-border); }
.faq-item > summary { cursor: pointer; padding: .9rem 0; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after { content: "+"; font-size: 1.25rem; line-height: 1; flex: none; }
.faq-item[open] > summary::after { content: "\2212"; }
.faq-item .prose { padding: 0 0 1rem; }

/* Stage 7: advertisements */
.ad-slot { margin: 1rem auto; text-align: center; max-width: 1200px; }
.ad-slot img { display: inline-block; max-width: 100%; height: auto; }
.ad-slot a { display: block; }
.ad-slot--promo_strip { margin: 0; max-width: none; background: var(--c-secondary); }
.ad-slot--promo_strip img { width: 100%; }
.ad-slot__text { margin: 0; padding: .55rem 1rem; font-size: .9rem; text-decoration: none; color: var(--c-text); }
.ad-slot--cart, .ad-slot--sidebar { margin-top: 1.25rem; }

/* Stage 7: popup */
.popup { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(20, 16, 12, .55); }
.popup[hidden] { display: none; }
.popup__panel { position: relative; width: min(100%, 30rem); max-height: calc(100vh - 2rem); overflow: auto; background: var(--c-surface); color: var(--c-text); border-radius: 6px; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.popup__image { display: block; width: 100%; max-height: 14rem; object-fit: cover; }
.popup__body { padding: 1.5rem; }
.popup__body h2 { margin: 0 0 .5rem; font-size: 1.5rem; }
.popup__body .newsletter-form { margin-top: 1rem; }
.popup__close { position: absolute; top: .5rem; right: .5rem; z-index: 1; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #231f1c; cursor: pointer; }
.popup-open { overflow: hidden; }
@media (max-width: 480px) { .popup { align-items: flex-end; padding: 0; } .popup__panel { width: 100%; border-radius: 12px 12px 0 0; } }
.page-hero__promo { margin: .75rem 0 0; }
.page-hero__promo strong { font-weight: 600; }

/* Stage 7: journal */
.blog-list { padding-block: 2rem 4rem; }
.blog-grid { display: grid; gap: 2rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); margin-top: 1.5rem; }
.blog-card { display: flex; flex-direction: column; gap: .9rem; }
.blog-card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--c-secondary); }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.blog-card__media:hover img { transform: scale(1.03); }
.blog-card__meta { margin: 0; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--c-muted-text); }
.blog-card__meta a { color: inherit; }
.blog-card__title { margin: .2rem 0 .4rem; font-size: 1.35rem; line-height: 1.25; }
.blog-card__title a { color: inherit; text-decoration: none; }
.blog-card__excerpt { margin: 0 0 .6rem; color: var(--c-muted-text); }
.blog-post__image { display: block; width: 100%; max-height: 32rem; object-fit: cover; margin: 0 0 2rem; }
.blog-post__tags { margin-top: 2rem; }

/* ---------- cookie choices (Stage 7) ---------- */
.cookie-prefs { display: grid; gap: .7rem; margin-top: .9rem; }
.cookie-prefs[hidden] { display: none; }
.cookie-prefs label.check { font-size: .84rem; color: var(--c-muted-text); }
.cookie-prefs label.check strong { color: var(--c-text); font-weight: 500; }
.cookie-prefs .btn { justify-self: start; }
.link-btn { background: none; border: 0; padding: 0; margin-left: .75rem; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover, .link-btn:focus-visible { text-decoration-thickness: 2px; }
.table-scroll { overflow-x: auto; }
.cookie-table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 32rem; }
.cookie-table th, .cookie-table td { text-align: left; padding: .55rem .7rem; border-bottom: 1px solid var(--c-border); vertical-align: top; }

/* ---------- phone quick-links bar (Home, Shop, Wishlist, Bag, Account) ---------- */
.bottom-bar { display: none; }
@media (max-width: 639px) {
  :root { --bottom-bar-h: calc(3.6rem + env(safe-area-inset-bottom, 0px)); }
  .bottom-bar { display: block; position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; background: var(--c-header-bg); color: var(--c-header-text); border-top: 1px solid var(--c-border); box-shadow: 0 -6px 18px rgba(0,0,0,.06); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .bottom-bar ul { display: flex; margin: 0; padding: 0; list-style: none; }
  .bottom-bar li { flex: 1 1 0; min-width: 0; }
  .bottom-bar__item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; width: 100%; min-height: 3.6rem; padding: .45rem .2rem; background: none; border: 0; border-radius: 0; color: inherit; font: inherit; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .bottom-bar__item .icon { width: 1.4rem; height: 1.4rem; }
  .bottom-bar__item span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .bottom-bar__item.is-active { color: var(--c-accent-text); font-weight: 500; }
  .bottom-bar__item.is-active::before { content: ''; position: absolute; top: 0; left: 30%; right: 30%; height: 2px; background: var(--c-accent); }
  .bottom-bar__item:active { background: color-mix(in srgb, currentColor 8%, transparent); }
  .bottom-bar__count { position: absolute; top: .3rem; left: calc(50% + .35rem); min-width: 1.05rem; height: 1.05rem; padding: 0 .25rem; font-size: .62rem; font-weight: 500; line-height: 1.05rem; text-align: center; border-radius: 1rem; background: var(--c-accent); color: var(--c-on-accent); letter-spacing: 0; }
  .bottom-bar__count[hidden] { display: none; }
  /* room for the bar under the page, and keep notices above it */
  .site-footer { padding-bottom: var(--bottom-bar-h); }
  .toast-region { bottom: calc(var(--bottom-bar-h) + .75rem); }
  .cookie-banner { bottom: calc(var(--bottom-bar-h) + .5rem); }
}
@media print { .bottom-bar { display: none !important; } }
