:root {
  --cream: #faf6ee;
  --paper: #fffdf8;
  --navy: #1d2b4a;
  --navy-soft: #31456f;
  --gold: #c9a24b;
  --gold-soft: #f0e3c0;
  --ink: #23262b;
  --muted: #6b6f77;
  --line: #e7ddc8;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
}
h1, h2, h3, .brand-name { font-family: 'Frank Ruhl Libre', Georgia, serif; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Sticky top bar */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 2px 10px rgba(20,25,40,.18);
}
.topbar-inner {
  max-width: 1100px; margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; gap: 16px;
}
.menu { position: relative; }
.menu-btn {
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px; padding: 8px 16px; font: 600 14px 'Inter'; cursor: pointer;
  min-height: 40px;
}
.menu-btn:hover { background: rgba(255,255,255,.12); }
.menu-drop {
  position: absolute; top: calc(100% + 8px); left: 0; width: 290px;
  max-width: calc(100vw - 32px); z-index: 50;
  background: #faf9f5; color: #1e2c4a;
  border: 1px solid #ddd7cb; border-radius: 14px;
  box-shadow: 0 12px 32px rgba(20,25,40,.16); overflow: hidden;
  padding: 8px 0;
}
.menu-h {
  font: 600 11.5px 'Inter'; letter-spacing: 1.1px; text-transform: uppercase;
  color: #71767f; margin: 0; padding: 10px 16px 4px;
}
.menu-sep { height: 1px; background: #ddd7cb; margin: 6px 0; }
.menu-drop a {
  display: flex; align-items: center; min-height: 50px; padding: 6px 16px;
  text-decoration: none; color: #1e2c4a; font: 500 16px 'Inter';
}
.menu-drop a:hover, .menu-drop a:focus-visible { background: var(--gold-soft); outline: none; }
.menu-drop a[aria-current="true"] { background: var(--gold-soft); font-weight: 600; }
.brand { flex: 1; text-align: center; line-height: 1.15; min-width: 0; }
.brand-home { display: block; }
.brand-logo { height: 56px; width: auto; max-width: 100%; display: inline-block; vertical-align: middle; }
.cart-btn {
  background: var(--gold); color: var(--navy); border: 0; border-radius: 999px;
  padding: 9px 18px; font: 700 14px 'Inter'; cursor: pointer; min-height: 40px;
}
.cart-btn:hover { filter: brightness(1.06); }
.cart-count {
  background: var(--navy); color: #fff; border-radius: 999px;
  padding: 1px 8px; margin-left: 6px; font-size: 12px;
}
.shipbar {
  background: var(--gold); color: var(--navy);
  text-align: center; font: 600 13px 'Inter';
  padding: 7px 12px; letter-spacing: .2px;
}
.promobar {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; flex-wrap: wrap; row-gap: 2px;
}
.promobar[hidden] { display: none; }
.promo-code {
  background: var(--navy); color: var(--gold-soft);
  border-radius: 6px; padding: 2px 10px;
  font: 700 13px 'Inter'; letter-spacing: 1px;
}
.promo-ends { font-weight: 600; opacity: .85; }
.shipslim {
  background: var(--paper); color: var(--navy);
  display: flex; align-items: center; justify-content: center; gap: 7px;
  font: 500 12px 'Inter'; letter-spacing: .2px;
  padding: 4px 12px; border-bottom: 1px solid var(--line);
}
.shipslim[hidden] { display: none; }
.hero-ship { color: var(--muted); font-size: 13px; margin: -8px 0 16px; }
@media (max-width: 640px) {
  .promobar { font-size: 11.5px; padding: 6px 10px; gap: 6px; }
  .promobar[hidden] { display: none; }
.promo-code { font-size: 11.5px; padding: 2px 8px; }
}

/* Hero */
.hero { max-width: 1100px; margin: 22px auto 4px; padding: 0 20px; text-align: center; }
.hero-frame {
  position: relative; overflow: hidden;
  border-radius: var(--radius); box-shadow: 0 10px 30px rgba(20,25,40,.14);
}
.hero img {
  display: block; width: 100%; max-height: 550px; object-fit: cover; object-position: center top;
}
/* Subtle Chanukah effects over the hero photo (reduced-motion safe) */
.fx-scene { position: absolute; top: 0; left: 0; width: 100%; aspect-ratio: 1448/860; pointer-events: none; }
.flame {
  position: absolute; left: calc(var(--x)*1%); top: calc(var(--y)*1%);
  width: 3.2%; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(255,242,190,.9) 0%, rgba(255,205,100,.45) 42%, rgba(255,190,80,0) 72%);
  mix-blend-mode: screen;
  will-change: opacity, transform;
  animation-name: flame-flicker;
  animation-duration: var(--d);
  animation-timing-function: ease-in-out;
  animation-delay: var(--l);
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-fill-mode: both;
  animation-play-state: running;
}
@keyframes flame-flicker {
  from { opacity: .3; transform: translate(-50%,-52%) scale(.82); }
  to   { opacity: .8; transform: translate(-50%,-48%) scale(1.14); }
}
.menorah-glow {
  position: absolute; left: 79%; top: 6.5%; width: 34%; height: 15%;
  transform: translate(-50%,-50%);
  background: radial-gradient(ellipse, rgba(255,222,150,.22), rgba(255,222,150,0) 70%);
  mix-blend-mode: screen;
  will-change: opacity;
  animation-name: glow-pulse;
  animation-duration: 3.4s;
  animation-timing-function: ease-in-out;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-fill-mode: both;
  animation-play-state: running;
}
@keyframes glow-pulse { from { opacity: .5; } to { opacity: 1; } }
.dreidel-sheen { position: absolute; left: 3%; top: 73%; width: 16%; height: 27%; overflow: hidden; }
.dreidel-sheen::before {
  content: ''; position: absolute; top: -10%; bottom: -10%; left: -140%; right: -140%;
  background: linear-gradient(105deg, rgba(255,255,255,0) 44%, rgba(255,255,255,.30) 50%, rgba(255,255,255,0) 56%);
  transform: translateX(-60%);
  will-change: transform;
  animation-name: sheen;
  animation-duration: 7.5s;
  animation-timing-function: ease-in-out;
  animation-delay: 0s;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
  animation-play-state: running;
}
@keyframes sheen {
  0%, 68% { transform: translateX(-60%); }
  92%, 100% { transform: translateX(60%); }
}
@media (prefers-reduced-motion: reduce) {
  .flame, .menorah-glow, .dreidel-sheen::before { animation: none; }
  .dreidel-sheen::before { display: none; }
  .flame { opacity: .45; }
}
.hero-text h1 { font-size: 34px; font-weight: 500; letter-spacing: .2px; line-height: 1.25; margin: 22px 0 8px; color: var(--navy); }
.hero-text p { color: var(--muted); margin: 0 0 16px; }
.hero-text .hero-sub { font-size: 15px; line-height: 1.55; color: #83878f; max-width: 560px; margin: 0 auto 20px; }
.btn.cta {
  display: inline-block; background: var(--navy); color: #fff; text-decoration: none;
  padding: 14px 34px; font-size: 16px; border-radius: 999px;
}
.btn.cta:hover { background: var(--navy-soft); }

/* Browse chips */
.chips {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px;
}
.chip {
  border: 1.5px solid var(--line); background: var(--paper); color: var(--navy);
  border-radius: 999px; padding: 11px 18px; font: 600 14px 'Inter'; cursor: pointer;
  min-height: 44px;
}
.chip:hover { background: var(--gold-soft); }
.chip[aria-pressed="true"] {
  background: var(--navy); color: #fff; border-color: var(--navy);
}

/* Shelves */
.shelf { margin: 32px 0; scroll-margin-top: 150px; }
.shelf h2 {
  font-size: 26px; color: var(--navy); margin: 0 0 16px;
  border-bottom: 2px solid var(--gold); display: inline-block; padding-bottom: 6px;
}
.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px;
}
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .15s ease, transform .15s ease;
}
.card:hover { box-shadow: 0 10px 26px rgba(20,25,40,.12); transform: translateY(-2px); }
.card img { width: 100%; aspect-ratio: 1.15; object-fit: contain; background: #fff; }
.card .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .num { font-size: 12px; font-weight: 700; color: #8a6d25; letter-spacing: .4px; }
.card .name { font-size: 13.5px; font-weight: 600; line-height: 1.35; min-height: 36px; }
.card .price { font-size: 17px; font-weight: 700; color: var(--navy); }
.card .actions { margin-top: auto; display: flex; gap: 8px; }
.btn {
  border: 0; border-radius: 10px; padding: 10px 14px; cursor: pointer;
  font: 600 13.5px 'Inter'; min-height: 40px;
}
.btn.primary { background: var(--navy); color: #fff; flex: 1; }
.btn.primary:hover { background: var(--navy-soft); }
.btn.ghost { background: transparent; color: var(--navy); border: 1px solid var(--line); }
.btn.ghost:hover { background: var(--gold-soft); }
.btn.big { width: 100%; padding: 14px; font-size: 15px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.stepper { display: flex; align-items: center; gap: 10px; flex: 1; }
.stepper button {
  width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--paper); font-size: 18px; font-weight: 700; color: var(--navy); cursor: pointer;
}
.stepper span { font-weight: 700; min-width: 18px; text-align: center; }

/* Cart panel (right) */
.scrim { position: fixed; inset: 0; background: rgba(20,25,40,.4); z-index: 45; }
.cart-panel {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 100vw); z-index: 50;
  background: var(--paper); box-shadow: -14px 0 40px rgba(20,25,40,.25);
  display: flex; flex-direction: column; overflow-y: auto;
}
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: var(--paper); z-index: 2;
}
.cart-head h2 { margin: 0; font-size: 22px; color: var(--navy); }
.x { background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--muted); padding: 4px 10px; }
.cart-items { padding: 8px 20px; }
.cart-item {
  display: grid; grid-template-columns: 64px 1fr; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.cart-item img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 8px; border: 1px solid var(--line); }
.cart-item .nm { font-size: 13px; font-weight: 600; }
.cart-item .pr { color: var(--muted); font-size: 13px; margin: 2px 0 6px; }
.cart-item .ops { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.link { background: none; border: 0; padding: 6px 0; color: var(--navy); font: 500 12.5px 'Inter'; text-decoration: underline; cursor: pointer; }
.pad { padding: 16px 20px; }
.muted { color: var(--muted); font-size: 13px; }
.err { color: #b3261e; font-size: 13px; }

.coupon { padding: 10px 20px 2px; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row input { flex: 1; }
.coupon-msg { font: 500 13px 'Inter'; margin: 6px 0 2px; }
.coupon-msg.ok { color: #1e7a38; }
.coupon-msg.err { color: #b3261e; }
.coupon-remove { font-size: 12.5px; margin-top: 6px; }
.totals { padding: 12px 20px; }
.totals .row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 14.5px; }
.totals .row.disc span { color: #1e7a38; }
.totals .row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; font-weight: 700; font-size: 17px; color: var(--navy); }

.checkout { padding: 0 20px 24px; display: flex; flex-direction: column; gap: 10px; }
.checkout h3 { margin: 12px 0 2px; color: var(--navy); font-size: 17px; }
input {
  padding: 12px; border: 1px solid var(--line); border-radius: 10px;
  font: 400 14px 'Inter'; background: #fff; width: 100%; min-height: 44px;
}
input:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
#payFields iframe { border: 1px solid var(--line); border-radius: 10px; background: #fff; width: 100%; height: 45px; display: block; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pac-container { z-index: 60; font-family: 'Inter'; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%);
  background: var(--navy); color: #fff; padding: 12px 22px; border-radius: 999px;
  font: 600 14px 'Inter'; box-shadow: 0 10px 30px rgba(20,25,40,.3);
  z-index: 70; opacity: 0; transition: opacity .2s ease;
}
.toast.show { opacity: 1; }
.cart-open .toast { bottom: 92px; } /* clear the sticky cart footer bar */

.shelf h2 .count { font: 400 15px 'Inter'; color: var(--muted); }

/* Empty cart */
.cart-empty { text-align: center; padding: 52px 24px 44px; }
.cart-empty svg { color: var(--navy); opacity: .5; margin-bottom: 16px; }
.cart-empty h3 { font-size: 21px; font-weight: 500; color: var(--navy); margin: 0 0 22px; }

/* Footer */
.footer { background: var(--navy); color: #e9e4d8; margin-top: 48px; padding: 36px 0 26px; }
.footer h2 { color: #fff; margin-top: 0; }
.footer a { color: var(--gold); }
.fine { color: #9aa3b8; font-size: 12.5px; margin-top: 18px; }

@media (max-width: 640px) {
  .topbar-inner { padding: 8px 12px; gap: 10px; }
  .brand-logo { height: 42px; }
  .menu-btn { padding: 8px 13px; }
  .cart-btn { padding: 9px 14px; }
  .shipslim { font-size: 11.5px; }
  .hero-text h1 { font-size: 25px; line-height: 1.3; margin: 18px 0 8px; }
  .hero-text .hero-sub { font-size: 14px; margin: 0 auto 18px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card .actions { flex-direction: column; }
  .card .actions .btn { width: 100%; }
  .card .name { min-height: 54px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .chip { flex: 0 0 auto; }
}

[hidden]{display:none!important}

/* Free-shipping progress in cart */
.ship-progress { margin: 14px 0 4px; }
.ship-progress .muted { margin: 0 0 6px; }
.ship-progress .track { height: 8px; background: #eee6d4; border-radius: 999px; overflow: hidden; }
.ship-progress .fill { height: 100%; width: 0; background: var(--gold); transition: width .3s ease; }

/* Confirmation details */
.confirm { margin: 12px 0; }
.confirm div { display: grid; grid-template-columns: 110px 1fr; gap: 4px 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.confirm dt { font-weight: 600; color: var(--navy); font-size: 13px; }
.confirm dd { margin: 0; font-size: 14px; }

/* Shipping info section */
.shipinfo { padding: 26px 0 6px; }
.shipinfo .wrap { max-width: 1060px; margin: 0 auto; padding: 0 20px; }
.shipinfo h2 { font-size: 22px; border-bottom: 2px solid var(--gold); display: inline-block; padding-bottom: 4px; margin: 0 0 10px; }
.shipinfo p { max-width: 640px; line-height: 1.55; }

/* ---- Search / sort toolbar ---- */
.toolbar{display:flex;gap:12px;margin:0 0 18px;flex-wrap:wrap}
#searchInput{flex:1;min-width:180px;padding:12px 14px;border:1.5px solid var(--line,#d8cfc0);border-radius:10px;font:inherit;background:#fff}
#sortSelect{padding:12px 14px;border:1.5px solid var(--line,#d8cfc0);border-radius:10px;font:inherit;background:#fff}

/* ---- Card action area: fixed size so cards never shift ---- */
.card .actions{min-height:40px}
.card .actions .btn.primary{white-space:nowrap}
.card .actions .stepper{width:100%;justify-content:center;align-items:center;min-height:40px}

/* ---- Saved for later (inside cart) ---- */
.saved-h{font-size:1rem;margin:18px 14px 8px;color:var(--navy,#1b2a4a)}
#savedBlock{border-top:1px solid var(--line,#d8cfc0);margin-top:16px;padding-bottom:8px}

/* ---- Back to top ---- */
.to-top{position:fixed;right:10px;bottom:18px;width:40px;height:40px;border-radius:50%;border:none;background:var(--navy,#1b2a4a);color:#fff;font-size:1.05rem;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.25);z-index:60;opacity:.92}
.to-top:hover{background:#2a3d68}

/* ---- Anchor offset under sticky header ---- */
.shipinfo,.footer{scroll-margin-top:150px}

@media(max-width:640px){
  .toolbar{gap:8px}
  .card .actions{flex-direction:row}
}

/* ---- Mobile hardening ---- */
html{touch-action:manipulation}
html,body{overflow-x:clip}
.to-top{bottom:calc(100px + env(safe-area-inset-bottom,0px))}

/* ---- Two-step cart / checkout (Nov 2026) ---- */
.cart-scroll { flex: 1; overflow-y: auto; padding-bottom: 20px; }
.cart-open .to-top { display: none !important; }
.cart-foot {
  position: sticky; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 14px;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(20,25,40,.08);
}
.foot-total { display: flex; flex-direction: column; line-height: 1.2; }
.foot-total span { font: 500 11.5px 'Inter'; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.foot-total b { font: 700 19px 'Inter'; color: var(--navy); }
.cart-foot .btn.big { flex: 1; }

/* compact cart items + smaller steppers */
.cart-item { grid-template-columns: 52px 1fr; gap: 10px; padding: 10px 0; }
.cart-item img { width: 52px; height: 52px; }
.cart-item .stepper { gap: 6px; flex: 0 0 auto; }
.cart-item .stepper button { width: 30px; height: 30px; font-size: 15px; border-radius: 7px; }
.cart-item .stepper span { min-width: 16px; font-size: 13.5px; }
.cart-item .ops { gap: 12px; }
.card .stepper { gap: 6px; }
.card .stepper button { width: 32px; height: 32px; font-size: 16px; }

.back-link { margin: 12px 0 0 20px; font-size: 13px; }
.ck-summary { margin: 10px 20px 0; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-size: 13.5px; }
.ck-summary .line { display: flex; justify-content: space-between; padding: 2px 0; }
.ck-summary .line.t { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px; font-weight: 700; color: var(--navy); }
.ck-summary .cnt { color: var(--muted); margin-bottom: 6px; }

/* availability notice */
.avail-note { margin: 10px 20px 0; padding: 10px 12px; background: #fdf6e3; border: 1px solid var(--gold-soft, #e8d9ac); border-radius: 10px; font: 400 12.5px/1.45 'Inter'; color: #6b5b1e; }
.shop-note { max-width: 1060px; margin: 0 auto 14px; padding: 10px 12px; }
.avail-check { align-items: flex-start; background: #fdf6e3; border: 1px solid var(--gold-soft, #e8d9ac); border-radius: 10px; padding: 10px 12px; }
.check-row { display: flex; gap: 10px; align-items: center; font: 400 13px/1.4 'Inter'; cursor: pointer; }
.check-row input { width: auto; min-height: 0; margin-top: 2px; flex: 0 0 auto; }
.avail-check span { color: #6b5b1e; }

/* out-of-stock / limited badges */
.card .stock-badge { display: inline-block; font: 600 11px 'Inter'; padding: 2px 8px; border-radius: 999px; margin-top: 2px; }
.card .stock-badge.oos { background: #fbe4e4; color: #a32c2c; }
.card .stock-badge.ltd { background: #fdf6e3; color: #8a6d1a; }
.btn.oos { background: #b9b2a2; cursor: not-allowed; }
.muted.tiny { font-size: 11.5px; margin-top: 4px; }

/* wallet express buttons */
#walletPay { padding: 4px 20px 0; }
.ap-wrap { min-height: 0; }
.ap-wrap .apple-pay-button, #apContainer button { width: 100%; min-height: 44px; border-radius: 10px; }
.gp-wrap iframe { width: 100%; height: 44px; border: 0; display: block; }
.wallet-or { display: flex; align-items: center; gap: 10px; margin: 12px 0 2px; color: var(--muted); font: 500 12px 'Inter'; }
.wallet-or::before, .wallet-or::after { content: ''; flex: 1; border-top: 1px solid var(--line); }

/* checkout selects match inputs */
.checkout select { padding: 12px; border: 1px solid var(--line); border-radius: 10px; font: 400 14px 'Inter'; background: #fff; width: 100%; min-height: 44px; }
.checkout select:focus { outline: 2px solid var(--gold); border-color: var(--gold); }

/* processing overlay */
.processing {
  position: absolute; inset: 0; z-index: 6; background: rgba(250,247,240,.94);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  text-align: center; font: 600 15px 'Inter'; color: var(--navy);
}
.processing .spin { width: 34px; height: 34px; border: 4px solid var(--line); border-top-color: var(--gold); border-radius: 50%; animation: zbspin 0.9s linear infinite; }
@keyframes zbspin { to { transform: rotate(360deg); } }

/* policy pages */
.policy { max-width: 720px; margin: 0 auto; padding: 34px 20px 10px; }
/* iOS Safari auto-zooms the page when a focused field is under 16px - keep fields at 16px on phones */
@media (max-width: 600px) {
  input, select, textarea { font-size: 16px; }
}
@media (max-width: 340px) {
  .brand-logo { height: 36px; }
}

.policy h1 { font-size: 26px; color: var(--navy); border-bottom: 2px solid var(--gold); display: inline-block; padding-bottom: 4px; margin-bottom: 16px; }
.policy p { line-height: 1.6; margin: 12px 0; max-width: 640px; }
.policy a { color: var(--navy); }
.footer .policies { margin: 14px 0 4px; font-size: 14px; }
.footer .policies a { color: var(--gold); text-decoration: none; }

/* return policy microcopy */
.final-note { display:block; font-size:11px; line-height:1.35; color:#8d8776; margin-top:6px; }
.final-note a { color:var(--navy-soft); text-decoration:underline; }
.final-note::before { content:""; display:inline-block; width:11px; height:11px; margin-right:4px; vertical-align:-1px; background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><circle cx='8' cy='8' r='6.75' fill='none' stroke='%238d8776' stroke-width='1.5'/><circle cx='8' cy='4.9' r='1.15' fill='%238d8776'/><rect x='7.15' y='7.1' width='1.7' height='5' rx='0.85' fill='%238d8776'/></svg>") no-repeat center/contain; }
.final-sale-note::before { content:""; display:inline-block; width:12px; height:12px; margin-right:4px; vertical-align:-1.5px; background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><circle cx='8' cy='8' r='6.75' fill='none' stroke='%236b6557' stroke-width='1.5'/><circle cx='8' cy='4.9' r='1.15' fill='%236b6557'/><rect x='7.15' y='7.1' width='1.7' height='5' rx='0.85' fill='%236b6557'/></svg>") no-repeat center/contain; }

.final-sale-note { font-size:12px; line-height:1.4; color:#6b6557; margin:0 0 8px; text-align:center; }
.final-sale-note a { color:var(--navy); text-decoration:underline; }
.policy-sub { font-size:18px; color:var(--navy); margin:18px 0 4px; }

/* Model label + product detail overlay */
.model-label { display: inline-block; width: fit-content; font-size: 10.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--navy); background: var(--gold-soft); border: 1px solid var(--gold); border-radius: 999px; padding: 2px 8px; }
.card img.has-detail, .card .name.has-detail { cursor: pointer; }
.pdp-overlay { position: fixed; inset: 0; background: rgba(20,25,40,.45); z-index: 60; overflow-y: auto; padding: 24px 14px; display: flex; justify-content: center; align-items: flex-start; }
.pdp { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); max-width: 560px; width: 100%; position: relative; padding: 16px; }
.pdp-close { position: absolute; top: 6px; right: 6px; z-index: 1; }
.pdp-img { width: 100%; max-height: 300px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.pdp-body { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; }
.pdp-name { font-size: 17px; margin: 0; color: var(--navy); line-height: 1.35; }
.pdp-blurb { font-size: 14px; line-height: 1.5; margin: 0; }
.cmp-title { font-family: 'Frank Ruhl Libre', Georgia, serif; font-size: 16px; color: var(--navy); margin: 8px 0 0; }
.cmp { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 12.5px; background: #fff; }
.cmp th, .cmp td { border: 1px solid var(--line); padding: 7px 8px; text-align: left; vertical-align: top; overflow-wrap: break-word; }
.cmp th { background: var(--gold-soft); color: var(--navy); }
.cmp td:first-child, .cmp th:first-child { width: 27%; font-weight: 600; color: var(--muted); font-size: 11.5px; padding-left: 6px; padding-right: 6px; }
.cmp .cur { background: #fbf3dd; }
.cmp .link { padding: 0; font-size: 12px; }
.pdp-add { margin-top: 4px; }
@media (max-width: 480px) {
  .pdp-overlay { padding: 12px 8px; }
  .pdp { padding: 12px; }
  .cmp { font-size: 11.5px; }
  .cmp th, .cmp td { padding: 6px 5px; }
}

/* Style picker (No. 117 variant selector) */
.style-pick { margin: 6px 0 2px; }
.style-pick-label { display: block; font-size: 12px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.style-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.style-opt { border: 1.5px solid var(--line); background: #fff; color: var(--navy); border-radius: 999px; padding: 5px 10px; font-size: 11.5px; font-weight: 600; cursor: pointer; font-family: inherit; }
.style-opt.sel { border-color: var(--navy); background: var(--gold-soft); }
.style-pick.need .style-opts { outline: 2px solid #c0392b; outline-offset: 3px; border-radius: 8px; }
.style-line { font-size: 12.5px; font-weight: 600; color: var(--navy); margin: 2px 0; }
.pdp-pick { margin: 10px 0; }
