/* ==========================================================================
   LUNE — retail preview
   Light editorial commerce for the UAE market.
   ========================================================================== */

:root {
  --paper: #f6f3ee;
  --panel: #ffffff;
  --ink: #14110e;
  --ink-2: #3d3832;
  --muted: #7d756a;
  --line: #e4ddd2;
  --line-2: #cdc3b4;
  --red: #c8102e;
  --red-dark: #9d0b23;
  --green: #2f7d4f;

  --sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --serif: "Cormorant Garamond", "Didot", Georgia, serif;
  --ar: "Segoe UI", Tahoma, "Noto Naskh Arabic", sans-serif;

  --wrap: 1240px;
  --gutter: 32px;
  --h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ---------- primitives ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.eyebrow--red { color: var(--red); }
.lede { color: var(--ink-2); font-size: 16px; line-height: 1.7; max-width: 54ch; }
.hair { height: 1px; background: var(--line); border: 0; margin: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
              color 0.25s var(--ease), transform 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: #2b2620; border-color: #2b2620; }
.btn--red { background: var(--red); border-color: var(--red); }
.btn--red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: rgba(20, 17, 14, 0.05); color: var(--ink); }
.btn--sm { padding: 10px 16px; font-size: 12px; }
.btn--block { width: 100%; }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid transparent;
  background: none;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  color: var(--ink);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.icon-btn:hover { background: rgba(20, 17, 14, 0.05); border-color: var(--line); }

/* ---------- announce ---------- */
.announce {
  background: var(--ink);
  color: #efe9e0;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 9px 16px;
}
.announce b { color: #fff; font-weight: 600; }
.announce .sep { opacity: 0.45; margin-inline: 10px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(246, 243, 238, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--h);
  display: flex;
  align-items: center;
  gap: 26px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.12em;
}
.logo-mark {
  background: var(--red);
  color: #fff;
  padding: 3px 7px 2px;
  font-size: 17px;
  letter-spacing: 0.1em;
  line-height: 1.2;
}
.logo small {
  display: block;
  font-size: 8.5px;
  letter-spacing: 0.28em;
  color: var(--muted);
  font-weight: 600;
  margin-top: 1px;
}
.nav { display: flex; align-items: center; gap: 22px; margin-inline-start: 10px; }
.nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; }
.lang {
  display: flex;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  overflow: hidden;
}
.lang button {
  background: none;
  border: 0;
  padding: 6px 9px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.cart-count {
  position: absolute;
  top: 2px; inset-inline-end: 2px;
  min-width: 17px; height: 17px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 4px;
}
.burger { display: none; }

/* ---------- hero ---------- */
.hero { border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fffdf9, var(--paper)); }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding-block: clamp(38px, 5vw, 68px);
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 57px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-block: 18px 20px;
  max-width: 15ch;
}
.hero h1 em { font-style: normal; color: var(--red); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-chip { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-2); }
.hero-chip svg { stroke: var(--red); flex: 0 0 auto; }
.hero-media { position: relative; }
.hero-frame {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 22px;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.hero-frame img { width: 100%; height: 100%; object-fit: contain; }

.hero-badge {
  position: absolute;
  top: 16px;
  inset-inline-start: 16px;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
  z-index: 2;
}
.hero-note {
  position: absolute;
  bottom: 18px;
  inset-inline-start: 42px;
  z-index: 2;
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px 14px;
  font-size: 11.5px;
  color: var(--ink-2);
  max-width: 190px;
  line-height: 1.5;
}
.hero-note b { display: block; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-bottom: 2px; }

/* ---------- trust ---------- */
.trust { background: var(--panel); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-item {
  padding: 22px 24px;
  border-inline-start: 1px solid var(--line);
  display: flex; gap: 13px; align-items: flex-start;
}
.trust-item:first-child { border-inline-start: 0; padding-inline-start: 0; }
.trust-item:last-child { padding-inline-end: 0; }
.trust-item svg { stroke: var(--red); flex: 0 0 auto; margin-top: 2px; }
.trust-item h3 { font-size: 13.5px; font-weight: 600; letter-spacing: 0; }
.trust-item p { font-size: 12px; color: var(--muted); line-height: 1.5; margin-top: 2px; }

/* ---------- sections ---------- */
.section { padding-block: clamp(44px, 5.5vw, 82px); }
.section--tight { padding-block: clamp(32px, 4vw, 56px); }
.section--white { background: var(--panel); border-block: 1px solid var(--line); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(22px, 3vw, 34px);
}
.section-head h2 {
  font-size: clamp(23px, 2.6vw, 33px);
  letter-spacing: -0.025em;
  margin-top: 8px;
  max-width: 22ch;
}
.section-head .link {
  font-size: 12.5px;
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  white-space: nowrap;
}
.section-head .link:hover { color: var(--red); border-color: var(--red); }

/* ---------- categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cat-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.cat-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -22px rgba(20, 17, 14, 0.5);
}
.cat-thumb {
  width: 68px; height: 68px;
  flex: 0 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  overflow: hidden;
}
.cat-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.cat-meta h3 { font-size: 14.5px; font-weight: 600; }
.cat-meta p { font-size: 11.5px; color: var(--muted); letter-spacing: 0.02em; }

/* ---------- product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  position: relative;
}
.card:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -26px rgba(20, 17, 14, 0.55);
}
.card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #fff;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.card-media img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 9%;
  transition: transform 0.4s var(--ease), filter 0.2s var(--ease);
}
.card:hover .card-media img { transform: scale(1.04); }
.card-tag {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  background: var(--red);
  color: #fff;
  padding: 4px 8px;
  z-index: 2;
}
.card-tag--dark { background: var(--ink); }
.card-body { padding: 13px 14px 15px; display: flex; flex-direction: column; flex: 1; }
.card-cat { font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.card-name {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  margin-top: 5px;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.card-name a:hover { color: var(--red); }
.card-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; }
.price small { font-size: 10.5px; font-weight: 600; color: var(--muted); letter-spacing: 0.06em; margin-inline-end: 3px; }
.card-add {
  width: 34px; height: 34px;
  border: 1px solid var(--line-2);
  background: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.card-add:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- why band ---------- */
.why { background: var(--ink); color: #efe9e0; }
.why .eyebrow { color: #a89f92; }
.why h2 { color: #fff; font-size: clamp(24px, 2.8vw, 36px); max-width: 20ch; }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, 0.14); margin-top: 34px; }
.why-item { background: var(--ink); padding: 24px 22px; }
.why-item .n { font-size: 10.5px; letter-spacing: 0.18em; color: #c8102e; font-weight: 700; }
.why-item h3 { color: #fff; font-size: 15px; margin: 10px 0 6px; }
.why-item p { color: #b3aa9d; font-size: 12.5px; line-height: 1.6; }

/* ---------- guides ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.guide {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.guide:hover { border-color: var(--ink); transform: translateY(-2px); }
.guide h3 { font-size: 17px; letter-spacing: -0.02em; }
.guide p { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.guide .more { margin-top: auto; font-size: 11.5px; font-weight: 600; color: var(--red); letter-spacing: 0.04em; }

/* ---------- cta ---------- */
.cta-band {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: clamp(28px, 4vw, 52px);
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 30px;
  align-items: center;
}
.cta-band h2 { font-size: clamp(24px, 2.8vw, 36px); max-width: 20ch; }
.cta-band .actions { display: grid; gap: 10px; }

/* ---------- footer ---------- */
.site-footer { background: #100e0b; color: #cfc7ba; padding-block: 52px 26px; font-size: 13px; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 34px; padding-bottom: 34px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.footer-brand .logo { color: #fff; }
.footer-brand p { font-size: 12.5px; line-height: 1.7; margin-top: 14px; max-width: 34ch; color: #a89f92; }
.footer-col h4 { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; margin-bottom: 14px; font-weight: 600; }
.footer-col li + li { margin-top: 8px; }
.footer-col a, .footer-col span { font-size: 12.5px; color: #b3aa9d; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  justify-content: space-between;
  font-size: 11.5px;
  color: #8b8377;
}
.pay-row { display: flex; gap: 6px; align-items: center; }
.pay-pill {
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 3px 7px;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #cfc7ba;
  border-radius: 2px;
}

/* ---------- shop toolbar ---------- */
.page-head { padding-block: clamp(26px, 3.4vw, 44px) clamp(18px, 2vw, 26px); }
.page-head h1 { font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -0.03em; margin-top: 10px; }
.crumb { display: flex; gap: 8px; font-size: 11.5px; color: var(--muted); }
.crumb a:hover { color: var(--red); }
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-block: 14px;
  border-block: 1px solid var(--line);
  margin-bottom: 22px;
}
.filters { display: flex; flex-wrap: wrap; gap: 7px; min-width: 0; }
.chip {
  border: 1px solid var(--line-2);
  background: var(--panel);
  padding: 7px 13px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip b { font-weight: 600; opacity: 0.55; margin-inline-start: 4px; }
.tool-right { display: flex; align-items: center; gap: 14px; }
.search {
  position: relative;
  width: 220px;
}
.search input {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  padding: 9px 32px 9px 12px;
  font-size: 12.5px;
}
.search input:focus { outline: 0; border-color: var(--ink); }
.search svg { position: absolute; inset-inline-end: 10px; top: 50%; transform: translateY(-50%); stroke: var(--muted); pointer-events: none; }
.sort select {
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  padding: 9px 10px;
  font-size: 12.5px;
  cursor: pointer;
}
.result-line { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 18px; font-size: 11.5px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.result-line button { background: none; border: 0; color: var(--red); font-size: 11.5px; font-weight: 600; cursor: pointer; text-decoration: underline; padding: 0; }
.empty { border: 1px dashed var(--line-2); padding: 60px 20px; text-align: center; color: var(--muted); font-size: 13px; }
.loadmore { display: grid; place-items: center; padding-top: 30px; }

/* ---------- PDP ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(26px, 4vw, 60px); align-items: start; padding-block: clamp(22px, 3vw, 38px); }
.pdp-media { position: sticky; top: calc(var(--h) + 16px); }
.pdp-main { background: var(--panel); border: 1px solid var(--line); aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 6%; }
.pdp-main img { width: 100%; height: 100%; object-fit: contain; }
.pdp-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.pdp-info h1 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.03em; }
.pdp-cat { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.pdp-price { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; }
.pdp-price .now { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; }
.pdp-price .now small { font-size: 14px; color: var(--muted); font-weight: 600; margin-inline-end: 4px; }
.pdp-price .note { font-size: 11.5px; color: var(--muted); }
.pdp-actions { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.pdp-actions .btn { flex: 1 1 200px; }
.stock { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--green); margin-top: 16px; font-weight: 600; }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.pdp-points { margin-top: 26px; border-top: 1px solid var(--line); }
.pdp-points li { display: grid; grid-template-columns: 118px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.pdp-points b { font-weight: 600; color: var(--ink); }
.pdp-points span { color: var(--muted); }
.pdp-note { margin-top: 18px; font-size: 11.5px; color: var(--muted); line-height: 1.7; }
.pdp-missing { padding: 80px 0; text-align: center; display: grid; gap: 18px; justify-items: center; }

/* ---------- discreet mode ---------- */
.discreet-toggle { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.discreet-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.discreet-toggle .track {
  width: 34px; height: 18px; border-radius: 999px; background: var(--line-2); position: relative; transition: background 0.2s var(--ease);
}
.discreet-toggle .track::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; transition: transform 0.2s var(--ease);
}
.discreet-toggle input:checked + .track { background: var(--red); }
.discreet-toggle input:checked + .track::after { transform: translateX(16px); }
html[dir="rtl"] .discreet-toggle input:checked + .track::after { transform: translateX(-16px); }

html.is-discreet .card-media img,
html.is-discreet .cat-thumb img,
html.is-discreet .pdp-main img { filter: blur(16px) saturate(0.6); }
html.is-discreet .card-media::after,
html.is-discreet .pdp-main::after {
  content: "Tap to reveal";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.28);
  pointer-events: none;
}
html.is-discreet .card-media.is-revealed img,
html.is-discreet .pdp-main.is-revealed img { filter: none; }
html.is-discreet .card-media.is-revealed::after,
html.is-discreet .pdp-main.is-revealed::after { content: none; }

/* ---------- cart drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; pointer-events: none; }
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(16, 14, 11, 0.5); opacity: 0; transition: opacity 0.3s var(--ease); }
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; bottom: 0; inset-inline-end: 0;
  width: min(420px, 92vw);
  background: var(--paper);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  box-shadow: -30px 0 60px -40px rgba(0, 0, 0, 0.6);
}
html[dir="rtl"] .drawer-panel { transform: translateX(-100%); }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); background: var(--panel); }
.drawer-head h2 { font-size: 16px; letter-spacing: -0.01em; }
.drawer-body { flex: 1; overflow-y: auto; padding: 6px 20px; }
.drawer-foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); background: var(--panel); display: grid; gap: 10px; }
.cart-line { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-thumb { width: 62px; height: 62px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; }
.cart-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.cart-name { font-size: 12.5px; font-weight: 600; line-height: 1.35; }
.cart-unit { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.cart-ctrl { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.qty { display: inline-flex; border: 1px solid var(--line-2); background: #fff; }
.qty button { width: 26px; height: 26px; border: 0; background: none; cursor: pointer; font-size: 14px; line-height: 1; color: var(--ink); }
.qty button:hover { background: var(--paper); }
.qty span { min-width: 24px; text-align: center; font-size: 12px; line-height: 26px; }
.cart-remove { background: none; border: 0; padding: 0; font-size: 11px; color: var(--muted); text-decoration: underline; cursor: pointer; }
.cart-remove:hover { color: var(--red); }
.cart-line-total { font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.sumrow { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-2); }
.sumrow b { font-size: 18px; }
.cart-empty { padding: 54px 0; text-align: center; display: grid; gap: 16px; justify-items: center; color: var(--muted); font-size: 13px; }
.cart-note { font-size: 11px; color: var(--muted); text-align: center; line-height: 1.6; }
.toast {
  position: fixed; bottom: 20px; left: 50%; transform: translate(-50%, 14px);
  background: var(--ink); color: #fff; padding: 11px 16px; font-size: 12.5px;
  z-index: 300; opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  display: flex; gap: 14px; align-items: center; border-radius: 2px;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { background: none; border: 0; color: #fff; font-weight: 700; font-size: 12.5px; text-decoration: underline; cursor: pointer; }

/* ---------- rtl ---------- */
html[dir="rtl"] body { font-family: var(--ar); }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { letter-spacing: 0; }
html[dir="rtl"] .eyebrow, html[dir="rtl"] .btn, html[dir="rtl"] .chip, html[dir="rtl"] .nav a { letter-spacing: 0.02em; }
html[dir="rtl"] .hero h1 { max-width: 18ch; }
html[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
html[dir="rtl"] .search input { padding: 9px 12px 9px 32px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .pdp { grid-template-columns: minmax(0, 1fr); }
  .pdp-media { position: static; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-media { order: -1; max-width: 420px; }
  .cta-band { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  :root { --h: 62px; }
  .nav { display: none; }
  .burger { display: grid; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-item:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .site-header.is-open .nav {
    display: flex;
    position: absolute;
    inset: var(--h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 18px;
  }
  .site-header.is-open .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .site-header.is-open .nav a:last-child { border-bottom: 0; }
  .header-actions .btn--header { display: none; }
  .toolbar { gap: 12px; }
  .search { width: 100%; }
  .tool-right { width: 100%; justify-content: space-between; }
}
@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .card-body { padding: 11px 11px 12px; }
  .card-name { font-size: 12.5px; min-height: 2.7em; }
  .price { font-size: 15px; }
  .card-add { width: 30px; height: 30px; }
  .hero h1 { font-size: clamp(30px, 8vw, 38px); }
  .hero-chips { gap: 12px; }
  .pdp-points li { grid-template-columns: 1fr; gap: 2px; }
  .footer-top { grid-template-columns: 1fr; gap: 26px; }
  .drawer-panel { width: 100%; }
  .section-head h2 { font-size: 22px; }
}
@media (max-width: 380px) {
  .grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- mobile menu button ---------- */
.burger {
  display: none;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line-2);
  background: var(--panel);
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
}
.burger span { display: block; width: 16px; height: 1.5px; background: var(--ink); }
.burger span + span { margin-top: 4px; }

/* position context for the discreet overlay */
.pdp-main { position: relative; }
.card-media { position: relative; }



/* ---------- hero collage ---------- */
.hero-collage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hero-tile {
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  padding: 9%;
  overflow: hidden;
}
.hero-tile img { width: 100%; height: 100%; object-fit: contain; }
.hero-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.hero-caption .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex: 0 0 auto; }
html.is-discreet .hero-tile img { filter: blur(14px) saturate(0.6); }

/* ---------- fixes ---------- */
@media (max-width: 860px) {
  .burger { display: grid; }
  .hero-media { order: 0; }
  .announce { font-size: 9.5px; letter-spacing: 0.06em; padding: 7px 12px; }
}
@media (max-width: 640px) {
  .hero-tile:nth-child(n + 3) { display: none; }
  .hero-collage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
[style*="8f0a20"] { font-size: 9px !important; padding: 4px 10px !important; }

/* discreet: blur only, no repeated label */
html.is-discreet .card-media::after,
html.is-discreet .pdp-main::after {
  content: none;
}
html.is-discreet .card-media img,
html.is-discreet .cat-thumb img,
html.is-discreet .hero-tile img,
html.is-discreet .pdp-main img {
  filter: blur(13px) saturate(0.55);
}
html.is-discreet .card-media.is-revealed img,
html.is-discreet .pdp-main.is-revealed img { filter: none; }

.discreet-hint {
  margin: 0 0 18px;
  font-size: 11.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
}
.discreet-hint::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
}

/* ---------- mobile header compaction ---------- */
@media (max-width: 640px) {
  .header-inner { gap: 10px; }
  .header-actions { gap: 2px; }
  .discreet-toggle > span:last-child { display: none; }
  .logo { font-size: 18px; }
  .logo small { display: none; }
  .lang button { padding: 6px 7px; }
}

/* ==========================================================================
   PDP v2 — gallery, specs, guidance
   ========================================================================== */
.pdp-stage {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: 6%;
  overflow: hidden;
}
.pdp-stage img { width: 100%; height: 100%; object-fit: contain; }
.pdp-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.pdp-thumbs button {
  width: 74px; height: 74px;
  padding: 4px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  opacity: 0.62;
  transition: opacity 0.2s var(--ease), border-color 0.2s var(--ease);
}
.pdp-thumbs button:hover { opacity: 0.9; }
.pdp-thumbs button[aria-selected="true"] { opacity: 1; border-color: var(--ink); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: contain; }

.pdp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 10px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.pdp-meta b { color: var(--ink-2); font-weight: 600; }

.chips-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.chip-static {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line);
  padding: 5px 9px;
}

.buy-box { margin-top: 22px; padding: 16px; border: 1px solid var(--line); background: #fff; }
.buy-row { display: flex; gap: 10px; align-items: stretch; }
.qty-lg { display: inline-flex; border: 1px solid var(--line-2); background: #fff; flex: 0 0 auto; }
.qty-lg button { width: 38px; border: 0; background: none; font-size: 16px; cursor: pointer; color: var(--ink); }
.qty-lg button:hover { background: var(--paper); }
.qty-lg span { min-width: 34px; text-align: center; line-height: 46px; font-size: 13px; font-weight: 600; }
.buy-row .btn { flex: 1; }
.buy-box .btn--block { margin-top: 10px; }
.buy-note { margin-top: 10px; font-size: 11px; color: var(--muted); text-align: center; }

.pdp-details { border-top: 1px solid var(--line); padding-top: clamp(26px, 3vw, 42px); margin-top: clamp(30px, 4vw, 56px); }
.pdp-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(22px, 3.4vw, 52px); }
.pdp-cols h2 {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}
.spec-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table th {
  text-align: start;
  font-weight: 500;
  color: var(--muted);
  padding: 9px 12px 9px 0;
  width: 42%;
  vertical-align: top;
  font-size: 12.5px;
}
.spec-table td { padding: 9px 0; color: var(--ink); font-weight: 500; }
.spec-note { margin-top: 12px; font-size: 11.5px; color: var(--muted); line-height: 1.65; }
.spec-note a { color: var(--red); text-decoration: underline; }
.guide-text { font-size: 13px; color: var(--ink-2); line-height: 1.8; }
.care-list { display: grid; gap: 10px; }
.care-list li {
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.6;
  padding-inline-start: 18px;
  position: relative;
}
.care-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 8px;
  width: 6px; height: 1px;
  background: var(--red);
}

/* ==========================================================================
   Checkout
   ========================================================================== */
.co-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(24px, 3.6vw, 54px);
  align-items: start;
  padding-bottom: 60px;
}
.co-block { background: var(--panel); border: 1px solid var(--line); padding: 22px; }
.co-block + .co-block { margin-top: 14px; }
.co-block h2 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.co-block h2 .step-n {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  display: grid;
  place-items: center;
  letter-spacing: 0;
}
.co-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld { display: grid; gap: 6px; }
.fld--full { grid-column: 1 / -1; }
.fld label { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.fld input, .fld select, .fld textarea {
  border: 1px solid var(--line-2);
  background: #fff;
  padding: 11px 12px;
  font-size: 13.5px;
  border-radius: 2px;
  width: 100%;
  color: var(--ink);
}
.fld textarea { min-height: 78px; resize: vertical; font-family: inherit; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 0; border-color: var(--ink); }
.fld .err { font-size: 11px; color: var(--red); display: none; }
.fld.is-invalid input, .fld.is-invalid select, .fld.is-invalid textarea { border-color: var(--red); }
.fld.is-invalid .err { display: block; }

.co-opt {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  border: 1px solid var(--line-2);
  padding: 13px 14px;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.co-opt + .co-opt { margin-top: 9px; }
.co-opt input { margin-top: 3px; accent-color: var(--red); flex: 0 0 auto; }
.co-opt b { display: block; font-size: 13px; font-weight: 600; }
.co-opt span span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; line-height: 1.5; }
.co-opt:has(input:checked) { border-color: var(--ink); background: #fcfaf6; }

.co-summary { position: sticky; top: calc(var(--h) + 16px); background: var(--panel); border: 1px solid var(--line); padding: 20px; }
.co-summary h2 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.co-line { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: center; }
.co-line img { width: 46px; height: 46px; object-fit: contain; border: 1px solid var(--line); background: #fff; flex: 0 0 auto; }
.co-line-info { flex: 1; min-width: 0; }
.co-line-info b { display: block; font-size: 12.5px; font-weight: 600; line-height: 1.35; }
.co-line-info span { font-size: 11px; color: var(--muted); }
.co-line-total { font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.co-totals { display: grid; gap: 8px; margin-top: 14px; font-size: 12.5px; }
.co-trow { display: flex; justify-content: space-between; color: var(--ink-2); }
.co-trow--grand {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  padding-top: 12px;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.co-trow--grand b { font-size: 20px; }
.co-place { margin-top: 16px; }
.co-terms { margin-top: 12px; font-size: 11px; color: var(--muted); line-height: 1.6; text-align: center; }
.co-terms a { text-decoration: underline; }
.co-empty { text-align: center; padding: 70px 20px; display: grid; gap: 18px; justify-items: center; }

/* ==========================================================================
   Order confirmation
   ========================================================================== */
.order-wrap { max-width: 880px; margin-inline: auto; padding-block: clamp(30px, 4vw, 54px) 70px; }
.order-head { text-align: center; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.order-tick {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  font-size: 20px;
}
.order-head h1 { font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -0.03em; }
.order-head p { margin-top: 12px; color: var(--ink-2); font-size: 14px; line-height: 1.7; max-width: 52ch; margin-inline: auto; }
.order-no {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-top: 20px;
  padding: 10px 22px;
  border: 1px dashed var(--line-2);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
.order-no small { font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.order-block { background: var(--panel); border: 1px solid var(--line); padding: 20px; }
.order-block h2 { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px; font-weight: 700; }
.order-block .kv { display: flex; justify-content: space-between; gap: 14px; font-size: 12.5px; padding: 6px 0; color: var(--ink-2); }
.order-block .kv b { color: var(--ink); font-weight: 600; }
.order-item { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.order-item:last-of-type { border-bottom: 0; }
.order-wa {
  margin-top: 14px;
  border: 1px solid var(--line-2);
  background: #fcfaf6;
  padding: 22px;
  text-align: center;
}
.order-wa h2 { font-size: 16px; margin-bottom: 8px; }
.order-wa p { font-size: 12.5px; color: var(--muted); line-height: 1.7; max-width: 52ch; margin-inline: auto; }
.order-wa .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.order-continue { display: block; text-align: center; margin-top: 24px; font-size: 12.5px; font-weight: 600; text-decoration: underline; }
.order-missing { text-align: center; padding: 80px 20px; display: grid; gap: 18px; justify-items: center; }

@media (max-width: 1080px) {
  .pdp-cols { grid-template-columns: 1fr; gap: 26px; }
  .co-grid { grid-template-columns: 1fr; }
  .co-summary { position: static; }
}
@media (max-width: 640px) {
  .co-fields { grid-template-columns: 1fr; }
  .order-grid { grid-template-columns: 1fr; }
  .pdp-thumbs button { width: 60px; height: 60px; }
}

/* ---------- coupon ---------- */
.coupon { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.coupon label { display: block; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 7px; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row input {
  flex: 1; border: 1px solid var(--line-2); border-radius: 2px; padding: 9px 11px;
  font-size: 13px; background: #fff; text-transform: uppercase;
}
.coupon-row input:focus { outline: 0; border-color: var(--ink); }
.coupon-msg { margin-top: 7px; font-size: 11.5px; }
.coupon-msg.ok { color: var(--green); }
.coupon-msg.err { color: var(--red); }
/* ---------- stock states ---------- */
.chip-sold {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--line-2);
  padding: 5px 8px;
  white-space: nowrap;
}
.card.is-soldout .card-media img { opacity: 0.55; }
.stock--out { color: var(--red); }
.stock--out::before { background: var(--red); }
.btn[disabled], .card-add[disabled] { opacity: 0.45; cursor: not-allowed; }
/* ---------- single delivery option ---------- */
.ship-note {
  border: 1px solid var(--line-2);
  background: var(--paper-2, #faf7f2);
  padding: 14px 16px;
  display: grid;
  gap: 4px;
}
.ship-note b { font-size: 13.5px; font-weight: 600; }
.ship-note span { font-size: 12px; color: var(--muted); line-height: 1.5; }