/* ==========================================================================
   FETCH THEME — shared tokens, chrome, buttons, product card, overlays
   Playful, warm and compact. Fraunces (soft) for voice, Figtree for UI.
   ========================================================================== */

/* self-hosted fonts (latin; Fraunces' latin-ext is cut down to just the peso sign) */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("fonts/fraunces-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("fonts/fraunces-latin-ext.peso.woff2") format("woff2"); unicode-range: U+20B1; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 500 700; font-display: swap; src: url("fonts/fraunces-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 500 700; font-display: swap; src: url("fonts/fraunces-italic-latin-ext.peso.woff2") format("woff2"); unicode-range: U+20B1; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/figtree-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/figtree-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* metric-matched fallbacks: the web fonts load without blocking first paint and swap in with ~no layout shift */
@font-face { font-family: "Fraunces Fallback"; src: local("Georgia"); size-adjust: 93.4%; }
@font-face { font-family: "Figtree Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 102.5%; }

:root {
  /* 1 · primitives */
  --paper: #fffaf5;
  --cream: #fff3ea;
  --blush: #fbe4da;
  --blush-2: #f6d2c4;
  --cocoa: #2a1a18;
  --cocoa-2: #4a3430;
  --cocoa-3: #6a554f;
  --night: #1f1311;
  --berry: #c63d68;
  --berry-2: #a82f57;
  --berry-3: #e86f93;
  --berry-tint: #fbe0e8;
  --butter: #ffc94d;
  --butter-2: #f5b52a;
  --butter-tint: #fff2cc;
  --sage: #357a59;
  --sage-tint: #dff0e6;
  --sky: #4e9ec8;
  --sky-tint: #e0f0f9;
  --white: #fff;

  /* 2 · semantic */
  --bg: var(--paper);
  --surface: #fff;
  --surface-2: var(--cream);
  --text: var(--cocoa);
  --text-2: var(--cocoa-2);
  --text-3: var(--cocoa-3);
  --line: rgba(42, 26, 24, .1);
  --line-2: rgba(42, 26, 24, .18);
  --line-inv: rgba(255, 250, 245, .16);
  --accent: var(--berry);
  --accent-hover: var(--berry-2);
  --on-accent: #fff;
  --focus: 0 0 0 3px rgba(198, 61, 104, .32);

  /* type */
  --display: "Fraunces", "Fraunces Fallback", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", "Figtree Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* shape + space */
  --r-xs: 8px;
  --r-s: 12px;
  --r-m: 18px;
  --r-l: 26px;
  --r-xl: 36px;
  --pill: 999px;
  --gutter: clamp(16px, 3.4vw, 40px);
  --max: 1320px;
  --sec: clamp(44px, 5.2vw, 76px);

  /* motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --shadow-s: 0 1px 2px rgba(42, 26, 24, .06), 0 4px 12px rgba(42, 26, 24, .05);
  --shadow-m: 0 2px 6px rgba(42, 26, 24, .05), 0 16px 36px -12px rgba(42, 26, 24, .18);
  --shadow-l: 0 30px 70px -20px rgba(42, 26, 24, .35);
  --shadow-berry: 0 10px 24px -8px rgba(198, 61, 104, .55);

  --bar-h: 34px;
  --head-h: 64px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
[hidden] { display: none !important; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 0; box-shadow: var(--focus); border-radius: inherit; }
::selection { background: var(--berry); color: #fff; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--cocoa); color: #fff; padding: 10px 16px; border-radius: var(--pill); }
.skip:focus { top: 10px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- icons ---------- */
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ico--s { width: 16px; height: 16px; }
.ico--xs { width: 13px; height: 13px; }
.ico--fill { fill: currentColor; stroke: none; }

/* ---------- type ---------- */
.display, .h1, .h2, .h3 { font-family: var(--display); font-optical-sizing: auto; font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 600; letter-spacing: -.025em; line-height: 1.04; text-wrap: balance; }
.h2 { font-size: clamp(26px, 2.9vw, 38px); }
.h3 { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.15; letter-spacing: -.015em; }
.display em, .h1 em, .h2 em, .h3 em { font-style: italic; font-weight: 500; color: var(--berry); }
.dark .display em, .dark .h1 em, .dark .h2 em { color: var(--butter); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--berry-2); }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.lead { font-size: 16px; color: var(--text-2); max-width: 46ch; text-wrap: pretty; }
.squig { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10'%3E%3Cpath d='M2 6c9-6 14-6 23 0s14 6 23 0 14-6 23 0 14 6 23 0 14-6 22-1' fill='none' stroke='%23ffc94d' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") left bottom / 100% .32em no-repeat; padding-bottom: .12em; }

/* ---------- buttons ---------- */
.btn {
  --h: 42px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 20px; border-radius: var(--pill);
  font-weight: 700; font-size: 14px; letter-spacing: -.005em; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: transform .35s var(--ease-spring), background .25s var(--ease), color .25s var(--ease), box-shadow .3s var(--ease), border-color .25s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--lg { --h: 50px; padding: 0 26px; font-size: 15px; }
.btn--sm { --h: 34px; padding: 0 14px; font-size: 13px; }
.btn--primary { background: var(--berry); color: #fff; box-shadow: var(--shadow-berry); }
.btn--primary:hover { background: var(--berry-2); transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(198, 61, 104, .6); }
.btn--dark { background: var(--cocoa); color: #fff; }
.btn--dark:hover { background: var(--berry); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line-2); background: transparent; }
.btn--ghost:hover { border-color: var(--cocoa); background: #fff; }
.btn--soft { background: var(--blush); color: var(--cocoa); }
.btn--soft:hover { background: var(--blush-2); }
.btn--butter { background: var(--butter); color: var(--cocoa); }
.btn--butter:hover { background: var(--butter-2); transform: translateY(-2px); }
.btn .ico { transition: transform .3s var(--ease); }
.btn:hover .ico-go { transform: translateX(3px); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; transition: color .2s, gap .25s var(--ease); }
.link:hover { color: var(--berry); gap: 9px; }

.iconbtn { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; transition: background .2s, transform .3s var(--ease-spring); }
.iconbtn:hover { background: var(--blush); }
.iconbtn .count { position: absolute; top: 3px; right: 1px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: var(--pill); background: var(--berry); color: #fff; font-size: 10.5px; font-weight: 800; line-height: 17px; text-align: center; border: 2px solid var(--paper); box-sizing: content-box; transform: scale(0); transition: transform .35s var(--ease-spring); }
.iconbtn .count.is-on { transform: scale(1); }
.iconbtn.bump { animation: bump .5s var(--ease-spring); }
@keyframes bump { 40% { transform: scale(1.22) rotate(-6deg); } }

/* chips + segmented */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: var(--pill); font-size: 13px; font-weight: 600; background: #fff; border: 1.5px solid var(--line); transition: all .22s var(--ease); }
.chip:hover { border-color: var(--cocoa); }
.chip.is-on, .chip[aria-pressed="true"], .chip[aria-checked="true"] { background: var(--cocoa); border-color: var(--cocoa); color: #fff; }
.tag { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border-radius: var(--pill); font-size: 11.5px; font-weight: 700; background: var(--butter-tint); color: #7a5300; }
.tag--berry { background: var(--berry-tint); color: var(--berry-2); }
.tag--sage { background: var(--sage-tint); color: #24664a; }
.tag--sky { background: var(--sky-tint); color: #1f6489; }

/* ==========================================================================
   announcement bar
   ========================================================================== */
.bar { background: var(--cocoa); color: #fff; font-size: 12.5px; height: var(--bar-h); }
.bar .wrap { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.bar a { opacity: .78; transition: opacity .2s; }
.bar a:hover { opacity: 1; }
.bar__l, .bar__r { display: flex; gap: 18px; align-items: center; }
.bar__r { justify-content: flex-end; }
.bar__msgs { position: relative; height: 18px; min-width: min(60vw, 440px); text-align: center; overflow: hidden; }
.bar__msg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease), visibility 0s .5s; }
.bar__msg.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.bar__msg b { color: var(--butter); font-weight: 700; }
.bar__status { display: inline-flex; align-items: center; gap: 7px; opacity: .85; }
.bar__status .dot { width: 7px; height: 7px; border-radius: 50%; background: #6fe0a2; box-shadow: 0 0 0 3px rgba(111, 224, 162, .25); }
.bar__status.is-closed .dot { background: #ff9a7a; box-shadow: 0 0 0 3px rgba(255, 154, 122, .25); }

/* ==========================================================================
   header
   ========================================================================== */
.header { position: sticky; top: 0; z-index: 60; height: var(--head-h); background: rgba(255, 250, 245, .97); transition: box-shadow .3s var(--ease), background .3s; }
.header.is-stuck { box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(42, 26, 24, .3); background: rgba(255, 250, 245, .99); }
.header > .wrap { height: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 9px; }
.logo__mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; background: var(--berry); color: #fff; transform: rotate(-8deg); transition: transform .5s var(--ease-spring); box-shadow: var(--shadow-berry); }
.logo:hover .logo__mark { transform: rotate(8deg) scale(1.06); }
.logo__word { font: 600 26px/1 var(--display); letter-spacing: -.04em; font-variation-settings: "SOFT" 100, "WONK" 1; }
.logo__word i { color: var(--berry); font-style: normal; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav__link { display: inline-flex; align-items: center; gap: 5px; height: 38px; padding: 0 13px; border-radius: var(--pill); font-weight: 600; font-size: 14px; color: var(--text-2); transition: background .2s, color .2s; }
.nav__link:hover, .nav__link[aria-expanded="true"] { background: var(--blush); color: var(--cocoa); }
.nav__link .ico { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.nav__link[aria-expanded="true"] .ico { transform: rotate(180deg); }
.nav__new { margin-left: 2px; padding: 1px 7px; border-radius: var(--pill); background: var(--butter); color: var(--cocoa); font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.tools { display: flex; align-items: center; gap: 2px; }
.tools__pets { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 4px; margin-right: 6px; border-radius: var(--pill); background: #fff; border: 1.5px solid var(--line); font-weight: 700; font-size: 13px; transition: border-color .2s, transform .3s var(--ease-spring); }
.tools__pets:hover { border-color: var(--cocoa); }
.tools__pets .stack { display: flex; }
.tools__pets .stack img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; margin-left: -9px; }
.tools__pets .stack img:first-child { margin-left: 0; }
.burger { display: none; }

/* mega */
.mega { position: absolute; left: 0; right: 0; top: 100%; padding-top: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s var(--ease), transform .3s var(--ease), visibility .25s; pointer-events: none; }
.mega.is-open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.mega__in { display: grid; grid-template-columns: repeat(3, 1fr) 1.15fr; gap: 10px; padding: 14px; background: rgba(255, 255, 255, .98); border-radius: var(--r-l); box-shadow: var(--shadow-l), 0 0 0 1px var(--line); }
.mega__col { padding: 10px 12px; }
.mega__col .mega__h { font: 700 11.5px/1 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.mega__col .mega__h .ico { color: var(--berry); }
.mega__col a { display: flex; align-items: center; justify-content: space-between; padding: 7px 10px; margin: 0 -10px; border-radius: var(--r-xs); font-weight: 600; font-size: 14px; transition: background .18s, padding .25s var(--ease); }
.mega__col a:hover { background: var(--blush); padding-left: 14px; }
.mega__col a small { color: var(--text-3); font-weight: 500; font-size: 12px; }
.mega__feat { position: relative; border-radius: var(--r-m); overflow: hidden; min-height: 200px; color: #fff; display: flex; align-items: flex-end; padding: 16px; isolation: isolate; }
.mega__feat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.mega__feat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(31, 19, 17, .75)); }
.mega__feat:hover img { transform: scale(1.06); }
.mega__feat b { display: block; font: 600 20px/1.1 var(--display); letter-spacing: -.02em; margin: 4px 0 8px; }
.mega__feat span { font-size: 12.5px; opacity: .85; }

/* overlays shared */
.scrim { backdrop-filter: blur(3px); position: fixed; inset: 0; z-index: 90; background: rgba(31, 19, 17, .5); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
.scrim.is-open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; bottom: 0; right: 0; z-index: 100; width: min(440px, 100vw); background: var(--paper); display: flex; flex-direction: column; transform: translateX(104%); visibility: hidden; transition: transform .55s var(--ease-out), visibility 0s .55s; box-shadow: var(--shadow-l); border-radius: var(--r-l) 0 0 var(--r-l); }
.drawer--l { right: auto; left: 0; transform: translateX(-104%); border-radius: 0 var(--r-l) var(--r-l) 0; width: min(380px, 92vw); }
.drawer.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 14px; }
.drawer__head h2 { font: 600 22px/1 var(--display); letter-spacing: -.02em; font-variation-settings: "SOFT" 100; display: flex; align-items: center; gap: 10px; }
.drawer__head h2 small { font: 700 12px var(--sans); color: var(--text-3); letter-spacing: 0; }
.drawer__body { flex: 1; overflow-y: auto; padding: 0 20px 16px; overscroll-behavior: contain; }
.drawer__foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); background: #fff; border-radius: 0 0 0 var(--r-l); }

/* cart */
.ship { padding: 12px 14px; border-radius: var(--r-m); background: var(--cream); margin-bottom: 14px; }
.ship p { font-size: 13px; margin-bottom: 8px; }
.ship p b { color: var(--berry); }
.ship__bar { height: 8px; border-radius: var(--pill); background: #fff; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.ship__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--berry-3), var(--berry)); transition: width .7s var(--ease-out); }
.line { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); animation: lineIn .5s var(--ease-out) both; }
@keyframes lineIn { from { opacity: 0; transform: translateY(8px); } }
.line__img { width: 76px; height: 84px; border-radius: var(--r-s); background: var(--tint, var(--cream)); display: grid; place-items: center; overflow: hidden; }
.line__img .pack { width: 88%; height: 88%; }
.line__top { display: flex; justify-content: space-between; gap: 10px; }
.line__name { font-weight: 700; font-size: 14px; line-height: 1.25; }
.line__var { font-size: 12.5px; color: var(--text-3); }
.line__price { font-weight: 800; font-size: 14px; white-space: nowrap; }
.line__row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; gap: 8px; }
.qty { display: inline-flex; align-items: center; height: 32px; border-radius: var(--pill); border: 1.5px solid var(--line-2); background: #fff; }
.qty button { width: 30px; height: 100%; display: grid; place-items: center; border-radius: var(--pill); transition: background .2s; }
.qty button:hover { background: var(--blush); }
.qty span { min-width: 22px; text-align: center; font-weight: 700; font-size: 13px; }
.line__rm { font-size: 12px; color: var(--text-3); text-decoration: underline; text-underline-offset: 3px; }
.line__rm:hover { color: var(--berry); }
.line__sub { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 7px 10px; border-radius: var(--r-s); background: var(--sage-tint); color: #24664a; font-size: 12.5px; font-weight: 600; }
.line__sub select { margin-left: auto; height: 26px; padding: 0 22px 0 8px; border-radius: 8px; border: 1px solid rgba(36, 102, 74, .3); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2324664a' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 5px center / 12px no-repeat; appearance: none; font-weight: 700; font-size: 12px; color: #24664a; }
.line__subon { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12.5px; color: var(--text-2); }
.empty { text-align: center; padding: 44px 10px; }
.empty .ico { width: 44px; height: 44px; color: var(--berry); margin: 0 auto 12px; }
.empty h3 { font: 600 22px var(--display); margin-bottom: 6px; }
.empty p { color: var(--text-3); margin-bottom: 16px; }
.cartfoot__row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 4px; color: var(--text-2); }
.cartfoot__row--total { font-size: 17px; font-weight: 800; color: var(--cocoa); margin: 8px 0 14px; }
.cartfoot__save { color: #24664a; font-weight: 700; }
.upsell { margin-top: 18px; }
.upsell h4 { font: 700 12px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.upsell__list { display: grid; gap: 8px; }
.up { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; padding: 8px; border-radius: var(--r-s); background: #fff; border: 1px solid var(--line); }
.up__img { width: 44px; height: 44px; border-radius: 10px; background: var(--tint); display: grid; place-items: center; }
.up__img .pack { width: 80%; }
.up b { font-size: 13px; line-height: 1.2; display: block; }
.up small { color: var(--text-3); font-size: 12px; }

/* search */
.search { position: fixed; inset: 0; z-index: 110; display: flex; align-items: flex-start; justify-content: center; padding: 8vh var(--gutter) 0; pointer-events: none; visibility: hidden; }
.search.is-open { pointer-events: auto; visibility: visible; }
.search__box { width: min(680px, 100%); max-height: 78vh; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r-l); box-shadow: var(--shadow-l); overflow: hidden; transform: translateY(-14px) scale(.98); opacity: 0; transition: transform .45s var(--ease-out), opacity .3s; }
.search.is-open .search__box { transform: none; opacity: 1; }
.search__field { display: flex; align-items: center; gap: 12px; padding: 0 18px; height: 62px; border-bottom: 1px solid var(--line); }
.search__field input { flex: 1; border: 0; background: none; outline: 0; font-size: 18px; font-weight: 500; min-width: 0; }
.search__field input::placeholder { color: var(--text-3); }
.search__field kbd { font: 700 11px var(--sans); padding: 3px 7px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--text-3); }
.search__body { padding: 14px 18px 18px; overflow-y: auto; }
.search__body h4 { font: 700 11.5px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
.search__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.search__res { display: grid; gap: 4px; }
.sr-item { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: var(--r-s); transition: background .18s; }
.sr-item:hover, .sr-item:focus-visible { background: var(--blush); }
.sr-item__img { width: 48px; height: 48px; border-radius: 12px; background: var(--tint); display: grid; place-items: center; }
.sr-item__img .pack { width: 80%; }
.sr-item b { font-size: 14px; display: block; line-height: 1.2; }
.sr-item small { color: var(--text-3); font-size: 12.5px; }
.sr-item mark { background: var(--butter-tint); color: inherit; border-radius: 3px; }

/* mobile nav */
.mnav { padding: 6px 20px 24px; overflow-y: auto; }
.mnav a, .mnav summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; font: 600 24px/1 var(--display); letter-spacing: -.02em; border-bottom: 1px solid var(--line); list-style: none; cursor: pointer; font-variation-settings: "SOFT" 100; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav details[open] summary .ico { transform: rotate(180deg); }
.mnav summary .ico { transition: transform .3s; }
.mnav details div { display: grid; gap: 2px; padding: 6px 0 12px; }
.mnav details div a { font: 600 16px/1 var(--sans); padding: 11px 8px; border: 0; border-radius: var(--r-xs); }
.mnav details div a:hover { background: var(--blush); }

/* toast */
.toasts { position: fixed; left: 50%; bottom: 22px; z-index: 130; display: grid; gap: 8px; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 32px); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 11px 16px 11px 12px; border-radius: var(--pill); background: var(--cocoa); color: #fff; font-weight: 600; font-size: 13.5px; box-shadow: var(--shadow-l); animation: toastIn .5s var(--ease-spring) both; }
.toast.is-out { animation: toastOut .3s var(--ease) both; }
.toast__ico { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--berry); }
.toast__ico .ico { width: 14px; height: 14px; stroke-width: 2.4; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.92); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px) scale(.95); } }

/* ==========================================================================
   product card (shared)
   ========================================================================== */
.pc { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-m); border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease), border-color .3s; }
.pc:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: transparent; }
.pc__media { position: relative; display: block; aspect-ratio: 1 / .8; background: var(--tint, var(--cream)); overflow: hidden; }
.pc__media .pack { position: absolute; inset: 6% 12% 3%; width: 76%; height: 91%; transition: transform .7s var(--ease-out); }
.pc:hover .pc__media .pack { transform: scale(1.07) rotate(-2deg); }
.pc__media::before { content: ""; position: absolute; left: 50%; top: 52%; width: 78%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0)); }
.pc__top { position: relative; }
.pc__badges { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 5px; z-index: 2; pointer-events: none; max-width: calc(100% - 56px); }
.pc__badge { display: inline-flex; align-items: center; gap: 4px; height: 23px; padding: 0 9px; border-radius: var(--pill); font-size: 11px; font-weight: 800; letter-spacing: .01em; background: var(--cocoa); color: #fff; }
.pc__badge--vet { background: #fff; color: #24664a; box-shadow: 0 0 0 1px rgba(36, 102, 74, .2); }
.pc__badge--sale { background: var(--berry); }
.pc__badge--new { background: var(--butter); color: var(--cocoa); }
.pc__wish { position: absolute; top: 8px; right: 8px; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .9); transition: transform .35s var(--ease-spring), color .2s; }
.pc__wish:hover { transform: scale(1.1); }
.pc__wish .ico { width: 17px; height: 17px; transition: fill .2s, stroke .2s; }
.pc__wish[aria-pressed="true"] { color: var(--berry); }
.pc__wish[aria-pressed="true"] .ico { fill: var(--berry); stroke: var(--berry); animation: bump .5s var(--ease-spring); }
.pc__body { display: flex; flex-direction: column; gap: 7px; padding: 12px 14px 14px; flex: 1; }
.pc__meta { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--text-3); font-weight: 600; }
.pc__rate { display: inline-flex; align-items: center; gap: 4px; color: var(--cocoa); font-weight: 700; }
.pc__rate .ico { color: var(--butter-2); width: 13px; height: 13px; }
.pc__rate i { font-style: normal; color: var(--text-3); font-weight: 500; }
.pc__name { font-weight: 700; font-size: 14.5px; line-height: 1.25; letter-spacing: -.01em; text-wrap: balance; }
.pc__name a:hover { color: var(--berry); }
.pc__opts { display: flex; flex-wrap: wrap; gap: 5px; }
.pc__opt { height: 26px; padding: 0 10px; border-radius: var(--pill); font-size: 12px; font-weight: 600; border: 1.5px solid var(--line); background: #fff; transition: all .2s var(--ease); }
.pc__opt:hover { border-color: var(--cocoa); }
.pc__opt[aria-checked="true"] { background: var(--cocoa); color: #fff; border-color: var(--cocoa); }
.pc__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 4px; }
.pc__price { display: flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.pc__price b { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.pc__price s { font-size: 12.5px; color: var(--text-3); }
.pc__add { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px 0 12px; border-radius: var(--pill); background: var(--cocoa); color: #fff; font-weight: 700; font-size: 13px; transition: background .25s, transform .35s var(--ease-spring); }
.pc__add:hover { background: var(--berry); transform: translateY(-2px); }
.pc__add:active { transform: scale(.95); }
.pc__add .ico { width: 15px; height: 15px; stroke-width: 2.2; }
.pc__add.is-done { background: var(--sage); }
.pc__sub { display: flex; align-items: center; gap: 8px; padding-top: 9px; margin-top: 3px; border-top: 1px dashed var(--line-2); font-size: 12.5px; font-weight: 600; color: var(--text-2); cursor: pointer; user-select: none; }
.pc__sub b { color: #24664a; font-weight: 800; }
.pc__sub--note { cursor: default; color: var(--text-3); font-weight: 500; }
.pc__sub--note .ico { color: var(--sage); }
.switch { position: relative; width: 30px; height: 18px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; z-index: 1; }
.switch i { position: absolute; inset: 0; border-radius: var(--pill); background: var(--line-2); transition: background .25s; }
.switch i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .3s var(--ease-spring); }
.switch input:checked + i { background: var(--sage); }
.switch input:checked + i::after { transform: translateX(12px); }
.switch input:focus-visible + i { box-shadow: var(--focus); }

/* ==========================================================================
   footer
   ========================================================================== */
.footer { position: relative; margin-top: var(--sec); background: var(--cocoa); color: rgba(255, 250, 245, .78); border-radius: var(--r-xl) var(--r-xl) 0 0; overflow: hidden; isolation: isolate; }
.footer__top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) 1.2fr; gap: 28px; padding-block: 44px 32px; }
.footer h3 { font: 700 11.5px var(--sans); letter-spacing: .09em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer li + li { margin-top: 8px; }
.footer a { transition: color .2s; font-size: 14px; }
.footer a:hover { color: var(--butter); }
.footer__brand .logo__word { color: #fff; }
.footer__brand p { margin: 14px 0 18px; font-size: 14px; max-width: 32ch; }
.footer__soc { display: flex; gap: 8px; }
.footer__soc a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); transition: background .25s, transform .3s var(--ease-spring); }
.footer__soc a:hover { background: var(--berry); color: #fff; transform: translateY(-3px); }
.footer__hours li { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; }
.footer__hours span:last-child { color: #fff; font-weight: 600; }
.footer__bot { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding-block: 18px 22px; border-top: 1px solid var(--line-inv); font-size: 12.5px; }
.footer__pay { display: flex; gap: 6px; }
.footer__pay span { padding: 4px 9px; border-radius: 6px; background: rgba(255, 255, 255, .08); font-weight: 700; font-size: 11px; letter-spacing: .04em; color: #fff; }
.footer__word::before { content: "fetch."; }
.footer__word { position: absolute; left: 50%; bottom: -.22em; z-index: -1; transform: translateX(-50%); font: 600 clamp(120px, 24vw, 340px)/1 var(--display); letter-spacing: -.06em; color: rgba(255, 255, 255, .035); white-space: nowrap; pointer-events: none; font-variation-settings: "SOFT" 100, "WONK" 1; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.rv.is-in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

.hide-s { }
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: grid; }
  .header > .wrap { grid-template-columns: auto 1fr auto; gap: 12px; }
  .header .logo { justify-self: center; grid-column: 2; }
  .header .burger { grid-column: 1; grid-row: 1; margin-left: -8px; }
  .header .nav { display: none; }
  .tools { grid-column: 3; }
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .mega { display: none; }
}
@media (max-width: 820px) {
  .bar__l, .bar__r { display: none; }
  .bar .wrap { grid-template-columns: 1fr; justify-items: center; }
  .tools__pets span { display: none; }
  .tools__pets { padding: 0 8px 0 4px; }
  .hide-s { display: none; }
}
@media (max-width: 560px) {
  :root { --head-h: 58px; }
  .tools__pets, .tools .hide-m { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; padding-block: 34px 22px; }
  .footer__brand, .footer__hours { grid-column: 1 / -1; }
  .drawer { border-radius: 0; }
  .logo__word { font-size: 24px; }
}

/* ---------- product photography (falls back to the SVG art when a product has no img) ---------- */
.pack--photo { position: static; inset: auto; width: 100% !important; height: 100% !important; object-fit: cover; object-position: 50% 36%; border-radius: inherit; }
.pc__media .pack--photo { position: absolute; inset: 0 !important; transition: transform 1s var(--ease-out); }
.pc:hover .pc__media .pack--photo { transform: scale(1.06); }
.pc__media::before { display: none; }
.pc__media:has(.pack--photo)::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(31, 19, 17, .16), transparent 28%); }
.line__img, .up__img, .sr-item__img { overflow: hidden; }

a.line__name { display: block; transition: color .2s; }
a.line__name:hover { color: var(--berry); }

.drawer__full { display: block; text-align: center; margin-top: 10px; font-size: 13.5px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; color: var(--text-2); }
.drawer__full:hover { color: var(--berry); }

/* JS-built pages hold their main content (hidden, no layout shift) until the page script has rendered it */
.js-wait main, .js-wait footer { visibility: hidden; }
