/* moustaki. — demo pet e-shop */
:root {
  --bg: #f6f1e9;
  --paper: #fffdf9;
  --ink: #1c1a17;
  --ink-2: #3a3631;
  --muted: #6f695f;
  --line: #e5dccd;
  --line-2: #d6cab6;
  --accent: #e0562f;
  --accent-ink: #fff;
  --accent-soft: #fbe2d7;
  --accent-deep: #b23e1d;
  --sun: #f3c34f;
  --ok: #2f7d55;
  --dark: #171512;
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow: 0 1px 2px rgba(28,26,23,.05), 0 8px 24px -8px rgba(28,26,23,.12);
  --shadow-lg: 0 30px 80px -20px rgba(28,26,23,.35);
  --ease: cubic-bezier(.2,.7,.1,1);
  --sans: 'Commissioner', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Noto Serif Display', Georgia, serif;
  --wrap: 1280px;
  --pad: clamp(16px, 4vw, 40px);
}
body[data-pet="cat"] {
  --accent: #2c6e63;
  --accent-soft: #d6ebe5;
  --accent-deep: #1d4c44;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  transition: background-color .5s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.01em; }
.muted { color: var(--muted); }
svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  background: var(--ink); color: #fff; transition: transform .25s var(--ease), background .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(0,0,0,.45); }
.btn:active { transform: translateY(0); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--block { width: 100%; }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn .i { width: 18px; height: 18px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.link { font-weight: 600; display: inline-flex; gap: 6px; align-items: center; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.link .i { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link:hover .i { transform: translateX(4px); }

/* ---------- Demo strip + marquee ---------- */
.demo-strip {
  background: var(--dark); color: #d9d2c5; font-size: 12.5px; text-align: center; padding: 7px var(--pad);
}
.demo-strip b { color: #fff; font-weight: 600; }
.demo-strip a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.marquee { background: var(--accent); color: var(--accent-ink); overflow: hidden; font-size: 13.5px; font-weight: 600; transition: background .5s var(--ease); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span { padding: 9px 28px; display: inline-flex; align-items: center; gap: 28px; white-space: nowrap; }
.marquee__track span::after { content: '✦'; opacity: .6; font-size: 10px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background-color .5s;
}
.header.is-scrolled { border-color: var(--line); }
.header__row { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 25px; letter-spacing: -.04em; }
.logo svg { width: 38px; height: 38px; color: var(--accent); transition: color .5s var(--ease); }
.logo b { color: var(--accent); transition: color .5s var(--ease); }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav > a, .nav > .nav__item > a {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px;
  font-weight: 500; font-size: 15px; transition: background .2s;
}
.nav > a:hover, .nav__item:hover > a, .nav a.is-active { background: rgba(28,26,23,.06); }
.nav__item { position: relative; }
.mega {
  position: absolute; top: calc(100% + 10px); left: -12px; width: 620px;
  background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 22px;
  display: grid; grid-template-columns: 1fr 220px; gap: 22px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s var(--ease);
}
.nav__item:hover .mega, .nav__item:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega::before { content: ''; position: absolute; inset: -14px 0 auto; height: 14px; }
.mega__list { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; align-content: start; }
.mega__list a { padding: 10px 12px; border-radius: 12px; font-weight: 500; display: flex; justify-content: space-between; align-items: center; }
.mega__list a small { color: var(--muted); font-weight: 400; }
.mega__list a:hover { background: var(--accent-soft); }
.mega__feat { border-radius: var(--r); overflow: hidden; position: relative; min-height: 220px; color: #fff; display: flex; align-items: flex-end; padding: 16px; }
.mega__feat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mega__feat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(0,0,0,.6)); }
.mega__feat span { position: relative; z-index: 1; font-weight: 700; font-size: 18px; line-height: 1.2; }
.header__tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.search-trigger {
  display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px 0 16px; width: 260px;
  border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font-size: 14.5px;
  transition: box-shadow .2s;
}
.search-trigger:hover { box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.search-trigger kbd { margin-left: auto; font: 600 11px var(--sans); border: 1px solid var(--line-2); border-radius: 6px; padding: 2px 6px; color: var(--muted); }
.icon-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; transition: background .2s; }
.icon-btn:hover { background: rgba(28,26,23,.06); }
.icon-btn .i { width: 22px; height: 22px; }
.count {
  position: absolute; top: 3px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px;
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center;
  transform: scale(0); transition: transform .3s var(--ease), background .5s;
}
.count.is-on { transform: scale(1); }
.count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }
.pet-chip {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 6px; border-radius: 999px;
  background: var(--accent-soft); font-weight: 600; font-size: 14px; transition: background .5s;
}
.pet-chip .av { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; transition: background .5s; }
.pet-chip .av .i { width: 18px; height: 18px; }
.burger { display: none; }

/* ---------- Pet switch ---------- */
.switch {
  display: inline-flex; padding: 5px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
  position: relative; isolation: isolate;
}
.switch button { position: relative; z-index: 1; height: 42px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; transition: color .35s; color: var(--muted); }
.switch button[aria-pressed="true"] { color: #fff; }
.switch__thumb { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: var(--ink); transition: transform .45s var(--ease), width .45s var(--ease); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 {
  font-size: clamp(42px, 5.3vw, 80px); line-height: .98; letter-spacing: -.045em; font-weight: 800; margin: 26px 0 24px;
}
.hero h1 .serif { font-weight: 400; color: var(--accent); display: inline-block; transition: color .5s; }
.hero h1 .swap { display: inline-grid; }
.hero h1 .swap > span { grid-area: 1/1; transition: opacity .45s var(--ease), transform .55s var(--ease); }
.hero h1 .swap > span[aria-hidden="true"] { opacity: 0; transform: translateY(.35em) rotate(2deg); }
.hero__lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 30em; margin: 0 0 32px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__proof { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero__proof div { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--ink-2); line-height: 1.3; }
.hero__proof .i { width: 22px; height: 22px; color: var(--accent); transition: color .5s; }
.hero__proof b { display: block; color: var(--ink); font-weight: 700; }

.hero__art { position: relative; aspect-ratio: 1 / 1.05; }
.hero__blob {
  position: absolute; inset: 6% 4% 4% 8%; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  background: var(--accent); transition: background .6s var(--ease); animation: morph 14s ease-in-out infinite;
}
@keyframes morph { 50% { border-radius: 58% 42% 55% 45% / 42% 58% 42% 58%; } }
.hero__photo {
  position: absolute; inset: 0 10% 8% 14%; border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); background: #ddd;
}
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.hero__photo img[aria-hidden="true"] { opacity: 0; transform: scale(1.06); }
.float {
  position: absolute; background: var(--paper); border-radius: 20px; box-shadow: var(--shadow-lg);
  padding: 12px 16px 12px 12px; display: flex; gap: 12px; align-items: center; font-size: 13.5px; line-height: 1.3;
  animation: bob 6s ease-in-out infinite;
}
.float img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.float b { display: block; font-size: 14.5px; }
.float--a { left: -2%; bottom: 18%; }
.float--b { right: 0; top: 14%; animation-delay: -3s; padding: 10px 14px; }
.float--b .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(47,125,85,.18); }
@keyframes bob { 50% { transform: translateY(-10px); } }
.stamp { position: absolute; right: 2%; bottom: 2%; width: 128px; height: 128px; }
.stamp svg { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.stamp text { font: 700 10.5px var(--sans); letter-spacing: .2em; fill: var(--ink); }
.stamp__core { position: absolute; inset: 30%; border-radius: 50%; background: var(--sun); display: grid; place-items: center; }
.stamp__core .i { width: 28px; height: 28px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Sections ---------- */
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section--tight { padding-top: 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.sec-head h2, .h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1; letter-spacing: -.035em; font-weight: 800; margin: 0; }
.sec-head p { margin: 10px 0 0; color: var(--muted); max-width: 36em; }
.eyebrow { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--accent); transition: color .5s; }
.arrows { display: flex; gap: 8px; }
.arrows button { width: 48px; height: 48px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); display: grid; place-items: center; transition: .2s; }
.arrows button:hover { background: var(--ink); color: #fff; box-shadow: none; }
.arrows button:first-child .i { transform: rotate(180deg); }

/* Category rail */
.cats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(132px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat { scroll-snap-align: start; text-align: center; font-weight: 600; font-size: 15px; }
.cat__img { aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin-bottom: 12px; background: var(--paper); box-shadow: 0 0 0 0 var(--accent); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat:hover .cat__img { box-shadow: 0 0 0 4px var(--accent); transform: translateY(-4px); }
.cat:hover .cat__img img { transform: scale(1.08); }
.cat small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; }

/* ---------- Product card ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.card { position: relative; display: flex; flex-direction: column; }
.card__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: #e9e2d6; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.badge { font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: 99px; background: var(--paper); letter-spacing: .02em; }
.badge--sale { background: var(--accent); color: #fff; transition: background .5s; }
.badge--new { background: var(--sun); }
.badge--best { background: var(--ink); color: #fff; }
.fav {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,253,249,.9); display: grid; place-items: center; transition: transform .2s;
}
.fav:hover { transform: scale(1.1); }
.fav .i { width: 20px; height: 20px; }
.fav[aria-pressed="true"] .i { fill: var(--accent); stroke: var(--accent); animation: bump .45s var(--ease); }
.quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; height: 46px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 8px;
  transform: translateY(calc(100% + 16px)); transition: transform .35s var(--ease), background .2s;
}
.card:hover .quick, .quick:focus-visible { transform: none; }
.quick:hover { background: var(--accent); }
.quick .i { width: 18px; height: 18px; }
.card__body { padding: 14px 4px 0; display: flex; flex-direction: column; gap: 2px; }
.card__type { font-size: 13px; color: var(--muted); }
.card__name { font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.card__name::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.price b { font-weight: 700; font-size: 16.5px; }
.price s { color: var(--muted); font-size: 14px; }
.price .unit { font-size: 12.5px; color: var(--muted); }
.price .from { font-size: 13px; color: var(--muted); font-weight: 500; }
.price--sale b { color: var(--accent); transition: color .5s; }

/* ---------- Pet profile / food finder ---------- */
.finder { background: var(--paper); border-radius: var(--r-lg); display: grid; grid-template-columns: 1fr 1.1fr; overflow: hidden; box-shadow: var(--shadow); }
.finder__form { padding: clamp(24px, 4vw, 52px); }
.finder__form h2 { margin: 10px 0 10px; }
.finder__form > p { color: var(--muted); margin: 0 0 28px; }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field > span, .label { font-size: 13.5px; font-weight: 600; }
.input {
  height: 52px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); width: 100%;
  transition: border-color .2s, background .2s;
}
.input:focus { outline: none; border-color: var(--ink); background: #fff; }
.input.is-error { border-color: #c0392b; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 12px; font-weight: 500; font-size: 14.5px;
  box-shadow: inset 0 0 0 1.5px var(--line); transition: .2s; background: var(--bg);
}
.seg span small { color: var(--muted); font-size: 12px; }
.seg label:hover span { box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.seg input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.seg input:checked + span small { color: #cfc8bc; }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.seg input:disabled + span { opacity: .4; text-decoration: line-through; }
.range { display: flex; align-items: center; gap: 16px; }
.range input[type=range] { flex: 1; accent-color: var(--accent); height: 28px; }
.range output { min-width: 76px; text-align: right; font-weight: 700; font-size: 20px; }
.finder__result { background: var(--accent-soft); padding: clamp(24px, 4vw, 52px); display: flex; flex-direction: column; gap: 20px; transition: background .5s; position: relative; }
.res-card { display: grid; grid-template-columns: 140px 1fr; gap: 20px; align-items: center; background: var(--paper); border-radius: var(--r); padding: 14px; box-shadow: var(--shadow); }
.res-card img { border-radius: 12px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.res-card h3 { margin: 2px 0 6px; font-size: 22px; letter-spacing: -.02em; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { background: rgba(255,255,255,.65); border-radius: 16px; padding: 14px 16px; }
.stat b { display: block; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 13px; color: var(--ink-2); }
.fineprint { font-size: 12.5px; color: var(--muted); margin: 0; }

/* ---------- Bento / editorial ---------- */
.bento { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 280px 280px; gap: 16px; }
.tile { position: relative; border-radius: var(--r-lg); overflow: hidden; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(15,13,10,.72)); }
.tile:hover img { transform: scale(1.06); }
.tile:first-child { grid-row: span 2; }
.tile h3 { margin: 0 0 4px; font-size: clamp(22px, 2.4vw, 34px); letter-spacing: -.03em; line-height: 1.05; }
.tile p { margin: 0 0 12px; opacity: .9; font-size: 15px; }
.tile .link { align-self: flex-start; }
.tile--color { background: var(--accent); transition: background .5s; }
.tile--color::after { display: none; }
.tile--color .big { font-size: clamp(56px, 6vw, 92px); font-weight: 800; letter-spacing: -.05em; line-height: .9; margin-bottom: auto; }

/* ---------- Autoship ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { background: var(--paper); border-radius: var(--r-lg); padding: 28px; position: relative; overflow: hidden; }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); font: 800 72px/1 var(--sans); letter-spacing: -.05em; color: var(--accent-soft); display: block; margin-bottom: 18px; transition: color .5s; }
.step h3 { margin: 0 0 8px; font-size: 21px; letter-spacing: -.02em; }
.step p { margin: 0; color: var(--muted); }

/* ---------- Dark band ---------- */
.dark { background: var(--dark); color: #f3eee6; border-radius: var(--r-lg); padding: clamp(28px, 5vw, 64px); margin: 0 var(--pad); overflow: hidden; position: relative; }
.dark .sec-head p, .dark .card__type, .dark .price .unit, .dark .price s { color: #a8a194; }
.dark .arrows button { box-shadow: inset 0 0 0 1.5px #4a453d; }
.dark .arrows button:hover { background: #fff; color: var(--ink); }
.dark .card__media { background: #2a2622; }
.dark .quick { background: #fff; color: var(--ink); }
.dark .quick:hover { background: var(--accent); color: #fff; }
.dark::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: var(--accent); filter: blur(120px); opacity: .28; top: -260px; right: -120px; transition: background .5s; }

/* ---------- Delivery ---------- */
.deliv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.deliv > div { border-top: 2px solid var(--ink); padding-top: 18px; }
.deliv .i { width: 30px; height: 30px; color: var(--accent); margin-bottom: 14px; transition: color .5s; }
.deliv h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -.01em; }
.deliv p { margin: 0; color: var(--muted); font-size: 15px; }
.deliv b { color: var(--ink); white-space: nowrap; }

/* ---------- FAQ + newsletter ---------- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
details.acc { border-bottom: 1px solid var(--line-2); }
details.acc summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary .i { transition: transform .3s var(--ease); }
details.acc[open] summary .i { transform: rotate(45deg); }
details.acc .acc__body { padding: 0 0 22px; color: var(--ink-2); max-width: 40em; }
details.acc .acc__body p { margin: 0 0 10px; }
.news { background: var(--accent); color: #fff; border-radius: var(--r-lg); padding: clamp(28px, 4vw, 48px); position: relative; overflow: hidden; transition: background .5s; }
.news h2 { color: #fff; margin: 0 0 12px; }
.news p { margin: 0 0 24px; opacity: .92; }
.news form { display: flex; gap: 8px; background: #fff; padding: 6px; border-radius: 999px; }
.news input { flex: 1; border: 0; background: transparent; padding: 0 16px; min-width: 0; color: var(--ink); }
.news input:focus { outline: none; }
.news .paw-bg { position: absolute; right: -30px; bottom: -40px; width: 220px; height: 220px; opacity: .14; transform: rotate(-18deg); }
.news .paw-bg .i { width: 100%; height: 100%; stroke-width: 1.2; }

/* ---------- Footer ---------- */
.footer { margin-top: clamp(48px, 7vw, 96px); background: var(--dark); color: #cfc8bc; padding: 64px 0 28px; font-size: 14.5px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer h4 { color: #fff; margin: 0 0 14px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a:hover { color: #fff; }
.pay { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.pay span { border: 1px solid #3a352f; border-radius: 6px; padding: 4px 8px; font-size: 12px; font-weight: 600; color: #e8e2d8; }
.footer__bottom { border-top: 1px solid #2d2924; margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #8f887c; }
.footer__bottom a { color: #e8e2d8; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Drawer (cart) ---------- */
.scrim { position: fixed; inset: 0; background: rgba(20,18,15,.45); z-index: 80; opacity: 0; visibility: hidden; transition: .35s var(--ease); backdrop-filter: blur(2px); }
.scrim.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: var(--paper); z-index: 90;
  transform: translateX(102%); transition: transform .5s var(--ease); display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
.drawer.is-open { transform: none; }
.drawer--left { left: 0; right: auto; transform: translateX(-102%); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.ship-bar { padding: 16px 24px; background: var(--accent-soft); font-size: 14px; transition: background .5s; }
.ship-bar__track { height: 8px; background: rgba(255,255,255,.8); border-radius: 99px; margin-top: 10px; overflow: hidden; }
.ship-bar__fill { height: 100%; background: var(--accent); border-radius: 99px; transition: width .6s var(--ease), background .5s; position: relative; }
.ship-bar__fill::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent); animation: shine 2s infinite; }
@keyframes shine { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line img { width: 84px; height: 96px; object-fit: cover; border-radius: 12px; }
.line__name { font-weight: 700; }
.line__meta { font-size: 13px; color: var(--muted); }
.line__auto { display: inline-flex; gap: 6px; align-items: center; font-size: 12.5px; font-weight: 600; color: var(--accent-deep); background: var(--accent-soft); border-radius: 99px; padding: 3px 10px; margin-top: 6px; }
.line__auto .i { width: 14px; height: 14px; }
.line__right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.line__right .rm { font-size: 13px; color: var(--muted); text-decoration: underline; }
.qty { display: inline-flex; align-items: center; border-radius: 99px; box-shadow: inset 0 0 0 1.5px var(--line); height: 38px; margin-top: 10px; }
.qty button { width: 36px; height: 38px; display: grid; place-items: center; }
.qty .i { width: 15px; height: 15px; }
.qty span, .qty input { min-width: 26px; width: 34px; text-align: center; font-weight: 600; border: 0; background: transparent; }
.qty--lg { height: 52px; }
.qty--lg button { width: 46px; height: 52px; }
.sum-row { display: flex; justify-content: space-between; font-size: 15px; }
.sum-row--total { font-size: 19px; font-weight: 800; }
.empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.empty .i { width: 56px; height: 56px; color: var(--line-2); margin: 0 auto 12px; }
.upsell { padding: 14px 0 6px; }
.upsell h3 { font-size: 14px; margin: 4px 0 10px; }
.upsell__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini { display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: center; background: var(--bg); border-radius: 14px; padding: 8px; font-size: 13px; line-height: 1.25; }
.mini img { width: 52px; height: 52px; object-fit: cover; border-radius: 10px; }
.mini b { display: block; }
.mini button { color: var(--accent-deep); font-weight: 700; font-size: 12.5px; margin-top: 2px; }

/* ---------- Search ---------- */
.search {
  position: fixed; inset: 0; z-index: 95; display: flex; justify-content: center; align-items: flex-start; padding: 10vh 16px 16px;
  opacity: 0; visibility: hidden; transition: .25s var(--ease);
}
.search.is-open { opacity: 1; visibility: visible; }
.search__box { width: min(720px, 100%); background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; transform: translateY(-12px) scale(.98); transition: .35s var(--ease); max-height: 78vh; display: flex; flex-direction: column; }
.search.is-open .search__box { transform: none; }
.search__field { display: flex; align-items: center; gap: 12px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.search__field input { flex: 1; height: 68px; border: 0; background: transparent; font-size: 20px; }
.search__field input:focus { outline: none; }
.search__res { overflow-y: auto; padding: 10px; }
.search__res a { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 8px 10px; border-radius: 14px; }
.search__res a:hover, .search__res a.is-active { background: var(--bg); }
.search__res img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.search__res mark { background: var(--accent-soft); color: inherit; border-radius: 3px; }
.search__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 10px; }
.chip { height: 36px; padding: 0 14px; border-radius: 99px; background: var(--bg); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; transition: .2s; }
.chip:hover, .chip.is-active { background: var(--ink); color: #fff; }
.search__hint { padding: 10px 20px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); }

/* ---------- Toast ---------- */
.toasts { position: fixed; z-index: 100; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 8px; width: min(420px, calc(100% - 32px)); }
.toast { display: flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; border-radius: 18px; padding: 10px 12px; box-shadow: var(--shadow-lg); animation: toastIn .45s var(--ease); font-size: 14px; }
.toast img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.toast button { margin-left: auto; font-weight: 700; color: var(--sun); white-space: nowrap; }
.toast.is-out { animation: toastOut .35s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }

/* ---------- Shop page ---------- */
.page-head { padding: 36px 0 26px; }
.crumbs { font-size: 13.5px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.page-head h1 { font-size: clamp(38px, 5.5vw, 72px); letter-spacing: -.045em; line-height: .95; margin: 14px 0 0; font-weight: 800; }
.shop { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; }
.filters { position: sticky; top: 92px; display: grid; gap: 26px; }
.filters h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 10px; }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 15px; }
.check input { appearance: none; width: 20px; height: 20px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--line-2); display: grid; place-items: center; margin: 0; cursor: pointer; transition: .15s; background: var(--paper); }
.check input:checked { background: var(--ink); box-shadow: none; }
.check input:checked::after { content: ''; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check small { margin-left: auto; color: var(--muted); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.toolbar__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.select { height: 44px; padding: 0 38px 0 16px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231c1a17' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 15px center; appearance: none; font-weight: 500; font-size: 14.5px; cursor: pointer; }
.filter-btn { display: none; }
.filters__mhead { display: none !important; }
@media (max-width: 980px) { .filters__mhead { display: flex !important; } }
.no-results { grid-column: 1 / -1; text-align: center; padding: 80px 0; color: var(--muted); }
.grid .card { animation: rise .5s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; padding-top: 18px; }
.gallery { position: sticky; top: 92px; display: grid; gap: 12px; }
.zoom { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: #e9e2d6; cursor: zoom-in; }
.zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.zoom.is-zoomed img { transform: scale(2); }
.zoom .badges { top: 18px; left: 18px; }
.pdp__info h1 { font-size: clamp(36px, 4.2vw, 58px); letter-spacing: -.04em; line-height: 1; margin: 8px 0 12px; font-weight: 800; }
.pdp__type { font-size: 15px; color: var(--muted); }
.pdp .price b { font-size: 28px; letter-spacing: -.02em; }
.pdp .price s { font-size: 18px; }
.omni { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.pdp__desc { font-size: 17px; color: var(--ink-2); margin: 20px 0 26px; max-width: 34em; }
.opt { margin-bottom: 22px; }
.opt__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.opt__head .label b { font-weight: 500; color: var(--muted); }
.opt__hint { font-size: 13px; color: var(--muted); margin-top: 8px; min-height: 1em; }
.buy-type { display: grid; gap: 10px; margin: 6px 0 22px; }
.buy-type label { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 16px 18px; border-radius: 16px; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; transition: .2s; background: var(--paper); }
.buy-type label:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink); }
.buy-type input { accent-color: var(--ink); width: 18px; height: 18px; margin: 0; }
.buy-type b { display: block; font-size: 15.5px; }
.buy-type small { color: var(--muted); font-size: 13px; }
.buy-type .save { background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 99px; transition: background .5s; }
.buy-type .freq { grid-column: 2 / -1; display: none; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.buy-type label:has(input:checked) .freq { display: flex; }
.freq button { height: 34px; padding: 0 12px; border-radius: 99px; font-size: 13px; font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--line); }
.freq button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.buy-row { display: flex; gap: 12px; margin-bottom: 16px; }
.buy-row .btn { flex: 1; height: 56px; font-size: 16px; }
.buy-row .fav-lg { width: 56px; height: 56px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); display: grid; place-items: center; flex: none; }
.buy-row .fav-lg[aria-pressed="true"] .i { fill: var(--accent); stroke: var(--accent); }
.eta { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--accent-soft); font-size: 14.5px; transition: background .5s; }
.eta .i { color: var(--accent-deep); }
.eta b { font-variant-numeric: tabular-nums; }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 28px; font-size: 13.5px; color: var(--ink-2); }
.perks div { display: flex; gap: 8px; align-items: center; }
.perks .i { width: 18px; height: 18px; color: var(--accent); }
.calc { background: var(--paper); border-radius: var(--r); padding: 22px; margin-bottom: 28px; box-shadow: var(--shadow); }
.calc h3 { margin: 0 0 4px; font-size: 18px; }
.calc .stats { margin-top: 16px; }
.calc .stat { background: var(--bg); }
.engrave .input { text-transform: uppercase; letter-spacing: .06em; }
.engrave__preview { margin-top: 10px; display: flex; align-items: center; gap: 14px; }
.tag { width: 88px; height: 88px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff, #c7c9cc 60%, #9da0a4); display: grid; place-items: center; text-align: center; font: 700 10px/1.25 var(--sans); letter-spacing: .08em; color: #3d3f42; box-shadow: inset 0 0 0 4px rgba(255,255,255,.5), 0 6px 16px -6px rgba(0,0,0,.4); padding: 12px; word-break: break-word; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--paper); border-top: 1px solid var(--line); padding: 10px var(--pad); display: none; align-items: center; gap: 12px; transform: translateY(100%); transition: transform .35s var(--ease); }
.sticky-buy.is-on { transform: none; }
.sticky-buy img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.sticky-buy .btn { margin-left: auto; height: 46px; }

/* ---------- Checkout ---------- */
.co { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; padding-top: 10px; }
.co h2 { font-size: 22px; letter-spacing: -.02em; margin: 0 0 16px; display: flex; align-items: center; gap: 12px; }
.co h2 .n { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 14px; }
.co-block { background: var(--paper); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); margin-bottom: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.opt-list { display: grid; gap: 10px; }
.opt-list label { display: grid; grid-template-columns: 22px auto 1fr auto; gap: 12px; align-items: center; padding: 16px; border-radius: 16px; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; transition: .2s; }
.opt-list label:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink); background: var(--bg); }
.opt-list input { accent-color: var(--ink); width: 18px; height: 18px; margin: 0; }
.opt-list .i { width: 24px; height: 24px; color: var(--accent); }
.opt-list b { display: block; font-size: 15px; }
.opt-list small { color: var(--muted); font-size: 13px; }
.opt-list .p { font-weight: 700; }
.summary { position: sticky; top: 92px; background: var(--paper); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); }
.summary .line { grid-template-columns: 64px 1fr auto; }
.summary .line img { width: 64px; height: 72px; }
.coupon { display: flex; gap: 8px; margin: 16px 0; }
.coupon .input { height: 46px; }
.coupon .btn { height: 46px; }
.note { font-size: 13px; color: var(--muted); background: var(--bg); border-radius: 12px; padding: 12px 14px; display: flex; gap: 10px; }
.note .i { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.err { color: #b03a2e; font-size: 12.5px; min-height: 0; }
.done { text-align: center; max-width: 620px; margin: 0 auto; padding: 60px 0 20px; }
.done__icon { width: 96px; height: 96px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; margin: 0 auto 24px; animation: pop .7s var(--ease); }
.done__icon .i { width: 44px; height: 44px; stroke-width: 2.4; }
@keyframes pop { 0% { transform: scale(0); } 60% { transform: scale(1.15); } }
.done h1 { font-size: clamp(36px, 5vw, 60px); letter-spacing: -.04em; line-height: 1; margin: 0 0 14px; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 120; overflow: hidden; }
.confetti i { position: absolute; top: -40px; width: 22px; height: 22px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(540deg); } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .search-trigger { width: 44px; padding: 0; justify-content: center; }
  .search-trigger span, .search-trigger kbd { display: none; }
  .search-trigger { box-shadow: none; background: transparent; color: var(--ink); }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .rail { grid-auto-columns: calc((100% - 40px) / 3); }
}
@media (max-width: 980px) {
  .nav { display: none; }
  .burger { display: grid; }
  .hero__grid, .finder, .two, .pdp, .co { grid-template-columns: minmax(0, 1fr); }
  .hero__grid > *, .finder > *, .two > *, .pdp > *, .co > *, .shop > * { min-width: 0; }
  .hero__art { max-width: 560px; width: 100%; margin: 0 auto; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: 320px 220px 220px; }
  .tile:first-child { grid-column: span 2; grid-row: auto; }
  .steps, .deliv { grid-template-columns: 1fr 1fr; }
  .shop { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0 auto 0 0; width: min(340px, 88%); background: var(--paper); z-index: 90; padding: 24px; overflow-y: auto; transform: translateX(-102%); transition: transform .45s var(--ease); align-content: start; }
  .filters.is-open { transform: none; }
  .filter-btn { display: inline-flex; }
  .gallery, .summary, .filters:not(.is-open) { position: static; }
  .filters:not(.is-open) { position: fixed; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .sticky-buy { display: flex; }
  .pet-chip span { display: none; }
  .pet-chip { padding: 0 6px; }
}
@media (max-width: 640px) {
  .header__row { height: 64px; gap: 8px; }
  .logo { font-size: 22px; }
  .logo svg { width: 32px; height: 32px; }
  .icon-btn { width: 40px; height: 40px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .rail { grid-auto-columns: 72%; gap: 12px; }
  .card__name { font-size: 15.5px; }
  .cats { grid-auto-columns: 100px; gap: 12px; }
  .cat { font-size: 13.5px; }
  .quick { transform: none; position: static; margin-top: 10px; height: 40px; background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
  .card__body { order: 1; }
  .card { gap: 0; }
  .sec-head { align-items: start; flex-direction: column; }
  .sec-head .arrows { display: none; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .stat { padding: 10px; }
  .stat b { font-size: 20px; }
  .res-card { grid-template-columns: 92px 1fr; }
  .bento { grid-template-columns: 1fr; grid-template-rows: 340px repeat(4, 200px); }
  .tile:first-child { grid-column: auto; }
  .steps, .deliv { grid-template-columns: 1fr; }
  .float--a { left: 0; bottom: 10%; transform: scale(.88); }
  .float--b { display: none; }
  .stamp { width: 100px; height: 100px; }
  .row2 { grid-template-columns: 1fr; }
  .hero__proof { gap: 16px; }
  .footer__grid { grid-template-columns: 1fr; }
  .perks { grid-template-columns: 1fr; }
  .buy-row { flex-wrap: wrap; }
  .buy-row .btn { order: 3; flex-basis: 100%; }
  .buy-row .fav-lg { margin-left: auto; }
  .switch button { padding: 0 16px; }
  .dark { margin: 0 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
