/* ============================================
   ALIGATORZOO — HI-FI DESIGN
   Design tokens + base + utilities + animations
   ============================================ */

:root {
  /* Surfaces */
  --bg: #FAF6EE;
  --bg-alt: #F4EFE3;
  --surface: #FFFFFF;
  --ink: #1A1A1A;
  --ink-2: #2A2A2A;
  --ink-soft: #6B6B6B;
  --ink-muted: #9A968E;
  --line: #E7E1D2;
  --line-soft: #EFEAD9;

  /* Brand — z logo Aligator ZOO: jasna zieleń („aligator”) + ciemna zieleń („ZOO”) */
  --accent: #5BC83D;            /* logo bright green */
  --accent-hover: #4DAE32;
  --accent-soft: #E1F4D9;
  --accent-ink: #1B6B2D;        /* logo dark green */
  --accent-deep: #1B6B2D;
  --gold: #D8A33B;
  --green-go: #5BC83D;
  --green-go-glow: rgba(91, 200, 61, 0.45);

  /* Pastels for category chips & pet circles */
  --pastel-mint:     #D8ECD8;
  --pastel-peach:    #FBE0CF;
  --pastel-lavender: #E6DEF1;
  --pastel-sky:      #D7E5EE;
  --pastel-cream:    #FBEFC8;
  --pastel-rose:     #F5D6D6;

  /* Typography */
  --ff-display: 'Instrument Serif', 'Georgia', serif;
  --ff-body: 'Inter', system-ui, -apple-system, sans-serif;
  --ff-hand: 'Caveat', cursive;
  --ff-mono: 'JetBrains Mono', 'Space Mono', ui-monospace, monospace;

  /* Radii */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 36px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(20,15,5,0.04), 0 2px 4px rgba(20,15,5,0.04);
  --shadow-md: 0 4px 8px rgba(20,15,5,0.06), 0 8px 24px rgba(20,15,5,0.05);
  --shadow-lg: 0 10px 20px rgba(20,15,5,0.08), 0 30px 60px rgba(20,15,5,0.08);
  --shadow-card-hover: 0 12px 24px rgba(20,15,5,0.10), 0 30px 60px rgba(20,15,5,0.10);
  --shadow-inset: inset 0 0 0 1px rgba(0,0,0,0.04);

  /* Layout */
  --container: 1280px;
  --gutter: 24px;
  --section-y: 96px;

  /* Transitions */
  --t-fast: 120ms cubic-bezier(.4,0,.2,1);
  --t: 220ms cubic-bezier(.4,0,.2,1);
  --t-slow: 420ms cubic-bezier(.4,0,.2,1);
  --t-spring: 420ms cubic-bezier(.34, 1.3, .64, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { overflow-x: hidden; }

img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: transparent; padding: 0; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: white; }

/* ===== Type scale ===== */
.font-display { font-family: var(--ff-display); font-weight: 400; letter-spacing: -0.01em; }
.font-hand    { font-family: var(--ff-hand); font-weight: 500; }
.font-mono    { font-family: var(--ff-mono); font-weight: 400; letter-spacing: 0.02em; }
.italic       { font-style: italic; }

.h-display    { font-family: var(--ff-display); font-size: clamp(48px, 6vw, 88px); line-height: 0.96; letter-spacing: -0.02em; font-weight: 400; }
.h-1          { font-family: var(--ff-display); font-size: clamp(40px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -0.015em; font-weight: 400; }
.h-2          { font-family: var(--ff-display); font-size: clamp(32px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -0.01em; font-weight: 400; }
.h-3          { font-family: var(--ff-display); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.1;  letter-spacing: -0.005em; font-weight: 400; }

.eyebrow      { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.label-hand   { font-family: var(--ff-hand); font-size: 24px; color: var(--accent); }

.lead         { font-size: 18px; color: var(--ink-soft); line-height: 1.55; }
.t-soft       { color: var(--ink-soft); }
.t-mut        { color: var(--ink-muted); }

/* ===== Layout ===== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-block: var(--section-y); }

@media (max-width: 900px) { :root { --section-y: 72px; --gutter: 20px; } }
@media (max-width: 600px) { :root { --section-y: 56px; --gutter: 16px; } }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 14px; letter-spacing: 0.01em;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(91,200,61,.32); }
.btn-primary:active { transform: translateY(0); }

.btn-dark { background: var(--ink); color: white; }
.btn-dark:hover { background: #000; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.20); }

.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: white; }

.btn-on-dark { background: white; color: var(--ink); }
.btn-on-dark:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255,255,255,.20); }

.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-lg { padding: 16px 28px; font-size: 15px; }

/* ===== Underline accent (handwritten-feel) ===== */
.u-wave {
  position: relative; display: inline-block;
}
.u-wave::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -8px; height: 10px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'><path d='M2 6 Q 25 1, 50 5 T 100 5 T 150 5 T 198 5' fill='none' stroke='%23D9582B' stroke-width='2.5' stroke-linecap='round'/></svg>") no-repeat center / 100% 100%;
}

.italic-accent { font-family: var(--ff-display); font-style: italic; color: var(--accent); }

/* ===== Cards ===== */
.card { background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--line); }
.card-hover { transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); border-color: var(--line-soft); }

/* Image zoom */
.img-zoom { overflow: hidden; }
.img-zoom > img, .img-zoom > .img-fill {
  transition: transform var(--t-slow);
}
.img-zoom:hover > img, .img-zoom:hover > .img-fill {
  transform: scale(1.06);
}

/* ===== Badges ===== */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  background: var(--bg-alt); color: var(--ink); text-transform: uppercase;
  font-family: var(--ff-mono);
}
.badge-accent { background: var(--accent); color: white; }
.badge-soft   { background: var(--accent-soft); color: var(--accent-ink); }
.badge-gold   { background: var(--gold); color: white; }
.badge-dark   { background: var(--ink); color: white; }
.badge-green  { background: var(--pastel-mint); color: #1F5C2F; }

/* ===== Live status pulse ===== */
.dot {
  width: 8px; height: 8px; border-radius: 50%; display: inline-block;
}
.dot-live {
  background: var(--green-go);
  box-shadow: 0 0 0 0 var(--green-go-glow);
  animation: pulse 2s infinite;
}
.dot-off { background: var(--ink-muted); }

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 var(--green-go-glow); }
  70%  { box-shadow: 0 0 0 8px rgba(91,200,61,0); }
  100% { box-shadow: 0 0 0 0 rgba(91,200,61,0); }
}

/* ===== Form ===== */
.input {
  width: 100%;
  padding: 14px 18px;
  background: white;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  font: inherit; color: var(--ink);
  transition: border-color var(--t), box-shadow var(--t);
}
.input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.input.error {
  border-color: #C84545;
  box-shadow: 0 0 0 4px rgba(200,69,69,.12);
}

/* ===== Scroll-reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(.4,0,.2,1), transform 700ms cubic-bezier(.4,0,.2,1);
}
.reveal.in {
  opacity: 1; transform: none;
}
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ============================================
   NAV
   ============================================ */
.nav-wrap {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 238, 0.9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  transition: background var(--t), border-color var(--t), padding var(--t);
  border-bottom: 1px solid transparent;
}
.nav-wrap.scrolled {
  background: rgba(250, 246, 238, 0.96);
  border-bottom-color: var(--line);
}
/* Top trust bar */
.trust-bar {
  background: var(--accent-deep);
  color: white;
  font-size: 12px;
  font-family: var(--ff-mono);
  letter-spacing: 0.02em;
}
.trust-bar-inner {
  display: flex; justify-content: space-between; gap: 24px;
  padding: 8px 0;
}
.trust-bar-inner > span { white-space: nowrap; }
@media (max-width: 900px) { .trust-bar-inner > :nth-child(n+3) { display: none; } }

/* Category sub-nav */
.cat-nav {
  border-top: 1px solid var(--line);
  background: rgba(250, 246, 238, 0.6);
}
.cat-nav-inner {
  display: flex; gap: 24px; padding: 12px 0;
  overflow-x: auto; scrollbar-width: none;
  font-size: 13px;
}
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-link {
  white-space: nowrap;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  transition: color var(--t);
}
.cat-link:hover { color: var(--accent-ink); }
.cat-link.is-active {
  color: var(--accent-ink);
  font-weight: 700;
}
.cat-link.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -13px; height: 2px;
  background: var(--accent);
}

/* Search input in nav */
.nav-search {
  display: flex; align-items: center; gap: 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  height: 44px;
  width: 100%;
  max-width: 560px;
  margin: 0 24px;
  transition: border-color var(--t), box-shadow var(--t);
}
.nav-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.nav-search input {
  border: 0; outline: 0; background: transparent;
  flex: 1; font: inherit; font-size: 14px;
  color: var(--ink);
}
.nav-search input::placeholder { color: var(--ink-muted); font-family: var(--ff-mono); font-size: 12px; }
.nav-search > svg { color: var(--ink-soft); flex-shrink: 0; }
.nav-search-clear {
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-soft); transition: background var(--t);
}
.nav-search-clear:hover { background: var(--bg-alt); }
@media (max-width: 900px) { .nav-search { display: none; } }

.nav-action {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: 999px;
  font-size: 13px; color: var(--ink); font-weight: 500;
  background: transparent;
  position: relative;
  transition: background var(--t), color var(--t);
}
.nav-action:hover { background: var(--bg-alt); color: var(--accent-ink); }
.nav-action .font-hand { font-family: var(--ff-hand); font-size: 18px; color: var(--accent-ink); line-height: 1; }
.nav-action .paw { font-size: 14px; }
.nav-action-label { font-size: 13px; }
@media (max-width: 700px) { .nav-action-label, .nav-action .font-hand { display: none; } }

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 18px 0;
  transition: padding var(--t);
}
.nav-wrap.scrolled .nav { padding: 12px 0; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: var(--ff-display); font-size: 24px; }
.nav-logo img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 28px; justify-content: center; }
.nav-link {
  font-size: 14px; font-weight: 500;
  position: relative; padding: 4px 0;
  transition: color var(--t);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform var(--t);
}
.nav-link:hover { color: var(--accent); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--accent); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background var(--t), color var(--t);
  position: relative;
}
.icon-btn:hover { background: var(--bg-alt); }
.icon-btn .cart-count {
  position: absolute; top: 2px; right: 2px;
  background: var(--accent); color: white;
  font-size: 10px; font-weight: 700; font-family: var(--ff-mono);
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg);
  transition: transform var(--t-spring);
}
.icon-btn .cart-count.bump { animation: bump 420ms cubic-bezier(.34, 1.3, .64, 1); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }

/* Mobile nav */
.hamb { display: none; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamb { display: inline-flex; }
}

/* ===== Cart drawer ===== */
.drawer-scrim {
  position: fixed; inset: 0; background: rgba(20,15,5,0); z-index: 200;
  pointer-events: none;
  transition: background var(--t);
}
.drawer-scrim.open { background: rgba(20,15,5,0.4); pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 420px; max-width: 92vw;
  background: var(--bg); z-index: 201;
  transform: translateX(100%);
  transition: transform 360ms cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  box-shadow: -20px 0 60px rgba(20,15,5,0.18);
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h3 { margin: 0; font-family: var(--ff-display); font-size: 26px; font-weight: 400; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 24px; }
.drawer-foot { padding: 22px 24px; border-top: 1px solid var(--line); background: var(--surface); }

.cart-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); align-items: center; }
.cart-row:last-child { border-bottom: 0; }
.cart-thumb { width: 64px; height: 64px; border-radius: var(--r-md); object-fit: cover; background: var(--bg-alt); }
.cart-name  { font-weight: 600; font-size: 14px; line-height: 1.3; }
.cart-meta  { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 2px; }
.qty-btn { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; transition: background var(--t); }
.qty-btn:hover { background: var(--bg-alt); }
.qty-val { width: 28px; text-align: center; font-weight: 600; font-size: 13px; font-variant-numeric: tabular-nums; }
.cart-line-price { font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; min-width: 64px; text-align: right; }

.cart-empty { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 60px 20px; text-align: center; }
.cart-empty .em { font-size: 44px; }

/* ============================================
   HERO
   ============================================ */
.hero { padding-top: 28px; padding-bottom: 56px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  min-height: 560px;
}
.hero-autoship {
  grid-row: 1 / span 2;
  background: var(--ink);
  color: white;
  border-radius: var(--r-2xl);
  padding: 40px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.hero-autoship .glow {
  position: absolute; right: -120px; top: -120px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(217,88,43,0.45), rgba(217,88,43,0) 60%);
  filter: blur(20px); pointer-events: none;
}
.hero-pet-slot {
  position: absolute; right: -20px; bottom: -20px; width: 280px; height: 280px;
  border-radius: 70px;
  background: var(--accent-soft);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
  transform: rotate(-4deg);
}
.hero-pet-slot img { width: 100%; height: 100%; object-fit: cover; }

.hero-eyebrow { color: var(--accent-soft); }
.hero-autoship h1 {
  margin: 14px 0 18px;
  font-family: var(--ff-display);
  font-size: clamp(44px, 5vw, 72px);
  line-height: 0.98; letter-spacing: -0.02em;
  font-weight: 400;
  max-width: 11ch;
}
.hero-autoship .lede {
  color: rgba(255,255,255,0.78); font-size: 16px; max-width: 28ch;
}
.feature-list {
  list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px;
}
.feature-list li { display: flex; gap: 12px; align-items: flex-start; }
.feature-list .check {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: white; display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.feature-list .ft-title { font-weight: 600; font-size: 14px; line-height: 1.3; }
.feature-list .ft-desc  { font-size: 13px; color: rgba(255,255,255,0.65); margin-top: 2px; }

.hero-cta-row { display: flex; gap: 12px; margin-top: auto; padding-top: 32px; padding-right: 240px; flex-wrap: wrap; }
@media (max-width: 760px) { .hero-cta-row { padding-right: 0; } }

/* Hero pet picker */
.hero-picker {
  background: var(--pastel-cream);
  border-radius: var(--r-2xl);
  padding: 22px;
}
.hero-picker .head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; gap: 12px; flex-wrap: wrap; }
.hero-picker .head h3 { font-family: var(--ff-display); font-size: 22px; line-height: 1.05; margin: 0; font-weight: 400; flex: 1 1 auto; min-width: 0; }
.hero-picker .head .font-hand { white-space: nowrap; }
.picker-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px;
}
.picker-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  cursor: pointer;
}
.picker-circle {
  width: 100%; aspect-ratio: 1; border-radius: 50%;
  border: 2.5px solid transparent;
  background: white;
  position: relative; overflow: hidden;
  transition: transform var(--t-spring), border-color var(--t), box-shadow var(--t);
}
.picker-circle img { width: 100%; height: 100%; object-fit: cover; }
.picker-item:hover .picker-circle { transform: translateY(-2px) scale(1.04); }
.picker-item.is-active .picker-circle {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.picker-label { font-size: 12px; font-weight: 600; transition: color var(--t); }
.picker-item.is-active .picker-label { color: var(--accent); }
.picker-quiz {
  margin-top: 16px;
  padding: 12px 16px; background: white; border-radius: var(--r-lg);
  display: flex; align-items: center; gap: 12px;
  border: 1.5px dashed var(--line);
  transition: border-color var(--t), background var(--t);
}
.picker-quiz:hover { border-color: var(--accent); background: var(--accent-soft); }
.picker-quiz .em { font-size: 22px; }
.picker-quiz .title { font-size: 13px; font-weight: 600; }
.picker-quiz .sub { font-size: 11px; color: var(--ink-soft); }

/* Hero bestseller cards */
.hero-bestsellers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===== Product card ===== */
.pcard {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 16px;
  border: 1px solid var(--line);
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  overflow: hidden;
}
.pcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--line-soft);
}
.pcard-img {
  aspect-ratio: 1;
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  background: var(--bg-alt);
}
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.pcard:hover .pcard-img img { transform: scale(1.06); }

.pcard-badges {
  position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-direction: column; align-items: flex-start;
}
.pcard-fav {
  position: absolute; top: 10px; right: 10px; width: 36px; height: 36px;
  border-radius: 50%; background: rgba(255,255,255,0.92);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform var(--t), background var(--t), color var(--t);
  backdrop-filter: blur(6px);
}
.pcard-fav:hover { transform: scale(1.1); color: var(--accent); }
.pcard-fav.is-fav { color: var(--accent); }

.pcard-name { font-weight: 600; font-size: 14px; line-height: 1.3; flex-grow: 1; }
.pcard-rate { font-size: 12px; color: var(--ink-soft); display: flex; align-items: center; gap: 4px; }
.pcard-rate .star { color: var(--gold); }

.pcard-price-row { display: flex; align-items: baseline; gap: 8px; }
.price-old { font-size: 12px; color: var(--ink-soft); text-decoration: line-through; }
.price-now { font-size: 18px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.price-unit { font-size: 11px; color: var(--ink-soft); margin-left: auto; }

.pcard-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: white;
  padding: 11px 14px;
  border-radius: var(--r-pill);
  font-weight: 600; font-size: 13px;
  width: 100%;
  transition: background var(--t), transform var(--t);
}
.pcard-cta:hover { background: var(--accent); transform: translateY(-1px); }

/* Quick-add reveal pattern — ALWAYS VISIBLE (was hover-reveal) */
.pcard.has-quick-add .pcard-cta {
  position: static;
  opacity: 1;
  transform: none;
  margin-top: 12px;
  transition: background var(--t), transform var(--t);
}
.pcard.has-quick-add:hover .pcard-cta { background: var(--accent); }
.pcard.has-quick-add { padding-bottom: 16px; }

/* Equal-height card rows: give name a fixed min-height so price/CTA align */
.pcard-name {
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   CUSTOMER STRIP
   ============================================ */
.cust-strip {
  display: flex; align-items: center; gap: 24px; padding: 0 0 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  margin-top: 12px;
}
.cust-strip .label {
  font-family: var(--ff-hand); color: var(--accent); font-size: 22px; line-height: 1; flex-shrink: 0;
}
.avatars { display: flex; }
.avatars > * {
  width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--bg); object-fit: cover; background: var(--bg-alt);
  margin-left: -10px; transition: transform var(--t);
}
.avatars > *:first-child { margin-left: 0; }
.avatars:hover > * { transform: translateY(-2px); }
.cust-strip .stat { font-size: 14px; color: var(--ink-soft); }
.cust-strip .stat strong { color: var(--ink); font-weight: 700; }
.cust-strip .stat .star { color: var(--gold); margin-right: 4px; }

/* ============================================
   NEWS BANNERS
   ============================================ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.banner {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  min-height: 280px; padding: 26px;
  display: flex; flex-direction: column; justify-content: flex-end;
  isolation: isolate;
  transition: transform var(--t);
}
.banner:hover { transform: translateY(-3px); }
.banner .bg-img { position: absolute; inset: 0; z-index: 0; transition: transform var(--t-slow); }
.banner .bg-img img { width: 100%; height: 100%; object-fit: cover; }
.banner:hover .bg-img { transform: scale(1.04); }
.banner .scrim { position: absolute; inset: 0; z-index: 1; }
.banner > * { position: relative; z-index: 2; }
.banner .b-eyebrow { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.banner h3 { font-family: var(--ff-display); font-weight: 400; line-height: 1.05; margin: 6px 0 8px; font-size: 32px; }
.banner p { font-size: 14px; line-height: 1.4; opacity: 0.85; margin: 0 0 14px; max-width: 28ch; }
.banner .arrow {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: white; color: var(--ink);
  transition: transform var(--t), background var(--t), color var(--t);
}
.banner:hover .arrow { transform: translateX(4px); background: var(--accent); color: white; }

.banner-light .scrim { background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(20,15,5,0.65) 100%); }
.banner-light * { color: white; }

.banner-on-soft { background: var(--pastel-mint); }
.banner-on-soft h3, .banner-on-soft p, .banner-on-soft .b-eyebrow { color: var(--ink); }

.banner-dark { background: var(--ink); color: white; }
.banner-dark h3, .banner-dark p, .banner-dark .b-eyebrow { color: white; }
.banner-dark .arrow { background: var(--accent); color: white; }

/* ============================================
   SECTION HEADER (eyebrow + display title + cta)
   ============================================ */
.s-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  margin-bottom: 32px;
}
.s-head .left { max-width: 720px; }
.s-head .label-hand { display: block; line-height: 1; margin-bottom: 6px; }
.s-head h2 { margin: 0; font-family: var(--ff-display); font-weight: 400; font-size: clamp(36px, 4vw, 56px); line-height: 1.02; letter-spacing: -0.015em; }
.s-head .right { flex-shrink: 0; }

/* ============================================
   POPULAR (tabs)
   ============================================ */
.tabs {
  display: inline-flex; padding: 4px;
  background: var(--bg-alt); border-radius: var(--r-pill); gap: 4px;
}
.tab {
  padding: 10px 18px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600;
  color: var(--ink-soft);
  transition: background var(--t), color var(--t);
}
.tab:hover { color: var(--ink); }
.tab.is-active { background: var(--ink); color: white; }

.popular-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-top: 28px;
}

/* ============================================
   BLOG / MAGAZYN
   ============================================ */
.blog-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 22px;
}
.post {
  display: flex; flex-direction: column; gap: 12px;
}
.post-thumb {
  border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; background: var(--bg-alt);
  transition: transform var(--t);
}
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.post:hover .post-thumb img { transform: scale(1.04); }
.post.large .post-thumb { aspect-ratio: 4/5; }
.post-meta { display: flex; gap: 12px; align-items: center; font-family: var(--ff-mono); font-size: 11px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.08em; }
.post h3 { margin: 0; font-family: var(--ff-display); font-weight: 400; font-size: 24px; line-height: 1.15; transition: color var(--t); }
.post.large h3 { font-size: 36px; }
.post:hover h3 { color: var(--accent); }
.post p { color: var(--ink-soft); font-size: 14px; line-height: 1.5; margin: 0; }

/* ============================================
   STORES
   ============================================ */
.stores-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: stretch; }
.map-frame {
  border-radius: var(--r-2xl); overflow: hidden; background: var(--pastel-mint);
  position: relative; min-height: 640px;
  background-image:
    radial-gradient(circle at 25% 30%, rgba(255,255,255,0.6) 0, rgba(255,255,255,0) 30%),
    radial-gradient(circle at 75% 70%, rgba(217,88,43,0.18) 0, rgba(217,88,43,0) 30%),
    linear-gradient(135deg, #D8ECD8 0%, #C9E0D2 60%, #BFD9CB 100%);
}
.map-pin {
  position: absolute; transform: translate(-50%, -100%);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.map-pin .needle {
  width: 28px; height: 36px; border-radius: 50% 50% 50% 0; background: var(--accent);
  transform: rotate(-45deg);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 12px rgba(217,88,43,0.4);
  transition: transform var(--t);
}
.map-pin:hover .needle { transform: rotate(-45deg) scale(1.15); }
.map-pin .needle::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: white; transform: rotate(45deg); }
.map-pin .pin-label {
  background: white; color: var(--ink);
  padding: 4px 10px; border-radius: var(--r-pill); font-size: 11px; font-weight: 600;
  white-space: nowrap; box-shadow: var(--shadow-md);
  font-family: var(--ff-mono);
}

.stores-list { display: flex; flex-direction: column; gap: 0; }
.store-item {
  display: grid; grid-template-columns: 1fr auto; gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: padding var(--t);
}
.store-item:first-child { padding-top: 0; }
.store-item:last-child { border-bottom: 0; padding-bottom: 0; }
.store-item:hover { padding-left: 8px; }

.store-name { font-weight: 600; font-size: 16px; }
.store-addr { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.store-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-family: var(--ff-mono); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 6px 10px; border-radius: var(--r-pill);
}
.store-status.open  { background: rgba(47,143,78,.12); color: #1F5C2F; }
.store-status.closed { background: var(--bg-alt); color: var(--ink-soft); }

/* ============================================
   REVIEWS
   ============================================ */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: 28px;
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform var(--t), box-shadow var(--t);
}
.review:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.review .stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; }
.review .quote { font-family: var(--ff-display); font-size: 22px; line-height: 1.3; font-weight: 400; color: var(--ink); }
.review .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review .who img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.review .who .name { font-weight: 600; font-size: 14px; }
.review .who .where { font-size: 12px; color: var(--ink-soft); }

/* ============================================
   BRANDS
   ============================================ */
.brands-strip {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 0;
  padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  align-items: center;
}
.brand-cell {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-size: 22px;
  color: var(--ink-soft);
  filter: grayscale(1); opacity: 0.7;
  transition: filter var(--t), opacity var(--t), color var(--t), transform var(--t);
  border-right: 1px solid var(--line-soft);
  padding: 10px 6px;
  text-align: center;
  cursor: default;
}
.brand-cell:last-child { border-right: 0; }
.brand-cell:hover { filter: none; opacity: 1; color: var(--ink); transform: scale(1.06); }

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter {
  background: var(--ink);
  color: white;
  border-radius: var(--r-2xl);
  padding: 64px 48px;
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
}
.newsletter .accent-glow {
  position: absolute; left: -100px; bottom: -120px; width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(217,88,43,0.45), transparent 60%);
  filter: blur(20px); pointer-events: none;
}
.newsletter h2 { margin: 0; font-family: var(--ff-display); font-weight: 400; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -0.015em; }
.newsletter .perks { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; color: rgba(255,255,255,0.78); font-size: 14px; }
.newsletter .perks li::before { content: "→"; color: var(--accent); margin-right: 10px; font-weight: 700; }

.newsletter-form { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 2; }
.newsletter-form .row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.newsletter-form input.input {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  color: white;
  font-size: 15px;
}
.newsletter-form input.input::placeholder { color: rgba(255,255,255,0.55); }
.newsletter-form input.input:focus { background: rgba(255,255,255,0.12); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(91,200,61,0.25); }
.newsletter .err { font-size: 12px; color: #FFB1B1; }
.newsletter .fine { font-size: 11px; color: rgba(255,255,255,0.5); }

.success-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: 24px; background: rgba(255,255,255,0.06); border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,0.12);
  animation: fadeUp 360ms cubic-bezier(.4,0,.2,1);
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.success-card .check-big { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; }
.success-card h4 { margin: 0; font-family: var(--ff-display); font-size: 28px; font-weight: 400; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  margin-top: 80px;
  padding: 64px 0 24px;
  border-top: 1px solid var(--line);
}
.foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px;
}
.foot-grid h5 { font-family: var(--ff-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-soft); margin: 0 0 14px; font-weight: 600; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-grid a { font-size: 14px; transition: color var(--t); }
.foot-grid a:hover { color: var(--accent); }

.foot-brand .name { font-family: var(--ff-display); font-size: 32px; line-height: 1; }
.foot-brand .desc { font-size: 14px; color: var(--ink-soft); margin: 14px 0; max-width: 32ch; }
.foot-socials { display: flex; gap: 10px; }
.foot-socials a {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-alt); color: var(--ink);
  transition: background var(--t), color var(--t), transform var(--t);
}
.foot-socials a:hover { background: var(--accent); color: white; transform: translateY(-2px); }

.foot-bot {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--ink-soft);
}
.foot-bot .pays { display: flex; gap: 8px; }
.foot-bot .pay {
  padding: 6px 10px; background: var(--bg-alt); border-radius: var(--r-sm);
  font-family: var(--ff-mono); font-size: 10px; font-weight: 700; color: var(--ink-soft);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-pet-slot { width: 200px; height: 200px; right: -16px; bottom: -16px; border-radius: 56px; }
  .hero-cta-row { padding-right: 180px; }
  .popular-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid .post.large { grid-column: 1 / -1; }
  .stores-grid { grid-template-columns: 1fr; }
  .map-frame { min-height: 380px; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .brands-strip { grid-template-columns: repeat(4, 1fr); }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .newsletter { grid-template-columns: 1fr; padding: 48px; }
}

@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-autoship { padding: 32px 26px; }
  .hero-autoship h1 { font-size: 44px; }
  .hero-pet-slot { width: 200px; height: 200px; right: -20px; bottom: -20px; border-radius: 60px; }
  .hero-bestsellers { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .popular-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .brands-strip { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-brand { grid-column: 1 / -1; }
  .picker-grid { grid-template-columns: repeat(6, 1fr); gap: 6px; }
  .s-head { flex-direction: column; align-items: flex-start; }
  .newsletter { padding: 36px 26px; }
  .newsletter-form .row { grid-template-columns: 1fr; }
  .cust-strip { flex-wrap: wrap; gap: 14px; }
}

@media (max-width: 420px) {
  .picker-grid { grid-template-columns: repeat(3, 1fr); }
}


/* ===========================================================
   SEARCH OVERLAY
   =========================================================== */
.srch-scrim {
  position: fixed; inset: 0;
  background: rgba(20, 28, 22, 0.45);
  opacity: 0; pointer-events: none;
  transition: opacity 240ms cubic-bezier(.4,0,.2,1);
  z-index: 90;
}
.srch-scrim.open { opacity: 1; pointer-events: auto; }

.srch-panel {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 60px -20px rgba(20, 30, 18, 0.25);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 320ms cubic-bezier(.4,0,.2,1), opacity 240ms cubic-bezier(.4,0,.2,1);
  z-index: 91;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
}
.srch-panel.open { opacity: 1; transform: translateY(0); pointer-events: auto; }

.srch-inner {
  /* nav (84px) + trust (32px) + cat-nav (44px) ≈ 160px clearance for sticky chrome */
  padding: 184px 0 32px;
}

.nav-search.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  position: relative;
  z-index: 92;
}

.srch-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
}
.srch-eyebrow {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.srch-eyebrow strong { color: var(--ink); font-weight: 700; text-transform: none; letter-spacing: 0; font-family: var(--ff-display); font-size: 18px; }
.srch-close {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px; font-family: var(--ff-mono);
  color: var(--ink-soft);
  transition: all var(--t);
}
.srch-close:hover { background: var(--ink); color: white; border-color: var(--ink); }

/* === EMPTY STATE === */
.srch-empty {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
}
@media (max-width: 900px) { .srch-empty { grid-template-columns: 1fr; } }

.srch-empty-main { display: flex; flex-direction: column; gap: 32px; }

.srch-block-head {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.srch-block-head svg { color: var(--accent-deep); }
.srch-flame { font-size: 14px; }

.srch-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.srch-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink);
  transition: all var(--t);
  cursor: pointer;
}
.srch-chip:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-1px);
}
.srch-chip-icon { color: var(--ink-muted); font-size: 13px; }
.srch-chip-num {
  font-family: var(--ff-mono); font-size: 11px;
  color: var(--ink-muted); font-weight: 600;
}
.srch-chip-trend { font-size: 11px; font-weight: 700; }
.srch-chip-trend.up { color: var(--green-go, #4DAE32); }
.srch-chip-trend.down { color: var(--ink-muted); }

.srch-pets {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
@media (max-width: 700px) { .srch-pets { grid-template-columns: repeat(3, 1fr); } }
.srch-pet {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 18px 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: 13px; font-weight: 500;
  color: var(--ink);
  transition: all var(--t);
}
.srch-pet:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-2px); }
.srch-pet-emoji { font-size: 28px; line-height: 1; }

/* Side: hot pick */
.srch-empty-side {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
  display: flex; flex-direction: column; gap: 16px;
  align-self: start;
}
.srch-side-head { display: flex; justify-content: space-between; align-items: center; }
.srch-hot { display: block; cursor: pointer; }
.srch-hot-img {
  position: relative;
  background: var(--bg-alt);
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 1;
  margin-bottom: 12px;
}
.srch-hot-img img { width: 100%; height: 100%; object-fit: cover; }
.srch-hot-img .badge { position: absolute; top: 10px; left: 10px; }
.srch-hot-name { font-size: 14px; font-weight: 500; line-height: 1.3; margin-bottom: 6px; }
.srch-hot-price { display: flex; gap: 8px; align-items: baseline; }
.srch-side-tip {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.5;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.srch-side-tip strong { color: var(--ink); font-weight: 600; }
.srch-side-tip em { font-style: italic; color: var(--accent-deep); }

/* === RESULTS STATE === */
.srch-results {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
}
@media (max-width: 900px) { .srch-results { grid-template-columns: 1fr; gap: 32px; } }

.srch-col-left { display: flex; flex-direction: column; gap: 28px; }

.srch-suggestions { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.srch-suggestions button {
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  padding: 12px 14px;
  background: transparent;
  border: 0;
  border-radius: 10px;
  text-align: left;
  font: inherit; font-size: 15px;
  color: var(--ink);
  transition: background var(--t);
  cursor: pointer;
}
.srch-suggestions button:hover { background: var(--surface); }
.srch-suggestions button > span { flex: 1; }
.srch-suggestions svg:first-child { color: var(--ink-muted); }
.srch-suggestions svg:last-child { color: var(--ink-muted); opacity: 0.7; }
.srch-suggestions mark { background: var(--accent-soft); color: var(--ink); font-weight: 600; padding: 1px 2px; border-radius: 3px; }

.srch-cats { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.srch-cats button {
  display: flex; justify-content: space-between; align-items: baseline;
  width: 100%; padding: 12px 14px;
  background: transparent; border: 0;
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
  transition: background var(--t);
}
.srch-cats button:hover { background: var(--surface); }
.srch-cat-name { font-size: 15px; color: var(--ink); }
.srch-cat-meta { font-family: var(--ff-mono); font-size: 11px; color: var(--ink-muted); }
.srch-cats mark { background: var(--accent-soft); color: var(--ink); font-weight: 600; padding: 1px 2px; border-radius: 3px; }

.srch-brands { display: flex; flex-wrap: wrap; gap: 8px; }
.srch-brand-chip {
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
  transition: all var(--t);
}
.srch-brand-chip:hover { border-color: var(--accent); background: var(--accent-soft); }
.srch-brand-chip mark { background: transparent; color: var(--accent-deep); font-weight: 700; }

/* Right column: products */
.srch-prods { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.srch-prods a {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all var(--t);
}
.srch-prods a:hover { border-color: var(--accent); transform: translateX(2px); }
.srch-prods img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; background: var(--bg-alt); }
.srch-prod-name { font-size: 14px; font-weight: 500; line-height: 1.3; margin-bottom: 6px; }
.srch-prod-meta { margin-bottom: 6px; }
.srch-prod-meta .pcard-rate { font-size: 12px; }
.srch-prod-price { display: flex; gap: 8px; align-items: baseline; }
.srch-prod-name mark { background: var(--accent-soft); color: var(--ink); font-weight: 700; padding: 1px 2px; border-radius: 3px; }

.srch-no-prods {
  font-size: 13px;
  color: var(--ink-soft);
  padding: 16px;
  background: var(--bg-alt);
  border-radius: var(--r-md);
  text-align: center;
}

/* No-results state */
.srch-empty-results {
  text-align: center;
  padding: 48px 20px;
}
.srch-empty-emoji { font-size: 48px; margin-bottom: 16px; }
.srch-empty-title { font-family: var(--ff-display); font-size: 24px; margin-bottom: 6px; }
.srch-empty-sub { color: var(--ink-soft); font-size: 14px; margin-bottom: 24px; }
.srch-empty-suggest { display: flex; flex-direction: column; align-items: center; gap: 4px; }

/* Footer CTA */
.srch-foot {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px dashed var(--line);
  display: flex; justify-content: center;
}
.srch-foot-btn { padding: 14px 28px; min-width: 320px; justify-content: space-between; }


/* ===========================================================
   VARIANT PICKER MODAL
   =========================================================== */
.vp-scrim {
  position: fixed; inset: 0;
  background: rgba(20, 28, 22, 0.55);
  opacity: 0; pointer-events: none;
  transition: opacity 240ms cubic-bezier(.4,0,.2,1);
  z-index: 100;
}
.vp-scrim.open { opacity: 1; pointer-events: auto; }

.vp-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -48%) scale(0.96);
  width: min(92vw, 540px);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: 0 32px 80px -20px rgba(20, 30, 18, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: transform 280ms cubic-bezier(.4,0,.2,1), opacity 220ms cubic-bezier(.4,0,.2,1);
  z-index: 101;
}
.vp-modal.open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }

.vp-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-alt);
  color: var(--ink);
  transition: background var(--t);
  z-index: 2;
}
.vp-close:hover { background: var(--ink); color: white; }

.vp-head {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 24px 24px 16px;
  border-bottom: 1px solid var(--line);
}
.vp-img {
  position: relative;
  background: var(--bg-alt);
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 1;
}
.vp-img img { width: 100%; height: 100%; object-fit: cover; }
.vp-img .badge { position: absolute; top: 8px; left: 8px; }
.vp-info { padding-right: 32px; display: flex; flex-direction: column; gap: 6px; }
.vp-eyebrow {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-soft);
}
.vp-name { font-family: var(--ff-display); font-size: 22px; font-weight: 700; line-height: 1.15; margin: 0; letter-spacing: -0.015em; }
.vp-base-price { display: flex; gap: 8px; align-items: baseline; margin-top: 2px; }

.vp-body { padding: 20px 24px 8px; }
.vp-group { margin-bottom: 22px; }
.vp-group-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 10px;
}
.vp-group-label {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-soft);
}
.vp-group-value { font-size: 13px; color: var(--ink); font-weight: 600; }

.vp-options { display: flex; flex-wrap: wrap; gap: 8px; }
.vp-option {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: all var(--t);
}
.vp-option:hover { border-color: var(--ink); }
.vp-option.is-active {
  border-color: var(--accent-deep);
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.vp-option-delta {
  font-family: var(--ff-mono); font-size: 11px;
  color: var(--ink-soft); font-weight: 600;
}
.vp-option.is-active .vp-option-delta { color: var(--accent-deep); }

.vp-no-variants {
  font-size: 13px; color: var(--ink-soft);
  background: var(--bg-alt); padding: 14px;
  border-radius: var(--r-md);
  margin-bottom: 16px;
}

.vp-qty-row { display: flex; align-items: center; gap: 16px; }
.vp-qty .qty-btn { width: 36px; height: 36px; }
.vp-qty .qty-val { min-width: 32px; text-align: center; font-size: 16px; font-weight: 600; }
.vp-stock {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--ink-soft);
}
.vp-stock-dot {
  display: inline-block; width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.vp-foot {
  display: flex; gap: 16px; align-items: center;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.vp-total { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.vp-total-label {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-soft);
}
.vp-total-price { font-family: var(--ff-display); font-size: 28px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.vp-add { padding: 14px 24px; }

@media (max-width: 600px) {
  .vp-head { grid-template-columns: 1fr; }
  .vp-img { max-width: 140px; }
  .vp-foot { flex-direction: column; align-items: stretch; }
  .vp-add { width: 100%; }
}
