/* =============================================================================
   URU Valley — design system
   ========================================================================== */
:root {
  --bg: #F6F3EC;
  --surface: #FFFFFF;
  --surface-2: #EEEAE0;
  --surface-3: #E5E0D3;
  --ink: #16201A;
  --ink-2: #4B554E;
  --ink-3: #7C857E;
  --line: #E2DDD1;
  --brand: #2F4A35;
  --brand-2: #3E6046;
  --accent: #C9862B;
  --accent-soft: #F4E6CF;
  --ok: #2E7D4F;
  --ok-soft: #E3F1E8;
  --warn: #A86A12;
  --warn-soft: #FBF0DC;
  --danger: #B3261E;
  --danger-soft: #FBE7E5;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-1: 0 1px 2px rgba(22, 32, 26, .06), 0 2px 8px rgba(22, 32, 26, .05);
  --shadow-2: 0 10px 30px rgba(22, 32, 26, .10), 0 2px 6px rgba(22, 32, 26, .06);
  --shadow-3: 0 24px 60px rgba(22, 32, 26, .18);

  --f-display: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-display); letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--accent-soft); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--ink-2); }
.subtle { color: var(--ink-3); font-size: .9rem; }
.eyebrow {
  font: 700 .75rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.center { text-align: center; }
.stack > * + * { margin-top: var(--gap, 16px); }
.row { display: flex; align-items: center; gap: 12px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.row-end { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.grow { flex: 1; }
.hide { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: 600 .95rem/1 var(--f-body); white-space: nowrap;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s;
}
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover:not(:disabled) { background: #000; box-shadow: var(--shadow-2); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover:not(:disabled) { background: var(--brand-2); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { box-shadow: var(--shadow-2); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { --h: 36px; padding: 0 14px; font-size: .85rem; }
.btn-lg { --h: 56px; padding: 0 30px; font-size: 1rem; }
.btn-block { width: 100%; }
.link { text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.link:hover { color: var(--brand); }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px;
  border: 0; background: transparent; color: inherit; position: relative;
}
.icon-btn:hover { background: var(--surface-2); }
.spinner {
  width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent;
  display: inline-block; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .label { font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.input, .select, .textarea {
  width: 100%; height: 50px; padding: 0 16px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--surface); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.textarea { height: auto; min-height: 110px; padding: 12px 16px; resize: vertical; line-height: 1.5; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(22, 32, 26, .08); }
.input.filled { background: var(--surface-2); border-color: transparent; }
.input.filled:focus { background: var(--surface); }
.hint { font-size: .8rem; color: var(--ink-3); }
.error-text { font-size: .85rem; color: var(--danger); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.check { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.input-icon { position: relative; }
.input-icon .input { padding-left: 46px; }
.input-icon > svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--ink-2); }
.input-icon .trail { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); }
.alert { padding: 12px 16px; border-radius: var(--r-sm); font-size: .92rem; }
.alert-error { background: var(--danger-soft); color: var(--danger); }
.alert-ok { background: var(--ok-soft); color: var(--ok); }
.alert-warn { background: var(--warn-soft); color: var(--warn); }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- announcement + header ---------- */
.announce {
  background: var(--ink); color: #EDEAE2; text-align: center; font-size: .8rem; font-weight: 500;
  padding: 8px var(--gutter); letter-spacing: .01em;
}
.demo-bar { background: var(--accent-soft); color: #6E4A12; font-size: .8rem; text-align: center; padding: 6px var(--gutter); }
.demo-bar button { background: none; border: 0; text-decoration: underline; font-weight: 600; color: inherit; padding: 0 4px; }

.site-header { position: sticky; top: 10px; z-index: 50; padding: 10px var(--gutter) 0; }
.nav {
  max-width: var(--max); margin: 0 auto; height: 64px; padding: 0 10px 0 24px;
  display: flex; align-items: center; gap: 20px;
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-radius: 999px; box-shadow: var(--shadow-1); border: 1px solid rgba(255, 255, 255, .6);
}
.logo { display: inline-flex; align-items: center; gap: 10px; font: 800 1.15rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.logo-mark { width: 30px; height: 30px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; color: #fff; }
.logo-mark svg { width: 17px; height: 17px; }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--ink-2); }
.nav-links a:hover, .nav-links a.active { color: var(--ink); background: var(--surface-2); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.loc-chip {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 10px; border-radius: 999px;
  background: var(--surface-2); border: 0; font-size: .85rem; max-width: 240px;
}
.loc-chip:hover { background: var(--surface-3); }
.loc-chip .loc-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; overflow: hidden; }
.loc-chip small { font-size: .68rem; color: var(--ink-3); font-weight: 500; }
.loc-chip strong { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge-count {
  position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--accent); color: #fff; font: 700 .7rem/18px var(--f-body); text-align: center;
}
.menu-btn { display: none; }
.nav { position: relative; }
.mega-trigger {
  display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px 8px 14px; border-radius: 999px; border: 0;
  background: none; font-weight: 600; font-size: .92rem; color: var(--ink-2);
}
.mega-trigger svg { width: 16px; height: 16px; transition: transform .2s; }
.mega-trigger:hover, .mega-trigger.active, .mega-wrap.open .mega-trigger { color: var(--ink); background: var(--surface-2); }
.mega-wrap.open .mega-trigger svg { transform: rotate(180deg); }
.mega {
  position: absolute; left: 0; right: 0; top: calc(100% + 10px); background: var(--surface); border-radius: var(--r-lg);
  box-shadow: var(--shadow-3); padding: 20px; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.mega-wrap.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mega-item { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: var(--r); }
.mega-item:hover { background: var(--bg); }
.mega-item img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; flex: none; }
.mega-item strong { display: block; font-family: var(--f-display); font-size: .98rem; color: var(--ink); }
.mega-item small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .8rem; color: var(--ink-3); line-height: 1.4; }
.mega-foot { display: flex; align-items: center; gap: 18px; margin-top: 14px; padding: 14px 10px 0; border-top: 1px solid var(--line); }
.nav-links { align-items: center; }
@media (max-width: 1180px) { .nav-links > a:not(:last-child) { display: none; } }
@media (max-width: 960px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-grid; }
  .nav { padding: 0 6px 0 18px; gap: 8px; }
}
@media (max-width: 640px) {
  .loc-chip { max-width: 140px; padding-right: 10px; }
  .loc-chip small { display: none; }
  .logo-text { display: none; }
  .site-header { top: 6px; padding-top: 6px; }
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 80; background: var(--bg); padding: 24px var(--gutter);
  transform: translateY(-100%); transition: transform .3s ease; display: flex; flex-direction: column; gap: 6px;
}
.mobile-menu.open { transform: none; }
.mobile-menu { overflow-y: auto; }
.mobile-menu a:not(.logo) { font: 700 1.35rem/1.2 var(--f-display); padding: 12px 0; border-bottom: 1px solid var(--line); }

/* ---------- page shell ---------- */
main { min-height: 60vh; }
.page { padding-top: 32px; padding-bottom: 80px; }
.page-head { padding: 28px 0 8px; }
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); }
.crumbs { font-size: .85rem; color: var(--ink-3); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.crumbs a:hover { color: var(--ink); }
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head p { max-width: 540px; }
.page-loading { display: grid; place-items: center; min-height: 50vh; color: var(--ink-3); }

/* ---------- hero ---------- */
.hero {
  position: relative; margin: 16px var(--gutter) 0; border-radius: var(--r-xl); overflow: hidden;
  min-height: min(78vh, 720px); display: grid; align-items: end;
  background: radial-gradient(120% 90% at 80% 20%, #6F8B5E 0%, #34503A 45%, #1D2E22 100%);
  color: #fff;
}
.hero-art { position: absolute; inset: 0; pointer-events: none; }
.hero-art img { position: absolute; right: max(4%, calc(50% - 600px)); bottom: -4%; width: min(38vw, 520px); filter: drop-shadow(0 40px 60px rgba(0,0,0,.35)); border-radius: 28px; }
.hero-inner { position: relative; padding: clamp(28px, 6vw, 72px); max-width: min(720px, 58%); }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: 1; }
.hero p { font-size: clamp(1rem, 1.6vw, 1.2rem); opacity: .9; margin-top: 18px; max-width: 520px; }
.hero .row { margin-top: 30px; flex-wrap: wrap; }
.hero .eyebrow { color: #F1C98A; margin-bottom: 18px; display: inline-block; }
.hero-badges { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 34px; font-size: .85rem; opacity: .9; }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 1000px) {
  .hero { min-height: auto; align-items: start; }
  .hero-art { position: relative; height: 320px; order: 2; }
  .hero-art img { right: 50%; transform: translateX(50%); width: 320px; bottom: -40px; }
  .hero-inner { padding-bottom: 8px; max-width: 720px; }
}

/* ---------- trust strip ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.trust div { background: var(--surface); border-radius: var(--r); padding: 18px 20px; display: flex; gap: 14px; align-items: center; }
.trust svg { flex: none; color: var(--brand); width: 26px; height: 26px; }
.trust strong { display: block; font-size: .95rem; }
.trust span { font-size: .82rem; color: var(--ink-3); }
@media (max-width: 900px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trust { grid-template-columns: 1fr; } }

/* ---------- product cards ---------- */
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
@media (min-width: 900px) { .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.p-card {
  background: var(--surface); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s; position: relative;
}
.p-card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.p-card .p-media { aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface-2); }
.p-card .p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.p-card:hover .p-media img { transform: scale(1.04); }
.p-card .p-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.p-card h3 { font-size: 1.12rem; }
.p-card .p-tag { font-size: .88rem; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-card .p-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.p-card .p-badge { position: absolute; top: 14px; left: 14px; }
.price { display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price strong { font: 800 1.15rem/1 var(--f-display); }
.price s { color: var(--ink-3); font-size: .9rem; }
.price .off { font-size: .75rem; font-weight: 700; color: var(--ok); }
.pill {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px;
  font-size: .75rem; font-weight: 600; background: var(--surface); color: var(--ink);
}
.pill-dark { background: var(--ink); color: #fff; }
.pill-accent { background: var(--accent-soft); color: #7A4F12; }
.pill-soft { background: var(--surface-2); }
.pill-ok { background: var(--ok-soft); color: var(--ok); }
.pill-warn { background: var(--warn-soft); color: var(--warn); }
.pill-danger { background: var(--danger-soft); color: var(--danger); }

/* shop page */
.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 24px 0 8px; }
.shop-search { width: min(320px, 100%); }
.shop-search .input { height: 42px; border-radius: 999px; }
.shop-group { margin-top: 36px; }
[data-card] > .p-card { height: 100%; }
.shop-group-head { margin-bottom: 16px; }
.shop-group-head h2 { font-size: 1.6rem; }

/* origins */
.origins { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.origin-card { background: var(--surface); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.origin-card svg { width: 18px; height: 18px; color: var(--brand); }
.origin-card h3 { font-size: 1.2rem; }
.origin-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: .92rem; color: var(--ink-2); }
.origin-card a:hover { color: var(--ink); text-decoration: underline; }
.origin-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.origin-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.origin-list .subtle { display: inline-flex; align-items: center; gap: 4px; }
.origin-list svg { width: 14px; height: 14px; }

/* category tiles */
.grid-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
@media (min-width: 900px) { .grid-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cat-tile {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 300px; display: flex; align-items: flex-end;
  padding: 24px; color: var(--ink); isolation: isolate;
}
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .6s; }
.cat-tile:hover img { transform: scale(1.04); }
.cat-tile .cat-info { background: rgba(255,255,255,.94); border-radius: var(--r); padding: 16px 18px; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cat-tile h3 { font-size: 1.2rem; }

/* ---------- split feature panels (Nomad-style) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-xl); overflow: hidden; background: var(--surface); min-height: 460px; }
.split + .split { margin-top: 20px; }
.split-media { position: relative; min-height: 320px; background: var(--surface-2); }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-text { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.split.reverse .split-media { order: 2; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } }

/* sourcing journey */
.journey { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; counter-reset: step; }
.journey li { list-style: none; background: var(--surface); border-radius: var(--r); padding: 20px; position: relative; counter-increment: step; }
.journey li::before {
  content: counter(step, decimal-leading-zero); font: 800 .8rem/1 var(--f-display); color: var(--accent); letter-spacing: .1em;
  display: block; margin-bottom: 12px;
}
.journey strong { display: block; font-family: var(--f-display); font-size: 1.05rem; margin-bottom: 4px; }
.journey p { font-size: .88rem; color: var(--ink-2); }
ol.journey { padding: 0; margin: 0; }
.dark-panel { background: var(--brand); color: #EEF1EA; border-radius: var(--r-xl); padding: clamp(28px, 5vw, 64px); }
.dark-panel .journey li { background: rgba(255,255,255,.08); }
.dark-panel .journey p { color: #C9D3C6; }
.dark-panel .eyebrow { color: #F1C98A; }

/* ---------- product detail ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 12px; }
.gallery-main { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 1 / 1; background: var(--surface-2); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: none; width: 76px; height: 76px; padding: 0; border-radius: 14px; overflow: hidden; border: 2px solid transparent; background: var(--surface-2); }
.thumbs button.active { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buybox { display: flex; flex-direction: column; gap: 20px; }
.buybox h1 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.buybox .lead { font-size: 1.08rem; color: var(--ink-2); }
.buybox .price strong { font-size: 1.8rem; }
.variant-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.variant-pills button {
  min-width: 96px; padding: 10px 16px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--surface);
  text-align: left; display: flex; flex-direction: column; gap: 2px; transition: border-color .15s;
}
.variant-pills button strong { font-size: .95rem; }
.variant-pills button span { font-size: .8rem; color: var(--ink-3); }
.variant-pills button.active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.variant-pills button:disabled { opacity: .45; cursor: not-allowed; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); height: 48px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; display: grid; place-items: center; border-radius: 999px; }
.qty button:hover { background: var(--surface-2); }
.qty span { min-width: 28px; text-align: center; font-weight: 700; }
.qty.sm { height: 36px; }
.qty.sm button { width: 34px; }
.buy-row { display: flex; gap: 12px; }
.buy-row .btn { flex: 1; }
.deliver-check { background: var(--surface); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0; margin: 0; }
.highlights li { list-style: none; display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.highlights svg { flex: none; color: var(--ok); width: 18px; height: 18px; margin-top: 3px; }
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: static; }
}
@media (max-width: 480px) { .highlights { grid-template-columns: 1fr; } }

.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; align-items: center;
  font: 700 1.02rem/1.2 var(--f-display);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary svg { transition: transform .2s; }
.accordion details[open] summary svg { transform: rotate(180deg); }
.accordion .acc-body { padding: 0 0 20px; color: var(--ink-2); font-size: .95rem; }
.nutri { width: 100%; border-collapse: collapse; font-size: .92rem; }
.nutri th, .nutri td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; }
.nutri td:last-child, .nutri th:last-child { text-align: right; font-weight: 600; color: var(--ink); }
.nutri caption { text-align: left; font-size: .82rem; color: var(--ink-3); padding-bottom: 6px; }

.sticky-buy {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; background: var(--ink); color: #fff;
  border-radius: 999px; padding: 8px 8px 8px 22px; display: none; align-items: center; justify-content: space-between; gap: 12px;
  box-shadow: var(--shadow-3);
}
.sticky-buy.show { display: flex; }
@media (min-width: 901px) { .sticky-buy { display: none !important; } }

/* ---------- cart drawer ---------- */
.drawer-back { position: fixed; inset: 0; background: rgba(16, 22, 18, .42); z-index: 90; opacity: 0; transition: opacity .25s; }
.drawer-back.in { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); z-index: 91; background: var(--bg);
  transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column;
}
.drawer.in { transform: none; }
.drawer-head { padding: 20px 20px 12px 24px; display: flex; justify-content: space-between; align-items: center; }
.drawer-body { flex: 1; overflow-y: auto; padding: 0 24px; }
.drawer-foot { padding: 18px 24px 24px; background: var(--surface); border-top: 1px solid var(--line); }
.free-ship { font-size: .85rem; background: var(--surface); border-radius: var(--r); padding: 12px 14px; margin-bottom: 14px; }
.bar { height: 6px; border-radius: 999px; background: var(--surface-3); overflow: hidden; margin-top: 8px; }
.bar span { display: block; height: 100%; background: var(--brand); border-radius: inherit; transition: width .3s; }

.line-item { display: grid; grid-template-columns: 80px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line-item img { width: 80px; height: 80px; border-radius: 14px; object-fit: cover; background: var(--surface-2); }
.line-item h4 { font-size: .98rem; font-family: var(--f-display); }
.line-item .meta { font-size: .82rem; color: var(--ink-3); }
.line-item .right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.sum-row { display: flex; justify-content: space-between; font-size: .95rem; padding: 4px 0; }
.sum-row.total { font: 800 1.15rem/1.4 var(--f-display); padding-top: 10px; margin-top: 6px; border-top: 1px solid var(--line); }
.empty { text-align: center; padding: 60px 20px; color: var(--ink-2); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.empty svg { width: 44px; height: 44px; color: var(--ink-3); }

/* ---------- cards / panels ---------- */
.card { background: var(--surface); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 28px); }
.card-sm { background: var(--surface); border-radius: var(--r); padding: 16px; }
.card h2 { font-size: 1.3rem; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.two-col > aside { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } .two-col > aside { position: static; } }

.addr-list { display: grid; gap: 12px; }
.addr {
  display: flex; gap: 14px; padding: 16px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--surface);
  cursor: pointer; align-items: flex-start;
}
.addr.selected { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.addr input[type=radio] { margin-top: 4px; accent-color: var(--ink); width: 18px; height: 18px; }
.addr .addr-text { font-size: .9rem; color: var(--ink-2); line-height: 1.5; }
.addr strong { color: var(--ink); }
.pay-opt { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; }
.pay-opt.selected { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pay-opt input[type=radio] { width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.pay-opt.disabled { border-color: var(--line); opacity: .6; }

/* install-app sheet */
.install-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; padding: 12px; display: flex; justify-content: center;
  transform: translateY(110%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
.install-sheet.in { transform: none; }
.install-card { pointer-events: auto; position: relative; width: min(440px, 100%); background: var(--surface); border-radius: var(--r-lg);
  box-shadow: var(--shadow-3); padding: 20px; border: 1px solid var(--line); padding-bottom: max(20px, env(safe-area-inset-bottom)); }
.install-close { position: absolute; top: 10px; right: 10px; }
.install-icon { width: 56px; height: 56px; border-radius: 14px; flex: none; }
.install-title { font: 800 1.1rem/1.2 var(--f-display); display: block; padding-right: 30px; }
.install-body { margin-top: 14px; display: grid; gap: 14px; font-size: .95rem; }
.install-steps { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.install-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.footer-install { display: block; cursor: pointer; background: none; border: 0; padding: 4px 0; color: inherit; font-size: .92rem; text-align: left; }
.footer-install:hover { color: #fff; }

/* UPI pay now */
.pay-card { border: 2px solid var(--accent); }
.pay-card.pay-done { border-color: var(--ok); }
.pay-card > .row > svg, .pay-card .row > svg { color: var(--ok); width: 28px; height: 28px; flex: none; }
.pay-apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-top: 12px; }
.pay-app { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--surface); font-weight: 600; font-size: .92rem; }
.pay-app:hover, .pay-app:active { border-color: var(--ink); }
.pay-dot { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; font: 800 .9rem/1 var(--f-display); flex: none; }
.pay-qr-wrap { margin-top: 14px; }
.pay-qr-wrap summary { cursor: pointer; font-weight: 600; font-size: .92rem; }
.pay-qr { width: 220px; max-width: 100%; aspect-ratio: 1; background: #fff; border-radius: var(--r); padding: 10px; display: grid; place-items: center; border: 1px solid var(--line); }
.pay-qr svg { width: 100%; height: 100%; }
.pay-qr-wrap .pay-qr { margin-top: 12px; }
.pay-desktop { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; margin-top: 18px; }
@media (max-width: 560px) { .pay-desktop { grid-template-columns: 1fr; } }
.upi-id { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; padding: 10px 14px; background: var(--bg); border-radius: var(--r-sm); }
.upi-id code { font: 600 .95rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; }
.pay-sep { border: 0; border-top: 1px dashed var(--line); margin: 22px 0 18px; }
.file-pick { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border: 1.5px dashed var(--ink-3); border-radius: var(--r-sm); cursor: pointer; font-size: .92rem; color: var(--ink-2); max-width: 100%; overflow: hidden; }
.file-pick:hover { border-color: var(--ink); color: var(--ink); }
.req { color: var(--danger); }
/* dashboard */
.todo { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 20px; }
.todo-item { background: var(--surface); border-radius: var(--r); padding: 14px 16px; display: flex; align-items: baseline; gap: 10px; border: 1.5px solid transparent; }
.todo-item:hover { border-color: var(--ink); }
.todo-item strong { font: 800 1.5rem/1 var(--f-display); }
.todo-item span { font-size: .88rem; color: var(--ink-2); }
.todo-item.urgent { border-color: var(--accent); background: var(--accent-soft); }
.muted-item strong { color: var(--ink-3); }
.stat small { display: block; margin-top: 4px; font-size: .78rem; }
.dash-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1000px) { .dash-grid { grid-template-columns: 1fr; } }
.table.compact td, .table.compact th { padding: 10px 8px; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.share { display: inline-block; width: calc(100% - 44px); height: 8px; border-radius: 4px; background: var(--surface-2); vertical-align: middle; margin-right: 6px; overflow: hidden; }
.share span { display: block; height: 100%; background: var(--brand-2); border-radius: 4px; }
.pipeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.pipe { background: var(--bg); border-radius: var(--r-sm); padding: 10px 6px; text-align: center; }
.pipe:hover { background: var(--surface-2); }
.pipe strong { display: block; font: 800 1.2rem/1.2 var(--f-display); }
.pipe span { font-size: .72rem; color: var(--ink-3); text-transform: capitalize; }
.chart-wrap { position: relative; }
.chart { width: 100%; height: auto; display: block; }
.ch-grid { stroke: var(--line); stroke-width: 1; }
.ch-axis { stroke: var(--ink-3); stroke-width: 1; }
.ch-tick { fill: var(--ink-3); font: 500 11px var(--f-body); }
.ch-bar { fill: var(--brand-2); }
.ch-col { cursor: pointer; }
.ch-col.active .ch-bar, .ch-col:hover .ch-bar { fill: var(--brand); }
.ch-tip { position: absolute; top: 0; transform: translateX(-50%); background: var(--ink); color: #fff; border-radius: var(--r-sm); padding: 8px 12px; font-size: .82rem; display: grid; gap: 2px; pointer-events: none; white-space: nowrap; box-shadow: var(--shadow-2); }
.ch-tip .subtle { color: #AEB6AF; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .02em; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; align-items: start; }
.review-grid .kv { grid-template-columns: 110px 1fr; }
.review-proof .proof-thumb img { width: 200px; }
.ocr-text { white-space: pre-wrap; font-size: .78rem; background: var(--bg); padding: 10px; border-radius: var(--r-sm); max-height: 220px; overflow: auto; margin: 6px 0 0; }
.review-actions { display: grid; gap: 12px; padding: 16px; border-radius: var(--r); background: var(--bg); }
.reject-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .reject-row { grid-template-columns: 1fr; } }
.checklist { list-style: none; margin: 0; padding: 14px; display: grid; gap: 8px; background: var(--bg); border-radius: var(--r-sm); font-size: .9rem; }
.ck { display: flex; gap: 10px; align-items: flex-start; }
.ck svg, .ck-dot { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.ck-ok { color: var(--ink); } .ck-ok svg { color: var(--ok); }
.ck-bad { color: var(--danger); }
.ck-warn { color: var(--warn); }
.ck-dot { display: inline-grid; place-items: center; border-radius: 50%; background: var(--warn); color: #fff; font: 800 .72rem/1 var(--f-body); }
.proof-thumb { display: inline-flex; flex-direction: column; gap: 6px; font-size: .85rem; font-weight: 600; }
.proof-thumb img { width: 180px; max-height: 320px; object-fit: contain; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg); }
.proof-thumb svg { width: 14px; height: 14px; }

/* ---------- auth ---------- */
.auth { min-height: calc(100vh - 200px); display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 16px var(--gutter); border-radius: var(--r-xl); overflow: hidden; background: var(--surface); }
.auth-art { background: radial-gradient(120% 100% at 20% 10%, #6F8B5E 0%, #2F4A35 55%, #1D2E22 100%); color: #fff; padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.auth-art h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.auth-form { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; max-width: 520px; width: 100%; margin: 0 auto; }
.auth-form h1 { font-size: 2rem; margin-bottom: 6px; }
.auth-form form { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.legal ul { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.legal strong { color: var(--ink); }
.btn-google { background: var(--surface); border-color: var(--line); gap: 12px; }
.btn-google:hover { background: var(--surface-2); }
.auth-form [data-social]:empty { display: none; }
.auth-form [data-social]:not(:empty) { margin-top: 24px; }
.auth-form [data-social]:not(:empty) + form { margin-top: 0; }
.pw-toggle { background: none; border: 0; font-size: .8rem; font-weight: 600; color: var(--ink-2); padding: 8px 12px; }
@media (max-width: 860px) { .auth { grid-template-columns: 1fr; } .auth-art { display: none; } }

/* ---------- account ---------- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; }
.tabs a { padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .92rem; background: var(--surface); color: var(--ink-2); }
.tabs a.active { background: var(--ink); color: #fff; }
.order-card { background: var(--surface); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 14px; }
.order-card + .order-card { margin-top: 14px; }
.thumb-row { display: flex; gap: 8px; }
.thumb-row img { width: 54px; height: 54px; border-radius: 12px; object-fit: cover; background: var(--surface-2); }
.timeline { display: flex; gap: 0; margin: 8px 0; }
.timeline .t-step { flex: 1; text-align: center; position: relative; font-size: .78rem; color: var(--ink-3); padding-top: 26px; }
.timeline .t-step::before { content: ''; position: absolute; top: 7px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--surface-3); z-index: 1; }
.timeline .t-step::after { content: ''; position: absolute; top: 13px; left: -50%; width: 100%; height: 2px; background: var(--surface-3); }
.timeline .t-step:first-child::after { display: none; }
.timeline .t-step.done { color: var(--ink); font-weight: 600; }
.timeline .t-step.done::before, .timeline .t-step.done::after { background: var(--brand); }

/* ---------- modal ---------- */
.modal-back { position: fixed; inset: 0; z-index: 100; background: rgba(16, 22, 18, .45); display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .2s; }
.modal-back.in { opacity: 1; }
.modal { background: var(--bg); border-radius: var(--r-lg); width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; position: relative; box-shadow: var(--shadow-3); transform: translateY(10px); transition: transform .2s; }
.modal-back.in .modal { transform: none; }
.modal-body { padding: 28px; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; }
.modal-sm { width: min(420px, 100%); }
.modal-lg { width: min(760px, 100%); }
.confirm p { font-size: 1.02rem; margin: 6px 0 22px; padding-right: 30px; }
.map-box { height: 280px; border-radius: var(--r); overflow: hidden; background: var(--surface-2); }
.map-pin span { display: block; width: 28px; height: 28px; border-radius: 50% 50% 50% 0; background: var(--ink); transform: rotate(-45deg); border: 3px solid #fff; box-shadow: var(--shadow-2); }
.divider-or { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: .8rem; margin: 18px 0; }
.divider-or::before, .divider-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* ---------- toasts ---------- */
#toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: .9rem; font-weight: 500; box-shadow: var(--shadow-3); opacity: 0; transform: translateY(10px); transition: all .25s; max-width: calc(100vw - 32px); }
.toast.in { opacity: 1; transform: none; }
.toast-error { background: var(--danger); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #C8CEC8; margin-top: 40px; padding: 64px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.site-footer h4 { color: #fff; font-size: .9rem; margin-bottom: 14px; letter-spacing: .02em; }
.site-footer a { display: block; padding: 4px 0; font-size: .92rem; }
.site-footer a:hover { color: #fff; }
.site-footer .logo { color: #fff; display: inline-flex; }
.foot-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- skeletons ---------- */
.skel { background: linear-gradient(90deg, var(--surface-2), var(--surface-3), var(--surface-2)); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: var(--r); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* =============================================================================
   Admin
   ========================================================================== */
.admin { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; background: #F3F2EE; }
.admin-side { background: var(--ink); color: #C8CEC8; padding: 20px 14px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 4px; }
.admin-side .logo { color: #fff; padding: 6px 10px 22px; font-size: 1rem; }
.admin-side a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: .92rem; font-weight: 500; }
.admin-side a:hover { background: rgba(255,255,255,.07); color: #fff; }
.admin-side a.active { background: rgba(255,255,255,.12); color: #fff; }
.admin-side .side-foot { margin-top: auto; border-top: 1px solid rgba(255,255,255,.1); padding-top: 12px; }
.admin-main { padding: 28px clamp(16px, 3vw, 40px) 60px; min-width: 0; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.admin-top h1 { font-size: 1.7rem; }
.admin-mobile-nav { display: none; }
@media (max-width: 900px) {
  .admin { grid-template-columns: 1fr; }
  .admin-side { display: none; }
  .admin-mobile-nav { display: flex; gap: 6px; overflow-x: auto; padding: 12px 16px; background: var(--ink); position: sticky; top: 0; z-index: 10; }
  .admin-mobile-nav a { color: #C8CEC8; padding: 8px 12px; border-radius: 999px; font-size: .85rem; white-space: nowrap; }
  .admin-mobile-nav a.active { background: rgba(255,255,255,.15); color: #fff; }
}
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 24px; }
.stat { background: var(--surface); border-radius: var(--r); padding: 18px 20px; }
.stat span { font-size: .82rem; color: var(--ink-3); font-weight: 500; }
.stat strong { display: block; font: 800 1.7rem/1.2 var(--f-display); margin-top: 6px; }
.table-wrap { background: var(--surface); border-radius: var(--r); overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; font-weight: 600; color: var(--ink-3); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr.clickable { cursor: pointer; }
.table tr.clickable:hover td { background: #FAF9F6; }
.table .thumb { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--surface-2); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.filters button, .filters a { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 14px; font-size: .85rem; font-weight: 500; }
.filters button.active, .filters a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.editor { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.editor .card + .card { margin-top: 20px; }
.editor aside .card { position: static; }
.editor h2 { font-size: 1.05rem; margin-bottom: 16px; }
@media (max-width: 1080px) { .editor { grid-template-columns: 1fr; } }
.img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.img-grid .img-item { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.img-grid .img-item img { width: 100%; height: 100%; object-fit: cover; }
.img-grid .img-item .img-actions { position: absolute; inset: auto 6px 6px 6px; display: flex; justify-content: space-between; }
.img-grid .img-item .img-actions button { background: rgba(255,255,255,.95); border: 0; border-radius: 999px; width: 28px; height: 28px; display: grid; place-items: center; }
.img-grid .img-item .img-actions svg { width: 15px; height: 15px; }
.img-grid .img-item .primary-tag { position: absolute; top: 6px; left: 6px; }
.dropzone { aspect-ratio: 1; border: 1.5px dashed var(--ink-3); border-radius: 12px; display: grid; place-items: center; text-align: center; font-size: .8rem; color: var(--ink-2); cursor: pointer; background: #FAF9F6; padding: 8px; }
.dropzone:hover { border-color: var(--ink); color: var(--ink); }
.var-table input { height: 40px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); width: 100%; min-width: 70px; background: #fff; }
.var-table td { padding: 8px 6px; }
.var-table th { padding: 8px 6px; }
.rows-editor { display: grid; gap: 8px; }
.rows-editor .r { display: grid; grid-template-columns: 1fr 1fr 40px; gap: 8px; }
.rows-editor .r.three { grid-template-columns: 1fr 2fr 40px; }
.rows-editor .input { height: 42px; }
.status-select { height: 38px; border-radius: 999px; padding: 0 12px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .85rem; }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 8px 16px; font-size: .92rem; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; }
