/* Fonts are loaded with <link> tags in each page's <head> (faster than @import). */

/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-space) + 16px); }

body {
  font-family: "Lato", sans-serif;
  color: #1a1a1a;
  background: #fff;
  overflow-x: hidden;
}

img, canvas, video { max-width: 100%; display: block; }

/* ─── Design tokens ────────────────────────────────────────── */
:root {
  --black:   #1a1a1a;
  --white:   #ffffff;
  --cream:   #f8f5f0;
  --gold:    #c8a96e;
  --gold-dk: #a8893e;
  --muted:   #666;
  --border:  #e8e3dc;
  --radius:  6px;
  --nav-h:   60px;         /* height of the floating glass pill */
  --nav-top: 12px;         /* gap between the pill and the viewport edge */
  --nav-space: calc(var(--nav-h) + var(--nav-top)); /* total room the nav takes */
  --glass-bg: rgba(248, 245, 240, 0.72);
  --glass-bg-strong: rgba(248, 245, 240, 0.86);
  --glass-border: rgba(255, 255, 255, 0.55);
  --px:      clamp(16px, 5vw, 48px);  /* responsive horizontal padding */
}

/* ─── Typography ───────────────────────────────────────────── */
h1, h2, h3 { font-family: "Playfair Display", serif; letter-spacing: 0.01em; }

/* ─── Header: floating glass pill ───────────────────────────── */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  position: sticky;
  top: var(--nav-top);
  z-index: 1000;
  width: min(1120px, calc(100% - 2 * var(--nav-top)));
  height: var(--nav-h);
  margin: var(--nav-top) auto 0;
  padding: 0 8px 0 26px;
  border-radius: 999px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow:
    0 10px 30px -10px rgba(26, 26, 26, 0.22),
    0 2px 6px rgba(26, 26, 26, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
/* No backdrop-filter support: fall back to a near-opaque cream pill */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  header, .nav-drawer { background: rgba(248, 245, 240, 0.97); }
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: clamp(20px, 4vw, 24px);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--black);
  text-decoration: none;
  flex-shrink: 0;
}
.logo span { color: var(--gold-dk); }

/* Desktop nav */
.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--black);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 999px;
  transition: color 0.25s, background 0.25s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--gold-dk); background: rgba(255, 255, 255, 0.55); }
.nav-links a[aria-current="page"]:not(.btn-nav) { background: rgba(255, 255, 255, 0.6); }

.nav-links a.btn-nav {
  background: var(--black);
  color: var(--white);
  padding: 11px 20px;
  margin-left: 6px;
  border-radius: 999px;
  box-shadow: 0 4px 14px -4px rgba(26, 26, 26, 0.45);
}
.nav-links a.btn-nav:hover { background: var(--gold-dk); color: var(--white); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  cursor: pointer;
  padding: 0 12px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer: a glass card floating under the pill */
.nav-drawer {
  display: none;
  position: fixed;
  top: calc(var(--nav-top) + var(--nav-h) + 8px);
  left: var(--nav-top);
  right: var(--nav-top);
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 10px 20px 20px;
  z-index: 999;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 18px 40px -12px rgba(26, 26, 26, 0.3);
}
.nav-drawer.open { display: flex; animation: navDrop 0.22s ease-out; }
@keyframes navDrop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .nav-drawer.open { animation: none; } }
.nav-drawer a {
  text-decoration: none;
  color: var(--black);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
  transition: color 0.2s;
}
.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer a:hover { color: var(--gold-dk); }
.nav-drawer a.btn-nav-mobile {
  margin-top: 12px;
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 14px;
  border-radius: 999px;
  border-bottom: none;
}
.nav-drawer a.btn-nav-mobile:hover { background: var(--gold-dk); color: var(--white); }

/* ─── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  text-decoration: none;
  padding: 13px 28px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  font-family: "Lato", sans-serif;
  white-space: nowrap;
}
.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { background: var(--gold); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-dk); }

/* ─── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-space));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px var(--px);
  overflow: hidden;
  background: #111;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('images/hero-bg.jpg') center 35%/cover no-repeat;
  background-image: image-set(url("images/hero-bg.webp") type("image/webp"), url("images/hero-bg.jpg") type("image/jpeg"));
  opacity: 0.55;
  z-index: 0;
}

.hero-content { position: relative; z-index: 1; max-width: 680px; width: 100%; text-shadow: 0 2px 18px rgba(0,0,0,0.55); }
/* Soft dark vignette behind the hero text so it stays readable on the brighter photo */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.15) 70%);
}

.hero-eyebrow {
  font-size: clamp(10px, 2vw, 12px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(36px, 8vw, 68px);
  line-height: 1.08;
  margin-bottom: 20px;
  color: var(--white);
}

.hero p {
  font-size: clamp(15px, 2.5vw, 18px);
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  font-weight: 300;
  line-height: 1.65;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ─── Section shell ─────────────────────────────────────────── */
section.section {
  padding: clamp(56px, 8vw, 96px) var(--px);
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: clamp(26px, 4vw, 42px);
  margin-bottom: 14px;
  line-height: 1.15;
}

.section-sub {
  font-size: clamp(14px, 2vw, 16px);
  color: var(--muted);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 48px;
}

/* keep old .steps hidden in case referenced elsewhere */
.steps { display: none; }

/* ─── Gallery section (dark) ────────────────────────────────── */
.gallery-section {
  background: #111 !important;
}

.gallery-section .section-title,
.gallery-section h2 {
  color: var(--white);
}

.gallery-section .section-sub {
  color: rgba(255,255,255,0.55);
}

.gallery-section .section-label {
  color: var(--gold);
}

.gallery-card {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  background: #1c1c1c;
}
.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  border-color: var(--gold);
}

.gallery-card-body { padding: 16px 18px; background: #1c1c1c; }
.gallery-card-body h3 { font-size: 15px; margin-bottom: 5px; color: var(--white); }
.gallery-card-body p  { font-size: 13px; color: rgba(255,255,255,0.62); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-card-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  background: #222;
}

.gallery-card-img-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(32px, 6vw, 52px);
}


.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 32px;
}

.filter-chip {
  font-family: "Lato", sans-serif;
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  line-height: 1;
}

.filter-chip:hover {
  border-color: var(--gold);
  color: var(--black);
}

.filter-chip.active {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.gallery-section .filter-chip {
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
}

.gallery-section .filter-chip:hover {
  border-color: var(--gold);
  color: var(--white);
}

.gallery-section .filter-chip.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #111;
}

.gallery-card[hidden],
.mini-thumb[hidden] {
  display: none !important;
}

.collection-credit {
  text-align: center;
  margin-top: 28px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.6);
}

/* ─── Pricing (old simple grid kept for reference) ─────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin-top: 40px;
}

.price-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 14px;
  text-align: center;
  background: var(--white);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.price-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(200,169,110,0.15);
}
.price-card .size   { font-family: "Playfair Display", serif; font-size: 19px; font-weight: 600; margin-bottom: 7px; }
.price-card .price  { font-size: 14px; color: var(--gold); font-weight: 700; }
.price-card .inches { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ─── Pricing Visual ────────────────────────────────────────── */
/* Text-only size tiles: final layout is in "Sizes & prices: text-only tiles" below. */
.pricing-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
  margin-top: 48px;
}

.pv-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transition: transform 0.25s;
}
.pv-card:hover { transform: translateY(-4px); }




/* Info row under the frames */
.pv-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
}
.pv-size  { font-family: "Playfair Display", serif; font-size: 17px; font-weight: 600; color: var(--black); }
.pv-cm    { font-size: 12px; color: var(--muted); }
.pv-price { font-size: 15px; font-weight: 700; color: var(--gold); margin-top: 2px; }

/* ─── Testimonials ──────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 20px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 28px;
}
.testimonial-card .quote  { font-size: 15px; line-height: 1.75; color: var(--black); margin-bottom: 18px; }
.testimonial-card .author { font-size: 13px; color: var(--muted); font-weight: 700; letter-spacing: 0.04em; }
.stars { color: var(--gold); margin-bottom: 10px; font-size: 15px; }

/* ─── CTA Banner ────────────────────────────────────────────── */
.cta-banner {
  background: var(--black);
  color: var(--white);
  padding: clamp(56px, 8vw, 88px) var(--px);
  text-align: center;
}
.cta-banner .section-label { color: var(--gold); }
.cta-banner h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(26px, 4vw, 46px);
  margin-bottom: 18px;
  color: var(--white);
}
.cta-banner p {
  font-size: clamp(14px, 2vw, 16px);
  color: rgba(255,255,255,0.65);
  max-width: 460px;
  margin: 0 auto 32px;
  line-height: 1.75;
}

/* ─── Customize Page ────────────────────────────────────────── */
.customize-layout {
  display: grid;
  grid-template-columns: 1fr minmax(340px, 460px);
  grid-template-areas: "config preview";
  gap: 40px;
  align-items: start;
  padding: clamp(32px, 5vw, 60px) var(--px);
  max-width: 1300px;
  margin: 0 auto;
}

.preview-panel {
  grid-area: preview;
  position: sticky;
  top: calc(var(--nav-space) + 16px);
}

.config-panel { grid-area: config; }

.frame-preview-wrap {
  background: #e9e4dc;
  border-radius: var(--radius);
  padding: 12px 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-height: 0;
}

.frame-preview-wrap canvas {
  width: 100% !important;
  height: auto !important;
  max-width: none;
  border-radius: 6px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.14);
}

.preview-label {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin: 0;
}

.preview-scale-note {
  font-size: 11px;
  color: #999;
  text-align: center;
  margin: 0;
  letter-spacing: 0.02em;
}

.canvas-placeholder {
  width: 100%;
  max-width: none;
  aspect-ratio: 1600 / 1517;
  background: linear-gradient(135deg, #e8e3dc 0%, #d4ccbf 100%);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 48px;
  text-align: center;
  gap: 12px;
}
.canvas-placeholder p { font-size: 14px; color: #bbb; font-family: "Lato", sans-serif; }

/* ── Scene switcher dots ─────────────────────────────────────── */
.scene-switcher {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin: 2px 0;
}
.scene-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.18s, transform 0.18s;
  flex-shrink: 0;
}
.scene-dot:hover { background: rgba(168,137,62,0.35); transform: scale(1.2); }
.scene-dot.active { background: var(--gold); transform: scale(1.15); }
.scene-dot:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Swipe hint on touch devices */
@media (hover: none) and (pointer: coarse) {
  .frame-preview-wrap canvas { cursor: grab; }
  .scene-switcher::before {
    content: "swipe to change scene";
    display: block;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #aaa;
    text-align: center;
    margin-bottom: 2px;
  }
}

.config-panel h1  { font-size: clamp(24px, 4vw, 32px); margin-bottom: 8px; }
.config-panel .tagline { color: var(--muted); margin-bottom: 32px; font-size: 15px; }

.config-section { margin-bottom: 28px; }
.config-section h3 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

/* source tabs */
.source-tabs {
  display: flex;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}
.source-tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  font-size: 13px;
  background: var(--white);
  color: var(--muted);
  border: none;
  transition: all 0.2s;
  font-family: "Lato", sans-serif;
}
.source-tab.active { background: var(--black); color: var(--white); }

/* mini gallery */
.mini-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 2px;
}

.mini-filters {
  margin: 0 0 12px;
  gap: 6px;
}

.mini-filters .filter-chip {
  font-size: 10px;
  padding: 6px 10px;
}
.mini-gallery::-webkit-scrollbar { width: 4px; }
.mini-gallery::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.mini-thumb {
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-thumb.selected { border-color: var(--gold); }

/* upload zone */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 36px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
}
.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--gold);
  background: rgba(200,169,110,0.05);
}
.upload-zone p { font-size: 14px; color: var(--muted); margin-top: 10px; }
.upload-zone .upload-icon { font-size: 32px; }

/* option chips */
.option-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 16px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--white);
  color: var(--black);
  font-family: "Lato", sans-serif;
}
.chip:hover { border-color: var(--gold); }
.chip.selected { background: var(--black); color: var(--white); border-color: var(--black); }

/* style swatches */
.style-swatches { display: flex; gap: 20px; align-items: flex-start; }
.swatch {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid transparent;
  transition: border-color 0.2s, transform 0.15s;
  flex-shrink: 0;
}
.swatch:hover { transform: scale(1.08); }
.swatch.selected { border-color: var(--gold); }
.swatch-black { background: #1a1a1a; }
.swatch-white { background: #f5f5f5; border: 3px solid #ccc; }
.swatch-borderless { background: linear-gradient(135deg, #f1c27d 0%, #c8a96e 35%, #6f9fb8 70%, #2f5d73 100%); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08); }
.swatch-label { font-size: 11px; color: var(--muted); text-align: center; margin-top: 5px; display: block; }

/* order summary box */
.order-summary-box {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 22px;
  margin-top: 28px;
}
.order-summary-box h3 { font-size: 15px; margin-bottom: 14px; }
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--muted);
  gap: 12px;
}
.summary-row span:last-child { text-align: right; }
.summary-row.total {
  font-weight: 700;
  color: var(--black);
  font-size: 15px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 4px;
}
.proceed-btn { width: 100%; margin-top: 18px; padding: 14px; font-size: 14px; }

/* ─── Checkout ──────────────────────────────────────────────── */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  grid-template-areas: "form sidebar";
  gap: 40px;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 60px) var(--px);
}

.checkout-form-col { grid-area: form; }
.order-sidebar     { grid-area: sidebar; }

.checkout-form-col h2 { font-size: clamp(22px, 4vw, 26px); margin-bottom: 24px; }

.form-section { margin-bottom: 32px; }
.form-section h3 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.form-row.full { grid-template-columns: 1fr; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: "Lato", sans-serif;
  color: var(--black);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }

/* payment methods */
.payment-methods { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.pay-method {
  flex: 1;
  min-width: 120px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 12px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-size: 13px;
}
.pay-method.active { border-color: var(--gold); background: rgba(200,169,110,0.06); }
.paystack-logo { font-weight: 700; font-size: 15px; color: #00c3f7; }

/* order sidebar */
.order-sidebar { position: sticky; top: calc(var(--nav-space) + 16px); }

.order-sidebar-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.sidebar-header {
  background: var(--black);
  color: var(--white);
  padding: 16px 22px;
  font-family: "Playfair Display", serif;
  font-size: 16px;
}
.sidebar-body { padding: 22px; }

.order-item {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.order-item-img {
  width: 68px;
  height: 68px;
  background: var(--cream);
  border-radius: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  overflow: hidden;
}
.order-item-img img { width: 100%; height: 100%; object-fit: cover; }
.order-item-info h4 { font-size: 14px; margin-bottom: 4px; }
.order-item-info p  { font-size: 12px; color: var(--muted); line-height: 1.5; }

.sidebar-totals .row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--muted);
}
.sidebar-totals .row.grand {
  font-weight: 700;
  font-size: 16px;
  color: var(--black);
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 4px;
}
.place-order-btn { width: 100%; margin-top: 22px; padding: 15px; font-size: 14px; }

/* ─── About ─────────────────────────────────────────────────── */
.about-hero {
  position: relative;
  padding: clamp(60px, 10vw, 110px) var(--px);
  text-align: center;
  overflow: hidden;
  background: #1a1a1a;
  color: var(--white);
}
.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('images/about-us.jpg') center 40% / cover no-repeat;
  opacity: 0.38;
  filter: blur(3px);
  transform: scale(1.05);
  z-index: 0;
}
.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.35) 50%, rgba(10,10,10,0.6) 100%);
  z-index: 0;
}
.about-hero .eyebrow,
.about-hero h1,
.about-hero p { position: relative; z-index: 1; }
.about-hero .eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}
.about-hero h1 { font-size: clamp(28px, 5vw, 54px); margin-bottom: 20px; line-height: 1.1; color: var(--white); }
.about-hero p  { font-size: clamp(15px, 2vw, 17px); color: rgba(255,255,255,0.82); max-width: 580px; margin: 0 auto; line-height: 1.75; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding: clamp(56px, 8vw, 96px) var(--px);
  max-width: 1100px;
  margin: 0 auto;
}
.about-grid img { width: 100%; border-radius: var(--radius); }
.about-grid .text h2 { font-size: clamp(24px, 4vw, 34px); margin-bottom: 18px; }
.about-grid .text p  { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 14px; }

.values-section {
  background: var(--black);
  color: var(--white);
  padding: clamp(60px, 8vw, 96px) var(--px);
  text-align: center;
}
.values-section .section-label { color: var(--gold); }
.values-section .section-title { color: var(--white); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.value-card  { text-align: center; padding: 36px 28px 32px; }
.value-line {
  width: 40px; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 2px;
  margin: 0 auto 24px;
}
.value-icon  { font-size: 34px; margin-bottom: 14px; }
.value-card h3 { font-size: 17px; margin-bottom: 10px; color: var(--white); font-family: "Playfair Display", serif; }
.value-card p  { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; }

/* ─── About wall-scene scroll strip ─────────────────────────── */
.about-scenes-section {
  padding: clamp(56px, 8vw, 96px) var(--px) clamp(40px, 6vw, 64px);
  text-align: center;
  background: var(--cream);
}
.about-scenes-section .section-sub {
  max-width: 560px;
  margin: 0 auto 40px;
}
.about-scenes-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
  margin: 0 calc(-1 * var(--px));
  padding-left: var(--px);
  padding-right: var(--px);
}
.about-scenes-scroll::-webkit-scrollbar { display: none; }
.about-scene-card {
  position: relative;
  flex: 0 0 min(72vw, 560px);
  scroll-snap-align: center;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.about-scene-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.about-scene-card:hover img { transform: scale(1.03); }
.about-scene-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 20px 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
  color: var(--white);
  font-family: "Playfair Display", serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.about-scenes-cta { margin-top: 36px; }

/* ─── Confirmation ──────────────────────────────────────────── */
.confirm-wrap {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(60px, 10vw, 100px) var(--px);
}
.confirm-icon { font-size: clamp(52px, 10vw, 72px); margin-bottom: 24px; }
.confirm-wrap h1 { font-size: clamp(28px, 5vw, 36px); margin-bottom: 14px; }
.confirm-wrap p  { font-size: 15px; color: var(--muted); max-width: 460px; line-height: 1.75; margin-bottom: 10px; }
.confirm-ref { font-weight: 700; color: var(--gold); font-size: clamp(15px, 3vw, 18px); margin: 10px 0 28px; }
.confirm-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }

/* ─── Footer ────────────────────────────────────────────────── */
footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: clamp(40px, 6vw, 64px) var(--px) clamp(24px, 3vw, 32px);
}

footer.footer-with-bg {
  position: relative;
  overflow: hidden;
}
footer.footer-with-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('images/room/dining-room.jpg') center 30% / cover no-repeat;
  opacity: 0.22;
  filter: blur(2px);
  transform: scale(1.04);
  z-index: 0;
}
footer.footer-with-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 5, 0.82);
  z-index: 0;
}
footer.footer-with-bg .footer-grid,
footer.footer-with-bg .footer-bottom { position: relative; z-index: 1; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo { color: var(--white); font-size: 20px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.65); margin-top: 12px; line-height: 1.7; max-width: 260px; }

.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* ─── Toast ─────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 24px;
  right: 16px;
  left: 16px;
  max-width: 360px;
  margin: 0 auto;
  background: var(--black);
  color: var(--white);
  padding: 13px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 9999;
  pointer-events: none;
  text-align: center;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ─── Utilities ─────────────────────────────────────────────── */
.text-gold  { color: var(--gold); }
.text-muted { color: var(--muted); }
.center     { text-align: center; }
.hidden     { display: none !important; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }

/* ─── Tablet  ≤ 900px ───────────────────────────────────────── */
@media (max-width: 900px) {

  /* Pricing visual 2 col on tablet */
  .pricing-visual-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }

  /* Gallery 2 col on tablet */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  /* Show hamburger, hide desktop nav */
  .nav-links  { display: none; }
  .nav-toggle { display: flex; }

  /* Customize: stack preview above config */
  .customize-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "preview"
      "config";
  }
  .preview-panel { position: static; }

  /* Checkout: stack sidebar above form */
  .checkout-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "sidebar"
      "form";
  }
  .order-sidebar { position: static; }

  /* About grid */
  .about-grid { grid-template-columns: 1fr; }
  .about-grid .text { order: 1; }
  .about-grid > div:last-child { order: 2; }

  /* Values 3-col → 1-col */
  .values-grid { grid-template-columns: 1fr; gap: 20px; }

  /* Scene cards full-bleed on tablet */
  .about-scene-card { flex: 0 0 min(85vw, 560px); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* ─── Mobile  ≤ 600px ───────────────────────────────────────── */
@media (max-width: 600px) {

  /* Hero buttons full width on very small screens */
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 320px; text-align: center; }

  /* Gallery 2 col on mobile */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  /* Pricing 2 col */
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-visual-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }

  /* Chips smaller text */
  .chip { font-size: 12px; padding: 7px 13px; }
  .filter-chip { font-size: 10px; padding: 7px 11px; }

  /* Mini gallery 3 col */
  .mini-gallery { grid-template-columns: repeat(3, 1fr); }

  /* Steps single col */
  .steps { grid-template-columns: 1fr; gap: 28px; }


  /* Form rows single col */
  .form-row { grid-template-columns: 1fr; }

  /* Payment methods stack */
  .payment-methods { flex-direction: column; }
  .pay-method { min-width: unset; }

  /* Footer single col */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand p { max-width: 100%; }

  /* Confirm actions stack */
  .confirm-actions { flex-direction: column; align-items: center; }
  .confirm-actions .btn { width: 100%; max-width: 300px; text-align: center; }

  /* Swatches wrap */
  .style-swatches { flex-wrap: wrap; gap: 16px; }
}

/* ─── Very small  ≤ 380px ───────────────────────────────────── */
@media (max-width: 380px) {
  .gallery-grid  { grid-template-columns: 1fr; }
  .pricing-grid  { grid-template-columns: 1fr; }
  .option-chips  { gap: 6px; }
  .chip          { font-size: 11px; padding: 6px 11px; }
}

/* frame size: 3x2 grid */
.option-chips.size-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.size-grid .chip {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; padding: 12px 6px; border-radius: 14px; text-align: center; line-height: 1.2;
}
.size-grid .chip-size { font-size: 15px; font-weight: 700; }
.size-grid .chip-price { font-size: 13px; opacity: 0.75; }
.size-grid .chip.selected .chip-price { opacity: 0.9; }
@media (max-width: 480px) {
  .size-grid { gap: 8px; }
  .size-grid .chip { padding: 10px 4px; }
  .size-grid .chip-size { font-size: 14px; }
  .size-grid .chip-price { font-size: 12px; }
}

/* ─── Accessibility & polish (audit) ───────────────────────── */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--gold); color: var(--black); padding: 10px 16px;
  border-radius: var(--radius); font-weight: 700; text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }
[tabindex="-1"]:focus { outline: none; }

a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible,
[role="button"]:focus-visible,
.gallery-card:focus-visible,
.pv-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.swatch:focus-visible { outline-offset: 4px; border-radius: 50%; }
.mini-thumb:focus-visible { outline-offset: 1px; }

a.gallery-card, a.pv-card { display: block; color: inherit; text-decoration: none; }
a.pv-card { display: flex; }
.gallery-card:focus-visible { border-color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Hero quick facts */
.hero-facts {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px;
  margin-top: 28px; font-size: 13px; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.85);
}
.hero-facts li::before { content: "✓"; color: var(--gold); margin-right: 8px; font-weight: 700; }

.gallery-upload-prompt { color: rgba(255,255,255,0.7); margin-bottom: 14px; font-size: 15px; }
.gallery-upload-wrap { text-align: center; margin-top: 44px; }

.about-grid img { height: auto; }

/* Delivery & FAQ */
.faq-section { background: var(--cream); }
.faq-list { max-width: 760px; margin-top: 36px; }
.faq-list details {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 12px;
}
.faq-list summary {
  cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 15px;
  list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--gold); font-size: 20px; line-height: 1; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { padding: 0 22px 18px; color: var(--muted); line-height: 1.75; font-size: 15px; }
.faq-list a { color: var(--black); }


/* Outline button for light backgrounds */
.btn-outline-dark { background: transparent; color: var(--black); border: 1.5px solid var(--black); }
.btn-outline-dark:hover { background: var(--black); color: var(--white); }
.whatsapp-order-btn { display: block; width: 100%; margin-top: 10px; text-align: center; padding: 13px; font-size: 13px; }
.whatsapp-order-btn[hidden] { display: none; }
.summary-note { font-size: 12px; color: var(--muted); margin-top: 12px; line-height: 1.6; text-align: center; }
.confirm-ref { color: #8a6d2e; }

/* Checkout payment options */
button.pay-method { font: inherit; color: inherit; background: var(--white); }
.pay-method[hidden], .payment-methods[hidden] { display: none; }
.pay-method-sub { font-size: 11px; color: var(--muted); margin-top: 4px; }
.pay-panel { background: var(--cream); border-radius: 6px; padding: 16px; font-size: 14px; color: var(--muted); line-height: 1.8; }
.pay-panel strong { color: var(--black); }
.pay-panel--paystack { background: rgba(0,195,247,0.06); border: 1px solid rgba(0,195,247,0.2); }

/* Confirmation: send order */
.confirm-send, .confirm-transfer {
  background: var(--cream); border-radius: var(--radius); padding: 20px 24px; margin: 4px 0 24px;
  font-size: 14px; color: var(--muted); line-height: 1.8; max-width: 460px; width: 100%; text-align: left;
}
.confirm-send > strong, .confirm-transfer > strong { color: var(--black); }
.confirm-send p { margin: 6px 0 0; font-size: 14px; }
.confirm-send-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.confirm-send-actions .btn { flex: 1; text-align: center; min-width: 160px; }
.confirm-send-actions .btn[hidden] { display: none; }
.paystack-logo, .pay-method-sub, .pay-method-title { display: block; }
.pay-method-title { font-weight: 700; }

/* ─── How It Works — numbered step cards with connectors ───── */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hiw2-section {
  background:
    radial-gradient(circle at 12% 20%, rgba(200,169,110,0.14), transparent 42%),
    radial-gradient(circle at 88% 85%, rgba(200,169,110,0.12), transparent 40%),
    var(--cream);
}
.hiw2-header { text-align: center; }
.hiw2-sub { margin-left: auto; margin-right: auto; }
.hiw2-steps {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 56px; max-width: 1080px; margin: 0 auto; padding: 0; counter-reset: none;
}
.hiw2-step { position: relative; display: flex; }
.hiw2-card {
  position: relative; flex: 1; text-align: center;
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  padding: 40px 28px 34px;
  box-shadow: 0 1px 2px rgba(26,26,26,0.04), 0 10px 30px rgba(26,26,26,0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.hiw2-card::before {
  content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 3px;
  border-radius: 0 0 3px 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.7;
}
.hiw2-step:hover .hiw2-card {
  transform: translateY(-6px); border-color: rgba(200,169,110,0.6);
  box-shadow: 0 2px 4px rgba(26,26,26,0.05), 0 22px 44px rgba(26,26,26,0.10);
}
.hiw2-badge { position: relative; width: 92px; height: 92px; margin: 0 auto 24px; }
.hiw2-icon {
  display: flex; align-items: center; justify-content: center;
  width: 92px; height: 92px; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #2b2b2b, var(--black));
  color: var(--gold);
  box-shadow: 0 0 0 6px var(--white), 0 0 0 7px rgba(200,169,110,0.45), 0 12px 24px rgba(26,26,26,0.18);
  transition: transform 0.35s ease;
}
.hiw2-icon svg { width: 44px; height: 44px; }
.hiw2-step--last .hiw2-icon { background: radial-gradient(circle at 30% 25%, #d9bf8c, var(--gold-dk)); color: var(--black); }
.hiw2-step:hover .hiw2-icon { transform: rotate(-6deg) scale(1.05); }
.hiw2-num {
  position: absolute; right: -10px; top: -6px;
  min-width: 36px; height: 36px; padding: 0 6px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold); color: var(--black);
  font-family: "Playfair Display", serif; font-weight: 700; font-size: 14px; letter-spacing: 0.02em;
  border: 3px solid var(--white);
}
.hiw2-title { font-family: "Playfair Display", serif; font-size: 21px; margin-bottom: 10px; color: var(--black); }
.hiw2-text { font-size: 15px; color: #555; line-height: 1.75; max-width: 300px; margin: 0 auto; }

/* Connector between cards (desktop: horizontal) */
.hiw2-connector {
  position: absolute; top: 86px; left: 100%; width: 56px; height: 24px;
  display: flex; align-items: center; color: var(--gold-dk); pointer-events: none;
}
.hiw2-connector-line {
  flex: 1; height: 0; border-top: 2px dashed rgba(168,137,62,0.7);
}
.hiw2-arrow { width: 22px; height: 22px; margin-left: -6px; flex: none; }

/* Entrance animation (only added by JS when motion is allowed) */
.hiw2-animate .hiw2-card,
.hiw2-animate .hiw2-connector { opacity: 0; transform: translateY(18px); }
.hiw2-animate.is-visible .hiw2-card,
.hiw2-animate.is-visible .hiw2-connector {
  opacity: 1; transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  transition-delay: calc(var(--i, 0) * 140ms);
}
.hiw2-animate.is-visible .hiw2-step:hover .hiw2-card { transform: translateY(-6px); transition-delay: 0s; }

/* Tablet & mobile: vertical flow with a vertical connector */
@media (max-width: 900px) {
  .hiw2-steps { grid-template-columns: 1fr; gap: 40px; max-width: 520px; }
  .hiw2-card {
    text-align: left; padding: 26px 22px 26px 120px; min-height: 140px;
  }
  .hiw2-card::before { left: 0; right: auto; top: 22px; bottom: 22px; width: 3px; height: auto; border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, transparent, var(--gold), transparent); }
  .hiw2-badge { position: absolute; left: 22px; top: 24px; width: 72px; height: 72px; margin: 0; }
  .hiw2-icon { width: 72px; height: 72px; box-shadow: 0 0 0 5px var(--white), 0 0 0 6px rgba(200,169,110,0.45), 0 8px 18px rgba(26,26,26,0.16); }
  .hiw2-icon svg { width: 34px; height: 34px; }
  .hiw2-num { min-width: 30px; height: 30px; font-size: 12px; right: -8px; top: -6px; }
  .hiw2-title { font-size: 19px; }
  .hiw2-text { max-width: none; margin: 0; font-size: 14.5px; }
  .hiw2-connector {
    top: 100%; left: 57px; width: 2px; height: 40px; flex-direction: column; justify-content: center;
  }
  .hiw2-connector-line { width: 0; height: auto; flex: 1; border-top: 0; border-left: 2px dashed rgba(168,137,62,0.7); }
  .hiw2-arrow { transform: rotate(90deg); margin: -8px 0 0 -10px; width: 22px; height: 22px; }
}
@media (max-width: 380px) {
  .hiw2-card { padding-left: 104px; }
  .hiw2-badge { left: 16px; }
  .hiw2-connector { left: 51px; }
}
@media (prefers-reduced-motion: reduce) {
  .hiw2-card, .hiw2-icon { transition: none; }
  .hiw2-step:hover .hiw2-card, .hiw2-step:hover .hiw2-icon { transform: none; }
}

/* ─── Frame builder — step cards, progress, option cards ───── */
.bld-progress {
  list-style: none; display: flex; gap: 0; margin: -12px 0 28px; padding: 0; counter-reset: none;
}
.bld-progress-step {
  flex: 1; display: flex; align-items: center; gap: 8px; position: relative;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.bld-progress-step:not(:last-child)::after {
  content: ""; flex: 1; height: 2px; margin: 0 10px; border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0 6px, transparent 6px 10px);
}
.bld-progress-step.is-done:not(:last-child)::after { background: var(--gold); }
.bld-progress-dot {
  width: 28px; height: 28px; flex: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 2px solid var(--border); color: var(--muted);
  font-family: "Playfair Display", serif; font-weight: 700; font-size: 13px; letter-spacing: 0;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.bld-progress-step.is-current .bld-progress-dot { border-color: var(--gold); color: var(--black); box-shadow: 0 0 0 4px rgba(200,169,110,0.18); }
.bld-progress-step.is-current .bld-progress-label { color: var(--black); font-weight: 700; }
.bld-progress-step.is-done .bld-progress-dot { background: var(--gold); border-color: var(--gold); color: var(--black); }

.bld-step {
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  padding: 22px 22px 24px; margin-bottom: 18px; position: relative;
  box-shadow: 0 1px 2px rgba(26,26,26,0.03), 0 8px 24px rgba(26,26,26,0.04);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.bld-step.is-done { border-color: rgba(200,169,110,0.55); }
.bld-step-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.bld-step-icon {
  position: relative; flex: none; width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 25%, #2b2b2b, var(--black)); color: var(--gold);
  box-shadow: 0 0 0 4px var(--white), 0 0 0 5px rgba(200,169,110,0.45);
}
.bld-step-icon svg { width: 26px; height: 26px; }
.bld-step-num {
  position: absolute; right: -8px; top: -6px; min-width: 24px; height: 24px; padding: 0 4px;
  border-radius: 12px; background: var(--gold); color: var(--black); border: 2px solid var(--white);
  font-family: "Playfair Display", serif; font-weight: 700; font-size: 10px;
  display: flex; align-items: center; justify-content: center;
}
.bld-step-titles { flex: 1; min-width: 0; }
.config-section.bld-step h3 {
  font-family: "Playfair Display", serif; font-size: 19px; letter-spacing: 0; text-transform: none;
  color: var(--black); margin: 0 0 3px; padding: 0; border: 0;
}
.bld-step-status { font-size: 13px; color: var(--muted); margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bld-step.is-done .bld-step-status { color: #8a6d2e; font-weight: 700; }
.bld-step-check {
  flex: none; width: 28px; height: 28px; padding: 5px; border-radius: 50%;
  background: var(--gold); color: var(--black); opacity: 0; transform: scale(0.6);
  transition: opacity 0.25s, transform 0.25s;
}
.bld-step.is-done .bld-step-check { opacity: 1; transform: none; }

/* Gallery thumbnails */
.bld-step .mini-thumb { border-radius: 8px; border-width: 2px; position: relative; transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
.bld-step .mini-thumb:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(26,26,26,0.12); }
.bld-step .mini-thumb.selected { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,169,110,0.35); }
.bld-step .mini-thumb.selected::after {
  content: "✓"; position: absolute; right: 6px; top: 6px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold); color: var(--black); font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.bld-step .source-tabs { border-radius: 999px; padding: 4px; background: var(--cream); border: 1px solid var(--border); }
.bld-step .source-tab { border-radius: 999px; border: 0; }
.bld-step .upload-zone { border-radius: 12px; }

/* Size option cards */
.bld-step .size-grid .chip {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px;
  border-radius: 12px; padding: 14px 6px 12px; border: 1.5px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s, background 0.2s;
}
.bld-step .size-grid .chip:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(26,26,26,0.08); }
.bld-step .size-grid .chip.selected {
  background: var(--black); color: var(--white); border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(200,169,110,0.45), 0 8px 20px rgba(26,26,26,0.18);
}
.bld-step .size-grid .chip.selected .chip-price { color: var(--gold); opacity: 1; }
/* Style option cards */
.bld-step .style-swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bld-step .swatch {
  width: auto; height: auto; border-radius: 12px; border: 1.5px solid var(--border);
  padding: 14px 8px 12px; display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--white); position: relative;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.bld-step .swatch:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 6px 16px rgba(26,26,26,0.08); }
.bld-step .swatch.selected { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,169,110,0.35); }
.bld-step .swatch.selected::after {
  content: "✓"; position: absolute; right: 8px; top: 8px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold); color: var(--black); font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.swatch-art { width: 54px; height: 68px; display: block; padding: var(--frame-w); border-radius: var(--frame-r); margin-bottom: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.15); }
.swatch-art span { display: block; width: 100%; height: 100%; background: linear-gradient(160deg, #f1c27d 0%, #c8a96e 40%, #6f9fb8 75%, #2f5d73 100%); }
.swatch-art--black { background: #1a1a1a; }
.swatch-art--white { background: #f6f6f6; box-shadow: 0 4px 10px rgba(0,0,0,0.15), inset 0 0 0 1px #ddd; }
.swatch-art--borderless { padding: 0; }
.bld-step .swatch-label { font-size: 14px; font-weight: 700; color: var(--black); margin: 0; }
.swatch-sub { font-size: 11.5px; color: var(--muted); margin-top: 2px; }

/* Live summary */
.bld-summary { border: 1px solid var(--border); border-radius: 14px; background: var(--cream); transition: border-color 0.3s, box-shadow 0.3s; }
.bld-summary.is-ready { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,169,110,0.2); }
.bld-summary-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.bld-summary-head h3 { margin: 0 0 2px; font-family: "Playfair Display", serif; font-size: 18px; }
.bld-summary-sub { font-size: 13px; color: var(--muted); margin: 0; }
.bld-summary-thumb {
  width: 54px; height: 68px; flex: none; border-radius: 3px; background: #e8e3dc center/cover no-repeat;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.bld-summary-thumb:not(.has-img) { border-style: dashed; border-color: #cbbf9f; border-width: 2px; }

/* Mobile sticky checkout bar */
.bld-mobilebar { display: none; }
@media (max-width: 900px) {
  .bld-mobilebar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px var(--px) calc(12px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,0.96); backdrop-filter: blur(8px);
    border-top: 1px solid var(--border); box-shadow: 0 -6px 20px rgba(26,26,26,0.08);
    transform: translateY(110%); transition: transform 0.3s ease;
  }
  .bld-mobilebar.is-ready { transform: none; }
  .bld-mobilebar-total span { display: block; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
  .bld-mobilebar-total strong { font-size: 18px; }
  .bld-mobilebar .btn { padding: 12px 22px; }
  body:has(.bld-mobilebar.is-ready) footer { padding-bottom: 96px; }
}
@media (max-width: 600px) {
  .bld-step { padding: 18px 14px 18px; }
  .bld-progress-label { display: none; }
  .bld-step .style-swatches { gap: 8px; }
  .swatch-sub { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bld-step .mini-thumb:hover, .bld-step .size-grid .chip:hover, .bld-step .swatch:hover { transform: none; }
}

/* ── Builder: Single / Pair / Trio ─────────────────────────────── */
.bld-qty { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bld-qty-opt {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 18px 10px 14px; border: 1.5px solid var(--border); border-radius: 12px; background: var(--white);
  cursor: pointer; font-family: inherit; color: var(--black);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.bld-qty-opt:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(26,26,26,0.08); }
.bld-qty-opt.selected { background: var(--black); color: var(--white); border-color: var(--black); box-shadow: 0 0 0 3px rgba(200,169,110,0.35); }
.bld-qty-art { display: flex; gap: 4px; height: 34px; align-items: flex-end; margin-bottom: 6px; }
.bld-qty-art i { display: block; width: 18px; height: 26px; border: 2px solid currentColor; border-radius: 2px; opacity: 0.7; }
.bld-qty-opt.selected .bld-qty-art i { border-color: var(--gold); opacity: 1; }
.bld-qty-name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 16px; }
.bld-qty-sub { font-size: 12px; opacity: 0.75; }
.bld-qty-save {
  position: absolute; top: -10px; right: 8px; background: var(--gold); color: var(--black);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.03em; padding: 3px 8px; border-radius: 999px; white-space: nowrap;
}
.bld-qty-note { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }

/* Curated sets + slots */
.bld-setpanel { margin-bottom: 18px; }
.bld-setpanel-label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.bld-setpanel-hint { text-transform: none; letter-spacing: 0; font-weight: 400; color: #8a6d2e; }
.bld-sets { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 18px; }
.bld-set {
  position: relative; display: flex; flex-direction: column; gap: 4px; padding: 10px; text-align: left;
  border: 1.5px solid var(--border); border-radius: 10px; background: var(--white); cursor: pointer; font-family: inherit; color: var(--black);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.bld-set:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(26,26,26,0.08); }
.bld-set.selected { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,169,110,0.35); }
.bld-set.selected::after {
  content: '✓'; position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold); color: var(--black); font-size: 12px; font-weight: 700; display: grid; place-items: center;
}
.bld-set-art { display: flex; gap: 4px; padding: 8px; background: #f1ece4; border-radius: 6px; justify-content: center; }
.bld-set-art img { width: 30%; max-width: 44px; aspect-ratio: 3 / 4; object-fit: cover; box-shadow: 0 2px 4px rgba(0,0,0,0.18); }
.bld-set-name { font-weight: 700; font-size: 13.5px; margin-top: 4px; }
.bld-set-sub { font-size: 11.5px; color: var(--muted); line-height: 1.35; }
.bld-slots { display: flex; gap: 10px; }
.bld-slot {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 6px;
  border: 1.5px dashed var(--border); border-radius: 10px; background: var(--white); cursor: pointer; font-family: inherit; color: var(--black);
  transition: border-color 0.2s, box-shadow 0.2s; position: relative;
}
.bld-slot.filled { border-style: solid; }
.bld-slot.active { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,169,110,0.3); }
.bld-slot-art {
  width: 48px; height: 64px; border-radius: 3px; background: #f1ece4 center / cover no-repeat;
  display: grid; place-items: center; font-size: 22px; color: var(--gold-dk);
}
.bld-slot-clear {
  position: absolute; top: 4px; right: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #cc3333; color: #fff; border: none;
  font-size: 13px; line-height: 1; cursor: pointer;
  display: grid; place-items: center; padding: 0;
  opacity: 0; transition: opacity 0.15s;
}
.bld-slot:hover .bld-slot-clear,
.bld-slot.active .bld-slot-clear { opacity: 1; }

.bld-slot-label { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.bld-slot-name { font-size: 12px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Set price + saving on size chips and in the summary */
.chip-save { display: block; font-size: 10.5px; font-weight: 700; color: #8a6d2e; margin-top: 2px; }
.chip.selected .chip-save { color: var(--gold); }
.bld-summary-pieces { margin: -4px 0 10px; padding-left: 18px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.bld-saving span:last-child, .bld-saving span:first-child { color: #2f7a45; font-weight: 700; }
.bld-mobilebar-total em { display: block; font-style: normal; font-size: 11px; font-weight: 700; color: #8a6d2e; }

/* Checkout / confirmation: set pieces */
.order-pieces { list-style: none; margin: 10px 0 0; padding: 0; font-size: 13px; color: var(--muted); line-height: 1.7; }
.order-item-img.is-set { display: flex; gap: 3px; width: auto; padding: 4px; }
.order-item-img.is-set img { width: 26px; height: 36px; object-fit: cover; }
.sidebar-totals .row.saving span { color: #2f7a45; font-weight: 700; }
.confirm-items { text-align: left; background: var(--cream); border-radius: var(--radius); padding: 16px 20px; margin: 0 auto 20px; max-width: 520px; font-size: 14px; line-height: 1.8; }
.confirm-items ul { margin: 0; padding-left: 18px; }
.pricing-set-note { margin: 28px auto 0; max-width: 640px; text-align: center; font-size: 15px; color: var(--black); background: var(--white); border: 1px solid rgba(200,169,110,0.5); border-radius: 999px; padding: 12px 22px; }
.pricing-set-note strong { color: #8a6d2e; }
.pricing-set-note a { color: var(--black); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 600px) {
  .bld-qty { gap: 8px; }
  .bld-qty-opt { padding: 16px 4px 12px; }
  .bld-qty-save { right: 50%; transform: translateX(50%); }
  .bld-sets { grid-template-columns: 1fr 1fr; }
  .pricing-set-note { border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .bld-qty-opt, .bld-set { transition: none; }
  .bld-qty-opt:hover, .bld-set:hover { transform: none; }
}

/* Make the hidden attribute win over display rules */
[hidden] { display: none !important; }
.customize-layout > * { min-width: 0; }
.bld-slot, .bld-set, .bld-qty-opt { min-width: 0; }

/* Sizes & prices spacing */
.pricing-section .section-sub { margin-bottom: 20px; }
@media (max-width: 768px) { .pricing-section .section-sub { margin-bottom: 16px; } }

/* ── Gallery: Featured + Show all ──────────────────────────────── */
.gallery-more-wrap { text-align: center; margin-top: 24px; }
.mini-more { display: block; width: 100%; margin-top: 10px; padding: 10px; font-size: 12px; }
@media (max-width: 768px) {
  .mini-gallery { grid-template-columns: repeat(2, 1fr); max-height: none; overflow: visible; gap: 10px; }
}
@media (max-width: 380px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ── Frame style on thumbnails: Black / White / Borderless (no border) ── */
.order-item-img.is-framed { background: transparent; padding: 4px; gap: 4px; }
.order-item-img.is-framed img { width: auto; height: 100%; max-width: 100%; aspect-ratio: 3 / 4; object-fit: cover; box-shadow: 0 3px 8px rgba(0,0,0,0.18); }
.order-item-img.is-framed.is-set img { height: 40px; width: 30px; }
.fstyle-black .bld-slot-art, .fstyle-black.bld-summary-thumb, .fstyle-black .bld-set-art img, .order-item-img.fstyle-black img { border: var(--frame-w) solid #1a1a1a; border-radius: var(--frame-r); }
.fstyle-white .bld-slot-art, .fstyle-white.bld-summary-thumb, .fstyle-white .bld-set-art img, .order-item-img.fstyle-white img { border: var(--frame-w) solid #f6f6f4; border-radius: var(--frame-r); box-shadow: 0 0 0 1px rgba(0,0,0,0.12), 0 3px 8px rgba(0,0,0,0.15); }
.fstyle-borderless .bld-slot-art, .fstyle-borderless.bld-summary-thumb, .fstyle-borderless .bld-set-art img, .order-item-img.fstyle-borderless img { border: 0 !important; box-shadow: 0 3px 8px rgba(0,0,0,0.18); }
.bld-slot:not(.filled) .bld-slot-art { border: 0 !important; box-shadow: none; }
.upload-hint { font-size: 12.5px; color: var(--muted); margin: 10px 2px 0; line-height: 1.55; }
.upload-warn { font-size: 12.5px; color: #8a5a00; background: #fff6e0; border: 1px solid #f0d9a0; border-radius: 8px; padding: 8px 10px; margin: 8px 0 0; }

/* ═══ Receipt (confirmation.html, js/receipt.js) ═══════════════════ */
.rc-page { max-width: 760px; margin: 0 auto; padding: 110px 16px 64px; }
.rc-intro { text-align: center; margin-bottom: 22px; }
.rc-intro h1 { font-size: clamp(26px, 5vw, 34px); margin-bottom: 8px; }
.rc-intro p { color: var(--muted); font-size: 15px; max-width: 520px; margin: 0 auto; line-height: 1.6; }
.receipt {
  position: relative; background: #fff; color: #1a1a1a;
  border: 1px solid #d9d2c5; border-radius: 2px;
  padding: 28px clamp(16px, 4vw, 36px) 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.07);
  font-variant-numeric: tabular-nums;
}
.rc-head { text-align: center; padding-bottom: 14px; border-bottom: 1px dashed #c9c1b2; }
.rc-brand { font-family: "Playfair Display", serif; font-weight: 700; font-size: 28px; letter-spacing: 3px; }
.rc-brand span { color: var(--gold, #c9a96e); }
.rc-addr { font-size: 12.5px; color: #6b6b6b; line-height: 1.6; }
.rc-label { font-size: 11px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: #7a7366; text-align: left; margin-bottom: 6px; }
.rc-ref { padding: 16px 0 14px; border-bottom: 1px dashed #c9c1b2; }
.rc-ref-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rc-ref-val { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: clamp(20px, 5.4vw, 28px); font-weight: 700; letter-spacing: 1px; word-break: break-all; }
.rc-copy { border: 1px solid #1a1a1a; background: #fff; border-radius: 2px; padding: 6px 12px; font-size: 12px; font-weight: 700; cursor: pointer; }
.rc-copy:hover { background: #1a1a1a; color: #fff; }
.rc-meta { margin: 10px 0 0; display: grid; gap: 4px; font-size: 13.5px; }
.rc-meta > div { display: flex; justify-content: space-between; gap: 16px; }
.rc-meta dt { color: #6b6b6b; }
.rc-meta dd { margin: 0; text-align: right; font-weight: 600; white-space: pre-line; }
.rc-status dd { font-weight: 800; text-transform: uppercase; letter-spacing: .6px; font-size: 12.5px; }
.rc-status.is-pending dd { color: #8a5a00; }
.rc-status.is-paid dd { color: #1b7a3a; }
.rc-status.is-failed dd { color: #b3261e; }
.rc-status-note { font-size: 12.5px; color: #6b6b6b; margin: 8px 0 0; }
.rc-items { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 13.5px; }
.rc-items caption { caption-side: top; }
.rc-items th { text-align: left; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: #7a7366; font-weight: 700; padding: 6px 6px; border-bottom: 1.5px solid #1a1a1a; }
.rc-items td { padding: 9px 6px; border-bottom: 1px dotted #cfc8bb; vertical-align: top; }
.rc-items .rc-num { text-align: right; white-space: nowrap; }
.rc-item-name { display: block; font-weight: 700; }
.rc-item-sub { display: none; font-size: 12px; color: #6b6b6b; margin-top: 2px; }
.rc-totals { margin: 12px 0 0 auto; max-width: 340px; font-size: 14px; display: grid; gap: 6px; }
.rc-totals > div { display: flex; justify-content: space-between; gap: 16px; }
.rc-totals dt { color: #444; }
.rc-totals dd { margin: 0; font-weight: 600; }
.rc-discount dd { color: #1b7a3a; }
.rc-grand { border-top: 2px solid #1a1a1a; padding-top: 8px; margin-top: 4px; }
.rc-grand dt, .rc-grand dd { font-size: 19px; font-weight: 800; color: #1a1a1a; text-transform: uppercase; }
.rc-delivery-note { font-size: 12.5px; color: #6b6b6b; text-align: right; margin: 6px 0 0; }
.rc-cust { margin-top: 18px; padding-top: 14px; border-top: 1px dashed #c9c1b2; }
.rc-cust .rc-meta dd { max-width: 65%; }
.rc-foot { text-align: center; font-size: 12px; color: #8a8378; margin: 18px 0 0; padding-top: 12px; border-top: 1px dashed #c9c1b2; }
.rc-empty { font-size: 14px; color: #6b6b6b; margin-top: 14px; }

.rc-alert { margin: 16px 0 0; padding: 12px 14px; border-radius: 4px; font-size: 14px; line-height: 1.5; }
.rc-alert.is-ok { background: #e8f5e9; color: #1b5e20; }
.rc-alert.is-warn { background: #fff6e0; color: #7a4f00; border: 1px solid #f0d9a0; }
.rc-link { background: none; border: 0; padding: 0; color: inherit; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.rc-actions { margin-top: 22px; display: grid; gap: 10px; }
.rc-btn { width: 100%; text-align: center; justify-content: center; border-radius: 4px; }
.rc-btn-pay { background: #0ba4db; color: #fff; border: 0; font-size: 16px; padding: 16px; font-weight: 700; }
.rc-btn-pay:hover { background: #0890c1; }
.rc-btn-pay:disabled { opacity: .6; cursor: progress; }
.rc-pay-note { text-align: center; font-size: 12px; color: var(--muted); margin: -2px 0 4px; }
.rc-btn-wa { background: #1f9d55; color: #fff; border: 0; }
.rc-btn-wa:hover { background: #18834a; }
.rc-upload { font-size: 13px; background: var(--cream); padding: 10px 12px; border-radius: 4px; margin: 0; }
.rc-upload-ok   { background: #edf7ed; color: #1e5c1e; border-left: 3px solid #4caf50; }
.rc-upload-warn { background: #fff8e1; color: #7a5500; border-left: 3px solid var(--gold); }
@media (max-width: 600px) {
  .rc-page { padding-top: 92px; }
  .rc-col-x, .rc-items thead .rc-col-x { display: none; }
  .rc-item-sub { display: block; }
  .rc-send, }
@media (min-width: 601px) { .rc-item-sub { display: none; } }

@media print {
  .no-print, header, footer, .nav-drawer, .skip-link, .rc-copy { display: none !important; }
  body { background: #fff !important; }
  .rc-page { padding: 0; max-width: none; }
  .receipt { box-shadow: none; border: 1px solid #000; }
  .receipt::before, .receipt::after { display: none; }
}

/* ── Frame look: one place for moulding thickness + corner radius ── */
:root { --frame-w: 3px; --frame-r: 1px; --set-gap: 4px; }
.bld-summary-thumb { border-radius: var(--frame-r); }
.fstyle-borderless .bld-slot-art, .fstyle-borderless.bld-summary-thumb, .fstyle-borderless .bld-set-art img, .order-item-img.fstyle-borderless img { border-radius: 0; }
/* Set thumbnails sit close together, like the wall preview */
.bld-set-art { gap: var(--set-gap); }
.order-item-img.is-framed { gap: var(--set-gap); }

/* ── Sizes & prices: text-only tiles (no shape visuals) ── */
.pricing-visual-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: stretch; margin-top: 0; }
.pv-card { flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 18px 12px; background: #fff; border: 1px solid var(--border); border-radius: 6px; transition: border-color .2s, transform .2s; }
.pv-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.pv-info { gap: 2px; }
.pv-size { font-size: 20px; }
.pv-price { font-size: 16px; margin-top: 4px; }
@media (max-width: 768px) {
  .pricing-visual-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pv-card { padding: 14px 10px; }
  .pv-size { font-size: 18px; }
}

/* ── Builder pills/tiles: compact (Frames, Size, Style) ── */
.bld-step { padding: 18px 16px 20px; }
.bld-step .size-grid, .option-chips.size-grid { gap: 8px; }
.bld-step .size-grid .chip { padding: 9px 4px 8px; gap: 2px; border-radius: 10px; min-height: 44px; }
.size-grid .chip-size { font-size: 14px; }
.size-grid .chip-price { font-size: 12px; }
.bld-step .style-swatches { gap: 8px; }
.bld-step .swatch { padding: 10px 6px 8px; border-radius: 10px; min-height: 44px; }
.bld-step .swatch-art { width: 40px; height: 50px; margin-bottom: 6px; }
.bld-step .swatch-label { font-size: 13px; }
.bld-step .swatch.selected::after { width: 18px; height: 18px; font-size: 11px; right: 6px; top: 6px; }
.bld-qty { gap: 8px; }
.bld-qty-opt { padding: 12px 6px 10px; gap: 2px; border-radius: 10px; min-height: 44px; }
.bld-qty-art { height: 26px; margin-bottom: 4px; }
.bld-qty-art i { width: 14px; height: 20px; }
.bld-qty-name { font-size: 15px; }
@media (max-width: 600px) {
  .bld-step { padding: 14px 10px 14px; }
  .bld-step .size-grid, .option-chips.size-grid, .bld-step .style-swatches, .bld-qty { gap: 6px; }
  .bld-step .size-grid .chip { padding: 8px 2px 7px; }
  .size-grid .chip-size { font-size: 13px; }
  .size-grid .chip-price { font-size: 11.5px; }
  .bld-step .swatch { padding: 9px 4px 7px; }
  .bld-qty-opt { padding: 12px 4px 9px; }
}

/* Receipt actions: primary under the receipt, secondary below */
.rc-actions { gap: 8px; }
.rc-primary .rc-btn { width: 100%; font-size: 16px; padding: 16px; font-weight: 700; }
.rc-primary .rc-btn[hidden] { display: none; }
.rc-secondary1 .rc-btn { width: 100%; }
.rc-secondary1 .rc-btn[hidden] { display: none; }
.rc-btn-sec { background: #fff; color: #1a7a43; border: 1.5px solid #1f9d55; font-size: 13.5px; padding: 10px 6px; min-height: 44px; }
.rc-btn-sec:hover { background: #f0faf4; }
.rc-continue { display: block; text-align: center; font-size: 13.5px; color: var(--black); text-decoration: underline; margin-top: 6px; padding: 10px; }
.rc-actions .rc-alert { margin: 0; }

/* ═══ Receipt: fancy paper look ═══════════════════════════════════ */
.rc-body {
  background-color: #f6f1e8;
  background-image:
    radial-gradient(rgba(168,137,62,0.10) 1px, transparent 1.2px),
    radial-gradient(ellipse at top, rgba(255,255,255,0.9), rgba(255,255,255,0) 60%);
  background-size: 18px 18px, 100% 100%;
}
.rc-body footer { background-image: none; }
/* drop shadow lives on the wrapper so the scalloped mask keeps it */
.rc-sheet { filter: drop-shadow(0 14px 22px rgba(60,45,20,0.12)) drop-shadow(0 2px 3px rgba(60,45,20,0.10)); }
.receipt {
  --scallop: 7px;
  border: 0; border-radius: 0; box-shadow: none;
  padding: calc(30px + var(--scallop)) clamp(18px, 4.5vw, 40px) calc(26px + var(--scallop));
  background-color: #fffdf8;
  /* fine paper grain + barely-there linen lines */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .25 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E"),
    repeating-linear-gradient(0deg, rgba(168,137,62,0.025) 0 1px, transparent 1px 4px);
  /* scalloped top and bottom edges */
  -webkit-mask:
    radial-gradient(circle at 50% 0, #0000 var(--scallop), #000 calc(var(--scallop) + 0.5px)) top / calc(var(--scallop) * 2.6) 51% repeat-x,
    radial-gradient(circle at 50% 100%, #0000 var(--scallop), #000 calc(var(--scallop) + 0.5px)) bottom / calc(var(--scallop) * 2.6) 51% repeat-x;
          mask:
    radial-gradient(circle at 50% 0, #0000 var(--scallop), #000 calc(var(--scallop) + 0.5px)) top / calc(var(--scallop) * 2.6) 51% repeat-x,
    radial-gradient(circle at 50% 100%, #0000 var(--scallop), #000 calc(var(--scallop) + 0.5px)) bottom / calc(var(--scallop) * 2.6) 51% repeat-x;
}
/* retire the old perforation; ::before = inset double rule, ::after = watermark */
.receipt::before {
  content: ""; position: absolute; top: calc(var(--scallop) + 10px); bottom: calc(var(--scallop) + 10px); left: 10px; right: 10px; height: auto;
  background: none; border: 1px solid rgba(168,137,62,0.55); outline: 1px solid rgba(168,137,62,0.25); outline-offset: 3px;
  pointer-events: none; z-index: 0;
}
.receipt::after {
  content: "HANGA" / ""; position: absolute; inset: 0; bottom: auto; top: 50%; height: auto; left: 50%; right: auto;
  transform: translate(-50%, -50%) rotate(-24deg);
  font-family: "Playfair Display", serif; font-weight: 700; letter-spacing: 0.18em;
  font-size: clamp(64px, 18vw, 150px); line-height: 1; color: #1a1a1a; opacity: 0.045;
  background: none; white-space: nowrap; pointer-events: none; user-select: none; z-index: 0;
}
.receipt > * { position: relative; z-index: 1; }
.rc-head { border-bottom: 0; padding-bottom: 16px; }
.rc-head::after {
  content: ""; display: block; height: 7px; margin: 14px auto 0; max-width: 220px;
  background:
    linear-gradient(var(--gold, #c9a96e), var(--gold, #c9a96e)) center / 100% 1px no-repeat,
    radial-gradient(circle, var(--gold, #c9a96e) 3px, transparent 3.5px) center / 7px 7px no-repeat;
}
.rc-head::after { background-size: 100% 1px, 7px 7px; }
.rc-brand { font-size: 30px; letter-spacing: 5px; }
.rc-addr { color: #5f5a50; }
.rc-ref, .rc-cust, .rc-foot { border-color: rgba(168,137,62,0.45); }
.rc-ref { border-top: 1px dashed rgba(168,137,62,0.45); }
.rc-items th { border-bottom-color: #1a1a1a; color: #5f5a50; }
.rc-items td { border-bottom-color: rgba(168,137,62,0.35); }
.rc-label { color: #6b5a33; }
.rc-meta dt, .rc-totals dt, .rc-status-note, .rc-delivery-note, .rc-item-sub { color: #55524b; }
.rc-grand { border-top: 0; position: relative; padding-top: 10px; }
.rc-grand::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-top: 1.5px solid #1a1a1a; border-bottom: 1px solid #1a1a1a; }
.rc-foot { color: #6b5a33; font-style: italic; }
@media print {
  .rc-body { background: #fff !important; }
  .rc-sheet { filter: none; }
  .receipt { -webkit-mask: none; mask: none; background: #fff; }
  .receipt::after { display: none; }
}

/* ─── Glass nav: hero sits under the floating pill (homepage) ── */
.hero {
  min-height: 100svh;
  margin-top: calc(-1 * var(--nav-space));
  padding-top: calc(var(--nav-space) + 60px);
}
@media (max-width: 600px) {
  :root { --nav-h: 56px; --nav-top: 10px; }
  header { padding: 0 6px 0 20px; }
}

/* ─── Glass pill buttons (match the floating nav) ───────────────
   .btn-primary  = tinted smoky glass (primary, more solid)
   .btn-outline  = clear frosted glass (secondary, used over photos) */
.btn-primary,
.btn-outline {
  border-radius: 999px;
  padding: 14px 30px;
  font-weight: 700;
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  backdrop-filter: blur(14px) saturate(180%);
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.15s, color 0.25s;
}
.btn-primary {
  background: rgba(26, 26, 26, 0.84);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 10px 28px -10px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.btn-primary:hover {
  background: rgba(168, 137, 62, 0.88);          /* gold-dk glass */
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 14px 32px -10px rgba(168, 137, 62, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}
.btn-outline {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 10px 28px -12px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--black);
  border-color: rgba(255, 255, 255, 0.9);
  text-shadow: none;
  transform: translateY(-1px);
}
.btn-primary:active,
.btn-outline:active { transform: translateY(0) scale(0.98); }
.btn-primary:focus-visible,
.btn-outline:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .btn-primary, .btn-outline { transition: none; }
  .btn-primary:hover, .btn-outline:hover, .btn-primary:active, .btn-outline:active { transform: none; }
}
/* No backdrop-filter support: more opaque fills keep text readable */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .btn-primary { background: rgba(26, 26, 26, 0.94); }
  .btn-outline { background: rgba(26, 26, 26, 0.45); }
}

/* ─── Payment success screen (confirmation.html) ─────────────── */
.is-paid-view .rc-intro { display: none; }
.ok-screen {
  max-width: 560px;
  margin: 8px auto 28px;
  padding: 36px clamp(20px, 5vw, 40px) 28px;
  text-align: center;
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 24px 60px -28px rgba(26, 26, 26, 0.35);
}
.ok-check { width: 96px; height: 96px; display: block; margin: 0 auto 18px; }
.ok-ring {
  fill: #e7f4ea; stroke: #2e8b4e; stroke-width: 4;
  stroke-dasharray: 277; stroke-dashoffset: 277;
  transform: rotate(-90deg); transform-origin: 50% 50%;
  animation: okRing 0.7s cubic-bezier(.65,0,.45,1) forwards;
}
.ok-tick {
  fill: none; stroke: #2e8b4e; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 70; stroke-dashoffset: 70;
  animation: okTick 0.45s cubic-bezier(.65,0,.45,1) 0.6s forwards;
}
.ok-check { animation: okPop 0.35s ease-out 1s both; }
@keyframes okRing { to { stroke-dashoffset: 0; } }
@keyframes okTick { to { stroke-dashoffset: 0; } }
@keyframes okPop { 0% { transform: scale(1); } 50% { transform: scale(1.08); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .ok-ring, .ok-tick, .ok-check { animation: none; stroke-dashoffset: 0; }
}
.ok-screen h1 { font-size: clamp(26px, 6vw, 34px); margin-bottom: 8px; outline: none; }
.ok-sub { color: var(--muted); font-size: 15px; line-height: 1.6; margin-bottom: 20px; }
.ok-ref {
  display: inline-flex; flex-direction: column; gap: 4px;
  padding: 12px 22px; border: 1px dashed var(--gold); border-radius: 16px; background: #fff;
  margin-bottom: 18px;
}
.ok-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ok-ref strong { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: clamp(18px, 5vw, 22px); letter-spacing: 0.04em; word-break: break-all; }
.ok-summary {
  display: grid; grid-template-columns: auto 1fr; gap: 8px 16px;
  text-align: left; font-size: 14px; margin: 0 auto 14px; max-width: 440px;
  padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.ok-summary dt { color: var(--muted); white-space: nowrap; }
.ok-summary dd { margin: 0; text-align: right; font-weight: 700; overflow-wrap: anywhere; }
.ok-note { font-size: 13px; color: #1e6b34; min-height: 1em; margin-bottom: 16px; }
.ok-downloads { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.ok-dl { flex: 1 1 200px; max-width: 260px; text-align: center; }
.ok-dl-alt {
  background: #fff; color: var(--black); border: 1px solid var(--black); border-radius: 999px;
  padding: 14px 24px; font-weight: 700;
}
.ok-dl-alt:hover { background: var(--black); color: #fff; }
.ok-dl:disabled { opacity: 0.5; cursor: not-allowed; }
.ok-toggle { margin-top: 18px; }
@media (max-width: 480px) { .ok-dl { max-width: none; flex-basis: 100%; } }

/* ─── Featured Makers empty state ─────────────────────────────── */
.filter-chip-makers { border-style: dashed; }
.makers-empty {
  max-width: 640px; margin: 8px auto 32px; padding: 36px clamp(20px, 5vw, 44px);
  text-align: center; border: 1.5px dashed var(--gold); border-radius: 28px;
  background: linear-gradient(180deg, rgba(200, 169, 110, 0.08), rgba(200, 169, 110, 0.02));
}
.makers-badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-dk); border: 1px solid rgba(168, 137, 62, 0.45); border-radius: 999px; padding: 6px 14px; margin-bottom: 14px;
}
.makers-empty h3 { font-family: "Playfair Display", serif; font-size: clamp(22px, 4.5vw, 28px); line-height: 1.25; margin-bottom: 10px; color: inherit; }
.makers-empty p { color: var(--muted); font-size: 15px; line-height: 1.65; margin: 0 auto 22px; max-width: 480px; }
.gallery-section .makers-empty p { color: #b9b2a6; }
.makers-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.makers-ask { font-weight: 700; font-size: 15px; }
.makers-mail { font-size: 14px; color: inherit; text-decoration: underline; text-underline-offset: 3px; opacity: 0.85; }
.makers-mail:hover { color: var(--gold); }
.gallery-section .makers-empty .btn-primary { background: rgba(168, 137, 62, 0.92); }
.gallery-section .makers-empty .btn-primary:hover { background: var(--gold); }
.gallery-section .makers-empty h3, .gallery-section .makers-ask { color: #fff; }
.gallery-section .makers-mail { color: #e9e2d4; }

/* Receipt header tagline (replaces address/email lines) */
.rc-tagline { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 15px; letter-spacing: 0.02em; }

/* ─── Featured Makers card v2: glass, matching the nav pill ─────── */
.makers-empty {
  position: relative;
  isolation: isolate;
  max-width: 660px;
  margin: 12px auto 36px;
  padding: 40px clamp(22px, 5vw, 48px) 34px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 32px;
  background: rgba(248, 245, 240, 0.62);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  box-shadow:
    0 24px 60px -24px rgba(26, 26, 26, 0.35),
    0 0 0 1px rgba(200, 169, 110, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  animation: makersIn 0.6s cubic-bezier(.2,.7,.2,1) both;
}
/* Gold glow behind the glass */
.makers-empty::before {
  content: ""; position: absolute; inset: -18px; z-index: -1; border-radius: 44px;
  background:
    radial-gradient(60% 70% at 20% 10%, rgba(200, 169, 110, 0.55), transparent 70%),
    radial-gradient(55% 65% at 85% 90%, rgba(168, 137, 62, 0.45), transparent 70%);
  filter: blur(26px); opacity: 0.85; pointer-events: none;
}
/* Thin gold gradient rim */
.makers-empty::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(232, 205, 150, 0.95), rgba(255, 255, 255, 0.15) 40%, rgba(200, 169, 110, 0.8));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.makers-empty .makers-badge {
  background: rgba(255, 255, 255, 0.55); border-color: rgba(168, 137, 62, 0.5);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.makers-empty h3, .gallery-section .makers-empty h3 { font-size: clamp(25px, 5vw, 33px); color: var(--black); }
.makers-empty p, .gallery-section .makers-empty p { color: #4f4a42; }
.makers-ask, .gallery-section .makers-ask { color: var(--black); }
.makers-mail, .gallery-section .makers-mail { color: #4f4a42; opacity: 1; }
.makers-mail:hover, .gallery-section .makers-mail:hover { color: var(--gold-dk); }
/* CTA: glass pill with gold tint + hover lift */
.makers-empty .btn-primary,
.gallery-section .makers-empty .btn-primary {
  background: linear-gradient(135deg, rgba(168, 137, 62, 0.92), rgba(200, 169, 110, 0.88));
  color: #fff; border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 999px;
  padding: 15px 32px;
  -webkit-backdrop-filter: blur(12px) saturate(180%); backdrop-filter: blur(12px) saturate(180%);
  box-shadow: 0 12px 28px -10px rgba(168, 137, 62, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.makers-empty .btn-primary:hover,
.gallery-section .makers-empty .btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(150, 120, 50, 0.95), rgba(200, 169, 110, 0.95));
  box-shadow: 0 18px 36px -12px rgba(168, 137, 62, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
@keyframes makersIn { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .makers-empty { animation: none; }
  .makers-empty .btn-primary:hover { transform: none; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .makers-empty { background: #f8f5f0; }
}
/* Dark homepage gallery: smoky glass variant so the card glows instead of greying out */
.gallery-section .makers-empty {
  background: rgba(38, 34, 28, 0.55);
  border-color: rgba(232, 205, 150, 0.35);
  box-shadow: 0 30px 70px -28px rgba(0, 0, 0, 0.8), 0 0 40px -10px rgba(200, 169, 110, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.gallery-section .makers-empty::before { opacity: 0.6; }
.gallery-section .makers-empty h3 { color: #fff; }
.gallery-section .makers-empty p { color: rgba(255, 255, 255, 0.78); }
.gallery-section .makers-ask { color: #fff; }
.gallery-section .makers-mail { color: rgba(255, 255, 255, 0.7); }
.gallery-section .makers-mail:hover { color: var(--gold); }
.gallery-section .makers-empty .makers-badge { background: rgba(255, 255, 255, 0.08); color: var(--gold); border-color: rgba(200, 169, 110, 0.55); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .gallery-section .makers-empty { background: #26221c; }
}

/* ═══ Premium glass system (every card) ══════════════════════════════
   Light frosted glass on light sections, smoky glass on dark ones.
   Images stay crisp: glass is on the card frame / info area only. */
:root {
  --gl-blur: blur(16px) saturate(170%);
  --gl-light: rgba(255, 255, 255, 0.62);
  --gl-light-inner: rgba(255, 255, 255, 0.55);
  --gl-light-border: rgba(255, 255, 255, 0.75);
  --gl-light-rim: rgba(200, 169, 110, 0.22);
  --gl-light-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 0 0 1px var(--gl-light-rim), 0 14px 38px -18px rgba(26, 26, 26, 0.28);
  --gl-dark: rgba(38, 34, 28, 0.55);
  --gl-dark-border: rgba(232, 205, 150, 0.22);
  --gl-dark-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 18px 44px -20px rgba(0, 0, 0, 0.75);
  --gl-hover-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 0 0 1px rgba(200, 169, 110, 0.55), 0 22px 46px -18px rgba(168, 137, 62, 0.4);
  --gl-radius: 18px;
}

/* Soft warm light behind light sections so the frosting has something to catch */
.hiw2-section, .pricing-section, .faq-section, .customize-layout, .checkout-layout, section.section:not(.gallery-section) {
  background-image:
    radial-gradient(42rem 26rem at 8% 0%, rgba(200, 169, 110, 0.16), transparent 70%),
    radial-gradient(36rem 24rem at 100% 100%, rgba(200, 169, 110, 0.12), transparent 70%);
}
.gallery-section, .values-section {
  background-image:
    radial-gradient(40rem 26rem at 0% 0%, rgba(200, 169, 110, 0.14), transparent 70%),
    radial-gradient(36rem 24rem at 100% 100%, rgba(168, 137, 62, 0.12), transparent 70%) !important;
}

/* Light glass cards */
.hiw2-card, .pv-card, .price-card, .testimonial-card, .faq-list details,
.bld-step, .bld-summary, .order-summary-box, .order-sidebar-box,
.confirm-send, .confirm-transfer, .ok-screen, .pay-panel {
  background: var(--gl-light);
  -webkit-backdrop-filter: var(--gl-blur);
  backdrop-filter: var(--gl-blur);
  border: 1px solid var(--gl-light-border);
  border-radius: var(--gl-radius);
  box-shadow: var(--gl-light-shadow);
}
.ok-screen { border-radius: 28px; }
.pay-panel { border-radius: 14px; }
.pay-panel--paystack { background: rgba(232, 248, 254, 0.6); border-color: rgba(0, 195, 247, 0.28); }
.faq-list details { overflow: hidden; }
.bld-summary.is-ready { border-color: rgba(200, 169, 110, 0.7); box-shadow: var(--gl-hover-shadow); }
.order-sidebar-box .sidebar-header { background: rgba(26, 26, 26, 0.86); -webkit-backdrop-filter: var(--gl-blur); backdrop-filter: var(--gl-blur); }
.ok-ref { background: rgba(255, 255, 255, 0.7); }

/* Inner option cards (inside a glass step): lighter fill, no second blur */
.bld-set, .bld-qty-opt, .bld-step .swatch, .bld-step .size-grid .chip, .bld-step .upload-zone {
  background: var(--gl-light-inner);
  border-color: rgba(200, 169, 110, 0.28);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset, 0 6px 16px -10px rgba(26, 26, 26, 0.18);
}
.bld-set-art { background: rgba(241, 236, 228, 0.7); }
.bld-qty-opt.selected, .bld-step .size-grid .chip.selected {
  background: rgba(26, 26, 26, 0.9); color: #fff; border-color: rgba(26, 26, 26, 0.9);
  box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.35), 0 10px 24px -10px rgba(26, 26, 26, 0.5);
}
.bld-set.selected, .bld-step .swatch.selected { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.35), 0 10px 24px -12px rgba(168, 137, 62, 0.45); }
.bld-step .source-tabs { background: rgba(255, 255, 255, 0.5); border-color: rgba(200, 169, 110, 0.28); }

/* Dark smoky glass cards (gallery, values) */
.gallery-card {
  background: var(--gl-dark);
  -webkit-backdrop-filter: var(--gl-blur);
  backdrop-filter: var(--gl-blur);
  border: 1px solid var(--gl-dark-border);
  border-radius: var(--gl-radius);
  box-shadow: var(--gl-dark-shadow);
}
.gallery-card-body { background: transparent; }
.gallery-card:hover { border-color: rgba(232, 205, 150, 0.6); box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, 0 0 32px -8px rgba(200, 169, 110, 0.35), 0 22px 48px -18px rgba(0, 0, 0, 0.8); }
.value-card {
  padding: 28px 22px;
  background: var(--gl-dark);
  -webkit-backdrop-filter: var(--gl-blur);
  backdrop-filter: var(--gl-blur);
  border: 1px solid var(--gl-dark-border);
  border-radius: var(--gl-radius);
  box-shadow: var(--gl-dark-shadow);
}

/* Hover lift + glow (hiw2 cards already lift via their own animation rules) */
.pv-card, .price-card, .testimonial-card, .faq-list details, .value-card, .bld-step {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.pv-card:hover, .price-card:hover, .testimonial-card:hover, .value-card:hover { transform: translateY(-3px); box-shadow: var(--gl-hover-shadow); border-color: rgba(200, 169, 110, 0.6); }
.value-card:hover { box-shadow: 0 0 32px -8px rgba(200, 169, 110, 0.35), var(--gl-dark-shadow); }
.faq-list details:hover, .bld-step:hover { box-shadow: var(--gl-hover-shadow); }
.hiw2-step:hover .hiw2-card { box-shadow: var(--gl-hover-shadow); border-color: rgba(200, 169, 110, 0.6); }

@media (prefers-reduced-motion: reduce) {
  .pv-card:hover, .price-card:hover, .testimonial-card:hover, .value-card:hover,
  .gallery-card:hover, .bld-set:hover, .bld-qty-opt:hover { transform: none; }
}

/* ─── Floating glass checkout pill (builder + checkout) ─────────── */
.bld-mobilebar, .co-pill {
  display: flex; position: fixed; z-index: 90;
  left: 50%; right: auto; bottom: calc(14px + env(safe-area-inset-bottom));
  width: min(560px, calc(100% - 24px));
  align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 24px;
  border-radius: 999px;
  background: var(--glass-bg, rgba(248, 245, 240, 0.72));
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 1px rgba(200, 169, 110, 0.22), 0 18px 44px -14px rgba(26, 26, 26, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transform: translate(-50%, calc(100% + 40px)); opacity: 0;
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1), opacity 0.25s ease;
}
.bld-mobilebar.is-ready, .co-pill.is-ready { transform: translate(-50%, 0); opacity: 1; }
.bld-mobilebar-total span, .co-pill-total span { display: block; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.bld-mobilebar-total strong, .co-pill-total strong { font-size: 18px; color: var(--black); white-space: nowrap; }
.bld-mobilebar .btn, .co-pill .btn { border-radius: 999px; padding: 13px 26px; white-space: nowrap; flex: none; }
body:has(.bld-mobilebar.is-ready) footer, body:has(.co-pill.is-ready) footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
body:has(.bld-mobilebar.is-ready) .customize-layout { padding-bottom: 96px; }
.co-pill { display: none; }
@media (max-width: 900px) {
  .co-pill { display: flex; }
  body:has(.co-pill.is-ready) .checkout-layout { padding-bottom: 104px; }
}
@media (max-width: 380px) { .bld-mobilebar, .co-pill { padding-left: 18px; } .bld-mobilebar .btn, .co-pill .btn { padding: 12px 18px; } }
@media (prefers-reduced-motion: reduce) { .bld-mobilebar, .co-pill { transition: opacity 0.2s; } }

/* Solid fallback when backdrop-filter is unsupported */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hiw2-card, .pv-card, .price-card, .testimonial-card, .faq-list details, .bld-step, .bld-summary,
  .order-summary-box, .order-sidebar-box, .confirm-send, .confirm-transfer, .ok-screen, .pay-panel { background: #fffdf9; }
  .gallery-card, .value-card { background: #24201b; }
  .bld-mobilebar, .co-pill { background: #f8f5f0; }
}
/* Preview panel frame (room canvas stays crisp inside) */
.frame-preview-wrap {
  background: var(--gl-light);
  -webkit-backdrop-filter: var(--gl-blur); backdrop-filter: var(--gl-blur);
  border: 1px solid var(--gl-light-border); border-radius: var(--gl-radius);
  box-shadow: var(--gl-light-shadow);
}
.frame-preview-wrap canvas { border-radius: 12px; }
/* Keep toasts above the floating pills */
body:has(.bld-mobilebar.is-ready) .toast, body:has(.co-pill.is-ready) .toast { bottom: calc(100px + env(safe-area-inset-bottom)); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .frame-preview-wrap { background: #fffdf9; } }
.delivery-card, .pricing-set-note {
  background: var(--gl-light);
  -webkit-backdrop-filter: var(--gl-blur); backdrop-filter: var(--gl-blur);
  border: 1px solid var(--gl-light-border); box-shadow: var(--gl-light-shadow);
}
.delivery-card { border-radius: 14px; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .delivery-card, .pricing-set-note { background: #fffdf9; } }

/* ─── Mobile keyboard: no focus zoom, no layout jump ─────────── */
/* iOS zooms the page when a focused field's text is under 16px. */
input, textarea, select { font-size: 16px; }
@media (max-width: 900px) {
  .form-group input, .form-group textarea, .form-group select { font-size: 16px; }
  .form-group textarea { resize: none; }
}
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* While typing, floating bottom bars step aside so they don't ride on the keyboard. */
html.kb-open .bld-mobilebar, html.kb-open .co-pill, html.kb-open .toast {
  opacity: 0 !important; pointer-events: none !important; transform: translate(-50%, calc(100% + 40px)) !important;
}
html.kb-open .toast { transform: translateY(20px) !important; }

/* <picture> wrappers (WebP + JPG fallback) behave like the plain <img> they wrap */
.gallery-card picture, .mini-thumb picture { display: block; width: 100%; }
.mini-thumb picture { height: 100%; }

/* ─── Payment mismatch screen (underpaid) ─────────────────────── */
.mm-screen { border-color: rgba(201, 135, 30, 0.45); box-shadow: var(--gl-light-shadow), 0 0 0 1px rgba(201, 135, 30, 0.12) inset; }
.mm-icon { width: 84px; height: 84px; display: block; margin: 0 auto 16px; }
.mm-icon circle { fill: #fdf1dc; stroke: #c9871e; stroke-width: 4; }
.mm-icon path { stroke: #b06f0c; stroke-width: 7; stroke-linecap: round; fill: none; }
.mm-icon .mm-dot { fill: #b06f0c; stroke: none; }
.mm-screen h1 { font-size: clamp(24px, 5.6vw, 32px); margin-bottom: 8px; outline: none; }
.mm-summary dd.mm-due { color: #a5520b; font-size: 16px; }
.mm-wa { display: inline-flex; align-items: center; justify-content: center; width: 100%; max-width: 340px; margin: 6px auto 0; border-radius: 999px; padding: 14px 24px; font-weight: 700; text-decoration: none; }
.mm-fine { font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.is-mismatch-view #receiptWrap, .is-mismatch-view .rc-actions, .is-mismatch-view #transferNote { display: none !important; }

/* ─── Hero legibility (text sits below the framed trio) ───────── */
.hero {
  justify-content: flex-end;
  padding-bottom: clamp(36px, 7svh, 88px);
}
.hero::before { opacity: 0.6; }
/* Frames stay visible at the top; the text area below is calmer */
.hero::after {
  background:
    radial-gradient(ellipse 70% 45% at 50% 68%, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0) 70%),
    linear-gradient(to bottom, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.16) 30%, rgba(0,0,0,0.5) 46%, rgba(0,0,0,0.62) 100%);
}
.hero-content { text-shadow: 0 1px 2px rgba(0,0,0,0.55), 0 2px 18px rgba(0,0,0,0.5); }
.hero-eyebrow {
  color: #f7ead0;
  font-weight: 600;
  letter-spacing: 0.16em;
  margin-bottom: 14px;
}
.hero p {
  color: #fff;
  font-weight: 400;
  margin-bottom: 30px;
}
.hero-facts { color: #fff; font-weight: 500; margin-top: 24px; }
@media (max-width: 600px) {
  .hero h1 { margin-bottom: 14px; }
  .hero p { margin-bottom: 22px; font-size: 15px; line-height: 1.55; }
  .hero-actions { gap: 10px; }
  .hero-facts { margin-top: 18px; gap: 6px 18px; }
}
.hero h1 { font-size: clamp(36px, min(8vw, 8.4svh), 68px); }
@media (max-height: 800px) {
  .hero { padding-bottom: 26px; }
  .hero-eyebrow { margin-bottom: 10px; }
  .hero h1 { margin-bottom: 16px; }
  .hero p { margin-bottom: 20px; }
  .hero-facts { margin-top: 16px; }
}
@media (max-width: 600px) and (max-height: 760px) {
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 14.5px; }
  .hero-actions .btn { padding-top: 12px; padding-bottom: 12px; }
}
