/* ─────────────────────────────────────────────────────────
   Ramzi · Premium dark-mode menu — MOBILE FIRST
   ───────────────────────────────────────────────────────── */

:root {
  --bg:        #0b0a08;
  --bg-soft:   #100e0b;
  --bg-card:   #14110d;
  --bg-elev:   #1a1612;
  --line:      rgba(232, 226, 212, 0.12);
  --line-soft: rgba(232, 226, 212, 0.06);

  --ink:       #ece6d6;
  --ink-mute:  rgba(236, 230, 214, 0.62);
  --ink-dim:   rgba(236, 230, 214, 0.38);

  --gold:      #c9a85c;
  --gold-2:    #e6cf95;
  --gold-deep: #8c6f2e;
  --gold-foil: linear-gradient(135deg, #8c6f2e 0%, #e6cf95 38%, #c9a85c 56%, #8c6f2e 100%);

  --ok:        #7da37a;
  --warn:      #c98a4b;
  --err:       #b96a6a;

  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --pad: 18px;
  --radius: 2px;
}

/* ─────────────────────────────────────────────────────────
   Theme overrides — set via data-theme on <html>
   v4 is the baseline; the others override only what differs.
   ───────────────────────────────────────────────────────── */

/* ── Default (Light) ────────────────────────────────────── */
html[data-theme="default"] {
  --bg:        #fafaf8;
  --bg-soft:   #f5f3ef;
  --bg-card:   #ffffff;
  --bg-elev:   #eee9df;
  --line:      rgba(26, 22, 18, 0.12);
  --line-soft: rgba(26, 22, 18, 0.06);
  --ink:       #1a1612;
  --ink-mute:  rgba(26, 22, 18, 0.62);
  --ink-dim:   rgba(26, 22, 18, 0.38);
  color-scheme: light;
}
html[data-theme="default"] body {
  background-image:
    radial-gradient(900px 500px at 20% -10%, rgba(201, 168, 92, 0.07), transparent 60%),
    radial-gradient(700px 400px at 110% 110%, rgba(201, 168, 92, 0.04), transparent 60%);
}
html[data-theme="default"] .hdr          { background: rgba(250, 250, 248, 0.92); }
html[data-theme="default"] .tools        { background: rgba(250, 250, 248, 0.96); }
html[data-theme="default"] .item:active  { background: rgba(26, 22, 18, 0.03); }
html[data-theme="default"] .search-input {
  background: rgba(26, 22, 18, 0.06);
  color: var(--ink);
}
html[data-theme="default"] .search-input::placeholder { color: var(--ink-mute); }

/* ── V2 (Dark Amber) ────────────────────────────────────── */
html[data-theme="v2"] {
  --bg:        #0d0800;
  --bg-soft:   #130c00;
  --bg-card:   #1a1100;
  --bg-elev:   #231600;
  --gold:      #e8932a;
  --gold-2:    #f5c060;
  --gold-deep: #a56010;
  --gold-foil: linear-gradient(135deg, #a56010 0%, #f5c060 38%, #e8932a 56%, #a56010 100%);
}
html[data-theme="v2"] body {
  background-image:
    radial-gradient(900px 500px at 20% -10%, rgba(232, 147, 42, 0.06), transparent 60%),
    radial-gradient(700px 400px at 110% 110%, rgba(232, 147, 42, 0.04), transparent 60%);
}
html[data-theme="v2"] .hdr { background: rgba(13, 8, 0, 0.88); }

/* ── V3 (Modern / Blue-Steel) ───────────────────────────── */
html[data-theme="v3"] {
  --bg:        #f7f8fa;
  --bg-soft:   #eef0f5;
  --bg-card:   #ffffff;
  --bg-elev:   #e2e6ed;
  --line:      rgba(15, 23, 42, 0.10);
  --line-soft: rgba(15, 23, 42, 0.05);
  --ink:       #0f172a;
  --ink-mute:  rgba(15, 23, 42, 0.60);
  --ink-dim:   rgba(15, 23, 42, 0.35);
  --gold:      #2563eb;
  --gold-2:    #60a5fa;
  --gold-deep: #1d4ed8;
  --gold-foil: linear-gradient(135deg, #1d4ed8 0%, #60a5fa 50%, #2563eb 100%);
  color-scheme: light;
}
html[data-theme="v3"] body {
  background-image:
    radial-gradient(900px 500px at 20% -10%, rgba(37, 99, 235, 0.05), transparent 60%),
    radial-gradient(700px 400px at 110% 110%, rgba(37, 99, 235, 0.03), transparent 60%);
}
html[data-theme="v3"] .hdr          { background: rgba(247, 248, 250, 0.92); }
html[data-theme="v3"] .tools        { background: rgba(247, 248, 250, 0.96); }
html[data-theme="v3"] .item:active  { background: rgba(15, 23, 42, 0.03); }
html[data-theme="v3"] .search-input {
  background: rgba(15, 23, 42, 0.06);
  color: var(--ink);
}
html[data-theme="v3"] .search-input::placeholder { color: var(--ink-mute); }

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg); }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: 110px;
  min-height: 100vh;
  background-image:
    radial-gradient(900px 500px at 20% -10%, rgba(201, 168, 92, 0.05), transparent 60%),
    radial-gradient(700px 400px at 110% 110%, rgba(201, 168, 92, 0.04), transparent 60%);
  background-attachment: fixed;
}
[hidden] { display: none !important; }

/* ── Type ──────────────────────────────────────────────── */
.serif { font-family: var(--serif); font-weight: 400; }
.eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.gold {
  background: var(--gold-foil);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.rule {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
}
.rule::before, .rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201, 168, 92, 0.45), transparent);
}
.rule__diamond {
  width: 5px; height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 0 3px rgba(201, 168, 92, 0.12);
}

.shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ── Header ────────────────────────────────────────────── */
.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 10, 8, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.hdr__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hdr__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.hdr__monogram {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  position: relative;
  flex-shrink: 0;
}
.hdr__monogram::before {
  content: "";
  position: absolute; inset: 3px;
  border: 1px solid rgba(201, 168, 92, 0.3);
}
.hdr__name {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hdr__sub {
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
  display: none;
}
.hdr__actions { display: flex; align-items: center; gap: 8px; }
.hdr__left, .hdr__right { display: flex; align-items: center; gap: 10px; }
.hdr__divider { width: 1px; height: 22px; background: var(--line); }

.btn-lang {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-mute);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.14em;
  padding: 0;
  cursor: pointer;
  height: 36px;
  border-radius: 999px;
  overflow: hidden;
}
.btn-lang__seg {
  padding: 0 12px;
  height: 100%;
  display: inline-flex;
  align-items: center;
  transition: 0.25s;
}
.btn-lang__seg--active { background: var(--ink); color: var(--bg); font-weight: 600; }

.btn-cart, .btn-back {
  position: relative;
  width: 36px; height: 36px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  transition: 0.25s;
}
.btn-cart:hover, .btn-back:hover { border-color: var(--gold); color: var(--gold); }
.btn-cart svg, .btn-back svg { width: 15px; height: 15px; }
.cart-badge {
  position: absolute;
  top: -3px; right: -3px;
  min-width: 17px; height: 17px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--gold-foil);
  color: #1a1208;
  font-size: 9px;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-family: var(--sans);
}

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  text-align: center;
  padding: 48px var(--pad) 36px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 50% 30%, rgba(201, 168, 92, 0.08), transparent 70%);
  pointer-events: none;
}
.hero__eyebrow { margin-bottom: 18px; }
.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 44px;
  line-height: 1.05;
  margin: 0;
}
.hero__title em {
  font-style: italic;
  background: var(--gold-foil);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s ease-in-out infinite;
  display: inline-block;
}
.hero__lede {
  max-width: 480px;
  margin: 20px auto 0;
  color: var(--ink-mute);
  font-size: 14px;
  line-height: 1.65;
}
.hero__meta {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  flex-wrap: wrap;
  justify-content: center;
}
.hero__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(125, 163, 122, 0.15);
}
.hero__sep { width: 1px; height: 12px; background: var(--line); }

/* ── Search + pills ────────────────────────────────────── */
.tools {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 0 22px;
  border-top: 1px solid var(--line-soft);
  position: sticky;
  top: 60px;
  background: rgba(11, 10, 8, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 40;
  margin: 0 calc(-1 * var(--pad));
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.search-wrap {
  position: relative;
}
.search-icon {
  position: absolute;
  top: 50%; left: 14px;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  color: var(--ink-dim);
  display: inline-grid;
  place-items: center;
}
.search-icon svg { width: 14px; height: 14px; }
.search-input {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--ink);
  padding: 0 16px 0 38px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.03em;
  border-radius: 999px;
  outline: none;
  transition: 0.25s;
}
.search-input::placeholder { color: var(--ink-dim); }
.search-input:focus { border-color: var(--gold); }

.cat-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
  margin: 0 calc(-1 * var(--pad));
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.cat-pills::-webkit-scrollbar { display: none; }
.cat-pill {
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-mute);
  padding: 9px 16px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.25s;
  white-space: nowrap;
}
.cat-pill:hover { color: var(--ink); }
.cat-pill--active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  font-weight: 600;
}

/* ── Section header ────────────────────────────────────── */
.section {
  padding: 36px 0 28px;
  border-top: 1px solid var(--line-soft);
}
.section:first-of-type { border-top: 0; padding-top: 32px; }
.section__head {
  text-align: center;
  margin-bottom: 28px;
}
.section__num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.18em;
}
.section__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 34px;
  line-height: 1.05;
  margin: 4px 0 12px;
}
.section__title em { font-style: italic; color: var(--gold); }
.section__sub {
  color: var(--ink-mute);
  font-size: 13px;
  max-width: 480px;
  margin: 10px auto 0;
  line-height: 1.65;
}

/* ── Item row — MOBILE FIRST ───────────────────────────── */
.items { display: flex; flex-direction: column; gap: 0; }
.item {
  display: grid;
  grid-template-columns: 78px 1fr;
  grid-template-areas:
    "thumb body"
    "action action";
  column-gap: 16px;
  row-gap: 14px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  cursor: pointer;
  transition: 0.3s;
}
.item:last-child { border-bottom: 0; }
.item:active { background: rgba(232, 226, 212, 0.02); }

.item__thumb {
  grid-area: thumb;
  width: 78px; height: 78px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.item__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.92) contrast(1.05);
  transition: 0.5s;
}
.item__thumb-ph {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--ink-dim);
  background:
    repeating-linear-gradient(
      45deg,
      transparent, transparent 6px,
      rgba(232, 226, 212, 0.025) 6px,
      rgba(232, 226, 212, 0.025) 7px
    );
}
.item__thumb-ph svg { width: 20px; height: 20px; }

.item__body { grid-area: body; min-width: 0; }
.item__top {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: nowrap;
}
.item__name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
  flex: 1;
  min-width: 0;
}
.item__leaders { display: none; }
.item__price {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--gold);
  white-space: nowrap;
}
.item__price-currency {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--ink-dim);
  margin-right: 5px;
  vertical-align: 1px;
}
.item__desc {
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.6;
  margin: 0 0 10px;
}
.item__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  flex-wrap: wrap;
}
.item__meta-tag { display: inline-flex; align-items: center; gap: 5px; }
.item__meta-tag svg { width: 11px; height: 11px; }
.item__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201, 168, 92, 0.35);
  padding: 3px 7px;
  background: rgba(201, 168, 92, 0.06);
}
.item__badge--signature { color: var(--gold-2); }
.item__badge svg { width: 9px; height: 9px; }

.item__action {
  grid-area: action;
  display: flex;
  align-items: center;
  justify-content: stretch;
  gap: 10px;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 13px 18px;
  cursor: pointer;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 44px;
}
.btn-add::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--gold-foil);
  background-size: 200% 200%;
  opacity: 0;
  transition: 0.3s;
  z-index: 0;
}
.btn-add:active::before, .btn-add:hover::before { opacity: 1; animation: shimmer 3s ease-in-out infinite; }
.btn-add:active, .btn-add:hover { color: #1a1208; border-color: var(--gold-2); }
.btn-add > * { position: relative; z-index: 1; }
.btn-add svg { width: 12px; height: 12px; }
.btn-add:disabled {
  border-color: var(--line);
  color: var(--ink-dim);
  cursor: not-allowed;
}
.btn-add:disabled::before { display: none; }

/* qty stepper — full width on mobile */
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--gold);
  width: 100%;
  justify-content: space-between;
  min-height: 44px;
}
.qty__btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: transparent;
  border: 0;
  color: var(--gold);
  cursor: pointer;
  font-size: 20px;
  font-family: var(--serif);
  transition: 0.2s;
  flex-shrink: 0;
}
.qty__btn:active { background: rgba(201, 168, 92, 0.1); }
.qty__num {
  flex: 1;
  text-align: center;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--gold);
  border-left: 1px solid rgba(201, 168, 92, 0.3);
  border-right: 1px solid rgba(201, 168, 92, 0.3);
  padding: 0 6px;
  line-height: 42px;
}

/* ── Cart bar ──────────────────────────────────────────── */
.cart-bar {
  position: fixed;
  bottom: 12px;
  left: 12px;
  right: 12px;
  z-index: 100;
  transform: translateY(140%);
  background: var(--bg-elev);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(201, 168, 92, 0.1);
  transition: 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.cart-bar.visible { transform: translateY(0); }
.cart-bar__info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
}
.cart-bar__count {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.cart-bar__total {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--gold);
}
.cart-bar__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-foil);
  background-size: 200% 200%;
  color: #1a1208;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 13px 18px;
  animation: shimmer 5s ease-in-out infinite;
  white-space: nowrap;
  flex-shrink: 0;
}
.cart-bar__btn svg { width: 12px; height: 12px; }

/* ── Toast ─────────────────────────────────────────────── */
.toast {
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translate(-50%, -120%);
  z-index: 200;
  background: var(--bg-elev);
  border: 1px solid var(--gold);
  color: var(--ink);
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  max-width: calc(100vw - 24px);
}
.toast.show { transform: translate(-50%, 0); }
.toast svg { width: 14px; height: 14px; color: var(--gold); }

/* ── Footer ────────────────────────────────────────────── */
.foot {
  text-align: center;
  padding: 40px var(--pad) 30px;
  border-top: 1px solid var(--line-soft);
  margin-top: 40px;
}
.foot__mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.foot__mark::before, .foot__mark::after {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--line);
}
.foot__addr {
  margin-top: 22px;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-mute);
  font-size: 13px;
  line-height: 1.7;
}

/* ── Cart page ─────────────────────────────────────────── */
.page-title {
  text-align: center;
  padding: 36px 0 28px;
}
.page-title__eyebrow { margin-bottom: 12px; }
.page-title h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 38px;
  line-height: 1;
  margin: 0;
}
.page-title h1 em { font-style: italic; color: var(--gold); }

.cart-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cart-line {
  display: grid;
  grid-template-columns: 64px 1fr;
  grid-template-areas:
    "thumb body"
    "thumb body";
  column-gap: 14px;
  row-gap: 0;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
}
.cart-line__thumb {
  grid-area: thumb;
  width: 64px; height: 64px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-card);
  position: relative;
}
.cart-line__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__main { grid-area: body; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cart-line__top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
}
.cart-line__name {
  font-family: var(--serif);
  font-size: 17px;
  margin: 0;
  flex: 1;
  min-width: 0;
}
.cart-line__total {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--gold);
  white-space: nowrap;
}
.cart-line__price {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
}
.cart-line__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}
.cart-line__bottom .qty { width: auto; min-width: 130px; }
.cart-line__remove {
  background: none;
  border: 0;
  color: var(--ink-dim);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.25s;
  padding: 8px 4px;
  white-space: nowrap;
  min-height: 36px;
}
.cart-line__remove:active { color: var(--err); }

.summary {
  border: 1px solid var(--line);
  padding: 24px 20px;
  background: var(--bg-soft);
}
.summary h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  margin: 0 0 18px;
  text-align: center;
}
.summary__rule { text-align: center; margin-bottom: 18px; }
.summary__rule .rule__diamond { display: inline-block; }
.summary__row {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  font-size: 13px;
  color: var(--ink-mute);
}
.summary__row--total {
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 16px;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
}
.summary__row--total .summary__val { color: var(--gold); }
.summary__cta {
  display: block;
  width: 100%;
  margin-top: 20px;
  background: var(--gold-foil);
  background-size: 200% 200%;
  color: #1a1208;
  border: 0;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 17px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  animation: shimmer 5s ease-in-out infinite;
  min-height: 50px;
}
.summary__back {
  display: block;
  text-align: center;
  margin-top: 12px;
  color: var(--ink-mute);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px;
}
.summary__back:active { color: var(--gold); }

.cart-empty {
  text-align: center;
  padding: 60px 20px;
}
.cart-empty svg { width: 44px; height: 44px; color: var(--gold); opacity: 0.6; margin-bottom: 20px; }
.cart-empty p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--ink-mute);
  margin: 0 0 24px;
}

/* ── Item detail ───────────────────────────────────────── */
.detail {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 0 40px;
}
.detail__img {
  aspect-ratio: 4/5;
  border: 1px solid var(--line);
  background: var(--bg-card);
  overflow: hidden;
  position: relative;
}
.detail__img img { width: 100%; height: 100%; object-fit: cover; }
.detail__img-ph {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--ink-dim);
  background:
    repeating-linear-gradient(
      45deg,
      transparent, transparent 8px,
      rgba(232, 226, 212, 0.025) 8px,
      rgba(232, 226, 212, 0.025) 9px
    );
}
.detail__num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.18em;
  margin-bottom: 10px;
}
.detail__name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 34px;
  line-height: 1.05;
  margin: 0 0 14px;
}
.detail__name em { font-style: italic; color: var(--gold); }
.detail__price {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 20px;
}
.detail__desc {
  color: var(--ink-mute);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
}
.detail__pairing {
  border-left: 1px solid var(--gold);
  padding: 4px 0 4px 16px;
  margin: 22px 0;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-mute);
  font-size: 13px;
  line-height: 1.6;
}
.detail__pairing-label {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.detail__meta {
  display: flex;
  gap: 22px;
  margin: 22px 0;
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  flex-wrap: wrap;
}
.detail__meta-item {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.detail__meta-val {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  margin-top: 3px;
}
.detail__cta-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-direction: column;
}
.detail__cta-row .btn-add { padding: 16px 22px; }

/* ── Confirmation ──────────────────────────────────────── */
.confirm {
  text-align: center;
  padding: 60px var(--pad) 40px;
  max-width: 540px;
  margin: 0 auto;
}
.confirm__seal {
  width: 76px; height: 76px;
  margin: 0 auto 22px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  position: relative;
  display: grid;
  place-items: center;
  color: var(--gold);
}
.confirm__seal::before {
  content: "";
  position: absolute; inset: 5px;
  border: 1px solid rgba(201, 168, 92, 0.4);
  border-radius: 50%;
}
.confirm__seal svg { width: 28px; height: 28px; }
.confirm__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 36px;
  line-height: 1.05;
  margin: 0 0 12px;
}
.confirm__title em { font-style: italic; color: var(--gold); }
.confirm__sub { color: var(--ink-mute); margin: 0 0 30px; line-height: 1.65; font-size: 14px; }
.confirm__ref {
  display: inline-block;
  font-family: var(--mono);
  border: 1px solid var(--line);
  padding: 9px 18px;
  letter-spacing: 0.22em;
  font-size: 11px;
  color: var(--gold);
}

/* ── Status track ──────────────────────────────────────── */
.status-track {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 36px auto;
  max-width: 480px;
  padding: 0 var(--pad);
}
.status-step {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  padding: 14px 0;
  position: relative;
}
.status-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 14px; top: 38px; bottom: -8px;
  width: 1px;
  background: var(--line);
}
.status-step--done:not(:last-child)::after { background: var(--gold); }
.status-step__dot {
  width: 30px; height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink-dim);
  background: var(--bg);
}
.status-step--done .status-step__dot,
.status-step--current .status-step__dot {
  border-color: var(--gold);
  color: var(--gold);
}
.status-step--current .status-step__dot {
  box-shadow: 0 0 0 4px rgba(201, 168, 92, 0.15);
}
.status-step__dot svg { width: 11px; height: 11px; }
.status-step__label {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink-mute);
}
.status-step--done .status-step__label,
.status-step--current .status-step__label { color: var(--ink); }
.status-step__time {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-top: 2px;
}

/* ── RTL ───────────────────────────────────────────────── */
[dir="rtl"] .detail__pairing { border-left: 0; border-right: 1px solid var(--gold); padding: 4px 16px 4px 0; }

/* ── Tablet ────────────────────────────────────────────── */
@media (min-width: 600px) {
  :root { --pad: 28px; }
  .hdr__inner { padding: 16px var(--pad); }
  .hdr__monogram { width: 36px; height: 36px; font-size: 18px; }
  .hdr__name { font-size: 22px; letter-spacing: 0.18em; }
  .hdr__sub { display: block; }
  .btn-cart, .btn-back { width: 38px; height: 38px; }
  .btn-lang { height: 38px; }

  .hero { padding: 80px var(--pad) 60px; }
  .hero__title { font-size: 64px; }
  .hero__lede { font-size: 15px; }
  .hero__meta { gap: 16px; padding: 10px 20px; font-size: 11px; }

  .tools { top: 70px; padding: 32px var(--pad) 28px; }
  .cat-pills { padding-left: var(--pad); padding-right: var(--pad); margin: 0 calc(-1 * var(--pad)); }

  .section { padding: 56px 0 40px; }
  .section__title { font-size: 44px; }

  .item {
    grid-template-columns: 88px 1fr auto;
    grid-template-areas: "thumb body action";
    column-gap: 24px;
    align-items: center;
    padding: 26px 0;
  }
  .item__thumb { width: 88px; height: 88px; }
  .item__name { font-size: 21px; }
  .item__leaders {
    display: block;
    flex: 1;
    border-bottom: 1px dotted rgba(232, 226, 212, 0.18);
    transform: translateY(-4px);
    min-width: 30px;
  }
  .item__action { width: auto; min-width: 160px; justify-content: flex-end; }
  .btn-add { width: auto; padding: 12px 22px; }
  .qty { width: auto; min-width: 140px; }

  .cart-bar {
    bottom: 16px;
    left: 50%;
    right: auto;
    transform: translate(-50%, 140%);
    min-width: 360px;
    max-width: calc(100vw - 32px);
    padding: 12px 14px 12px 24px;
    gap: 20px;
  }
  .cart-bar.visible { transform: translate(-50%, 0); }

  .page-title { padding: 60px 0 40px; }
  .page-title h1 { font-size: 56px; }
  .cart-line {
    grid-template-columns: 76px 1fr auto;
    grid-template-areas: "thumb body right";
    column-gap: 18px;
  }
  .cart-line__thumb { width: 76px; height: 76px; }
  .cart-line__top { display: block; }
  .cart-line__bottom { margin-top: 12px; }
  .cart-line__right {
    grid-area: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    min-width: 90px;
  }
  .cart-line__total { font-size: 18px; }

  .detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 50px 0;
    align-items: center;
  }
  .detail__name { font-size: 44px; }
  .detail__cta-row { flex-direction: row; align-items: center; }
  .detail__cta-row .btn-add { flex: 1; }

  .confirm { padding: 80px var(--pad) 50px; }
  .confirm__title { font-size: 48px; }
}

/* ── Desktop ───────────────────────────────────────────── */
@media (min-width: 900px) {
  :root { --pad: 40px; }
  .hero { padding: 110px var(--pad) 80px; }
  .hero__title { font-size: 88px; }
  .section__title { font-size: 52px; }
  .cart-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: start;
  }
  .summary { padding: 32px; position: sticky; top: 100px; }
}

/* ── Prevent mobile browser auto-zoom on input focus ─────────────────────── */
@media (max-width: 767px) {
  input, textarea, select {
    font-size: 16px !important;
  }
}