/* =====================================================================
   דפוס ראובן — Store design system
   Bright "Mediterranean" palette: sea turquoise, watermelon coral and
   sun yellow on airy whites, charcoal text. Rubik throughout. RTL first.
   ===================================================================== */

:root {
  /* Colour tokens: palette A "ים תיכוני" is the default; the others live in palettes.css */
  --ink: #23262F;
  --ink-2: #4A4E5A;
  --ink-soft: #6E7380;
  --page: #FAFAFB;
  --white: #FFFFFF;
  --mist: #F3F5F7;
  --mist-2: #E9EDF0;
  --line: #E6E8EC;

  --primary: #1CC8C8;          /* buttons, top bar */
  --primary-hover: #12B6B7;
  --primary-strong: #0FA3A4;   /* prices & large text on white (3:1+) */
  --primary-ink: #08797B;      /* small links on white (4.5:1+) */
  --on-primary: #053B3D;       /* text on the primary colour */
  --primary-tint: #E8F8F8;
  --primary-tint-2: #CFF2F2;
  --primary-border: #9FE2E2;
  --primary-shadow: rgba(15, 163, 164, .75);

  --accent: #FF5A6E;           /* sales, favourites */
  --accent-deep: #E02D47;      /* accent with white text (4.5:1+) */
  --accent-hover: #C9223B;
  --on-accent: #FFFFFF;
  --accent-tint: #FFEFF1;
  --accent-ink: var(--accent-deep);  /* icons on the accent tint */

  --highlight: #FFC93C;        /* stickers, best-seller tags */
  --highlight-tint: #FFF6DC;
  --highlight-ink: #A06A00;

  --sale: var(--accent-deep);   /* sale badges, savings: white text on it */
  --sale-soft: var(--accent);   /* hearts, sale circle */
  --sale-tint: var(--accent-tint);

  --on-photo: #7CF0F0;         /* coloured text over dark photo overlays */
  --star: #FFB400;

  --font: "Rubik", "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --gutter: 16px;
  --gap: 14px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --header-h: 64px;
  --sh-sm: 0 1px 2px rgba(35, 38, 47, .05), 0 4px 14px -4px rgba(35, 38, 47, .10);
  --sh-md: 0 2px 4px rgba(35, 38, 47, .05), 0 14px 32px -10px rgba(35, 38, 47, .18);
  --sh-lg: 0 24px 50px -18px rgba(35, 38, 47, .28);
  --sh-print: 0 1px 2px rgba(35, 38, 47, .08), 0 22px 44px -18px rgba(35, 38, 47, .38);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@media (min-width: 768px) { :root { --gutter: 24px; --gap: 20px; } }
@media (min-width: 1100px) { :root { --gutter: 40px; --gap: 24px; --header-h: 76px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
:focus-visible { outline: 3px solid var(--primary-ink); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--primary-tint-2); color: var(--ink); }

.wrap { width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto; }
.i { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.i--sm { width: 18px; height: 18px; }
.i--xs { width: 15px; height: 15px; }
.i--fill { fill: currentColor; stroke: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; top: -100px; right: 16px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 12px 12px; }
.skip:focus { top: 0; }
@media (max-width: 767px) { .hide-sm { display: none !important; } }
@media (min-width: 768px) { .only-sm { display: none !important; } }

/* ---------- Type ---------- */
.h1 { font-weight: 800; font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.3rem); line-height: 1.1; letter-spacing: -.01em; }
.h2 { font-weight: 700; font-size: clamp(1.7rem, 1.35rem + 1.5vw, 2.5rem); line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
.lead { font-size: 16px; color: var(--ink-soft); max-width: 56ch; }
@media (min-width: 1100px) { .lead { font-size: 18px; } }
.textlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--primary-ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--primary-tint-2); transition: text-decoration-color .2s; }
.textlink:hover { text-decoration-color: var(--primary-ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 16px; line-height: 1; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background-color .2s, border-color .2s, color .2s, transform .1s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 8px 18px -10px var(--primary-shadow); }
.btn--primary:hover { background: var(--primary-hover); }
.btn--accent { background: var(--accent-deep); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); }
.btn--ghost { background: var(--white); border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary-ink); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn--lg { height: 54px; padding: 0 30px; font-size: 17px; }
.btn--block { width: 100%; }

.iconbtn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 999px; position: relative; color: var(--ink-2); transition: background-color .2s, color .2s; }
.iconbtn:hover { background: var(--primary-tint); color: var(--primary-ink); }

.stars { display: inline-flex; gap: 1px; color: var(--star); }
.stars .i { width: 15px; height: 15px; }

/* ---------- Announcement ---------- */
.announce { background: var(--announce-bg, var(--primary)); color: var(--announce-fg, var(--on-primary)); font-size: 13.5px; font-weight: 500; }
.announce__inner { height: 38px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.announce__rotator { grid-column: 2; display: grid; place-items: center; }
.announce__msg { grid-area: 1 / 1; opacity: 0; transform: translateY(6px); transition: opacity .45s, transform .45s var(--ease); white-space: nowrap; }
.announce__msg.is-active { opacity: 1; transform: none; }
.announce__msg b { font-weight: 700; }
.announce__side { display: none; align-items: center; gap: 6px; opacity: .85; }
.announce__side:hover { opacity: 1; }
.announce__side--end { justify-self: end; }
@media (min-width: 1100px) { .announce__side { display: inline-flex; } }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header.is-scrolled { box-shadow: 0 6px 20px -14px rgba(35, 38, 47, .35); }
.header__inner { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.header__burger { justify-self: start; margin-inline-start: -10px; }
.header__actions { display: flex; align-items: center; gap: 2px; justify-self: end; margin-inline-end: -10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; justify-self: center; }
.brand img { width: 30px; height: auto; }
.brand__name { font-size: 22px; font-weight: 800; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.cartbtn__count { position: absolute; top: 3px; left: 3px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--sale); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; line-height: 1; border: 2px solid #fff; }

.nav { display: none; }
@media (min-width: 1100px) {
  .header__inner { grid-template-columns: auto 1fr auto; gap: 24px; }
  .header__burger { display: none; }
  .brand { justify-self: start; }
  .brand img { width: 36px; }
  .brand__name { font-size: 26px; }
  .nav { display: block; justify-self: center; height: 100%; }
}
.nav__list { display: flex; gap: 4px; height: 100%; }
.nav__item { display: flex; align-items: center; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 16px; border-radius: 14px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background-color .2s, color .2s; }
.nav__link:hover, .nav__item:focus-within > .nav__link, .nav__item--mega:hover > .nav__link { background: var(--mist); color: var(--ink); }
.nav__link .i { width: 16px; height: 16px; transition: transform .2s; }
.nav__item--mega:hover > .nav__link .i { transform: rotate(180deg); }
.nav__link.is-current { background: var(--primary-tint); color: var(--primary-ink); font-weight: 600; }

.mega { position: absolute; inset-inline: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--sh-lg); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.nav__item--mega:hover .mega, .nav__item--mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner { display: grid; grid-template-columns: repeat(3, 1fr) 1.4fr; gap: 40px; padding-block: 36px 40px; }
.mega__col h3 { font-size: 13px; font-weight: 600; color: var(--primary-ink); margin-bottom: 10px; }
.mega__col a { display: block; padding: 6px 0; font-weight: 500; transition: color .15s; }
.mega__col a:hover { color: var(--primary-ink); }
.mega__promo { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; min-height: 230px; color: #fff; isolation: isolate; }
.mega__promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.mega__promo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(35, 38, 47, .75), rgba(35, 38, 47, 0) 65%); }
.mega__promo div { position: absolute; bottom: 0; inset-inline: 0; padding: 22px; }
.mega__promo strong { display: block; font-size: 26px; font-weight: 800; line-height: 1.15; }

/* ---------- Overlays: drawer / search / filters ---------- */
.overlay { position: fixed; inset: 0; z-index: 80; overflow: hidden; visibility: hidden; transition: visibility 0s .35s; }
.overlay.is-open { visibility: visible; transition: none; }
.overlay__scrim { position: absolute; inset: 0; background: rgba(35, 38, 47, .4); opacity: 0; transition: opacity .3s; }
.overlay.is-open .overlay__scrim { opacity: 1; }

.drawer__panel { position: absolute; inset-block: 0; inset-inline-start: 0; width: min(88vw, 380px); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s var(--ease); overflow-y: auto; }
.overlay.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 12px var(--gutter); border-bottom: 1px solid var(--line); }
.drawer__nav { padding: 8px var(--gutter); }
.drawer__nav > a, .drawer__nav summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; font-size: 18px; font-weight: 500; border-bottom: 1px solid var(--line); cursor: pointer; list-style: none; }
.drawer__nav summary::-webkit-details-marker { display: none; }
.drawer__nav details[open] summary .i { transform: rotate(180deg); }
.drawer__nav details ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; padding: 12px 0 16px; border-bottom: 1px solid var(--line); }
.drawer__nav details a { display: block; padding: 6px 0; color: var(--ink-2); }
.drawer__foot { margin-top: auto; padding: 20px var(--gutter) 28px; display: grid; gap: 14px; background: var(--primary-tint); }
.drawer__contact { display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.drawer__contact a, .drawer__contact p { display: flex; align-items: center; gap: 8px; }

.search__panel { position: absolute; inset-inline: 0; top: 0; background: #fff; padding-block: 20px 28px; box-shadow: var(--sh-lg); transform: translateY(-100%); transition: transform .35s var(--ease); }
.overlay.is-open .search__panel { transform: none; }
.search__form { display: flex; align-items: center; gap: 10px; height: 60px; padding-inline: 18px 8px; border-radius: 999px; background: var(--mist); border: 2px solid transparent; transition: border-color .2s, background-color .2s; }
.search__form:focus-within { border-color: var(--primary); background: #fff; }
.search__form input { flex: 1; width: 0; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 18px; }
@media (min-width: 768px) { .search__form input { font-size: 20px; } }
.search__popular { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 14px; color: var(--ink-soft); }

/* ---------- Chips / pills ---------- */
.pill { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 15px; font-weight: 500; color: var(--ink); white-space: nowrap; transition: border-color .2s, background-color .2s, color .2s; }
.pill:hover { border-color: var(--primary); color: var(--primary-ink); }
.pill small { font-size: 13px; color: var(--ink-soft); }
.pill.is-active, .pill[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); font-weight: 600; }
.pill.is-active small, .pill[aria-pressed="true"] small { color: var(--on-primary); opacity: .75; }
.pill--sm { height: 34px; padding: 0 14px; font-size: 14px; }
.pill .i { width: 14px; height: 14px; }

/* ---------- Sections ---------- */
.section { padding-block: 52px; }
@media (min-width: 1100px) { .section { padding-block: 88px; } }
.section--tint { background: var(--primary-tint); }
.section--white { background: var(--white); border-block: 1px solid var(--line); }
.section--flush-top { padding-top: 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
@media (min-width: 1100px) { .sec-head { margin-bottom: 32px; } }
.sec-head__text { display: grid; gap: 8px; }
.sec-head__aside { display: flex; align-items: center; gap: 20px; flex: none; }
.arrows { display: none; gap: 8px; }
@media (min-width: 768px) { .arrows { display: flex; } }
.arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; background: #fff; color: var(--ink-2); transition: border-color .2s, background-color .2s, color .2s; }
.arrow:hover { border-color: var(--primary); background: var(--primary); color: var(--on-primary); }

/* =====================================================================
   HERO — bright slider
   ===================================================================== */
.hero { padding-block: 16px 4px; }
@media (min-width: 1100px) { .hero { padding-block: 28px 8px; } }
.slider { position: relative; border-radius: 24px; overflow: hidden; isolation: isolate; }
@media (min-width: 900px) { .slider { border-radius: 32px; } }
.slides { display: grid; }
.slide { grid-area: 1 / 1; display: grid; background: var(--slide-bg, var(--primary-tint)); opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility .7s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide--primary { --slide-bg: var(--primary-tint); }
.slide--accent { --slide-bg: var(--accent-tint); }
.slide--highlight { --slide-bg: var(--highlight-tint); }

.slide__art { position: relative; order: -1; height: 250px; overflow: hidden; }
.slide__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide__copy { padding: 22px 20px 60px; display: grid; align-content: center; justify-items: start; gap: 14px; }
.slide__title { font-weight: 800; font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.9rem); line-height: 1.08; letter-spacing: -.015em; text-wrap: balance; }
.slide__text { font-size: 16.5px; color: var(--ink-2); max-width: 44ch; }
.slide__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
@media (max-width: 559px) { .slide__ctas { width: 100%; } .slide__ctas .btn { flex: 1; padding-inline: 14px; } }
.slide__trust { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.slide__trust li { display: inline-flex; align-items: center; gap: 8px; }
.slide__trust b { color: var(--ink); }
.slide__deal { display: inline-flex; align-items: baseline; gap: 8px; padding: 6px 16px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: var(--sale); box-shadow: var(--sh-sm); }
.slide__deal b { font-size: 20px; font-weight: 800; }
@media (min-width: 900px) {
  .slide { grid-template-columns: 1fr 1fr; min-height: 500px; }
  .slide__art { order: 0; height: auto; }
  .slide__copy { padding: 56px 64px 76px; gap: 18px; }
  .slide__text { font-size: 18.5px; }
}

/* slide 1 art: prints landing on the page */
.prints { position: absolute; inset: 10px 0 0; }
@media (min-width: 900px) { .prints { inset: 40px 24px 40px; } }
.print { position: absolute; background: #fff; padding: clamp(6px, 1.1vw, 13px); box-shadow: var(--sh-print); transform: rotate(var(--r)); animation: print-in .95s var(--ease) both; animation-delay: var(--d); }
.print img { width: 100%; aspect-ratio: var(--ar, 4 / 5); object-fit: cover; }
.print--a { --r: -2.5deg; --d: .2s; width: 40%; top: 4%; right: 30%; z-index: 2; }
.print--b { --r: -9deg; --d: 0s; --ar: 1; width: 33%; top: 18%; left: 5%; z-index: 1; }
.print--c { --r: 7deg; --d: .4s; width: 31%; top: 26%; right: 4%; z-index: 3; }
@media (min-width: 900px) {
  .print--a { width: 50%; top: 2%; right: 24%; }
  .print--b { width: 40%; top: 22%; left: 1%; }
  .print--c { width: 37%; top: 32%; right: 0; }
}
.sticker { position: absolute; z-index: 4; left: 4%; bottom: 4%; width: clamp(84px, 9.5vw, 118px); aspect-ratio: 1; border-radius: 50%; background: var(--highlight); color: var(--ink); display: grid; place-content: center; text-align: center; font-size: 12.5px; line-height: 1.15; font-weight: 500; transform: rotate(-12deg); box-shadow: 0 12px 24px -12px rgba(35, 38, 47, .5); animation: sticker-in .55s 1.05s var(--ease) both; }
.sticker b { display: block; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.05; font-weight: 800; }
@media (min-width: 900px) { .sticker { left: 8%; bottom: 6%; } }

@keyframes print-in {
  from { opacity: 0; transform: translateY(-40px) rotate(0deg); }
  60% { opacity: 1; }
  to { opacity: 1; transform: translateY(0) rotate(var(--r)); }
}
@keyframes sticker-in {
  from { opacity: 0; transform: scale(.5) rotate(-40deg); }
  to { opacity: 1; transform: scale(1) rotate(-12deg); }
}

.slider__dots { position: absolute; z-index: 5; bottom: 22px; right: 20px; display: flex; gap: 8px; }
@media (min-width: 900px) { .slider__dots { right: 64px; bottom: 34px; } }
.slider__dot { width: 10px; height: 10px; border-radius: 999px; background: rgba(35, 38, 47, .2); transition: width .3s var(--ease), background-color .3s; }
.slider__dot[aria-current="true"] { width: 30px; background: var(--primary-strong); }
.slider__arrow { position: absolute; z-index: 5; top: 50%; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: var(--sh-sm); display: none; place-items: center; color: var(--ink-2); transition: background-color .2s, color .2s; }
.slider__arrow:hover { background: var(--primary); color: var(--on-primary); }
.slider__arrow--prev { right: 14px; }
.slider__arrow--next { left: 14px; }
@media (min-width: 1100px) { .slider__arrow { display: grid; } .slide__copy { padding-inline-start: 92px; } .slider__dots { right: 92px; } }

/* ---------- Quick categories ---------- */
.quick { padding-block: 32px 4px; }
@media (min-width: 1100px) { .quick { padding-block: 48px 0; } }
.quick__list { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter); scroll-padding-inline: var(--gutter); }
.quick__list::-webkit-scrollbar { display: none; }
@media (min-width: 1100px) { .quick__list { justify-content: space-between; overflow: visible; margin-inline: 0; padding-inline: 0; } }
.quick__item { flex: none; width: 80px; display: grid; justify-items: center; gap: 8px; scroll-snap-align: start; font-size: 13.5px; font-weight: 500; text-align: center; line-height: 1.3; }
.quick__thumb { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; background: var(--mist); box-shadow: 0 0 0 3px #fff, 0 0 0 5px transparent; transition: box-shadow .2s; }
.quick__thumb img { width: 100%; height: 100%; object-fit: cover; }
.quick__item:hover .quick__thumb { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--primary); }
.quick__thumb--sale { display: grid; place-items: center; background: var(--sale-soft); color: #fff; font-size: 34px; font-weight: 800; line-height: 1; }
@media (min-width: 1100px) { .quick__item { width: 100px; font-size: 14.5px; } .quick__thumb { width: 100px; height: 100px; } }

/* ---------- Product card ---------- */
.track { display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 18px; scroll-padding-inline: var(--gutter); }
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; }
@media (min-width: 640px) { .track { grid-auto-columns: calc((100% - 2 * var(--gap)) / 2.4); } }
@media (min-width: 1100px) { .track { grid-auto-columns: calc((100% - 3 * var(--gap)) / 4); margin-inline: -8px; padding-inline: 8px; } }

.pcard { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-sm); transition: box-shadow .3s, transform .3s var(--ease); }
.pcard:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.pcard__media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--mist); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.pcard__rating { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-soft); }
.pcard__rating .i { width: 14px; height: 14px; color: var(--star); }
.pcard__rating b { color: var(--ink); font-weight: 600; }
.pcard__title { font-size: 17px; font-weight: 600; line-height: 1.3; }
.pcard__title a::after { content: ""; position: absolute; inset: 0; }  /* whole card clickable */
.pcard__desc { font-size: 14px; color: var(--ink-soft); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__foot { margin-top: auto; padding-top: 10px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.price { display: grid; line-height: 1.1; }
.price small { font-size: 12px; color: var(--ink-soft); }
.price b { font-size: 23px; font-weight: 700; color: var(--primary-strong); }
.price s { font-size: 14px; color: var(--ink-soft); margin-inline-start: 6px; font-weight: 400; }
.pcard__cta { position: relative; z-index: 2; }
.pcard__swatches { display: flex; gap: 5px; margin-top: 2px; }
.pcard__swatches span { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }

.badge { position: absolute; top: 12px; right: 12px; z-index: 2; height: 26px; padding: 0 11px; border-radius: 999px; display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; background: var(--highlight); color: var(--ink); }
.badge--new { background: var(--primary); color: var(--on-primary); }
.badge--sale { background: var(--sale); color: #fff; }
.badge--ship { background: #fff; color: var(--primary-ink); box-shadow: var(--sh-sm); }
.wish { position: absolute; top: 10px; left: 10px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink-soft); display: grid; place-items: center; transition: color .2s, transform .15s; }
.wish .i { width: 19px; height: 19px; }
.wish:hover { color: var(--sale-soft); }
.wish:active { transform: scale(.9); }
.wish[aria-pressed="true"] { color: var(--sale-soft); }
.wish[aria-pressed="true"] .i { fill: currentColor; }

/* compact cards inside the 2-column mobile grid */
@media (max-width: 767px) {
  .grid .pcard { border-radius: 16px; }
  .grid .pcard__body { padding: 10px 10px 12px; gap: 4px; }
  .grid .pcard__title { font-size: 14.5px; }
  .grid .pcard__desc, .grid .pcard__rating span { display: none; }
  .grid .price b { font-size: 18px; }
  .grid .pcard__cta { width: 36px; height: 36px; padding: 0; box-shadow: none; }
  .grid .pcard__cta span { display: none; }
  .grid .badge { top: 8px; right: 8px; height: 22px; font-size: 11px; padding: 0 8px; }
  .grid .wish { width: 34px; height: 34px; top: 6px; left: 6px; }
}
@media (min-width: 768px) { .pcard__cta .i { display: none; } }

/* ---------- How it works ---------- */
.steps__list { display: grid; gap: 12px; margin-top: 28px; }
@media (min-width: 900px) { .steps__list { grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 40px; } }
.step { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-content: start; padding: 20px; background: var(--white); border-radius: 20px; box-shadow: var(--sh-sm); }
@media (min-width: 900px) { .step { grid-template-columns: 1fr; gap: 10px; padding: 28px; } }
.step__num { grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; font-weight: 800; background: var(--primary); color: var(--on-primary); }
.step:nth-child(2) .step__num { background: var(--accent); color: var(--on-accent); }
.step:nth-child(3) .step__num { background: var(--highlight); color: var(--ink); }
@media (min-width: 900px) { .step__num { grid-row: auto; width: 56px; height: 56px; font-size: 22px; margin-bottom: 6px; } }
.step h3 { font-size: 19px; font-weight: 700; line-height: 1.3; }
.step p { color: var(--ink-soft); font-size: 15.5px; }
.steps__cta { margin-top: 28px; }

/* ---------- Category bento ---------- */
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.cat { position: relative; display: block; overflow: hidden; border-radius: var(--r-md); aspect-ratio: 1 / 1.1; color: #fff; isolation: isolate; background: var(--mist); box-shadow: var(--sh-sm); }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.cat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(35, 38, 47, .78) 0%, rgba(35, 38, 47, .25) 45%, rgba(35, 38, 47, 0) 68%); }
.cat:hover img { transform: scale(1.05); }
.cat__body { position: absolute; inset-inline: 0; bottom: 0; padding: 14px; display: grid; gap: 4px; }
.cat__title { font-size: 17px; font-weight: 700; line-height: 1.2; }
.cat__desc { display: none; font-size: 14.5px; color: rgba(255, 255, 255, .88); max-width: 42ch; line-height: 1.5; }
.cat__meta { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--on-photo); }
.cat--big { grid-column: span 2; aspect-ratio: 16 / 11; }
.cat--big .cat__title { font-size: 30px; font-weight: 800; }
@media (min-width: 768px) {
  .cats { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: var(--gap); }
  .cat, .cat--big { aspect-ratio: auto; }
  .cat--big { grid-column: span 2; grid-row: span 2; }
  .cat__body { padding: 22px; gap: 6px; }
  .cat__title { font-size: 22px; }
  .cat__desc { display: block; }
  .cat--big .cat__body { padding: 32px; }
  .cat--big .cat__title { font-size: 44px; }
}
@media (min-width: 1100px) { .cats { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 270px; } }

/* ---------- Business band ---------- */
.biz { display: grid; background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-md); }
@media (min-width: 900px) { .biz { grid-template-columns: 1.15fr 1fr; } }
.biz__copy { padding: 28px 22px; display: grid; gap: 16px; align-content: center; justify-items: start; }
@media (min-width: 1100px) { .biz__copy { padding: 64px 64px; gap: 20px; } }
.biz__copy p { color: var(--ink-2); max-width: 50ch; }
.biz__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.biz__tags li { padding: 6px 14px; border-radius: 999px; background: var(--primary-tint); color: var(--primary-ink); font-size: 14px; font-weight: 500; }
.biz__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
@media (max-width: 559px) { .biz__ctas { width: 100%; } .biz__ctas .btn { flex: 1 1 100%; } }
.biz__media { position: relative; min-height: 220px; order: -1; }
@media (min-width: 900px) { .biz__media { order: 0; min-height: 100%; } }
.biz__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Perks ---------- */
.perks { display: grid; gap: 12px; margin-top: 8px; }
.perk { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; padding: 18px; background: var(--white); border-radius: 20px; box-shadow: var(--sh-sm); }
.perk__icon { grid-row: span 2; width: 56px; height: 56px; border-radius: 50%; background: var(--primary-tint); color: var(--primary-ink); display: grid; place-items: center; }
.perk:nth-child(2) .perk__icon { background: var(--accent-tint); color: var(--accent-ink); }
.perk:nth-child(3) .perk__icon { background: var(--highlight-tint); color: var(--highlight-ink); }
.perk__icon .i { width: 26px; height: 26px; }
.perk h3 { font-size: 18px; font-weight: 700; line-height: 1.35; }
.perk p { font-size: 15px; color: var(--ink-soft); }
@media (min-width: 900px) {
  .perks { grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: 24px; }
  .perk { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 8px; padding: 32px 24px; }
  .perk__icon { grid-row: auto; width: 68px; height: 68px; margin-bottom: 8px; }
}

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: 24px; }
@media (min-width: 1100px) { .reviews { grid-template-columns: 320px 1fr; gap: 48px; align-items: start; } }
.reviews__summary { display: grid; gap: 16px; align-content: start; }
.score { display: flex; align-items: center; gap: 14px; }
.score__num { font-size: 64px; line-height: 1; font-weight: 800; color: var(--ink); }
.score p { font-size: 14px; color: var(--ink-soft); }
.score .stars .i { width: 20px; height: 20px; }
.reviews .track { align-items: stretch; }
@media (min-width: 1100px) { .reviews .track { grid-auto-columns: calc((100% - 2 * var(--gap)) / 3); } }
.review { display: flex; flex-direction: column; gap: 14px; background: var(--page); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; }
.review blockquote { margin: 0; font-size: 15.5px; line-height: 1.65; }
.review footer { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.review footer img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.review footer b { display: block; font-weight: 600; }
.review footer span { color: var(--ink-soft); font-size: 13px; }

/* ---------- Newsletter ---------- */
.news { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; background: var(--primary); color: var(--on-primary); border-radius: var(--r-lg); padding: 30px 22px; position: relative; overflow: hidden; isolation: isolate; }
.news::before { content: ""; position: absolute; z-index: -1; width: 300px; height: 300px; left: -90px; top: -130px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
@media (min-width: 900px) { .news { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; padding: 56px 64px; } }
.news .h2 { color: var(--on-primary); }
.news p { margin-top: 10px; max-width: 46ch; }
.news__form { display: flex; gap: 6px; background: #fff; border-radius: 999px; padding: 6px; box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .3); }
.news__form input { flex: 1; width: 0; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0 16px; height: 48px; font-size: 16px; color: var(--ink); }
.news__form:focus-within { box-shadow: 0 0 0 3px var(--on-primary); }
.news__note { font-size: 13px; margin-top: 10px; opacity: .85; }

/* ---------- Footer ---------- */
.footer { background: var(--white); color: var(--ink-soft); font-size: 15px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 20px; padding-block: 48px 40px; }
.footer__about, .footer__contact { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; padding-block: 64px 48px; }
  .footer__about, .footer__contact { grid-column: auto; }
}
.footer h3 { color: var(--ink); font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.footer a { transition: color .15s; }
.footer a:hover { color: var(--primary-ink); }
.footer__links li + li { margin-top: 9px; }
.footer__brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.footer__brand span { display: grid; place-items: center; }
.footer__brand img { width: 38px; }
.footer__brand strong { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.footer__about p { margin-top: 14px; max-width: 36ch; line-height: 1.7; }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; background: var(--primary-tint); color: var(--primary-ink); display: grid; place-items: center; transition: background-color .2s, color .2s; }
.socials a:hover { background: var(--primary); color: var(--on-primary); }
.socials .i { width: 19px; height: 19px; }
.socials .i--fill { width: 18px; height: 18px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact li + li { margin-top: 12px; }
.footer__contact .i { width: 19px; height: 19px; margin-top: 3px; color: var(--primary-strong); }
.footer__bottom-wrap { background: var(--page); border-top: 1px solid var(--line); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-block: 18px 24px; font-size: 13px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.pay { display: flex; flex-wrap: wrap; gap: 6px; }
.pay span { height: 28px; padding: 0 10px; border-radius: 6px; background: #fff; border: 1px solid var(--line); display: inline-grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--ink-2); }

/* ---------- Floating buttons ---------- */
.fab { position: fixed; z-index: 40; bottom: 16px; left: 16px; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .45); transition: transform .2s var(--ease), bottom .3s var(--ease); }
.fab:hover { transform: scale(1.06); }
.fab .i { width: 28px; height: 28px; }
.a11y-btn { position: fixed; z-index: 40; bottom: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%; background: var(--primary-ink); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .45); transition: bottom .3s var(--ease); }
.a11y-btn .i { width: 24px; height: 24px; }
body.has-sticky .fab, body.has-sticky .a11y-btn { bottom: 92px; }
@media (max-width: 767px) {
  .fab { width: 50px; height: 50px; bottom: 14px; left: 14px; }
  .fab .i { width: 25px; height: 25px; }
  .a11y-btn { width: 40px; height: 40px; bottom: 14px; right: 14px; }
  .a11y-btn .i { width: 21px; height: 21px; }
}

/* =====================================================================
   Listing page
   ===================================================================== */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-block: 18px 6px; font-size: 13.5px; color: var(--ink-soft); }
.crumbs a:hover { color: var(--primary-ink); }
.crumbs .i { width: 14px; height: 14px; }

.plp-head { display: grid; gap: 22px; padding-block: 14px 24px; }
@media (min-width: 900px) { .plp-head { grid-template-columns: 1fr auto; align-items: end; gap: 48px; padding-block: 20px 32px; } }
.plp-head__text { display: grid; gap: 12px; }
.plp-head__strip { display: flex; gap: 8px; }
.plp-head__strip img { width: 76px; height: 96px; object-fit: cover; background: #fff; padding: 5px; box-shadow: var(--sh-print); }
.plp-head__strip img:nth-child(1) { transform: rotate(-5deg); }
.plp-head__strip img:nth-child(2) { transform: rotate(3deg) translateY(-6px); }
.plp-head__strip img:nth-child(3) { transform: rotate(-2deg); }
@media (min-width: 900px) { .plp-head__strip img { width: 104px; height: 130px; padding: 7px; } }

.subcats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 4px; }
.subcats::-webkit-scrollbar { display: none; }

.plp { display: grid; gap: 28px; padding-block: 24px 72px; }
@media (min-width: 1100px) { .plp { grid-template-columns: 268px 1fr; gap: 40px; padding-top: 32px; } }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.toolbar__count { font-size: 14px; color: var(--ink-soft); }
.toolbar__count b { color: var(--ink); }
.toolbar__end { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.toolbar__filter { display: inline-flex; }
@media (min-width: 1100px) { .toolbar__filter { display: none; } }
.toolbar__badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-size: 12px; font-weight: 700; display: inline-grid; place-items: center; }
.select { appearance: none; height: 40px; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px 0 38px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2323262F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat left 14px center / 14px; font-size: 14.5px; font-weight: 500; cursor: pointer; }
.select:hover { border-color: var(--primary); }
.applied { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.applied .pill { background: var(--primary-tint); border-color: transparent; color: var(--primary-ink); }
.applied .pill:hover { border-color: var(--primary); }
.applied__clear { font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; color: var(--ink-soft); }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, 1fr); gap: var(--gap); } }

.promo-tile { grid-column: span 2; position: relative; display: grid; grid-template-columns: 1fr; align-content: space-between; gap: 16px; padding: 24px 22px 22px; border-radius: var(--r-md); background: var(--accent-tint); color: var(--ink); overflow: hidden; isolation: isolate; }
.promo-tile strong { display: block; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem); line-height: 1.12; font-weight: 800; }
.promo-tile p { color: var(--ink-2); font-size: 15px; margin-top: 10px; }
.promo-tile p b { color: var(--sale); }
.promo-tile img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; }
.promo-tile .btn { justify-self: start; }
@media (min-width: 768px) {
  .promo-tile { grid-template-columns: 1fr 1.1fr; grid-template-rows: 1fr auto; column-gap: 24px; padding: 32px 28px 28px; }
  .promo-tile img { grid-column: 2; grid-row: 1 / span 2; height: 100%; aspect-ratio: auto; }
}
@media (max-width: 767px) { .promo-tile img { display: none; } }

.loadmore { display: grid; justify-items: center; gap: 12px; margin-top: 40px; font-size: 14px; color: var(--ink-soft); }
.loadmore__bar { width: 220px; height: 5px; border-radius: 5px; background: var(--mist-2); overflow: hidden; }
.loadmore__bar span { display: block; height: 100%; width: 50%; background: var(--primary); border-radius: inherit; }

/* filters */
.filters__head { display: flex; align-items: center; justify-content: space-between; }
.filters__head h2 { font-size: 20px; font-weight: 700; }
.fgroup { border-bottom: 1px solid var(--line); }
.fgroup summary { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font-weight: 600; cursor: pointer; list-style: none; }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary .i { width: 18px; height: 18px; transition: transform .2s; }
.fgroup[open] summary .i { transform: rotate(180deg); }
.fgroup__body { padding-bottom: 18px; }
.checks { display: grid; gap: 4px; }
.check { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 15px; cursor: pointer; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check__box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #BFC5CE; display: grid; place-items: center; flex: none; background: #fff; transition: background-color .15s, border-color .15s; }
.check__box .i { width: 14px; height: 14px; stroke-width: 3; color: var(--on-primary); opacity: 0; }
.check input:checked + .check__box { background: var(--primary); border-color: var(--primary); }
.check input:checked + .check__box .i { opacity: 1; }
.check input:focus-visible + .check__box { outline: 3px solid var(--primary-ink); outline-offset: 2px; }
.check small { margin-inline-start: auto; color: var(--ink-soft); font-size: 13px; }
.range { padding: 10px 2px 0; }
.range__track { position: relative; height: 5px; border-radius: 5px; background: var(--mist-2); margin: 10px 10px 18px; }
.range__fill { position: absolute; top: 0; bottom: 0; right: 0; left: 38%; background: var(--primary); border-radius: 5px; }
.range__thumb { position: absolute; top: 50%; width: 22px; height: 22px; margin: -11px -11px 0 0; border-radius: 50%; background: #fff; border: 2px solid var(--primary-strong); box-shadow: 0 2px 6px rgba(35, 38, 47, .18); }
.range__inputs { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-soft); }
.range__inputs span { flex: 1; height: 42px; border: 1px solid var(--line); border-radius: 10px; display: flex; align-items: center; padding: 0 12px; color: var(--ink); font-weight: 500; background: #fff; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.filters .swatches { gap: 7px; flex-wrap: nowrap; }
.filters .swatch { width: 26px; height: 26px; outline-offset: 2px; }
.swatch { width: 34px; height: 34px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .15s; }
.swatch:hover { outline-color: var(--line); }
.swatch[aria-pressed="true"] { outline-color: var(--primary-strong); }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; font-weight: 600; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle__ui { width: 44px; height: 26px; border-radius: 999px; background: #CBD1D8; position: relative; flex: none; transition: background-color .2s; }
.toggle__ui::after { content: ""; position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s var(--ease); }
.toggle input:checked + .toggle__ui { background: var(--primary); }
.toggle input:checked + .toggle__ui::after { transform: translateX(-18px); }
.toggle input:focus-visible + .toggle__ui { outline: 3px solid var(--primary-ink); outline-offset: 2px; }
.toggle small { display: block; font-weight: 400; font-size: 13px; color: var(--ink-soft); }
.filters__foot { display: none; }

@media (max-width: 1099px) {
  .filters { position: fixed; inset: 0; z-index: 80; overflow: hidden; visibility: hidden; transition: visibility 0s .35s; }
  .filters.is-open { visibility: visible; transition: none; }
  .filters__panel { position: absolute; inset-inline: 0; bottom: 0; max-height: 88vh; background: #fff; border-radius: 24px 24px 0 0; display: flex; flex-direction: column; transform: translateY(100%); transition: transform .35s var(--ease); }
  .filters.is-open .filters__panel { transform: none; }
  .filters.is-open .overlay__scrim { opacity: 1; }
  .filters__head { padding: 14px var(--gutter); border-bottom: 1px solid var(--line); }
  .filters__body { overflow-y: auto; padding: 0 var(--gutter); }
  .filters__foot { display: flex; gap: 10px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
  .filters__foot .btn--primary { flex: 1; }
}
@media (min-width: 1100px) {
  .filters { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; background: #fff; border-radius: var(--r-md); padding: 6px 20px 10px; box-shadow: var(--sh-sm); }
  .filters .overlay__scrim, .filters__head .iconbtn { display: none; }
  .filters__head { padding: 14px 0 12px; border-bottom: 1px solid var(--line); }
}

/* =====================================================================
   Product page
   ===================================================================== */
.pdp { display: grid; gap: 28px; padding-block: 8px 64px; }
@media (min-width: 1000px) { .pdp { grid-template-columns: 1.08fr 1fr; gap: 64px; align-items: start; padding-top: 16px; } }
.gallery { display: grid; gap: 10px; }
@media (min-width: 1000px) { .gallery { position: sticky; top: calc(var(--header-h) + 24px); } }
.gallery__main { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--mist); margin-inline: calc(var(--gutter) * -1); }
@media (min-width: 768px) { .gallery__main { margin-inline: 0; border-radius: var(--r-md); box-shadow: var(--sh-sm); } }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__hint { position: absolute; bottom: 14px; right: 14px; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--primary-ink); font-size: 13.5px; font-weight: 500; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.gallery__thumb { aspect-ratio: 1; border-radius: 12px; overflow: hidden; outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .15s, opacity .15s; opacity: .7; }
.gallery__thumb:hover { opacity: 1; }
.gallery__thumb.is-active { outline-color: var(--primary); opacity: 1; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

.info { display: grid; gap: 22px; }
.info__head { display: grid; gap: 12px; }
.info__title { font-weight: 800; font-size: clamp(2rem, 1.6rem + 1.8vw, 2.9rem); line-height: 1.1; letter-spacing: -.015em; }
.info__rating { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.info__rating b { color: var(--ink); }
.info__rating a { color: var(--primary-ink); text-decoration: underline; text-underline-offset: 3px; }
.info__price { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.info__price .now { font-size: 34px; font-weight: 800; line-height: 1; color: var(--primary-strong); }
.info__price s { font-size: 18px; color: var(--ink-soft); }
.save { height: 28px; padding: 0 12px; border-radius: 999px; background: var(--sale-tint); color: var(--sale); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; }
.info__desc { color: var(--ink-2); max-width: 56ch; }

.opt { display: grid; gap: 10px; }
.opt__label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; font-size: 15px; }
.opt__label span { font-weight: 400; color: var(--ink-soft); font-size: 14px; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.choice { display: grid; gap: 2px; text-align: start; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; font-size: 15px; font-weight: 500; transition: border-color .15s, background-color .15s; }
.choice:hover { border-color: var(--primary); }
.choice small { font-size: 13px; font-weight: 400; color: var(--ink-soft); }
.choice[aria-pressed="true"] { border-color: var(--primary); background: var(--primary-tint); box-shadow: inset 0 0 0 1px var(--primary); }
@media (max-width: 559px) {
  .choices { grid-template-columns: 1fr; }
  .choice { grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; padding: 14px 16px; }
  .choice small { text-align: end; }
}
.choices--inline { display: flex; flex-wrap: wrap; }
.choices--inline .choice { padding: 10px 18px; }

.upload { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 26px 20px; border: 2px dashed var(--primary-border); border-radius: var(--r-md); background: var(--primary-tint); cursor: pointer; transition: border-color .2s, background-color .2s; }
.upload:hover { border-color: var(--primary); background: var(--primary-tint-2); }
.upload__icon { width: 54px; height: 54px; border-radius: 50%; background: var(--primary); display: grid; place-items: center; color: var(--on-primary); margin-bottom: 6px; box-shadow: 0 8px 18px -10px var(--primary-shadow); }
.upload strong { font-size: 16px; font-weight: 600; }
.upload span { font-size: 13.5px; color: var(--ink-soft); }
.upload__tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 10px; }

.field { display: grid; gap: 8px; }
.field__label { display: flex; justify-content: space-between; font-weight: 600; font-size: 15px; }
.field__label span { font-weight: 400; color: var(--ink-soft); font-size: 13px; }
.input { height: 50px; width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 0 16px; background: #fff; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.input:hover { border-color: #C6CCD4; }
.input:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-tint-2); }

.buy { display: flex; gap: 10px; }
.buy .btn--primary { flex: 1; }
.qty { display: inline-flex; align-items: center; height: 54px; border: 1.5px solid var(--line); border-radius: 999px; flex: none; background: #fff; }
.qty button { width: 46px; height: 100%; display: grid; place-items: center; border-radius: 999px; color: var(--ink-2); }
.qty button:hover { color: var(--primary-ink); }
.qty .i { width: 18px; height: 18px; }
.qty output { min-width: 26px; text-align: center; font-weight: 600; }
.qty--sm { height: 40px; }
.qty--sm button { width: 36px; }
.wishbtn { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink-soft); display: grid; place-items: center; flex: none; transition: color .2s, border-color .2s; }
.wishbtn:hover { border-color: var(--sale-soft); color: var(--sale-soft); }
.wishbtn[aria-pressed="true"] { color: var(--sale-soft); border-color: var(--sale-soft); }
.wishbtn[aria-pressed="true"] .i { fill: currentColor; }

.ship { border-radius: var(--r-md); background: #fff; box-shadow: var(--sh-sm); }
.ship__row { display: flex; gap: 14px; align-items: flex-start; padding: 15px 18px; font-size: 14.5px; color: var(--ink-2); }
.ship__row + .ship__row { border-top: 1px solid var(--line); }
.ship__row .i { color: var(--primary-strong); margin-top: 1px; }
.ship__row b { display: block; color: var(--ink); font-weight: 600; }

.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; font-weight: 600; font-size: 16px; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .i { transition: transform .2s; color: var(--ink-soft); }
.acc details[open] summary .i { transform: rotate(180deg); }
.acc__body { padding-bottom: 20px; color: var(--ink-2); font-size: 15px; display: grid; gap: 10px; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; font-size: 14.5px; }
.specs dt { color: var(--ink-soft); }
.specs dd { margin: 0; font-weight: 500; }

.sticky-buy { position: fixed; inset-inline: 0; bottom: 0; z-index: 45; display: flex; align-items: center; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(35, 38, 47, .35); transform: translateY(110%); transition: transform .3s var(--ease); }
.sticky-buy.is-visible { transform: none; }
.sticky-buy__info { display: grid; line-height: 1.2; font-size: 13px; color: var(--ink-soft); }
.sticky-buy__info b { font-size: 20px; color: var(--primary-strong); }
.sticky-buy .btn { flex: 1; }
@media (min-width: 1000px) { .sticky-buy { display: none; } }

/* =====================================================================
   Cart
   ===================================================================== */
.cart-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-block: 18px 24px; }
.cart-head p { color: var(--ink-soft); font-size: 15px; margin-top: 4px; }
.cart { display: grid; gap: 28px; padding-bottom: 72px; }
@media (min-width: 1000px) { .cart { grid-template-columns: 1fr 400px; gap: 48px; align-items: start; } }
.freeship { display: grid; gap: 10px; padding: 16px 18px; border-radius: var(--r-md); background: var(--primary-tint); font-size: 15px; }
.freeship .i { color: var(--primary-ink); }
.freeship__text { display: flex; align-items: center; gap: 10px; }
.freeship__text b { color: var(--primary-ink); }
.freeship__bar { height: 8px; border-radius: 999px; background: #fff; overflow: hidden; }
.freeship__bar span { display: block; height: 100%; border-radius: inherit; background: var(--primary); }

.lines { margin-top: 12px; background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-sm); padding-inline: 18px; }
.line { display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
@media (min-width: 700px) { .line { grid-template-columns: 120px 1fr auto; gap: 22px; } }
.line__thumb { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--mist); }
.line__thumb img { width: 100%; height: 100%; object-fit: cover; }
.line__main { display: grid; gap: 4px; align-content: start; }
.line__title { font-weight: 600; font-size: 17px; line-height: 1.3; }
.line__opts { font-size: 14px; color: var(--ink-soft); }
.line__file { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; color: var(--primary-ink); }
.line__file .i { width: 15px; height: 15px; stroke-width: 2.5; }
.line__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 12px; }
.linkbtn { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-soft); transition: color .15s; }
.linkbtn:hover { color: var(--primary-ink); }
.linkbtn .i { width: 16px; height: 16px; }
.line__price { font-weight: 700; font-size: 18px; text-align: end; }
.line__price small { display: block; font-weight: 400; font-size: 13px; color: var(--ink-soft); }
@media (max-width: 699px) { .line__price { grid-column: 2; text-align: start; margin-top: -4px; } }

.summary { display: grid; gap: 16px; padding: 24px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-md); }
@media (min-width: 1000px) { .summary { position: sticky; top: calc(var(--header-h) + 24px); padding: 28px; } }
.summary h2 { font-size: 22px; font-weight: 700; }
.summary__rows { display: grid; gap: 10px; font-size: 15px; }
.summary__row { display: flex; justify-content: space-between; gap: 12px; }
.summary__row span:first-child { color: var(--ink-2); }
.summary__row--save span:last-child { color: var(--sale); font-weight: 600; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; border-top: 1px solid var(--line); }
.summary__total b { font-size: 28px; font-weight: 800; }
.summary__total small { display: block; font-size: 13px; color: var(--ink-soft); }
.summary__secure { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--ink-soft); }
.summary .pay { justify-content: center; }
.radios { display: grid; gap: 8px; }
.radio-card { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; font-size: 14.5px; transition: border-color .15s, background-color .15s; }
.radio-card:hover { border-color: var(--primary); }
.radio-card:has(input:checked) { border-color: var(--primary); background: var(--primary-tint); }
.radio-card input { appearance: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #BFC5CE; margin: 0; background: #fff; }
.radio-card input:checked { border: 6px solid var(--primary-strong); }
.radio-card input:focus-visible { outline: 3px solid var(--primary-ink); outline-offset: 2px; }
.radio-card b { display: block; font-weight: 600; }
.radio-card small { color: var(--ink-soft); font-size: 13px; }
.radio-card__price { font-weight: 600; }
.coupon { display: flex; gap: 8px; }
.coupon .input { height: 46px; }
.coupon .btn { height: 46px; }

.upsell { margin-top: 32px; }
.upsell h2 { font-size: 20px; font-weight: 700; }
.upsell p { color: var(--ink-soft); font-size: 15px; margin-top: 4px; }
.mini { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 10px; border-radius: 16px; background: #fff; box-shadow: var(--sh-sm); }
.mini img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; }
.mini b { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
.mini span { font-size: 14px; color: var(--primary-strong); font-weight: 600; }
.mini .iconbtn { background: var(--primary-tint); color: var(--primary-ink); }
.mini .iconbtn:hover { background: var(--primary); color: var(--on-primary); }
.minis { display: grid; gap: 10px; margin-top: 16px; }
@media (min-width: 700px) { .minis { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
