:root {
  --paper: #f8faf3;
  --surface: #fcf9f8;
  --surface-soft: #edefe8;
  --ink: #191c19;
  --muted: #3f4944;
  --quiet: #6f7974;
  --line: #bec9c3;
  --line-strong: #6f7974;
  --forest: #005541;
  --forest-dark: #003c2e;
  --forest-soft: #a5f2d5;
  --brass: #725b25;
  --danger: #a6453d;
  --danger-soft: #f7e7e3;
  --shadow-soft: 0 16px 40px rgba(35, 55, 45, 0.08);
  --shadow-drawer: -18px 0 50px rgba(24, 33, 29, 0.16);
  --radius: 8px;
  --radius-pill: 999px;
  --sans: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --display: "Space Grotesk", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --label: "Public Sans", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", "Roboto Mono", ui-monospace, monospace;
  --content: 1280px;
}

* { box-sizing: border-box; }

img, svg { max-width: 100%; height: auto; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--forest); }

button, input, select, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; }

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--forest);
  outline-offset: 3px;
}

[hidden] { display: none !important; }

.site-frame { min-height: 100dvh; display: flex; flex-direction: column; }
.site-header,
.mobile-nav,
#app-main,
.site-footer { width: min(100% - 40px, var(--content)); margin: 0 auto; }



.wordmark { display: inline-flex; align-items: baseline; gap: 8px; width: fit-content; }
.wordmark:hover { color: inherit; }
.wordmark-main { color: var(--forest); font-size: 20px; font-weight: 800; letter-spacing: 0.04em; }
.wordmark-sub { color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; }

.desktop-nav { display: flex; align-items: center; gap: 30px; }
.desktop-nav a,
.admin-link { color: var(--muted); font-size: 14px; font-weight: 650; }
.desktop-nav a:hover,
.desktop-nav a.is-active,
.admin-link:hover,
.admin-link.is-active { color: var(--forest); }

.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.cart-trigger,
.menu-trigger,
.icon-button {
  border: 0;
  background: transparent;
}

.cart-trigger { display: inline-flex; align-items: center; gap: 8px; padding: 10px 0; font-size: 14px; font-weight: 700; }
.cart-count {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  place-items: center;
  color: var(--surface);
  background: var(--forest);
  border-radius: var(--radius-pill);
  font-family: var(--mono);
  font-size: 11px;
}
.menu-trigger { display: none; width: 36px; height: 36px; padding: 9px 6px; }
.menu-trigger span { display: block; height: 2px; margin: 5px 0; background: var(--forest); transition: transform 180ms ease, opacity 180ms ease; }
.menu-trigger.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-trigger.is-open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-nav { display: none; }

.commerce-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: clamp(36px, 5vw, 72px); min-height: 620px; padding: 72px 0; }
.commerce-hero h1 { max-width: 14ch; margin: 0; font-size: clamp(48px, 7vw, 88px); line-height: 0.98; letter-spacing: -0.06em; }
.commerce-hero p { max-width: 48ch; color: var(--muted); font-size: 18px; }
.commerce-hero small { display: block; margin-top: 20px; color: var(--quiet); }
.commerce-hero-art { min-width: 0; aspect-ratio: 1 / 1; overflow: hidden; display: grid; place-items: center; background: var(--surface-soft); border-radius: var(--radius); }
.category-section { padding: 28px 0 64px; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.category-grid a { display: grid; align-content: space-between; min-height: 148px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.category-grid strong { font-size: 20px; letter-spacing: -0.03em; }
.category-grid span { color: var(--quiet); font-family: var(--mono); font-size: 11px; text-transform: uppercase; }
.concept-figure { display: block; width: 100%; height: 100%; margin: 0; align-self: stretch; justify-self: stretch; }
.concept-figure img { width: 100%; height: 100%; object-fit: contain; display: block; }
.has-photo .concept-figure img { object-fit: cover; }
.lab-notice, .inquiry-panel { padding: 18px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: var(--radius); }
.lab-notice p { margin: 8px 0 0; color: var(--muted); }
.inquiry-panel { display: grid; gap: 10px; margin-top: 16px; }
.inquiry-panel p { margin: 0 0 8px; color: var(--muted); }
.inquiry-panel label { font-size: 13px; font-weight: 700; }
.tracking-state { width: min(100%, 760px); min-height: 520px; padding: 90px 0; }
.tracking-state h1 { margin: 0; font-size: clamp(44px, 7vw, 76px); line-height: 1; letter-spacing: -0.055em; }
.tracking-state > p { max-width: 52ch; color: var(--muted); }
.tracking-items { display: grid; gap: 10px; margin: 34px 0 0; padding: 0; list-style: none; }
.tracking-items li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.tracking-items span { color: var(--muted); }

#app-shell { flex: 1; }
#app-main { padding: 0 0 72px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(36px, 7vw, 110px);
  min-height: 560px;
  padding: 70px 0 86px;
}
.hero-copy { max-width: 560px; }
.eyebrow,
.section-kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--forest);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero h1,
.page-heading h1 {
  max-width: 10ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 750;
  letter-spacing: -0.065em;
  line-height: 0.96;
}
.hero-lede,
.page-heading p {
  max-width: 48ch;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin: 22px 0 0; color: var(--quiet); font-family: var(--mono); font-size: 12px; }

.hero-art,
.feature-art,
.gallery-hero {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: grid;
  place-items: center;
  padding: 28px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 22px;
}
.hero-art::after,
.feature-art::after,
.gallery-hero::after {
  position: absolute;
  right: 22px;
  bottom: 18px;
  color: var(--brass);
  content: "MADE IN INDIA";
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.hero-art > svg,
.feature-art > svg,
.gallery-hero > svg { position: relative; z-index: 1; width: min(100%, 580px); height: auto; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 750;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(1px); }
.button-primary { color: var(--surface); background: var(--forest); }
.button-primary:hover { color: var(--surface); background: var(--forest-dark); }
.button-secondary { color: var(--ink); background: transparent; border-color: var(--line-strong); }
.button-secondary:hover { color: var(--forest); border-color: var(--forest); }
.button-quiet { color: var(--forest); background: var(--forest-soft); }
.button[disabled] { opacity: 0.48; transform: none; }

.section { padding: 74px 0 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading h2,
.page-heading h1 { margin-top: 0; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.045em; line-height: 1; }
.section-heading p { max-width: 42ch; margin: 0; color: var(--muted); }
.text-link { color: var(--forest); font-size: 14px; font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }

.feature-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  padding: 24px 0 0;
}
.feature-art { min-height: 320px; }
.feature-copy { display: flex; flex-direction: column; justify-content: center; padding: 28px 0; }
.feature-copy h2 { max-width: 10ch; margin: 0; font-size: clamp(34px, 5vw, 58px); letter-spacing: -0.06em; line-height: 0.98; }
.feature-copy p { max-width: 42ch; margin: 20px 0 0; color: var(--muted); }

.catalog-section { scroll-margin-top: 96px; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button,
.choice,
.placement-choice {
  min-height: 44px;
  padding: 10px 16px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}
.filter-button:hover,
.filter-button.is-active,
.choice:hover,
.choice.is-selected,
.placement-choice:hover,
.placement-choice.is-selected { color: var(--surface); background: var(--forest); border-color: var(--forest); }
.catalog-count { color: var(--quiet); font-family: var(--mono); font-size: 12px; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card { min-width: 0; background: transparent; }
.product-card-link { display: block; }
.product-art {
  aspect-ratio: 1 / 1;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.product-art.has-photo { padding: 0; background: transparent; overflow: hidden; }
.product-card-link:hover .product-art { border-color: var(--forest); box-shadow: var(--shadow-soft); transform: translateY(-3px); }
.product-art svg { width: min(100%, 330px); height: auto; }
.product-meta { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; padding: 16px 2px 8px; }
.product-name { min-width: 0; font-size: 17px; font-weight: 750; line-height: 1.15; overflow-wrap: anywhere; }
.product-price { color: var(--forest); font-family: var(--mono); font-size: 14px; font-weight: 750; white-space: nowrap; }
.product-price.is-quote { grid-column: 1 / -1; margin-top: -2px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0.02em; white-space: normal; }
.product-summary { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
.product-sku { grid-column: 1 / -1; color: var(--quiet); font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; }
.product-empty { padding: 60px 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius); text-align: center; }
.product-empty h2 { margin: 0; font-size: 26px; letter-spacing: -0.04em; }
.product-empty p { max-width: 40ch; margin: 10px auto 20px; color: var(--muted); }

.trust-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 74px; background: var(--line); border: 1px solid var(--line); }
.trust-item { min-height: 150px; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 24px; background: var(--paper); }
.trust-item strong { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.trust-item span { color: var(--muted); font-size: 14px; }

.faq-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 64px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; cursor: pointer; font-weight: 700; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { color: var(--forest); content: "+"; font-family: var(--mono); font-size: 20px; font-weight: 400; }
.faq-item[open] summary::after { content: "-"; }
.faq-item p { max-width: 58ch; margin: -4px 0 22px; color: var(--muted); }

.page-heading { padding: 76px 0 48px; border-bottom: 1px solid var(--line); }
.page-heading h1 { max-width: 14ch; font-size: clamp(44px, 6vw, 76px); }
.page-heading .eyebrow { margin-bottom: 18px; }
.page-copy { max-width: 780px; padding-top: 42px; }
.page-copy h2 { margin: 34px 0 10px; font-size: 26px; letter-spacing: -0.04em; }
.page-copy p, .page-copy li { color: var(--muted); }
.page-copy ul { padding-left: 22px; }
.policy-page { padding-bottom: 80px; }
.policy-copy { display: grid; gap: 16px; max-width: 820px; padding-top: 42px; }
.policy-card { padding: clamp(22px, 4vw, 34px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.policy-card h2 { margin: 0 0 10px; font-size: 22px; letter-spacing: -0.04em; }
.policy-card p { margin: 0; color: var(--muted); }
.admin-login { max-width: 560px; margin: 0 auto; padding: 110px 0 150px; }
.admin-login h1 { margin: 0; font-size: clamp(42px, 6vw, 72px); line-height: 1; letter-spacing: -0.05em; }
.admin-login > p { max-width: 48ch; margin: 22px 0 28px; color: var(--muted); }
.admin-login-form { display: grid; gap: 9px; max-width: 390px; }
.admin-login-form label { margin-top: 10px; color: var(--muted); font-size: 13px; font-weight: 700; }
.admin-login-form .button { margin-top: 12px; justify-self: start; }
.form-error { margin: 3px 0 0; color: #a13c2f; font-size: 13px; }

.product-page { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr); gap: clamp(34px, 7vw, 100px); padding-top: 64px; }
.gallery-hero { min-height: 620px; position: sticky; top: 104px; }
.gallery-hero.has-photo { min-height: 0; aspect-ratio: 1 / 1; }
.gallery-hero.has-photo::after { right: 14px; bottom: 12px; padding: 4px 8px; background: rgba(250, 250, 246, 0.86); border-radius: 4px; }
.gallery-caption { margin: 16px 0 0; color: var(--muted); font-family: var(--mono); font-size: 11px; }
.product-info { padding-top: 16px; }
.product-info h1 { max-width: 12ch; margin: 0; font-size: clamp(40px, 5vw, 70px); letter-spacing: -0.065em; line-height: 0.96; }
.product-info .lead { margin: 20px 0 30px; color: var(--muted); font-size: 16px; }
.product-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-label { display: block; margin-bottom: 5px; color: var(--quiet); font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
.detail-value { font-size: 14px; font-weight: 700; }
.product-price-large { margin: 24px 0; color: var(--forest); font-family: var(--mono); font-size: 24px; font-weight: 750; }
.product-price-large.is-quote { color: var(--muted); font-size: 14px; font-weight: 700; letter-spacing: 0.02em; }
.product-info .field-group + .field-group { margin-top: 22px; }
.product-info .button { width: 100%; margin-top: 22px; }
.product-info .button + .button { margin-top: 12px; }
.product-note { margin: 15px 0 0; color: var(--quiet); font-size: 12px; text-align: center; }

.customize-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr); gap: clamp(34px, 7vw, 100px); padding-top: 64px; }
.customize-preview { position: sticky; top: 104px; align-self: start; }
.preview-label { margin-bottom: 10px; color: var(--forest); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.preview-card { min-height: 620px; display: grid; place-items: center; padding: 32px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 22px; }
.preview-card svg { width: min(100%, 520px); max-width: 100%; height: auto; }
.preview-card.is-updating { opacity: 0.6; }
.preview-design { margin-top: 14px; padding: 13px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.preview-design strong { display: block; color: var(--forest); font-size: 18px; }
.preview-design span { color: var(--muted); font-family: var(--mono); font-size: 11px; }
.customize-controls { display: flex; flex-direction: column; gap: 28px; padding-top: 16px; }
.customize-controls h1 { margin: 0; font-size: clamp(36px, 5vw, 62px); letter-spacing: -0.06em; line-height: 0.96; }
.control-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.control-heading label,
.control-heading span { color: var(--muted); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.control-heading .char-limit { color: var(--danger); }
.text-input,
.select-input { width: 100%; min-height: 52px; padding: 12px 14px; color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); }
.text-input:focus,
.select-input:focus { border-color: var(--forest); outline: 3px solid var(--forest-soft); }
.text-input.is-invalid { border-color: var(--danger); }
.field-error { margin: 8px 0 0; color: var(--danger); font-size: 12px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 9px; }
.swatch-choice { width: 46px; height: 46px; padding: 4px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 50%; }
.swatch-choice span { display: block; width: 100%; height: 100%; border: 2px solid var(--surface); border-radius: 50%; }
.swatch-choice.is-selected { border: 3px solid var(--forest); }
.swatch-choice[data-value="black"] span { background: #18211d; }
.swatch-choice[data-value="navy"] span { background: #223246; }
.swatch-choice[data-value="matrix-green"] span { background: #69bf8b; }
.swatch-choice[data-value="matte-black"] span { background: #2b302d; }
.thread-brass { background: #d5b36b; }
.thread-silver { background: #b8c4c1; }
.thread-cream { background: #f1ead7; }
.thread-black { background: #18211d; }
.price-card { padding: 22px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); }
.price-line { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-family: var(--mono); font-size: 12px; }
.price-line + .price-line { margin-top: 10px; }
.price-total { display: flex; justify-content: space-between; gap: 20px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-strong); color: var(--forest); font-size: 20px; font-weight: 750; }
.customize-action { position: sticky; bottom: 16px; z-index: 2; padding-top: 20px; background: linear-gradient(transparent, var(--paper) 55%); }

.admin-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 720px; padding-top: 44px; }
.admin-sidebar { display: flex; flex-direction: column; gap: 28px; padding: 10px 24px 28px 0; border-right: 1px solid var(--line); }
.admin-sidebar h1 { margin: 0; font-size: 22px; letter-spacing: -0.05em; }
.admin-sidebar p { margin: 4px 0 0; color: var(--quiet); font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
.admin-nav { display: grid; gap: 6px; }
.admin-nav a { padding: 11px 12px; color: var(--muted); border-radius: 8px; font-size: 14px; font-weight: 700; }
.admin-nav a:hover,
.admin-nav a.is-active { color: var(--forest); background: var(--forest-soft); }
.admin-content { min-width: 0; padding: 10px 0 0 36px; }
.admin-content h2 { margin: 0; font-size: clamp(34px, 5vw, 58px); letter-spacing: -0.065em; line-height: 0.96; }
.admin-content > p { max-width: 58ch; margin: 16px 0 30px; color: var(--muted); }
.admin-notice { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 26px; padding: 16px; color: var(--forest-dark); background: var(--forest-soft); border: 1px solid #a5d9c5; border-radius: var(--radius); }
.admin-notice strong { display: block; margin-bottom: 3px; }
.admin-notice span { display: block; color: var(--muted); font-size: 13px; }
.admin-stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 28px 0 34px; }
.admin-stat { padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.admin-stat span { display: block; color: var(--quiet); font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
.admin-stat strong { display: block; margin-top: 8px; color: var(--forest); font-family: var(--mono); font-size: 28px; }
.admin-table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.admin-table { width: 100%; min-width: 640px; border-collapse: collapse; }
.admin-table th { padding: 13px 16px; color: var(--quiet); background: var(--surface-soft); font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-align: left; text-transform: uppercase; }
.admin-table td { padding: 16px; border-top: 1px solid var(--line); font-size: 14px; vertical-align: middle; }
.admin-table td small { display: block; max-width: 34ch; margin-top: 5px; color: var(--muted); font-size: 12px; }
.admin-status-select { min-height: 38px; padding: 8px 28px 8px 10px; color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); border-radius: 6px; font: inherit; }
.admin-update-button { min-height: 38px; margin-left: 8px; padding: 8px 12px; font-size: 12px; }
.admin-table td:nth-child(2), .admin-table td:nth-child(3) { font-family: var(--mono); }
.status-badge { display: inline-flex; padding: 4px 8px; color: var(--forest-dark); background: var(--forest-soft); border-radius: 5px; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.admin-empty { padding: 44px 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius); text-align: center; }
.admin-empty h3 { margin: 0; font-size: 24px; letter-spacing: -0.04em; }
.admin-empty p { max-width: 44ch; margin: 10px auto 0; color: var(--muted); }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.settings-card { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.settings-card h3 { margin: 0 0 16px; font-size: 20px; letter-spacing: -0.04em; }
.settings-card label { display: block; margin: 14px 0 6px; color: var(--muted); font-size: 13px; font-weight: 700; }

.state-gallery { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.state-panel { padding: 20px; }
.skeleton { min-height: 120px; background: linear-gradient(100deg, var(--surface-soft), var(--paper), var(--surface-soft)); background-size: 220% 100%; border-radius: var(--radius); }

.site-footer { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 38px; padding: 62px 0 24px; border-top: 1px solid var(--line); }
.footer-brand p { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.footer-links,
.footer-support { display: grid; align-content: start; gap: 10px; font-size: 13px; }
.footer-links a { color: var(--muted); }
.footer-support span { color: var(--quiet); font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-support a { color: var(--forest); font-weight: 700; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 18px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--quiet); font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; }

.whatsapp-sticky { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 13px 19px; color: var(--surface); background: var(--forest); border: 0; border-radius: var(--radius-pill); box-shadow: var(--shadow-soft); font-size: 13px; font-weight: 750; }
.whatsapp-sticky:hover { background: var(--forest-dark); }
.whatsapp-icon { display: inline-grid; width: 21px; height: 21px; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-family: var(--mono); font-size: 12px; }

.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(24, 33, 29, 0.35); }
.cart-drawer { position: fixed; inset: 0 0 0 auto; z-index: 90; width: min(430px, 100%); display: flex; flex-direction: column; background: var(--paper); box-shadow: var(--shadow-drawer); }
.drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 24px; border-bottom: 1px solid var(--line); }
.drawer-header h2 { margin: 0; font-size: 30px; letter-spacing: -0.05em; }
.icon-button { width: 40px; height: 40px; color: var(--muted); font-size: 28px; line-height: 1; }
.icon-button:hover { color: var(--forest); }
.drawer-body { flex: 1; overflow-y: auto; padding: 22px; }
.drawer-footer { padding: 20px 22px; background: var(--surface); border-top: 1px solid var(--line); }
.cart-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.cart-item { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.cart-thumb { display: grid; place-items: center; min-height: 66px; padding: 5px; background: var(--surface-soft); border-radius: 8px; }
.cart-thumb svg { width: 100%; height: auto; }
.cart-name { font-size: 14px; font-weight: 750; line-height: 1.2; }
.cart-variant { margin-top: 5px; color: var(--quiet); font-family: var(--mono); font-size: 10px; }
.cart-controls { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; }
.cart-controls button { width: 28px; height: 28px; padding: 0; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 50%; }
.cart-controls .qv { color: var(--muted); font-family: var(--mono); font-size: 12px; }
.cart-line { display: grid; justify-items: end; gap: 10px; }
.cart-price { color: var(--forest); font-family: var(--mono); font-size: 13px; font-weight: 750; }
.cart-remove { padding: 0; color: var(--quiet); background: transparent; border: 0; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.cart-empty { padding: 70px 18px; text-align: center; }
.cart-success { padding: 42px 10px; }
.cart-success h3 { margin: 0; font-size: 32px; letter-spacing: -0.05em; }
.cart-success p { color: var(--muted); }
.cart-success-actions { display: grid; gap: 10px; margin-top: 24px; }
.cart-empty h3 { margin: 0; font-size: 28px; letter-spacing: -0.05em; }
.cart-empty p { color: var(--muted); }
.cart-totals { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 8px; }
.cart-totals span:first-child { color: var(--muted); }
.cart-totals span:last-child { color: var(--forest); font-family: var(--mono); font-weight: 750; }
.cart-shipnote { margin: 0 0 15px; color: var(--quiet); font-size: 12px; }
.ship-label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 12px; font-weight: 700; }
.ship-input { width: 100%; min-height: 72px; margin-bottom: 14px; padding: 10px; color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); border-radius: 8px; resize: vertical; }
.drawer-footer .button { width: 100%; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; max-width: min(420px, calc(100% - 32px)); padding: 13px 18px; color: var(--surface); background: var(--ink); border-radius: var(--radius-pill); box-shadow: var(--shadow-soft); font-size: 13px; transform: translateX(-50%); }
.noscript-banner { position: fixed; inset: 0; z-index: 999; display: grid; place-items: center; padding: 24px; background: var(--paper); text-align: center; }
.noscript-banner p { max-width: 42ch; }
.noscript-banner a { color: var(--forest); text-decoration: underline; }

@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr 1fr; gap: 38px; }
  .product-page, .customize-layout { grid-template-columns: 1fr 0.9fr; gap: 34px; }
  .admin-shell { grid-template-columns: 180px minmax(0, 1fr); }
  .admin-content { padding-left: 24px; }
}

@media (max-width: 760px) {
  a, button, input, select, textarea { min-height: 44px; }
  .site-header, .mobile-nav, #app-main, .site-footer { width: min(100% - 32px, var(--content)); }
  .site-header, #app-main, .site-footer { min-width: 0; }
  .site-header { grid-template-columns: 44px 1fr 44px; min-height: 64px; padding: 0 16px; }
  .site-header .wordmark { grid-column: 2; justify-self: center; }
  .desktop-nav, .admin-link { display: none; }
  .menu-trigger { grid-column: 1; grid-row: 1; display: block; justify-self: start; }
  .header-actions { grid-column: 3; grid-row: 1; justify-self: end; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding: 52px 0 48px; }
  .commerce-hero { grid-template-columns: 1fr; min-height: 0; padding: 40px 0 52px; }
  .commerce-hero h1 { max-width: 100%; font-size: clamp(34px, 12vw, 54px); }
  .commerce-hero p { font-size: 16px; }
  .commerce-hero-art { min-height: 320px; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { max-width: 100%; font-size: clamp(48px, 16vw, 72px); }
  .hero-lede { margin-top: 20px; font-size: 16px; }
  .hero-art { min-height: 320px; }
  .feature-row, .faq-grid, .product-page, .customize-layout { grid-template-columns: 1fr; gap: 28px; }
  .section { padding-top: 54px; }
  .section-heading { display: block; }
  .section-heading .text-link { display: inline-block; margin-top: 14px; }
  .catalog-toolbar { display: block; }
  .filters { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 8px; padding-bottom: 8px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter-button { white-space: nowrap; font-size: 12px; padding: 8px 12px; }
  .catalog-count { display: block; margin-top: 14px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-art { padding: 12px; }
  .product-meta { display: block; padding-top: 12px; }
  .product-name { font-size: 15px; }
  .product-price { display: block; margin-top: 7px; font-size: 13px; }
  .product-price.is-quote { margin-top: 4px; font-size: 12px; }
  .product-summary { display: none; }
  .product-sku { font-size: 10px; }
  .trust-band { grid-template-columns: 1fr; margin-top: 54px; }
  .page-heading { padding: 54px 0 36px; }
  .page-heading h1 { width: 100%; max-width: 330px; font-size: clamp(36px, 11vw, 50px); overflow-wrap: anywhere; }
  .page-heading p { width: 100%; max-width: 330px; overflow-wrap: anywhere; }
  .gallery-hero { position: relative; top: auto; min-height: 340px; }
  .preview-card { position: static; min-height: 340px; }
  .customize-layout > *, .preview-card, .gallery-hero { min-width: 0; }
  .preview-card svg { width: 100%; }
  .customize-controls { padding-top: 0; }
  .customize-action { position: static; padding-top: 0; background: transparent; }
  .admin-shell { grid-template-columns: 1fr; padding-top: 34px; }
  .admin-sidebar { padding: 0 0 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .admin-nav { grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .admin-nav a { padding: 10px 8px; font-size: 12px; text-align: center; }
  .admin-content { padding: 28px 0 0; }
  .admin-stat-row, .settings-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 48px; }
  .footer-bottom { grid-column: 1 / -1; display: grid; gap: 8px; }
  .whatsapp-sticky { right: 16px; bottom: 16px; left: 16px; justify-content: center; }
  .cart-drawer { width: 100%; max-width: 100%; box-shadow: none; }
}

@media (max-width: 440px) {
  .category-grid { grid-template-columns: 1fr; }
  .filters { display: flex; flex-wrap: nowrap; }
  .filter-button { width: auto; }
  .product-grid { grid-template-columns: 1fr; }
  .product-art { aspect-ratio: 4 / 5; }
  .site-footer { grid-template-columns: 1fr; }
}

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

/* Stitch storefront contract: surface hierarchy, editorial product cards, and utility-led controls. */
h1, h2, h3, h4, h5, .wordmark-main { font-family: var(--display); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  width: 100%;
  max-width: none;
  min-height: 76px;
  padding: 0 max(20px, calc((100% - var(--content)) / 2));
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.site-header .wordmark { justify-self: center; }
.desktop-nav { flex: 0 0 auto; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.stitch-hero { width: 100%; }
.stitch-hero-media { position: relative; min-height: min(620px, 68vh); overflow: hidden; background: var(--surface-container, #edefe8); }
.stitch-hero-art { position: absolute; inset: 0; display: grid; place-items: center; padding: 6vw 12vw 12vw; background: linear-gradient(145deg, #dfe7dc, #f2f3eb); }
.stitch-hero-art svg { width: min(100%, 760px); height: auto; opacity: 0.96; }
.stitch-hero-overlay { position: absolute; inset: auto 0 0; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(28px, 6vw, 72px) max(24px, calc((100% - var(--content)) / 2)); color: #fff; background: linear-gradient(transparent, rgba(25, 28, 25, 0.82)); }
.stitch-hero-overlay .eyebrow { color: var(--forest-soft); }
.stitch-hero-overlay h1 { max-width: 12ch; margin: 0 0 12px; font-size: clamp(42px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.045em; }
.stitch-hero-overlay p { max-width: 42ch; margin: 0 0 22px; color: rgba(255, 255, 255, 0.88); font-size: 16px; }
.button-light { color: var(--ink); background: var(--surface); }
.button-light:hover { color: var(--ink); background: #fff; }
.stitch-featured, .stitch-trust, .stitch-faq { width: min(100% - 48px, var(--content)); margin: 0 auto; }
.stitch-featured { padding: 64px 0 24px; }
.stitch-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.stitch-section-heading h2, .stitch-faq h2 { margin: 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.04em; }
.stitch-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.stitch-product-grid .product-card { border: 0; background: transparent; }
.stitch-product-grid .product-card-link { display: block; }
.stitch-product-grid .product-art { aspect-ratio: 4 / 5; min-height: 0; display: grid; place-items: center; margin-bottom: 14px; padding: 18px; background: var(--surface-soft); border: 1px solid rgba(190, 201, 195, 0.45); border-radius: 8px; }
.stitch-product-grid .product-art svg { width: 100%; max-height: 100%; }
.stitch-product-grid .product-meta { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 3px 12px; padding: 0; }
.stitch-product-grid .product-name { font-family: var(--sans); font-size: 17px; font-weight: 750; }
.stitch-product-grid .product-price { font-size: 13px; }
.stitch-product-grid .product-summary { grid-column: 1; color: var(--quiet); }
.stitch-product-grid .product-sku { grid-column: 1 / -1; }
.stitch-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 48px 0; border-top: 1px solid rgba(190, 201, 195, 0.55); border-bottom: 1px solid rgba(190, 201, 195, 0.55); }
.stitch-trust div { display: grid; gap: 8px; }
.stitch-trust strong { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.stitch-trust span { color: var(--muted); font-size: 13px; }
.stitch-faq { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 48px; padding: 64px 0 80px; }
.stitch-faq .faq-list { border-top: 1px solid var(--line); }
.customize-layout { grid-template-columns: minmax(0, 7fr) minmax(320px, 4fr); gap: 32px; padding-top: 48px; }
.customize-preview { top: 104px; }
.preview-card { min-height: 0; aspect-ratio: 4 / 5; padding: 18px; border-radius: 8px; background: var(--surface-soft); }
.preview-card svg { width: 100%; max-width: 100%; }
.customize-controls { gap: 30px; padding-top: 0; }
.customize-controls h1 { font-family: var(--display); font-size: clamp(32px, 4vw, 48px); }
.control-heading span, .control-heading label { font-family: var(--mono); color: var(--muted); }
.choice, .placement-choice { min-height: 48px; border-radius: 4px; background: transparent; border: 1px solid rgba(190, 201, 195, 0.62); font-family: var(--label); }
.choice.is-selected, .placement-choice.is-selected { color: var(--forest); background: transparent; border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); }
.price-card { border-radius: 8px; background: transparent; border-color: var(--line); }
.price-total { font-family: var(--display); }

@media (max-width: 760px) {
  .cart-trigger { position: relative; padding: 8px 0; }
  .cart-trigger > span:first-child { display: none; }
  .cart-trigger::before { content: ""; display: block; width: 15px; height: 15px; border: 2px solid var(--forest); border-radius: 3px; }
  .cart-trigger::after { content: ""; position: absolute; width: 7px; height: 5px; margin: -22px 0 0 4px; border: 2px solid var(--forest); border-bottom: 0; border-radius: 6px 6px 0 0; }
  .stitch-hero-media { min-height: 60vh; }
  .stitch-hero-art { padding: 14vw 6vw 22vw; }
  .stitch-hero-overlay { padding: 32px 18px; }
  .stitch-hero-overlay h1 { max-width: 10ch; font-size: 42px; }
  .stitch-featured, .stitch-trust, .stitch-faq { width: calc(100% - 32px); }
  .stitch-featured { padding-top: 48px; }
  .stitch-product-grid { grid-template-columns: 1fr; gap: 32px; }
  .stitch-product-grid .product-art { aspect-ratio: 4 / 5; }
  .stitch-product-grid .product-meta,
  .product-meta { display: block; padding-top: 12px; }
  .product-name, .stitch-product-grid .product-name { font-size: 16px; }
  .product-price, .stitch-product-grid .product-price { display: block; margin-top: 6px; font-size: 12px; white-space: normal; }
  .product-summary, .stitch-product-grid .product-summary { display: none; }
  .product-sku, .stitch-product-grid .product-sku { display: block; margin-top: 4px; font-size: 10px; }
  .product-price.is-quote, .stitch-product-grid .product-price.is-quote { margin-top: 4px; font-size: 11px; }
  .stitch-trust { grid-template-columns: 1fr; gap: 22px; padding: 36px 0; }
  .stitch-faq { grid-template-columns: 1fr; gap: 28px; padding-top: 48px; }
  .customize-layout { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
  .customize-preview { position: static; }
  .preview-card { aspect-ratio: 4 / 5; }
}

.satisfaction-prompt {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 60;
  width: min(320px, calc(100vw - 24px));
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  font-family: var(--sans);
}
.satisfaction-prompt__title { margin: 0 0 6px; color: var(--ink); font-size: 14px; font-weight: 600; }
.satisfaction-prompt__body { margin: 0 0 10px; color: var(--quiet); font-size: 13px; line-height: 1.5; }
.satisfaction-prompt__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.satisfaction-prompt__send,
.satisfaction-prompt__later {
  font: inherit;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
}
.satisfaction-prompt__send { border-color: var(--forest); color: var(--forest); }
.satisfaction-prompt__send:hover,
.satisfaction-prompt__later:hover { border-color: var(--forest); }
.satisfaction-prompt__send:focus-visible,
.satisfaction-prompt__later:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
