/* =========================================================
   Make My Craft — quick-commerce style UI (v8)
   White, dense, rounded cards, green ADD steppers,
   category tiles, product rails, slide-in cart.
   Brand maroon stays for logo, badges and links.
   ========================================================= */
:root {
  --bg: #ffffff;
  --surface: #f4f6fb;
  --surface-2: #f8f8f8;
  --line: #e8e8e8;
  --line-2: #eef0f4;
  --text: #1f1f1f;
  --muted: #666666;
  --faint: #9c9c9c;
  --green: #0c831f;
  --green-d: #0a6d1a;
  --green-tint: #f2f9f3;
  --maroon: #8a1f26;
  --maroon-tint: #fbeeee;
  --yellow: #f8cb46;
  --yellow-tint: #fff8e1;
  --ink: #1c1c1c;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-xs: 11px; --fs-sm: 13px; --fs-base: 15px; --fs-md: 17px; --fs-lg: 20px; --fs-xl: clamp(22px, 1.6vw + 14px, 28px);

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s7: 32px; --s8: 48px; --s9: 64px;
  --max: 1280px; --gutter: clamp(12px, 3vw, 24px);
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 22px;
  --shadow-1: 0 1px 3px rgba(0,0,0,.06);
  --shadow-2: 0 6px 20px rgba(0,0,0,.08);
  --shadow-3: 0 18px 50px rgba(0,0,0,.18);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --dur: 180ms;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: var(--fs-base); line-height: 1.5; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:where(h1:not(.hx),.hx-h1):not(template), :where(h2:not(.hx),.hx-h2):not(template), :where(h3:not(.hx),.hx-h3):not(template), :where(h4:not(.hx),.hx-h4):not(template) { margin: 0; line-height: 1.25; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 200; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }

/* ---------- type helpers ---------- */
.eyebrow { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--maroon); }
.display { font-weight: 800; letter-spacing: -.01em; }
.section { padding-block: var(--s7); }
.section--tint { background: var(--surface); }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s4); }
.section-head :where(h2:not(.hx),.hx-h2):not(template) { font-size: var(--fs-xl); font-weight: 800; }
.section-head p { color: var(--muted); font-size: var(--fs-sm); margin-top: 2px; }
.see-all, .link-arrow { color: var(--green); font-weight: 700; font-size: var(--fs-base); white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.see-all:hover, .link-arrow:hover { color: var(--green-d); text-decoration: underline; }
.link-arrow .icon { width: 16px; height: 16px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s5); border-radius: var(--r-sm); border: 1px solid transparent; font-weight: 700; font-size: var(--fs-sm); transition: background var(--dur), color var(--dur), border-color var(--dur), transform var(--dur); white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn .icon { width: 18px; height: 18px; }
.btn--primary, .btn--green { background: var(--green); color: #fff; }
.btn--primary:hover, .btn--green:hover { background: var(--green-d); }
.btn--outline { border-color: var(--line); background: #fff; color: var(--text); }
.btn--outline:hover { border-color: var(--text); }
.btn--wa { background: #25d366; color: #0b3d1f; }
.btn--wa:hover { background: #1fbe5b; }
.btn--light { background: #fff; color: var(--text); }
.btn--light:hover { background: var(--surface-2); }
.btn--ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); }
.btn--block { width: 100%; }
.btn--lg { min-height: 52px; font-size: var(--fs-base); padding: 0 var(--s6); }
.btn.is-loading { pointer-events: none; opacity: .8; }

/* =========================================================
   HEADER
   ========================================================= */
.header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); }
.header__main { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: var(--s6); min-height: var(--header-h); }
.logo { display: flex; align-items: center; padding-right: var(--s6); border-right: 1px solid var(--line); height: var(--header-h); }
.logo img { width: 150px; height: auto; }
.locator { display: grid; line-height: 1.25; min-width: 0; }
.locator strong { font-size: var(--fs-md); font-weight: 800; }
.locator span { font-size: var(--fs-sm); color: var(--muted); white-space: nowrap; }
.search { position: relative; width: 100%; }
.search input { width: 100%; height: 48px; padding: 0 var(--s4) 0 46px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-2); font: inherit; font-size: var(--fs-base); color: var(--text); transition: border-color var(--dur), background var(--dur); }
.search input::placeholder { color: var(--faint); }
.search input:focus { outline: none; border-color: var(--green); background: #fff; }
.search .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text); }
.header__actions { display: flex; align-items: center; gap: var(--s3); }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-sm); border: 0; background: transparent; transition: background var(--dur); }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn .badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--maroon); color: #fff; font-size: 10px; font-weight: 800; display: grid; place-items: center; }
.icon-btn--search, .menu-toggle { display: none; }
.cart-btn { display: inline-flex; align-items: center; gap: var(--s2); min-height: 50px; padding: 0 var(--s4); border: 0; border-radius: var(--r-sm); background: var(--green); color: #fff; font-weight: 700; transition: background var(--dur); }
.cart-btn:hover { background: var(--green-d); }
.cart-btn .icon { width: 22px; height: 22px; }
.cart-btn__txt { display: grid; text-align: left; line-height: 1.2; font-size: var(--fs-sm); }
.cart-btn__txt b { font-weight: 800; }
.cart-btn.is-empty { background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.cart-btn.is-empty:hover { color: var(--text); }

.catbar { border-top: 1px solid var(--line-2); }
.catbar__list { display: flex; gap: var(--s1); overflow-x: auto; scrollbar-width: none; }
.catbar__list::-webkit-scrollbar { display: none; }
.catbar__link { flex: none; display: inline-flex; align-items: center; height: 46px; padding: 0 var(--s4); font-size: var(--fs-sm); font-weight: 600; color: #444; border-bottom: 3px solid transparent; transition: color var(--dur), border-color var(--dur); }
.catbar__link:hover { color: var(--green); }
.catbar__link[aria-current="page"] { color: var(--green); border-bottom-color: var(--green); }
.catbar__link.is-sale { color: var(--maroon); }

/* =========================================================
   PRODUCT CARD + ADD STEPPER
   ========================================================= */
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s3); transition: box-shadow var(--dur), border-color var(--dur); min-width: 0; }
.card:hover { box-shadow: var(--shadow-2); border-color: #dcdcdc; }
.card__img { display: block; border-radius: var(--r-sm); overflow: hidden; background: #111; aspect-ratio: 1; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.card:hover .card__img img { transform: scale(1.04); }
.card__badge { position: absolute; top: var(--s3); left: var(--s3); z-index: 2; background: var(--maroon); color: #fff; font-size: 10px; font-weight: 800; line-height: 1.1; padding: 5px 7px; border-radius: 6px 0 6px 0; text-align: center; }
.card__badge--new { background: var(--yellow); color: var(--ink); }
.card__wish { position: absolute; top: calc(var(--s3) + 6px); right: calc(var(--s3) + 6px); z-index: 2; width: 32px; height: 32px; border-radius: 999px; border: 0; background: rgba(255,255,255,.95); display: grid; place-items: center; color: var(--muted); box-shadow: var(--shadow-1); transition: color var(--dur), transform var(--dur); }
.card__wish .icon { width: 16px; height: 16px; }
.card__wish:hover { color: var(--maroon); transform: scale(1.08); }
.card__wish[aria-pressed="true"] { color: var(--maroon); }
.card__wish[aria-pressed="true"] .icon { fill: currentColor; }
.card__body { display: flex; flex-direction: column; flex: 1; padding-top: var(--s3); }
.card__tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: #444; background: var(--surface-2); border-radius: 4px; padding: 3px 6px; }
.card__title { font-size: var(--fs-sm); font-weight: 700; line-height: 1.35; margin-top: var(--s2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.card__title a:hover { color: var(--green); }
.card__size { font-size: 12px; color: var(--muted); margin-top: 4px; min-height: 18px; }
.card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s2); margin-top: auto; padding-top: var(--s3); }
.card__price { display: grid; line-height: 1.2; font-size: var(--fs-sm); }
.card__price b { font-weight: 800; color: var(--ink); }
.card__price del { font-size: 12px; color: var(--faint); }

.add { flex: none; min-width: 72px; height: 34px; }
.add--lg { min-width: 160px; height: 48px; }
.add__btn { width: 100%; height: 100%; border: 1px solid var(--green); background: var(--green-tint); color: var(--green); border-radius: var(--r-sm); font-size: var(--fs-sm); font-weight: 800; letter-spacing: .02em; transition: background var(--dur), color var(--dur); }
.add__btn:hover { background: var(--green); color: #fff; }
.add--lg .add__btn { background: var(--green); color: #fff; font-size: var(--fs-base); }
.add--lg .add__btn:hover { background: var(--green-d); }
.step { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 100%; background: var(--green); color: #fff; border-radius: var(--r-sm); overflow: hidden; }
.step button { width: 30px; height: 100%; border: 0; background: transparent; color: #fff; font-size: 18px; font-weight: 700; transition: background var(--dur); }
.step button:hover { background: var(--green-d); }
.step span { font-weight: 800; font-size: var(--fs-sm); }
.add--lg .step button { width: 48px; font-size: 22px; }
.add--lg .step span { font-size: var(--fs-md); }

/* grids & rails */
.grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s3); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * var(--s3)) / 6); gap: var(--s3); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px var(--s2); }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-wrap { position: relative; }
.rail-arrow { position: absolute; top: 38%; z-index: 3; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-2); display: grid; place-items: center; transition: opacity var(--dur); }
.rail-arrow--prev { left: -14px; } .rail-arrow--next { right: -14px; }
.rail-arrow:hover { border-color: var(--text); }

/* =========================================================
   HOME
   ========================================================= */
.banners { position: relative; margin-top: var(--s5); }
.banners__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r-lg); }
.banners__track::-webkit-scrollbar { display: none; }
.banners__track a { scroll-snap-align: start; display: block; }
.banners__track img { width: 100%; aspect-ratio: 1600/517; object-fit: cover; }
.banners__dots { display: flex; gap: 6px; justify-content: center; margin-top: var(--s3); }
.banners__dots button { width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; background: #d6d6d6; transition: width var(--dur), background var(--dur); }
.banners__dots button[aria-current="true"] { width: 22px; background: var(--green); }

.promos { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); margin-top: var(--s5); }
.promo { position: relative; display: flex; justify-content: space-between; gap: var(--s3); min-height: 196px; border-radius: var(--r-lg); padding: var(--s5); overflow: hidden; color: var(--ink); transition: transform var(--dur), box-shadow var(--dur); }
.promo:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.promo__copy { display: flex; flex-direction: column; gap: var(--s2); max-width: 58%; z-index: 1; }
.promo :where(h2:not(.hx),.hx-h2):not(template), .promo :where(h3:not(.hx),.hx-h3):not(template) { font-size: 22px; font-weight: 800; line-height: 1.15; }
.promo p { font-size: var(--fs-sm); }
.promo .btn { align-self: flex-start; margin-top: auto; min-height: 36px; padding: 0 var(--s4); background: var(--ink); color: #fff; }
.promo__img { position: absolute; right: -10px; bottom: -10px; width: 46%; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; transform: rotate(-6deg); box-shadow: var(--shadow-2); }
.promo__img img { width: 100%; height: 100%; object-fit: cover; }
.promo--1 { background: #d9f0e0; }
.promo--2 { background: #fdf0c4; }
.promo--3 { background: #f7dfe0; }

.tiles { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: var(--s4) var(--s3); }
.tile { display: flex; flex-direction: column; align-items: center; gap: var(--s2); text-align: center; }
.tile__img { width: 100%; aspect-ratio: 1; border-radius: var(--r-md); background: #eaf3f9; padding: 8px; transition: transform var(--dur); }
.tile:nth-child(4n+2) .tile__img { background: #fdf3dc; }
.tile:nth-child(4n+3) .tile__img { background: #f3ecfb; }
.tile:nth-child(4n+4) .tile__img { background: #e8f5ea; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.tile:hover .tile__img { transform: translateY(-3px); }
.tile span { font-size: 12px; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); }
.trust__item { display: flex; gap: var(--s3); align-items: center; padding: var(--s4); border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.trust__item .icon { width: 36px; height: 36px; padding: 8px; border-radius: 999px; background: var(--green-tint); color: var(--green); flex: none; }
.trust__item b { display: block; font-size: var(--fs-sm); }
.trust__item span { font-size: 12px; color: var(--muted); }

/* showroom */
.showroom { display: grid; grid-template-columns: 1.15fr 1fr; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; background: #fff; }
.showroom__img { position: relative; min-height: 360px; background: var(--surface); }
.showroom__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.showroom__img .tag { position: absolute; left: var(--s4); top: var(--s4); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 800; box-shadow: var(--shadow-1); display: inline-flex; gap: 6px; align-items: center; }
.showroom__img .tag::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--green); }
.showroom__body { padding: clamp(20px, 3vw, 40px); display: flex; flex-direction: column; gap: var(--s4); }
.showroom__body :where(h2:not(.hx),.hx-h2):not(template) { font-size: var(--fs-xl); font-weight: 800; }
.showroom__body > p { color: var(--muted); }
.showroom__rows { display: grid; gap: var(--s3); }
.showroom__row { display: flex; gap: var(--s3); align-items: flex-start; font-size: var(--fs-sm); }
.showroom__row .icon { width: 34px; height: 34px; padding: 8px; border-radius: 999px; background: var(--surface); color: var(--maroon); flex: none; }
.showroom__row b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.showroom__row a:hover { color: var(--green); }
.showroom__ctas { display: flex; gap: var(--s2); flex-wrap: wrap; margin-top: auto; }

/* =========================================================
   LISTING (category-style page with left rail)
   ========================================================= */
.plp-top { padding-block: var(--s3); border-bottom: 1px solid var(--line-2); }
.plp { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 70vh; border-left: 1px solid var(--line-2); border-right: 1px solid var(--line-2); }
.side { border-right: 1px solid var(--line); position: sticky; top: calc(var(--header-h) + 47px); align-self: start; max-height: calc(100vh - var(--header-h) - 47px); overflow-y: auto; scrollbar-width: thin; }
.side a { display: flex; align-items: center; gap: var(--s3); padding: 10px var(--s3); border-left: 4px solid transparent; border-bottom: 1px solid var(--line-2); font-size: var(--fs-sm); font-weight: 600; color: #444; transition: background var(--dur); }
.side a:hover { background: var(--surface-2); }
.side a[aria-current="page"] { background: var(--green-tint); border-left-color: var(--green); color: var(--ink); font-weight: 800; }
.side img, .side .side__all { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: #eaf3f9; flex: none; }
.side .side__all { display: grid; place-items: center; font-size: 11px; font-weight: 800; color: var(--green); }
.side small { margin-left: auto; color: var(--faint); font-weight: 600; font-size: 11px; }
.plp__main { background: var(--surface); padding: var(--s4); min-width: 0; }
.plp__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; background: #fff; border-radius: var(--r-md); padding: var(--s3) var(--s4); margin-bottom: var(--s3); }
.plp__head :where(h1:not(.hx),.hx-h1):not(template) { font-size: var(--fs-lg); font-weight: 800; }
.plp__head p { font-size: 12px; color: var(--muted); }
.plp__intro { font-size: var(--fs-sm); color: var(--muted); background: #fff; border-radius: var(--r-md); padding: var(--s3) var(--s4); margin-top: var(--s4); }
.sort { position: relative; display: inline-flex; align-items: center; gap: var(--s2); font-size: var(--fs-sm); color: var(--muted); }
.sort select { appearance: none; height: 38px; padding: 0 34px 0 var(--s3); border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; font: inherit; font-weight: 700; color: var(--text); cursor: pointer; }
.sort .icon { position: absolute; right: 10px; width: 16px; height: 16px; pointer-events: none; }
.fchips { display: flex; gap: var(--s2); overflow-x: auto; scrollbar-width: none; margin-bottom: var(--s3); padding-bottom: 2px; }
.fchips::-webkit-scrollbar { display: none; }
.fchips fieldset { display: contents; border: 0; }
.fchips legend { display: none; }
.fchip { flex: none; position: relative; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 var(--s3); border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 12px; font-weight: 700; cursor: pointer; transition: border-color var(--dur), background var(--dur), color var(--dur); }
.fchip:hover { border-color: #bdbdbd; }
.fchip input { position: absolute; opacity: 0; pointer-events: none; }
.fchip:has(input:checked) { border-color: var(--green); background: var(--green-tint); color: var(--green); }
.fchip:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }
.fchip small { color: var(--faint); font-weight: 600; }
.fchip-sep { flex: none; width: 1px; background: var(--line); margin: 6px 2px; }
.active-filters { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s3); }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px 0 10px; border-radius: 999px; background: var(--green-tint); color: var(--green); border: 0; font-size: 12px; font-weight: 700; }
.tag .icon { width: 13px; height: 13px; }
.tag--clear { background: transparent; color: var(--muted); text-decoration: underline; }
.grid--plp { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.more-wrap { display: flex; justify-content: center; margin-top: var(--s5); }
.empty { display: flex; gap: var(--s4); align-items: center; flex-wrap: wrap; padding: var(--s6); background: #fff; border-radius: var(--r-md); }
.empty > .icon { width: 28px; height: 28px; color: var(--faint); }
.empty > div { flex: 1; min-width: 200px; }
.empty p + p { color: var(--muted); font-size: var(--fs-sm); }

/* =========================================================
   PRODUCT PAGE
   ========================================================= */
.crumbs { font-size: 12px; color: var(--muted); padding-block: var(--s3); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #c4c4c4; }
.crumbs a:hover { color: var(--green); }
.crumbs [aria-current] { color: var(--text); font-weight: 600; }
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; }
.pdp__media { padding: var(--s5); border-right: 1px solid var(--line-2); }
.gallery { position: sticky; top: calc(var(--header-h) + 64px); }
.gallery__main { position: relative; background: #111; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 1; cursor: zoom-in; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur) var(--ease); transform-origin: var(--zx, 50%) var(--zy, 50%); }
.gallery__main.is-zoom img { transform: scale(1.9); }
.thumbs { display: flex; gap: var(--s2); margin-top: var(--s3); overflow-x: auto; scrollbar-width: none; }
.thumbs button { flex: none; width: 72px; height: 72px; padding: 0; border: 2px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: #111; transition: border-color var(--dur); }
.thumbs button[aria-current="true"] { border-color: var(--green); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp__info { padding: var(--s6) clamp(20px, 3vw, 40px); }
.pdp__info :where(h1:not(.hx),.hx-h1):not(template) { font-size: clamp(22px, 1.4vw + 14px, 30px); font-weight: 800; margin-top: var(--s2); }
.pdp__cat { display: inline-flex; align-items: center; gap: 4px; margin-top: var(--s3); color: var(--green); font-weight: 700; font-size: var(--fs-sm); }
.pdp__cat:hover { text-decoration: underline; }
.pdp__cat .icon { width: 16px; height: 16px; }
.pdp hr { border: 0; border-top: 1px solid var(--line-2); margin: var(--s5) 0; }
.unit-label { font-size: var(--fs-sm); font-weight: 700; margin-bottom: var(--s2); }
.unit { display: inline-grid; gap: 2px; min-width: 130px; padding: var(--s3) var(--s4); border: 1.5px solid var(--green); border-radius: var(--r-md); background: var(--green-tint); position: relative; }
.unit small { font-size: 12px; color: var(--muted); }
.unit b { font-size: var(--fs-base); }
.unit em { position: absolute; top: -10px; left: 10px; background: var(--maroon); color: #fff; font-style: normal; font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 4px; }
.pdp__price { display: flex; align-items: baseline; gap: var(--s2); flex-wrap: wrap; margin-top: var(--s5); }
.pdp__price b { font-size: 26px; font-weight: 800; }
.pdp__price del { color: var(--faint); }
.pdp__price .off { background: var(--maroon-tint); color: var(--maroon); font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 6px; }
.tax { font-size: 12px; color: var(--muted); margin-top: 2px; }
.pdp__buy { display: flex; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s5); align-items: center; }
.pdp__buy .btn--wish { width: 48px; min-height: 48px; padding: 0; border: 1px solid var(--line); background: #fff; color: var(--muted); }
.pdp__buy .btn--wish[aria-pressed="true"] { color: var(--maroon); border-color: var(--maroon); }
.pdp__buy .btn--wish[aria-pressed="true"] .icon { fill: currentColor; }
.why { margin-top: var(--s6); }
.why :where(h2:not(.hx),.hx-h2):not(template) { font-size: var(--fs-base); font-weight: 800; margin-bottom: var(--s3); }
.why li { display: flex; gap: var(--s3); align-items: center; padding: var(--s2) 0; }
.why .icon { width: 44px; height: 44px; padding: 11px; border-radius: 999px; background: var(--yellow-tint); color: #8a6100; flex: none; }
.why b { display: block; font-size: var(--fs-sm); }
.why span { font-size: 12px; color: var(--muted); }
.share { margin-top: var(--s5); display: flex; gap: var(--s2); align-items: center; font-size: var(--fs-sm); color: var(--muted); }
.share a { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 999px; display: grid; place-items: center; color: var(--text); transition: color var(--dur), border-color var(--dur); }
.share a:hover { color: var(--green); border-color: var(--green); }
.share .icon { width: 15px; height: 15px; }
.details { margin-top: var(--s5); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: clamp(16px, 3vw, 32px); }
.details :where(h2:not(.hx),.hx-h2):not(template) { font-size: var(--fs-lg); font-weight: 800; margin-bottom: var(--s4); }
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--s3); margin-bottom: var(--s5); }
.spec { background: var(--surface-2); border-radius: var(--r-sm); padding: var(--s3) var(--s4); }
.spec dt { font-size: 12px; color: var(--muted); }
.spec dd { margin: 2px 0 0; font-weight: 700; font-size: var(--fs-sm); }
.policy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin-top: var(--s5); }
.policy { background: var(--surface-2); border-radius: var(--r-md); padding: var(--s4); font-size: var(--fs-sm); color: #444; }
.policy :where(h3:not(.hx),.hx-h3):not(template) { font-size: var(--fs-sm); font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.policy a { color: var(--green); font-weight: 700; }
.mbar { display: none; }

/* =========================================================
   CART DRAWER + FLOATING BAR
   ========================================================= */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(420px, 100vw); background: var(--surface); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 260ms var(--ease); visibility: hidden; }
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: var(--s4) var(--s5); background: #fff; border-bottom: 1px solid var(--line); }
.drawer__head :where(h2:not(.hx),.hx-h2):not(template) { font-size: var(--fs-lg); font-weight: 800; }
.drawer__body { flex: 1; overflow-y: auto; padding: var(--s3); display: grid; gap: var(--s3); align-content: start; }
.dbox { background: #fff; border-radius: var(--r-md); padding: var(--s4); }
.dbox :where(h3:not(.hx),.hx-h3):not(template) { font-size: var(--fs-sm); font-weight: 800; margin-bottom: var(--s3); }
.dline { display: grid; grid-template-columns: 64px 1fr auto; gap: var(--s3); align-items: center; padding: var(--s2) 0; }
.dline + .dline { border-top: 1px solid var(--line-2); }
.dline img { width: 64px; height: 64px; border-radius: var(--r-sm); border: 1px solid var(--line); object-fit: cover; background: #111; }
.dline a { font-size: var(--fs-sm); font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dline a:hover { color: var(--green); }
.dline p { font-size: var(--fs-sm); font-weight: 800; margin-top: 2px; }
.dline .add { min-width: 76px; }
.bill { display: grid; gap: var(--s2); font-size: var(--fs-sm); }
.bill div { display: flex; justify-content: space-between; }
.bill .save { color: #256fef; font-weight: 700; }
.bill .total { font-weight: 800; font-size: var(--fs-base); border-top: 1px solid var(--line-2); padding-top: var(--s2); }
.drawer__foot { padding: var(--s3) var(--s4) calc(var(--s3) + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -4px 16px rgba(0,0,0,.06); }
.checkout { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 56px; padding: 0 var(--s4); border-radius: var(--r-md); background: var(--green); color: #fff; font-weight: 800; transition: background var(--dur); }
.checkout:hover { background: var(--green-d); }
.checkout span { display: grid; text-align: left; line-height: 1.2; }
.checkout small { font-size: 11px; font-weight: 600; opacity: .9; text-transform: uppercase; }
.drawer__empty { text-align: center; padding: var(--s8) var(--s5); display: grid; justify-items: center; gap: var(--s3); }
.drawer__empty .icon { width: 48px; height: 48px; color: var(--faint); stroke-width: 1.3; }
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 85; opacity: 0; visibility: hidden; transition: opacity 220ms, visibility 0s linear 220ms; }
.scrim.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }
.cartbar { display: none; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { margin-top: var(--s8); border-top: 1px solid var(--line); padding-top: var(--s7); font-size: var(--fs-sm); color: #555; }
.footer__grid { display: grid; grid-template-columns: 1.1fr 1fr 2fr; gap: var(--s7); padding-bottom: var(--s7); }
.footer :where(h4:not(.hx),.hx-h4):not(template) { font-size: var(--fs-md); font-weight: 800; color: var(--ink); margin-bottom: var(--s3); }
.footer__links { columns: 2; column-gap: var(--s6); }
.footer__cats { columns: 3; column-gap: var(--s6); }
.footer li { padding: 4px 0; break-inside: avoid; }
.footer a:hover { color: var(--green); }
.footer__brand img { width: 140px; }
.footer__brand p { margin-top: var(--s3); max-width: 34ch; }
.social { display: flex; gap: var(--s2); margin-top: var(--s4); }
.social a { width: 36px; height: 36px; border-radius: 999px; background: var(--ink); color: #fff; display: grid; place-items: center; transition: background var(--dur); }
.social a:hover { background: var(--green); color: #fff; }
.social .icon { width: 16px; height: 16px; }
.footer__bottom { background: var(--surface-2); }
.footer__bottom .wrap { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); min-height: 60px; flex-wrap: wrap; font-size: 12px; }
.footer__bottom img { height: 22px; width: auto; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 70; width: 52px; height: 52px; border-radius: 999px; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-2); transition: transform var(--dur); }
.wa-float:hover { transform: translateY(-2px); }
.wa-float .icon { width: 26px; height: 26px; fill: currentColor; stroke: none; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); font-size: var(--fs-sm); font-weight: 600; z-index: 95; display: flex; gap: 8px; align-items: center; pointer-events: none; transition: opacity var(--dur), transform var(--dur); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast .icon { color: #7ee08f; }

/* =========================================================
   CONTENT PAGES (blog, policies, contact, cart page, search)
   ========================================================= */
.page-head { background: var(--surface); border-bottom: 1px solid var(--line-2); padding-block: var(--s5) var(--s6); }
.page-head :where(h1:not(.hx),.hx-h1):not(template) { font-size: clamp(24px, 2vw + 14px, 36px); font-weight: 800; margin-top: var(--s1); }
.page-head p { color: var(--muted); margin-top: var(--s2); max-width: 62ch; }
.crumbs--dark { padding-top: 0; }
.page-body { padding-block: var(--s7) var(--s8); }
.prose { color: #333; line-height: 1.75; max-width: 72ch; }
.prose > * + * { margin-top: var(--s4); }
.prose :where(h2:not(.hx),.hx-h2):not(template) { font-size: 22px; font-weight: 800; color: var(--ink); margin-top: var(--s7); }
.prose :where(h3:not(.hx),.hx-h3):not(template) { font-size: var(--fs-md); font-weight: 800; color: var(--ink); margin-top: var(--s5); }
.prose :where(h4:not(.hx),.hx-h4):not(template) { font-size: var(--fs-base); font-weight: 800; color: var(--ink); margin-top: var(--s4); }
.prose :where(h2:not(.hx),.hx-h2):not(template) + *, .prose :where(h3:not(.hx),.hx-h3):not(template) + *, .prose :where(h4:not(.hx),.hx-h4):not(template) + * { margin-top: var(--s2); }
.prose ul, .prose ol { padding-left: 1.3em; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 4px; }
.prose a { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.prose td, .prose th { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose td:first-child { color: var(--muted); width: 40%; background: var(--surface-2); }
.doc { display: grid; grid-template-columns: 1fr 280px; gap: var(--s8); align-items: start; }
.side-nav { position: sticky; top: calc(var(--header-h) + 64px); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s4); }
.side-nav :where(h2:not(.hx),.hx-h2):not(template) { font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s2); }
.side-nav a { display: block; padding: 8px 0; font-size: var(--fs-sm); font-weight: 600; border-bottom: 1px solid var(--line-2); }
.side-nav li:last-child a { border-bottom: 0; }
.side-nav a:hover, .side-nav a[aria-current="page"] { color: var(--green); }
.side-nav .btn { margin-top: var(--s3); }
.chips { display: flex; gap: var(--s2); flex-wrap: wrap; margin-bottom: var(--s5); }
.chip { height: 36px; padding: 0 var(--s4); border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: var(--fs-sm); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; transition: border-color var(--dur), background var(--dur); }
.chip span { color: var(--faint); font-weight: 600; font-size: 12px; }
.chip:hover { border-color: var(--text); }
.chip.is-on { background: var(--green-tint); border-color: var(--green); color: var(--green); }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.post { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff; transition: box-shadow var(--dur); }
.post:hover { box-shadow: var(--shadow-2); }
.post__img { aspect-ratio: 16/10; background: var(--surface); overflow: hidden; }
.post__img img { width: 100%; height: 100%; object-fit: cover; }
.post__meta { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin: var(--s4) var(--s4) 0; }
.post :where(h2:not(.hx),.hx-h2):not(template), .post :where(h3:not(.hx),.hx-h3):not(template) { font-size: var(--fs-md); font-weight: 800; margin: 6px var(--s4) 0; }
.post :where(h2:not(.hx),.hx-h2):not(template) a:hover, .post :where(h3:not(.hx),.hx-h3):not(template) a:hover { color: var(--green); }
.post p { color: var(--muted); font-size: var(--fs-sm); margin: var(--s2) var(--s4) var(--s4); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article { max-width: 780px; margin-inline: auto; }
.article__img { border-radius: var(--r-lg); overflow: hidden; margin-bottom: var(--s6); aspect-ratio: 16/9; background: var(--surface); }
.article__img img { width: 100%; height: 100%; object-fit: cover; }
.article .prose { max-width: none; font-size: var(--fs-md); }
.article .share { margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: start; }
.form { display: grid; gap: var(--s4); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s6); }
.form :where(h2:not(.hx),.hx-h2):not(template) { font-size: var(--fs-lg); font-weight: 800; }
.form p.note { font-size: var(--fs-sm); color: var(--muted); }
.field { display: grid; gap: 6px; }
.field label { font-size: var(--fs-sm); font-weight: 700; }
.field input, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface-2); padding: 12px 14px; font: inherit; color: var(--text); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; }
.field input:user-invalid, .field textarea:user-invalid { border-color: #c62828; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.map { border: 0; width: 100%; aspect-ratio: 16/10; border-radius: var(--r-lg); margin-top: var(--s4); background: var(--surface); }
.visit { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.visit--stack { grid-template-columns: 1fr; }
.visit__card { border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s4); }
.visit__card .icon { color: var(--green); }
.visit__card :where(h3:not(.hx),.hx-h3):not(template) { font-size: var(--fs-base); font-weight: 800; margin: var(--s2) 0 4px; }
.visit__card p, .visit__card a { font-size: var(--fs-sm); color: var(--muted); }
.visit__card a { display: block; color: var(--text); font-weight: 700; margin-top: 4px; }
.visit__card a:hover { color: var(--green); }
.cart { display: grid; grid-template-columns: 1fr 360px; gap: var(--s6); align-items: start; }
.lines { border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 var(--s4); }
.line { display: grid; grid-template-columns: 80px 1fr auto auto 40px; gap: var(--s4); align-items: center; padding: var(--s3) 0; border-bottom: 1px solid var(--line-2); }
.line:last-child { border-bottom: 0; }
.line__img { border-radius: var(--r-sm); overflow: hidden; background: #111; aspect-ratio: 1; }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__info { display: grid; gap: 2px; min-width: 0; }
.line__name { font-weight: 700; font-size: var(--fs-sm); }
.line__sku, .line__price { font-size: 12px; color: var(--muted); }
.line__total { font-weight: 800; min-width: 84px; text-align: right; }
.summary { position: sticky; top: calc(var(--header-h) + 64px); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s5); display: grid; gap: var(--s3); }
.summary :where(h2:not(.hx),.hx-h2):not(template) { font-size: var(--fs-lg); font-weight: 800; }
.summary__row { display: flex; justify-content: space-between; font-size: var(--fs-sm); color: var(--muted); }
.summary__row--total { color: var(--ink); font-weight: 800; font-size: var(--fs-base); border-top: 1px solid var(--line); padding-top: var(--s3); }
.summary .note { font-size: 12px; color: var(--muted); }
.empty-state { text-align: center; padding: var(--s9) var(--s5); display: grid; justify-items: center; gap: var(--s3); }
.empty-state .icon { width: 44px; height: 44px; color: var(--faint); stroke-width: 1.3; }
.empty-state :where(h2:not(.hx),.hx-h2):not(template) { font-size: var(--fs-lg); font-weight: 800; }
.empty-state p { color: var(--muted); max-width: 44ch; }
.search-big { display: flex; gap: var(--s2); margin-top: var(--s4); max-width: 640px; }
.search-big input { flex: 1; height: 50px; border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff; padding: 0 var(--s4); font: inherit; }
.search-big input:focus { outline: none; border-color: var(--green); }
.search-count { color: var(--muted); margin-bottom: var(--s4); }
.nf { text-align: center; padding: var(--s9) var(--gutter); }
.nf :where(h1:not(.hx),.hx-h1):not(template) { font-size: clamp(28px, 4vw, 48px); font-weight: 800; margin-top: var(--s2); }
.nf p { color: var(--muted); margin: var(--s3) auto var(--s5); max-width: 46ch; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-sm); height: 36px; }
.qty button { width: 32px; height: 100%; border: 0; background: transparent; font-size: 16px; }
.qty button:disabled { opacity: .35; }
.qty span { min-width: 26px; text-align: center; font-weight: 700; }

/* motion (kept minimal) */
.js .reveal-load > * { animation: rise 420ms var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .grid--plp { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rail { grid-auto-columns: calc((100% - 4 * var(--s3)) / 5); }
  .tiles { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .locator { display: none; }
}
@media (max-width: 980px) {
  .grid, .grid--plp { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rail { grid-auto-columns: calc((100% - 2 * var(--s3)) / 3.3); }
  .tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .promos { grid-template-columns: 1fr 1fr; }
  .promo--3 { grid-column: span 2; }
  .trust { grid-template-columns: 1fr 1fr; }
  .showroom { grid-template-columns: 1fr; }
  .showroom__img { min-height: 260px; }
  .plp { grid-template-columns: 96px minmax(0, 1fr); }
  .side a { flex-direction: column; text-align: center; gap: 4px; padding: 10px 6px; font-size: 11px; line-height: 1.2; }
  .side small { margin: 0; }
  .side img, .side .side__all { width: 52px; height: 52px; }
  .pdp { grid-template-columns: 1fr; }
  .pdp__media { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .gallery { position: static; }
  .policy-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :last-child { grid-column: span 2; }
  .doc, .contact-grid, .cart { grid-template-columns: 1fr; }
  .side-nav, .summary { position: static; }
  .posts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --header-h: 60px; }
  .header__main { grid-template-columns: auto 1fr auto; gap: var(--s3); min-height: var(--header-h); }
  .logo { border-right: 0; padding-right: 0; height: auto; }
  .logo img { width: 116px; }
  .locator { display: grid; justify-self: start; }
  .locator strong { font-size: 13px; }
  .locator span { font-size: 11px; }
  .search { grid-column: 1 / -1; grid-row: 2; margin-bottom: var(--s3); }
  .search input { height: 44px; }
  .cart-btn { display: none; }
  .header__actions .icon-btn--cart { display: inline-grid; }
  .side { top: calc(var(--header-h) + 105px); max-height: calc(100vh - var(--header-h) - 105px); }
  .cartbar { display: flex; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 75; justify-content: space-between; align-items: center; min-height: 56px; padding: 0 var(--s4); border-radius: var(--r-md); background: var(--green); color: #fff; font-weight: 800; box-shadow: var(--shadow-3); transform: translateY(140%); transition: transform 260ms var(--ease); }
  .cartbar.is-on { transform: none; }
  .cartbar span { display: flex; align-items: center; gap: var(--s2); }
  .cartbar small { display: block; font-size: 11px; font-weight: 600; opacity: .9; }
  body.has-cart .wa-float { bottom: 84px; }
  .pdp-page .cartbar { display: none; }
  .mbar { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); position: fixed; left: 0; right: 0; bottom: 0; z-index: 75; background: #fff; border-top: 1px solid var(--line); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(0,0,0,.08); }
  .mbar b { font-size: var(--fs-lg); }
  .mbar small { display: block; font-size: 11px; color: var(--muted); }
  .pdp-page .wa-float { bottom: 88px; }
  .pdp-page .footer { padding-bottom: 80px; }
}
@media (min-width: 761px) { .icon-btn--cart { display: none !important; } }
@media (max-width: 600px) {
  .grid, .grid--plp { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); }
  .plp__main { padding: var(--s2); }
  .rail { grid-auto-columns: 42%; gap: var(--s2); }
  .rail-arrow { display: none; }
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3) var(--s2); }
  .promos { grid-template-columns: 82%; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .promo { scroll-snap-align: start; min-height: 170px; }
  .promo--3 { grid-column: auto; }
  .trust { grid-template-columns: 1fr; }
  .card { padding: var(--s2); }
  .card__badge { top: var(--s2); left: var(--s2); }
  .add { min-width: 64px; height: 32px; }
  .section { padding-block: var(--s5); }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__grid > :last-child { grid-column: auto; }
  .footer__cats { columns: 2; }
  .posts { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .line { grid-template-columns: 64px 1fr 36px; grid-template-areas: "img info rm" "img qty total"; row-gap: var(--s2); }
  .line__img { grid-area: img; } .line__info { grid-area: info; } .line__rm { grid-area: rm; }
  .line .qty { grid-area: qty; justify-self: start; } .line__total { grid-area: total; min-width: 0; }
  .visit { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
}

/* mobile fixes */
.locator span, .locator strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 760px) {
  .header__main { grid-template-columns: auto minmax(0, 1fr) auto; }
  .header__actions { gap: 0; }
}
@media (max-width: 420px) { .locator span { display: none; } }
@media (max-width: 600px) {
  .plp .card__foot { flex-direction: column; align-items: stretch; gap: var(--s2); }
  .plp .add { width: 100%; min-width: 0; }
  .plp__head { padding: var(--s3); }
  .plp__head .sort { font-size: 0; gap: 0; }
  .plp__head .sort select { font-size: 12px; }
  .card__title { font-size: 12px; }
}
.home-h1 { font-size: var(--fs-md); font-weight: 800; margin-top: var(--s4); color: var(--ink); }
@media (max-width: 600px) { .home-h1 { font-size: 15px; } }

/* ---------- mobile polish (360–420px) ---------- */
.icon-btn--wa { display: none; color: #1fa855; }
.icon-btn--wa .icon { fill: currentColor; stroke: none; width: 22px; height: 22px; }
@media (max-width: 760px) {
  .icon-btn--wa { display: inline-grid; }
  .wa-float { display: none; }                       /* WhatsApp lives in the header on phones; nothing floats over products */
  body.has-cart main, body.has-cart .footer { scroll-margin-bottom: 90px; }
  body.has-cart .footer { padding-bottom: 84px; }
  .pdp-page .footer { padding-bottom: 84px; }
  .catbar__link { height: 42px; padding: 0 12px; }
  .home-h1 { margin-top: var(--s3); }
  .banners { margin-top: var(--s3); }
  .banners__track { border-radius: var(--r-md); }
}
@media (max-width: 480px) {
  .locator { display: none; }
  .header__main { grid-template-columns: auto 1fr auto; }
  .header__actions { justify-self: end; }
  .logo img { width: 124px; }
  /* promo cards: compact slider */
  .promos { grid-auto-columns: 78%; gap: var(--s3); }
  .promo { min-height: 142px; padding: var(--s4); }
  .promo :where(h3:not(.hx),.hx-h3):not(template) { font-size: 17px; }
  .promo p { font-size: 12px; }
  .promo__copy { max-width: 64%; gap: 6px; }
  .promo .btn { min-height: 32px; font-size: 12px; padding: 0 12px; }
  .promo__img { width: 40%; right: -6px; bottom: -6px; }
  .tiles { gap: var(--s3) var(--s2); }
  .tile span { font-size: 11px; }
  .section-head :where(h2:not(.hx),.hx-h2):not(template) { font-size: 20px; }
  .section-head { margin-bottom: var(--s3); }
  /* listing: narrow side rail, compact head */
  .plp { grid-template-columns: 74px minmax(0, 1fr); border: 0; }
  .side a { padding: 8px 4px; font-size: 10.5px; }
  .side img, .side .side__all { width: 46px; height: 46px; }
  .side small { font-size: 10px; }
  .plp__main { padding: 6px; }
  .plp__head { flex-wrap: nowrap; padding: 8px 10px; margin-bottom: 6px; gap: 8px; }
  .plp__head :where(h1:not(.hx),.hx-h1):not(template) { font-size: 15px; line-height: 1.2; }
  .plp__head p { font-size: 11px; }
  .plp__head .sort select { height: 32px; padding: 0 26px 0 8px; font-size: 11px; max-width: 112px; }
  .plp__head .sort .icon { right: 6px; width: 14px; }
  .fchips { margin-bottom: 6px; }
  .fchip { height: 30px; font-size: 11px; padding: 0 10px; }
  .grid--plp { gap: 6px; }
  .plp .card { padding: 6px; border-radius: 10px; }
  .plp .card__body { padding-top: 6px; }
  .plp .card__tag { font-size: 9px; padding: 2px 5px; }
  .plp .card__title { font-size: 12px; margin-top: 4px; }
  .plp .card__size { font-size: 11px; min-height: 0; }
  .plp .card__foot { padding-top: 6px; gap: 6px; }
  .plp .card__price { font-size: 12px; }
  .plp .add { height: 30px; }
  .card__badge { font-size: 9px; padding: 4px 5px; }
  .card__wish { width: 28px; height: 28px; top: 12px; right: 12px; }
  .plp .card__wish { top: 10px; right: 10px; }
  .plp-top { padding-block: 6px; }
  .crumbs { font-size: 11px; }
  /* product page */
  .pdp { border: 0; border-radius: 0; }
  .pdp__media { padding: 0 0 var(--s3); }
  .pdp__info { padding: var(--s4) 0; }
  .pdp__buy .add--lg { flex: 1; }
  .pdp__buy .btn--wa { flex: 1; min-height: 48px; padding: 0 12px; font-size: 13px; }
  .details { padding: var(--s4); }
  .cartbar { left: 8px; right: 8px; min-height: 52px; }
}
@media (max-width: 480px) { .pdp__buy .add--lg, .pdp__buy .btn--wa { flex: 1 1 0; min-width: 0; } }
/* buttons inside the help sidebar must not inherit the plain link style */
.side-nav .btn { display: flex; align-items: center; justify-content: center; gap: var(--s2); padding: 0 var(--s4); min-height: 46px; border-bottom: 0; font-weight: 700; }
.side-nav .btn .icon { width: 18px; height: 18px; }
.side-nav .btn--primary, .side-nav .btn--primary:hover { color: #fff; }
.side-nav .btn--wa, .side-nav .btn--wa:hover { color: #0b3d1f; }
.btn--wa .icon { fill: currentColor; stroke: none; }

/* =========================================================
   ACCOUNT + CHECKOUT (design phase)
   ========================================================= */
.icon-btn.is-in { color: var(--green); }
.auth-wrap { background: var(--surface); padding-block: var(--s7) var(--s8); }
.auth { display: grid; grid-template-columns: 1fr 1fr; max-width: 980px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-1); }
.auth--wide { grid-template-columns: .8fr 1.2fr; max-width: 1100px; }
.auth--narrow { grid-template-columns: 1fr; max-width: 480px; }
.auth__aside { position: relative; background: var(--ink); color: #fff; min-height: 420px; }
.auth__aside img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.auth__aside-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--s6); background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.auth__aside :where(h2:not(.hx),.hx-h2):not(template) { font-size: 24px; font-weight: 800; }
.auth__aside ul { margin-top: var(--s3); display: grid; gap: 6px; font-size: var(--fs-sm); }
.auth__aside li { display: flex; gap: 8px; align-items: center; }
.auth__aside li .icon { width: 16px; height: 16px; color: #7ee08f; }
.auth__form { padding: clamp(24px, 4vw, 44px); display: grid; gap: var(--s4); align-content: start; }
.auth__form :where(h1:not(.hx),.hx-h1):not(template) { font-size: 28px; font-weight: 800; margin-top: -8px; }
.auth__sub { color: var(--muted); font-size: var(--fs-sm); margin-top: -8px; }
.auth__row { display: flex; justify-content: space-between; align-items: center; font-size: var(--fs-sm); }
.auth__row a, .auth__alt a, .tick a { color: var(--green); font-weight: 700; }
.auth__alt { text-align: center; font-size: var(--fs-sm); color: var(--muted); }
.auth__or { display: flex; align-items: center; gap: var(--s3); color: var(--muted); font-size: 12px; }
.auth__or::before, .auth__or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.tick { display: flex; gap: 8px; align-items: flex-start; font-size: var(--fs-sm); cursor: pointer; }
.tick input { width: 18px; height: 18px; accent-color: var(--green); margin: 1px 0 0; flex: none; }
.pw { position: relative; }
.pw input { padding-right: 64px; }
.pw__toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--green); font-weight: 700; font-size: 12px; padding: 8px; }
.field select { width: 100%; height: 46px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface-2); padding: 0 12px; font: inherit; color: var(--text); }
.field select:focus { outline: none; border-color: var(--green); background: #fff; }
.form-err { background: #fdecea; color: #a1281b; border-radius: var(--r-sm); padding: 10px 12px; font-size: var(--fs-sm); font-weight: 600; }
.form-ok { display: flex; gap: 8px; align-items: flex-start; background: var(--green-tint); color: var(--green-d); border-radius: var(--r-sm); padding: 10px 12px; font-size: var(--fs-sm); font-weight: 600; }
.form-ok .icon { width: 18px; height: 18px; flex: none; }

.co { background: var(--surface); padding-block: var(--s5) var(--s8); min-height: 70vh; }
.steps { display: flex; gap: var(--s2); margin-bottom: var(--s5); overflow-x: auto; scrollbar-width: none; }
.steps__i { flex: none; display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 700; color: var(--faint); }
.steps__i + .steps__i::before { content: ""; width: 28px; height: 2px; background: var(--line); margin-right: 4px; }
.steps__i span { width: 26px; height: 26px; border-radius: 999px; display: grid; place-items: center; border: 2px solid var(--line); background: #fff; font-size: 12px; }
.steps__i span .icon { width: 14px; height: 14px; stroke-width: 3; }
.steps__i.on { color: var(--ink); } .steps__i.on span { border-color: var(--green); color: var(--green); }
.steps__i.done { color: var(--green); } .steps__i.done span { background: var(--green); border-color: var(--green); color: #fff; }
.co__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: var(--s5); align-items: start; }
.co__main { display: grid; gap: var(--s4); }
.co__box { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s5); }
.co__box :where(h2:not(.hx),.hx-h2):not(template) { font-size: var(--fs-md); font-weight: 800; display: flex; align-items: center; gap: var(--s3); }
.co__box-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); margin-bottom: var(--s4); }
.co__n { width: 26px; height: 26px; border-radius: 999px; background: var(--ink); color: #fff; display: inline-grid; place-items: center; font-size: 12px; }
.link-btn { border: 0; background: transparent; color: var(--green); font-weight: 800; font-size: var(--fs-sm); padding: 4px; }
.link-btn:hover { text-decoration: underline; }
.addr-card { display: grid; gap: 2px; font-size: var(--fs-sm); color: #444; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--r-md); padding: var(--s4); }
.addr-card b { color: var(--ink); font-size: var(--fs-base); }
.co__addr-form { display: grid; gap: var(--s4); }
.co__form-actions { display: flex; gap: var(--s2); flex-wrap: wrap; }
.zone { margin-top: var(--s3); font-size: 12px; color: var(--muted); }
.zone b { color: var(--green-d); }
.secure { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--green-d); }
.secure .icon { width: 14px; height: 14px; }
.pay { display: grid; gap: var(--s2); }
.pay__opt { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: var(--s3); padding: var(--s4); border: 1.5px solid var(--line); border-radius: var(--r-md); cursor: pointer; transition: border-color var(--dur), background var(--dur); }
.pay__opt:hover { border-color: #c8c8c8; }
.pay__opt:has(input:checked) { border-color: var(--green); background: var(--green-tint); }
.pay__opt input { width: 18px; height: 18px; accent-color: var(--green); margin: 0; }
.pay__opt.is-off { opacity: .55; cursor: not-allowed; }
.pay__ic .icon { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.pay__txt { display: grid; line-height: 1.3; }
.pay__txt b { font-size: var(--fs-base); }
.pay__txt small { font-size: 12px; color: var(--muted); }
.pay__tags { display: flex; gap: 4px; }
.pay__tags i { font-style: normal; font-size: 10px; font-weight: 800; padding: 3px 6px; border-radius: 4px; background: #fff; border: 1px solid var(--line); color: #555; }
.co__items { display: grid; }
.co__items li { display: grid; grid-template-columns: 56px 1fr auto; gap: var(--s3); align-items: center; padding: var(--s2) 0; border-bottom: 1px solid var(--line-2); }
.co__items li:last-child { border-bottom: 0; }
.co__items img { width: 56px; height: 56px; border-radius: var(--r-sm); object-fit: cover; background: #111; }
.co__items a { font-size: var(--fs-sm); font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.co__items small { display: block; font-size: 12px; color: var(--muted); }
.co__items b { font-size: var(--fs-sm); }
.co__side { position: sticky; top: calc(var(--header-h) + 64px); display: grid; gap: var(--s3); }
.co__side .summary { position: static; background: #fff; }
.summary .save { color: #256fef; font-weight: 700; }
.summary small { color: var(--faint); font-weight: 500; }
.summary .note a { color: var(--green); font-weight: 700; }
.co__trust { display: grid; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s4); font-size: 12px; color: #444; }
.co__trust li { display: flex; gap: 8px; align-items: center; }
.co__trust .icon { width: 16px; height: 16px; color: var(--green); }
.paying { position: fixed; inset: 0; z-index: 120; background: rgba(0,0,0,.55); display: grid; place-items: center; }
.paying__box { background: #fff; border-radius: var(--r-lg); padding: var(--s6) var(--s7); display: grid; justify-items: center; gap: 6px; text-align: center; }
.paying__box small { color: var(--muted); }
.spinner { width: 34px; height: 34px; border-radius: 999px; border: 3px solid var(--green-tint); border-top-color: var(--green); animation: spin .8s linear infinite; margin-bottom: 6px; }
@keyframes spin { to { transform: rotate(360deg); } }
.done__head { display: flex; gap: var(--s4); align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s5); }
.done__head :where(h1:not(.hx),.hx-h1):not(template) { font-size: clamp(20px, 2vw + 10px, 28px); font-weight: 800; }
.done__head p { color: var(--muted); }
.done__tick { width: 56px; height: 56px; border-radius: 999px; background: var(--green); color: #fff; display: grid; place-items: center; flex: none; }
.done__tick .icon { width: 30px; height: 30px; stroke-width: 3; }
.done__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin-top: var(--s4); }
.done__actions { display: flex; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s5); }
.timeline { display: grid; gap: var(--s4); margin-top: var(--s4); border-left: 2px solid var(--line); padding-left: var(--s5); }
.timeline li { position: relative; display: grid; font-size: var(--fs-sm); }
.timeline li::before { content: ""; position: absolute; left: calc(-1 * var(--s5) - 7px); top: 3px; width: 12px; height: 12px; border-radius: 999px; background: #fff; border: 2px solid var(--line); }
.timeline li.on::before { background: var(--green); border-color: var(--green); }
.timeline span { color: var(--muted); font-size: 12px; }
.bill { margin-top: var(--s3); display: grid; gap: 6px; }
.acct { display: grid; grid-template-columns: 240px 1fr; gap: var(--s6); align-items: start; }
.acct__nav { display: grid; gap: 4px; border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s2); position: sticky; top: calc(var(--header-h) + 64px); }
.acct__nav button, .acct__nav a { display: flex; align-items: center; gap: var(--s3); border: 0; background: transparent; text-align: left; padding: 10px 12px; border-radius: var(--r-sm); font-weight: 700; font-size: var(--fs-sm); color: #444; }
.acct__nav button:hover, .acct__nav a:hover { background: var(--surface-2); }
.acct__nav .is-on { background: var(--green-tint); color: var(--green-d); }
.acct__nav .icon { width: 18px; height: 18px; }
.acct__h { font-size: var(--fs-lg); font-weight: 800; margin-bottom: var(--s4); }
.orders { display: grid; gap: var(--s3); }
.order { border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s4); display: grid; gap: var(--s3); }
.order__head { display: flex; justify-content: space-between; gap: var(--s3); align-items: flex-start; flex-wrap: wrap; }
.order__head small { display: block; color: var(--muted); font-size: 12px; }
.order__thumbs { display: flex; gap: 6px; }
.order__thumbs img { width: 56px; height: 56px; border-radius: var(--r-sm); object-fit: cover; background: #111; }
.order__foot { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); flex-wrap: wrap; font-size: var(--fs-sm); color: var(--muted); }
.order__foot b { color: var(--ink); }
.pill { font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.pill--green { background: var(--green-tint); color: var(--green-d); }
.pill--amber { background: var(--yellow-tint); color: #8a6100; }
.form :where(h3:not(.hx),.hx-h3):not(template) { font-size: var(--fs-base); font-weight: 800; }
/* rail cards on phones: stack price over ADD so they never overlap */
@media (max-width: 600px) { .rail .card__foot { flex-direction: column; align-items: stretch; gap: 6px; } .rail .add { width: 100%; min-width: 0; } }
@media (max-width: 980px) {
  .co__grid, .done__grid, .acct { grid-template-columns: 1fr; }
  .co__side, .acct__nav { position: static; }
  .acct__nav { grid-auto-flow: column; overflow-x: auto; }
  .auth, .auth--wide { grid-template-columns: 1fr; }
  .auth__aside { display: none; }
}
@media (max-width: 480px) {
  .pay__opt { grid-template-columns: auto auto 1fr; }
  .pay__tags { display: none; }
  .co__box { padding: var(--s4); }
  .auth-wrap { padding-block: var(--s4); }
  .auth { border-radius: var(--r-lg); }
}
.co-page .cartbar { display: none !important; }
@media (max-width: 480px) {
  .steps__i:not(.on) { font-size: 0; gap: 0; }
  .steps__i + .steps__i::before { width: 16px; }
  .co__box :where(h2:not(.hx),.hx-h2):not(template) { font-size: 15px; }
  .secure { display: none; }
}
/* enquiry button (price on request) behaves exactly like the ADD control */
a.add { display: block; text-decoration: none; }
.add__btn--enq { display: grid; place-items: center; letter-spacing: .02em; white-space: nowrap; }
.add--lg .add__btn--enq { background: var(--green); color: #fff; }
.add--lg .add__btn--enq:hover { background: var(--green-d); }
.pdp__buy > .add--lg { height: 48px; }
.mbar .add { flex: none; min-width: 128px; height: 46px; }
@media (max-width: 480px) { .pdp__buy > a.add--lg { flex: 1 1 0; } }
.footer__h { font-size: var(--fs-md); font-weight: 800; color: var(--ink); margin-bottom: var(--s3); }
.co__title { font-size: clamp(22px, 2vw + 12px, 28px); font-weight: 800; margin-bottom: var(--s3); }
/* infinite scroll loader */
.more-wrap { min-height: 56px; }
.more-btn { border-color: transparent; background: transparent; color: var(--muted); }
.more-btn:hover { color: var(--green); border-color: var(--line); background: #fff; }
.more-btn__spin, .more-btn__load { display: none; }
.more-btn.is-loading .more-btn__txt { display: none; }
.more-btn.is-loading .more-btn__load { display: inline; }
.more-btn.is-loading .more-btn__spin { display: inline-block; width: 18px; height: 18px; border-radius: 999px; border: 2px solid var(--green-tint); border-top-color: var(--green); animation: spin .7s linear infinite; }

/* =========================================================
   MAIN MENU: all categories + per-category dropdowns
   ========================================================= */
.catbar { position: relative; }
.catbar__list { align-items: stretch; }
.catbar__item { flex: none; display: flex; }
.catbar a.catbar__link { flex: none; }
.catbar__all { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 14px 0 0; margin-right: 6px; border: 0; border-right: 1px solid var(--line); background: transparent; font-weight: 800; font-size: var(--fs-sm); color: var(--ink); }
.catbar__all .icon { width: 18px; height: 18px; }
.catbar__all:hover, .catbar__all[aria-expanded="true"] { color: var(--green); }
/* dropdown (desktop hover) — positioned against .catbar so the scrolling strip never clips it */
.dd { position: absolute; left: 0; right: 0; top: 100%; z-index: 55; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-2); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 160ms var(--ease), transform 160ms var(--ease), visibility 0s linear 160ms; }
.dd__in { display: grid; grid-template-columns: 1fr 220px; gap: var(--s6); padding-block: var(--s5) var(--s6); max-height: min(70vh, 560px); overflow-y: auto; }
.dd__cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: var(--s4) var(--s6); align-content: start; }
.dd__col ul { display: grid; gap: 2px; }
.dd__col li a { display: block; padding: 4px 0; font-size: var(--fs-sm); color: #444; }
.dd__col li a:hover { color: var(--green); }
.dd__h { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--ink); padding-bottom: 6px; margin-bottom: 6px; border-bottom: 1px solid var(--line-2); }
a.dd__h:hover { color: var(--green); }
.dd__h small { color: var(--faint); font-weight: 600; letter-spacing: 0; }
.dd__all { align-self: start; display: grid; gap: var(--s2); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s3); transition: border-color var(--dur); }
.dd__all:hover { border-color: var(--green); }
.dd__all img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); background: #111; }
.dd__all span { display: grid; }
.dd__all small { color: var(--muted); font-size: 12px; }
@media (hover: hover) and (min-width: 981px) {
  .catbar__item:hover .dd, .catbar__item:focus-within .dd { opacity: 1; visibility: visible; transform: none; transition-delay: 120ms, 120ms, 0s; }
  .catbar__item:hover .catbar__link { color: var(--green); border-bottom-color: var(--green); }
}
@media (max-width: 980px) { .dd { display: none; } }
/* all-categories panel */
.allcats { position: absolute; left: 0; right: 0; top: 100%; z-index: 58; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-3); max-height: calc(100vh - var(--header-h) - 60px); overflow-y: auto; }
.allcats__bar { display: flex; justify-content: space-between; align-items: center; padding-block: var(--s3); }
.allcats__bar :where(h2:not(.hx),.hx-h2):not(template) { font-size: var(--fs-lg); font-weight: 800; }
.allcats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5); padding-bottom: var(--s6); }
.allcats__cat { display: grid; gap: var(--s3); align-content: start; background: var(--surface-2); border-radius: var(--r-md); padding: var(--s4); }
.allcats__head { display: flex; align-items: center; gap: var(--s3); font-weight: 800; font-size: var(--fs-base); }
.allcats__head img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; background: #111; }
.allcats__head span { display: grid; line-height: 1.2; }
.allcats__head small { color: var(--muted); font-weight: 600; font-size: 12px; }
a.allcats__head:hover { color: var(--green); }
body.allcats-open .dd { display: none; }
@media (max-width: 980px) { .allcats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .allcats { position: fixed; inset: 0; z-index: 130; max-height: none; }
  .allcats__bar { position: sticky; top: 0; background: #fff; border-bottom: 1px solid var(--line); z-index: 1; }
  .allcats__grid { grid-template-columns: 1fr; padding-top: var(--s3); }
  body.allcats-open { overflow: hidden; }
}

/* WhatsApp on phones: small, above the cart bar / product price bar */
@media (max-width: 760px) {
  .wa-float { display: grid; width: 46px; height: 46px; right: 12px; bottom: 16px; }
  .wa-float .icon { width: 24px; height: 24px; }
  body.has-cart .wa-float { bottom: 80px; }
  .pdp-page .wa-float { bottom: 84px; }
  .co-page .wa-float, body.allcats-open .wa-float { display: none; }
}
/* footer: categories grouped by main category */
.footer__grid { grid-template-columns: 1fr .9fr 2.4fr; }
.fgroups { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--s5) var(--s5); }
.fgroup__h { display: block; font-weight: 800; color: var(--ink); font-size: var(--fs-sm); margin-bottom: 6px; }
a.fgroup__h:hover { color: var(--green); }
.fgroup ul { display: grid; gap: 2px; }
.fgroup li { padding: 2px 0; }
.fgroup li a { color: #666; font-size: 13px; }
@media (max-width: 600px) { .fgroups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.footer__links { columns: 1; }
.dd .dd__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: row dense; }
.dd .dd__col { grid-column: span var(--span, 1); }
.dd .dd__col ul { display: block; columns: var(--cols, 1); column-gap: var(--s6); }
.dd .dd__col li { break-inside: avoid; }
.allcats .dd__col ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s3); }
.allcats__cat .dd__col li a { padding: 3px 0; }
/* top utility bar */
.topbar { background: var(--ink); color: #d6d6d6; font-size: 12px; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); min-height: 34px; }
.topbar__links { display: flex; align-items: center; gap: var(--s5); }
.topbar a { color: #e9e9e9; transition: color var(--dur); }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar__phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.topbar__phone .icon { width: 14px; height: 14px; }
@media (max-width: 760px) {
  .topbar__msg, .tb-hide-sm { display: none; }
  .topbar__in { justify-content: center; min-height: 30px; }
  .topbar__links { gap: var(--s4); }
}
/* footer responsive (must come after the 3-column desktop rule) */
@media (max-width: 980px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :last-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer__grid { grid-template-columns: minmax(0, 1fr); } .footer__grid > :last-child { grid-column: auto; } .fgroups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- custom select arrow (all screen sizes) ---------- */
.field select, .sort select {
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23444' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
  padding-right: 40px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; min-width: 0;
}
.sort .icon { display: none; }
.field, .form__row > .field { min-width: 0; }

/* ---------- simplified checkout ---------- */
.co__top { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; margin-bottom: var(--s4); }
.co__top .co__title, .co__top .steps { margin: 0; }
.field label small { color: var(--faint); font-weight: 500; }
.summary__head { display: flex; justify-content: space-between; align-items: center; }
.co__items--mini { border-bottom: 1px solid var(--line-2); padding-bottom: var(--s2); margin-bottom: var(--s2); max-height: 260px; overflow-y: auto; }
.co__items--mini li { grid-template-columns: 44px 1fr auto; }
.co__items--mini img { width: 44px; height: 44px; }
.pay__opt { grid-template-columns: auto 1fr; padding: var(--s3) var(--s4); }
.mpay { display: none; }
@media (max-width: 760px) {
  .mpay { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); position: fixed; left: 0; right: 0; bottom: 0; z-index: 76; background: #fff; border-top: 1px solid var(--line); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(0,0,0,.08); }
  .mpay[hidden] { display: none; }
  .mpay b { font-size: var(--fs-lg); }
  .mpay small { display: block; font-size: 11px; color: var(--muted); }
  .mpay .btn { flex: 1; max-width: 220px; }
  .co-page .footer { padding-bottom: 80px; }
  .co__side [data-place] { display: none; }
}
.co__addr-form textarea, .auth__form textarea { min-height: 72px; }
/* menu panels: compact lists, cards only as tall as their content */
.allcats__grid { align-items: start; }
.allcats__cat { gap: var(--s2); }
.allcats__head { padding-bottom: var(--s2); border-bottom: 2px solid var(--line); }
.allcats__head span { font-size: var(--fs-md); }
.allcats .dd__col { margin-top: var(--s2); }
.allcats .dd__col ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s3); }
.allcats__cat .dd__col li a, .dd .dd__col li a { display: block; padding: 5px 0; font-size: var(--fs-sm); line-height: 1.35; color: #444; }
.allcats__cat .dd__col li a:hover, .dd .dd__col li a:hover { color: var(--green); }
.dd__all { grid-template-columns: 1fr; padding: var(--s4); background: var(--surface-2); }

/* ---------- factory section + video popup ---------- */
.showroom--rev { grid-template-columns: 1fr 1.15fr; }
.showroom--rev .showroom__img { order: 2; }
.factory__media { background: #111; }
.factory__loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.factory__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 999px; padding: 10px 18px 10px 10px; background: rgba(255,255,255,.95); color: var(--ink); font-weight: 800; font-size: var(--fs-sm); box-shadow: var(--shadow-3); transition: transform var(--dur), background var(--dur); }
.factory__play .icon { width: 40px; height: 40px; padding: 11px; border-radius: 999px; background: var(--green); color: #fff; }
.factory__play:hover { transform: translate(-50%, -50%) scale(1.04); background: #fff; }
.showroom__ctas .btn .icon[aria-hidden] { flex: none; }
.vmodal { position: fixed; inset: 0; z-index: 150; background: rgba(0,0,0,.82); display: grid; place-items: center; padding: var(--s4); }
.vmodal[hidden] { display: none; }
.vmodal__box { position: relative; width: min(960px, 100%); }
.vmodal__video { display: block; width: 100%; height: auto; aspect-ratio: 848 / 478; background: #000; border-radius: var(--r-md); }
.vmodal__close { position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border-radius: 999px; border: 0; background: #fff; color: var(--ink); display: grid; place-items: center; }
.vmodal__close:hover { background: var(--surface-2); }
@media (max-width: 980px) {
  .showroom--rev { grid-template-columns: 1fr; }
  .showroom--rev .showroom__img { order: 0; }
}
@media (max-width: 480px) {
  .factory__play span { display: none; }
  .factory__play { padding: 6px; }
}
.credit a { font-weight: 700; color: var(--ink); } .credit a:hover { color: var(--green); }
@media (max-width: 600px) { .footer__bottom .wrap { justify-content: center; text-align: center; gap: 6px; padding-block: var(--s3); } }

/* CMS: heading level can change without changing the look (H1–H6 selector in the admin) */
:where(.hx-h1){font-size:2em;font-weight:700}:where(.hx-h2){font-size:1.5em;font-weight:700}:where(.hx-h3){font-size:1.17em;font-weight:700}
:where(.hx-h4){font-weight:700}:where(.hx-h5){font-size:.83em;font-weight:700}:where(.hx-h6){font-size:.67em;font-weight:700}
.hide-mobile{} @media (max-width:760px){.hide-mobile{display:none!important}}
/* CMS content block + FAQ */
.cms-prose .prose{margin-inline:auto}.cms-prose--plain .prose{max-width:none;margin:0}
.faq__head{text-align:center;max-width:720px;margin:0 auto var(--s6)}.faq__head p{color:var(--muted);margin-top:var(--s2)}
.faq__list{max-width:820px;margin:0 auto;display:grid;gap:10px}
.faq-item{border:1px solid var(--line);border-radius:var(--r-md);background:#fff}
.faq-item summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;cursor:pointer}
.faq-item summary::-webkit-details-marker{display:none}
.faq-q{font-size:var(--fs-base);font-weight:700;margin:0}
.faq-ic{flex:none;width:26px;height:26px;border-radius:50%;border:1px solid var(--line);position:relative}
.faq-ic::before,.faq-ic::after{content:"";position:absolute;left:50%;top:50%;width:11px;height:2px;background:var(--green);transform:translate(-50%,-50%)}
.faq-ic::after{transform:translate(-50%,-50%) rotate(90deg);transition:transform .2s}
.faq-item[open] .faq-ic::after{transform:translate(-50%,-50%)}
.faq-item[open] summary .faq-q,.faq-item summary:hover .faq-q{color:var(--green)}
.faq-a{padding:0 16px 16px}
