:root {
  --bg: #FAF7F2;
  --surface: #FFFDF9;
  --tinted: #F3ECE2;
  --border: #E6DDD1;
  --border-strong: #D4C7B6;
  --ink: #2F2520;
  --muted: #6C5D53;
  --accent: #A85E6E;
  --accent-hover: #8F4D5C;
  --accent-soft: #F6E6EA;
  --sage: #5E7D67;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(47, 37, 32, 0.05);
  --shadow-md: 0 12px 32px rgba(47, 37, 32, 0.09);
  --shadow-lg: 0 24px 56px rgba(47, 37, 32, 0.16);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
button, input { font-family: inherit; }
a { color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 999;
}
.skip-link:focus { left: 12px; }
.hidden { display: none !important; }

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Announcement */
.announcement-bar {
  background: var(--ink);
  color: #F6EFE6;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding: 9px 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.announcement-bar .dot { opacity: 0.45; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--accent);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand-text small { font-size: 11px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; margin-top: 2px; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.15s ease;
}
.main-nav a:hover, .main-nav a:focus-visible { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.bag-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #FAF7F2;
  border: none; border-radius: 999px;
  padding: 9px 15px;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.bag-btn:hover { background: #43362F; }
.bag-count {
  min-width: 22px; height: 22px;
  border-radius: 999px;
  background: #F5D5DE; color: var(--ink);
  font-size: 12px; font-weight: 700;
  display: grid; place-items: center;
  padding: 0 6px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.16s ease;
}
.btn:focus-visible, button:focus-visible, input:focus-visible, a:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 2px;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--ink); background: #fff; }
.btn-soft { background: var(--accent-soft); color: var(--accent-hover); }
.btn-soft:hover { background: #efd7de; }
.btn-sm { padding: 8px 15px; font-size: 13px; }
.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-block { width: 100%; }

/* Swatches */
.sw {
  display: inline-block; width: 14px; height: 14px; border-radius: 50%;
  border: 1px solid rgba(47, 37, 32, 0.22); flex-shrink: 0;
}
.sw-lg { width: 22px; height: 22px; }
.sw-pink { background: #F5D5DE; }
.sw-blue { background: #C8E0F4; }
.sw-gray { background: #D4D5D9; }
.sw-purple { background: #DBD0EE; }
.sw-white { background: #FAF6EE; }

/* Hero */
.hero { padding: 38px 0 42px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
  margin: 0 0 12px;
}
.hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-lead {
  font-size: 16.5px; color: var(--muted);
  max-width: 540px; margin: 0 0 26px;
}
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }

.hero-palette-preview {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.palette-label { font-size: 12.5px; font-weight: 600; color: var(--muted); margin-right: 2px; }
.mini-swatch-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 5px 11px;
  font-size: 12.5px; font-weight: 600; color: var(--ink);
  cursor: pointer; transition: border-color 0.15s ease;
}
.mini-swatch-pill:hover { border-color: var(--ink); }

.hero-visual { position: relative; }
.hero-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  background: var(--tinted);
}
.hero-real-badge {
  position: absolute;
  top: 14px; right: 14px;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(8px);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-sm);
}
.hero-real-badge .badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.hero-photo-frame img { width: 100%; height: auto; object-fit: cover; }

.hero-float-card {
  position: absolute;
  left: -18px; bottom: 18px;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 253, 249, 0.96);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 10px 14px 10px 10px;
  box-shadow: var(--shadow-md);
}
.hero-float-card img { width: 58px; height: 58px; border-radius: 10px; object-fit: cover; }
.float-tag { display: block; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); }
.hero-float-card strong { display: block; font-size: 14px; }
.hero-float-card small { display: block; font-size: 12px; color: var(--muted); }

.trust-strip {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.trust-item strong { display: block; font-size: 14px; margin-bottom: 2px; }
.trust-item span { display: block; font-size: 12.5px; color: var(--muted); }

/* Sections */
.section { padding: 68px 0; }
.section-tinted { background: var(--tinted); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 28px; flex-wrap: wrap;
}
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.15;
  margin: 0 0 8px;
  font-weight: 600;
}
.section-sub { color: var(--muted); max-width: 660px; margin: 0; font-size: 15px; }
.results-meta {
  font-size: 13.5px; font-weight: 600; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border);
  padding: 7px 14px; border-radius: 999px;
}

/* Filters */
.filter-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 26px;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: var(--shadow-sm);
}
.filter-group-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
}
.filter-group { display: flex; flex-direction: column; gap: 8px; }
.filter-label { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 14px; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all 0.14s ease;
}
.pill:hover { border-color: var(--ink); }
.pill.active { background: var(--ink); color: #FAF7F2; border-color: var(--ink); }

.search-wrap { flex: 1 1 240px; max-width: 340px; }
.search-wrap input {
  width: 100%;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  font-size: 13.5px;
  color: var(--ink);
}

/* Sample Grid */
.sample-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #F4EFE8;
  overflow: hidden;
  border: none; padding: 0; cursor: pointer; width: 100%;
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.25s ease;
}
.product-card:hover .card-media img { transform: scale(1.03); }
.card-badge {
  position: absolute; left: 10px; top: 10px;
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(6px);
  color: var(--ink);
  font-size: 11px; font-weight: 700;
  padding: 4px 9px; border-radius: 999px;
  border: 1px solid rgba(47, 37, 32, 0.1);
}
.card-badge.featured { background: var(--accent); color: #fff; border-color: transparent; }

.card-body { padding: 14px 15px 16px; display: flex; flex-direction: column; flex: 1; }
.card-tags {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11.5px; color: var(--muted); font-weight: 600; margin-bottom: 5px;
}
.card-color-tag { display: inline-flex; align-items: center; gap: 5px; }
.card-title-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  margin-bottom: 3px;
}
.card-title { font-size: 15.5px; font-weight: 700; margin: 0; line-height: 1.25; }
.card-price { font-size: 15px; font-weight: 700; color: var(--ink); }
.card-sub { font-size: 12.5px; color: var(--muted); margin: 0 0 13px; }
.card-actions {
  margin-top: auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.card-actions .btn { padding: 8px 10px; font-size: 12.5px; }

.empty-state {
  text-align: center; padding: 48px 20px;
  background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--radius);
}

/* Custom Builder */
.builder-grid {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 32px;
  align-items: start;
}
.builder-stage-col { position: sticky; top: 92px; }
.builder-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
  background: #F4EFE8;
}
.stage-blanket { width: 100%; height: 100%; object-fit: cover; }

/* Centered cleanly on the folded embossed-heart plush minky blanket (50% X, 53% Y) */
.stage-embroidery {
  position: absolute;
  left: 50%; top: 53%;
  transform: translate(-50%, -50%);
  width: 50%;
  display: flex; flex-direction: column; align-items: center;
  pointer-events: none;
  isolation: isolate;
}
.stage-embroidery::after {
  content: "";
  position: absolute;
  inset: -6%;
  pointer-events: none;
  border-radius: 28%;
  background: radial-gradient(ellipse at 50% 48%, rgba(255, 252, 248, 0.08) 0%, rgba(45, 29, 22, 0.06) 62%, transparent 82%);
  mix-blend-mode: multiply;
}
.stage-name-wrap { width: 92%; margin-bottom: 3%; }
#builderNameSvg {
  width: 100%; height: auto; overflow: visible;
  filter: drop-shadow(0 0.8px 1.2px rgba(42, 26, 18, 0.26)) contrast(0.97) saturate(0.95);
}
#builderNameText {
  font-size: 74px;
  font-weight: 800;
  paint-order: stroke fill;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-width: 11px;
  opacity: 0.96;
}
.stage-animal {
  width: 68%;
  max-height: 248px;
  object-fit: contain;
  filter: url(#stitchAnimalFilter) contrast(0.97) saturate(0.95);
  opacity: 0.97;
}

.stage-caption {
  margin-top: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.stage-caption strong { display: block; font-size: 14.5px; }
.stage-caption span { display: block; font-size: 12.5px; color: var(--muted); }
.stage-price {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 24px !important; font-weight: 600; color: var(--ink) !important;
}

.builder-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 20px;
}
.b-field { display: flex; flex-direction: column; gap: 9px; }
.b-label {
  font-size: 13px; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between;
}
.b-val { font-weight: 600; color: var(--accent); }

.swatch-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
}
.color-tile {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 10px 6px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  font-size: 12px; font-weight: 600; color: var(--ink);
  cursor: pointer; transition: all 0.14s ease;
}
.color-tile:hover { border-color: var(--ink); }
.color-tile.active { border-color: var(--ink); background: #fff; box-shadow: 0 0 0 2px rgba(47,37,32,0.1); }

.animal-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
  gap: 8px;
}
.animal-tile {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 7px 5px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  cursor: pointer; font-size: 11px; font-weight: 600; color: var(--ink);
  transition: all 0.14s ease;
}
.animal-tile img { width: 44px; height: 44px; object-fit: contain; }
.animal-tile:hover { border-color: var(--ink); }
.animal-tile.active { border-color: var(--accent); background: var(--accent-soft); }

.script-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.script-tab {
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg);
  font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.script-tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.name-input {
  width: 100%;
  padding: 12px 15px;
  border-radius: 12px;
  border: 1.5px solid var(--border-strong);
  background: #fff;
  font-size: 18px; font-weight: 600; color: var(--ink);
}
.quick-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-btn {
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg);
  font-size: 12px; font-weight: 600; color: var(--muted); cursor: pointer;
}
.chip-btn:hover { border-color: var(--ink); color: var(--ink); }

.b-field-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.thread-row { display: flex; flex-wrap: wrap; gap: 8px; }
.thread-dot {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid rgba(47,37,32,0.18);
  cursor: pointer; transition: transform 0.12s ease;
}
.thread-dot:hover { transform: scale(1.1); }
.thread-dot.active { outline: 2.5px solid var(--ink); outline-offset: 2px; }

.gift-box-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 14px; padding: 13px 15px;
}
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.checkbox-row input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.checkbox-row strong { display: block; font-size: 13.5px; }
.checkbox-row small { display: block; font-size: 12px; color: var(--muted); }
.gift-note-wrap { margin-top: 10px; }
.gift-note-wrap input {
  width: 100%; padding: 9px 12px; border-radius: 10px;
  border: 1px solid var(--border-strong); background: #fff; font-size: 13.5px;
}

/* Languages & Steps */
.lang-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.lang-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
  display: flex; flex-direction: column;
}
.lang-sample {
  font-family: 'Fredoka', 'Rubik', sans-serif;
  font-size: 24px; font-weight: 700; color: var(--accent);
  margin-bottom: 10px; display: block;
}
.lang-ar { font-family: 'Cairo', sans-serif; }
.lang-zh { font-family: 'Noto Sans SC', sans-serif; }
.lang-card h3 { margin: 0 0 8px; font-size: 17px; }
.lang-card p { margin: 0 0 16px; font-size: 13.5px; color: var(--muted); flex: 1; }
.text-link {
  background: none; border: none; padding: 0; text-align: left;
  color: var(--accent); font-weight: 700; font-size: 13.5px; cursor: pointer;
}
.text-link:hover { text-decoration: underline; }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.step-num {
  display: inline-block; font-family: 'Fraunces', Georgia, serif;
  font-size: 28px; font-weight: 600; color: var(--accent); margin-bottom: 8px;
}
.step-card h3 { margin: 0 0 8px; font-size: 17px; }
.step-card p { margin: 0; font-size: 14px; color: var(--muted); }

/* Footer */
.site-footer {
  background: var(--ink); color: #EFE7DC; padding: 40px 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.footer-brand { font-family: 'Fraunces', Georgia, serif; font-size: 20px; display: block; margin-bottom: 6px; }
.footer-note { margin: 0; font-size: 13.5px; color: #C5B9AD; max-width: 560px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; font-size: 13.5px; font-weight: 600; color: #EFE7DC; }
.footer-links a:hover { text-decoration: underline; }

/* Modals & Drawer */
.modal-backdrop, .drawer-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(34, 24, 19, 0.56);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.drawer-backdrop { justify-content: flex-end; padding: 0; }

.modal-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  width: 100%; max-width: 820px;
  max-height: 92vh; overflow-y: auto;
  box-shadow: var(--shadow-lg);
  padding: 24px;
}
.co-card { max-width: 520px; padding: 28px; }
.modal-close {
  position: absolute; right: 16px; top: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--bg);
  font-size: 22px; line-height: 1; color: var(--ink);
  cursor: pointer; display: grid; place-items: center;
}
.qv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.qv-media img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); }
.qv-badge {
  display: inline-block; background: var(--accent-soft); color: var(--accent-hover);
  font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-bottom: 8px;
}
.qv-body h3 { font-family: 'Fraunces', Georgia, serif; font-size: 26px; margin: 0 0 4px; }
.qv-meta { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.qv-price { font-size: 24px; font-weight: 700; margin-bottom: 14px; }
.qv-specs { padding-left: 18px; margin: 0 0 20px; color: var(--muted); font-size: 13.5px; display: grid; gap: 6px; }
.qv-actions { display: flex; flex-direction: column; gap: 10px; }

.drawer-panel {
  width: 100%; max-width: 420px; height: 100%;
  background: var(--surface);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.drawer-head {
  padding: 18px 20px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  position: relative;
}
.drawer-head h3 { margin: 0; font-family: 'Fraunces', Georgia, serif; font-size: 22px; }
.drawer-head .modal-close { position: static; }

.shipping-bar {
  padding: 12px 20px; background: var(--bg); border-bottom: 1px solid var(--border);
  font-size: 12.5px; font-weight: 600; color: var(--ink);
}
.shipping-track { height: 6px; border-radius: 999px; background: var(--border); margin-top: 7px; overflow: hidden; }
.shipping-fill { height: 100%; width: 0%; background: var(--sage); transition: width 0.25s ease; }

.bag-items { flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 14px; }
.bag-empty { text-align: center; padding: 48px 16px; color: var(--muted); }
.bag-item {
  display: grid; grid-template-columns: 74px 1fr; gap: 12px;
  padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.bag-item img { width: 74px; height: 74px; border-radius: 10px; object-fit: cover; border: 1px solid var(--border); }
.bag-item-title { font-weight: 700; font-size: 14px; display: flex; justify-content: space-between; gap: 8px; }
.bag-item-meta { font-size: 12px; color: var(--muted); margin: 3px 0 8px; }
.bag-qty-row { display: flex; align-items: center; justify-content: space-between; }
.qty-ctrl { display: inline-flex; align-items: center; border: 1px solid var(--border-strong); border-radius: 999px; overflow: hidden; }
.qty-ctrl button { border: none; background: transparent; width: 28px; height: 26px; font-weight: 700; cursor: pointer; }
.qty-ctrl span { min-width: 24px; text-align: center; font-size: 13px; font-weight: 600; }
.remove-link { background: none; border: none; color: var(--muted); font-size: 12px; text-decoration: underline; cursor: pointer; }

.drawer-foot { padding: 16px 20px 22px; border-top: 1px solid var(--border); background: var(--bg); }
.summary-row { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 6px; }
.summary-row.subtle { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.demo-disclaimer { font-size: 11.5px; color: var(--muted); text-align: center; margin: 10px 0 0; }

.co-notice {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 11px 14px; font-size: 13px; color: var(--muted); margin: 10px 0 16px;
}
.co-summary {
  background: var(--tinted); border-radius: 12px; padding: 12px 14px;
  font-size: 13.5px; margin-bottom: 16px; display: grid; gap: 6px;
}
.co-form { display: grid; gap: 12px; }
.co-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.co-form label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 4px; }
.co-form input {
  width: 100%; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--border-strong); font-size: 14px;
}
.co-success { text-align: center; padding: 16px 8px; }
.co-check {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 14px;
  background: var(--sage); color: #fff; font-size: 28px; display: grid; place-items: center;
}
.co-subnote { font-size: 13px; color: var(--muted); margin-bottom: 20px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
  background: var(--ink); color: #FAF7F2;
  padding: 11px 20px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  box-shadow: var(--shadow-md); z-index: 200;
}

/* Responsive */
@media (max-width: 1040px) {
  .sample-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lang-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .main-nav { display: none; }
  .hero-grid, .builder-grid, .qv-grid { grid-template-columns: 1fr; }
  .builder-stage-col { position: static; }
  .hero-float-card { left: 12px; bottom: 12px; }
  .steps-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 15px; }
  .hide-mobile { display: none; }
  .sample-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card-body { padding: 11px; }
  .card-title { font-size: 14px; }
  .card-actions { grid-template-columns: 1fr; gap: 6px; }
  .swatch-grid { grid-template-columns: repeat(5, 1fr); gap: 5px; }
  .color-tile { padding: 8px 3px; font-size: 11px; }
  .b-field-split, .co-row { grid-template-columns: 1fr; }
  .lang-grid, .trust-strip { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
}
