/* ================================================================
   Caftan Hariri — theme.css (WordPress build)
   Ported from the static preview (src/input.css tokens + components).
   Uses logical properties so RTL (ar) and LTR (fr/en) both work.
   ================================================================ */

/* ---- fonts ---- */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400..700;1,400..600&family=Inter:wght@300..700&family=Noto+Naskh+Arabic:wght@400..700&family=Noto+Sans+Arabic:wght@300..700&display=swap");

/* ---- tokens ---- */
:root {
  --color-white: #ffffff;
  --color-black: #000000;
  --color-forest: #004d2c;
  --color-forest-deep: #003320;
  --color-forest-tint: #e9f4ee;
  --color-gold: #b4975a;
  --color-gold-deep: #8f7238;
  --color-gold-soft: #d9c489;
  --color-gold-tint: #f6f0e2;
  --color-burgundy: #9e2b25;
  --font-display: "Noto Naskh Arabic", "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Noto Sans Arabic", "Inter", "Segoe UI", sans-serif;
  --font-latin: "Cormorant Garamond", "Noto Naskh Arabic", "Times New Roman", serif;
  --ink-15: rgba(0, 0, 0, 0.15);
  --ink-10: rgba(0, 0, 0, 0.1);
  --ink-50: rgba(0, 0, 0, 0.5);
  --ink-70: rgba(0, 0, 0, 0.7);
  --white-60: rgba(255, 255, 255, 0.6);
  --white-70: rgba(255, 255, 255, 0.7);
  --white-50: rgba(255, 255, 255, 0.5);
}

html { scroll-behavior: smooth; }

body {
  background: var(--color-white);
  color: var(--color-black);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  margin: 0;
}

::selection { background: var(--color-gold); color: var(--color-white); }

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
table { border-collapse: collapse; }

body.is-locked { overflow: hidden; }

/* ---- signature: the gold silk thread ---- */
.thread {
  position: relative;
  display: block;
  height: 1px;
  width: 100%;
  background: linear-gradient(to left, transparent, var(--color-gold) 12%, var(--color-gold) 88%, transparent);
}
.thread::before {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-start: 0;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  background: var(--color-gold);
  transform: rotate(45deg);
}
.thread--fixed { position: fixed; top: 0; inset-inline: 0; z-index: 90; }
.thread-short { width: 4.5rem; background: var(--color-gold); }

/* ---- editorial eyebrow ---- */
.eyebrow {
  font-family: var(--font-latin);
  font-size: 0.65rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
}
.eyebrow .num { color: rgba(0, 0, 0, 0.45); font-variant-numeric: tabular-nums; }
.eyebrow-latin {
  font-family: var(--font-latin);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
}
.eyebrow-latin.muted { color: var(--ink-50); }

/* ---- reveal on scroll (fallback forces visible) ---- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.is-revealed { opacity: 1; transform: none; }

/* ---- gallery crossfade ---- */
.gallery-stack { position: relative; overflow: hidden; }
.gallery-stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.3s ease; }
.gallery-stack img.is-active { opacity: 1; }

/* ---- buttons ---- */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding-inline: 1.75rem;
  background: var(--color-forest);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  border: 1px solid var(--color-forest);
  box-sizing: border-box;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.btn-cta:hover { background: var(--color-forest-deep); border-color: var(--color-forest-deep); }
.btn-cta:active { transform: translateY(1px); }
.btn-cta:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-cta--block { width: 100%; }
.btn-ghost-ink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding-inline: 1.75rem;
  background: transparent;
  color: var(--color-black);
  font-family: var(--font-display);
  font-weight: 600;
  border: 1px solid var(--ink-15);
  transition: border-color 0.2s ease;
}
.btn-ghost-ink:hover { border-color: var(--color-black); }
.btn-ghost-ink:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-cta:focus-visible, .btn-ghost-ink:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 2px; }

/* ---- fields ---- */
.field {
  width: 100%;
  min-height: 2.9rem;
  padding-inline: 0.9rem;
  background: var(--color-white);
  border: 1px solid var(--ink-15);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-black);
}
.field::placeholder { color: rgba(0, 0, 0, 0.4); }
.field:hover { border-color: rgba(0, 0, 0, 0.35); }
.field:focus { outline: none; border-color: var(--color-black); }

/* ---- swatch (color) ---- */
.swatch {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  width: 4.6rem;
  padding: 0.35rem;
  background: transparent;
  border: 1px solid var(--ink-15);
  font-size: 0.66rem;
  color: var(--ink-70);
  transition: border-color 0.2s ease;
}
.swatch.is-selected { border-color: var(--color-black); }
.swatch img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.swatch-dot { width: 1.1rem; height: 1.1rem; border-radius: 9999px; border: 1px solid var(--ink-15); display: inline-block; }
.is-rtl .swatch-dot, .lang-ar .swatch-dot { border-radius: 9999px; }
.swatch-label { line-height: 1.2; }

/* ---- size / qty pills ---- */
.size-pill, .qty-pill {
  min-height: 2.6rem;
  padding-inline: 1rem;
  background: var(--color-white);
  border: 1px solid var(--ink-15);
  font-family: var(--font-latin);
  font-size: 0.9rem;
  color: var(--ink-70);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.size-pill:hover, .qty-pill:hover { border-color: var(--color-black); }
.size-pill.is-selected, .qty-pill.is-selected { border-color: var(--color-black); background: var(--color-gold-tint); color: var(--color-black); }
.size-pill.is-oos { opacity: 0.4; text-decoration: line-through; }
.qty-pill { font-family: var(--font-body); font-size: 0.85rem; }

/* ---- sticky buy bar ---- */
.sticky-buy {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 55;
  background: var(--color-white);
  border-top: 1px solid var(--ink-15);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}
.sticky-buy.is-visible { transform: none; }
.sticky-cta { min-height: 3rem; font-size: 0.95rem; }

/* ---- toast ---- */
.toast-pop {
  position: fixed;
  bottom: 1.5rem;
  inset-inline: 1rem;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  background: var(--color-forest);
  color: var(--color-white);
  font-size: 0.85rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast-pop.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.toast-pop a, .toast-pop button[data-toast-link] {
  color: var(--color-gold-soft);
  font-weight: 600;
  background: none;
  border: none;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

/* ---- header ---- */
.topbar { background: var(--color-white); padding-top: 1px; }
.topbar-inner { max-width: 72rem; margin-inline: auto; padding: 0.5rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; font-size: 0.72rem; color: var(--ink-50); }
.topbar-trust { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-free { font-weight: 500; color: var(--color-black); white-space: nowrap; }
.topbar-free:hover { color: var(--color-gold-deep); }
.hidden-sm { display: none; }
@media (min-width: 640px) { .hidden-sm { display: block; } }

.site-header { background: var(--color-white); border-bottom: 1px solid var(--ink-10); }
.site-header-inner { max-width: 72rem; margin-inline: auto; padding: 0 1rem; height: 4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.sh-start { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.sh-end { display: flex; align-items: center; gap: 0.25rem; flex-shrink: 0; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background: none;
  border: none;
  color: var(--ink-70);
}
.icon-btn:hover { color: var(--color-black); }
.icon-btn svg { width: 1.25rem; height: 1.25rem; }

.brand { display: flex; align-items: center; gap: 0.625rem; line-height: 1; min-width: 0; }
.brand-logo { width: 2.75rem; height: 2.75rem; border-radius: 9999px; object-fit: cover; border: 1px solid var(--ink-10); flex-shrink: 0; }
.brand-name { display: none; }
.brand-ar { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--color-black); }
.brand-ar--lg { font-size: 1.5rem; }
.brand-lat { display: block; font-family: var(--font-latin); font-size: 0.55rem; letter-spacing: 0.42em; text-transform: uppercase; color: var(--color-gold-deep); margin-top: 0.125rem; }
.brand-lat--gold { color: var(--color-gold); }
@media (min-width: 640px) { .brand-name { display: block; } }

.site-nav { display: none; gap: 1.75rem; font-size: 0.82rem; color: var(--ink-70); }
.site-nav a:hover { color: var(--color-black); }
@media (min-width: 768px) { .site-nav { display: flex; } }

.lang-toggle { display: inline-flex; border: 1px solid var(--ink-15); }
.lang-toggle .lang-btn {
  min-width: 2rem;
  height: 1.9rem;
  padding-inline: 0.4rem;
  background: none;
  border: none;
  font-family: var(--font-latin);
  font-size: 0.72rem;
  color: var(--ink-70);
}
.lang-toggle .lang-btn:hover { color: var(--color-black); }
.lang-toggle .lang-btn.is-active { background: var(--color-black); color: var(--color-white); }

.cart-btn { position: relative; }
.cart-count {
  position: absolute;
  top: -0.1rem;
  inset-inline-end: -0.1rem;
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 1rem;
  height: 1rem;
  padding-inline: 0.2rem;
  border-radius: 9999px;
  background: var(--color-gold);
  color: var(--color-white);
  font-size: 0.62rem;
  font-weight: 600;
}
.cart-count.is-visible { display: flex; }

/* ---- mobile menu ---- */
.menu-sheet {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 85;
  background: var(--color-white);
  padding: 1.25rem 1rem 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
  max-height: 100vh;
  overflow-y: auto;
}
.menu-sheet[aria-hidden="true"] { display: none; }
.menu-sheet-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.menu-nav { display: flex; flex-direction: column; }
.menu-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--ink-10);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}
.menu-lat { font-family: var(--font-latin); font-size: 0.75rem; letter-spacing: 0.12em; color: var(--ink-50); }
.menu-notes { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.82rem; color: var(--ink-70); margin: 2rem 0 0; padding: 0; }
.menu-notes p { display: flex; align-items: center; gap: 0.5rem; margin: 0; }
.menu-dot { width: 0.4rem; height: 0.4rem; border-radius: 9999px; background: var(--color-gold); display: inline-block; }

/* ---- chips ---- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.2rem;
  padding-inline: 0.85rem;
  background: var(--color-white);
  border: 1px solid var(--ink-15);
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--ink-70);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.chip:hover { border-color: var(--color-black); }
.chip.is-selected { border-color: var(--color-black); background: var(--color-gold-tint); color: var(--color-black); }
.chip .dot { width: 0.6rem; height: 0.6rem; border-radius: 9999px; display: inline-block; border: 1px solid rgba(0, 0, 0, 0.15); }

/* ---- category cards ---- */
.cat-card {
  position: relative;
  display: block;
  border: none;
  background: none;
  padding: 0;
  text-align: start;
  width: 100%;
}
.cat-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform 0.3s ease; }
.cat-card:hover img { transform: scale(1.03); }
.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 45%);
}
.cat-label { position: absolute; inset-inline: 1rem; bottom: 1rem; z-index: 2; color: var(--color-white); }
.cat-label-name { display: block; font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.cat-label-sub { display: block; margin-top: 0.125rem; font-size: 0.75rem; color: var(--white-75, rgba(255, 255, 255, 0.75)); }
.cat-card-num {
  position: absolute;
  top: 0.75rem;
  inset-inline-start: 0.75rem;
  z-index: 2;
  font-family: var(--font-latin);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  color: var(--ink-70);
}
.cat-card-sub { margin-top: 0.125rem; font-size: 0.78rem; color: var(--ink-50); }
.cat-head { margin-top: 0.75rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.cat-head h2 { margin: 0; font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; line-height: 1.2; }
.cat-view { margin-bottom: 0.25rem; font-size: 0.8rem; font-weight: 500; color: var(--color-black); white-space: nowrap; }
.cat-view:hover { color: var(--color-gold-deep); }
.cat-view.muted { font-size: 0.78rem; color: var(--ink-50); font-weight: 400; }
.cat-grid { margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
.cat-card-img { position: relative; overflow: hidden; background: var(--color-gold-tint); }

/* ---- product cards ---- */
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 2rem; scroll-margin-top: 96px; }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }

.pcard { position: relative; }
.pcard.is-hidden { display: none; }
.pcard-img { position: relative; display: block; overflow: hidden; background: var(--color-gold-tint); }
.pcard-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: opacity 0.3s ease; }
.pcard-img img.alt { display: none; }
@media (hover: hover) {
  .pcard:hover .pcard-img img.main { display: none; }
  .pcard:hover .pcard-img img.alt { display: block; }
}
.add-round {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-top: 0.25rem;
  border-radius: 9999px;
  border: 1px solid var(--ink-15);
  background: none;
  color: var(--ink-70);
  flex-shrink: 0;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.add-round:hover { border-color: var(--color-black); color: var(--color-black); }
.add-round svg { width: 1.05rem; height: 1.05rem; }

.badge-silk {
  position: absolute;
  top: 0.6rem;
  inset-inline-start: 0.6rem;
  z-index: 2;
  padding: 0.3rem 0.7rem;
  background: var(--color-white);
  border: 1px solid var(--ink-15);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(0, 0, 0, 0.72);
}
.badge-sale { background: var(--color-burgundy); border-color: var(--color-burgundy); color: var(--color-white); }

/* ---- sheets ---- */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.sheet-backdrop.is-visible { opacity: 1; pointer-events: auto; }

.sheet {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 100;
  max-height: 86vh;
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  transform: translateY(110%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.sheet.is-open { transform: none; }
.sheet-grip { width: 2.5rem; height: 0.25rem; border-radius: 9999px; background: var(--ink-15); margin: 0.55rem auto 0; flex-shrink: 0; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 1.25rem 0.5rem; }
.sheet-head h3 { margin: 0; font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; }
.sheet-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: none;
  border: none;
  color: var(--ink-50);
}
.sheet-close:hover { color: var(--color-black); }
.sheet-close svg { width: 1.1rem; height: 1.1rem; }
.mc-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: none;
  border: none;
  color: var(--ink-50);
}
.mc-close:hover { color: var(--color-black); }
.mc-close svg { width: 1.1rem; height: 1.1rem; }
.sheet-body { padding: 0.5rem 1.25rem 1rem; overflow-y: auto; }
.sheet-foot { padding: 0.75rem 1.25rem 1.25rem; border-top: 1px solid var(--ink-10); }

/* mini-cart */
.mc-head { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 1.25rem 0.5rem; }
.mc-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; }
.mc-nudge { margin: 0.25rem 1.25rem 0.75rem; padding: 0.6rem 0.8rem; border: 1px solid var(--ink-10); background: var(--color-gold-tint); font-size: 0.72rem; color: var(--ink-70); }
.mc-nudge--done { border-color: var(--color-forest); background: var(--color-forest-tint); color: var(--color-forest); font-weight: 600; }
.nudge-track { height: 4px; background: rgba(0, 0, 0, 0.1); margin: 0.4rem 0 0.3rem; overflow: hidden; }
.nudge-fill { height: 100%; background: var(--color-gold); transition: width 0.3s ease; }
.nudge-note { color: var(--ink-50); }
.mc-items { list-style: none; margin: 0; padding: 0 1.25rem; }
.mc-item { display: flex; gap: 0.8rem; padding: 0.9rem 0; border-bottom: 1px solid var(--ink-10); }
.mc-thumb { flex-shrink: 0; }
.mc-thumb img { width: 4.25rem; height: 5.5rem; object-fit: cover; }
.mc-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mc-name { font-family: var(--font-display); font-size: 0.92rem; font-weight: 600; line-height: 1.35; }
.mc-variant { font-size: 0.72rem; color: var(--ink-50); margin-top: 0.15rem; }
.mc-line { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: auto; padding-top: 0.5rem; }
.mc-qty { display: inline-flex; align-items: center; border: 1px solid var(--ink-15); }
.mc-qty button { width: 1.75rem; height: 1.75rem; background: none; border: none; color: var(--ink-70); }
.mc-qty button:hover { color: var(--color-black); }
.mc-qty-n { min-width: 1.5rem; text-align: center; font-size: 0.85rem; }
.mc-qty input { width: 2.75rem; border: none; background: none; text-align: center; font-size: 0.85rem; padding: 0; }
.mc-qty input:focus { outline: none; }
.mc-price { font-family: var(--font-latin); font-size: 0.95rem; font-weight: 600; }
.mc-remove { align-self: flex-start; background: none; border: none; padding: 0; margin-top: 0.35rem; font-size: 0.72rem; color: var(--ink-50); text-decoration: underline; text-underline-offset: 2px; }
.mc-remove:hover { color: var(--color-black); }
.mc-foot { padding: 0.9rem 1.25rem 1.25rem; border-top: 1px solid var(--ink-10); }
.mc-row { display: flex; align-items: center; justify-content: space-between; font-size: 0.85rem; margin-bottom: 0.35rem; }
.mc-row--muted { font-size: 0.72rem; color: var(--ink-50); }
.mc-row--total { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin: 0.6rem 0 0.85rem; }
.mc-view { display: block; text-align: center; margin-top: 0.6rem; font-size: 0.8rem; color: var(--ink-70); text-decoration: underline; text-underline-offset: 3px; }
.mc-empty { padding: 2rem 1.25rem; text-align: center; }
.mc-empty-title { display: block; font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; }
.mc-empty p { font-size: 0.82rem; color: var(--ink-50); margin: 0.4rem 0 1.2rem; }

/* quick-add sheet */
.qs-group { margin-bottom: 1rem; }
.qs-label { margin: 0 0 0.5rem; font-size: 0.85rem; font-weight: 500; color: var(--ink-70); }

/* ---- search panel ---- */
.search-panel {
  position: fixed;
  inset: 0;
  z-index: 92;
  background: var(--color-white);
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.search-panel.is-open { opacity: 1; pointer-events: auto; }
.search-box { display: flex; align-items: center; gap: 0.6rem; border-bottom: 1px solid var(--ink-15); padding-bottom: 0.6rem; }
.search-box svg { width: 1.25rem; height: 1.25rem; color: rgba(0, 0, 0, 0.45); flex-shrink: 0; }
.search-box input { flex: 1; border: none; outline: none; font-size: 1rem; font-family: var(--font-body); background: none; }
.search-box input::placeholder { color: rgba(0, 0, 0, 0.4); }
.search-results { margin-top: 1rem; display: flex; flex-direction: column; }
.search-hit { padding: 0.8rem 0.25rem; border-bottom: 1px solid var(--ink-10); font-size: 0.95rem; }
.search-hit:hover { color: var(--color-gold-deep); }
.search-empty { color: var(--ink-50); font-size: 0.85rem; padding: 1rem 0.25rem; }

/* ---- hero ---- */
.hero-split { display: grid; grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .hero-split { grid-template-columns: 5fr 4fr; gap: 2.5rem; align-items: center; }
}
.hero-media { position: relative; }
.hero-media::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 30%;
  background: linear-gradient(to top, var(--color-white), transparent);
  pointer-events: none;
}
.hero-title { margin: 1rem 0 0; font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; line-height: 1.15; }
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 768px) { .hero-title { font-size: 3.4rem; } }
.hero-sub { margin: 1rem 0 0; max-width: 28rem; font-size: 0.95rem; line-height: 1.75; color: var(--ink-70); }
.hero-checks { margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; font-size: 0.78rem; color: var(--ink-50); }
.hero-checks .text-gold { color: var(--color-gold); }

/* ---- trust strip ---- */
.trust-grid { display: grid; grid-template-columns: 1fr; border: 1px solid var(--ink-15); background: var(--color-white); }
@media (min-width: 640px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-title { margin: 0.5rem 0 0; font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.trust-body { margin: 0.25rem 0 0; font-size: 0.82rem; line-height: 1.5; color: var(--ink-70); }

/* ---- story ---- */
.story-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
@media (min-width: 1024px) { .story-grid { grid-template-columns: 1fr 1fr; } }
.story-img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.story-water { position: absolute; top: -1.5rem; inset-inline-start: -1rem; font-family: var(--font-display); font-size: 5.5rem; font-weight: 700; line-height: 1; color: rgba(180, 151, 90, 0.25); pointer-events: none; user-select: none; }
.story-title { margin: 1rem 0 0; font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; line-height: 1.3; }
.story-sep { margin: 1.5rem 0; display: flex; align-items: center; gap: 0.75rem; }
.story-copy { display: flex; flex-direction: column; gap: 1rem; font-size: 0.92rem; line-height: 1.75; color: var(--ink-70); }

/* ---- IG strip ---- */
.ig-grid { margin-top: 1.75rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.375rem; }
@media (min-width: 640px) { .ig-grid { grid-template-columns: repeat(6, 1fr); } }
.ig-follow { margin: 1.25rem 0 0; text-align: center; font-size: 0.85rem; color: var(--ink-70); }
.ig-account { font-weight: 600; color: var(--color-black); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--color-gold); }
.ig-account:hover { color: var(--color-gold-deep); }

/* ---- review cards ---- */
.review-grid { margin-top: 2rem; display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card { border: 1px solid var(--ink-15); background: var(--color-white); padding: 1.4rem; display: flex; flex-direction: column; gap: 0.8rem; }
.stars { color: var(--color-gold); font-size: 0.9rem; letter-spacing: 0.15em; }
.review-text { margin: 0; font-size: 0.9rem; line-height: 1.75; color: var(--ink-70); }
.review-author { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.review-init {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: var(--color-gold-tint);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-black);
  flex-shrink: 0;
}
.review-name { margin: 0; font-size: 0.85rem; font-weight: 600; color: var(--color-black); }
.review-loc { margin: 0; font-size: 0.72rem; color: var(--ink-50); }

/* ---- accordions ---- */
details.acc { border-top: 1px solid var(--ink-15); }
details.acc summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.05rem 0.25rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  cursor: pointer;
}
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; font-family: var(--font-latin); font-size: 1.1rem; color: var(--ink-50); }
details.acc[open] summary::after { content: "−"; }
details.acc .acc-body { padding: 0 0.25rem 1.25rem; font-size: 0.9rem; line-height: 1.75; color: var(--ink-70); }
details.acc .acc-body p { margin: 0 0 0.5rem; }

/* ---- footer ---- */
.footer-ink { background: var(--color-forest-deep); color: var(--white-70); margin-top: 5rem; }
.footer-inner { max-width: 72rem; margin-inline: auto; padding: 3.5rem 1rem 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; line-height: 1; }
.brand-logo--lg { width: 3.5rem; height: 3.5rem; border: 1px solid rgba(255, 255, 255, 0.15); }
.footer-about { margin: 1rem 0 0; max-width: 15rem; font-size: 0.8rem; line-height: 1.5; color: var(--white-60); }
.footer-h { margin: 0; font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--color-white); }
.footer-links { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.625rem; font-size: 0.85rem; color: var(--white-70); }
.footer-links a:hover { color: var(--color-gold); }
.footer-icon-link { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-icon-link svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.footer-icon-link--plain { color: var(--white-70); }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.15); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; font-size: 0.72rem; color: var(--white-50); }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-copy { margin: 0; font-family: var(--font-latin); letter-spacing: 0.2em; text-transform: uppercase; }

/* ---- floating WhatsApp ---- */
.wa-fab {
  position: fixed;
  inset-inline-start: 1rem;
  bottom: 1.25rem;
  z-index: 88;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 9999px;
  background: #25d366;
  color: var(--color-white);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.wa-fab svg { width: 1.6rem; height: 1.6rem; }
.wa-fab:hover { transform: translateY(-2px); }
.wa-fab--raised, body.is-pdp .wa-fab { bottom: 8.25rem; }
body.is-locked .wa-fab, .wa-fab.is-hidden { opacity: 0; pointer-events: none; }

/* ---- bundle line ---- */
.bundle-line { font-size: 0.8rem; color: var(--ink-70); margin: 1rem 0 0; }
.bundle-line b { color: var(--color-black); }

/* ---- shop page ---- */
.ch-page { max-width: 72rem; margin-inline: auto; padding-inline: 1rem; }
.shop-h1 { margin: 0.75rem 0 0; font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; line-height: 1.2; }
@media (min-width: 640px) { .shop-h1 { font-size: 2.6rem; } }
.shop-sub { margin: 0.75rem 0 0; max-width: 36rem; font-size: 0.9rem; line-height: 1.75; color: var(--ink-70); }
.cat-strip { margin-top: 1.5rem; display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 640px) { .cat-strip { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
.shop-toolbar { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 1024px) { .shop-toolbar { flex-direction: row; align-items: center; justify-content: space-between; } }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.shop-search { position: relative; width: 100%; max-width: 20rem; }
.shop-search svg {
  position: absolute;
  inset-inline-start: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}
.shop-search input { padding-inline-start: 2.25rem; }
.shop-empty { margin-top: 3rem; padding: 3rem 1rem; text-align: center; border: 1px dashed var(--ink-15); }
.shop-empty.is-visible { display: block; }
.shop-empty[aria-hidden="true"] { display: none; }
.shop-empty p { font-size: 0.95rem; color: var(--ink-70); margin: 0 0 1.25rem; }
/* post-order confirmation card */
.shop-thanks { padding: 1.5rem; border: 1px solid var(--color-gold); background: var(--color-gold-tint); border-radius: 14px; }
.shop-thanks-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; }
@media (min-width: 640px) { .shop-thanks-inner { flex-direction: row; align-items: center; } }
.shop-thanks-check {
  flex: none;
  display: flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: 9999px;
  background: var(--color-gold); color: var(--color-white);
  font-size: 1.4rem; font-weight: 700;
}
.shop-thanks-body { flex: 1; min-width: 0; }
.shop-thanks-title { margin: 0 0 0.25rem; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; }
.shop-thanks-sub { margin: 0 0 0.75rem; font-size: 0.9rem; color: var(--ink-70); }
.shop-thanks-row {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 0.6rem 0; border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.95rem; color: var(--ink-70);
}
.shop-thanks-row b { color: var(--color-black); font-size: 1.05rem; }
.shop-thanks-cta { min-height: 2.75rem; }

/* ---- PDP ---- */
.pdp-title { margin: 0.75rem 0 0; font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; line-height: 1.25; }
@media (min-width: 640px) { .pdp-title { font-size: 2.2rem; } }
.pdp-price { font-family: var(--font-latin); font-size: 2rem; line-height: 1; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.pdp-price-old { font-size: 0.85rem; font-weight: 400; color: rgba(0, 0, 0, 0.4); margin-inline-end: 0.5rem; }
.pdp-cta { min-height: 3.6rem; font-size: 1.1rem; }
.text-burgundy { color: var(--color-burgundy); }
.text-gold { color: var(--color-gold); }
.text-forest { color: var(--color-forest); }
.text-gold-deep { color: var(--color-gold-deep); }
.text-black { color: var(--color-black); }
.font-latin { font-family: var(--font-latin); }
.font-display { font-family: var(--font-display); }
.font-semibold { font-weight: 600; }
.tabular-nums { font-variant-numeric: tabular-nums; }
.bg-gold-tint { background: var(--color-gold-tint); }
.bg-forest-tint { background: var(--color-forest-tint); }
.border-black\/15, .border { border: 1px solid var(--ink-15); }
.bg-white { background: var(--color-white); }

/* ---- checkout ---- */
.checkout-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 1rem; }
@media (min-width: 1024px) { .checkout-grid { grid-template-columns: 3fr 2fr; align-items: start; } }
.checkout-sec-title { margin: 0 0 0.75rem; font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; }
.checkout-card { border: 1px solid var(--ink-15); padding: 1.25rem; background: var(--color-white); }
.checkout-card + .checkout-card { margin-top: 1rem; }
.chk-privacy { font-size: 0.8rem; line-height: 1.7; color: var(--ink-70); }
.chk-agree { font-size: 0.72rem; color: var(--ink-50); margin: 1rem 0 0; }
.chk-notes-hint { font-size: 0.72rem; color: var(--ink-50); margin: 0.75rem 0; }
.checkout-sticky {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 55;
  background: var(--color-white);
  border-top: 1px solid var(--ink-15);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}
.checkout-sticky.is-visible { transform: none; }

/* WooCommerce native forms inside the design */
.woocommerce form .form-row { margin: 0 0 1.25rem; padding: 0; }
.woocommerce form .form-row label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--ink-70); margin-bottom: 0.5rem; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--ink-15);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-black);
  background: var(--color-white);
  line-height: 1.45;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.woocommerce form .form-row input.input-text::placeholder,
.woocommerce form .form-row textarea::placeholder { color: rgba(0, 0, 0, 0.4); }
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus {
  outline: none;
  border-color: var(--color-black);
  box-shadow: 0 0 0 3px rgba(180, 151, 90, 0.25);
}
.woocommerce form .form-row input.input-text:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--color-white) inset;
  -webkit-text-fill-color: var(--color-black);
}
.woocommerce form .form-row.woocommerce-invalid input.input-text,
.woocommerce form .form-row.woocommerce-invalid select { border-color: var(--color-burgundy); }
html[dir="rtl"] .woocommerce form .form-row input.input-text,
html[dir="rtl"] .woocommerce form .form-row select,
html[dir="rtl"] .woocommerce form .form-row textarea { text-align: right; }
.woocommerce form .form-row .woocommerce-input-wrapper { display: block; }
.woocommerce form .form-row .required { color: var(--color-burgundy); }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100% !important; float: none !important; }
.woocommerce form .form-row-wide { width: 100%; }
@media (max-width: 640px) {
  .woocommerce form .form-row input.input-text,
  .woocommerce form .form-row select,
  .woocommerce form .form-row textarea { font-size: 16px; }
}
.woocommerce-privacy-policy-text, .woocommerce-terms-and-conditions-wrapper { font-size: 0.75rem; color: var(--ink-50); }
.woocommerce-info, .woocommerce-message, .woocommerce-error { font-size: 0.85rem; padding: 0.75rem 1rem; margin: 1rem 0; border: 1px solid var(--ink-15); }
.woocommerce-error { border-color: var(--color-burgundy); color: var(--color-burgundy); }
.woocommerce-error li { margin: 0.25rem 0; }
.woocommerce-checkout-review-order-table { width: 100%; font-size: 0.85rem; }
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { padding: 0.5rem 0.25rem; border-bottom: 1px solid var(--ink-10); text-align: start; }
.woocommerce-checkout-review-order-table .product-name { font-family: var(--font-display); font-weight: 600; }
.woocommerce-checkout-review-order-table dl.variation { margin: 0.25rem 0 0; font-size: 0.75rem; color: var(--ink-50); }
.woocommerce-checkout-review-order-table dl.variation dd, .woocommerce-checkout-review-order-table dl.variation dt { display: inline; margin: 0; }
.woocommerce-checkout-review-order-table .order-total { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; }
#payment { background: var(--color-gold-tint); padding: 1rem; }
#payment ul.payment_methods { list-style: none; margin: 0 0 1rem; padding: 0; }
#payment ul.payment_methods li {
  margin-bottom: 0.6rem; padding: 0.7rem 0.9rem;
  min-height: 44px;
  display: flex; align-items: center; gap: 0.6rem;
  border: 1px solid var(--ink-15); border-radius: 0.5rem;
  background: var(--color-white);
}
#payment ul.payment_methods li label { margin: 0; cursor: pointer; }
#payment ul.payment_methods li input { margin: 0; accent-color: var(--color-gold-deep); flex: none; }
#payment .payment_box { background: var(--color-white); border: 1px solid var(--ink-15); padding: 0.75rem; font-size: 0.8rem; color: var(--ink-70); margin-top: 0.5rem; }
#payment div.place-order { text-align: center; }
#place_order { width: 100%; min-height: 3.6rem; font-size: 1.05rem; }

/* shipping method rows (Yalidine) — roomy tap targets */
.woocommerce-shipping-methods { list-style: none; margin: 0 0 0.75rem; padding: 0; }
.woocommerce-shipping-methods li {
  margin-bottom: 0.6rem; padding: 0.7rem 0.9rem;
  min-height: 44px;
  display: flex; align-items: center; gap: 0.6rem;
  border: 1px solid var(--ink-15); border-radius: 0.5rem;
}
.woocommerce-shipping-methods li label { margin: 0; cursor: pointer; display: flex; align-items: center; gap: 0.6rem; flex: 1; }
.woocommerce-shipping-methods li input { margin: 0; accent-color: var(--color-gold-deep); flex: none; }
.woocommerce-shipping-methods li .amount { font-weight: 600; }

/* ---- misc ---- */
[data-shop-grid] { scroll-margin-top: 90px; }
.page-shell { max-width: 72rem; margin-inline: auto; padding: 2rem 1rem; }
.page-title { font-family: var(--font-display); font-size: 2rem; font-weight: 700; margin: 0 0 1.5rem; }
.page-content { line-height: 1.8; }
.page-content img { height: auto; }
.mt-14 { margin-top: 3.5rem; }
.mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 5rem; }
.pt-8 { padding-top: 2rem; }
.pb-2 { padding-bottom: 0.5rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: 1fr 1fr; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-8 { gap: 2rem; }
.col-span-2 { grid-column: span 2; }
@media (min-width: 1024px) { .lg\:col-span-1 { grid-column: span 1; } .lg\:grid-cols-2 { grid-template-columns: 1fr 1fr; } .lg\:ps-10 { padding-inline-start: 2.5rem; } .lg\:mt-10 { margin-top: 2.5rem; } .lg\:pt-16 { padding-top: 4rem; } }
.text-center { text-align: center; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.min-w-0 { min-width: 0; }
.relative { position: relative; }
.absolute { position: absolute; }
.w-full { width: 100%; }
.w-fit { width: fit-content; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-7 { margin-top: 1.75rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-2\.5 { margin-bottom: 0.625rem; }
.mb-6 { margin-bottom: 1.5rem; }
.my-12 { margin: 3rem 0; }
.p-6 { padding: 1.5rem; }
.px-4 { padding-inline: 1rem; }
.py-2 { padding-block: 0.5rem; }
.py-3 { padding-block: 0.75rem; }
.py-4 { padding-block: 1rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-\[0\.7rem\] { font-size: 0.7rem; }
.text-\[0\.72rem\] { font-size: 0.72rem; }
.text-\[0\.75rem\] { font-size: 0.75rem; }
.text-\[0\.78rem\] { font-size: 0.78rem; }
.text-\[0\.8rem\] { font-size: 0.8rem; }
.text-\[0\.82rem\] { font-size: 0.82rem; }
.text-\[0\.85rem\] { font-size: 0.85rem; }
.text-\[0\.9rem\] { font-size: 0.9rem; }
.text-\[0\.92rem\] { font-size: 0.92rem; }
.text-\[0\.95rem\] { font-size: 0.95rem; }
.text-\[1\.02rem\] { font-size: 1.02rem; }
.text-\[1\.05rem\] { font-size: 1.05rem; }
.text-\[1\.15rem\] { font-size: 1.15rem; }
.text-\[1\.6rem\] { font-size: 1.6rem; }
.text-\[1\.9rem\] { font-size: 1.9rem; }
.leading-5 { line-height: 1.25rem; }
.leading-6 { line-height: 1.5rem; }
.leading-7 { line-height: 1.75rem; }
.leading-none { line-height: 1; }
.leading-snug { line-height: 1.375; }
.leading-tight { line-height: 1.25; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.underline { text-decoration: underline; }
.underline-offset-4 { text-underline-offset: 4px; }
.decoration-gold { text-decoration-color: var(--color-gold); }
.hover\:text-black:hover { color: var(--color-black); }
.hover\:text-gold-deep:hover { color: var(--color-gold-deep); }
.hover\:text-gold:hover { color: var(--color-gold); }
.group:hover .group-hover\:scale-\[1\.03\] { transform: scale(1.03); }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.object-cover { object-fit: cover; }
.block { display: block; }
.hidden { display: none; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.justify-between { justify-content: space-between; }
.items-start { align-items: flex-start; }
.items-baseline { align-items: baseline; }
.text-start { text-align: start; }
.whitespace-nowrap { white-space: nowrap; }
.shrink-0 { flex-shrink: 0; }
.px-0 { padding-inline: 0; }
.aspect-\[4\/5\] { aspect-ratio: 4/5; }
.aspect-square { aspect-ratio: 1/1; }
.w-20 { width: 5rem; }
.h-9 { height: 2.25rem; }
.w-9 { width: 2.25rem; }
.h-11 { height: 2.75rem; }
.w-11 { width: 2.75rem; }
.h-14 { width: 3.5rem; }
.w-14 { width: 3.5rem; }
.h-16 { height: 4rem; }
.w-16 { width: 4rem; }
.h-12 { width: 3rem; }
.w-10 { width: 2.5rem; }
.h-20 { height: 5rem; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }

/* ---- reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .gallery-stack img, .pcard-img img { transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---- order confirmation popup (order-received page) ---- */
.ch-thanks-modal { position: fixed; inset: 0; z-index: 90; display: flex; overflow-y: auto; padding: 1.25rem; background: rgba(10, 12, 16, 0.55); opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease; }
.ch-thanks-modal.is-open { opacity: 1; visibility: visible; }
.ch-thanks-card { position: relative; margin: auto; width: 100%; max-width: 420px; background: #fff; border-radius: 18px; padding: 2rem 1.5rem 1.6rem; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28); text-align: center; transform: translateY(14px); transition: transform 0.25s ease; }
.ch-thanks-modal.is-open .ch-thanks-card { transform: none; }
.ch-thanks-card .ch-thanks-check { width: 62px; height: 62px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.1rem; font-size: 1.7rem; color: var(--color-forest, #14532d); background: var(--color-forest-tint, #ecfdf3); border: 1px solid var(--color-forest, #14532d); }
.ch-thanks-card h2 { margin: 0 0 0.4rem; font-family: var(--font-display); font-size: 1.5rem; }
.ch-thanks-card p { margin: 0 0 0.9rem; color: var(--ink-70, #444); font-size: 0.9rem; line-height: 1.6; }
.ch-thanks-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.8rem 1rem; border: 1px solid var(--color-gold, #b08d57); background: var(--color-gold-tint, #faf6ee); border-radius: 10px; margin-bottom: 1.25rem; font-size: 0.9rem; }
.ch-thanks-row b { font-family: var(--font-latin); font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.ch-thanks-card .btn-cta { width: 100%; min-height: 3.2rem; display: flex; align-items: center; justify-content: center; }
.ch-thanks-close { position: absolute; top: 0.75rem; inset-inline-end: 0.75rem; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, 0.06); color: #111; font-size: 1.05rem; line-height: 1; cursor: pointer; }

/* ---- WhatsApp order form (PDP + cart) ---- */
.ch-wa-order,
.ch-wa-order *,
.ch-wa-order *::before,
.ch-wa-order *::after { box-sizing: border-box; }
.ch-wa-order { margin-top: 1.25rem; padding: 1.1rem; border: 1px solid var(--ink-15); background: var(--color-gold-tint, #faf6ee); }
.ch-wa-title { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.85rem; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.ch-wa-title::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #25d366; flex-shrink: 0; }
.ch-wa-field { display: block; margin-bottom: 0.55rem; }
.ch-wa-inline { display: flex; gap: 0.55rem; }
.ch-wa-inline .field { flex: 1; min-width: 0; margin-bottom: 0.55rem; }
.ch-wa-ship { margin: 0 0 0.8rem; font-size: 0.78rem; color: var(--ink-50); min-height: 1.1rem; }
.ch-wa-order .btn-cta { width: 100%; }
.ch-wa-err { margin: 0.45rem 0 0; font-size: 0.78rem; color: #9f1239; min-height: 1rem; }
.ch-wa-trust { margin: 0.6rem 0 0; font-size: 0.75rem; line-height: 1.6; color: var(--ink-50); }
.checkout-card .ch-wa-order { margin-top: 1rem; }
@media (max-width: 640px) {
  .ch-wa-inline { flex-direction: column; gap: 0; }
}
