/* SPARKDEZ — Architectural Ritual & Studio Objects Design System */
:root {
  --stone-50: #f7f4ee;
  --stone-100: #efeae0;
  --stone-200: #e2dacd;
  --stone-300: #cec3b2;
  --obsidian: #110f0d;
  --obsidian-soft: #1c1916;
  --obsidian-card: #181512;
  --ink: #161310;
  --ink-muted: #665e55;
  --ink-light: #e9e3d8;
  --ink-light-muted: #9e9488;
  --brass: #c29d5e;
  --brass-dim: #9c7b42;
  --sage: #2b5c46;
  --hairline: rgba(22, 19, 16, 0.11);
  --hairline-dark: rgba(247, 244, 238, 0.13);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--stone-50);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* Subtle Top Ribbon */
.ribbon {
  background: var(--obsidian);
  color: var(--ink-light-muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--hairline-dark);
}
.ribbon strong { color: var(--brass); font-weight: 500; }

/* Architectural Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(17, 15, 13, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--hairline-dark);
  color: var(--ink-light);
}
.nav-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.nav-menu {
  display: flex;
  gap: 32px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-light-muted);
}
.nav-menu a { transition: color 0.2s; }
.nav-menu a:hover { color: #fff; }
.brand-logo {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  color: #f7f4ee;
  text-align: center;
}
.nav-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 22px;
}
.nav-email {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ink-light-muted);
  transition: color 0.2s;
}
.nav-email:hover { color: #fff; }
.nav-bag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border: 1px solid rgba(247, 244, 238, 0.25);
  background: transparent;
  color: #f7f4ee;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}
.nav-bag:hover { border-color: var(--brass); color: var(--brass); }
.bag-badge {
  background: var(--brass);
  color: var(--obsidian);
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  padding: 0 5px;
}
@media (max-width: 960px) {
  .nav-wrap { padding: 14px 20px; grid-template-columns: auto 1fr; }
  .nav-menu, .nav-email { display: none; }
  .brand-logo { text-align: left; font-size: 22px; letter-spacing: 0.24em; text-indent: 0; }
}

/* Dark Luxury Gallery Hero (Full-Bleed Obsidian + Live 3D Showcase) */
.hero-dark {
  background: radial-gradient(ellipse at 72% 42%, #2a231c 0%, var(--obsidian) 66%);
  color: var(--ink-light);
  border-bottom: 1px solid var(--hairline-dark);
}
.hero-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 68px 40px 84px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; padding: 44px 20px 56px; gap: 36px; }
}
.kicker {
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--brass);
}
.hero-dark h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 5.4vw, 76px);
  font-weight: 400;
  line-height: 1.01;
  letter-spacing: -0.015em;
  color: #faf7f2;
  margin-bottom: 26px;
}
.hero-dark h1 em {
  font-style: italic;
  color: var(--brass);
  font-weight: 400;
}
.hero-lead {
  font-size: 15px;
  font-weight: 300;
  color: #b7aea2;
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: 36px;
}
.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.btn-brass {
  padding: 16px 32px;
  background: var(--brass);
  color: var(--obsidian);
  border: 1px solid var(--brass);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-brass:hover { background: #d4b071; border-color: #d4b071; }
.btn-outline-light {
  padding: 16px 30px;
  background: transparent;
  color: #f7f4ee;
  border: 1px solid rgba(247, 244, 238, 0.28);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-outline-light:hover { border-color: #f7f4ee; background: rgba(255, 255, 255, 0.04); }

.hero-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline-dark);
  max-width: 520px;
}
.hero-spec strong {
  display: block;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  color: #faf7f2;
  line-height: 1.05;
}
.hero-spec span {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-light-muted);
}

.hero-stage {
  position: relative;
  border: 1px solid var(--hairline-dark);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0.25) 100%);
  overflow: hidden;
}
.hero-photo-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 1px;
  background: var(--hairline-dark);
}
.hero-main-img {
  aspect-ratio: 1 / 1.05;
  overflow: hidden;
  position: relative;
}
.hero-main-img img, .hero-side-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-side-col {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1px;
  background: var(--hairline-dark);
}
.hero-side-img { overflow: hidden; position: relative; }
.hero-caption-bar {
  padding: 16px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(17, 15, 13, 0.94);
  font-size: 12px;
  color: var(--ink-light-muted);
}
.hero-caption-bar strong {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  color: #faf7f2;
  margin-right: 10px;
}
.hero-caption-pill {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  border: 1px solid rgba(194, 157, 94, 0.45);
  padding: 4px 10px;
}

/* Marquee Trust Bar */
.trust-ribbon {
  background: var(--stone-100);
  border-bottom: 1px solid var(--hairline);
}
.trust-ribbon-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 820px) { .trust-ribbon-inner { grid-template-columns: 1fr 1fr; padding: 16px 20px; } }
.trust-cell {
  font-size: 12px;
  color: var(--ink-muted);
  display: flex;
  flex-direction: column;
}
.trust-cell strong {
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 2px;
}

/* 3D Interactive Atelier Section (Centerpiece, Full Architectural Dark/Stone Fusion) */
.atelier-band {
  background: var(--obsidian-soft);
  color: var(--ink-light);
  padding: 52px 0 64px;
  border-bottom: 1px solid var(--hairline-dark);
}
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 960px) { .container { padding: 0 20px; } }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 42px;
  flex-wrap: wrap;
}
.section-header h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.section-header p {
  max-width: 440px;
  font-size: 13.5px;
  color: var(--ink-muted);
}
.atelier-band .section-header p { color: var(--ink-light-muted); }

.atelier-shell {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  border: 1px solid var(--hairline-dark);
  background: var(--obsidian);
  min-height: 620px;
}
@media (max-width: 1080px) { .atelier-shell { grid-template-columns: 1fr; } }

.viewport-col {
  position: relative;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--hairline-dark);
  background: radial-gradient(circle at 50% 42%, #2b251e 0%, #14110e 78%);
}
@media (max-width: 1080px) { .viewport-col { border-right: none; border-bottom: 1px solid var(--hairline-dark); } }

.vp-topbar {
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--hairline-dark);
  background: rgba(17, 15, 13, 0.72);
}
.mode-switch {
  display: inline-flex;
  border: 1px solid rgba(247, 244, 238, 0.22);
  padding: 3px;
  background: rgba(255, 255, 255, 0.03);
}
.mode-btn {
  padding: 7px 15px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--ink-light-muted);
  cursor: pointer;
  transition: all 0.18s;
}
.mode-btn.active {
  background: var(--brass);
  color: var(--obsidian);
}
.vp-status {
  font-size: 11.5px;
  color: var(--ink-light-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #61c491;
  box-shadow: 0 0 8px #61c491;
}

.stage-canvas-area {
  position: relative;
  flex: 1;
  min-height: 500px;
  width: 100%;
  overflow: hidden;
  user-select: none;
}
#three-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
#photo25d-wrap {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: #ece5da;
}
#photo25d-wrap.active { display: flex; }
#engrave-canvas {
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  cursor: grab;
}
#engrave-canvas:active { cursor: grabbing; }

.model-loader {
  position: absolute;
  inset: 0;
  background: rgba(17, 15, 13, 0.72);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 12;
  transition: opacity 0.25s;
}
.model-loader.hidden { opacity: 0; pointer-events: none; }
.spinner {
  width: 30px;
  height: 30px;
  border: 2px solid rgba(194, 157, 94, 0.25);
  border-top-color: var(--brass);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loader-text {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}

.vp-overlay-tools {
  position: absolute;
  bottom: 18px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  pointer-events: none;
  z-index: 10;
}
.vp-pill-group {
  display: flex;
  gap: 8px;
  pointer-events: auto;
  flex-wrap: wrap;
}
.vp-btn {
  padding: 8px 13px;
  background: rgba(17, 15, 13, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(247, 244, 238, 0.2);
  color: #f7f4ee;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s;
}
.vp-btn:hover { border-color: var(--brass); color: var(--brass); }
.vp-btn.active { background: var(--brass); color: var(--obsidian); border-color: var(--brass); font-weight: 600; }

.vp-bottom-hint {
  padding: 13px 24px;
  border-top: 1px solid var(--hairline-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: var(--ink-light-muted);
  background: rgba(17, 15, 13, 0.9);
}

/* Right Atelier Control Rail */
.config-col {
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #171411;
}
.cfg-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cfg-label button {
  background: none;
  border: none;
  color: var(--ink-light-muted);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: underline;
}
.cfg-label button:hover { color: #fff; }

.sku-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.sku-tile {
  border: 1px solid var(--hairline-dark);
  background: #201c18;
  padding: 4px;
  cursor: pointer;
  transition: all 0.18s;
  position: relative;
}
.sku-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.sku-tile span {
  display: block;
  font-size: 9.5px;
  text-align: center;
  color: var(--ink-light-muted);
  padding: 5px 2px 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sku-tile .badge-3d {
  position: absolute;
  top: 7px;
  right: 7px;
  background: rgba(17, 15, 13, 0.84);
  color: var(--brass);
  font-size: 8.5px;
  font-weight: 700;
  padding: 2px 4px;
  letter-spacing: 0.06em;
}
.sku-tile.active {
  border-color: var(--brass);
  box-shadow: 0 0 0 1px var(--brass);
}
.sku-tile.active span { color: #fff; }

.sku-meta-head {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hairline-dark);
}
.sku-meta-head h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.12;
  color: #faf7f2;
}
.sku-meta-head p {
  font-size: 12px;
  color: var(--ink-light-muted);
  margin-top: 5px;
}

.dark-input-row {
  display: flex;
  gap: 8px;
}
.dark-input {
  flex: 1;
  padding: 11px 13px;
  background: #100e0c;
  border: 1px solid rgba(247, 244, 238, 0.18);
  color: #f7f4ee;
  font-size: 13px;
  font-family: inherit;
}
.dark-input:focus { outline: none; border-color: var(--brass); }
.dark-upload {
  padding: 11px 15px;
  background: var(--stone-50);
  color: var(--obsidian);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.dark-upload input { display: none; }

.chip-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.chip-set { display: flex; gap: 6px; }
.chip-btn {
  padding: 5px 10px;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #1f1b17;
  border: 1px solid var(--hairline-dark);
  color: var(--ink-light-muted);
  cursor: pointer;
}
.chip-btn.active {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--obsidian);
  font-weight: 600;
}
.dark-check {
  font-size: 11px;
  color: var(--ink-light-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.slider-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  padding: 14px;
  background: #12100e;
  border: 1px solid var(--hairline-dark);
  margin-top: 10px;
}
.sl-item label {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--ink-light-muted);
  margin-bottom: 4px;
}
.sl-item input[type="range"] { width: 100%; accent-color: var(--brass); }

.tier-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.tier-box {
  padding: 12px 8px;
  text-align: center;
  border: 1px solid var(--hairline-dark);
  background: #1e1a16;
  cursor: pointer;
  transition: all 0.15s;
}
.tier-box.active {
  border-color: var(--brass);
  background: rgba(194, 157, 94, 0.14);
}
.tier-box .tq { font-size: 13px; font-weight: 600; color: #faf7f2; }
.tier-box .tp { font-size: 12.5px; color: var(--brass); font-weight: 600; margin-top: 2px; }
.tier-box .ts { font-size: 10px; color: var(--ink-light-muted); margin-top: 2px; }

.cfg-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--hairline-dark);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cfg-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.cfg-total-row .sub { font-size: 11.5px; color: var(--ink-light-muted); }
.cfg-total-row strong {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 400;
  color: #faf7f2;
  line-height: 1;
}

/* Light Editorial Collection Gallery */
.gallery-section {
  padding: 96px 0;
  background: var(--stone-50);
  border-bottom: 1px solid var(--hairline);
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 1020px) { .catalog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .catalog-grid { grid-template-columns: 1fr; } }

.p-card {
  background: #fff;
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.p-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 52px rgba(22, 19, 16, 0.08);
}
.p-media {
  position: relative;
  aspect-ratio: 1 / 1.05;
  overflow: hidden;
  background: var(--stone-100);
}
.p-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.p-card:hover .p-media img { transform: scale(1.05); }
.p-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(17, 15, 13, 0.82);
  color: #f7f4ee;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
}
.p-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}
.p-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.15;
}
.p-desc { font-size: 12.5px; color: var(--ink-muted); flex: 1; }
.p-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 14px;
  margin-top: 8px;
  border-top: 1px solid var(--hairline);
}
.p-price-row strong { font-size: 16px; font-weight: 600; }
.p-price-row span { font-size: 11px; color: var(--sage); font-weight: 600; }
.p-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}
.p-btn {
  padding: 12px 10px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid rgba(22, 19, 16, 0.24);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.18s;
}
.p-btn:hover { border-color: var(--ink); }
.p-btn.dark {
  background: var(--obsidian);
  border-color: var(--obsidian);
  color: #f7f4ee;
}
.p-btn.dark:hover { background: #312821; }

/* Process & FAQ */
.editorial-band {
  padding: 88px 0;
  background: var(--stone-100);
  border-bottom: 1px solid var(--hairline);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .steps-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps-grid { grid-template-columns: 1fr; } }
.step-card {
  border-top: 1px solid rgba(22, 19, 16, 0.25);
  padding-top: 20px;
}
.step-idx {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--brass-dim);
  line-height: 1;
  margin-bottom: 14px;
}
.step-card h4 { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.step-card p { font-size: 12.5px; color: var(--ink-muted); }

.faq-band {
  padding: 84px 0;
  background: var(--stone-50);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 48px;
}
@media (max-width: 820px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-box { border-top: 1px solid var(--hairline); padding-top: 18px; }
.faq-box h4 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin-bottom: 6px; }
.faq-box p { font-size: 13px; color: var(--ink-muted); }

/* Footer */
.site-footer {
  background: var(--obsidian);
  color: var(--ink-light-muted);
  padding: 64px 0 40px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--hairline-dark);
}
.footer-mark {
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: 0.3em;
  color: #f7f4ee;
  margin-bottom: 12px;
}
.footer-copy { font-size: 12.5px; max-width: 380px; }
.footer-col h5 {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 12px;
}
.footer-col a, .footer-col p { display: block; font-size: 13px; color: #d5cdc2; margin-bottom: 7px; }
.footer-bar {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11.5px;
}

/* Order Bag Drawer & Checkout Modal */
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 10, 8, 0.62);
  backdrop-filter: blur(4px);
  z-index: 90;
  display: none;
}
.backdrop.open { display: block; }
.bag-drawer {
  position: fixed;
  top: 0;
  right: -460px;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  background: var(--stone-50);
  z-index: 95;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.25);
}
.bag-drawer.open { right: 0; }
.drawer-top {
  padding: 22px 26px;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.drawer-top h3 { font-family: var(--serif); font-size: 28px; font-weight: 500; }
.close-x {
  width: 36px;
  height: 36px;
  border: 1px solid var(--hairline);
  background: #fff;
  font-size: 18px;
  cursor: pointer;
}
.drawer-list {
  flex: 1;
  overflow-y: auto;
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cart-empty { text-align: center; padding: 64px 16px; color: var(--ink-muted); }
.c-row {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hairline);
}
.c-row img { width: 78px; height: 78px; object-fit: cover; border: 1px solid var(--hairline); background: #191512; }
.c-title { font-weight: 600; font-size: 13.5px; }
.c-meta { font-size: 11.5px; color: var(--ink-muted); margin: 3px 0 9px; }
.c-ctrl { display: flex; justify-content: space-between; align-items: center; }
.qty-box { display: inline-flex; align-items: center; border: 1px solid rgba(22, 19, 16, 0.22); background: #fff; }
.qty-box button { width: 28px; height: 26px; border: none; background: transparent; cursor: pointer; font-size: 14px; }
.qty-box span { padding: 0 9px; font-size: 12px; font-weight: 600; }
.rm-btn { font-size: 11px; color: var(--ink-muted); background: none; border: none; text-decoration: underline; cursor: pointer; }

.drawer-foot {
  padding: 22px 26px 26px;
  border-top: 1px solid var(--hairline);
  background: var(--stone-100);
}
.f-line { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-muted); margin-bottom: 8px; }
.f-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 10px;
  margin: 8px 0 16px;
  border-top: 1px solid rgba(22, 19, 16, 0.2);
}
.f-total strong { font-family: var(--serif); font-size: 30px; font-weight: 500; }

/* Checkout Overlay */
.checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 10, 8, 0.7);
  backdrop-filter: blur(6px);
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.checkout-overlay.open { display: flex; }
.checkout-card {
  background: #fff;
  width: 100%;
  max-width: 960px;
  max-height: 92vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  border: 1px solid var(--hairline);
}
@media (max-width: 820px) { .checkout-card { grid-template-columns: 1fr; } }
.co-left { padding: 32px; }
.co-right { padding: 32px; background: var(--stone-50); border-left: 1px solid var(--hairline); }
.co-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.co-top h3 { font-family: var(--serif); font-size: 32px; font-weight: 500; }
.co-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.co-grid .full { grid-column: 1 / -1; }
.co-field label {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  margin-bottom: 5px;
}
.co-field input, .co-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(22, 19, 16, 0.22);
  font-family: inherit;
  font-size: 13px;
}
.pay-list { display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; }
.pay-opt {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid rgba(22, 19, 16, 0.2);
  cursor: pointer;
}
.pay-opt.selected { border-color: var(--obsidian); background: var(--stone-50); }
.pay-opt strong { font-size: 13px; display: block; }
.pay-opt span { font-size: 11.5px; color: var(--ink-muted); }
.confirm-panel {
  display: none;
  margin-top: 16px;
  padding: 20px;
  background: #edf6f0;
  border: 1px solid #b5d8c3;
}
.confirm-panel h4 { font-family: var(--serif); font-size: 26px; color: var(--sage); margin-bottom: 6px; }
.confirm-panel p { font-size: 12.5px; color: var(--ink); margin-bottom: 12px; }
