/* ============================================================
   Orient 499 — Atelier design system
   ============================================================ */

:root {
  /* Palette (from CLAUDE-DESIGN.md) */
  --bg:        #F8F1E6;
  --surface:   #FFF9EF;
  --surface-2: #F2E8D6;
  --text:      #241B14;
  --muted:     #75685A;
  --primary:   #BF9F58;   /* gold sparrow */
  --primary-dark: #9d8245;
  --secondary: #33405B;   /* textile indigo */
  --accent:    #9C6B45;   /* hammered copper */
  --border:    #E0D2BD;
  --hairline:  #cdbb9d;
  --focus:     #1F6F78;
  --paper:     #fbf6ec;

  /* Type */
  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ar-serif: "Noto Naskh Arabic", "Cormorant Garamond", serif;
  --ar-sans:  "Noto Kufi Arabic", "Inter", sans-serif;

  /* Rhythm */
  --pad-section: clamp(72px, 9vw, 144px);
  --pad-edge:    clamp(20px, 4vw, 72px);
  --max:         1440px;
}

[data-density="cozy"] { --pad-section: clamp(56px, 7vw, 104px); }
[data-density="airy"] { --pad-section: clamp(96px, 12vw, 192px); }

[data-palette="copper"] { --primary: #9C6B45; --primary-dark: #7e5535; }
[data-palette="indigo"] { --primary: #33405B; --primary-dark: #232c40; }
[data-palette="gold"]   { --primary: #BF9F58; --primary-dark: #9d8245; }

/* Base reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: 0.005em;
}

[dir="rtl"] body { font-family: var(--ar-sans); }

img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; padding: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.005em;
  margin: 0;
  color: var(--text);
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-family: var(--ar-serif); }

.display-xl { font-size: clamp(48px, 7.4vw, 116px); line-height: 1.02; letter-spacing: -0.02em; font-weight: 400; }
.display-l  { font-size: clamp(40px, 5.6vw, 84px);  line-height: 1.04; letter-spacing: -0.015em; }
.display-m  { font-size: clamp(30px, 3.8vw, 56px);  line-height: 1.08; }
.display-s  { font-size: clamp(22px, 2.4vw, 32px);  line-height: 1.18; }
.serif-italic { font-style: italic; }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow.gold { color: var(--primary); }

.lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.45;
  color: var(--text);
  font-weight: 400;
  letter-spacing: 0.005em;
}

.body-lg { font-size: 17px; line-height: 1.7; color: var(--text); }

.muted { color: var(--muted); }
.gold  { color: var(--primary); }

/* Chapter numeral — atelier device */
.chapter {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--primary);
  font-size: 20px;
  letter-spacing: 0;
}

/* Hairline */
.rule { height: 1px; background: var(--border); border: 0; margin: 0; }
.rule-gold { height: 1px; background: var(--primary); border: 0; opacity: .6; }

/* Wrap */
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad-edge); padding-right: var(--pad-edge); }

.section { padding-top: var(--pad-section); padding-bottom: var(--pad-section); }
.section-tight { padding-top: calc(var(--pad-section) * 0.55); padding-bottom: calc(var(--pad-section) * 0.55); }

/* ===== Navbar ===== */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(248, 241, 230, 0.88);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px var(--pad-edge);
  max-width: var(--max);
  margin: 0 auto;
}
.nav-left, .nav-right { display: flex; align-items: center; gap: 22px; }
.nav-right { justify-content: flex-end; }
.nav-center { display: flex; align-items: center; justify-content: center; }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo .mark { width: 28px; height: 22px; }
.nav-logo .wordmark {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.32em;
  color: var(--text);
  text-transform: uppercase;
  padding-left: 4px;
  white-space: nowrap;
}
.nav-link {
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 400;
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.nav-link:hover { color: var(--primary); }
.nav-link.active { color: var(--primary); }
.nav-link.active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--primary);
}
.nav-utility {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-utility:hover { color: var(--text); }

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.cart-btn .count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px; height: 18px;
  background: var(--primary); color: #fff;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0;
  padding: 0 5px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  border: 1px solid var(--text);
  background: var(--text);
  color: var(--paper);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { background: transparent; color: var(--text); }
.btn-ghost {
  background: transparent; color: var(--text); border-color: var(--text);
}
.btn-ghost:hover { background: var(--text); color: var(--paper); }
.btn-gold {
  border-color: var(--primary); background: var(--primary); color: #fff;
}
.btn-gold:hover { background: transparent; color: var(--primary); }
.btn-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text); padding: 4px 0;
  border-bottom: 1px solid var(--text);
  font-weight: 500;
  transition: color .2s, border-color .2s;
}
.btn-link:hover { color: var(--primary); border-color: var(--primary); }
.btn-link .arrow {
  width: 18px; height: 1px; background: currentColor; position: relative;
  display: inline-block;
  transition: width .2s;
}
.btn-link:hover .arrow { width: 26px; }
.btn-link .arrow::after {
  content: ""; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
[dir="rtl"] .btn-link .arrow::after { transform: rotate(225deg); right: auto; left: 0; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: min(86vh, 820px);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  background: var(--surface);
  overflow: hidden;
}
.hero-text {
  padding: clamp(40px, 6vw, 96px) clamp(24px, 4vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.hero-text .chapter { margin-bottom: 28px; }
.hero h1 { margin-top: 6px; }
.hero-text .lead { margin-top: 28px; max-width: 38ch; }
.hero-cta-row { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; }
.hero-meta {
  margin-top: auto;
  padding-top: 56px;
  display: flex;
  gap: 28px;
  align-items: baseline;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.hero-meta span + span { padding-left: 28px; border-left: 1px solid var(--border); }
[dir="rtl"] .hero-meta span + span { padding-left: 0; padding-right: 28px; border-left: 0; border-right: 1px solid var(--border); }
.hero-image {
  position: relative;
  background: var(--surface-2);
  overflow: hidden;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image .stamp {
  position: absolute; right: 32px; top: 32px;
  width: 96px; height: 96px;
  border: 1px solid rgba(255,255,255,0.7);
  color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
  text-align: center;
  line-height: 1.2;
  backdrop-filter: blur(6px);
}
.hero-image .stamp strong {
  font-weight: 400; font-style: normal;
  font-size: 24px;
  display: block; margin-top: 2px;
  letter-spacing: 0;
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-image { min-height: 60vh; }
}

/* ===== Strip ===== */
.strip {
  background: var(--text);
  color: var(--paper);
  padding: 18px 0;
  overflow: hidden;
}
.strip-inner {
  display: flex;
  justify-content: space-around;
  gap: 48px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(251, 246, 236, 0.85);
}
.strip-inner > span { display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; }
.strip-dot { width: 4px; height: 4px; background: var(--primary); border-radius: 999px; }

/* ===== Editorial section header ===== */
.sec-header {
  display: grid;
  grid-template-columns: 0.35fr 1fr 0.45fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 64px;
}
.sec-header .left {
  display: flex; flex-direction: column; gap: 14px;
}
.sec-header h2 { max-width: 18ch; }
.sec-header .right {
  font-size: 14px; line-height: 1.7; color: var(--muted);
  max-width: 36ch;
}
@media (max-width: 900px) {
  .sec-header { grid-template-columns: 1fr; gap: 28px; }
}

/* ===== Product card ===== */
.pc {
  display: flex; flex-direction: column; gap: 14px;
  text-align: left;
}
[dir="rtl"] .pc { text-align: right; }
.pc-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--surface-2);
  overflow: hidden;
}
.pc-frame img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .3s;
}
.pc:hover .pc-frame img { transform: scale(1.04); }
.pc-frame .badge {
  position: absolute; top: 14px; left: 14px;
  background: rgba(36, 27, 20, 0.85);
  color: var(--paper);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 0;
  backdrop-filter: blur(4px);
}
.pc-frame .badge.ooak {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}
.pc-frame .quick {
  position: absolute; right: 14px; bottom: 14px;
  background: var(--paper);
  color: var(--text);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 9px 14px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s, transform .3s;
}
.pc:hover .pc-frame .quick { opacity: 1; transform: translateY(0); }
.pc-meta { display: flex; flex-direction: column; gap: 4px; padding-top: 6px; }
.pc-name {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.25;
  font-weight: 400;
}
.pc-detail {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.pc-price {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-top: 2px;
}
.pc-price .currency { color: var(--muted); margin-right: 3px; }

/* OOAK badge toggle (driven by Tweaks) */
[data-ooak="off"] .pc-frame .badge.ooak,
[data-ooak="off"] .pill.ooak { display: none; }

/* product grid */
.pgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px 32px;
}
.pgrid-3 { grid-template-columns: repeat(3, 1fr); }
.pgrid-6 { grid-template-columns: repeat(6, 1fr); gap: 32px 20px; }
@media (max-width: 1100px) {
  .pgrid, .pgrid-3, .pgrid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .pgrid, .pgrid-3, .pgrid-6 { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Asymmetric editorial grids ===== */
.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.split-3070 { grid-template-columns: 0.4fr 1fr; }
.split-7030 { grid-template-columns: 1fr 0.4fr; }
@media (max-width: 900px) {
  .split-2, .split-3070, .split-7030 { grid-template-columns: 1fr; gap: 40px; }
}

/* ===== Placeholder image (warm striped) ===== */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(
      135deg,
      var(--surface-2) 0 14px,
      var(--bg) 14px 28px
    );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 16px;
  line-height: 1.6;
}
.ph::before, .ph::after {
  content: "";
  position: absolute;
  border: 1px solid var(--border);
  pointer-events: none;
}
.ph::before { inset: 12px; }
.ph .ph-label { background: var(--bg); padding: 8px 14px; border: 1px solid var(--border); max-width: 80%; }

/* ===== Stock stand-in (Lorem Picsum, warm tinted) ===== */
.standin {
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
}
.standin img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.18) saturate(0.86) contrast(0.96) brightness(0.96);
}
.standin::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(36,27,20,0) 55%, rgba(36,27,20,0.22) 100%),
    radial-gradient(120% 80% at 50% 30%, rgba(191,159,88,0.05), transparent 60%);
  pointer-events: none;
}
.standin-tag {
  position: absolute;
  left: 12px; bottom: 12px;
  z-index: 2;
  background: rgba(36, 27, 20, 0.78);
  color: var(--paper);
  padding: 6px 10px;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.boutique-hero .img .standin { width: 100%; height: 100%; }

/* ===== Quote ===== */
.quote-block {
  position: relative;
  padding: clamp(40px, 6vw, 80px) 0;
}
.quote-block .q {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.25;
  letter-spacing: -0.005em;
  font-weight: 400;
  max-width: 24ch;
}
.quote-block .by {
  margin-top: 28px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ===== Vertical caption (rotated) ===== */
.vcap {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}
[dir="rtl"] .vcap { transform: none; writing-mode: vertical-lr; }

/* ===== Cart drawer ===== */
.drawer-back {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(36, 27, 20, 0.42);
  backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.drawer-back.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 81;
  width: min(440px, 100vw);
  background: var(--bg);
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
  display: flex; flex-direction: column;
  border-left: 1px solid var(--border);
}
[dir="rtl"] .drawer { right: auto; left: 0; transform: translateX(-100%); border-left: 0; border-right: 1px solid var(--border); }
.drawer.open { transform: translateX(0); }
.drawer-head { padding: 24px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); }
.drawer-head .title { font-family: var(--serif); font-size: 22px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cart-row {
  display: grid; grid-template-columns: 70px 1fr auto;
  gap: 16px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--border);
}
.cart-row img { width: 70px; height: 88px; object-fit: cover; }
.cart-row .nm { font-family: var(--serif); font-size: 16px; line-height: 1.3; }
.cart-row .det { font-size: 11px; color: var(--muted); margin-top: 4px; letter-spacing: 0.04em; }
.cart-row .pr { font-size: 13px; text-align: right; white-space: nowrap; }
.drawer-foot { padding: 24px; border-top: 1px solid var(--border); }
.drawer-foot .tot { display: flex; justify-content: space-between; margin-bottom: 18px; font-size: 14px; }
.drawer-foot .tot .num { font-family: var(--serif); font-size: 22px; }

/* ===== Footer ===== */
.foot {
  background: #1c150f;
  color: rgba(251, 246, 236, 0.78);
  padding: 96px 0 32px;
  margin-top: 96px;
}
.foot a { color: rgba(251, 246, 236, 0.78); transition: color .2s; }
.foot a:hover { color: var(--primary); }
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 48px;
}
.foot-col h4 {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col ul li { padding: 5px 0; font-size: 13.5px; }
.foot-brand .ww {
  font-family: var(--serif); font-size: 30px; letter-spacing: 0.18em;
  color: var(--paper); margin: 16px 0 12px;
}
.foot-brand p { font-size: 13.5px; max-width: 28ch; line-height: 1.65; }
.foot-bottom {
  margin-top: 80px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(251, 246, 236, 0.5);
}
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ===== Pills / tags ===== */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 6px 11px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
}
.pill.ooak {
  border-color: var(--primary);
  color: var(--primary);
}

/* ===== Story map / artisan grid ===== */
.artisans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.artisan {
  padding: 40px 28px;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 18px;
  background: var(--surface);
  position: relative;
  transition: background .3s;
}
[dir="rtl"] .artisan { border-right: 0; border-left: 1px solid var(--border); }
.artisan:last-child { border-right: 0; }
[dir="rtl"] .artisan:last-child { border-left: 0; }
.artisan:hover { background: var(--bg); }
.artisan .num { font-family: var(--serif); font-style: italic; color: var(--primary); font-size: 14px; }
.artisan h3 { font-size: 24px; line-height: 1.2; }
.artisan p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.artisan .where { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text); margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }
@media (max-width: 900px) {
  .artisans { grid-template-columns: 1fr 1fr; }
  .artisan { border-bottom: 1px solid var(--border); }
}

/* ===== Filter chips ===== */
.chipbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 48px; }
.chip {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  transition: all .2s;
}
.chip:hover { color: var(--text); border-color: var(--text); }
.chip.active { background: var(--text); color: var(--paper); border-color: var(--text); }

/* ===== Product detail ===== */
.pdp {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 5vw, 80px);
}
.pdp-gallery { display: flex; flex-direction: column; gap: 16px; }
.pdp-img-main { aspect-ratio: 4/5; background: var(--surface-2); overflow: hidden; }
.pdp-img-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pdp-thumb {
  aspect-ratio: 1/1; background: var(--surface-2); overflow: hidden;
  border: 1px solid transparent;
  cursor: pointer;
}
.pdp-thumb.active { border-color: var(--primary); }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info { padding-top: 12px; }
.pdp-info h1 { margin: 14px 0 18px; }
.pdp-price { font-family: var(--serif); font-size: 32px; }
.pdp-price .currency { font-size: 14px; color: var(--muted); margin-right: 6px; }
.pdp-spec { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; margin: 28px 0; }
.pdp-spec dt { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.pdp-spec dd { margin: 4px 0 0; font-family: var(--serif); font-size: 17px; }
.pdp-add { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.qty {
  display: flex; align-items: center;
  border: 1px solid var(--text);
}
.qty button { width: 42px; height: 48px; font-size: 16px; }
.qty .n { width: 42px; text-align: center; font-family: var(--serif); font-size: 18px; }
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; }
}

/* ===== Boutique ===== */
.boutique-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--surface);
}
.boutique-hero .info { padding: clamp(40px, 5vw, 80px); display: flex; flex-direction: column; justify-content: center; }
.boutique-hero .img { background: var(--surface-2); min-height: 520px; position: relative; }
.boutique-hero .img .ph { width: 100%; height: 100%; }
@media (max-width: 900px) { .boutique-hero { grid-template-columns: 1fr; } }

/* ===== Form ===== */
.fld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 22px; }
.fld label {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.fld input, .fld textarea, .fld select {
  font: inherit; background: transparent;
  border: 0; border-bottom: 1px solid var(--border);
  padding: 12px 0;
  color: var(--text);
  font-size: 15px;
  font-family: var(--serif);
  outline: 0;
  width: 100%;
}
.fld input:focus, .fld textarea:focus { border-color: var(--primary); }
.fld textarea { min-height: 120px; resize: vertical; }

/* ===== Misc ===== */
.spacer-l { height: 96px; }
.spacer-m { height: 56px; }

/* Marquee */
.marq { overflow: hidden; }
.marq-track {
  display: flex;
  gap: 64px;
  animation: marq 40s linear infinite;
  padding: 12px 0;
  width: max-content;
}
@keyframes marq {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marq-item {
  font-family: var(--serif); font-style: italic;
  font-size: 22px;
  white-space: nowrap;
  color: var(--text);
  opacity: .65;
  display: inline-flex; align-items: center; gap: 64px;
}
.marq-item::after { content: "·"; color: var(--primary); }

/* Journal cards */
.jgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 48px; }
@media (max-width: 760px) { .jgrid { grid-template-columns: 1fr; } }
.jcard { display: flex; flex-direction: column; gap: 16px; }
.jcard .jimg { aspect-ratio: 16/10; background: var(--surface-2); overflow: hidden; }
.jcard .jimg img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.jcard:hover .jimg img { transform: scale(1.03); }
.jcard h3 { font-size: 28px; line-height: 1.2; }
.jcard .meta { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }

/* Lebanese key-numbers panel */
.key-numbers {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.kn { padding: 56px 32px; border-right: 1px solid var(--border); text-align: center; }
.kn:last-child { border-right: 0; }
.kn .big { font-family: var(--serif); font-size: clamp(48px, 6vw, 80px); line-height: 1; color: var(--primary); }
.kn .lbl { margin-top: 14px; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) {
  .key-numbers { grid-template-columns: 1fr; }
  .kn { border-right: 0; border-bottom: 1px solid var(--border); }
  .kn:last-child { border-bottom: 0; }
}

/* Banner / strip with sparrow */
.sparrow-divider {
  display: flex; align-items: center; gap: 24px;
  padding: 24px 0;
}
.sparrow-divider .ln { flex: 1; height: 1px; background: var(--primary); opacity: .55; }
.sparrow-divider svg { width: 32px; height: 24px; flex: 0 0 32px; }

/* Toast */
.toast {
  position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--text); color: var(--paper);
  padding: 14px 22px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0; pointer-events: none; z-index: 90;
  transition: opacity .25s, transform .25s;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.fade-up { animation: fadeUp .7s ease both; }
.delay-1 { animation-delay: .1s; } .delay-2 { animation-delay: .2s; } .delay-3 { animation-delay: .3s; } .delay-4 { animation-delay: .4s; } .delay-5 { animation-delay: .5s; }

/* Lang switcher */
.lang-switch {
  display: inline-flex; align-items: center; gap: 0;
  border: 1px solid var(--border);
}
.lang-switch button {
  padding: 6px 10px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.lang-switch button.active { background: var(--text); color: var(--paper); }

/* Notice */
.notice {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 16px 20px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
}
.notice strong { color: var(--text); font-weight: 500; }

/* Map embed wrapper */
.map-frame {
  background: var(--surface-2);
  aspect-ratio: 16 / 9;
  width: 100%;
  position: relative;
  border: 1px solid var(--border);
}

/* Mobile-nav */
.mob-toggle { display: none; }
@media (max-width: 1100px) {
  .nav-inner { grid-template-columns: auto 1fr auto; gap: 14px; }
  .nav-left > .nav-link:not(.mob-toggle),
  .nav-right > .nav-link:not(.cart-btn) { display: none; }
  .mob-toggle { display: inline-flex !important; }
  .nav-right .lang-switch { display: inline-flex; }
}
@media (max-width: 720px) {
  .nav-right .lang-switch { display: none; }
  .nav-logo .wordmark { font-size: 18px; letter-spacing: 0.24em; }
}
