/* ============================================================================
   Pet Buy Mall storefront theme (site 1, slug petbuymall).
   Fresh, trustworthy pet-deals marketplace: deep spruce-teal brand + persimmon
   "deal" pop on a cool off-white ground; rounded pet-tag shapes; system rounded
   display face. Price comparison is the hero mechanic on every card + product.
   Paired with x-layouts.pet + resources/views/pages/pet/*.
   ============================================================================ */

:root{
  --ground:#F4F6F5; --surface:#FFFFFF; --surface-2:#EAEFED; --surface-3:#E1E9E6;
  --ink:#1C2624; --ink-soft:#566360; --ink-faint:#849490; --line:#DCE4E1;
  --brand:#14615C; --brand-strong:#0E4A46; --brand-tint:#DDECE9; --brand-ink:#0B3B37;
  --deal:#F0642F; --deal-strong:#D8501C; --deal-tint:#FCE7DC;
  --ok:#2E7D5B; --warn:#B4801A; --crit:#C4453D;
  --shadow:0 1px 2px rgba(16,40,38,.05), 0 8px 24px -12px rgba(16,40,38,.22);
  --shadow-lg:0 2px 4px rgba(16,40,38,.06), 0 24px 48px -20px rgba(16,40,38,.30);
  --font-display: ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r-sm:8px; --r-md:14px; --r-lg:20px; --r-xl:28px; --r-pill:999px;
  --maxw:1180px; --nav-h:118px;
  /* Aliases for the shared static/CMS page markup (contact, privacy, terms, about,
     faq, CMS pages) — resolve their inline var(--...) to pet colors (theme-aware). */
  --text-muted:var(--ink-soft); --bark:var(--ink); --amber:var(--brand);
  --sand:var(--surface-2); --radius-lg:var(--r-lg);
}
@media (prefers-color-scheme: dark){
  :root{
    --ground:#101615; --surface:#182220; --surface-2:#1F2B29; --surface-3:#26332F;
    --ink:#EAF1EE; --ink-soft:#9FB0AC; --ink-faint:#6E807C; --line:#2A3937;
    --brand:#4FB3A6; --brand-strong:#6CC7BB; --brand-tint:#143430; --brand-ink:#0B3B37;
    --deal:#FF7A47; --deal-strong:#FF9464; --deal-tint:#3A211A;
    --ok:#5FBE92; --warn:#E0B057; --crit:#E77D75;
    --shadow:0 1px 2px rgba(0,0,0,.4), 0 10px 28px -14px rgba(0,0,0,.7);
    --shadow-lg:0 2px 6px rgba(0,0,0,.5), 0 30px 60px -24px rgba(0,0,0,.8);
  }
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{ margin:0; background:var(--ground); color:var(--ink); font-family:var(--font-sans);
  font-size:16px; line-height:1.55; -webkit-font-smoothing:antialiased; }
h1,h2,h3,h4{ font-family:var(--font-display); font-weight:800; line-height:1.12;
  letter-spacing:-.02em; text-wrap:balance; margin:0; }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; }
button{ font-family:inherit; cursor:pointer; }
:focus-visible{ outline:3px solid var(--brand); outline-offset:2px; border-radius:4px; }
.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }
.num{ font-variant-numeric:tabular-nums; }
.eyebrow{ font-size:.72rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--brand); margin:0; }
.s{ padding:52px 0; }
.band{ background:var(--surface); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }

.btn{ display:inline-flex; align-items:center; gap:8px; border:0; border-radius:var(--r-md);
  padding:13px 22px; font-weight:700; font-size:.95rem; cursor:pointer; }
.btn-primary{ background:var(--brand); color:#fff; box-shadow:var(--shadow); }
.btn-primary:hover{ background:var(--brand-strong); color:#fff; }
.btn-ghost{ background:var(--surface); color:var(--ink); border:1.5px solid var(--line); }
.btn-ghost:hover{ border-color:var(--brand); color:var(--brand); }
.btn-deal{ background:var(--deal); color:#fff; }
.btn-deal:hover{ background:var(--deal-strong); color:#fff; }

/* ---------- Header ---------- */
.site-head{ background:var(--surface); border-bottom:1px solid var(--line); position:sticky; top:0; z-index:50; }
.head-top{ display:flex; align-items:center; gap:20px; padding:16px 24px; max-width:var(--maxw); margin:0 auto; }
.logo{ display:flex; align-items:center; gap:10px; font-family:var(--font-display);
  font-weight:800; font-size:1.32rem; letter-spacing:-.02em; white-space:nowrap; color:var(--ink); }
.logo .mark{ width:38px; height:38px; border-radius:12px; background:var(--brand);
  color:#fff; display:grid; place-items:center; font-size:1.15rem; box-shadow:var(--shadow); }
.logo em{ color:var(--brand); font-style:normal; }
.search{ flex:1; display:flex; align-items:center; gap:10px; background:var(--surface-2);
  border:1.5px solid var(--line); border-radius:var(--r-pill); padding:9px 8px 9px 18px; min-width:0; }
.search:focus-within{ border-color:var(--brand); background:var(--surface); }
.search svg{ flex:0 0 auto; color:var(--ink-soft); }
.search input{ flex:1; border:0; background:transparent; color:var(--ink); font-size:.95rem; outline:none; min-width:0; }
.search input::placeholder{ color:var(--ink-faint); }
.search .go{ background:var(--brand); color:#fff; border:0; border-radius:var(--r-pill);
  padding:9px 20px; font-weight:700; font-size:.88rem; }
.search .go:hover{ background:var(--brand-strong); }
.head-util{ display:flex; align-items:center; gap:8px; white-space:nowrap; }
.util-link{ display:flex; align-items:center; gap:7px; font-weight:600; font-size:.86rem;
  color:var(--ink-soft); padding:9px 12px; border-radius:var(--r-md); }
.util-link:hover{ color:var(--brand); background:var(--surface-2); }
.nav{ border-top:1px solid var(--line); }
.nav .wrap{ display:flex; align-items:center; gap:4px; flex-wrap:wrap; }
.nav a{ font-weight:600; font-size:.9rem; color:var(--ink); padding:13px 14px;
  border-bottom:3px solid transparent; margin-bottom:-1px; }
.nav a:hover{ color:var(--brand); border-bottom-color:var(--brand-tint); }
.nav a.active{ color:var(--brand); border-bottom-color:var(--brand); }
.nav a.deals{ color:var(--deal); margin-left:auto; }
.nav a.deals:hover{ border-bottom-color:var(--deal); }
.alert-ok{ background:var(--brand-tint); border:1px solid var(--brand); color:var(--brand-ink);
  padding:12px 16px; border-radius:var(--r-md); }
@media (prefers-color-scheme: dark){ .alert-ok{ color:var(--brand-strong); } }

/* ---------- Sections & headings ---------- */
.sec-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:24px; }
.sec-head h2{ font-size:1.7rem; }
.sec-head a{ color:var(--brand); font-weight:700; font-size:.9rem; white-space:nowrap; }

/* ---------- Hero ---------- */
.hero{ position:relative; overflow:hidden; background:
    radial-gradient(1100px 380px at 88% -10%, var(--brand-tint), transparent 60%), var(--ground); }
.hero .wrap{ display:grid; grid-template-columns:1.15fr .85fr; gap:40px; align-items:center; padding:56px 24px 60px; }
.hero h1{ font-size:clamp(2.1rem,4.4vw,3.3rem); margin:14px 0 0; }
.hero .lede{ font-size:1.12rem; color:var(--ink-soft); max-width:46ch; margin:16px 0 24px; }
.hero-search{ display:flex; gap:10px; flex-wrap:wrap; max-width:520px; }
.hero-search .search{ flex:1 1 260px; background:var(--surface); }
.trust-row{ display:flex; gap:22px; margin-top:28px; flex-wrap:wrap; }
.trust{ display:flex; align-items:center; gap:9px; font-size:.86rem; color:var(--ink-soft); font-weight:600; }
.trust b{ color:var(--ink); }
.hero-card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-xl);
  box-shadow:var(--shadow-lg); padding:8px; display:block; transition:transform .15s; }
.hero-card:hover{ transform:translateY(-4px); }
.hero-photo{ aspect-ratio:4/3.2; border-radius:var(--r-lg); display:grid; place-items:center;
  font-size:5rem; background-size:cover; background-position:center; }
.hero-photo[data-empty]{ background:
    radial-gradient(120% 120% at 30% 20%, var(--deal-tint), transparent 55%),
    linear-gradient(140deg, var(--brand-tint), var(--surface-2)); }
.hero-tag{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 16px 12px; }
.hero-tag .nm{ font-weight:700; font-size:.95rem; color:var(--ink); }
.hero-tag .pr{ text-align:right; white-space:nowrap; }
.hero-tag .pr small{ display:block; color:var(--ink-faint); font-size:.7rem; font-weight:600; text-transform:uppercase; letter-spacing:.05em; }
.hero-tag .pr b{ font-size:1.25rem; color:var(--deal); }

/* ---------- Shop-by pills / goals ---------- */
.pill-grid{ display:grid; grid-template-columns:repeat(6,1fr); gap:14px; }
.pet-pill{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg);
  padding:22px 12px; text-align:center; box-shadow:var(--shadow); transition:transform .15s, border-color .15s; }
.pet-pill:hover{ transform:translateY(-4px); border-color:var(--brand); }
.pet-pill .ic{ font-size:2.1rem; }
.pet-pill .nm{ font-weight:700; margin-top:8px; font-size:.92rem; color:var(--ink); }
.goal-grid{ display:grid; grid-template-columns:repeat(6,1fr); gap:12px; }
.goal{ display:flex; flex-direction:column; gap:6px; background:var(--brand-tint); color:var(--brand-ink);
  border-radius:var(--r-md); padding:16px 14px; font-weight:700; font-size:.9rem; border:1px solid transparent; }
.goal:hover{ border-color:var(--brand); }
.goal .ic{ font-size:1.3rem; }
@media (prefers-color-scheme: dark){ .goal{ color:var(--brand-strong); } }

/* ---------- Product grid + card ---------- */
.grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.grid.cat3{ grid-template-columns:repeat(3,1fr); }
.card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg);
  overflow:hidden; box-shadow:var(--shadow); display:flex; flex-direction:column;
  transition:transform .15s ease, box-shadow .15s ease; }
.card:hover{ transform:translateY(-5px); box-shadow:var(--shadow-lg); }
.card .photo{ aspect-ratio:1/1; display:grid; place-items:center; font-size:3.2rem;
  background:linear-gradient(150deg, var(--surface-2), var(--surface-3)); position:relative; }
.card .photo-img{ width:100%; height:100%; object-fit:cover; }
.card .phemoji{ opacity:.65; }
.badge{ position:absolute; top:12px; left:12px; background:var(--deal); color:#fff;
  font-size:.68rem; font-weight:800; letter-spacing:.03em; text-transform:uppercase;
  padding:5px 10px; border-radius:var(--r-pill); box-shadow:var(--shadow); }
.badge.multi{ background:var(--brand); }
.card .body{ padding:14px 15px 16px; display:flex; flex-direction:column; gap:6px; flex:1; }
.card .cat{ font-size:.72rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color:var(--ink-faint); }
.card .ttl{ font-weight:600; font-size:.95rem; line-height:1.35; color:var(--ink);
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:2.5em; }
.card .price{ margin-top:auto; display:flex; align-items:baseline; gap:7px; padding-top:8px; }
.card .price .from{ font-size:.74rem; color:var(--ink-soft); font-weight:600; }
.card .price .from.viewnow{ font-size:.9rem; color:var(--ink); }
.card .price b{ font-size:1.28rem; color:var(--deal); font-weight:800; }
.card .sellers{ font-size:.78rem; color:var(--ink-soft); font-weight:600; display:flex; align-items:center; gap:6px; }
.card .sellers .dot{ width:6px; height:6px; border-radius:50%; background:var(--ok); }
.card .sellers .dot.muted{ background:var(--ink-faint); }
.card .viewbtn{ margin-top:12px; text-align:center; background:var(--brand-tint); color:var(--brand-ink);
  font-weight:700; font-size:.85rem; padding:10px; border-radius:var(--r-md); }
.card:hover .viewbtn{ background:var(--brand); color:#fff; }
@media (prefers-color-scheme: dark){ .card .viewbtn{ color:var(--brand-strong); } .card:hover .viewbtn{ color:#062a27; } }

/* ---------- Trust strip ---------- */
.strip-sec{ padding:0; }
.strip{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; padding:36px 24px;
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r-xl); box-shadow:var(--shadow); }
.strip .item{ display:flex; gap:14px; align-items:flex-start; }
.strip .item .ic{ flex:0 0 auto; width:46px; height:46px; border-radius:14px; background:var(--brand-tint);
  color:var(--brand); display:grid; place-items:center; font-size:1.35rem; }
.strip .item h4{ font-size:1rem; margin-bottom:3px; font-family:var(--font-sans); }
.strip .item p{ margin:0; font-size:.87rem; color:var(--ink-soft); }

/* ---------- Category showcase ---------- */
.cat-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.cat-tile{ position:relative; border-radius:var(--r-lg); overflow:hidden; aspect-ratio:5/3;
  display:flex; align-items:flex-end; padding:16px; color:#fff; box-shadow:var(--shadow);
  background:linear-gradient(160deg, var(--brand), var(--brand-strong)); transition:transform .15s; }
.cat-tile:hover{ transform:translateY(-4px); }
.cat-tile:nth-child(4n+2){ background:linear-gradient(160deg,#3F7C6F,#1F5148); }
.cat-tile:nth-child(4n+3){ background:linear-gradient(160deg,#C86A3E,#9C4A28); }
.cat-tile:nth-child(4n+4){ background:linear-gradient(160deg,#4E7EA0,#2C5670); }
.cat-tile .nm{ font-family:var(--font-display); font-weight:800; font-size:1.05rem; }
.cat-tile .ct{ font-size:.78rem; opacity:.9; font-weight:600; }

/* ---------- Breadcrumbs ---------- */
.crumbs{ font-size:.83rem; color:var(--ink-soft); display:flex; gap:8px; flex-wrap:wrap; padding:18px 24px 0; max-width:var(--maxw); margin:0 auto; }
.crumbs a:hover{ color:var(--brand); }
.crumbs .sep{ color:var(--ink-faint); }
.crumbs.on-hero{ padding:0; margin:0; color:rgba(255,255,255,.8); }
.crumbs.on-hero a{ color:rgba(255,255,255,.8); }
.crumbs.on-hero a:hover{ color:#fff; }
.crumbs.on-hero .sep{ color:rgba(255,255,255,.5); }

/* ---------- Catalog layout ---------- */
.catwrap{ padding-top:22px; }
.catalog{ display:grid; grid-template-columns:262px 1fr; gap:32px; align-items:start; }
.filters{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg);
  padding:6px 18px 18px; position:sticky; top:calc(var(--nav-h) + 8px); }
.filters .fgroup{ border-bottom:1px solid var(--line); padding:16px 0; }
.filters .fgroup:last-child{ border-bottom:0; }
.filters h4{ font-family:var(--font-sans); font-weight:800; font-size:.8rem; letter-spacing:.06em;
  text-transform:uppercase; color:var(--ink-soft); margin-bottom:12px; }
.cfilter{ width:100%; padding:9px 12px; border:1.5px solid var(--line); border-radius:var(--r-md);
  background:var(--surface-2); color:var(--ink); font-size:.88rem; margin-bottom:10px; }
.cfilter:focus{ outline:none; border-color:var(--brand); }
.catlist{ display:flex; flex-direction:column; max-height:340px; overflow-y:auto; }
.catlist a{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:7px 10px;
  border-radius:var(--r-sm); font-size:.9rem; color:var(--ink); }
.catlist a:hover{ background:var(--surface-2); }
.catlist a.on{ background:var(--brand-tint); color:var(--brand-ink); font-weight:700; }
.catlist a .n{ color:var(--ink-faint); font-size:.8rem; font-weight:600; }
.chips{ display:flex; flex-wrap:wrap; gap:8px; }
.chip{ display:inline-flex; align-items:center; gap:6px; background:var(--surface-2); color:var(--ink);
  border:1px solid var(--line); border-radius:var(--r-pill); padding:7px 13px; font-size:.82rem; font-weight:600; }
.chip:hover{ border-color:var(--brand); }
.chip.on{ background:var(--brand); color:#fff; border-color:var(--brand); }
.list-top{ display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:18px; flex-wrap:wrap; }
.list-top .count{ font-size:.9rem; color:var(--ink-soft); }
.list-top .count b{ color:var(--ink); }
.sortsel{ display:flex; align-items:center; gap:10px; }
.sortsel span{ font-size:.82rem; color:var(--ink-soft); font-weight:600; }
select.sort{ appearance:none; border:1.5px solid var(--line); background:var(--surface); color:var(--ink);
  font-weight:600; font-size:.86rem; padding:9px 34px 9px 14px; border-radius:var(--r-md); cursor:pointer;
  background-image:linear-gradient(45deg,transparent 50%,var(--ink-soft) 50%),linear-gradient(135deg,var(--ink-soft) 50%,transparent 50%);
  background-position:calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size:5px 5px; background-repeat:no-repeat; }
.subpills{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:18px; }
.subpills a{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-pill);
  padding:7px 14px; font-size:.85rem; font-weight:600; color:var(--ink); }
.subpills a:hover{ border-color:var(--brand); color:var(--brand); }
.empty{ background:var(--surface); border:1px dashed var(--line); border-radius:var(--r-lg);
  padding:40px; text-align:center; color:var(--ink-soft); }
.empty a{ color:var(--brand); font-weight:700; }
.pager{ display:flex; justify-content:center; align-items:center; gap:8px; margin-top:36px; }
.pager a, .pager span{ min-width:44px; height:44px; padding:0 16px; display:grid; place-items:center;
  border:1px solid var(--line); border-radius:var(--r-md); font-weight:700; font-size:.88rem; color:var(--ink); background:var(--surface); }
.pager a:hover{ border-color:var(--brand); color:var(--brand); }
.pager .on{ background:var(--brand); color:#fff; border-color:var(--brand); }
.pager .disabled{ opacity:.4; }

/* ---------- Category hero ---------- */
.cat-hero{ background:linear-gradient(150deg,var(--brand),var(--brand-strong)); color:#fff; position:relative; overflow:hidden; }
.cat-hero::after{ content:"🐾"; position:absolute; right:-6px; bottom:-34px; font-size:12rem; opacity:.08; }
.cat-hero .wrap{ padding:36px 24px; position:relative; }
.cat-hero h1{ font-size:2.3rem; margin:10px 0 8px; }
.cat-hero p{ margin:0; max-width:62ch; color:rgba(255,255,255,.88); }

/* ---------- Product detail ---------- */
.pdp{ display:grid; grid-template-columns:1fr 1fr; gap:44px; padding-top:22px; align-items:start; }
.gallery .main{ aspect-ratio:1/1; border-radius:var(--r-lg); background-size:cover; background-position:center;
  display:grid; place-items:center; font-size:6rem; border:1px solid var(--line); background-color:var(--surface-2); }
.gallery .noimg{ opacity:.6; }
.thumbs{ display:flex; gap:10px; margin-top:12px; flex-wrap:wrap; }
.thumbs .t{ width:70px; height:70px; border-radius:var(--r-md); background-size:cover; background-position:center;
  border:2px solid var(--line); background-color:var(--surface-2); cursor:pointer; }
.thumbs .t[aria-current="true"], .thumbs .t.pd-thumb--active{ border-color:var(--brand); }
.summary .cat{ color:var(--brand); font-weight:700; font-size:.82rem; text-transform:uppercase; letter-spacing:.05em; }
.summary h1{ font-size:1.85rem; margin:8px 0 10px; }
.summary .blurb{ color:var(--ink-soft); margin:0 0 18px; max-width:60ch; }

.compare{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg);
  box-shadow:var(--shadow); overflow:hidden; margin-top:8px; }
.compare .top{ background:var(--deal-tint); padding:16px 18px; display:flex; align-items:baseline;
  justify-content:space-between; gap:12px; border-bottom:1px solid var(--line); }
.compare .top .lab{ font-weight:700; font-size:.78rem; text-transform:uppercase; letter-spacing:.05em; color:var(--deal-strong); }
.compare .top .big{ font-family:var(--font-display); font-weight:800; font-size:1.9rem; color:var(--deal); }
.offer{ display:grid; grid-template-columns:1fr auto auto; align-items:center; gap:14px; padding:14px 18px; border-bottom:1px solid var(--line); }
.offer:last-child{ border-bottom:0; }
.offer .seller{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.offer .seller .nm{ font-weight:700; font-size:.95rem; display:flex; align-items:center; gap:8px; color:var(--ink); }
.offer .seller .meta{ font-size:.78rem; color:var(--ink-soft); }
.offer .seller .best{ background:var(--ok); color:#fff; font-size:.62rem; font-weight:800; padding:3px 7px;
  border-radius:var(--r-pill); text-transform:uppercase; letter-spacing:.04em; }
.offer .seller .toprated{ background:var(--brand-tint); color:var(--brand-ink); font-size:.62rem; font-weight:800;
  padding:3px 7px; border-radius:var(--r-pill); text-transform:uppercase; letter-spacing:.04em; }
.offer .op{ font-weight:800; font-size:1.15rem; text-align:right; color:var(--ink); }
.offer .obtn{ background:var(--brand); color:#fff; font-weight:700; font-size:.83rem; padding:9px 16px;
  border-radius:var(--r-md); white-space:nowrap; }
.offer.lead .obtn{ background:var(--deal); }
.offer .obtn:hover{ filter:brightness(.94); }
.offer.more{ justify-content:center; }
.offer.more a{ color:var(--brand); font-weight:700; font-size:.85rem; }
.compare .cnote{ padding:11px 18px; font-size:.78rem; color:var(--ink-faint); background:var(--surface-2);
  display:flex; align-items:center; gap:7px; }
.compare .cnote.nolive{ padding:14px 18px; }
.disc{ font-size:.8rem; color:var(--ink-soft); margin-top:14px; padding:12px 14px;
  background:var(--surface-2); border-radius:var(--r-md); border-left:3px solid var(--warn); }

/* variation selector (shared partial) */
.variations{ margin-top:18px; border:1px solid var(--line); border-radius:var(--r-lg); padding:16px 18px; background:var(--surface); }
.varlab{ font-weight:800; font-size:.8rem; text-transform:uppercase; letter-spacing:.05em; color:var(--ink-soft); margin-bottom:10px; }
.varrow{ display:flex; align-items:center; gap:12px; margin-bottom:10px; }
.varname{ min-width:70px; font-weight:700; font-size:.85rem; }
.varsel{ flex:1; padding:9px 12px; border:1.5px solid var(--line); border-radius:var(--r-md);
  background:var(--surface-2); color:var(--ink); font-size:.9rem; }
.varfoot{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:6px; }
.varprice{ font-weight:800; font-size:1.15rem; color:var(--deal); }
.varunavail{ color:var(--crit); font-size:.85rem; }

/* lower: description + specs */
.lower-sec{ padding-top:40px; }
.lower .desc h3{ font-family:var(--font-sans); font-size:1.05rem; margin-bottom:12px; }
.lower .desc p{ color:var(--ink-soft); max-width:72ch; }
.specs{ margin-top:22px; }
.spectbl{ width:100%; border-collapse:collapse; font-size:.9rem; max-width:640px; }
.spectbl td{ padding:9px 0; border-bottom:1px solid var(--line); }
.spectbl td:first-child{ color:var(--ink-soft); width:40%; }
.spectbl td:last-child{ font-weight:600; }

/* generic prose for CMS / legal pages rendered inside the pet chrome */
main .prose, .cms-content{ max-width:760px; margin:0 auto; }
main .prose h2{ font-size:1.3rem; margin:28px 0 10px; }
main .prose p{ color:var(--ink-soft); margin:0 0 16px; }

/* ---------- Shared static/CMS page chrome (contact, privacy, terms, about, faq, CMS pages) ----------
   These views use x-layouts.app (→ x-layouts.pet) with the default page markup, so give their
   classes a pet-theme treatment here. */
.page-body{ max-width:var(--maxw); margin:0 auto; padding:0 24px 64px; }
.pd-hero{ padding:34px 0 0; }
.pd-hero__breadcrumb, .breadcrumb{ display:flex; align-items:center; gap:8px; font-size:.83rem; color:var(--ink-soft); margin-bottom:16px; flex-wrap:wrap; }
.breadcrumb a:hover, .pd-hero__breadcrumb a:hover{ color:var(--brand); }
.breadcrumb__sep{ color:var(--ink-faint); }
.pd-hero__title{ font-family:var(--font-display); font-weight:800; letter-spacing:-.02em;
  font-size:clamp(1.9rem,3.5vw,2.4rem); color:var(--ink); }
.page-body h2, .page-body h3{ font-family:var(--font-display); margin:28px 0 10px; }
.page-body h2{ font-size:1.35rem; }
.page-body p, .page-body li{ color:var(--ink-soft); }
.page-body a:not(.btn){ color:var(--brand); }
.page-body a:not(.btn):hover{ text-decoration:underline; }
.page-body input:focus, .page-body textarea:focus{ outline:none; border-color:var(--brand); }

/* ---------- Footer ---------- */
.foot{ background:var(--brand-ink); color:#CFE6E1; margin-top:20px; }
.foot .wrap{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:32px; padding:52px 24px 30px; }
.foot h5{ font-family:var(--font-sans); font-size:.78rem; letter-spacing:.1em; text-transform:uppercase; color:rgba(255,255,255,.55); margin:0 0 14px; }
.foot .brand{ font-family:var(--font-display); font-weight:800; font-size:1.3rem; color:#fff; display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.foot .brand .mark{ width:34px; height:34px; border-radius:11px; background:var(--brand); display:grid; place-items:center; }
.foot-brand p{ font-size:.88rem; color:rgba(255,255,255,.68); max-width:34ch; margin:0; }
.foot ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:9px; }
.foot a{ font-size:.88rem; color:rgba(255,255,255,.78); }
.foot a:hover{ color:#fff; }
.foot-bar{ border-top:1px solid rgba(255,255,255,.12); }
.foot-bar .wrap{ display:flex; justify-content:space-between; padding:16px 24px; font-size:.8rem; color:rgba(255,255,255,.5); flex-wrap:wrap; gap:8px; }

/* ---------- Scroll reveal ---------- */
.reveal{ opacity:0; transform:translateY(14px); transition:opacity .5s ease, transform .5s ease; }
.reveal.in{ opacity:1; transform:none; }

/* ---------- Responsive ---------- */
@media (max-width:960px){
  .hero .wrap{ grid-template-columns:1fr; } .pdp{ grid-template-columns:1fr; }
  .catalog{ grid-template-columns:1fr; } .filters{ position:static; }
  .pill-grid,.goal-grid{ grid-template-columns:repeat(3,1fr); }
  .grid,.grid.cat3,.cat-grid{ grid-template-columns:repeat(2,1fr); }
  .strip{ grid-template-columns:1fr; } .foot .wrap{ grid-template-columns:1fr 1fr; }
  .head-util .util-link span{ display:none; }
}
@media (max-width:560px){
  .pill-grid,.goal-grid,.grid,.grid.cat3,.cat-grid{ grid-template-columns:1fr 1fr; }
  .head-top .search{ display:none; } .foot .wrap{ grid-template-columns:1fr; }
  .offer{ grid-template-columns:1fr auto; } .offer .obtn{ grid-column:1 / -1; text-align:center; justify-content:center; }
}
@media (prefers-reduced-motion:reduce){ *{ animation:none!important; transition:none!important; } html{ scroll-behavior:auto; } .reveal{ opacity:1; transform:none; } }
