/* Paw Ever More: daily care in the water bowl.
   Palette (re-dealt): pale bowl-water blue, deep teal, near-black ink, white. Type: Bricolage Grotesque + Figtree. */
:root {
  --bg: #f6f9fb; --water: #c3d7e5; --water-soft: #e4eef5; --ink: #141414; --muted: #4a5068;
  --teal: #0f5257; --teal-dark: #0b3d41; --white: #ffffff; --line: rgba(20, 20, 20, .12);
  --r: 20px; --r-sm: 12px; --wrap: 1200px; --gut: clamp(20px, 5vw, 64px);
  --f-display: "Bricolage Grotesque", system-ui, sans-serif; --f-text: "Figtree", system-ui, sans-serif;
}
* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--f-text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 500; letter-spacing: -0.025em; line-height: 1.05; margin: 0; text-wrap: balance; font-stretch: 96%; }
h1 { font-size: clamp(40px, 5.6vw, 72px); }
h2 { font-size: clamp(30px, 3.8vw, 48px); }
h3 { font-size: 22px; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 36em; }
.eyebrow { font-weight: 600; font-size: 14px; color: var(--teal); }
.muted { color: var(--muted); }
.small { font-size: 14px; color: var(--muted); }
.head { display: grid; gap: 16px; max-width: 720px; margin-bottom: 48px; }
.center { text-align: center; margin-inline: auto; justify-items: center; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px;
  font: 600 16px var(--f-text); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--teal); color: var(--white); box-shadow: 0 10px 24px -12px rgba(15, 82, 87, .7); }
.btn--primary:hover { background: var(--teal-dark); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--light { background: var(--white); color: var(--teal); }
.btn--block { width: 100%; }
.btn svg { width: 16px; height: 16px; transition: transform .15s; }
.btn:hover svg { transform: translateX(3px); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* bar + header */
.bar { background: var(--teal); color: var(--white); text-align: center; font-size: 14px; font-weight: 500; padding: 9px 16px; }
.header { position: sticky; top: 0; z-index: 30; background: rgba(246, 249, 251, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 32px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 600 22px var(--f-display); letter-spacing: -0.02em; text-decoration: none; }
.logo svg { width: 30px; height: 30px; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .2s; padding: 4px 0; }
.nav a:hover, .nav a[aria-current] { background-size: 100% 2px; }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--ink); background: none; font: 600 15px var(--f-text); color: var(--ink); cursor: pointer; }
.cart-btn b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 99px; background: var(--teal); color: var(--white); font-size: 12px; }
.menu-btn { display: none; }

/* hero */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 96px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy { display: grid; gap: 24px; }
.hero__note { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.hero__note svg { width: 18px; height: 18px; color: var(--teal); flex: none; }
.hero__art { position: relative; }
.hero__photo { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--water); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.float { position: absolute; left: -32px; bottom: 32px; background: var(--white); border-radius: 18px; padding: 16px 18px; display: flex; align-items: center; gap: 14px;
  box-shadow: 0 24px 48px -24px rgba(20, 20, 20, .35); max-width: 300px; text-decoration: none; }
.float img { width: 88px; height: 56px; object-fit: contain; }
.float b { display: block; font-size: 15px; }
.float span { font-size: 14px; color: var(--muted); }

/* product cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--r); overflow: hidden; text-decoration: none; border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(20, 20, 20, .4); }
.card__img { aspect-ratio: 1; background: var(--water-soft); overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: contain; padding: 28px; transition: transform .5s; }
.card__img img.cover { object-fit: cover; padding: 0; }
.card:hover .card__img img { transform: scale(1.04); }
.card__body { display: grid; gap: 8px; padding: 24px; flex: 1; align-content: start; }
.card__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.card__price b { font-size: 20px; }
.card__cta { margin-top: auto; padding: 0 24px 24px; }
.tag { position: absolute; top: 16px; left: 16px; background: var(--teal); color: var(--white); font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 99px; z-index: 1; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--flip > :first-child { order: 2; }
.photo { border-radius: var(--r); overflow: hidden; background: var(--water); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.ratio-45 { aspect-ratio: 4 / 5; } .ratio-11 { aspect-ratio: 1; } .ratio-43 { aspect-ratio: 4 / 3; } .ratio-32 { aspect-ratio: 3 / 2; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.step { background: var(--white); border-radius: var(--r); padding: 32px; border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.step__n { width: 48px; height: 48px; border-radius: 50%; background: var(--water); display: grid; place-items: center; font: 600 20px var(--f-display); color: var(--teal); }
.band { background: var(--teal); color: var(--white); }
.band .lead, .band .muted, .band .small { color: rgba(255, 255, 255, .82); }
.band .eyebrow { color: var(--water); }
.tint { background: var(--water-soft); }

/* checks */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.checks svg { width: 26px; height: 26px; color: var(--teal); }
.band .checks svg { color: var(--water); }

/* buy box */
.pdp { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.gallery { display: grid; gap: 12px; position: sticky; top: 96px; }
.gallery__main { aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--water-soft); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__main img.contain { object-fit: contain; padding: 32px; }
.thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.thumbs button { aspect-ratio: 1; padding: 0; border: 2px solid transparent; border-radius: var(--r-sm); overflow: hidden; background: var(--water-soft); cursor: pointer; }
.thumbs button[aria-pressed="true"] { border-color: var(--teal); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buybox { display: grid; gap: 20px; }
.buybox h1 { font-size: clamp(34px, 3.6vw, 48px); }
.plans { display: grid; gap: 12px; border: 0; padding: 0; margin: 0; }
.plan { position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: center; padding: 18px 20px; border-radius: 16px; background: var(--white);
  border: 2px solid var(--line); cursor: pointer; transition: border-color .15s; }
.plan:has(input:checked) { border-color: var(--teal); background: #f2f8f8; }
.plan input { width: 20px; height: 20px; accent-color: var(--teal); margin: 0; }
.plan b { display: block; font-size: 16px; }
.plan small { color: var(--muted); font-size: 14px; }
.plan .price { text-align: right; font-weight: 700; font-size: 18px; white-space: nowrap; }
.plan .price s { display: block; font-weight: 500; font-size: 14px; color: var(--muted); }
.save { display: inline-block; margin-left: 8px; background: var(--teal); color: var(--white); font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px; vertical-align: 2px; }
.buyrow { display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; background: var(--white); }
.qty button { width: 46px; height: 48px; border: 0; background: none; font: 600 20px var(--f-text); cursor: pointer; color: var(--ink); border-radius: 99px; }
.qty output { min-width: 24px; text-align: center; font-weight: 700; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--muted); }
.meta span::before { content: "\2022"; margin-right: 8px; color: var(--teal); }
.meta span:first-child::before { content: none; margin: 0; }
.fine { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }

/* info blocks */
.info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.info > div { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; display: grid; gap: 14px; align-content: start; }
.info ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; }

/* plan picker (home B) */
.picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; border: 0; padding: 0; margin: 0 0 24px; }
.pick { position: relative; display: grid; gap: 10px; padding: 28px 24px; border-radius: var(--r); background: var(--white); border: 2px solid var(--line); cursor: pointer; transition: border-color .15s, transform .15s; }
.pick:hover { transform: translateY(-2px); }
.pick:has(input:checked) { border-color: var(--teal); background: #f2f8f8; }
.pick input { position: absolute; opacity: 0; }
.pick img { height: 120px; width: 100%; object-fit: contain; }
.pick .price { font: 600 26px var(--f-display); }
.pick .price small { font: 500 15px var(--f-text); color: var(--muted); }
.pick:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 3px; }

/* two shops (home C) */
.choose { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.choose a { display: grid; grid-template-columns: 1fr 120px; align-items: center; gap: 16px; padding: 28px; border-radius: var(--r); text-decoration: none; transition: transform .15s; }
.choose a:hover { transform: translateY(-3px); }
.choose a:nth-child(1) { background: var(--water); }
.choose a:nth-child(2) { background: #f3e3cf; }
.choose b { font: 600 26px var(--f-display); letter-spacing: -0.02em; display: block; }
.choose span { color: var(--muted); }
.choose img { height: 110px; width: 100%; object-fit: contain; }
.shop { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.shop__box { display: grid; gap: 20px; }
.shop--gut { background: #fbf4ec; }
.shop--gut .plan:has(input:checked) { background: #fff8f0; }

/* faq */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 4px 24px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-weight: 600; font-size: 18px; min-height: 64px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 28px var(--f-text); color: var(--teal); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--muted); }

/* final cta */
.final { border-radius: 32px; background: var(--teal); color: var(--white); padding: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; overflow: hidden; }
.final .lead { color: rgba(255, 255, 255, .82); }
.final img { width: 100%; max-height: 260px; object-fit: contain; }

/* footer */
.footer { background: var(--ink); color: #dfe8ee; padding-block: 72px 32px; margin-top: clamp(64px, 9vw, 120px); }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer h4 { margin: 0 0 14px; font-size: 14px; color: var(--water); font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; color: #dfe8ee; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer .logo { color: var(--white); }
.footer__legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 48px; padding-top: 24px; font-size: 14px; color: #9aa8b2; }

/* cart drawer */
.scrim { position: fixed; inset: 0; background: rgba(10, 20, 25, .45); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 50; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--white); z-index: 60; transform: translateX(100%); transition: transform .3s cubic-bezier(.22, 1, .36, 1);
  display: flex; flex-direction: column; }
body.cart-open .scrim { opacity: 1; pointer-events: auto; }
body.cart-open .drawer { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 26px; }
.icon-btn { width: 44px; height: 44px; border: 0; background: none; font-size: 28px; cursor: pointer; color: var(--ink); border-radius: 50%; }
.drawer__items { flex: 1; overflow: auto; padding: 16px 24px; display: grid; gap: 16px; align-content: start; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; }
.line img { width: 72px; height: 72px; object-fit: contain; background: var(--water-soft); border-radius: 12px; padding: 6px; }
.line small { display: block; color: var(--muted); }
.line .rm { border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; padding: 0; font: 500 13px var(--f-text); min-height: 32px; }
.drawer__foot { border-top: 1px solid var(--line); padding: 20px 24px; display: grid; gap: 12px; }
.total { display: flex; justify-content: space-between; font-weight: 700; font-size: 18px; }
.empty { color: var(--muted); padding: 24px 0; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 160%); background: var(--ink); color: var(--white); padding: 14px 22px; border-radius: 99px; font-weight: 600; z-index: 70; transition: transform .3s; }
.toast:empty, .toast:not(.show) { visibility: hidden; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }

/* preview switcher (remove before launch) */
.preview { position: fixed; left: 16px; bottom: 16px; z-index: 40; display: flex; align-items: center; gap: 6px; background: var(--ink); color: var(--white); padding: 6px 6px 6px 14px; border-radius: 99px; font-size: 13px; font-weight: 600; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .5); }
.preview a { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; text-decoration: none; color: var(--white); }
.preview a[aria-current] { background: var(--water); color: var(--ink); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

@media (max-width: 960px) {
  .hero__grid, .split, .pdp, .shop, .final { grid-template-columns: 1fr; }
  .split--flip > :first-child { order: 0; }
  .cards, .steps, .info, .picker { grid-template-columns: 1fr 1fr; }
  .cards > :last-child:nth-child(odd), .steps > :last-child:nth-child(odd), .info > :last-child:nth-child(odd), .picker > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .gallery { position: static; }
  .float { left: 16px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .nav.open { display: grid; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); padding: 16px var(--gut) 24px; gap: 4px; border-bottom: 1px solid var(--line); }
  .nav.open a { padding: 12px 0; font-size: 18px; }
  .menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; margin-left: auto; color: var(--ink); }
  .header__in { gap: 12px; }
  .hero__photo { aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .cards, .steps, .info, .picker, .choose { grid-template-columns: 1fr; }
  .choose a { grid-template-columns: 1fr 90px; padding: 22px; }
  .choose img { height: 80px; }
  .btns .btn { width: 100%; }
  .float { position: static; margin-top: -40px; margin-inline: 16px; max-width: none; position: relative; }
  .footer__grid { grid-template-columns: 1fr; }
  .plan { grid-template-columns: 22px 1fr; }
  .plan .price { grid-column: 2; text-align: left; }
  .plan .price s { display: inline; margin-left: 8px; }
  .step, .info > div { padding: 24px; }
  .preview { left: 50%; transform: translateX(-50%); bottom: 12px; }
}

/* bundle tiers */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; border: 0; padding: 0; margin: 0; }
.tiers legend { grid-column: 1 / -1; }
.tier { position: relative; display: grid; gap: 4px; justify-items: center; text-align: center; padding: 20px 10px 16px; border-radius: 16px; background: var(--white);
  border: 2px solid var(--line); cursor: pointer; transition: border-color .15s, transform .15s; }
.tier:hover { transform: translateY(-2px); }
.tier:has(input:checked) { border-color: var(--teal); background: #f2f8f8; }
.tier:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 3px; }
.tier input { position: absolute; opacity: 0; }
.tier b { font-size: 16px; }
.tier__price { font-weight: 700; font-size: 18px; }
.tier__price s { display: block; font-weight: 500; font-size: 13px; color: var(--muted); }
.tier small { font-size: 13px; color: var(--teal); font-weight: 600; }
.tier__tag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--ink); color: var(--white); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
@media (max-width: 420px) { .tier { padding: 18px 6px 12px; } .tier b { font-size: 14px; } .tier__price { font-size: 16px; } }

/* Not sold by the shop right now (site.js reads it live): greyed out, not clickable, turns on by itself. */
.is-soon { opacity: .5; filter: grayscale(1); }
a.is-soon, .plan.is-soon, .tier.is-soon { cursor: not-allowed; }
a.card.is-soon:hover { transform: none; box-shadow: none; }
.plan.is-soon input, .tier.is-soon input { pointer-events: none; }
.btn:disabled { opacity: .5; cursor: not-allowed; filter: grayscale(1); }
.card .soon-tag { z-index: 2; }
.float .soon-tag { display: none; }
[hidden] { display: none !important; }

/* Legal pages (the shop's own policies, Paw Ever More's name). */
.legal { max-width: 46rem; display: block; }
.legal h1 { margin-bottom: 24px; }
.legal h2 { font-size: 22px; margin: 36px 0 12px; }
.legal h3 { font-size: 18px; margin: 24px 0 8px; }
.legal p, .legal li { line-height: 1.65; margin: 0 0 12px; }
.legal ul, .legal ol { padding-left: 1.4em; margin: 0 0 16px; }
.legal a { color: var(--teal); text-underline-offset: .2em; }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 14px; display: block; overflow-x: auto; }
.legal th, .legal td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
