/* ============================================================
   crusade1177 — solemn / sacred / candlelit cathedral
   ============================================================ */

:root {
  /* Stone (warm near-black) */
  --stone-950: #110e09;
  --stone-900: #17130d;
  --stone-850: #1e1810;
  --stone-800: #261f15;
  --stone-700: #322817;

  /* Parchment */
  --parchment: #ece1ca;
  --parchment-soft: #e2d6bb;
  --parchment-dim: #c3b696;

  /* Gold */
  --gold: #c4a24e;
  --gold-bright: #e3c87c;
  --gold-deep: #8c6f2e;

  /* Crimson */
  --crimson: #7c2026;
  --crimson-bright: #a02e34;
  --crimson-deep: #571418;

  /* Ink (text) */
  --ink: #efe6d4;
  --ink-dim: #b6a988;
  --ink-faint: #7d7259;

  /* Hairlines */
  --line: rgba(196, 162, 78, 0.22);
  --line-soft: rgba(196, 162, 78, 0.12);

  --serif: 'Cormorant Garamond', Georgia, serif;
  --body: 'EB Garamond', Georgia, serif;

  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background-color: var(--stone-950);
  color: var(--ink);
  font-size: 19px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Candlelit ambient background */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1100px 700px at 50% -8%, rgba(196,162,78,0.10), transparent 60%),
    radial-gradient(900px 900px at 88% 18%, rgba(124,32,38,0.10), transparent 55%),
    radial-gradient(700px 700px at 8% 88%, rgba(196,162,78,0.05), transparent 60%);
}
.ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.025;
  mix-blend-mode: overlay;
}

#root { position: relative; z-index: 1; }

/* ---------- typography helpers ---------- */
.eyebrow {
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.42em;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  display: inline-block;
}
.display {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0.01em;
  color: var(--parchment);
}
.serif { font-family: var(--serif); }

/* gold rule with center diamond */
.rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--gold);
}
.rule .seg { height: 1px; width: 64px; background: linear-gradient(90deg, transparent, var(--gold)); }
.rule .seg.r { background: linear-gradient(90deg, var(--gold), transparent); }
.rule .dia { width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
section { position: relative; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(17,14,9,0.92), rgba(17,14,9,0.72));
  border-bottom: 1px solid var(--line-soft);
}
.topbar-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
}
.brand { display: flex; align-items: center; gap: 13px; cursor: pointer; text-decoration: none; }
.brand .name {
  font-family: var(--serif);
  font-size: 25px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--parchment);
  line-height: 1;
}
.brand .name b { color: var(--gold); font-weight: 600; }
.brand .tag {
  font-size: 10px; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--ink-faint); margin-top: 4px;
}
.topnav { display: flex; align-items: center; gap: 34px; }
.topnav a {
  color: var(--ink-dim); text-decoration: none; font-size: 14px;
  letter-spacing: 0.16em; text-transform: uppercase; transition: color 0.25s;
}
.topnav a:hover { color: var(--gold-bright); }

.cart-btn {
  position: relative; display: flex; align-items: center; gap: 9px;
  background: none; border: 1px solid var(--line); color: var(--parchment);
  padding: 9px 17px; cursor: pointer; font-family: var(--body);
  font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
  transition: all 0.25s var(--ease);
}
.cart-btn:hover { border-color: var(--gold); background: rgba(196,162,78,0.07); }
.cart-count {
  min-width: 21px; height: 21px; padding: 0 5px;
  background: var(--crimson); color: var(--parchment);
  border-radius: 999px; font-size: 12px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
  letter-spacing: 0;
}

/* crusader cross mark */
.cross-mark { color: var(--gold); flex: none; }

/* ---------- verse banner ---------- */
.verse {
  text-align: center; padding: 14px 32px;
  background: linear-gradient(90deg, var(--crimson-deep), var(--crimson), var(--crimson-deep));
  border-bottom: 1px solid rgba(0,0,0,0.3);
  color: var(--parchment);
}
.verse p {
  font-family: var(--serif); font-style: italic; font-size: 19px;
  letter-spacing: 0.02em; color: #f3e6cf;
}
.verse .ref { font-style: normal; font-size: 12px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold-bright); margin-left: 10px; opacity: 0.9; }

/* ---------- hero ---------- */
.hero { padding: 86px 0 70px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 26px; }
.hero-copy h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(52px, 6vw, 88px); line-height: 0.98;
  color: var(--parchment); letter-spacing: 0.005em;
  margin-bottom: 8px;
}
.hero-copy h1 .leper { display: block; color: var(--gold); font-style: italic; font-weight: 500; }
.hero-copy .sub {
  font-size: 21px; color: var(--ink-dim); max-width: 30em;
  margin: 26px 0 36px; line-height: 1.6;
}
.hero-meta { display: flex; align-items: baseline; gap: 22px; margin-bottom: 34px; }
.hero-price { font-family: var(--serif); font-size: 40px; color: var(--parchment); }
.hero-price small { font-size: 16px; color: var(--ink-faint); letter-spacing: 0.2em; text-transform: uppercase; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* hero image */
.hero-figure { position: relative; }
.hero-figure .frame {
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.8), inset 0 0 120px rgba(0,0,0,0.5);
}
.hero-figure img { width: 100%; height: 620px; object-fit: cover; display: block;
  filter: saturate(0.9) contrast(1.04); }
.hero-figure .vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 100% at 50% 40%, transparent 40%, rgba(17,14,9,0.55));
  box-shadow: inset 0 0 60px rgba(196,162,78,0.08);
}
.hero-figure .corner { position: absolute; width: 26px; height: 26px; border: 1px solid var(--gold); opacity: 0.7; }
.hero-figure .corner.tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.hero-figure .corner.tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.hero-figure .corner.bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.hero-figure .corner.br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
.hero-figure .plate {
  position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%);
  background: var(--stone-900); border: 1px solid var(--line);
  padding: 9px 22px; font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); white-space: nowrap;
}

/* ---------- buttons ---------- */
.btn {
  font-family: var(--body); cursor: pointer; border: none;
  font-size: 14px; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 16px 34px; transition: all 0.25s var(--ease);
  display: inline-flex; align-items: center; gap: 11px;
}
.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #2a1f08; font-weight: 600;
  box-shadow: 0 10px 30px -12px rgba(196,162,78,0.7);
}
.btn-gold:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--parchment); border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn-crimson {
  background: linear-gradient(180deg, var(--crimson-bright), var(--crimson));
  color: var(--parchment); font-weight: 600;
  box-shadow: 0 10px 30px -12px rgba(124,32,38,0.8);
}
.btn-crimson:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; filter: none; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- section heading ---------- */
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head .eyebrow { margin-bottom: 18px; }
.sec-head h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(38px, 4.4vw, 58px); color: var(--parchment); line-height: 1.04;
}
.sec-head .rule { margin-top: 22px; }

/* ---------- products ---------- */
.products { padding: 92px 0; border-top: 1px solid var(--line-soft); }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.product-card {
  background: linear-gradient(180deg, var(--stone-850), var(--stone-900));
  border: 1px solid var(--line-soft);
  display: flex; flex-direction: column;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.product-card:hover { border-color: var(--line); transform: translateY(-4px); }
.product-card .pimg { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.product-card .pimg img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.7s var(--ease); filter: saturate(0.92) contrast(1.03);
}
.product-card:hover .pimg img { transform: scale(1.04); }
.product-card .badge {
  position: absolute; top: 16px; left: 16px;
  background: rgba(17,14,9,0.82); border: 1px solid var(--line);
  color: var(--gold); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  padding: 7px 13px; backdrop-filter: blur(4px);
}
.product-card .pbody { padding: 30px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { font-family: var(--serif); font-size: 32px; font-weight: 500; color: var(--parchment); line-height: 1.05; }
.product-card .pdesc { color: var(--ink-dim); font-size: 17px; margin: 12px 0 22px; flex: 1; }
.product-card .incl { list-style: none; margin-bottom: 24px; display: flex; flex-direction: column; gap: 9px; }
.product-card .incl li { display: flex; gap: 11px; align-items: center; color: var(--parchment); font-size: 16px; }
.product-card .incl li .ck { color: var(--gold); flex: none; }
.product-foot { display: flex; flex-direction: column; gap: 16px; }
.product-foot .price-line { display: flex; align-items: baseline; justify-content: space-between; }
.product-foot .price { font-family: var(--serif); font-size: 34px; color: var(--parchment); }
.product-foot .price small { font-size: 14px; color: var(--ink-faint); letter-spacing: 0.16em; }
.product-actions { display: flex; gap: 10px; }
.product-actions .btn { flex: 1; justify-content: center; padding: 14px 18px; }

/* ============================================================
   PRODUCT DETAIL PAGE (product.html)
   ============================================================ */
.pdp { padding: 46px 0 84px; }
.breadcrumb { display: flex; gap: 9px; align-items: center; font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-faint); margin-bottom: 36px; flex-wrap: wrap; }
.breadcrumb a, .breadcrumb .cur, .breadcrumb .sep { white-space: nowrap; }
.breadcrumb a { color: var(--ink-dim); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold-bright); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .cur { color: var(--gold); }

.pdp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: start; }

.gallery .main { position: relative; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 40px 90px -34px rgba(0,0,0,0.8); }
.gallery .main img { width: 100%; height: 600px; object-fit: cover; display: block;
  filter: saturate(0.92) contrast(1.04); }
.gallery .main .vignette { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 100% at 50% 40%, transparent 45%, rgba(17,14,9,0.5)); }
.gallery .main .corner { position: absolute; width: 24px; height: 24px; border: 1px solid var(--gold); opacity: 0.7; }
.gallery .main .corner.tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.gallery .main .corner.br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
.gallery .thumbs { display: flex; gap: 12px; margin-top: 14px; }
.gallery .thumbs button { width: 92px; height: 92px; border: 1px solid var(--line-soft); padding: 0;
  overflow: hidden; cursor: pointer; background: none; opacity: 0.55; transition: opacity 0.2s, border-color 0.2s; }
.gallery .thumbs button:hover { opacity: 0.85; }
.gallery .thumbs button.active { opacity: 1; border-color: var(--gold); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pdp-info .eyebrow { margin-bottom: 18px; }
.pdp-info h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 4.6vw, 62px);
  line-height: 1.0; color: var(--parchment); letter-spacing: 0.005em; }
.pdp-rating { display: flex; align-items: center; gap: 11px; margin: 16px 0 6px; }
.pdp-rating .stars { display: flex; gap: 3px; color: var(--gold); }
.pdp-rating .rc { font-size: 14px; color: var(--ink-dim); letter-spacing: 0.04em; }
.pdp-price { font-family: var(--serif); font-size: 40px; color: var(--parchment); margin: 18px 0 8px; }
.pdp-price small { font-size: 15px; color: var(--ink-faint); letter-spacing: 0.2em; text-transform: uppercase; }

/* variant selector */
.variant-select { display: flex; gap: 12px; margin: 22px 0 8px; }
.variant-opt { flex: 1; text-align: left; border: 1px solid var(--line-soft); background: var(--stone-900);
  padding: 14px 16px; cursor: pointer; transition: border-color 0.2s, background 0.2s; position: relative; }
.variant-opt:hover { border-color: var(--line); }
.variant-opt.active { border-color: var(--gold); background: rgba(196,162,78,0.07); }
.variant-opt .vchk { position: absolute; top: 12px; right: 12px; color: var(--gold); opacity: 0; transition: opacity 0.2s; }
.variant-opt.active .vchk { opacity: 1; }
.variant-opt .vn { font-family: var(--serif); font-size: 19px; color: var(--parchment); line-height: 1.1; display: block; padding-right: 22px; }
.variant-opt .vp { font-family: var(--serif); font-size: 17px; color: var(--gold-bright); margin-top: 5px; display: block; }

/* cross-sell CTA */
.cross-sell { display: flex; align-items: center; gap: 16px; border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, var(--stone-850), var(--stone-900)); padding: 16px 18px; margin-top: 24px; }
.cross-sell .cs-img { width: 60px; height: 60px; flex: none; border: 1px solid var(--line-soft); overflow: hidden; }
.cross-sell .cs-img img { width: 100%; height: 100%; object-fit: cover; }
.cross-sell .cs-txt { flex: 1; min-width: 0; }
.cross-sell .cs-lbl { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 3px; }
.cross-sell .cs-nm { font-family: var(--serif); font-size: 19px; color: var(--parchment); line-height: 1.1; }
.cross-sell .cs-nm b { color: var(--gold-bright); font-weight: 500; }
.cross-sell .cs-go { background: none; border: 1px solid var(--line); color: var(--parchment); cursor: pointer;
  font-family: var(--body); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; padding: 12px 18px;
  transition: all 0.2s var(--ease); white-space: nowrap; flex: none; display: flex; align-items: center; gap: 8px; }
.cross-sell .cs-go:hover { border-color: var(--gold); color: var(--gold-bright); background: rgba(196,162,78,0.06); }
.pdp-desc { font-size: 19px; color: var(--ink-dim); line-height: 1.65; margin: 16px 0 26px; }
.pdp-incl { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 30px;
  padding: 24px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.pdp-incl li { display: flex; gap: 12px; align-items: center; color: var(--parchment); font-size: 17px; }
.pdp-incl li .ck { color: var(--gold); flex: none; }

.buy-row { display: flex; gap: 14px; align-items: stretch; margin-bottom: 26px; }
.qty.lg { border: 1px solid var(--line); }
.qty.lg button { width: 48px; height: 100%; font-size: 22px; }
.qty.lg span { min-width: 42px; font-size: 19px; }
.buy-row .btn { flex: 1; padding: 18px; font-size: 15px; }

.pdp-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; margin-top: 6px; }
.pdp-trust .t { display: flex; gap: 11px; align-items: center; color: var(--ink-dim); font-size: 14.5px; line-height: 1.35; }
.pdp-trust .t .ic { color: var(--gold); flex: none; }

.pdp-specs { margin-top: 30px; }
.pdp-specs dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-soft);
  border: 1px solid var(--line-soft); }
.pdp-specs dl > div { background: var(--stone-900); padding: 16px 18px; }
.pdp-specs dt { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 4px; }
.pdp-specs dd { font-family: var(--serif); font-size: 20px; color: var(--parchment); }

.pdp-story { font-size: 18px; color: var(--ink-dim); line-height: 1.7; margin-top: 28px; }

@media (max-width: 960px) {
  .pdp-grid { grid-template-columns: 1fr; gap: 36px; }
  .gallery .main img { height: 460px; }
}
@media (max-width: 560px) {
  .product-actions { flex-direction: column; }
  .buy-row { flex-wrap: wrap; }
  .pdp-trust { grid-template-columns: 1fr; }
  .variant-select { flex-direction: column; }
  .cross-sell { flex-wrap: wrap; }
  .cross-sell .cs-go { width: 100%; justify-content: center; }
}

/* ---------- about ---------- */
.about { padding: 96px 0; border-top: 1px solid var(--line-soft); }
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: center; }
.about-figure { position: relative; }
.about-figure img {
  width: 100%; height: 560px; object-fit: cover; display: block;
  border: 1px solid var(--line); filter: saturate(0.9) contrast(1.05) brightness(0.95);
}
.about-figure .cap {
  position: absolute; bottom: 18px; left: 18px; right: 18px;
  font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-bright);
  background: linear-gradient(0deg, rgba(17,14,9,0.85), transparent); padding: 22px 16px 8px;
}
.about-copy h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(38px,4.2vw,56px);
  color: var(--parchment); line-height: 1.05; margin: 16px 0 8px; }
.about-copy .lead { font-family: var(--serif); font-style: italic; font-size: 24px;
  color: var(--gold-bright); margin: 18px 0; line-height: 1.4; }
.about-copy p { color: var(--ink-dim); margin-bottom: 18px; }
.about-copy p .em { color: var(--parchment); }
.about-spec { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 30px;
  background: var(--line-soft); border: 1px solid var(--line-soft); }
.about-spec div { background: var(--stone-900); padding: 18px 20px; }
.about-spec dt { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 5px; }
.about-spec dd { font-family: var(--serif); font-size: 22px; color: var(--parchment); }

/* ---------- trust ---------- */
.trust { padding: 64px 0; border-top: 1px solid var(--line-soft); background: var(--stone-900); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.trust-item { text-align: center; padding: 0 14px; }
.trust-item .ic { color: var(--gold); margin: 0 auto 16px; display: block; }
.trust-item h4 { font-family: var(--serif); font-size: 22px; color: var(--parchment); margin-bottom: 6px; font-weight: 500; }
.trust-item p { font-size: 15px; color: var(--ink-dim); line-height: 1.5; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 64px 0 40px; background: var(--stone-950); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }
.foot .brand-blk .name { font-family: var(--serif); font-size: 28px; color: var(--parchment); margin: 14px 0 12px; }
.foot .brand-blk p { font-size: 15px; color: var(--ink-dim); max-width: 30em; }
.foot h5 { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.foot ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.foot ul a, .foot ul span { color: var(--ink-dim); text-decoration: none; font-size: 15px; cursor: pointer; transition: color 0.2s; }
.foot ul a:hover, .foot ul span:hover { color: var(--gold-bright); }
.foot-base { border-top: 1px solid var(--line-soft); padding-top: 26px; display: flex;
  justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.foot-base p { font-size: 13px; color: var(--ink-faint); letter-spacing: 0.04em; }

/* ============================================================
   CART DRAWER
   ============================================================ */
.scrim {
  position: fixed; inset: 0; z-index: 90; background: rgba(8,6,3,0.66);
  backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity 0.35s;
}
.scrim.show { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  width: min(460px, 100vw);
  background: var(--stone-900); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform 0.42s var(--ease);
  display: flex; flex-direction: column;
  box-shadow: -30px 0 80px -20px rgba(0,0,0,0.7);
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 28px; border-bottom: 1px solid var(--line-soft);
}
.drawer-head h3 { font-family: var(--serif); font-size: 26px; color: var(--parchment); font-weight: 500;
  display: flex; align-items: center; gap: 12px; }
.icon-btn { background: none; border: none; color: var(--ink-dim); cursor: pointer; padding: 6px;
  transition: color 0.2s; display: flex; }
.icon-btn:hover { color: var(--gold-bright); }
.drawer-body { flex: 1; overflow-y: auto; padding: 10px 28px; }
.drawer-body::-webkit-scrollbar { width: 7px; }
.drawer-body::-webkit-scrollbar-thumb { background: var(--line); }

.empty-cart { text-align: center; padding: 70px 20px; color: var(--ink-dim); }
.empty-cart .cross-mark { opacity: 0.4; margin-bottom: 20px; }
.empty-cart p { font-family: var(--serif); font-size: 22px; font-style: italic; }

.line-item { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.line-item .li-img { width: 78px; height: 78px; flex: none; overflow: hidden; border: 1px solid var(--line-soft); }
.line-item .li-img img { width: 100%; height: 100%; object-fit: cover; }
.line-item .li-info { flex: 1; min-width: 0; }
.line-item .li-info h4 { font-family: var(--serif); font-size: 21px; color: var(--parchment); font-weight: 500; line-height: 1.1; }
.line-item .li-info .li-sub { font-size: 13px; color: var(--ink-faint); letter-spacing: 0.04em; margin-top: 2px; }
.li-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); }
.qty button { background: none; border: none; color: var(--parchment); width: 30px; height: 30px;
  cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.qty button:hover { background: rgba(196,162,78,0.1); color: var(--gold-bright); }
.qty span { min-width: 34px; text-align: center; font-size: 16px; color: var(--parchment); }
.li-price { font-family: var(--serif); font-size: 22px; color: var(--parchment); }
.li-remove { background: none; border: none; color: var(--ink-faint); cursor: pointer; font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase; transition: color 0.2s; margin-top: 8px; }
.li-remove:hover { color: var(--crimson-bright); }

.drawer-foot { border-top: 1px solid var(--line); padding: 24px 28px; background: var(--stone-850); }
.tot-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.tot-row .lbl { color: var(--ink-dim); font-size: 15px; letter-spacing: 0.04em; }
.tot-row .val { font-family: var(--serif); font-size: 20px; color: var(--parchment); }
.tot-row.grand { margin: 14px 0 20px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.tot-row.grand .lbl { color: var(--parchment); text-transform: uppercase; letter-spacing: 0.2em; font-size: 14px; }
.tot-row.grand .val { font-size: 30px; color: var(--gold-bright); }
.ship-note { font-size: 13px; color: var(--ink-faint); text-align: center; margin-top: 14px; letter-spacing: 0.04em; }

/* ============================================================
   CHECKOUT MODAL  —  clean / standard / trustworthy
   ============================================================ */
:root {
  --co-ink: #1a1f36;        /* primary text */
  --co-sub: #4f566b;        /* secondary text */
  --co-mute: #8792a2;       /* placeholder / muted */
  --co-line: #e3e8ee;       /* borders */
  --co-line-2: #d5dbe3;
  --co-bg: #ffffff;
  --co-panel: #f7f8fa;      /* order summary panel */
  --co-focus: #4f7df9;      /* focus blue */
  --co-green: #1ba672;      /* valid / secure green */
  --co-btn: #0b1f3a;        /* pay button */
  --co-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.modal-scrim {
  position: fixed; inset: 0; z-index: 110; background: rgba(10,12,20,0.55);
  backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.modal-scrim.show { opacity: 1; pointer-events: auto; }
.modal {
  width: min(900px, 100%); max-height: 92vh; overflow: hidden;
  background: var(--co-bg); border: none; border-radius: 16px;
  display: grid; grid-template-columns: 1.12fr 0.88fr;
  transform: translateY(14px) scale(0.985); transition: transform 0.35s var(--ease);
  box-shadow: 0 40px 100px -20px rgba(10,15,40,0.45);
  font-family: var(--co-sans); color: var(--co-ink);
}
.modal-scrim.show .modal { transform: translateY(0) scale(1); }

.checkout-form { padding: 32px 34px 28px; overflow-y: auto; max-height: 92vh; }
.checkout-form::-webkit-scrollbar { width: 8px; }
.checkout-form::-webkit-scrollbar-thumb { background: var(--co-line-2); border-radius: 8px; }

.checkout-head { display: flex; align-items: center; justify-content: space-between; }
.checkout-head .ttl { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; color: var(--co-ink); }
.checkout-head .ttl .lk { color: var(--co-green); display: flex; }
.checkout-head .icon-btn { color: var(--co-mute); }
.checkout-head .icon-btn:hover { color: var(--co-ink); }

/* trust strip under header */
.trust-strip { display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin: 16px 0 22px; padding: 11px 14px; background: #f3f8f5; border: 1px solid #d6ecdf;
  border-radius: 10px; }
.trust-strip .ts { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: #1f7a55; font-weight: 500; }
.trust-strip .ts .ck { color: var(--co-green); flex: none; }

.co-section-label { font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
  text-transform: uppercase; color: var(--co-sub); margin: 22px 0 12px; display: flex;
  align-items: center; gap: 8px; }
.co-section-label:first-of-type { margin-top: 6px; }
.co-section-label .num { width: 19px; height: 19px; border-radius: 50%; background: var(--co-ink);
  color: #fff; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }

.field-group { margin-bottom: 13px; position: relative; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-row-3 { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; }
label.fl { display: block; font-size: 13px; font-weight: 500; letter-spacing: 0;
  text-transform: none; color: var(--co-sub); margin-bottom: 6px; }
.inp {
  width: 100%; background: #fff; border: 1px solid var(--co-line-2);
  color: var(--co-ink); font-family: var(--co-sans); font-size: 15px;
  padding: 11px 38px 11px 13px; border-radius: 9px; transition: border-color 0.15s, box-shadow 0.15s; outline: none;
}
.inp:focus { border-color: var(--co-focus); box-shadow: 0 0 0 3px rgba(79,125,249,0.15); }
.inp.err { border-color: #e25950; }
.inp.err:focus { box-shadow: 0 0 0 3px rgba(226,89,80,0.15); }
.inp::placeholder { color: var(--co-mute); }
.err-msg { color: #d8413a; font-size: 12.5px; margin-top: 5px; }
/* green valid check inside field */
.valid-ck { position: absolute; right: 12px; top: 35px; color: var(--co-green); pointer-events: none;
  opacity: 0; transform: scale(0.6); transition: opacity 0.2s, transform 0.2s; }
.valid-ck.show { opacity: 1; transform: scale(1); }

.card-field .brand-ic { position: absolute; right: 11px; top: 31px;
  display: flex; gap: 5px; align-items: center; }

.secure-tag { display: flex; align-items: center; gap: 7px; color: var(--co-sub);
  font-size: 12.5px; margin: 6px 0 16px; }
.secure-tag .lock { color: var(--co-green); display: flex; }

.pay-btn {
  width: 100%; margin-top: 18px; background: var(--co-btn); color: #fff;
  border: none; border-radius: 10px; padding: 15px; font-family: var(--co-sans);
  font-size: 16px; font-weight: 600; cursor: pointer; display: flex; align-items: center;
  justify-content: center; gap: 9px; transition: background 0.2s, transform 0.1s;
}
.pay-btn:hover { background: #13325c; }
.pay-btn:active { transform: translateY(1px); }
.pay-btn:disabled { opacity: 0.65; cursor: not-allowed; }
.pay-btn .spin { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.co-foot { margin-top: 18px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cards-row { display: flex; gap: 7px; align-items: center; }
.powered { font-size: 12px; color: var(--co-mute); display: flex; align-items: center; gap: 6px; }
.powered b { color: #635bff; font-weight: 700; letter-spacing: -0.01em; }
.guarantee { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--co-sub); }
.guarantee .ck { color: var(--co-green); }

/* order summary side */
.order-side {
  background: var(--co-panel); border-left: 1px solid var(--co-line);
  padding: 32px 30px; overflow-y: auto; max-height: 92vh; font-family: var(--co-sans);
}
.order-side h4 { font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 600;
  color: var(--co-ink); margin-bottom: 18px; }
.os-item { display: flex; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--co-line); align-items: center; }
.os-item .os-img { width: 54px; height: 54px; flex: none; border: 1px solid var(--co-line);
  border-radius: 8px; overflow: hidden; position: relative; background: #fff; }
.os-item .os-img img { width: 100%; height: 100%; object-fit: cover; }
.os-item .os-img .qb { position: absolute; top: -8px; right: -8px; width: 21px; height: 21px;
  background: var(--co-ink); color: #fff; border-radius: 50%; font-size: 11px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; border: 2px solid var(--co-panel); }
.os-item .os-nm { flex: 1; font-family: var(--co-sans); font-size: 14px; font-weight: 500; color: var(--co-ink); line-height: 1.25; }
.os-item .os-pr { font-family: var(--co-sans); font-size: 14px; font-weight: 600; color: var(--co-ink); }
.os-tot { margin-top: 18px; }
.os-tot .tot-row { display: flex; justify-content: space-between; margin-bottom: 8px; }
.os-tot .tot-row .lbl { color: var(--co-sub); font-size: 14px; letter-spacing: 0; }
.os-tot .tot-row .val { font-family: var(--co-sans); font-size: 14px; font-weight: 500; color: var(--co-ink); }
.os-tot .tot-row.grand { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--co-line); }
.os-tot .tot-row.grand .lbl { color: var(--co-ink); font-weight: 600; font-size: 16px; text-transform: none; letter-spacing: 0; }
.os-tot .tot-row.grand .val { color: var(--co-ink); font-size: 20px; font-weight: 700; }
.os-trust { margin-top: 22px; display: flex; flex-direction: column; gap: 11px; }
.os-trust .ot { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; color: var(--co-sub); line-height: 1.4; }
.os-trust .ot .ic { color: var(--co-green); flex: none; margin-top: 1px; }

/* card brand chips */
.card-chip { width: 32px; height: 21px; border-radius: 4px; display: flex; align-items: center;
  justify-content: center; font-family: var(--co-sans); font-weight: 700; font-size: 9px;
  letter-spacing: -0.02em; color: #fff; flex: none; }
.card-chip.visa { background: #1a1f71; }
.card-chip.mc { background: #fff; border: 1px solid var(--co-line-2); position: relative; }
.card-chip.amex { background: #1f72cd; font-size: 7px; }
.mc-dots { display: flex; }
.mc-dots i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.mc-dots i:first-child { background: #eb001b; }
.mc-dots i:last-child { background: #f79e1b; margin-left: -6px; mix-blend-mode: multiply; }

/* confirmation — clean */
.confirm { padding: 60px 50px; text-align: center; grid-column: 1 / -1; font-family: var(--co-sans); }
.confirm .seal {
  width: 78px; height: 78px; margin: 0 auto 24px; border-radius: 50%;
  background: #eafaf2; display: flex; align-items: center; justify-content: center;
  color: var(--co-green); animation: sealIn 0.5s var(--ease);
}
@keyframes sealIn { from { transform: scale(0.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.confirm h3 { font-family: var(--co-sans); font-size: 27px; font-weight: 700; color: var(--co-ink); margin-bottom: 12px; }
.confirm p { color: var(--co-sub); font-size: 15px; max-width: 38em; margin: 0 auto 8px; line-height: 1.6; }
.confirm .order-no { font-family: var(--co-sans); font-size: 15px; font-weight: 600; color: var(--co-ink);
  margin: 20px auto 26px; letter-spacing: 0; background: var(--co-panel); border: 1px solid var(--co-line);
  border-radius: 10px; padding: 12px 20px; display: inline-block; }
.confirm .done-btn { background: var(--co-btn); color: #fff; border: none; border-radius: 10px;
  padding: 13px 30px; font-family: var(--co-sans); font-size: 15px; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.confirm .done-btn:hover { background: #13325c; }

/* fade-up on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  body { font-size: 18px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-figure img { height: 460px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-figure img { height: 420px; }
  .product-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .testi-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 34px; }
  .modal { grid-template-columns: 1fr; max-height: 94vh; overflow-y: auto; }
  .order-side { border-left: none; border-top: 1px solid var(--line-soft); }
  .topnav { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .topbar-inner { padding: 14px 20px; }
  .field-row, .field-row-3 { grid-template-columns: 1fr; }
  .hero { padding: 54px 0 50px; }
  .brand .tag { display: none; }
}
