/* ==========================================================================
   Artixtra v2 — store-first design
   Tokens → base → header → sections → product page → cart → utilities
   ========================================================================== */

:root {
  /* colour — brand red from the logo, warm paper neutrals, paint tints for categories */
  --red: #B3121B;
  --red-dk: #8E0E15;
  --red-50: #FCEDEC;
  --ink: #1F1B18;
  --ink-2: #4A433D;
  --muted: #7A7169;
  --line: #E9E3DB;
  --paper: #FAF7F2;
  --cream: #F4EDE2;
  --white: #FFFFFF;
  --green: #1E7A4F;
  --green-50: #E8F4EE;

  --t-ochre: #FBEFD5;
  --t-sky: #E4EEF8;
  --t-sage: #E6F0E6;
  --t-rose: #F9E6E4;
  --t-lilac: #EEE8F6;
  --t-sand: #F3ECE1;

  /* type */
  --f-head: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* spacing (4px base) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;

  /* radius + elevation */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(31, 27, 24, .06);
  --sh-2: 0 6px 20px -6px rgba(31, 27, 24, .14);
  --sh-3: 0 24px 60px -18px rgba(31, 27, 24, .28);

  /* motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur-1: 160ms;
  --dur-2: 260ms;
  --dur-3: 420ms;

  --wrap: 1240px;
  --hdr-h: 72px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 16px/1.6 var(--f-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.12; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico--sm { width: 18px; height: 18px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  border: 1.5px solid transparent; border-radius: var(--r-pill);
  font: 600 15px/1 var(--f-body); white-space: nowrap;
  background: var(--red); color: var(--white);
  transition: background var(--dur-1), transform var(--dur-1) var(--ease-out), box-shadow var(--dur-2);
}
.btn:hover { background: var(--red-dk); box-shadow: 0 10px 24px -10px rgba(179, 18, 27, .6); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; pointer-events: none; }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); box-shadow: none; }
.btn--ink { background: var(--ink); }
.btn--ink:hover { background: #000; box-shadow: none; }
.btn--wa { background: #1FA855; }
.btn--wa:hover { background: #178a45; box-shadow: 0 10px 24px -10px rgba(31, 168, 85, .6); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { background: var(--cream); box-shadow: none; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }

.link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--red);
}
.link .ico { transition: transform var(--dur-2) var(--ease-out); }
.link:hover .ico { transform: translateX(4px); }

/* ---------- announcement bar ---------- */
.ann { background: var(--ink); color: #EDE6DC; font-size: 13px; }
.ann__in { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 38px; }
.ann__msgs { display: flex; gap: var(--s5); }
.ann__msgs span { display: inline-flex; align-items: center; gap: 8px; }
.ann__msgs .ico { width: 16px; height: 16px; color: #F2B33D; }
.ann a { font-weight: 600; color: var(--white); }
.ann a:hover { text-decoration: underline; }

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.hdr__in { display: flex; align-items: center; gap: var(--s5); height: var(--hdr-h); }
.hdr__logo img { height: 44px; width: auto; }
.search {
  flex: 1; max-width: 560px; margin-inline: auto;
  display: flex; align-items: center; gap: 10px;
  height: 48px; padding: 0 6px 0 18px;
  border: 1.5px solid var(--line); border-radius: var(--r-pill);
  background: var(--paper);
  transition: border-color var(--dur-1), background var(--dur-1);
}
.search:focus-within { border-color: var(--ink); background: var(--white); }
.search .ico { color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 15px; outline: none; color: var(--ink); }
.search input::placeholder { color: var(--muted); }
.search button { height: 36px; padding: 0 16px; border: 0; border-radius: var(--r-pill); background: var(--ink); color: var(--white); font-size: 14px; font-weight: 600; }
.search button:hover { background: var(--red); }

.hdr__acts { display: flex; align-items: center; gap: 4px; }
.hbtn {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 12px;
  border: 0; background: none; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 500;
  transition: background var(--dur-1);
}
.hbtn:hover { background: var(--paper); }
.hbtn small { display: block; font-size: 11px; color: var(--muted); line-height: 1.1; }
.hbtn b { display: block; font-weight: 600; line-height: 1.2; }
.hbtn__txt { text-align: left; }
.hbtn--cart { background: var(--red-50); color: var(--red-dk); }
.hbtn--cart:hover { background: #F8DCDA; }
.badge {
  position: absolute; top: 4px; left: 26px;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: var(--r-pill); background: var(--red); color: var(--white);
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
  transition: transform var(--dur-2) var(--ease-out);
}
.badge.is-bump { animation: bump var(--dur-3) var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.35); } }
.burger { display: none; }

.cnav { border-top: 1px solid var(--line); }
.cnav__in { display: flex; align-items: center; gap: 4px; height: 50px; overflow-x: auto; scrollbar-width: none; }
.cnav__in::-webkit-scrollbar { display: none; }
.cnav a {
  flex: none; padding: 8px 14px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  transition: background var(--dur-1), color var(--dur-1);
}
.cnav a:hover { background: var(--paper); color: var(--ink); }
.cnav a.is-on { color: var(--ink); font-weight: 600; }
.cnav a.cnav__hot { margin-left: auto; color: var(--red); font-weight: 600; background: var(--red-50); }

/* ---------- hero ---------- */
.hero { padding: var(--s5) 0 0; }
.hero__card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: var(--s6);
  padding: clamp(28px, 5vw, 64px);
  border-radius: var(--r-lg);
  background: var(--cream);
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: var(--r-pill);
  background: var(--white); font-size: 13px; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--sh-1);
}
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-50); }
.hero h1 { margin: 20px 0 16px; font-size: clamp(38px, 5.4vw, 68px); font-weight: 700; letter-spacing: -.035em; }
.hero h1 span { color: var(--red); }
.hero__sub { max-width: 46ch; font-size: 18px; color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; padding: 0; list-style: none; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.hero__facts li { display: inline-flex; align-items: center; gap: 7px; }
.hero__facts .ico { width: 18px; height: 18px; color: var(--green); stroke-width: 2.4; }

/* collage of real customer paintings — "canvases on a wall" */
.collage { position: relative; aspect-ratio: 1 / .92; }
.cv {
  position: absolute; margin: 0;
  background: var(--white); padding: 8px;
  border-radius: 6px; box-shadow: var(--sh-3);
  transition: transform var(--dur-3) var(--ease-out);
}
.cv img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.cv figcaption {
  position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%);
  padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--white); font-size: 12px; font-weight: 600; white-space: nowrap;
}
.cv--a { width: 52%; aspect-ratio: 4/5; left: 4%; top: 6%; transform: rotate(-3deg); z-index: 2; }
.cv--b { width: 40%; aspect-ratio: 3/4; right: 2%; top: 0; transform: rotate(2.5deg); }
.cv--c { width: 38%; aspect-ratio: 1; right: 8%; bottom: 2%; transform: rotate(-1.5deg); z-index: 3; }
.collage:hover .cv--a { transform: rotate(-4deg) translateY(-6px); }
.collage:hover .cv--b { transform: rotate(3.5deg) translateY(-4px); }
.collage:hover .cv--c { transform: rotate(-.5deg) translateY(-8px); }
.price-sticker {
  position: absolute; left: 0; bottom: 8%; z-index: 4;
  display: grid; place-items: center; text-align: center;
  width: 118px; height: 118px; border-radius: 50%;
  background: var(--red); color: var(--white);
  transform: rotate(-10deg);
  box-shadow: var(--sh-2);
}
.price-sticker small { display: block; font-size: 12px; font-weight: 500; opacity: .9; }
.price-sticker b { display: block; font: 700 34px/1 var(--f-head); }

/* ---------- trust strip ---------- */
.trust { padding: var(--s5) 0; }
.trust__in {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--r-md);
}
.trust__i { display: flex; align-items: center; gap: 14px; padding: 18px 22px; }
.trust__i + .trust__i { border-left: 1px solid var(--line); }
.trust__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--paper); color: var(--red); flex: none; }
.trust__i b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.trust__i span { font-size: 13px; color: var(--muted); }

/* ---------- sections ---------- */
.sec { padding: var(--s8) 0; }
.sec--paper { background: var(--paper); }
.shead { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s6); }
.shead h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; }
.shead p { margin-top: 8px; color: var(--muted); max-width: 52ch; }

/* ---------- categories ---------- */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s4); }
.cat { display: block; text-align: center; }
.cat__img {
  aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden;
  display: grid; place-items: center; padding: 14%;
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2);
}
.cat__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform var(--dur-3) var(--ease-out); }
.cat:hover .cat__img { transform: translateY(-4px); box-shadow: var(--sh-2); }
.cat:hover .cat__img img { transform: scale(1.06); }
.cat h3 { margin-top: 14px; font: 600 16px/1.3 var(--f-body); letter-spacing: 0; }
.cat span { font-size: 14px; color: var(--muted); }
.cat span b { color: var(--ink); font-weight: 600; }
.tint-ochre { background: var(--t-ochre); }
.tint-sky { background: var(--t-sky); }
.tint-sage { background: var(--t-sage); }
.tint-rose { background: var(--t-rose); }
.tint-lilac { background: var(--t-lilac); }
.tint-sand { background: var(--t-sand); }

/* ---------- product tabs + cards ---------- */
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; height: 40px; padding: 0 18px;
  border: 1.5px solid var(--line); border-radius: var(--r-pill);
  background: var(--white); font-size: 14px; font-weight: 600; color: var(--ink-2);
  transition: all var(--dur-1);
}
.tab:hover { border-color: var(--ink); color: var(--ink); }
.tab.is-on { background: var(--ink); border-color: var(--ink); color: var(--white); }

.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5) var(--s4); }
.pcard {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--r-md); background: var(--white);
  transition: opacity var(--dur-2), transform var(--dur-2) var(--ease-out);
}
.pcard.is-hidden { display: none; }
.pcard__media {
  position: relative; display: block; aspect-ratio: 1; overflow: hidden;
  border-radius: var(--r-md); background: var(--paper);
}
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.tag {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  padding: 5px 10px; border-radius: var(--r-pill);
  background: var(--white); font-size: 12px; font-weight: 700; color: var(--ink);
  box-shadow: var(--sh-1);
}
.tag--red { background: var(--red); color: var(--white); }
.tag--green { background: var(--green); color: var(--white); }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 14px 4px 0; }
.pcard__meta { font-size: 13px; color: var(--muted); }
.pcard h3 { margin: 4px 0 10px; font: 600 16px/1.35 var(--f-body); letter-spacing: 0; }
.pcard h3 a:hover { color: var(--red); }
.pcard__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.price { font: 700 19px/1.2 var(--f-head); letter-spacing: -.01em; }
.price small { font: 500 12px var(--f-body); color: var(--muted); letter-spacing: 0; display: block; }
.addbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 40px; padding: 0 14px;
  border: 1.5px solid var(--ink); border-radius: var(--r-pill);
  background: var(--white); font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: background var(--dur-1), color var(--dur-1), transform var(--dur-1) var(--ease-out);
}
.addbtn:hover { background: var(--ink); color: var(--white); }
.addbtn:active { transform: scale(.95); }
.addbtn.is-done { background: var(--green); border-color: var(--green); color: var(--white); }
.pgrid__foot { margin-top: var(--s6); text-align: center; }

/* ---------- size finder ---------- */
.sizer {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--s7); align-items: center;
}
.sizer__copy h2 { font-size: clamp(28px, 3.4vw, 40px); }
.sizer__copy > p { margin: 12px 0 24px; color: var(--ink-2); max-width: 46ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-width: 76px; height: 42px; padding: 0 14px;
  border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--white); font-size: 14px; font-weight: 600; color: var(--ink-2);
  transition: all var(--dur-1);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-on { border-color: var(--red); background: var(--red-50); color: var(--red-dk); }
.sizer__use {
  display: flex; align-items: center; gap: 14px; margin-top: 24px; padding: 16px 18px;
  border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line);
}
.sizer__use .ico { color: var(--red); }
.sizer__use b { display: block; font-size: 15px; }
.sizer__use span { font-size: 14px; color: var(--muted); }
.sizer__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }

.wall {
  position: relative; aspect-ratio: 1.1; border-radius: var(--r-lg);
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 100% / 4.4% 4.84%,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 4.4% 4.84%,
    var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}
.wall__box {
  /* 1 inch = --k of the wall width; wall is 1.1:1 so heights are scaled by 1.1 */
  --k: 2.2%;
  position: absolute; left: 60%; bottom: 8%;
  width: calc(var(--w, 12) * var(--k));
  height: calc(var(--h, 16) * var(--k) * 1.1);
  transform: translateX(-50%);
  background:
    repeating-linear-gradient(0deg, rgba(120, 100, 80, .05) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(120, 100, 80, .05) 0 1px, transparent 1px 3px),
    #FFFEFA;
  border-radius: 2px;
  box-shadow: 5px 6px 0 -1px #E0D6C8, var(--sh-3);
  transition: width var(--dur-3) var(--ease-out), height var(--dur-3) var(--ease-out);
  display: grid; place-items: center;
}
.wall__lbl {
  position: relative; z-index: 1;
  padding: 4px 10px; border-radius: var(--r-pill); background: var(--ink); color: var(--white);
  font-size: 13px; font-weight: 600; white-space: nowrap;
}
.wall__a4 {
  position: absolute; left: 5%; bottom: 8%;
  width: calc(8.3 * 2.2%); height: calc(11.7 * 2.2% * 1.1);
  border: 1.5px dashed var(--muted); border-radius: 2px;
  display: grid; place-items: center; color: var(--muted); font-size: 12px; font-weight: 600;
}
.wall__floor { position: absolute; left: 0; right: 0; bottom: 8%; border-top: 2px solid var(--ink); opacity: .12; }
.wall__note { position: absolute; left: 16px; top: 14px; font-size: 13px; color: var(--muted); }

/* ---------- promo banners ---------- */
.promos { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.promo {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 44%; align-items: center; gap: var(--s4);
  min-height: 260px; padding: 32px;
  border-radius: var(--r-lg);
  transition: transform var(--dur-2) var(--ease-out);
}
.promo:hover { transform: translateY(-3px); }
.promo--a { background: #1F3B5C; color: var(--white); }
.promo--b { background: var(--t-ochre); }
.promo small { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.promo h3 { margin: 8px 0 10px; font-size: clamp(24px, 2.6vw, 32px); }
.promo p { font-size: 15px; opacity: .85; margin-bottom: 18px; }
.promo__img { aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; }
.promo__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.promo:hover .promo__img img { transform: scale(1.05); }
.promo .btn--white { color: #1F3B5C; }

/* ---------- gallery strip ---------- */
.strip { display: flex; gap: var(--s4); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.strip figure {
  flex: 0 0 clamp(200px, 22vw, 260px); margin: 0; scroll-snap-align: start;
}
.strip .fr { aspect-ratio: 10/11; border-radius: var(--r-md); overflow: hidden; background: var(--paper); }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.strip figure:hover img { transform: scale(1.04); }
.strip figcaption { display: flex; justify-content: space-between; margin-top: 10px; font-size: 14px; }
.strip figcaption span { color: var(--muted); }
.strip-nav { display: flex; gap: 8px; }
.rbtn {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1.5px solid var(--line); border-radius: 50%; background: var(--white);
  transition: all var(--dur-1);
}
.rbtn:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }

/* ---------- why ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.why__i { padding: 26px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
.why__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--red-50); color: var(--red); margin-bottom: 18px; }
.why__i h3 { font: 600 18px/1.3 var(--f-body); letter-spacing: 0; margin-bottom: 6px; }
.why__i p { font-size: 15px; color: var(--muted); }

/* ---------- bulk band ---------- */
.bulk {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s6); align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--r-lg); background: var(--ink); color: var(--white);
}
.bulk small { color: #F2B33D; font-weight: 600; font-size: 14px; }
.bulk h2 { margin: 10px 0 12px; font-size: clamp(28px, 3.4vw, 42px); }
.bulk p { color: #CFC7BD; max-width: 48ch; }
.bulk__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; }
.bulk__list li { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .06); font-size: 15px; font-weight: 500; }
.bulk__list .ico { color: #F2B33D; }
.bulk__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- reviews ---------- */
.revs { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.rev { display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-md); background: var(--paper); }
.stars { color: #E0A21B; letter-spacing: 2px; font-size: 16px; }
.rev p { margin: 14px 0 22px; font-size: 17px; line-height: 1.55; }
.rev__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.av { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--white); font-weight: 700; font-size: 15px; }
.rev__who b { display: block; font-size: 15px; }
.rev__who span { font-size: 13px; color: var(--muted); }

/* ---------- footer ---------- */
.ftr { margin-top: var(--s8); background: var(--paper); border-top: 1px solid var(--line); }
.ftr__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: var(--s6); padding: var(--s8) 0 var(--s7); }
.ftr__logo img { height: 48px; width: auto; }
.ftr p { margin: 16px 0; font-size: 15px; color: var(--ink-2); max-width: 34ch; }
.ftr h4 { font: 700 15px/1 var(--f-body); letter-spacing: 0; margin-bottom: 18px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr li a { font-size: 15px; color: var(--ink-2); }
.ftr li a:hover { color: var(--red); }
.ftr__c { display: grid; gap: 14px; font-size: 15px; color: var(--ink-2); }
.ftr__c div { display: flex; gap: 10px; }
.ftr__c .ico { color: var(--red); margin-top: 2px; }
.soc { display: flex; gap: 8px; }
.soc a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); transition: all var(--dur-1); }
.soc a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.soc svg { width: 18px; height: 18px; fill: currentColor; }
.pay { display: flex; flex-wrap: wrap; gap: 6px; }
.pay span { padding: 5px 10px; border-radius: 6px; background: var(--white); border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--ink-2); }
.ftr__bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 20px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.ftr__bot a { color: var(--ink); font-weight: 600; }

/* ---------- floating WhatsApp + mobile tab bar ---------- */
.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #1FA855; color: var(--white); box-shadow: var(--sh-2);
  transition: transform var(--dur-2) var(--ease-out);
}
.wa:hover { transform: scale(1.08); }
.wa svg { width: 28px; height: 28px; fill: currentColor; }
.tabbar { display: none; }

/* ---------- cart drawer ---------- */
.scrim {
  position: fixed; inset: 0; z-index: 90; background: rgba(31, 27, 24, .45);
  opacity: 0; pointer-events: none; transition: opacity var(--dur-2);
}
.scrim.is-on { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  width: min(420px, 100%); display: flex; flex-direction: column;
  background: var(--white); box-shadow: var(--sh-3);
  transform: translateX(100%); transition: transform var(--dur-3) var(--ease-out);
}
.drawer.is-on { transform: none; }
.drawer--left { left: 0; right: auto; transform: translateX(-100%); }
.drawer__hd { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__hd h2 { font-size: 22px; }
.xbtn { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--paper); }
.xbtn:hover { background: var(--line); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer__ft { padding: 18px 20px 22px; border-top: 1px solid var(--line); background: var(--paper); }
.ship-meter { margin-bottom: 16px; font-size: 14px; color: var(--ink-2); }
.ship-meter__bar { height: 6px; margin-top: 8px; border-radius: 3px; background: var(--line); overflow: hidden; }
.ship-meter__bar i { display: block; height: 100%; width: 0; background: var(--green); border-radius: 3px; transition: width var(--dur-3) var(--ease-out); }
.sub { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; font-size: 16px; }
.sub b { font: 700 24px var(--f-head); }
.drawer__ft small { display: block; margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.drawer__ft .btn + .btn { margin-top: 10px; }

.citem { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.citem img { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; background: var(--paper); }
.citem h4 { font: 600 15px/1.35 var(--f-body); letter-spacing: 0; }
.citem__v { font-size: 13px; color: var(--muted); }
.citem__p { font-weight: 700; font-size: 15px; text-align: right; }
.citem__rm { display: block; margin-top: 18px; margin-left: auto; border: 0; background: none; padding: 0; font-size: 13px; color: var(--muted); text-decoration: underline; }
.citem__rm:hover { color: var(--red); }
.qty { display: inline-flex; align-items: center; margin-top: 8px; border: 1.5px solid var(--line); border-radius: var(--r-pill); }
.qty button { width: 32px; height: 32px; border: 0; background: none; font-size: 18px; line-height: 1; border-radius: 50%; }
.qty button:hover { background: var(--paper); }
.qty span, .qty input { width: 30px; text-align: center; font-weight: 600; font-size: 14px; border: 0; background: none; font-family: inherit; }
.empty { padding: 60px 10px; text-align: center; color: var(--muted); }
.empty .ico { width: 48px; height: 48px; margin: 0 auto 14px; color: var(--line); stroke-width: 1.4; }
.empty b { display: block; margin-bottom: 6px; color: var(--ink); font-size: 18px; }

.mnav { padding: 12px 20px; }
.mnav a { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.mnav h3 { margin: 20px 0 4px; font: 700 13px var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 120;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--white); font-size: 15px; font-weight: 500;
  box-shadow: var(--sh-3);
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-2);
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.toast .ico { color: #6FD39C; stroke-width: 2.4; }

/* ==========================================================================
   Product page
   ========================================================================== */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 20px 0; font-size: 14px; color: var(--muted); }
.crumbs a:hover { color: var(--red); }
.crumbs span[aria-hidden] { opacity: .5; }

.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--s7); align-items: start; }
.gallery { position: sticky; top: calc(var(--hdr-h) + 70px); display: grid; grid-template-columns: 76px 1fr; gap: 14px; }
.thumbs { display: grid; gap: 10px; align-content: start; }
.thumb { padding: 0; aspect-ratio: 1; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--paper); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-on { border-color: var(--ink); }
.thumb:hover { border-color: var(--muted); }
.gallery__main { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: var(--paper); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity var(--dur-2); }

.pinfo__cat { font-size: 14px; font-weight: 600; color: var(--red); }
.pinfo h1 { margin: 8px 0 12px; font-size: clamp(30px, 3.4vw, 42px); }
.pinfo__rate { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.pinfo__price { display: flex; align-items: baseline; gap: 12px; margin: 22px 0 4px; }
.pinfo__price b { font: 700 36px/1 var(--f-head); letter-spacing: -.02em; }
.pinfo__price span { font-size: 14px; color: var(--muted); }
.pinfo__tax { font-size: 14px; color: var(--muted); }
.opt { margin-top: 28px; }
.opt__hd { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.opt__hd b { font-size: 15px; }
.opt__hd b span { font-weight: 500; color: var(--muted); }
.opt__hd a { font-size: 14px; font-weight: 600; color: var(--red); }
.opt .chip { min-width: 88px; }
.buy { display: flex; gap: 12px; margin-top: 28px; }
.buy .qty { margin: 0; height: 50px; }
.buy .qty button { width: 42px; height: 46px; }
.buy .btn { flex: 1; }
.buy2 { margin-top: 12px; }
.perks { display: grid; gap: 0; margin-top: 28px; border: 1px solid var(--line); border-radius: var(--r-md); }
.perk { display: flex; gap: 14px; align-items: center; padding: 16px 18px; }
.perk + .perk { border-top: 1px solid var(--line); }
.perk .ico { color: var(--red); }
.perk b { display: block; font-size: 15px; }
.perk span { font-size: 14px; color: var(--muted); }
.pin { display: flex; gap: 8px; margin-top: 8px; }
.pin input { flex: 1; height: 40px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--r-pill); font: inherit; font-size: 14px; }
.pin input:focus { outline: none; border-color: var(--ink); }
.pin__msg { margin-top: 6px; font-size: 13px; }
.pin__msg.ok { color: var(--green); }
.pin__msg.err { color: var(--red); }

.acc { margin-top: 28px; border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-weight: 600; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 22px; font-weight: 400; transition: transform var(--dur-2) var(--ease-out); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .acc__b { padding: 0 0 20px; color: var(--ink-2); font-size: 15px; }
.spec { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec th, .spec td { padding: 10px 0; text-align: left; border-bottom: 1px dashed var(--line); }
.spec th { width: 42%; font-weight: 500; color: var(--muted); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }

.sticky-buy { display: none; }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.rv { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.rv.is-in { opacity: 1; transform: none; }
/* hero plays once on load — no JS needed, so the first paint is never blank */
.rise { animation: rise 800ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

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

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .hbtn__txt { display: none; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .trust__in { grid-template-columns: 1fr 1fr; }
  .trust__i:nth-child(3) { border-left: 0; }
  .trust__i:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ftr__in { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --hdr-h: 64px; }
  .ann__msgs span:nth-child(n+2), .ann__call { display: none; }
  .ann__in { justify-content: center; }
  .hdr__in { flex-wrap: wrap; height: auto; padding: 10px 0; gap: 10px 8px; }
  .burger { display: inline-flex; margin-left: -8px; }
  .hdr__logo { margin-right: auto; }
  .hdr__logo img { height: 36px; }
  .search { order: 3; flex-basis: 100%; max-width: none; height: 44px; }
  .search button { display: none; }
  .hbtn--acc { display: none; }
  .cnav { display: none; }
  .hero__card { grid-template-columns: 1fr; gap: 40px; }
  .collage { max-width: 460px; width: 100%; margin: 0 auto 10px; }
  .sizer { grid-template-columns: 1fr; gap: var(--s6); }
  .wall { order: -1; }
  .promos { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr 1fr; }
  .bulk { grid-template-columns: 1fr; }
  .revs { grid-template-columns: 1fr; }
  .pdp { grid-template-columns: 1fr; gap: var(--s5); }
  .gallery { position: static; grid-template-columns: 1fr; }
  .thumbs { order: 2; grid-template-columns: repeat(5, 1fr); }
  .pdp > * { min-width: 0; }
  .has-sticky-buy .wa { display: none; }

  /* app-style bottom bar */
  body { padding-bottom: 66px; }
  .wa { bottom: 82px; right: 14px; width: 50px; height: 50px; }
  .tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: repeat(4, 1fr);
    height: 62px; padding-bottom: env(safe-area-inset-bottom);
    background: var(--white); border-top: 1px solid var(--line);
  }
  .tabbar a, .tabbar button {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    border: 0; background: none; font-size: 11px; font-weight: 600; color: var(--ink-2);
  }
  .tabbar .is-on { color: var(--red); }
  .tabbar .badge { top: 6px; left: calc(50% + 4px); }
  .toast { bottom: 84px; }

  .has-sticky-buy .tabbar { display: none; }
  .sticky-buy {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -8px 20px -10px rgba(0,0,0,.15);
  }
  .sticky-buy div { flex: 1; font-size: 13px; color: var(--muted); line-height: 1.3; }
  .sticky-buy b { display: block; font: 700 20px var(--f-head); color: var(--ink); }
  .sticky-buy .btn { min-height: 46px; }
}

@media (max-width: 600px) {
  .sec { padding: var(--s7) 0; }
  .shead { flex-direction: column; align-items: flex-start; margin-bottom: var(--s5); }
  .hero { padding-top: 12px; }
  .hero__card { padding: 28px 20px 36px; border-radius: 18px; }
  .hero__sub { font-size: 16px; }
  .hero__cta .btn { flex: 1; padding: 0 16px; }
  .price-sticker { width: 92px; height: 92px; }
  .price-sticker b { font-size: 26px; }
  .trust__in { grid-template-columns: 1fr 1fr; }
  .trust { padding: 16px 0 0; }
  .trust__i { gap: 10px; padding: 12px; }
  .trust__ic { width: 34px; height: 34px; border-radius: 10px; }
  .trust__ic .ico { width: 18px; height: 18px; }
  .trust__i b { font-size: 13px; }
  .trust__i span { display: none; }
  .cats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .cat h3 { font-size: 14px; margin-top: 10px; }
  .cat span { font-size: 13px; }
  .cat__img { border-radius: 16px; }
  .pgrid { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
  .pcard h3 { font-size: 14px; }
  .pcard__row { flex-direction: column; align-items: stretch; gap: 10px; }
  .price { font-size: 17px; }
  .addbtn { height: 38px; }
  .promo { grid-template-columns: 1fr; padding: 24px; }
  .promo__img { order: -1; aspect-ratio: 16/10; }
  .why { grid-template-columns: 1fr; }
  .why__i { display: grid; grid-template-columns: 48px 1fr; gap: 0 16px; padding: 20px; }
  .why__ic { grid-row: span 2; margin: 0; }
  .bulk__list { grid-template-columns: 1fr; }
  .bulk__cta .btn { flex: 1; }
  .ftr__in { grid-template-columns: 1fr 1fr; gap: var(--s6) var(--s4); padding-top: var(--s7); }
  .ftr__in > div:first-child, .ftr__in > div:last-child { grid-column: 1 / -1; }
  .buy .btn { padding: 0 14px; }
}

/* size finder chips sit in a tidy 4-up grid */
.sizer .chips { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 420px; }
