/* ==========================================================================
   مَرسم Vapih — Vapih Atelier · v1.0
   © 2026 Vapih — Exclusive store skin. All rights reserved. Not for resale or redistribution.
   Storefront skin for the Vapih store on Zid «نمو» (Growth). Pair with custom.js + settings.json.
   Tokens: edit the --vp-* block below (ink / paper / proof red, fonts, gutters).
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Alyamama:wght@300;500;800&family=IBM+Plex+Mono:wght@400;500&display=swap");

/* ---------- Tokens ---------- */
:root {
  --vp-ink: #171614;          /* hero, benefits, footer */
  --vp-ink-2: #201F1C;
  --vp-ink-line: #3A3833;
  --vp-paper: #EFEBE3;        /* page */
  --vp-paper-2: #E5E0D5;      /* quiet panels */
  --vp-line: #D2CBBE;         /* hairlines on paper */
  --vp-muted: #6B665D;        /* secondary text on paper */
  --vp-muted-ink: #A39D91;    /* secondary text on ink */
  --vp-red: #B5321D;          /* proof red — text on paper */
  --vp-red-ink: #E0573D;      /* proof red — text on ink */
  --vp-display: "Alyamama", "IBM Plex Sans Arabic", serif;
  --vp-body: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --vp-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;
  --vp-gutter: clamp(16px, 4.45vw, 64px);
  --vp-max: 1312px;
  --vp-ease: cubic-bezier(.2, .7, .1, 1);

  --font-family: var(--vp-body);
  --border-light: var(--vp-line);
  --muted-foreground: var(--vp-muted);
}

/* ---------- Base ---------- */
html { background: var(--vp-paper); }
body { font-family: var(--vp-body); background: var(--vp-paper); color: var(--vp-ink); overflow-x: hidden; }
::selection { background: var(--vp-ink); color: var(--vp-paper); }
.tracking-tight, .tracking-wide { letter-spacing: 0; }
:where(h1, h2, h3) { font-family: var(--vp-display); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--vp-red); outline-offset: 2px; }
.vp-mono { font-family: var(--vp-mono); letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }

/* buttons */
.btn { border-radius: 0; font-weight: 500; transition: background-color .25s, color .25s, border-color .25s; }
.btn-filled { background: var(--vp-ink); color: var(--vp-paper); border-color: var(--vp-ink); }
.btn-filled:hover { opacity: 1; background: var(--vp-red); border-color: var(--vp-red); }
.btn-outlined { border-color: var(--vp-ink); color: var(--vp-ink); }
.btn-outlined:hover { box-shadow: none; --tw-ring-shadow: 0 0 #0000; background: var(--vp-ink); color: var(--vp-paper); }
.qty-input { border-radius: 0; border-color: var(--vp-ink); background: transparent; }
.form-input-wrapper, .form-input { border-radius: 0; }

/* registration mark (ornament) */
.vp-reg { display: inline-block; width: 13px; height: 13px; flex: none; vertical-align: -1px; color: var(--vp-red);
  background:
    radial-gradient(circle closest-side, transparent 0 calc(62% - 1px), currentColor calc(62% - 1px) 62%, transparent 62%),
    linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat,
    linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat; }

/* crop marks — drawn on a ::after that sits 14px outside the framed box */
.vp-crop { position: relative; }
.vp-crop::after {
  --l: 9px; --o: 14px;
  content: ""; position: absolute; inset: calc(var(--o) * -1); pointer-events: none; z-index: 2;
  background:
    linear-gradient(var(--vp-mark, currentColor), var(--vp-mark, currentColor)) left 0 top var(--o) / var(--l) 1px no-repeat,
    linear-gradient(var(--vp-mark, currentColor), var(--vp-mark, currentColor)) left var(--o) top 0 / 1px var(--l) no-repeat,
    linear-gradient(var(--vp-mark, currentColor), var(--vp-mark, currentColor)) right 0 top var(--o) / var(--l) 1px no-repeat,
    linear-gradient(var(--vp-mark, currentColor), var(--vp-mark, currentColor)) right var(--o) top 0 / 1px var(--l) no-repeat,
    linear-gradient(var(--vp-mark, currentColor), var(--vp-mark, currentColor)) left 0 bottom var(--o) / var(--l) 1px no-repeat,
    linear-gradient(var(--vp-mark, currentColor), var(--vp-mark, currentColor)) left var(--o) bottom 0 / 1px var(--l) no-repeat,
    linear-gradient(var(--vp-mark, currentColor), var(--vp-mark, currentColor)) right 0 bottom var(--o) / var(--l) 1px no-repeat,
    linear-gradient(var(--vp-mark, currentColor), var(--vp-mark, currentColor)) right var(--o) bottom 0 / 1px var(--l) no-repeat;
  transition: inset .35s var(--vp-ease);
}

/* ---------- Announcement + header ---------- */
[data-announcement-bar] { background: var(--vp-ink); color: var(--vp-paper); border-bottom: 1px solid var(--vp-ink-line); }
[data-announcement-bar] .announcement-marquee { padding-block: 7px; }
[data-announcement-bar] span { font-size: 12.5px; }
header { background: var(--vp-paper); border-bottom: 1px solid var(--vp-ink); }
header img[alt] { mix-blend-mode: multiply; }
header nav ul a, header nav ul button { font-size: 13.5px; color: var(--vp-ink); }
header nav ul a:hover, header nav ul button:hover { text-decoration: underline; text-decoration-color: var(--vp-red); text-underline-offset: 7px; text-decoration-thickness: 1px; }
#more-menu-popover, el-popover { border-radius: 0; border-color: var(--vp-ink); background: var(--vp-paper); box-shadow: 6px 6px 0 var(--vp-ink); }
#mobile-drawer .bg-background, #search-dialog .bg-background { background: var(--vp-paper); }
#mobile-drawer a { font-size: 15px; border-bottom: 1px solid var(--vp-line); }

/* ---------- Section heads (numbered, ruled) ---------- */
.vp-head { border-top: 1px solid var(--vp-ink); padding-top: 18px; align-items: flex-end; gap: 16px; }
.vp-head h2, h2.vp-h { font-family: var(--vp-display); font-weight: 300; font-size: clamp(34px, 4.6vw, 66px); line-height: 1.05; color: var(--vp-ink); }
h2[data-vp-no]::before { content: attr(data-vp-no); display: block; margin-bottom: 14px; font: 500 11.5px/1 var(--vp-mono); letter-spacing: .16em; color: var(--vp-red); }
.vp-head > a { font-size: 13.5px; padding: 0 0 6px; border-bottom: 1px solid var(--vp-ink); gap: 10px; white-space: nowrap; }
.vp-head > a:hover { color: var(--vp-red); border-color: var(--vp-red); }

/* ---------- Hero ---------- */
.vp .section-hero {
  --vp-mark: rgba(239, 235, 227, .5);
  background: var(--vp-ink); color: var(--vp-paper); min-height: 0;
  display: grid; grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "colo" "text" "plate" "index";
  row-gap: 40px; align-items: center;
  padding: 0 max(var(--vp-gutter), calc((100% - var(--vp-max)) / 2)) 28px;
}
.vp .section-hero > .absolute { grid-area: plate; position: relative; inset: auto; z-index: 1; aspect-ratio: 4 / 3; width: 100%; background: #e9e8e5; outline: 1px solid rgba(239, 235, 227, .22); outline-offset: 0; }
.vp .section-hero > .absolute img { width: 100%; height: 100%; object-fit: cover; }
.vp .section-hero > .absolute > .absolute { display: none; }
.vp .section-hero > .theme-container { grid-area: text; max-width: none; margin: 0; gap: 0; z-index: 2; }
.vp .section-hero > .theme-container > div { max-width: 640px; gap: 32px; }
.vp .section-hero .text-foreground { color: var(--vp-paper); }
.vp .section-hero span.uppercase { display: inline-flex; align-items: center; gap: 12px; font: 500 11.5px/1.4 var(--vp-mono); letter-spacing: .18em; color: var(--vp-muted-ink); }
.vp .section-hero :is(h1, h2) { font-family: var(--vp-display); font-weight: 300; font-size: clamp(66px, 10.4vw, 164px); line-height: .98; margin: 6px 0 8px; color: var(--vp-paper); }
.vp-w { display: block; }
.vp-w + .vp-w { padding-inline-start: .9em; }
.vp-w:last-child { font-weight: 800; }
.vp .section-hero p { font-size: clamp(15px, 1.15vw, 17px); line-height: 1.95; color: #D9D4CA; max-width: 52ch; }
.vp .section-hero .btn { height: 54px; padding-inline: 30px; background: var(--vp-paper); color: var(--vp-ink); border-color: var(--vp-paper); font-size: 15px; gap: 14px; }
.vp .section-hero .btn::after { content: ""; width: 22px; height: 1px; background: currentColor; box-shadow: none; transition: width .3s var(--vp-ease); }
.vp .section-hero .btn:hover { background: var(--vp-red); border-color: var(--vp-red); color: #fff; }
.vp .section-hero .btn:hover::after { width: 34px; }

/* colophon row (added by JS) */
.vp-colo { grid-area: colo; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0 14px; border-bottom: 1px solid var(--vp-ink-line); color: var(--vp-muted-ink); font: 500 10.5px/1.4 var(--vp-mono); letter-spacing: .16em; text-transform: uppercase; }
.vp-colo span:nth-child(2) { display: none; }
.vp-plate-cap { position: absolute; inset-block-start: calc(100% + 12px); inset-inline-start: 0; font: 500 10.5px/1.4 var(--vp-mono); letter-spacing: .14em; color: var(--vp-muted-ink); display: flex; gap: 12px; white-space: nowrap; }
.vp-plate-cap b { font: 400 12.5px/1.4 var(--vp-body); letter-spacing: 0; color: #D9D4CA; }

/* colour index (added by JS) */
.vp-index { grid-area: index; margin-top: 30px; }
.vp-index__bar { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 3px; }
.vp-index__bar i { display: block; height: 30px; transform-origin: bottom; background: linear-gradient(var(--b) 0 52%, var(--a) 52% 84%, var(--c) 84%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); transition: transform .35s var(--vp-ease); cursor: default; }
.vp-index__bar i:hover, .vp-index__bar i.is-on { transform: translateY(-6px); }
.vp-index__meta { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding-top: 12px; margin-top: 12px; border-top: 1px solid var(--vp-ink-line); font-size: 12.5px; color: var(--vp-muted-ink); }
.vp-index__meta b { font-weight: 500; color: var(--vp-paper); }
.vp-index__meta .vp-mono { font-size: 10.5px; }
.vp-index__name { color: var(--vp-paper); min-height: 1.4em; }
.vp-index__name em { font-style: normal; font-family: var(--vp-mono); font-size: 11px; letter-spacing: .1em; color: var(--vp-red-ink); margin-inline-end: 10px; }

/* ---------- Categories: mosaic index ---------- */
.vp .section-categories { padding-block: clamp(56px, 8vw, 120px) clamp(8px, 2vw, 24px); padding-inline: var(--vp-gutter); }
.vp .section-categories > .theme-container { max-width: var(--vp-max); }
.vp .section-categories .embla__viewport { overflow: visible; }
.vp .section-categories .embla__container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; margin: 0; transform: none !important; }
.vp .section-categories .embla__slide { padding: 0; min-width: 0; transform: none; }
.vp .section-categories .embla__slide:first-child { grid-column: 1 / -1; }
.vp .section-categories .embla-wrapper > :last-child { display: none; }
.vp .section-categories .embla__slide a { display: flex; flex-direction: column; gap: 12px; height: 100%; }
.vp .section-categories .embla__slide a > div { border-radius: 0; background: var(--vp-ink); position: relative; }
.vp .section-categories .embla__slide img { aspect-ratio: 1 / 1; height: auto; transition: transform .8s var(--vp-ease), filter .5s; }
.vp .section-categories .embla__slide:first-child img { aspect-ratio: 16 / 10; }
.vp .section-categories .embla__slide a:hover img { transform: scale(1.035); }
.vp .section-categories h3 { font-family: var(--vp-display); font-weight: 500; font-size: 17px; line-height: 1.35; text-align: start; color: var(--vp-ink); display: flex; flex-direction: column; gap: 4px; }
.vp .section-categories h3::before { content: attr(data-vp-no); font: 500 10.5px/1 var(--vp-mono); letter-spacing: .14em; color: var(--vp-red); }
.vp-k { font-family: var(--vp-body); font-size: max(.62em, 11.5px); font-weight: 400; color: var(--vp-muted); display: block; line-height: 1.2; }

/* ---------- Product cards: proof plates ---------- */
.vp .section-products { padding-block: clamp(40px, 5vw, 72px) clamp(64px, 8vw, 120px); padding-inline: var(--vp-gutter); }
.vp .section-products > .theme-container { max-width: var(--vp-max); }
.vp .section-products .theme-container > .flex-col { gap: clamp(32px, 4vw, 56px); }
.vp [data-grid-root][data-grid="grid"] { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; row-gap: 44px; }

.vp [data-product-card] { gap: 0; --vp-mark: var(--vp-ink); }
.vp [data-product-card] > a:first-child { aspect-ratio: 4 / 3; height: auto; border-radius: 0; overflow: visible; background: #ebebe8; box-shadow: 0 0 0 1px rgba(23, 22, 20, .16); }
.vp [data-product-card] > a:first-child::after { --o: 10px; --l: 7px; opacity: .8; }
.vp [data-product-card]:hover > a:first-child { --vp-mark: var(--vp-red); }
.vp [data-product-card]:hover > a:first-child::after { inset: -14px; }
.vp [data-product-card] > a:first-child img { width: 100%; height: 100%; object-fit: cover; transition: filter .4s; }
.vp [data-product-card] [data-wishlist-btn] { background: var(--vp-paper); border-radius: 0; width: 34px; height: 34px; bottom: 10px; inset-inline-end: 10px; left: auto; right: auto; backdrop-filter: none; box-shadow: 0 0 0 1px rgba(23, 22, 20, .12); z-index: 3; }
html[dir="rtl"] .vp [data-product-card] [data-wishlist-btn] { left: 10px; right: auto; }
html[dir="ltr"] .vp [data-product-card] [data-wishlist-btn] { right: 10px; left: auto; }
.vp [data-product-card] > a + div { display: flex; flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 6px 10px; padding-top: 18px; }
.vp-no { flex: 0 0 100%; font: 500 10.5px/1 var(--vp-mono); letter-spacing: .14em; color: var(--vp-muted); display: flex; gap: 10px; align-items: center; }
.vp-no::before { content: ""; width: 14px; height: 1px; background: var(--vp-red); }
.vp [data-product-card] > a + div > div { flex: 0 1 auto; min-width: 0; gap: 0; }
.vp [data-product-card] h3 { font-family: var(--vp-display); font-weight: 500; font-size: 19px; line-height: 1.3; color: var(--vp-ink); }
.vp [data-product-card] h3 .vp-k { font-size: 11.5px; margin-bottom: 2px; }
.vp [data-product-card] > a + div::after { content: ""; order: 2; flex: 1 1 24px; min-width: 24px; border-bottom: 1px dotted rgba(23, 22, 20, .45); transform: translateY(-8px); }
.vp [data-product-card] > a + div > p { order: 3; font: 500 15px/1 var(--vp-body); color: var(--vp-ink); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.vp [data-product-card] .text-destructive, .vp [data-product-card] .line-through { color: var(--vp-muted); }
.vp [data-product-card] > div.mt-auto { margin-top: 14px; }
.vp [data-product-card] [data-add-to-cart] { height: 42px; justify-content: space-between; padding-inline: 14px; font-size: 13.5px; border-color: var(--vp-ink); }
.vp [data-product-card] [data-add-to-cart]::after { content: "+"; font: 400 18px/1 var(--vp-mono); }
.vp [data-product-card] .qty-input { height: 42px; }

/* ---------- Benefits: ink band ---------- */
.vp .section-benefits { background: var(--vp-ink); color: var(--vp-paper); padding: clamp(56px, 7vw, 104px) var(--vp-gutter); }
.vp .section-benefits > .theme-container { max-width: var(--vp-max); }
.vp-band-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-bottom: 28px; margin-bottom: 8px; border-bottom: 1px solid var(--vp-ink-line); }
.vp-band-head h2 { color: var(--vp-paper); font-weight: 300; font-size: clamp(32px, 4.2vw, 58px); line-height: 1.08; }
.vp-band-head h2[data-vp-no]::before { color: var(--vp-red-ink); }
.vp-band-head p { color: var(--vp-muted-ink); font-size: 13.5px; max-width: 34ch; line-height: 1.8; }
.vp .section-benefits .grid { grid-template-columns: minmax(0, 1fr); gap: 0; text-align: start; }
.vp .section-benefits .grid > div { align-items: stretch; flex-direction: row; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--vp-ink-line); }
.vp .section-benefits .grid > div::before { content: attr(data-vp-n); font: 300 40px/1 var(--vp-display); color: var(--vp-red-ink); min-width: 1.4em; }
.vp .section-benefits h3 { color: var(--vp-paper); font-family: var(--vp-display); font-weight: 500; font-size: 19px; line-height: 1.35; }
.vp .section-benefits p { color: var(--vp-muted-ink); font-size: 14px; line-height: 1.8; }
.vp .section-benefits .space-y-2 > * + * { margin-top: 6px; }

/* ---------- Call to action ---------- */
.vp .section-call-to-action { background: var(--vp-paper-2) !important; padding: clamp(64px, 9vw, 136px) var(--vp-gutter); isolation: isolate; }
.vp .section-call-to-action::before { content: ""; position: absolute; z-index: -1; width: clamp(180px, 26vw, 380px); aspect-ratio: 1; inset-inline-end: calc(var(--vp-gutter) * -.5); top: 50%; transform: translateY(-50%); color: rgba(23, 22, 20, .13);
  background:
    radial-gradient(circle closest-side, transparent 0 calc(100% - 1.5px), currentColor calc(100% - 1.5px) 100%, transparent 100%),
    radial-gradient(circle closest-side, transparent 0 calc(58% - 1.5px), currentColor calc(58% - 1.5px) 58%, transparent 58%),
    linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat,
    linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat; }
.vp .section-call-to-action > .theme-container { max-width: var(--vp-max); align-items: flex-start; text-align: start; gap: 32px; }
.vp .section-call-to-action > .theme-container > div:first-child { color: var(--vp-ink) !important; gap: 18px; }
.vp .section-call-to-action h2 { font-family: var(--vp-display); font-weight: 300; font-size: clamp(38px, 5.6vw, 84px); line-height: 1.06; max-width: 13ch; }
.vp .section-call-to-action h2[data-vp-no]::before { margin-bottom: 22px; }
.vp .section-call-to-action p { font-size: clamp(15px, 1.2vw, 18px); line-height: 1.9; color: #3F3C36; max-width: 46ch; }
.vp .section-call-to-action .btn { height: 54px; padding-inline: 34px; gap: 14px; font-size: 15px; }
.vp .section-call-to-action .btn::after { content: ""; width: 22px; height: 1px; background: currentColor; }

/* ---------- Footer ---------- */
.vp #footer { background: var(--vp-ink); color: var(--vp-paper); padding: clamp(56px, 7vw, 96px) var(--vp-gutter) 0; overflow: hidden; }
.vp #footer > .theme-container { max-width: var(--vp-max); }
.vp #footer .text-foreground, .vp #footer a { color: var(--vp-paper); }
.vp #footer h3 { font: 500 10.5px/1.4 var(--vp-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--vp-muted-ink); }
.vp #footer h3.vp-ar { font: 500 13px/1.4 var(--vp-body); letter-spacing: 0; }
.vp #footer img[alt="Vapih Store"], .vp #footer > .theme-container > .grid img:first-child { filter: invert(1); mix-blend-mode: screen; width: 96px; height: auto; }
.vp #footer ul a { font-size: 14px; }
.vp #footer ul svg { color: var(--vp-muted-ink); }
.vp #footer .border-t { border-color: var(--vp-ink-line); }
.vp #footer a[href*="zid.sa"] p { color: var(--vp-muted-ink) !important; }
.vp #footer a[href*="zid.sa"] img { filter: brightness(0) invert(.82); }
.vp #footer a.py-1 img { background: #fff; padding: 2px; border-radius: 2px; }
.vp-hide { display: none !important; }
.vp-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 22px 0 0; margin-top: 22px; border-top: 1px solid var(--vp-ink-line); font-size: 12.5px; color: var(--vp-muted-ink); }
.vp-legal b { font-weight: 500; color: var(--vp-paper); }
.vp-wordmark { font: 800 clamp(80px, 34vw, 490px)/.74 var(--vp-display); letter-spacing: -.02em; color: #262420; text-align: center; margin: 28px 0 0; padding-bottom: .02em; user-select: none; white-space: nowrap; direction: ltr; overflow: hidden; }

/* footer link groups */
.vp #footer ul.mt-4 li { padding-block: 5px; }
.vp #footer ul.mt-4 a { font-size: 14px; color: #D9D4CA; text-decoration: none; }
.vp #footer ul.mt-4 a:hover { color: var(--vp-paper); text-decoration: underline; text-decoration-color: var(--vp-red-ink); text-underline-offset: 6px; }
.vp #footer > .theme-container > .grid > div:first-child p { color: var(--vp-muted-ink); font-size: 13.5px; line-height: 1.9; max-width: 34ch; text-wrap: pretty; }

/* ---------- Product page ---------- */
.vp [data-product-sku-wrapper] { display: none !important; }
.vp #sticky-cta { background: var(--vp-paper); border-top: 1px solid var(--vp-ink); }
.vp #sticky-cta h3 { font-family: var(--vp-display); font-weight: 500; font-size: 15px; }
.vp main nav[aria-label="breadcrumb"] ol { font-size: 12.5px; color: var(--vp-muted); gap: 6px; }
.vp main nav[aria-label="breadcrumb"] a { text-decoration: none; }
.vp main nav[aria-label="breadcrumb"] a:hover { color: var(--vp-red); }
.vp main nav[aria-label="breadcrumb"] [aria-current] { color: var(--vp-ink); font-weight: 500; }
.vp #product-main-section { gap: 40px; }
.vp .product-gallery-column > .space-y-3 > .relative { --vp-mark: var(--vp-ink); }
.vp .product-gallery { border-radius: 0; background: #ebebe8; box-shadow: 0 0 0 1px rgba(23, 22, 20, .16); }
.vp .product-gallery__prev, .vp .product-gallery__next { border-radius: 0; background: var(--vp-paper); backdrop-filter: none; box-shadow: 0 0 0 1px rgba(23, 22, 20, .15); }
.vp .product-gallery__slide img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.vp .product-gallery-thumbs { padding-top: 10px; }
.vp .product-gallery-thumbs__slide img { aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.vp .product-gallery-thumbs__slide { border-radius: 0; border-color: transparent; opacity: .55; transition: opacity .25s; box-shadow: 0 0 0 1px rgba(23, 22, 20, .12); }
.vp .product-gallery-thumbs__slide.border-primary, .vp .product-gallery-thumbs__slide:hover { opacity: 1; box-shadow: 0 0 0 1px var(--vp-ink); }
.vp .product-details-column { gap: 22px; }
.vp .product-details-column #header { padding-bottom: 22px; border-bottom: 1px solid var(--vp-ink); }
.vp .product-details-column h1 { font-family: var(--vp-display); font-weight: 300; font-size: clamp(38px, 4.4vw, 64px); line-height: 1.04; color: var(--vp-ink); }
.vp .product-details-column h1 .vp-k { font-size: 14px; color: var(--vp-red); margin-bottom: 10px; font-family: var(--vp-body); }
.vp [data-product-price] { font: 600 26px/1 var(--vp-body); display: inline-flex; align-items: center; gap: 6px; }
.vp .product-details-column > .prose { font-size: 15px; line-height: 1.95; color: #3F3C36; max-width: 60ch; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.vp-spec { margin: 0; display: grid; grid-template-columns: auto 1fr; border-top: 1px solid var(--vp-line); }
.vp-spec dt, .vp-spec dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--vp-line); font-size: 13.5px; line-height: 1.6; }
.vp-spec dt { color: var(--vp-muted); padding-inline-end: 28px; }
.vp-spec dd { color: var(--vp-ink); }
/* live preview — product page button + card link */
.vp-live { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center; margin: 18px 0 6px; padding: 14px 18px; border: 1px solid var(--vp-ink); color: var(--vp-ink); text-decoration: none; background: transparent; transition: background .25s var(--vp-ease), color .25s var(--vp-ease); }
.vp-live b { font-size: 15px; font-weight: 700; }
.vp-live span { grid-column: 1; font-size: 12.5px; color: var(--vp-muted); }
.vp-live i { grid-column: 2; grid-row: 1 / span 2; font-style: normal; font-size: 11px; color: var(--vp-red); }
.vp-live:hover { background: var(--vp-ink); color: var(--vp-paper); }
.vp-live:hover span { color: var(--vp-muted-ink); }
.vp-live:hover i { color: var(--vp-red-ink); }
.vp-pv { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12px; color: var(--vp-red); text-decoration: none; border-bottom: 1px solid currentColor; width: fit-content; position: relative; z-index: 2; }
.vp-pv::after { content: "↗"; font-family: var(--vp-mono); font-size: 11px; }
.vp-pv:hover { color: var(--vp-ink); }

.vp #product-form .form-label { font-size: 12.5px; color: var(--vp-muted); }
.vp [data-product-actions] .btn { height: 56px; font-size: 15px; }
.vp [data-product-actions] .btn-buy-now { background: transparent; color: var(--vp-ink); border-color: var(--vp-ink); }
.vp [data-product-actions] .btn-buy-now:hover { background: var(--vp-ink); color: var(--vp-paper); }
.vp [data-product-actions] [data-wishlist-btn] { width: 56px; height: 56px; border-radius: 0; border-color: var(--vp-ink); background: transparent; backdrop-filter: none; }
.vp-assure { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--vp-muted); }
.vp #additional-info > div > button { background: transparent; border-radius: 0; border-top: 1px solid var(--vp-ink); border-bottom: 1px solid var(--vp-line); padding: 14px 0; }
.vp #additional-info > div > button > span:first-child { font: 500 20px/1.3 var(--vp-display); }
.vp #additional-info .prose { font-size: 15px; line-height: 2; color: #33302B; max-width: 72ch; }
.vp #additional-info .prose p { margin: 0 0 6px !important; }
.vp #additional-info el-disclosure > div { padding-inline: 0; padding-top: 10px; }
.vp [data-products-carousel] h2 { font-weight: 300; font-size: clamp(30px, 3.6vw, 48px); }
.vp [data-products-carousel] > .flex:first-child { border-top: 1px solid var(--vp-ink); padding-top: 18px; }
.vp .products-embla__container { padding-block: 16px; }

/* ---------- Listing / category page ---------- */
.vp main > section:first-child:has(> .bg-secondary.absolute) { background: var(--vp-ink); padding-block: clamp(48px, 7vw, 104px) clamp(36px, 5vw, 64px); padding-inline: var(--vp-gutter); }
.vp main > section:first-child > .bg-secondary.absolute { display: none; }
.vp main > section:first-child:has(> .bg-secondary.absolute) > .theme-container { max-width: var(--vp-max); }
.vp main > section:first-child:has(> .bg-secondary.absolute) h1 { font-family: var(--vp-display); font-weight: 300; font-size: clamp(44px, 7vw, 112px); line-height: 1; color: var(--vp-paper); }
.vp main > section:first-child h1 .vp-k { font-size: 15px; color: var(--vp-red-ink); margin-bottom: 14px; }
.vp main > section:first-child h1[data-vp-no]::before { content: attr(data-vp-no); display: block; margin-bottom: 18px; font: 500 11px/1 var(--vp-mono); letter-spacing: .16em; color: var(--vp-muted-ink); }
.vp #products-content { gap: 36px; }
.vp #products-content > .flex-col:first-child > .flex { border-bottom: 1px solid var(--vp-ink); padding-bottom: 12px; font-size: 13px; }
.vp #products-content .btn-group-item, .vp #products-content [aria-pressed] { border-radius: 0; }

/* ---------- Reveal motion ---------- */
.vp-anim .vp-rv { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--vp-ease), transform .9s var(--vp-ease); }
.vp-anim .vp-rv.vp-in { opacity: 1; transform: none; }
.vp-anim .vp-index__bar i { animation: vp-grow .7s var(--vp-ease) both; animation-delay: calc(var(--i) * 18ms + 250ms); }
.vp-anim .section-hero .vp-w { animation: vp-rise 1s var(--vp-ease) both; }
.vp-anim .section-hero .vp-w + .vp-w { animation-delay: .12s; }
@keyframes vp-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes vp-rise { from { opacity: 0; transform: translateY(.18em); } to { opacity: 1; transform: none; } }

/* ---------- Tablet ---------- */
@media (min-width: 768px) {
  .vp .section-hero { row-gap: 48px; }
  .vp .section-hero > .absolute { width: 82%; justify-self: end; }
  .vp-colo span:nth-child(2) { display: inline; }
  .vp-index__bar { grid-template-columns: repeat(40, minmax(0, 1fr)); }
  .vp-index__bar i { height: 52px; }
  .vp .section-categories .embla__container { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .vp .section-categories .embla__slide:first-child { grid-column: span 2; grid-row: span 2; }
  .vp .section-categories .embla__slide a > div { overflow: hidden; }
  .vp .section-categories .embla__slide img { aspect-ratio: 4 / 3; }
  .vp .section-categories .embla__slide:first-child a { min-height: 100%; }
  .vp .section-categories .embla__slide:first-child a > div { position: absolute; inset: 0; }
  .vp .section-categories .embla__slide:first-child img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
  .vp .section-categories .embla__slide a { position: relative; gap: 0; }
  .vp .section-categories h3 { position: absolute; inset-block-end: 0; inset-inline-start: 0; max-width: calc(100% - 24px); background: var(--vp-ink); color: var(--vp-paper); padding: 10px 14px 12px; font-size: 16px; transition: background-color .3s, color .3s; z-index: 2; }
  .vp .section-categories .embla__slide:first-child h3 { font-size: 24px; padding: 14px 20px 16px; }
  .vp .section-categories h3 .vp-k { color: var(--vp-muted-ink); }
  .vp .section-categories h3::before { color: var(--vp-red-ink); }
  .vp .section-categories .embla__slide a:hover h3 { background: var(--vp-red); }
  .vp .section-categories .embla__slide a:hover h3 .vp-k, .vp .section-categories .embla__slide a:hover h3::before { color: #F6D9D2; }
  .vp [data-grid-root][data-grid="grid"] { column-gap: 32px; row-gap: 60px; }
  .vp .section-benefits .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  .vp #product-main-section { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .vp .section-categories .embla__slide:not(:first-child) h3 { font-size: 14px; padding: 8px 10px 9px; max-width: calc(100% - 12px); }
  .vp .section-categories .embla__slide:not(:first-child) h3 .vp-k { display: none; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
  .vp .section-hero {
    grid-template-columns: minmax(0, 6.2fr) minmax(0, 5fr);
    grid-template-areas: "colo colo" "text plate" "index index";
    column-gap: clamp(40px, 5vw, 96px); row-gap: 0;
  }
  .vp .section-hero > .theme-container { padding-block: 72px 40px; align-self: center; }
  .vp .section-hero > .absolute { width: 100%; justify-self: stretch; margin-block: 56px 48px; }
  .vp-index { margin-top: 56px; }
  .vp-index__bar i { height: 60px; }
  .vp .section-categories .embla__container { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .vp .section-categories .embla__slide:first-child h3 { font-size: 30px; }
  .vp [data-grid-root][data-grid="grid"] { grid-template-columns: repeat(var(--cols-desktop, 3), minmax(0, 1fr)); column-gap: clamp(32px, 3.4vw, 56px); row-gap: 76px; }
  .vp [data-product-card] h3 { font-size: 21px; }
  .vp .section-benefits .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 0; }
  .vp .section-benefits .grid > div { flex-direction: column; gap: 26px; padding: 34px 28px 8px; border-bottom: 0; border-inline-start: 1px solid var(--vp-ink-line); }
  .vp .section-benefits .grid > div:first-child { border-inline-start: 0; padding-inline-start: 0; }
  .vp .section-benefits .grid > div::before { font-size: 64px; }
  .vp .section-call-to-action > .theme-container { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; column-gap: 64px; }
  .vp .section-call-to-action > .theme-container > div:last-child { padding-bottom: 10px; }
  .vp #product-main-section { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(48px, 5vw, 88px); align-items: start; }
  .vp .product-details-column { position: sticky; top: 140px; }
}

/* ---------- Phone ---------- */
@media (max-width: 767px) {
  .vp .section-hero { padding-bottom: 22px; row-gap: 30px; }
  .vp .section-hero > .theme-container { padding-top: 10px; }
  .vp .section-hero > .theme-container > div { gap: 24px; }
  .vp .section-hero > .absolute { margin-bottom: 26px; }
  .vp-index { margin-top: 18px; }
  .vp-index__meta { flex-direction: column; gap: 6px; }
  .vp-head { flex-wrap: wrap; }
  .vp [data-product-card] > a + div { flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 14px; }
  .vp [data-product-card] > a + div::after { display: none; }
  .vp-no { flex: none; width: 100%; }
  .vp [data-product-card] h3 { font-size: 16px; }
  .vp [data-product-card] > a + div > p { font-size: 14px; }
  .vp [data-product-card] [data-add-to-cart] { height: 40px; padding-inline: 10px; font-size: 12.5px; }
  .vp [data-product-card] > a:first-child::after { --o: 7px; --l: 5px; }
  .vp [data-product-card] [data-wishlist-btn] { width: 30px; height: 30px; bottom: 6px; }
  html[dir="rtl"] .vp [data-product-card] [data-wishlist-btn] { left: 6px; }
  .vp-band-head { flex-direction: column; align-items: flex-start; }
  .vp .section-call-to-action::before { top: 28px; transform: none; opacity: .7; }
  .vp-legal { flex-direction: column; }
  .vp [data-product-actions] > div { flex-wrap: wrap; }
  .vp [data-product-actions] .btn-filled:not(.btn-buy-now) { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .vp *, .vp *::before, .vp *::after { animation: none !important; transition: none !important; }
  .vp-anim .vp-rv { opacity: 1; transform: none; }
}