/* Eden Pet Co. — static portfolio demo. Look reproduced from the live Shopify theme (eden.css). */
:root {
  --bg: #FBF6EF; --surface: #FFFFFF; --ink: #22302F; --muted: #69736F; --line: rgba(34, 48, 47, .12);
  --sage: #DCE8DF; --butter: #FBE9BD; --blush: #F8DDD3; --sky: #DAE9F3; --lilac: #E7E1F6;
  --accent: #D9573A; --accent-ink: #FFFFFF; --ok: #2F7D4F;
  --shadow: 0 1px 2px rgba(34, 48, 47, .06), 0 12px 32px -12px rgba(34, 48, 47, .22);
  --shadow-lg: 0 2px 4px rgba(34, 48, 47, .06), 0 30px 60px -24px rgba(34, 48, 47, .35);
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-hand: 'Caveat', 'Comic Sans MS', cursive;
  --r: 22px; --gut: clamp(16px, 4vw, 40px);
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #161B1A; --surface: #1F2625; --ink: #F3EEE6; --muted: #A8B0AD; --line: rgba(255, 255, 255, .12);
  --sage: #25352F; --butter: #3A3222; --blush: #3E2C27; --sky: #22323D; --lilac: #2E2A3E;
  --accent: #F07A5A; --accent-ink: #1C0E09; --ok: #6FCF97;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 30px 60px -24px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.04; margin: 0; letter-spacing: -.015em; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a, summary, label { cursor: pointer; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gut); }
.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hand { font-family: var(--font-hand); font-weight: 600; letter-spacing: 0; }
.clay { background: var(--surface); border: 0; border-radius: var(--r); box-shadow: var(--shadow); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border: 1.5px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; transition: transform .2s ease, background-color .2s, color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); background: var(--ink); color: var(--bg); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn .icon { width: 18px; height: 18px; }
.btn--cta { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 24px -10px var(--accent); }
.btn--cta:hover { background: var(--accent); color: var(--accent-ink); box-shadow: 0 16px 30px -12px var(--accent); }
.btn--block { width: 100%; }

/* Portfolio top bar */
.demobar { position: relative; z-index: 45; background: #0F1716; color: #E9E3D8; font-size: 13px; }
.demobar .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 34px; }
.demobar b { letter-spacing: .08em; }
.demobar a { color: #FFD9C9; font-weight: 700; text-decoration: none; }
.demobar a:hover { text-decoration: underline; }
.demobar .dot { opacity: .5; }

.announce { background: var(--ink); color: var(--bg); font-weight: 500; font-size: 14px; overflow: hidden; white-space: nowrap; }
.announce__track { display: inline-flex; gap: 36px; padding: 8px 0; animation: marquee 38s linear infinite; }
.announce__track span { display: inline-flex; align-items: center; gap: 10px; }
.announce__track img { width: 18px; height: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

header.site { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.nav { position: relative; display: flex; align-items: center; gap: 18px; min-height: 72px; }
.logo { flex-shrink: 0; display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.4vw, 27px); letter-spacing: -.02em; white-space: nowrap; }
.logo img { width: 42px; height: 42px; transition: transform .4s var(--ease-bounce); }
.logo:hover img { transform: rotate(-12deg) scale(1.1); }
.menu { display: flex; gap: 2px; min-width: 0; margin: 0 0 0 auto; padding: 0; list-style: none; }
.menu a { display: flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 999px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.menu a:hover { background: var(--sage); }
.menu a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.icon-btn { position: relative; flex-shrink: 0; display: grid; place-items: center; width: 50px; height: 50px; padding: 0; border-radius: 50%; color: var(--ink); }
.icon-btn.is-wiggle { animation: wiggle .6s ease; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding-inline: 6px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.cart-count[data-n="0"] { display: none; }
.menu-toggle { display: none; }
@keyframes wiggle { 0%,100% { transform: rotate(0); } 20% { transform: rotate(-14deg) scale(1.1); } 40% { transform: rotate(12deg) scale(1.1); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(5deg); } }
@media (max-width: 960px) {
  .menu-toggle { display: grid; margin-left: auto; }
  .menu { position: absolute; left: 0; right: 0; top: calc(100% + 8px); display: none; flex-direction: column; padding: 10px; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow-lg); }
  .menu.is-open { display: flex; }
}
@media (max-width: 420px) {
  .nav { gap: 8px; min-height: 64px; }
  .logo { gap: 6px; font-size: 19px; }
  .logo img { width: 34px; height: 34px; }
  .icon-btn { width: 44px; height: 44px; }
}

/* Hero */
.hero { position: relative; padding-top: clamp(28px, 5vw, 64px); }
.hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px 6px 8px; border-radius: 999px; font-weight: 700; font-size: 14px; line-height: 1.3; letter-spacing: 0; font-family: var(--font-body); margin: 0; }
.pill img { width: 24px; height: 24px; }
.hero__title { font-family: var(--font-display); font-weight: 700; line-height: 1.04; letter-spacing: -.015em; text-wrap: balance; font-size: clamp(44px, 5.6vw, 76px); margin: 18px 0 0; }
.hero__title em { font-style: italic; color: var(--accent); }
.hero__lead { margin-top: 18px; font-size: 19px; color: var(--muted); max-width: 42ch; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.perks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-weight: 500; font-size: 14px; }
.perks li { display: flex; align-items: center; gap: 8px; }
.perks img { width: 30px; height: 30px; }
.stage { position: relative; }
.arch { position: relative; overflow: hidden; aspect-ratio: 6 / 5; border-radius: 48% 48% 28px 28px / 42% 42% 28px 28px; box-shadow: var(--shadow-lg); background: var(--sage); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.float { position: absolute; z-index: 2; width: clamp(56px, 7vw, 88px); filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .18)); animation: bob 5s ease-in-out infinite; pointer-events: none; }
.float--bone { top: 6%; left: -5%; animation-duration: 6s; --rot: -18deg; }
.float--yarn { bottom: 18%; left: -7%; animation-delay: -2s; --rot: 8deg; }
.float--spark { top: -4%; right: 8%; width: clamp(40px, 5vw, 60px); animation: twinkle 2.6s ease-in-out infinite; }
.float--heart { top: 34%; right: -5%; width: clamp(44px, 5.5vw, 66px); animation-delay: -3s; --rot: 12deg; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(var(--rot, 0deg)); } 50% { transform: translateY(-14px) rotate(calc(var(--rot, 0deg) * -1)); } }
@keyframes twinkle { 0%,100% { transform: scale(.85) rotate(0); opacity: .8; } 50% { transform: scale(1.1) rotate(20deg); opacity: 1; } }
.stage__card { position: absolute; z-index: 3; left: 6%; bottom: -22px; display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 18px; font-size: 14px; text-decoration: none; box-shadow: var(--shadow-lg); }
.stage__card img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.stage__card b { display: block; font-size: 15px; line-height: 1.3; }
.stage__card small { color: var(--muted); }
/* Biscuit wagging at the corner of the arch (sprite strip, 4 frames) */
.wagger { position: absolute; z-index: 4; right: 2%; bottom: -26px; width: clamp(92px, 11vw, 140px); aspect-ratio: 212 / 260; background: url(../img/sp-biscuit-wag.webp) 0 0 / 400% 100% no-repeat; animation: wag .6s steps(4) infinite; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .18)); }
@keyframes wag { to { background-position: 133.333% 0; } }
.hero__note { position: absolute; z-index: 4; right: calc(2% + clamp(92px, 11vw, 140px)); bottom: -50px; font-size: 24px; color: var(--accent); transform: rotate(-6deg); white-space: nowrap; }
.sidewalk { position: relative; height: 110px; margin-top: 30px; overflow: hidden; pointer-events: none; }
.sidewalk::after { content: ''; position: absolute; left: 0; right: 0; bottom: 10px; border-bottom: 2px dashed var(--line); }
.walker { position: absolute; bottom: 12px; left: 0; height: 84px; background-repeat: no-repeat; background-position: 0 0; animation: walk 26s linear infinite; }
.walker--dog { aspect-ratio: 250 / 200; background-image: url(../img/sp-biscuit-walk.webp); background-size: 600% 100%; animation: walk 24s linear infinite, frames6 .72s steps(6) infinite; }
.walker--cat { height: 66px; aspect-ratio: 319 / 200; background-image: url(../img/sp-mochi-walk.webp); background-size: 400% 100%; animation: walk 30s linear infinite -13s, frames4 .8s steps(4) infinite; }
@keyframes frames6 { to { background-position: 120% 0; } }
@keyframes frames4 { to { background-position: 133.333% 0; } }
@keyframes walk { from { transform: translateX(calc(100vw + 40px)); } to { transform: translateX(-260px); } }

section.block { padding-block: clamp(34px, 4.6vw, 64px); }
.head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.head h2 { font-size: clamp(32px, 4.2vw, 52px); margin-top: 8px; }
.head p { color: var(--muted); max-width: 52ch; margin-top: 8px; }

/* Give-back strip */
.gb-strip { padding-block: 22px 6px; }
.gb-strip__in { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 20px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; font-size: 15px; }
.gb-strip__in .icon { width: 20px; height: 20px; flex: none; color: #E0566B; fill: #E0566B; }
.gb-strip__in span { flex: 1; min-width: 0; }
.gb-strip__in em { font-style: normal; font-weight: 700; white-space: nowrap; }
.gb-strip__in:hover em { text-decoration: underline; }

/* Category tiles */
.tiles { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px clamp(22px, 3.6vw, 52px); }
.tile { display: grid; justify-items: center; gap: 10px; width: 132px; text-align: center; text-decoration: none; color: var(--ink); }
.tile__pic { display: block; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: #F4EFE9; border: 3px solid var(--surface); box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.tile__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tile:hover .tile__pic { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.tile:hover .tile__pic img { transform: scale(1.06); }
.tile__txt { display: grid; gap: 1px; }
.tile__txt b { font-family: var(--font-display); font-size: 18px; line-height: 1.15; }
.tile__txt small { font-size: 12.5px; color: var(--muted); }

/* For dogs / for cats */
.aisles { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.aisle-card { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 26px; background: var(--c); color: var(--ink); text-decoration: none; overflow: hidden; box-shadow: none; }
.aisle-card__pal { width: 96px; height: auto; transform-origin: 50% 100%; transition: transform .4s var(--ease-bounce); }
.aisle-card:hover .aisle-card__pal { transform: rotate(-6deg) scale(1.06); }
.aisle-card__txt { display: grid; gap: 4px; min-width: 0; }
.aisle-card h3 { font-size: clamp(24px, 2.4vw, 32px); }
.aisle__go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.aisle__go .icon { width: 16px; height: 16px; }
.aisle-card__goods { display: flex; padding-left: 16px; }
.aisle-card__goods img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--surface); margin-left: -16px; box-shadow: var(--shadow); background: var(--surface); }
@media (max-width: 900px) { .aisle-card { grid-template-columns: auto 1fr; } .aisle-card__goods { display: none; } }

/* Product grid + card */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 22px; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; } }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; padding-top: 12px; }
.card__peek { position: absolute; top: 12px; right: 14%; z-index: 0; width: 78px; transform: translateY(48px); transition: transform .5s var(--ease-bounce); pointer-events: none; }
.card:hover .card__peek { transform: translateY(-40px); }
.card__frame { position: relative; z-index: 1; overflow: hidden; background: var(--sage); }
.card__media { position: relative; display: block; aspect-ratio: 4 / 5; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s ease, transform .6s ease; }
.card__media img.alt { opacity: 0; }
.card:hover .card__media img { transform: scale(1.05); }
.card:hover .card__media img.alt { opacity: 1; }
.tag { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 4px 11px; border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 700; font-size: 12px; box-shadow: var(--shadow); }
.tag--sale { background: var(--accent); color: var(--accent-ink); }
.fav { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; color: var(--ink); }
.fav .icon { width: 20px; height: 20px; }
.fav[aria-pressed="true"] { color: var(--accent); }
.fav[aria-pressed="true"] .icon { fill: currentColor; animation: pop .4s ease; }
@keyframes pop { 50% { transform: scale(1.35); } }
.quick { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; min-height: 44px; background: var(--surface); color: var(--ink); border-color: var(--surface); box-shadow: var(--shadow); transform: translateY(80px); transition: transform .3s var(--ease-bounce), background-color .2s, color .2s; }
.quick:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: none; }
.card:hover .quick, .quick:focus-visible { transform: none; }
@media (hover: none) { .quick { transform: none; } }
.card__body { display: grid; gap: 3px; padding-top: 14px; }
.card__title { display: inline-block; padding-block: 2px; font-weight: 700; font-size: 17px; line-height: 1.25; text-decoration: none; }
.card__title:hover { text-decoration: underline; text-underline-offset: 3px; }
.card__meta { font-size: 13px; color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 8px; font-weight: 700; font-size: 17px; }
.price s { color: var(--muted); font-weight: 500; font-size: 14px; }

/* Promise tank */
.tank { position: relative; overflow: hidden; padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 56px); border-radius: 36px; background: linear-gradient(180deg, #BFE3F2, #7FC3E0); box-shadow: inset 0 0 0 10px rgba(255, 255, 255, .25), var(--shadow-lg); }
.tank h2 { position: relative; z-index: 2; font-size: clamp(30px, 4vw, 48px); color: #12303B; margin-top: 6px; }
.tank .eyebrow { position: relative; z-index: 2; color: #1E4A5A; }
.fish { position: absolute; z-index: 1; width: 56px; animation: swim 22s linear infinite; pointer-events: none; }
.fish img { animation: fin 1.2s ease-in-out infinite alternate; }
.fish--1 { top: 58%; animation-duration: 26s; }
.fish--2 { top: 76%; width: 44px; animation-name: swimR; animation-duration: 19s; animation-delay: -8s; }
.fish--2 img { scale: -1 1; }
@keyframes swim { 0% { transform: translateX(-120px); } 100% { transform: translateX(1300px); } }
@keyframes swimR { 0% { transform: translateX(1300px); } 100% { transform: translateX(-120px); } }
@keyframes fin { from { transform: translateY(-4px) rotate(-3deg); } to { transform: translateY(4px) rotate(3deg); } }
.bubble { position: absolute; bottom: -20px; z-index: 1; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); animation: rise 7s ease-in infinite; }
@keyframes rise { to { transform: translate(14px, -520px); opacity: 0; } }
.promise { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
@media (max-width: 900px) { .promise { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.promise div { display: grid; gap: 4px; align-content: start; padding: 20px; border-radius: 22px; background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #1C2A2E; }
.promise img { width: 46px; height: 46px; margin-bottom: 6px; }
.promise b { font-family: var(--font-display); font-size: 20px; line-height: 1.2; }
.promise span { font-size: 14px; color: #3F5358; }

/* Give-back story */
.gb__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.gb__ph { position: relative; }
.gb__ph img { width: 100%; height: auto; border-radius: 28px; box-shadow: var(--shadow-lg); }
.gb__txt h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; margin: 8px 0 18px; }
.gb__txt p { margin: 0 0 14px; color: var(--muted); max-width: 58ch; }
.gb__pledge { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0 10px !important; padding: 16px 18px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); font-weight: 600; color: var(--ink) !important; }
.gb__pledge img { flex: none; width: 26px; height: 26px; }
.gb__sign { font-size: 26px; color: var(--accent) !important; margin-top: 8px !important; }

/* Newsletter */
.join { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: 32px; background: var(--butter); box-shadow: none; }
.join__gift { width: 110px; animation: bob 4s ease-in-out infinite; --rot: -8deg; }
.join h2 { font-size: clamp(28px, 3.6vw, 42px); margin-top: 6px; }
.join p { color: var(--muted); margin-top: 6px; }
.join form { display: grid; gap: 8px; max-width: 420px; }
.join label { font-weight: 700; font-size: 14px; }
.join .row { display: flex; gap: 10px; flex-wrap: wrap; }
.field { flex: 1 1 200px; min-width: 0; min-height: 50px; padding: 12px 18px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: inherit; }
.field:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.note { font-weight: 700; min-height: 1.5em; font-size: 14px; color: var(--ok); }
@media (max-width: 860px) { .join { grid-template-columns: 1fr; } .join__gift { width: 80px; } }

/* Collection */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 20px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--ink); font-weight: 500; }
.banner { position: relative; display: flex; align-items: flex-end; min-height: clamp(240px, 28vw, 340px); padding: clamp(22px, 4vw, 44px); overflow: hidden; border-radius: 32px; color: #fff; box-shadow: var(--shadow-lg); }
.banner > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }
.banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 20, 19, .66), rgba(15, 20, 19, .1) 70%); }
.banner__txt { position: relative; z-index: 1; max-width: 520px; }
.banner h1 { font-size: clamp(40px, 5.6vw, 70px); }
.banner .eyebrow { color: #fff; }
.banner p { margin-top: 10px; font-size: 18px; opacity: .92; }
.banner__icon { position: absolute; z-index: 1; right: clamp(18px, 4vw, 44px); bottom: 0; width: clamp(90px, 12vw, 150px); filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .3)); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-block: 28px 8px; }
.chip { min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 500; font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; }
.chip[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.toolbar label { margin-left: auto; display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; }
.toolbar select { min-height: 44px; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font: inherit; }
.count { color: var(--muted); font-size: 14px; margin-bottom: 18px; }

/* Product page */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4.5vw, 64px); align-items: start; }
@media (max-width: 860px) { .pdp { grid-template-columns: minmax(0, 1fr); } }
.pdp__gallery { position: relative; min-width: 0; }
.pdp__main { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: 30px; background: var(--sage); box-shadow: var(--shadow-lg); }
.pdp__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.pdp__thumbs { display: flex; gap: 12px; margin-top: 14px; }
.pdp__thumbs button { width: 84px; height: 84px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 18px; background: var(--sage); }
.pdp__thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.pdp__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp__mainwrap { position: relative; }
.pdp__buddy { position: absolute; z-index: 2; right: 18px; bottom: -14px; width: 96px; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .25)); animation: bob 4.5s ease-in-out infinite; pointer-events: none; }
.pdp__info { position: sticky; top: 100px; min-width: 0; }
.pdp h1 { font-size: clamp(34px, 4vw, 50px); margin-top: 10px; }
.pdp__price { display: flex; align-items: baseline; gap: 12px; margin-top: 14px; font-size: 28px; font-weight: 700; }
.pdp__lead { margin-top: 14px; font-size: 17px; color: var(--muted); }
.ticks { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; font-weight: 500; }
.ticks li { display: flex; align-items: center; gap: 10px; }
.ticks .icon { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--sage); }
.opt { margin: 22px 0 0; border: 0; padding: 0; }
.opt legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.opt legend span { font-weight: 400; color: var(--muted); }
.opt__row { display: flex; flex-wrap: wrap; gap: 8px; }
.opt__row button { min-width: 48px; min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); font-weight: 500; }
.opt__row button[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); font-weight: 700; }
.opt__row button small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
.buyrow { display: flex; gap: 12px; margin-top: 24px; }
.buyrow .btn--cta { flex: 1; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); }
.qty button { width: 44px; height: 50px; border: 0; background: none; font-size: 20px; }
.qty output { min-width: 26px; text-align: center; font-weight: 700; }
.pdp-trust { display: grid; gap: 10px; margin: 18px 0 0; padding: 16px 18px; list-style: none; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); font-size: 15px; }
.pdp-trust li { display: flex; gap: 12px; align-items: flex-start; }
.pdp-trust img { width: 26px; height: 26px; flex: none; }
.pdp-trust b { display: block; line-height: 1.35; }
.pdp-trust small { color: var(--muted); }
.acc { margin-top: 26px; border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; justify-content: space-between; align-items: center; min-height: 54px; list-style: none; font-weight: 700; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-size: 24px; font-weight: 400; line-height: 1; transition: transform .25s var(--ease-bounce); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc details > div { padding: 0 2px 18px; color: var(--muted); }
.acc ul { margin: 0; padding-left: 18px; }

/* Footer */
footer.site { margin-top: 72px; background: var(--sage); overflow-x: clip; }
.sleepers { position: relative; height: 0; max-width: 1200px; margin-inline: auto; }
.sleeper { position: absolute; bottom: -6px; width: 118px; }
.sleeper img:first-child { animation: breathe 3.4s ease-in-out infinite; transform-origin: 50% 100%; }
.sleeper .z { position: absolute; top: -26px; right: -18px; width: 38px; animation: zzz 3.4s ease-in-out infinite; }
.sleeper--dog { left: var(--gut); }
.sleeper--cat { right: var(--gut); width: 112px; }
.sleeper--cat .z { animation-delay: -1.7s; }
@keyframes breathe { 0%,100% { transform: scale(1, 1); } 50% { transform: scale(1.03, 1.06); } }
@keyframes zzz { 0% { opacity: 0; transform: translate(-6px, 8px) scale(.7); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(8px, -12px) scale(1); } }
.foot { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 28px; padding-block: 64px 28px; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } .foot > div:first-child { grid-column: 1 / -1; } }
.foot h4 { font-size: 20px; margin-bottom: 10px; }
.foot p { color: var(--muted); max-width: 36ch; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot__logo { height: 34px; width: auto; margin-bottom: 12px; }
:root[data-theme="dark"] .foot__logo { filter: invert(1) hue-rotate(180deg) brightness(1.1); }
.fine { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-block: 16px 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* Cart drawer */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(12, 18, 17, .45); opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; display: flex; flex-direction: column; width: min(430px, 100%); background: var(--bg); box-shadow: var(--shadow-lg); transform: translateX(105%); visibility: hidden; transition: transform .35s cubic-bezier(.3, 1, .4, 1), visibility 0s linear .35s; }
body.cart-open { overflow: hidden; }
body.cart-open .scrim { opacity: 1; pointer-events: auto; }
body.cart-open .drawer { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.3, 1, .4, 1), visibility 0s; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { display: flex; align-items: center; gap: 10px; font-size: 26px; }
.drawer__head h2 img { width: 36px; }
.drawer__head .icon-btn { width: 44px; height: 44px; border: 1.5px solid var(--line); box-shadow: none; background: var(--surface); }
.ship-bar { padding: 16px 22px 20px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.ship-bar__track { position: relative; height: 10px; margin-top: 30px; border-radius: 999px; background: var(--sage); }
.ship-bar__fill { height: 100%; border-radius: 999px; background: var(--accent); transition: width .5s ease; }
.ship-bar__pup { position: absolute; top: -36px; width: 40px; transform: translateX(-50%); transition: left .5s ease; }
.ship-bar__goal { position: absolute; right: -6px; top: -28px; width: 30px; }
.lines { flex: 1; overflow-y: auto; padding: 6px 22px; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding-block: 14px; border-bottom: 1px solid var(--line); }
.line__img { width: 72px; height: 72px; overflow: hidden; border-radius: 16px; background: var(--sage); }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line b { display: block; font-size: 15px; line-height: 1.25; }
.line b a { text-decoration: none; }
.line small { color: var(--muted); }
.line__price { font-weight: 700; }
.mini-qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.mini-qty button { width: 34px; height: 34px; padding: 0; border: 1.5px solid var(--line); border-radius: 50%; background: var(--surface); line-height: 1; }
.mini-qty .rm { width: auto; border: 0; background: none; padding: 0 4px; font-size: 13px; color: var(--muted); text-decoration: underline; border-radius: 6px; }
.empty { display: grid; gap: 14px; justify-items: center; padding: 44px 10px; text-align: center; color: var(--muted); }
.empty img { width: 120px; }
.empty b { color: var(--ink); font-family: var(--font-display); font-size: 22px; }
.drawer__foot { display: grid; gap: 10px; padding: 18px 22px 22px; border-top: 1px solid var(--line); }
.drawer__foot.is-empty { display: none; }
.subtotal { display: flex; justify-content: space-between; font-weight: 700; font-size: 20px; }
.drawer__foot small { color: var(--muted); text-align: center; font-size: 13px; }
.demo-msg { display: none; gap: 10px; grid-template-columns: 44px 1fr; align-items: center; padding: 14px 16px; border-radius: 18px; background: var(--butter); font-size: 14px; line-height: 1.45; }
.demo-msg.is-on { display: grid; animation: popin .4s var(--ease-bounce) both; }
.demo-msg img { width: 44px; }
.demo-msg b { display: block; font-size: 15px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 85; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 999px; font-weight: 700; white-space: nowrap; box-shadow: var(--shadow-lg); transform: translate(-50%, calc(100% + 160px)); visibility: hidden; transition: transform .35s var(--ease-bounce), visibility 0s linear .35s; max-width: calc(100vw - 32px); }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .35s var(--ease-bounce), visibility 0s; }
.toast .icon { color: var(--ok); }
.toast .btn { min-height: 40px; padding: 6px 16px; font-size: 14px; }
.toast span { overflow: hidden; text-overflow: ellipsis; }

#app > .page { animation: pagein .4s ease both; }
@keyframes pagein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes popin { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .walker, .fish, .bubble { display: none; }
}

/* ---------- Phones: compact layout, hero keeps words left / photo right ---------- */
@media (max-width: 600px) {
  .demobar { font-size: 12px; }
  .demobar .wrap { gap: 6px; min-height: 30px; }
  .announce { font-size: 13px; }
  .hero { padding-top: 16px; }
  .hero__grid { grid-template-columns: 1.1fr .9fr; grid-template-areas: "pill pill" "h1 stage" "lead stage" "cta cta" "perks perks"; column-gap: 12px; row-gap: 0; align-items: center; }
  .hero__grid > div:first-child { display: contents; }
  .hero .pill { grid-area: pill; justify-self: start; white-space: nowrap; min-height: 28px; margin-bottom: 4px; padding: 3px 10px 3px 6px; gap: 6px; font-size: 12px; }
  .hero .pill img { width: 16px; height: 16px; }
  .hero__title { grid-area: h1; font-size: clamp(27px, 7.6vw, 38px); margin-top: 10px; line-height: 1.02; }
  .hero__lead { grid-area: lead; margin-top: 8px; font-size: 12.5px; line-height: 1.45; }
  .hero__cta { grid-area: cta; gap: 10px; margin-top: 22px; flex-wrap: nowrap; }
  .hero__cta .btn { flex: 1; min-height: 44px; padding: 8px 14px; font-size: 13px; }
  .perks { grid-area: perks; gap: 6px 14px; margin-top: 12px; font-size: 12px; }
  .perks img { width: 18px; height: 18px; }
  .stage { grid-area: stage; align-self: center; }
  .arch { aspect-ratio: 4 / 5; border-radius: 48% 48% 18px 18px / 34% 34% 18px 18px; }
  .arch img { object-position: 62% center; }
  .float { width: 30px; }
  .float--spark { width: 24px; }
  .float--heart { width: 28px; }
  .stage__card { display: none; left: -6%; bottom: -14px; gap: 6px; padding: 5px 8px 5px 5px; border-radius: 12px; font-size: 11px; }
  .stage__card img { width: 26px; height: 26px; }
  .stage__card b { font-size: 12px; white-space: nowrap; }
  .stage__card small { display: none; }
  .wagger { width: 56px; right: -4%; bottom: -10px; }
  .hero__note { display: none; }
  .sidewalk { height: 70px; margin-top: 4px; }
  .walker--dog { height: 58px; }
  .walker--cat { height: 46px; }

  section.block { padding-block: 26px; }
  .head { margin-bottom: 14px; gap: 10px; }
  .head h2 { font-size: 26px; }
  .head p { font-size: 14px; margin-top: 4px; }
  .head .btn { min-height: 44px; padding: 8px 14px; font-size: 13px; }
  .gb-strip { padding-top: 14px; }
  .gb-strip__in { border-radius: 20px; font-size: 14px; padding: 12px 16px; }
  .gb-strip__in em { display: none; }
  .tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
  .tile { width: auto; gap: 6px; }
  .tile__txt b { font-size: 13px; }
  .tile__txt small { font-size: 11px; }
  .aisles { gap: 10px; }
  .aisle-card { grid-template-columns: 1fr; justify-items: start; gap: 6px; padding: 14px; border-radius: 20px; }
  .aisle-card__pal { width: 58px; }
  .aisle-card h3 { font-size: 20px; }
  .aisle__go { font-size: 12px; }
  .grid { gap: 22px 12px; }
  .card__peek { width: 56px; }
  .card__title { font-size: 15px; }
  .price { font-size: 15px; }
  .quick { left: auto; right: 8px; bottom: 8px; width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 50%; font-size: 0; }
  .quick::before { content: '+'; font-size: 26px; font-weight: 500; line-height: 1; }
  .fav { width: 38px; height: 38px; top: 8px; right: 8px; }
  .tank { border-radius: 26px; }
  .promise { gap: 10px; }
  .promise div { padding: 14px; border-radius: 18px; }
  .promise img { width: 34px; height: 34px; }
  .promise b { font-size: 17px; }
  .promise span { font-size: 13px; }
  .gb__grid { grid-template-columns: 1fr; }
  .gb__ph img { max-height: 420px; object-fit: cover; }
  .banner { border-radius: 22px; }
  .banner p { font-size: 15px; }
  .toolbar label { margin-left: 0; width: 100%; }
  .toolbar select { flex: 1; }
  .pdp__thumbs button { width: 68px; height: 68px; border-radius: 14px; }
  .pdp__buddy { width: 58px; right: 10px; }
  .pdp__info { position: static; }
  .qty button { width: 38px; height: 48px; }
  .sleeper { width: 84px; }
  .sleeper--cat { width: 80px; }
  .sleeper .z { width: 28px; top: -20px; }
  .toast { bottom: 16px; }
}
