/* ============================================================================
   LayerCraft 3D — storefront styles (site.css)
   Port of the Tailwind classes used by the original React components.
   tokens.css supplies the base reset, font vars, plus the .glass-card, .soft-card,
   .text-gradient, .reveal, .animate-blob, .scroll-slim, .chat-bubble and .lc-toast
   utilities.
   Breakpoints: sm 640px · md 768px · lg 1024px.
   ============================================================================ */

/* ---------- palette (Tailwind v4 oklch values used by the theme) ---------- */
:root {
  --stone-50: oklch(0.985 0.001 106.423);
  --stone-100: oklch(0.97 0.001 106.424);
  --stone-200: oklch(0.923 0.003 48.717);
  --stone-300: oklch(0.869 0.005 56.366);
  --stone-400: oklch(0.709 0.01 56.259);
  --stone-500: oklch(0.553 0.013 58.071);
  --stone-600: oklch(0.444 0.009 73.639);
  --stone-700: oklch(0.374 0.01 67.558);
  --stone-800: oklch(0.293 0.009 67.508);
  --stone-900: oklch(0.216 0.006 56.043);
  --lime-50: oklch(0.986 0.031 120.757);
  --lime-100: oklch(0.967 0.067 122.328);
  --lime-200: oklch(0.938 0.127 124.321);
  --lime-300: oklch(0.897 0.196 126.665);
  --lime-400: oklch(0.841 0.238 128.85);
  --lime-500: oklch(0.768 0.218 130.85);
  --lime-600: oklch(0.648 0.2 131.684);
  --lime-700: oklch(0.532 0.157 131.589);
  --lime-800: oklch(0.443 0.124 130.933);
  --lime-900: oklch(0.405 0.101 131.063);
  --sky-100: oklch(0.951 0.026 236.824);
  --sky-200: oklch(0.901 0.058 230.902);
  --sky-400: oklch(0.746 0.16 232.661);
  --amber-100: oklch(0.962 0.059 95.617);
  --amber-800: oklch(0.473 0.137 46.201);
  --red-50: oklch(0.971 0.013 17.38);
  --red-400: oklch(0.704 0.191 22.216);
  --red-600: oklch(0.577 0.245 27.325);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

/* ---------- base helpers ---------- */
[hidden] { display: none !important; }
body.no-scroll { overflow: hidden; }
.h-full { height: 100%; }
.text-center { text-align: center; }
.text-lime { color: var(--lime-700); }
.mx-auto-max { max-width: 42rem; margin-inline: auto; text-align: center; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.container-7xl {
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 640px) { .container-7xl { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container-7xl { padding-inline: 2rem; } }

/* Site root: flex column so the footer sticks to the viewport bottom (mt-auto). */
#app { display: flex; min-height: 100vh; flex-direction: column; }
.site-main { flex: 1 1 0%; }

/* ---------- boot splash (replaced once data arrives) ---------- */
.boot {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--stone-500);
}
.boot-spinner {
  width: 2.25rem; height: 2.25rem;
  border-radius: 9999px;
  border: 3px solid var(--lime-100);
  border-top-color: var(--lime-600);
  animation: spin 0.8s linear infinite;
}
.boot-text { font-size: 0.875rem; }
.fatal {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem;
  text-align: center;
}
.fatal-title { font-size: 1.125rem; font-weight: 600; color: var(--stone-900); }
.fatal-text { font-size: 0.875rem; color: var(--stone-500); margin-bottom: 0.75rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  min-height: 2.75rem;
  padding: 0 1.5rem;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:disabled { opacity: 0.5; pointer-events: none; }
.btn-lime {
  background: var(--lime-600);
  color: #fff;
}
.btn-lime:hover { background: var(--lime-700); }
.btn-outline {
  border: 1px solid var(--stone-300);
  background: rgb(255 255 255 / 0.8);
  color: var(--stone-800);
}
.btn-outline:hover { background: #fff; }
.btn-outline-sm {
  border: 1px solid var(--stone-300);
  background: #fff;
  color: var(--stone-700);
  font-size: 0.875rem;
  font-weight: 600;
  min-height: 2.5rem;
}
.btn-outline-sm:hover { background: var(--stone-50); }
.btn-block { width: 100%; }
.btn-round { border-radius: 0.75rem; padding: 0 1.5rem; }

.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================================
   NAVBAR
   ============================================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  background: transparent;
  transition: all 0.3s ease;
}
.nav.nav-scrolled {
  background: color-mix(in oklab, white 72%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgb(255 255 255 / 0.6);
  box-shadow: 0 8px 30px rgb(23 23 20 / 0.06);
}
.nav-inner {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.nav-brand {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.625rem;
  border-radius: 0.5rem;
}
.nav-brand-icon {
  display: flex;
  height: 2.25rem; width: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: rgb(132 204 22 / 0.15);
  color: var(--lime-700);
}
.nav-brand-name,
.footer-name {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--stone-900);
}
.nav-links { display: none; align-items: center; gap: 0.25rem; }
.nav-link {
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--stone-600);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav-link:hover { background: rgb(255 255 255 / 0.6); color: var(--stone-900); }
.nav-actions { display: flex; align-items: center; gap: 0.375rem; }
.nav-icon-btn {
  position: relative;
  display: flex;
  height: 2.75rem; width: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  color: var(--stone-600);
  transition: color 0.2s ease;
}
.nav-icon-btn:hover { color: var(--lime-700); }
.cart-badge {
  position: absolute;
  top: -2px; right: -2px;
  display: flex;
  height: 1.25rem;
  min-width: 1.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--lime-600);
  padding: 0 0.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  box-shadow: 0 0 0 2px #fff;
}
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-actions { gap: 0.5rem; }
  .nav-burger { display: none; }
}

/* ---------- mobile menu sheet (slides from the left) ---------- */
.sheet {
  position: absolute;
  inset-block: 0;
  left: 0;
  z-index: 50;
  display: flex;
  height: 100%;
  width: 18rem;
  max-width: 85vw;
  flex-direction: column;
  gap: 1rem;
  border-right: 1px solid var(--border);
  background: var(--background);
  padding: 1rem;
  box-shadow: var(--shadow-xl);
  animation: sheet-in-left 0.3s ease;
  overflow-y: auto;
}
.sheet-header { padding: 0.25rem 0.25rem 0; }
.sheet-title { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.025em; }
.sheet-nav { display: flex; flex-direction: column; gap: 0.25rem; padding-inline: 0.25rem; }
.sheet-link {
  min-height: 2.75rem;
  border-radius: 0.5rem;
  padding: 0 0.75rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  color: var(--stone-700);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.sheet-link:hover { background: var(--lime-50); color: var(--stone-900); }
.sheet-wa {
  margin-top: 0.75rem;
  display: inline-flex;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  background: var(--lime-600);
  padding: 0 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  transition: background-color 0.2s ease;
}
.sheet-wa:hover { background: var(--lime-700); }
.sheet-note {
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.75rem;
  font-size: 0.75rem;
  color: var(--stone-400);
}
@keyframes sheet-in-left {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

/* ============================================================================
   HERO
   ============================================================================ */
.hero { position: relative; overflow: hidden; }
.hero-bg { pointer-events: none; position: absolute; inset: 0; }
.hero-grid-mask {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(to right, rgb(0 0 0 / 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(0 0 0 / 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}
.hero-blob { position: absolute; border-radius: 9999px; filter: blur(64px); }
.hero-blob-1 { top: -6rem; left: -6rem; height: 24rem; width: 24rem; background: rgb(217 249 157 / 0.4); }
.hero-blob-2 { top: 8rem; right: -8rem; height: 28rem; width: 28rem; background: rgb(186 230 253 / 0.4); }
.hero-blob-3 { bottom: 0; left: 33%; height: 18rem; width: 18rem; background: rgb(236 252 203 / 0.5); }
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 3rem;
  padding-bottom: 4rem;
  padding-top: 2.5rem;
}
.hero-copy { max-width: 36rem; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--lime-200);
  border-radius: 9999px;
  background: rgb(247 254 231 / 0.8);
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime-800);
}
.hero-title {
  margin-top: 1.25rem;
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--stone-900);
}
.hero-sub { margin-top: 1.25rem; font-size: 1rem; line-height: 1.625; color: var(--stone-600); }
.hero-ctas { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.hero-cta-primary {
  display: inline-flex;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: var(--lime-600);
  padding: 0 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 10px 15px -3px rgb(132 204 22 / 0.2), 0 4px 6px -4px rgb(132 204 22 / 0.2);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.hero-cta-primary:hover { background: var(--lime-700); transform: translateY(-2px); }
.hero-cta-secondary {
  display: inline-flex;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--stone-300);
  border-radius: 0.75rem;
  background: rgb(255 255 255 / 0.7);
  padding: 0 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--stone-800);
  backdrop-filter: blur(8px);
  transition: background-color 0.2s ease;
}
.hero-cta-secondary:hover { background: #fff; }
.hero-cta-secondary svg { color: var(--lime-600); }
.hero-chips { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 9999px;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--stone-700);
}
.hero-chip svg { color: var(--lime-600); }

.hero-collage { position: relative; margin-inline: auto; width: 100%; max-width: 28rem; }
.collage-stage { position: relative; height: 26rem; }
.collage-img {
  position: absolute;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0 24px 60px rgb(23 23 20 / 0.16);
  transition: transform 0.5s ease;
}
.collage-img:hover { transform: scale(1.04) rotate(0deg) !important; }
.collage-a { top: 0; left: 0; width: 58%; transform: rotate(-6deg); }
.collage-b { top: 14%; right: 0; width: 52%; transform: rotate(5deg); box-shadow: 0 24px 60px rgb(23 23 20 / 0.18); }
.collage-c { bottom: 0; left: 22%; width: 50%; transform: rotate(2deg); }
.collage-photo { width: 100%; object-fit: cover; }
.collage-photo-tall { aspect-ratio: 4 / 5; }
.collage-photo-square { aspect-ratio: 1 / 1; }
.collage-chip {
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 1rem;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--stone-800);
}
.collage-chip-price { color: var(--lime-700); }
.collage-chip-dot { height: 0.25rem; width: 0.25rem; border-radius: 9999px; background: var(--stone-300); }
.collage-chip-note { font-weight: 500; color: var(--stone-500); }

@media (min-width: 640px) {
  .hero-inner { padding-top: 3.5rem; }
  .hero-title { font-size: 3rem; line-height: 1; }
  .hero-sub { font-size: 1.125rem; }
  .hero-ctas { flex-direction: row; }
  .hero-cta-primary, .hero-cta-secondary { height: 3rem; }
  .collage-stage { height: 30rem; }
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; padding-bottom: 6rem; padding-top: 5rem; }
  .hero-title { font-size: 3.4rem; line-height: 1.08; }
  .collage-stage { height: 34rem; }
  .hero-collage { max-width: none; }
}

/* ============================================================================
   TRUST BAR (static strip — no marquee)
   ============================================================================ */
.trust-bar {
  border-top: 1px solid rgb(231 229 228 / 0.8);
  border-bottom: 1px solid rgb(231 229 228 / 0.8);
  background: rgb(255 255 255 / 0.6);
  padding-block: 0.875rem;
}
.trust-list {
  max-width: 72rem;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 0.5rem;
  row-gap: 0.375rem;
  padding-inline: 1rem;
}
.trust-item { display: flex; align-items: center; gap: 0.5rem; }
.trust-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--stone-500);
}
.trust-dot { height: 0.25rem; width: 0.25rem; flex-shrink: 0; border-radius: 9999px; background: rgb(163 230 53 / 0.7); }

/* ============================================================================
   SECTION SCAFFOLDING
   ============================================================================ */
.section { padding-block: 4rem; }
.scroll-mt { scroll-margin-top: 5rem; }
.bg-white { background: #fff; }
@media (min-width: 640px) { .section { padding-block: 5rem; } }

.section-head { margin-inline: auto; margin-bottom: 2.5rem; max-width: 42rem; text-align: center; }
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime-700);
}
.section-title {
  margin-top: 0.5rem;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--stone-900);
}
.section-sub { margin-top: 0.75rem; font-size: 1rem; line-height: 1.625; color: var(--stone-600); }
@media (min-width: 640px) { .section-title { font-size: 2.25rem; line-height: 2.5rem; } }

/* ============================================================================
   SHOP: category strip, controls, grid
   ============================================================================ */
.shop-controls-wrap { display: flex; flex-direction: column; gap: 1.25rem; }

.cat-strip {
  margin-inline: -1rem;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0 1rem 0.25rem;
}
.cat-pill {
  min-height: 2.25rem;
  flex-shrink: 0;
  border: 1px solid var(--stone-200);
  border-radius: 9999px;
  background: #fff;
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--stone-600);
  transition: all 0.2s ease;
}
.cat-pill:hover { border-color: var(--lime-300); color: var(--stone-900); }
.cat-pill.active {
  background: var(--lime-600);
  border-color: var(--lime-600);
  color: #fff;
  box-shadow: 0 4px 6px -1px rgb(100 116 139 / 0.1), 0 2px 4px -2px rgb(132 204 22 / 0.25);
}
.cat-pill.active:hover { background: var(--lime-700); }
@media (min-width: 640px) {
  .cat-strip { margin-inline: 0; flex-wrap: wrap; overflow-x: visible; padding-inline: 0; }
}

.shop-controls { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .shop-controls { flex-direction: row; align-items: center; } }

.search-wrap { position: relative; flex: 1 1 0%; }
.search-icon {
  position: absolute;
  top: 50%;
  left: 0.75rem;
  transform: translateY(-50%);
  color: var(--stone-400);
  display: flex;
}
.search-input {
  height: 2.75rem;
  width: 100%;
  border: 1px solid var(--stone-200);
  border-radius: 0.75rem;
  background: #fff;
  padding: 0 0.75rem 0 2.25rem;
  font-size: 0.875rem;
  color: var(--stone-800);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.search-input::placeholder { color: var(--stone-400); }
.search-input:focus { border-color: var(--lime-400); box-shadow: 0 0 0 3px rgb(132 204 22 / 0.2); }
.search-input::-webkit-search-cancel-button { -webkit-appearance: none; }

.select-wrap { position: relative; }
.sort-select {
  height: 2.75rem;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--stone-200);
  border-radius: 0.75rem;
  background: #fff;
  padding: 0 2.25rem 0 0.75rem;
  font-size: 0.875rem;
  color: var(--stone-800);
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2378716c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
}
.sort-select:focus { border-color: var(--lime-400); box-shadow: 0 0 0 3px rgb(132 204 22 / 0.2); }
@media (min-width: 640px) { .sort-select { width: 13rem; } }

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- product card ---------- */
.product-card {
  display: flex;
  height: 100%;
  cursor: pointer;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1rem;
}
.pc-media { position: relative; overflow: hidden; }
.pc-img-btn { display: block; width: 100%; cursor: pointer; }
.pc-img { aspect-ratio: 1 / 1; width: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .pc-img { transform: scale(1.05); }
.pc-badges-left {
  pointer-events: none;
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 0.375rem;
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.badge-quote { background: rgb(253 230 138 / 0.95); color: var(--amber-800); box-shadow: 0 1px 2px rgb(0 0 0 / 0.05); }
.badge-featured {
  pointer-events: none;
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  background: rgb(101 163 13 / 0.95);
  color: #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}
.pc-body { display: flex; flex: 1 1 0%; flex-direction: column; gap: 0.5rem; padding: 1.25rem; }
.pc-cat {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone-400);
}
.pc-name { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.025em; color: var(--stone-900); }
.pc-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--stone-500);
}
.pc-meta { margin-top: auto; display: flex; flex-direction: column; gap: 0.75rem; padding-top: 0.5rem; }
.pc-pricerow { display: flex; align-items: flex-end; justify-content: space-between; gap: 0.5rem; }

.price-price { font-weight: 600; color: var(--stone-900); }
.price-quote { font-weight: 500; color: var(--lime-700); }
.price-dash { font-weight: 400; color: var(--stone-400); }
.price-lg { font-size: 1rem; }
.price-xl { font-size: 1.25rem; }

.color-dots { display: flex; align-items: center; }
.color-dot {
  display: inline-block;
  height: 1rem; width: 1rem;
  border-radius: 9999px;
  border: 1px solid var(--stone-200);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
  margin-left: -0.25rem;
  background-clip: padding-box;
}
.color-dot:first-child { margin-left: 0; }
.color-more { margin-left: 0.25rem; font-size: 0.6875rem; font-weight: 500; color: var(--stone-400); }

.material-chips { display: flex; flex-wrap: wrap; gap: 0.25rem; }
.material-chip {
  border: 1px solid var(--stone-200);
  border-radius: 9999px;
  padding: 0.125rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  color: var(--stone-500);
}

.pc-actions { display: flex; align-items: center; gap: 0.5rem; padding-top: 0.25rem; }
.pc-view {
  height: 2.75rem;
  flex: 1 1 0%;
  border-radius: 0.5rem;
  padding: 0 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--stone-700);
  transition: color 0.2s ease;
}
.pc-view:hover { color: var(--stone-900); }
.pc-custom {
  height: 2.75rem;
  flex: 1 1 0%;
  border-radius: 0.5rem;
  background: var(--lime-600);
  padding: 0 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  transition: background-color 0.2s ease;
}
.pc-custom:hover { background: var(--lime-700); }
.pc-add {
  height: 2.75rem;
  width: 2.75rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--stone-200);
  border-radius: 0.5rem;
  color: var(--stone-600);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.pc-add:hover { border-color: var(--lime-400); color: var(--lime-700); }

/* ---------- grid empty state ---------- */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  border-radius: 1rem;
  padding: 4rem 1.5rem;
  text-align: center;
}
.empty-icon {
  display: flex;
  height: 3.5rem; width: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: var(--lime-50);
  color: var(--lime-600);
}
.empty-title { font-size: 1.125rem; font-weight: 600; color: var(--stone-900); }
.empty-text { margin-top: 0.25rem; font-size: 0.875rem; color: var(--stone-500); }
.btn-outline-empty { height: 2.75rem; border-radius: 0.75rem; border: 1px solid var(--stone-300); background: #fff; padding: 0 1.25rem; font-weight: 500; color: var(--stone-800); }
.btn-outline-empty:hover { background: var(--stone-50); }

/* ============================================================================
   OVERLAYS (shared backdrop, modals, close button)
   ============================================================================ */
.overlay { position: fixed; inset: 0; z-index: 50; overflow: hidden; }
.overlay.z-checkout { z-index: 60; }
.overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 0.5);
  animation: overlay-in 0.2s ease;
}
.overlay > .modal,
.overlay > .drawer,
.overlay > .sheet { z-index: 1; }
.overlay-closing .overlay-backdrop,
.overlay-closing .modal,
.overlay-closing .drawer,
.overlay-closing .sheet { opacity: 0; transition: opacity 0.15s ease; }

@keyframes overlay-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: calc(100% - 2rem);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--background);
  box-shadow: var(--shadow-lg);
  animation: modal-in 0.2s ease;
}
@keyframes modal-in {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.95); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.overlay-x {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 5;
  display: flex;
  height: 2rem; width: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.25rem;
  color: var(--stone-500);
  opacity: 0.7;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}
.overlay-x:hover { opacity: 1; background: var(--stone-100); }

/* ============================================================================
   PRODUCT DETAIL MODAL (must scroll on desktop AND mobile)
   ============================================================================ */
.modal-detail { max-width: 48rem; padding: 0; max-height: 92vh; overflow: hidden; }
.dm-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-height: 92vh;
  overflow-y: auto;
}
.dm-gallery { display: flex; flex-direction: column; gap: 0.75rem; background: rgb(250 250 249 / 0.7); padding: 1.25rem; }
.dm-main-img { overflow: hidden; border: 1px solid var(--stone-100); border-radius: 1rem; background: #fff; }
.dm-photo { aspect-ratio: 1 / 1; width: 100%; object-fit: cover; }
.dm-thumbs { display: flex; gap: 0.5rem; }
.dm-thumb {
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 0.5rem;
  opacity: 0.7;
  transition: all 0.2s ease;
}
.dm-thumb:hover { opacity: 1; }
.dm-thumb.active { border-color: var(--lime-500); opacity: 1; }
.dm-thumb-img { height: 4rem; width: 4rem; object-fit: cover; }
.dm-info { display: flex; flex-direction: column; gap: 1rem; padding: 1.25rem; }
.dm-name { margin-top: 0.25rem; font-size: 1.5rem; line-height: 2rem; font-weight: 600; letter-spacing: -0.025em; color: var(--stone-900); }
.price-caption { margin-top: 0.375rem; font-size: 0.75rem; line-height: 1.625; color: var(--stone-400); }
.dm-paragraphs { display: flex; flex-direction: column; gap: 0.75rem; }
.dm-paragraphs p { font-size: 0.875rem; line-height: 1.625; color: var(--stone-600); white-space: pre-wrap; }
.chip-label {
  margin-bottom: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: var(--stone-500);
}
.chip-list { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid var(--stone-200);
  border-radius: 0.375rem;
  background: #fff;
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--stone-600);
}
.chip svg { color: var(--lime-600); }
.dm-materials { display: flex; flex-direction: column; gap: 0.375rem; }
.dm-materials li { font-size: 0.875rem; line-height: 1.625; color: var(--stone-600); }
.dm-mat-name { font-weight: 500; color: var(--stone-800); }
.dm-mat-tech { font-size: 0.75rem; color: var(--stone-400); }
.dm-mat-rec {
  margin-left: 0.375rem;
  border-radius: 9999px;
  background: var(--lime-100);
  padding: 0.125rem 0.375rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: var(--lime-800);
}
.dm-mat-detail { color: var(--stone-500); }
.dm-actions { margin-top: auto; display: flex; flex-direction: column; gap: 0.5rem; padding-top: 0.5rem; }
.dm-btn { flex: 1 1 0%; height: 2.75rem; }
.dm-bag { color: var(--stone-400); display: flex; }
.dm-note { display: flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; color: var(--stone-400); }
.dm-note svg { flex-shrink: 0; }
@media (min-width: 768px) {
  .dm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dm-gallery, .dm-info { padding: 1.5rem; }
  .dm-actions { flex-direction: row; }
}

/* ============================================================================
   CUSTOMISE MODAL
   ============================================================================ */
.modal-customize {
  max-width: 42rem;
  display: flex;
  max-height: 92vh;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}
.cm-header { flex-shrink: 0; border-bottom: 1px solid var(--stone-100); padding: 1rem 1.5rem; }
.cm-title { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.025em; }
.cm-desc { margin-top: 0.25rem; font-size: 0.875rem; color: var(--stone-500); }
.cm-body { flex: 1 1 0%; min-height: 0; overflow-y: auto; padding: 1.25rem 1.5rem; }
.cm-stack { display: flex; flex-direction: column; gap: 1.5rem; }

.cm-quote-note { border: 1px solid var(--lime-200); border-radius: 0.75rem; background: rgb(247 254 231 / 0.7); padding: 0.75rem 1rem; font-size: 0.875rem; color: var(--lime-900); }
.cm-quote-title { font-weight: 500; }
.cm-quote-text { margin-top: 0.25rem; color: var(--lime-800); }

.field-label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--stone-800); }
.field-optional { font-weight: 400; color: var(--stone-400); }
.field-hint { margin-top: 0.25rem; font-size: 0.75rem; color: var(--stone-400); }
.hint-note { margin-top: 0.5rem; font-size: 0.75rem; line-height: 1.625; color: var(--stone-400); }
.hint-strong { font-weight: 500; color: var(--stone-500); }

.variant-grid { margin-top: 0.625rem; display: grid; grid-template-columns: 1fr; gap: 0.5rem; }
@media (min-width: 640px) { .variant-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.variant-card {
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid var(--stone-200);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  text-align: left;
  transition: all 0.2s ease;
}
.variant-card:hover { border-color: var(--lime-300); }
.variant-card.selected { border-color: var(--lime-500); background: rgb(247 254 231 / 0.6); box-shadow: 0 0 0 1px var(--lime-500); }
.variant-main { min-width: 0; }
.variant-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.875rem; font-weight: 500; color: var(--stone-900); }
.variant-size { display: block; font-size: 0.75rem; color: var(--stone-400); }
.variant-side { display: flex; flex-shrink: 0; align-items: center; gap: 0.5rem; }
.variant-price { font-size: 0.875rem; font-weight: 600; color: var(--stone-900); }
.radio-ring { display: flex; height: 1.125rem; width: 1.125rem; align-items: center; justify-content: center; border-radius: 9999px; border: 2px solid var(--stone-300); }
.radio-ring.on { border-color: var(--lime-600); }
.radio-ring-inner { height: 0.5rem; width: 0.5rem; border-radius: 9999px; background: var(--lime-600); }

.material-list { margin-top: 0.625rem; display: grid; grid-template-columns: 1fr; gap: 0.5rem; }
.material-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid var(--stone-200);
  border-radius: 0.75rem;
  background: #fff;
  padding: 0.75rem 1rem;
  text-align: left;
  transition: all 0.2s ease;
}
.material-card:hover { border-color: var(--lime-300); }
.material-card.selected { border-color: var(--lime-500); background: rgb(247 254 231 / 0.6); box-shadow: 0 0 0 1px var(--lime-500); }
.mat-main { min-width: 0; }
.mat-name-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.mat-name { font-size: 0.875rem; font-weight: 600; color: var(--stone-900); }
.mat-tech { font-size: 0.6875rem; font-weight: 500; color: var(--stone-400); }
.rec-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 9999px;
  background: var(--lime-100);
  padding: 0.125rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: var(--lime-800);
}
.mat-tag { margin-top: 0.125rem; display: block; font-size: 0.75rem; line-height: 1.625; color: var(--stone-500); }
.radio-dot { margin-top: 0.125rem; display: flex; height: 1.125rem; width: 1.125rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 9999px; border: 2px solid var(--stone-300); }
.radio-dot.on { border-color: var(--lime-600); }
.radio-dot-inner { height: 0.5rem; width: 0.5rem; border-radius: 9999px; background: var(--lime-600); }

.color-grid { margin-top: 0.625rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.color-swatch { display: flex; width: 4rem; flex-direction: column; align-items: center; gap: 0.375rem; border-radius: 0.75rem; }
.swatch-circle {
  height: 2.25rem; width: 2.25rem;
  border: 1px solid var(--stone-200);
  border-radius: 9999px;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
  transition: all 0.2s ease;
}
.swatch-circle.selected { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--lime-500); }
.swatch-name { text-align: center; font-size: 0.6875rem; line-height: 1.25; color: var(--stone-500); }
.swatch-name.selected { font-weight: 600; color: var(--stone-900); }

.qty-row { margin-top: 0.625rem; display: flex; align-items: center; gap: 0.5rem; }
.step-btn {
  height: 2.75rem; width: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--stone-200);
  border-radius: 0.75rem;
  color: var(--stone-700);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.step-btn:hover { border-color: var(--lime-300); background: var(--lime-50); }
.qty-input {
  height: 2.75rem;
  width: 5rem;
  border: 1px solid var(--stone-200);
  border-radius: 0.75rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--stone-900);
  outline: none;
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-input:focus { border-color: var(--lime-400); box-shadow: 0 0 0 3px rgb(132 204 22 / 0.2); }

.cm-text { margin-top: 0.625rem; }
.input {
  height: 2.75rem;
  width: 100%;
  border: 1px solid var(--stone-200);
  border-radius: 0.75rem;
  background: #fff;
  padding: 0 0.75rem;
  font-size: 0.875rem;
  color: var(--stone-800);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input::placeholder { color: var(--stone-400); }
.input:focus { border-color: var(--lime-400); box-shadow: 0 0 0 3px rgb(132 204 22 / 0.2); }
.textarea {
  width: 100%;
  border: 1px solid var(--stone-200);
  border-radius: 0.75rem;
  background: #fff;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--stone-800);
  outline: none;
  resize: vertical;
  min-height: 4rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.textarea::placeholder { color: var(--stone-400); }
.textarea:focus { border-color: var(--lime-400); box-shadow: 0 0 0 3px rgb(132 204 22 / 0.2); }

.upload-zone {
  margin-top: 0.625rem;
  display: flex;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 2px dashed var(--stone-200);
  border-radius: 0.75rem;
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--lime-600);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.upload-zone:hover { border-color: var(--lime-400); background: rgb(247 254 231 / 0.4); }
.upload-zone.full { pointer-events: none; opacity: 0.5; }
.upload-hint { font-size: 0.875rem; color: var(--stone-500); }
.upload-list { margin-top: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.upload-thumb { position: relative; }
.upload-img { height: 4rem; width: 4rem; border: 1px solid var(--stone-200); border-radius: 0.5rem; object-fit: cover; }
.upload-thumb.pending .upload-img { opacity: 0.6; }
.upload-remove {
  position: absolute;
  top: -0.375rem; right: -0.375rem;
  display: flex;
  height: 1.25rem; width: 1.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--stone-800);
  color: #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
  transition: background-color 0.2s ease;
}
.upload-remove:hover { background: var(--red-600); }
.upload-spinner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime-600);
}

.cm-footer { flex-shrink: 0; border-top: 1px solid var(--stone-100); background: #fff; padding: 1rem 1.5rem; }
.cm-footer-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cm-total-label { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.025em; text-transform: uppercase; color: var(--stone-400); }
.cm-total { font-size: 1.125rem; font-weight: 600; color: var(--stone-900); }
.cm-total-note { margin-top: 0.125rem; font-size: 0.6875rem; color: var(--stone-400); }
.cm-add { height: 2.75rem; min-width: 10rem; }

/* ============================================================================
   CART DRAWER
   ============================================================================ */
.drawer {
  position: absolute;
  inset-block: 0;
  right: 0;
  z-index: 50;
  display: flex;
  height: 100%;
  width: 100%;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid var(--border);
  background: var(--background);
  box-shadow: var(--shadow-xl);
  animation: drawer-in-right 0.3s ease;
}
@keyframes drawer-in-right {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
@media (min-width: 640px) { .drawer { max-width: 28rem; } }
.drawer-header { flex-shrink: 0; border-bottom: 1px solid var(--stone-100); padding: 1rem 1.25rem; }
.drawer-title { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.025em; color: var(--stone-900); }
.drawer-count { font-size: 0.875rem; font-weight: 400; color: var(--stone-400); }
.drawer-desc { margin-top: 0.25rem; font-size: 0.875rem; color: var(--stone-500); }
.drawer-body { display: flex; flex: 1 1 0%; flex-direction: column; min-height: 0; }

.cart-lines { flex: 1 1 0%; min-height: 0; overflow-y: auto; padding: 0.5rem 1.25rem; }
.cart-line { display: flex; gap: 0.75rem; padding-block: 1rem; }
.cart-line + .cart-line { border-top: 1px solid var(--stone-100); }
.cl-thumb { height: 5rem; width: 5rem; flex-shrink: 0; border: 1px solid var(--stone-100); border-radius: 0.75rem; object-fit: cover; }
.cl-main { display: flex; min-width: 0; flex: 1 1 0%; flex-direction: column; gap: 0.25rem; }
.cl-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem; }
.cl-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.875rem; font-weight: 600; color: var(--stone-900); }
.cl-remove {
  display: flex;
  height: 1.75rem; width: 1.75rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  color: var(--stone-400);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.cl-remove:hover { background: var(--red-50); color: var(--red-600); }
.cl-summary { font-size: 0.75rem; color: var(--stone-500); }
.cl-custom {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.75rem;
  color: var(--stone-400);
}
.cl-bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding-top: 0.25rem; }
.qty-box { display: flex; align-items: center; border: 1px solid var(--stone-200); border-radius: 0.5rem; }
.qty-btn {
  display: flex;
  height: 2.25rem; width: 2.25rem;
  align-items: center;
  justify-content: center;
  color: var(--stone-500);
  transition: color 0.2s ease;
}
.qty-btn:hover:not(:disabled) { color: var(--stone-900); }
.qty-btn:disabled { opacity: 0.4; }
.qty-val { width: 2rem; text-align: center; font-size: 0.875rem; font-weight: 600; color: var(--stone-900); }
.cl-price { font-size: 0.875rem; font-weight: 600; color: var(--stone-900); }

.drawer-footer { flex-shrink: 0; border-top: 1px solid var(--stone-100); background: #fff; padding: 1rem 1.25rem; }
.drawer-totals { display: flex; flex-direction: column; gap: 0.375rem; font-size: 0.875rem; }
.sum-row { display: flex; align-items: center; justify-content: space-between; color: var(--stone-500); }
.sum-value { font-weight: 600; color: var(--stone-900); }
.sum-est { font-size: 1rem; font-weight: 600; color: var(--stone-900); }
.sum-plus { margin-left: 0.375rem; font-size: 0.75rem; font-weight: 500; color: var(--lime-700); }
.drawer-note { font-size: 0.75rem; color: var(--stone-400); }
.drawer-ship { margin-top: 0.25rem; font-size: 0.75rem; line-height: 1.625; color: var(--stone-400); }
.drawer-sep { margin-block: 0.875rem; border-top: 1px solid var(--border); }
.drawer-footer .btn-block { height: 2.75rem; }

.cart-empty {
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-inline: 1.5rem;
  text-align: center;
}
.cart-empty-icon {
  display: flex;
  height: 4rem; width: 4rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: var(--lime-50);
  color: var(--lime-600);
}
.cart-empty-title { font-size: 1.125rem; font-weight: 600; color: var(--stone-900); }
.cart-empty-text { margin-top: 0.25rem; font-size: 0.875rem; color: var(--stone-500); }

/* ============================================================================
   STICKY CART BAR (mobile only)
   ============================================================================ */
.sticky-bar {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 40;
  padding-bottom: env(safe-area-inset-bottom);
}
.sticky-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-lg);
}
.sticky-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.875rem; font-weight: 600; color: var(--stone-800); }
.sticky-view { height: 2.75rem; flex-shrink: 0; padding: 0 1rem; border-radius: 0.75rem; }
@media (min-width: 768px) { .sticky-bar { display: none; } }

/* ============================================================================
   CHECKOUT DIALOG
   ============================================================================ */
.modal-checkout { max-width: 32rem; padding: 1.5rem; max-height: 90vh; overflow-y: auto; }
.modal-head { display: flex; flex-direction: column; gap: 0.5rem; text-align: left; margin-bottom: 0.5rem; }
.modal-title { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.025em; }
.modal-sub { font-size: 0.875rem; color: var(--stone-500); }
.co-empty { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding-block: 2rem; text-align: center; font-size: 0.875rem; color: var(--stone-500); }

.co-form { display: flex; flex-direction: column; gap: 1.5rem; }
.co-summary { border: 1px solid var(--stone-200); border-radius: 0.75rem; background: rgb(250 250 249 / 0.7); padding: 1rem; }
.co-sum-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.025em; text-transform: uppercase; color: var(--stone-500); }
.co-lines { margin-top: 0.5rem; display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.875rem; color: var(--stone-700); }
.co-line { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.co-line-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co-qty { color: var(--stone-400); }
.co-line-price { flex-shrink: 0; font-weight: 500; }
.co-sep { margin-block: 0.625rem; border-top: 1px solid var(--border); }
.co-total-row { font-size: 0.875rem; }
.co-ship-note { margin-top: 0.375rem; font-size: 0.75rem; line-height: 1.625; color: var(--stone-400); }

.co-fields { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .co-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: flex; flex-direction: column; gap: 0.375rem; }
.field-wide { grid-column: span 1; }
@media (min-width: 640px) { .field-wide { grid-column: span 2; } }
.form-label { font-size: 0.875rem; font-weight: 500; color: var(--stone-700); }
.req-star { color: var(--red-500, var(--red-600)); }
.input-error { border-color: var(--red-400) !important; }
.input-error:focus { box-shadow: 0 0 0 3px rgb(248 113 113 / 0.25) !important; }
.field-error { font-size: 0.75rem; color: var(--red-600); }

.select-field { position: relative; }
.select-input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.25rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2378716c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
}
.select-input:invalid { color: var(--stone-400); }

.next-steps { border: 1px solid var(--lime-100); border-radius: 0.75rem; background: rgb(247 254 231 / 0.6); padding: 0.75rem 1rem; }
.next-steps-label { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.025em; text-transform: uppercase; color: var(--lime-800); }
.next-steps-list { margin-top: 0.375rem; display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.75rem; line-height: 1.625; color: rgb(63 98 18 / 0.9); }
.co-submit { height: 2.75rem; }

/* ---------- placed / success view ---------- */
.placed { display: flex; flex-direction: column; gap: 1.25rem; padding-block: 0.5rem; }
.placed-head { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; text-align: center; }
.placed-icon {
  display: flex;
  height: 3.5rem; width: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--lime-100);
  color: var(--lime-700);
}
.placed-title { font-size: 1.25rem; font-weight: 600; color: var(--stone-900); }
.placed-text { margin: 0.375rem auto 0; max-width: 24rem; font-size: 0.875rem; line-height: 1.625; color: var(--stone-500); }

.pay-card { border: 1px solid var(--stone-200); border-radius: 1rem; background: rgb(250 250 249 / 0.7); padding: 1rem; }
.pay-label { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.025em; text-transform: uppercase; color: var(--stone-500); }
.pay-row { margin-top: 0.75rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media (min-width: 640px) { .pay-row { flex-direction: row; align-items: center; } }
.qr-box {
  flex-shrink: 0;
  border: 1px solid var(--stone-200);
  border-radius: 0.75rem;
  background: #fff;
  padding: 0.625rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}
.qr-box svg { width: 132px; height: 132px; display: block; }
.pay-info { display: flex; flex-direction: column; gap: 0.375rem; text-align: center; }
@media (min-width: 640px) { .pay-info { text-align: left; } }
.pay-scan { font-size: 0.875rem; font-weight: 500; color: var(--stone-800); }
.pay-hint { font-size: 0.75rem; line-height: 1.625; color: var(--stone-500); }
.pay-vpa { font-size: 0.75rem; color: var(--stone-400); }
.pay-vpa-id { font-weight: 500; color: var(--stone-600); }
.pay-phone-btn { margin-top: 0.375rem; height: 2.5rem; padding: 0 1rem; }
.pay-sep { margin-block: 1rem; border-top: 1px solid var(--border); }
.pay-actions { display: flex; flex-direction: column; gap: 0.5rem; }
.pay-actions .btn-block { height: 2.75rem; }

.quote-success { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.quote-success-text { max-width: 24rem; text-align: center; font-size: 0.875rem; line-height: 1.625; color: var(--stone-500); }

.done-btn {
  margin-inline: auto;
  height: 2.25rem;
  border-radius: 0.75rem;
  padding: 0 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--stone-500);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.done-btn:hover { background: var(--stone-100); color: var(--stone-800); }

/* ============================================================================
   CHAT WIDGET
   ============================================================================ */
.chat-launcher {
  position: fixed;
  right: 1rem;
  bottom: 5rem;
  z-index: 50;
  display: flex;
  height: 3.5rem; width: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: linear-gradient(to bottom right, var(--lime-500), var(--lime-600));
  color: #fff;
  box-shadow: 0 20px 25px -5px rgb(101 163 13 / 0.3), 0 8px 10px -6px rgb(101 163 13 / 0.3);
  transition: transform 0.2s ease;
}
.chat-launcher:hover { transform: scale(1.05); }
.chat-launcher .chat-launcher-x { display: none; }
.chat-launcher.open .chat-launcher-icon { display: none; }
.chat-launcher.open .chat-launcher-x { display: flex; }
.chat-ping { position: absolute; top: 0.25rem; right: 0.25rem; display: flex; height: 0.75rem; width: 0.75rem; align-items: center; justify-content: center; }
.chat-launcher.open .chat-ping { display: none; }
.chat-ping-ring { position: absolute; height: 0.75rem; width: 0.75rem; border-radius: 9999px; background: var(--lime-400); opacity: 0.6; animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; }
.chat-ping-dot { height: 0.5rem; width: 0.5rem; border-radius: 9999px; background: #fff; }
@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}
@media (min-width: 768px) { .chat-launcher { bottom: 1.25rem; } }

.chat-panel {
  position: fixed;
  right: 1rem;
  bottom: 9rem;
  z-index: 50;
  display: flex;
  height: min(70vh, 560px);
  width: min(92vw, 380px);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.6);
  border-radius: 1.5rem;
  background: rgb(255 255 255 / 0.95);
  box-shadow: var(--shadow-2xl);
  backdrop-filter: blur(24px);
}
@media (min-width: 768px) { .chat-panel { bottom: 6rem; } }

.chat-header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--stone-100);
  background: rgb(255 255 255 / 0.8);
  padding: 0.75rem 1rem;
}
.chat-avatar {
  position: relative;
  display: flex;
  height: 2.25rem; width: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgb(132 204 22 / 0.15);
  color: var(--lime-700);
}
.chat-online {
  position: absolute;
  right: -2px; bottom: -2px;
  height: 0.625rem; width: 0.625rem;
  border-radius: 9999px;
  background: var(--lime-500);
  box-shadow: 0 0 0 2px #fff;
}
.chat-head-text { min-width: 0; flex: 1 1 0%; }
.chat-title { font-size: 0.875rem; font-weight: 600; color: var(--stone-900); }
.chat-status { font-size: 0.75rem; color: var(--stone-400); }
.chat-close {
  display: flex;
  height: 2.25rem; width: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  color: var(--stone-400);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.chat-close:hover { background: var(--stone-100); color: var(--stone-700); }

.chat-messages { flex: 1 1 0%; min-height: 0; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.msg-row { display: flex; }
.msg-row.user { justify-content: flex-end; }
.msg-row.assistant { justify-content: flex-start; }
.bubble { max-width: 85%; padding: 0.625rem 0.875rem; font-size: 0.875rem; line-height: 1.625; }
.msg-text { white-space: pre-wrap; }
.handoff-btn {
  margin-top: 0.5rem;
  display: inline-flex;
  height: 2.25rem;
  align-items: center;
  gap: 0.375rem;
  border-radius: 0.5rem;
  background: var(--lime-600);
  padding: 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  transition: background-color 0.2s ease;
}
.handoff-btn:hover { background: var(--lime-700); }
.typing-dots { display: flex; gap: 0.25rem; }
.typing-dots span {
  height: 0.375rem; width: 0.375rem;
  border-radius: 9999px;
  background: var(--stone-400);
  animation: typing-bounce 1s infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.typing-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-bounce {
  0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
  50% { transform: none; animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}

.chat-suggestions { flex-shrink: 0; display: flex; flex-wrap: wrap; gap: 0.375rem; padding: 0 1rem 0.5rem; }
.suggestion {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 1px solid var(--lime-200);
  border-radius: 9999px;
  background: rgb(247 254 231 / 0.7);
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--lime-800);
  transition: background-color 0.2s ease;
}
.suggestion:hover { background: var(--lime-100); }

.chat-form {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-top: 1px solid var(--stone-100);
  background: rgb(255 255 255 / 0.9);
  padding: 0.75rem;
}
.chat-input {
  height: 2.75rem;
  min-width: 0;
  flex: 1 1 0%;
  border: 1px solid var(--stone-200);
  border-radius: 0.75rem;
  background: #fff;
  padding: 0 0.875rem;
  font-size: 0.875rem;
  color: var(--stone-800);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.chat-input::placeholder { color: var(--stone-400); }
.chat-input:focus { border-color: var(--lime-400); box-shadow: 0 0 0 3px rgb(132 204 22 / 0.2); }
.chat-send {
  display: flex;
  height: 2.75rem; width: 2.75rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: var(--lime-600);
  color: #fff;
  transition: background-color 0.2s ease;
}
.chat-send:hover:not(:disabled) { background: var(--lime-700); }
.chat-send:disabled { opacity: 0.4; }

/* ============================================================================
   HOW IT WORKS
   ============================================================================ */
.steps-grid { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; } }
.step-card { position: relative; display: flex; height: 100%; flex-direction: column; gap: 0.75rem; border-radius: 1rem; padding: 1.5rem; }
.step-num {
  position: absolute;
  top: 1rem; right: 1.25rem;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  color: var(--stone-200);
  user-select: none;
}
.step-icon {
  display: flex;
  height: 2.75rem; width: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: rgb(132 204 22 / 0.15);
  color: var(--lime-700);
}
.step-title { font-size: 1rem; font-weight: 600; letter-spacing: -0.025em; color: var(--stone-900); }
.step-copy { font-size: 0.875rem; line-height: 1.625; color: var(--stone-500); }
.timeline-note { margin-top: 2rem; text-align: center; font-size: 0.75rem; color: var(--stone-400); }

/* ============================================================================
   GIFTING
   ============================================================================ */
.gifting { position: relative; overflow: hidden; }
.gifting-blobs { pointer-events: none; position: absolute; inset: 0; }
.gifting-blob-1 { position: absolute; top: 2.5rem; left: 25%; height: 18rem; width: 18rem; border-radius: 9999px; background: rgb(236 252 203 / 0.6); filter: blur(64px); }
.gifting-blob-2 { position: absolute; right: 20%; bottom: 0; height: 15rem; width: 15rem; border-radius: 9999px; background: rgb(224 242 254 / 0.6); filter: blur(64px); }
.gifting-inner { position: relative; }
.occasions { margin-inline: auto; margin-top: 2rem; display: flex; max-width: 48rem; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.occasion-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--stone-700);
}
.occasion-chip svg { color: var(--lime-600); }
.gift-cards { margin-inline: auto; margin-top: 2.5rem; display: grid; max-width: 56rem; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .gift-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gift-card { display: flex; height: 100%; flex-direction: column; gap: 0.75rem; border-radius: 1rem; padding: 1.5rem; }
.gift-title { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.025em; color: var(--stone-900); }
.gift-copy { flex: 1 1 0%; font-size: 0.875rem; line-height: 1.625; color: var(--stone-500); }
.gift-btn {
  height: 2.75rem;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--stone-300);
  border-radius: 0.75rem;
  background: #fff;
  padding: 0 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--stone-800);
  transition: background-color 0.2s ease;
}
.gift-btn:hover { background: var(--stone-50); }
.gift-btn svg { color: var(--lime-600); }

/* ============================================================================
   FAQ (single-open accordion)
   ============================================================================ */
.faq-container { max-width: 48rem; }
.faq-list { margin-top: 2rem; }
.faq-item { border-bottom: 1px solid var(--stone-200); }
.faq-q {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  color: var(--stone-800);
  transition: color 0.2s ease;
}
.faq-q:hover { color: var(--stone-900); }
.faq-q svg { flex-shrink: 0; color: var(--stone-500); transition: transform 0.2s ease; }
.faq-q[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq-q-text { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.faq-cat {
  display: inline-flex;
  border-radius: 9999px;
  background: var(--stone-100);
  padding: 0.125rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: var(--stone-500);
}
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-a.open { grid-template-rows: 1fr; }
.faq-a-clip { overflow: hidden; }
.faq-a-text { padding-bottom: 1rem; font-size: 0.875rem; line-height: 1.625; color: var(--stone-600); }

/* ============================================================================
   CONTACT
   ============================================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2.5rem;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.5rem; } }
.contact-lead { margin-top: 1rem; max-width: 32rem; font-size: 1rem; line-height: 1.625; color: var(--stone-600); }
.contact-rows { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.contact-row {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--stone-700);
  transition: color 0.2s ease;
}
a.contact-row:hover { color: var(--lime-700); }
.contact-ico {
  display: flex;
  height: 2.5rem; width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  flex-shrink: 0;
}
.contact-ico-lime { background: rgb(132 204 22 / 0.15); color: var(--lime-700); }
.contact-ico-stone { background: var(--stone-100); color: var(--stone-600); }
.contact-form { margin-top: 2rem; display: flex; max-width: 32rem; flex-direction: column; gap: 0.75rem; }
.contact-input { margin-top: 0.375rem; }
.contact-submit { width: fit-content; }
.contact-media { position: relative; }
.contact-media-frame { overflow: hidden; border-radius: 1.5rem; box-shadow: 0 24px 60px rgb(23 23 20 / 0.14); }
.contact-photo { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.contact-chip { position: absolute; bottom: 1.25rem; left: 1.25rem; border-radius: 1rem; padding: 0.75rem 1rem; }
.contact-chip-title { font-size: 0.875rem; font-weight: 600; color: var(--stone-900); }
.contact-chip-sub { margin-top: 0.125rem; font-size: 0.75rem; color: var(--stone-500); }

/* ============================================================================
   FOOTER (light stone-50, mt-auto keeps it at the viewport bottom)
   ============================================================================ */
.footer { margin-top: auto; border-top: 1px solid var(--stone-200); background: var(--stone-50); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-block: 3rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer-brand { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-brandline { display: flex; align-items: center; gap: 0.625rem; }
.footer-tagline { font-size: 0.875rem; line-height: 1.625; color: var(--stone-500); }
.footer-h { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone-400); }
.footer-list { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.625rem; font-size: 0.875rem; color: var(--stone-600); }
.footer-link { display: inline-flex; min-height: 1.5rem; align-items: center; color: var(--stone-600); transition: color 0.2s ease; }
.footer-link:hover { color: var(--lime-700); }
.footer-bottom { border-top: 1px solid var(--stone-200); }
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding-block: 1.25rem;
  font-size: 0.75rem;
  color: var(--stone-400);
}

/* ============================================================================
   IMAGE FALLBACK (lime Layers placeholder)
   ============================================================================ */
.img-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom right, var(--lime-50), #fff, var(--stone-100));
  color: var(--lime-300);
}

/* ---------- toast description (extends tokens.css .lc-toast) ---------- */
.lc-toast-body { min-width: 0; }
.lc-toast-msg { font-weight: 500; }
.lc-toast-desc { margin-top: 0.125rem; font-size: 0.75rem; opacity: 0.8; white-space: normal; }
.lc-toast-out { opacity: 0; transform: translateY(10px) scale(0.97); transition: opacity 0.18s ease, transform 0.18s ease; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .modal, .drawer, .sheet, .overlay-backdrop { animation: none; }
  .chat-ping-ring, .typing-dots span { animation: none; }
  .collage-img, .pc-img, .chat-launcher { transition: none; }
}
