/* LeashWell storefront: tokens + shared components. Page agents: reuse these classes (see DESIGN.md). */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/plus-jakarta-sans-latin.woff2) format("woff2"); }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/caveat-700-latin.woff2) format("woff2"); }

:root {
  --navy: #0B2447; --navy-deep: #08203D; --navy-soft: #123463;
  --blue: #1569E6; --blue-bright: #1377FA; --blue-soft: #E3EDFD;
  --orange: #FD8204; --orange-dark: #E87200; --star: #FB8C0A; --star-off: #D3DBE8;
  --page: #F8FAFE; --tint: #E9EFFC; --card: #EEF3FB; --white: #fff;
  --text: #16284C; --muted: #5B6B88; --line: #D9E2F0; --line-soft: #E6ECF6;
  --green: #1E9E4A; --green-soft: #E3F5E9; --red: #D0342C; --red-soft: #FCE9E7;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --script: "Caveat", "Segoe Script", cursive;
  --container: 92.875rem; --gutter: clamp(16px, 2.6vw, 2.5rem); --inset: clamp(0px, 2.3vw, 2.5rem);
  --r-sm: .25rem; --r: .375rem; --r-card: .5rem;
  --shadow: 0 .5rem 1.75rem rgba(11, 36, 71, .14); --shadow-sm: 0 1px .1875rem rgba(11, 36, 71, .08);
  --header-h: 4rem;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* fluid scale: every rem size shrinks to 87.5% at 1024px wide and reaches full size from about 1320px (the mock-ups are drawn that way) */
@media (min-width: 901px) { html { font-size: clamp(14px, calc(.686vw + 6.97px), 16px); } }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.5; color: var(--text); background: var(--page); -webkit-font-smoothing: antialiased; overflow-x: hidden; word-spacing: .06em; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: .1875rem solid rgba(21, 105, 230, .55); outline-offset: 2px; border-radius: .1875rem; }
body.no-scroll { overflow: hidden; }
/* short pages: the footer sits at the bottom of the window (main takes the spare height) */
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
body > main { flex: 1 0 auto; }

/* ---------- typography ---------- */
h1, h2, h3, h4 { color: var(--navy); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
h1, .h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h2, .h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3, .h3 { font-size: 1.25rem; }
h4, .h4 { font-size: 1rem; font-weight: 700; }
.lead { font-size: 1.125rem; color: var(--text); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.text-blue { color: var(--blue); } .text-navy { color: var(--navy); } .text-green { color: var(--green); } .text-red { color: var(--red); } .text-orange { color: var(--orange); }
.prose > * + * { margin-top: 1em; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: calc(51.25rem + 2 * var(--gutter)); }
.section { padding-block: 2.5rem; }
.section-sm { padding-block: 1.5rem; }
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.product-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* listing layout: sidebar + content (shop / dogs / cats) */
.with-sidebar { display: grid; grid-template-columns: clamp(11rem, calc(7.41vw + 120px), 15.25rem) minmax(0, 1fr); gap: clamp(1.25rem, calc(4.475vw - 21.8px), 3.3rem); align-items: start; }
.row { display: flex; align-items: center; gap: .75rem; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.row-wrap { flex-wrap: wrap; }
.stack > * + * { margin-top: 1rem; }
.stack-sm > * + * { margin-top: .5rem; }
.stack-lg > * + * { margin-top: 1.75rem; }
.center { text-align: center; } .right { text-align: right; }
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.5rem; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2.5rem; }
.w-full { width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: .75rem; top: -60px; z-index: 300; background: var(--white); color: var(--navy); font-weight: 700; padding: .625rem 1rem; border-radius: var(--r); box-shadow: var(--shadow); }
.skip-link:focus { top: .75rem; }
.hide-desktop { display: none !important; }

/* ---------- icons ---------- */
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-sm { width: 1rem; height: 1rem; } .ic-md { width: 1.5rem; height: 1.5rem; } .ic-lg { width: 2rem; height: 2rem; } .ic-xl { width: 2.75rem; height: 2.75rem; stroke-width: 1.6; } .ic-2xl { width: 4rem; height: 4rem; stroke-width: 1.4; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .625rem; min-height: 2.75rem; padding: .625rem 1.5rem; border: 1.5px solid transparent; border-radius: var(--r-sm); font-weight: 700; font-size: 1rem; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .05s; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn .ic { width: 1.125rem; height: 1.125rem; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 2px .375rem rgba(253, 130, 4, .3); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-soft); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #0f58c8; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--blue-soft); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy); }
.btn-ghost { background: transparent; color: var(--navy); padding-inline: .75rem; }
.btn-ghost:hover { background: var(--tint); }
.btn-danger { background: #fff; color: var(--red); border-color: #f0c4c0; }
.btn-danger:hover { background: var(--red-soft); }
.btn-sm { min-height: 2.125rem; padding: .375rem .875rem; font-size: .875rem; }
.btn-lg { min-height: 3.25rem; padding: .875rem 1.875rem; font-size: 1.0625rem; }
.btn-block { display: flex; width: 100%; }
.btn[disabled], .btn.is-disabled { background: #C9D2E0; border-color: transparent; color: #fff; box-shadow: none; cursor: not-allowed; }
.btn.is-loading { opacity: .7; pointer-events: none; }
.btn-icon { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; color: var(--navy); }
.btn-icon:hover { background: var(--tint); }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--navy); }
.link-arrow .ic { width: 1rem; height: 1rem; transition: transform .15s; }
.link-arrow:hover .ic { transform: translateX(.1875rem); }
.link-underline { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: .1875rem; }

/* ---------- forms ---------- */
.field { display: block; }
.field + .field { margin-top: 1rem; }
.field > label, .label { display: block; font-weight: 700; font-size: .875rem; color: var(--navy); margin-bottom: .375rem; }
.input, .select, .textarea { display: block; width: 100%; min-height: 2.75rem; padding: .625rem .875rem; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-sm); color: var(--text); font-size: .9375rem; line-height: 1.4; transition: border-color .15s, box-shadow .15s; }
.input::placeholder, .textarea::placeholder { color: #8A97AE; }
.input:hover, .select:hover, .textarea:hover { border-color: #B9C6DC; }
.input:focus, .select:focus, .textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 .1875rem rgba(21, 105, 230, .18); }
.textarea { min-height: 7.5rem; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2447' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .75rem center; background-size: 1rem; cursor: pointer; }
.select-sm { min-height: 2.25rem; padding-block: .375rem; font-size: .875rem; }
.field > label.check { display: inline-flex; margin-bottom: 0; font-weight: 500; font-size: .9375rem; color: var(--text); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field-row .field + .field { margin-top: 0; }
.field-help { font-size: .8125rem; color: var(--muted); margin-top: .3125rem; }
.field-error { font-size: .8125rem; color: var(--red); margin-top: .3125rem; font-weight: 600; }
.input.is-invalid, .select.is-invalid, .textarea.is-invalid { border-color: var(--red); }
.check { display: inline-flex; align-items: center; gap: .625rem; font-size: .9375rem; cursor: pointer; }
.check input { width: 1.125rem; height: 1.125rem; margin: 0; accent-color: var(--blue); flex: none; }
/* quantity stepper (cart, product page) */
.qty { display: inline-flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; height: 2.5rem; }
.qty button { width: 2.375rem; display: inline-flex; align-items: center; justify-content: center; color: var(--navy); }
.qty button:hover { background: var(--tint); }
.qty button[disabled] { color: #B9C3D4; cursor: not-allowed; background: none; }
.qty input { width: 2.75rem; border: 0; border-inline: 1.5px solid var(--line); text-align: center; font-weight: 700; color: var(--navy); background: #fff; -moz-appearance: textfield; padding: 0; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty .ic { width: 1rem; height: 1rem; }

/* ---------- chips / badges ---------- */
.badge { display: inline-flex; align-items: center; gap: .25rem; padding: .25rem .625rem; border-radius: var(--r-sm); font-size: .8125rem; font-weight: 700; line-height: 1.2; color: #fff; background: var(--navy); white-space: nowrap; }
.badge-new, .badge-blue { background: var(--blue-bright); }
.badge-best_seller, .badge-navy { background: var(--navy); }
.badge-sale, .badge-orange { background: var(--orange); }
.badge-green { background: var(--green-soft); color: var(--green); }
.badge-grey { background: var(--tint); color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: .375rem; padding: .375rem .75rem; border-radius: 62.4375rem; background: #fff; border: 1.5px solid var(--line); font-size: .875rem; font-weight: 600; color: var(--navy); }
a.chip:hover, button.chip:hover { border-color: var(--navy); text-decoration: none; }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip .ic { width: .875rem; height: .875rem; }
.stock { display: inline-flex; align-items: center; gap: .375rem; font-size: .875rem; font-weight: 600; color: var(--green); }
.stock .ic { width: 1.125rem; height: 1.125rem; }
.stock.is-out { color: var(--red); }

/* ---------- cards / boxes ---------- */
.card { background: var(--card); border-radius: var(--r-card); padding: 1.25rem; }
.card-white { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.25rem; }
.card-tint { background: var(--tint); border-radius: var(--r-card); padding: 1.25rem; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 1rem 0; }

/* sidebar box with navy title bar ("Shop by Category" / "Filter By") */
.side-box { background: #fff; border-radius: var(--r-sm); box-shadow: var(--shadow-sm); overflow: hidden; }
.side-box + .side-box { margin-top: 1rem; }
.side-box-title { background: var(--navy); color: #fff; font-size: 1.125rem; font-weight: 800; padding: .5rem .75rem; line-height: 1.3; letter-spacing: 0; }
.side-box-body { padding: .5rem 0; }
.side-list a { display: flex; align-items: center; gap: .875rem; padding: 6px .75rem; color: var(--text); font-size: clamp(13px, .9062rem, 14.5px); letter-spacing: -.01em; white-space: nowrap; line-height: 18px; font-weight: 500; }
.side-list a .ic { width: 1.625rem; height: 1.5rem; margin-block: -3px; color: var(--navy); stroke-width: 1.8; }
.side-list a .ic.chev { width: .875rem; height: .875rem; margin-left: auto; stroke-width: 2.4; }
.side-list a:hover { background: var(--card); text-decoration: none; }
.side-list a.is-active { color: var(--blue); font-weight: 700; }
.side-list a.is-active .ic { color: var(--blue); }
/* collapsible filter group inside a side box: <details class="side-group" open><summary>Price Range</summary><div class="side-group-body">…</div></details> */
.side-group { border-top: 1px solid var(--line-soft); }
.side-group:first-child { border-top: 0; }
.side-group > summary { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .3125rem .75rem; font-size: .875rem; font-weight: 700; color: var(--navy); cursor: pointer; list-style: none; }
.side-group > summary::-webkit-details-marker { display: none; }
.side-group > summary::after { content: ""; width: .875rem; height: .875rem; flex: none; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2447' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
.side-group[open] > summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2447' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.side-group-body { padding: 0 .75rem .375rem; font-size: .8125rem; }
.side-group-body .check { font-size: .8125rem; display: flex; padding: .125rem 0; gap: .5rem; }
.side-group-body .check input { width: .875rem; height: .875rem; }

/* ---------- section heading with side rules ---------- */
.section-heading { display: flex; align-items: center; gap: 1.5rem; margin-bottom: .875rem; }
.section-heading::before, .section-heading::after { content: ""; flex: 1; height: 1px; background: #C3CEE0; }
.section-heading h2, .section-heading .section-heading-text { font-size: 1.9375rem; letter-spacing: -.015em; font-weight: 800; color: var(--navy); text-align: center; line-height: 1.2; }
/* listing title + sort row */
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: .625rem; }
.page-head h1, .page-head h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; }
.page-head p { font-size: .9688rem; color: var(--text); margin-top: 2px; }
.sort { display: inline-flex; align-items: center; gap: .25rem; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding-left: .875rem; font-size: .8125rem; letter-spacing: -.01em; white-space: nowrap; }
.sort select { border: 0; background-color: transparent; min-height: 2.1875rem; font-size: .8125rem; padding: .25rem 2.5rem .25rem 0; font-weight: 700; color: var(--navy); width: auto; }
.sort select:focus { box-shadow: none; }

/* ---------- stars ---------- */
.stars { display: inline-flex; align-items: center; gap: .25rem; color: var(--star); vertical-align: middle; }
.stars .ic { width: .9375rem; height: .9375rem; stroke: none; }
.stars-lg .ic { width: 1.25rem; height: 1.25rem; }
.rating { display: inline-flex; align-items: center; gap: .5rem; }
.rating-count { font-size: .8438rem; color: var(--text); }
.rating.is-placeholder { visibility: hidden; } /* a card without reviews next to cards with stars: the row keeps its height, nothing shows */

/* ---------- swoosh + script accent ---------- */
.swoosh { display: block; width: 14.375rem; max-width: 70%; height: 1rem; color: var(--orange); }
.swoosh svg, svg.swoosh { width: 100%; height: 100%; fill: currentColor; }
.script { font-family: var(--script); font-weight: 700; font-size: clamp(2.125rem, 3.6vw, 3.375rem); line-height: 1; color: #fff; text-shadow: 0 2px .625rem rgba(11, 36, 71, .35); transform: rotate(-6deg); display: inline-block; white-space: nowrap; }
.script-navy { color: var(--navy); text-shadow: none; }

/* ---------- announcement bar + header ---------- */
.announce { background: var(--navy); color: #fff; font-size: .6875rem; font-weight: 600; letter-spacing: -.01em; word-spacing: .14em; }
.announce ul { display: flex; align-items: center; justify-content: center; min-height: 1.75rem; margin: 0; }
.announce li { display: flex; align-items: center; gap: .4375rem; padding: 0 .625rem; line-height: 1; }
.announce li + li { border-left: 1px solid rgba(255, 255, 255, .75); }
.announce .ic { width: 1.0625rem; height: 1.0625rem; }
.announce li:first-child .ic { width: 1.375rem; height: 1.1875rem; }
.announce li:nth-child(2) .ic { stroke-width: 2.4; }
.site-header { background: #fff; position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 0 var(--line-soft); }
.site-header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 1.5rem; height: var(--header-h); padding-inline: calc(var(--gutter) + var(--inset)); }
.logo { display: inline-flex; align-items: center; gap: .375rem; color: var(--navy); font-weight: 800; font-size: 2.4rem; word-spacing: 0; letter-spacing: -.025em; line-height: 1; justify-self: start; }
.logo:hover { text-decoration: none; }
.logo .ic { width: 3.6rem; height: 3.6rem; margin: -.4rem 0 -.4rem -.35rem; color: var(--navy); }
.logo b { color: var(--blue); font-weight: 800; }
.logo-light { color: #fff; } .logo-light .ic { color: #fff; } .logo-light b { color: var(--blue-bright); }
.nav { display: flex; align-items: center; gap: .375rem; height: 100%; }
.nav-item { position: relative; display: flex; align-items: center; height: 100%; }
.nav-link { display: inline-flex; align-items: center; padding: .5rem 2px .5rem .75rem; font-size: .84375rem; font-weight: 600; color: var(--navy); position: relative; }
.nav-item > .nav-link:only-child { padding-right: .75rem; }
.nav-link:hover { color: var(--blue); text-decoration: none; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 1.125rem; height: 1.875rem; margin-right: .375rem; color: var(--navy); }
.nav-toggle .ic { width: .8125rem; height: .8125rem; stroke-width: 2.6; transition: transform .15s; }
.nav-item.is-open .nav-toggle .ic { transform: rotate(180deg); }
.nav-item.is-current > .nav-link, .nav-item.is-current > .nav-toggle { color: var(--blue); }
.nav-item.is-current > .nav-link::after { content: ""; position: absolute; left: .75rem; right: 2px; bottom: 0; height: 2.5px; border-radius: 2px; background: var(--blue); }
.nav-item.is-current > .nav-link:only-child::after { right: .75rem; }
.dropdown { position: absolute; top: calc(100% - .625rem); left: 0; min-width: 15.625rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); padding: .5rem; z-index: 120; opacity: 0; visibility: hidden; transform: translateY(.375rem); transition: opacity .14s, transform .14s, visibility .14s; }
.nav-item.is-open > .dropdown, .has-menu.is-open > .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a, .dropdown button { display: flex; align-items: center; gap: .75rem; width: 100%; padding: .5rem .75rem; border-radius: var(--r-sm); color: var(--text); font-size: .9062rem; font-weight: 500; text-align: left; }
.dropdown a:hover, .dropdown a:focus-visible, .dropdown button:hover { background: var(--card); color: var(--blue); text-decoration: none; }
.dropdown a .ic { width: 1.25rem; height: 1.25rem; color: var(--navy); stroke-width: 1.8; }
.dropdown a.is-strong { font-weight: 700; color: var(--navy); }
.dropdown-sep { height: 1px; background: var(--line-soft); margin: .375rem .25rem; }
.dropdown-right { left: auto; right: 0; }
.has-menu { position: relative; }
.header-actions { display: flex; align-items: center; gap: .625rem; justify-self: end; margin-right: -.5rem; }
.header-action { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 2.625rem; height: 2.625rem; border-radius: 50%; color: var(--navy); }
.header-action:hover { background: var(--tint); text-decoration: none; }
.header-action .ic { width: 1.6875rem; height: 1.6875rem; stroke-width: 1.8; }
.cart-count { position: absolute; top: -1px; right: -3px; min-width: 1.125rem; height: 1.125rem; padding: 0 .25rem; border-radius: .5625rem; background: var(--navy); color: #fff; font-size: .6875rem; font-weight: 800; line-height: 1.125rem; text-align: center; }
.cart-count.has-items { background: var(--blue); }
.cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-btn { display: none; }

/* search panel */
.search-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line-soft); box-shadow: var(--shadow); padding: 1.125rem 0 1.25rem; z-index: 110; }
.search-form { display: flex; align-items: center; gap: .625rem; max-width: 47.5rem; margin-inline: auto; position: relative; }
.search-form .input { height: 3.125rem; padding-left: 2.875rem; font-size: 1rem; }
.search-form > .ic { position: absolute; left: .875rem; top: .875rem; width: 1.375rem; height: 1.375rem; color: var(--muted); pointer-events: none; }
.search-results { max-width: 47.5rem; margin: .625rem auto 0; }
.search-results a { display: flex; align-items: center; gap: .875rem; padding: .5rem .625rem; border-radius: var(--r); color: var(--navy); font-weight: 600; }
.search-results a:hover, .search-results a.is-active { background: var(--card); text-decoration: none; }
.search-results img { width: 3rem; height: 3rem; object-fit: contain; background: var(--card); border-radius: var(--r-sm); flex: none; }
.search-results .price { margin-left: auto; font-weight: 800; }
.search-results .search-empty, .search-results .search-all { padding: .625rem; color: var(--muted); font-size: .9062rem; }
.search-results .search-all { display: block; color: var(--blue); font-weight: 700; }

/* drawer (mobile menu, filter drawer) + backdrop */
.backdrop { position: fixed; inset: 0; background: rgba(8, 32, 61, .5); z-index: 190; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.backdrop.is-open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; bottom: 0; left: 0; width: min(21.25rem, 88vw); background: #fff; z-index: 200; transform: translateX(-102%); transition: transform .22s ease, visibility .22s; visibility: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.drawer.is-open { transform: none; visibility: visible; }
.drawer-right { left: auto; right: 0; transform: translateX(102%); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: .875rem 1rem; border-bottom: 1px solid var(--line-soft); }
.drawer-head .logo { font-size: 1.5rem; } .drawer-head .logo .ic { width: 2rem; height: 2rem; }
.drawer-title { font-size: 1.125rem; font-weight: 800; color: var(--navy); }
.drawer-body { flex: 1; overflow-y: auto; padding: .5rem 1rem 1.5rem; -webkit-overflow-scrolling: touch; }
.drawer-nav > a, .drawer-nav summary { display: flex; align-items: center; justify-content: space-between; padding: .8125rem .25rem; font-size: 1.0625rem; font-weight: 700; color: var(--navy); border-bottom: 1px solid var(--line-soft); cursor: pointer; list-style: none; }
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-cart-count { flex: none; min-width: 1.5rem; height: 1.5rem; padding: 0 .4375rem; border-radius: 999px; background: var(--navy); color: #fff; font-size: .8125rem; font-weight: 700; line-height: 1.5rem; text-align: center; }
.drawer-nav summary .ic { width: 1.125rem; height: 1.125rem; transition: transform .15s; }
.drawer-nav details[open] summary .ic { transform: rotate(180deg); }
.drawer-nav details a { display: flex; align-items: center; gap: .75rem; padding: .5625rem .5rem; color: var(--text); font-size: .9375rem; font-weight: 500; }
.drawer-nav details a .ic { width: 1.25rem; height: 1.25rem; color: var(--navy); stroke-width: 1.8; }
.drawer-nav details > div { padding: .375rem 0 .625rem; border-bottom: 1px solid var(--line-soft); }
.drawer-nav a.is-current, .drawer-nav summary.is-current { color: var(--blue); }

/* ---------- flash ---------- */
.flash-area { padding-top: .875rem; }
.flash-area:empty { display: none; }
.flash { display: flex; align-items: flex-start; gap: .625rem; padding: .75rem 1rem; border-radius: var(--r); font-weight: 600; font-size: .9375rem; border: 1px solid; }
.flash + .flash { margin-top: .5rem; }
.flash .ic { width: 1.25rem; height: 1.25rem; margin-top: 1px; }
.flash-ok { background: var(--green-soft); border-color: #BFE6CC; color: #146C33; }
.flash-error { background: var(--red-soft); border-color: #F3C6C2; color: #A3261F; }
.flash-info { background: var(--blue-soft); border-color: #C3D8FA; color: #0E4DAB; }
.flash-close { margin-left: auto; color: inherit; opacity: .7; } .flash-close:hover { opacity: 1; }

/* ---------- hero ---------- */
/* The photo is the mock-up's full band with the text removed. It is pinned to the right edge at the band's height (so the animals keep their drawn size) and never narrower than the band. */
.hero { position: relative; z-index: 1; background: var(--hero-bg, #E4ECFA); height: var(--hero-h, 17.8125rem); display: flex; align-items: center; isolation: isolate; overflow-x: clip; }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-photo, .hero-pop { position: absolute; top: 0; right: calc(-1 * var(--hero-shift, 0px)); height: 100%; aspect-ratio: var(--hero-ratio, 2.4); }
.hero-photo { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%); mask-image: linear-gradient(90deg, transparent 0, #000 9%); }
/* paws that hang over the band's bottom edge (dogs, cats): a cut-out placed just under the photo */
.hero-pop { pointer-events: none; z-index: 2; }
.hero-pop img { position: absolute; top: 100%; left: var(--pop-left); width: var(--pop-width); max-width: none; margin-top: -1px; }
.hero-img-dogs-hero { --pop-left: 62.2%; --pop-width: 13.16%; }
.hero-img-cats-hero { --pop-left: 56.22%; --pop-width: 8.07%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, right 30%); }
.hero-deco { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 3px rgba(11, 36, 71, .25)); }
.hero-deco use { stroke-width: 1.9; }
.hero-deco .spark { stroke: var(--orange); stroke-width: 11; filter: none; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .2) 24%, rgba(255, 255, 255, 0) 44%); }
.hero-inner { position: relative; width: 100%; padding-block: 0; padding-inline: calc(var(--gutter) + var(--inset)); }
.hero-copy { max-width: 40rem; margin-bottom: .3125rem; }
.hero-title { font-size: 6.5rem; font-weight: 800; line-height: 1; letter-spacing: -.025em; color: var(--navy); display: flex; align-items: center; flex-wrap: wrap; gap: 0 .28em; }
.hero-title .accent { color: var(--blue); flex-basis: 100%; }
.hero-title .ic { width: .72em; height: .72em; color: var(--blue-bright); margin-block: -.1em; }
.hero-sub { font-size: 2.0625rem; font-weight: 800; line-height: 1.16; letter-spacing: -.02em; color: var(--navy); margin-top: .4375rem; }
.hero-sub.is-blue { color: var(--blue); }
.hero .swoosh { margin-top: .5rem; width: 15rem; }
.hero-text { font-size: 1.125rem; font-weight: 500; line-height: 1.4375rem; color: var(--navy); margin-top: .625rem; max-width: 34rem; white-space: pre-line; }
.hero-cta { margin-top: .6875rem; }
.hero-cta .btn { min-height: 2.5rem; padding: .25rem 1.375rem; font-size: .875rem; gap: .5rem; }
.hero-cta .btn .ic { width: 1rem; height: 1rem; stroke-width: 2.4; }
.hero-script { position: absolute; right: calc(var(--gutter) - .25rem); top: 19%; display: flex; flex-direction: column; align-items: flex-end; pointer-events: none; }
.hero-script .script { font-size: 3.25rem; font-weight: 700; }
.hero-script .swoosh { width: 13.5rem; height: 1.5rem; margin: .125rem 3.5rem 0 0; transform: rotate(-9deg); }
.hero-script .ic { width: 3rem; height: 3rem; color: #fff; stroke-width: 2; margin: .25rem 5.25rem 0 0; transform: rotate(8deg); filter: drop-shadow(0 2px 6px rgba(11, 36, 71, .35)); }
.page-dogs .hero-script::before { content: ""; position: absolute; right: 3.4rem; top: -1.1rem; width: 1.6rem; height: 1.6rem; transform: rotate(-14deg); background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11.6 20.6C8.2 16.4 3.2 13.2 3.3 8.5 3.4 5.6 5.6 3.7 7.9 4.2c2 .4 3.2 2.3 3.800 4.700.900-3.100 3-5.700 5.900-5.400 2.700.300 3.700 3.100 3 5.800-1 3.900-4.600 7.700-8.300 11'/%3E%3C/svg%3E"); }
/* photos: each is the mock-up's whole hero band (2x); ratio = width / height of the file, --hero-bg = its left-edge colour */
.hero-img-home-hero { --hero-ratio: 2.484; --hero-bg: #ECE4D2; }
.hero-img-shop-hero { --hero-ratio: 3.807; --hero-bg: #E0E5F1; }
.hero-img-dogs-hero { --hero-ratio: 5.867; --hero-bg: #B5BD9E; }
.hero-img-cats-hero { --hero-ratio: 6.742; --hero-bg: #B0B48F; }
.hero-img-cart-hero { --hero-ratio: 5.377; --hero-bg: #E8E8EC; }
.hero-img-about-hero { --hero-ratio: 3.336; --hero-bg: #F2F1F2; }
/* variants */
.page-shop .hero { --hero-h: 19.25rem; }
.page-shop .hero-title { font-size: 4.8rem; line-height: .95; }
.page-shop .hero-sub { font-size: 1.72rem; line-height: 1.14; margin-top: .375rem; }
.page-shop .hero-text { font-size: 1.0625rem; line-height: 1.25; margin-top: .5rem; }
.page-cats .hero { --hero-h: 15.5rem; }
.page-cats .hero-copy { margin-bottom: .5rem; }
.page-cats .hero-title { font-size: 6.25rem; line-height: .95; letter-spacing: 0; gap: 0 .16em; -webkit-text-stroke: .018em currentColor; }
.page-cats .hero-title .ic { width: .8em; height: .8em; }
.page-cats .hero-sub { margin-top: .1875rem; }
.page-cats .hero .hero-copy > .swoosh { width: 9.5rem; margin: -.45rem 0 -.55rem 15.6rem; }
.page-cats .hero-text { font-size: 1.0625rem; line-height: 1.3125rem; margin-top: .6875rem; }
.page-cats .hero-cta { margin-top: .625rem; }
.page-cats .hero-cta .btn { min-height: 2.1875rem; }
.page-cats .hero-script { top: 12%; }
.page-cats .hero-script .script { font-size: 3rem; }
.hero-home { --hero-h: clamp(18.75rem, 34.1vw, 40rem); }
.hero-home .hero-title { font-size: clamp(2.375rem, 6.05vw, 6.5rem); line-height: .92; display: block; }
.hero-home .hero-title .accent { display: block; }
.hero-home .swoosh { width: clamp(9rem, 20.5vw, 22rem); height: clamp(.7rem, 1.4vw, 1.5rem); margin-top: clamp(.4rem, 1.2vw, 1.25rem); }
.hero-home .hero-text { font-size: clamp(1rem, 1.56vw, 1.75rem); line-height: 1.3; margin-top: clamp(.6rem, 1.5vw, 1.6rem); max-width: none; }
.hero-home .hero-cta { margin-top: clamp(.8rem, 1.6vw, 1.75rem); }
.hero-home .hero-cta .btn { min-height: clamp(2.5rem, 4vw, 4.25rem); padding-inline: clamp(1.4rem, 2.6vw, 2.75rem); font-size: clamp(.9375rem, 1.46vw, 1.5rem); gap: clamp(.5rem, 1vw, 1rem); }
.hero-home .hero-cta .btn .ic { width: 1.1em; height: 1.1em; }
.hero-cart { --hero-h: 14.625rem; }
.hero-cart .hero-title { font-size: 5.375rem; line-height: .9; }
.hero-cart .hero-sub { font-size: 1.6875rem; font-weight: 700; margin-top: .5rem; }
.hero-cart .swoosh { width: 15.5rem; margin-top: .375rem; }
.hero-about { --hero-h: 22.125rem; }
.hero-about .hero-title { font-size: 4.0625rem; line-height: 1; }
.hero-about .hero-sub { font-size: 2.125rem; line-height: 1.1; margin-top: .75rem; }
.hero-about .swoosh { width: 16rem; margin-top: .625rem; }
.hero-about .hero-text { font-size: 1.0312rem; line-height: 1.52; margin-top: 1.125rem; max-width: 30.5rem; }
.hero-about::after { content: ""; position: absolute; left: 44%; right: 0; bottom: -1px; height: 2rem; z-index: -1; background: no-repeat right bottom / 100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 32' preserveAspectRatio='none'%3E%3Cpath fill='%23F8FAFE' d='M0 32C40 24 70 30 120 24s90-4 140-8 80 6 130 2 90-12 130-8 50-6 80-8v38H0z'/%3E%3C/svg%3E"); }
.hero.hero-plain { height: auto; min-height: 0; background: var(--tint); }
.hero-plain::before { display: none; }
.hero-plain .hero-title { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; }
.hero-plain .hero-text { font-size: 1.0625rem; line-height: 1.4; }
.hero-plain .hero-inner { padding-block: 1.75rem; padding-inline: var(--gutter); }
.hero-plain .hero-copy { margin-bottom: 0; }
/* narrower desktops: slide the dogs / cats photo to the right so the animal clears the text; the script line needs the room, so it waits for 1280px */
@media (min-width: 901px) and (max-width: 1319px) {
  .page-dogs .hero, .page-cats .hero { --hero-shift: clamp(0px, (1320px - 100vw) * 1.25, 250px); }
  .page-dogs .hero-text, .page-cats .hero-text { white-space: normal; max-width: 21rem; }
  .page-dogs .hero-sub { font-size: 1.75rem; }
}
/* wider than the mock-up: the dogs / cats band grows with the window so the full-width photo still fills it, and the script line follows it outwards */
@media (min-width: 1673px) {
  .page-dogs .hero { --hero-h: 17.046vw; } .page-cats .hero { --hero-h: 14.833vw; } .page-cats .site-header { --cats-band: 14.833vw; }
  .hero-script { right: calc(var(--gutter) - .25rem - (100vw - 1672px) / 2); }
}
@media (min-width: 901px) and (max-width: 1279px) { .page-dogs .hero-script, .page-cats .hero-script { display: none; } }
/* the cat's ear rises over the header (only while the page is at the top: the header is sticky) */
@media (min-width: 901px) { .page-cats .site-header::after { content: ""; position: absolute; z-index: 1; bottom: -1px; right: calc(478 / 248 * var(--cats-band, 15.5rem) - var(--cats-shift, 0px)); width: calc(68 / 248 * var(--cats-band, 15.5rem)); height: calc(43 / 248 * var(--cats-band, 15.5rem)); background: no-repeat center bottom / contain var(--cats-ear); pointer-events: none; } .is-scrolled .page-cats .site-header::after { display: none; } }
@media (min-width: 901px) and (max-width: 1319px) { .page-cats .site-header { --cats-shift: clamp(0px, (1320px - 100vw) * 1.25, 250px); } }

/* ---------- trust strip ---------- */
.trust-strip { background: var(--tint); }
.trust-strip ul { display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; margin: 0; padding: .875rem 4%; }
.trust-strip li { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 0 1rem; font-size: .9062rem; font-weight: 600; line-height: 1.2; color: var(--navy); min-height: 2.375rem; }
.trust-strip li + li { border-left: 1.5px solid #6F7F9C; }
.trust-strip .ic { width: 3.25rem; height: 3.25rem; margin-block: -.5rem; stroke-width: 1.6; color: var(--navy); }
.trust-strip.is-inset { background: none; }
.trust-strip.is-inset ul { background: #F3F6FC; border-radius: var(--r-card); }
.trust-strip.is-inset > .container { padding-inline: 0; }
.trust-strip.is-inset ul { padding: .75rem 2%; }
.trust-strip.is-inset li { gap: .875rem; padding-inline: .5rem; font-size: .875rem; font-weight: 700; }
.trust-strip.is-inset .ic { width: 3rem; height: 3rem; }
.trust-strip:not(.is-inset) li span { white-space: nowrap; }

/* ---------- product card ---------- */
/* The product PNGs carry the mock-up's own light tint; "darken" against the card colour hides their square. */
.product-card { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--r-card); padding: 0 .75rem .9375rem; text-align: center; transition: box-shadow .15s, transform .15s; }
.product-card:hover { box-shadow: 0 .375rem 1.25rem rgba(11, 36, 71, .1); }
.product-card .badge { position: absolute; top: .8125rem; left: .625rem; z-index: 1; }
.product-card-media { display: block; position: relative; height: clamp(7.5rem, calc(6.02vw + 59px), 10rem); margin: 0 -.25rem; overflow: hidden; }
.product-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 7% 9% 2%; object-fit: contain; mix-blend-mode: darken; transition: transform .2s; }
.product-card:hover .product-card-media img { transform: scale(1.04); }
.product-card-name { display: block; margin-top: .25rem; font-size: clamp(13.5px, calc(.154vw + 11.9px), 14.5px); font-weight: 600; line-height: 1.3; color: var(--navy); }
.product-card-name:hover { color: var(--blue); text-decoration: none; }
.product-card .rating { justify-content: center; margin-top: .3125rem; gap: .5rem; }
.product-card-price { font-size: clamp(14.5px, calc(.54vw + 9px), 18px); font-weight: 800; color: var(--navy); margin: .375rem 0 .625rem; line-height: 1.2; }
.product-card-price s { font-size: .875rem; font-weight: 600; color: var(--muted); margin-left: .375rem; }
.product-card-price.is-sale > span { color: var(--red); }
.product-card .btn { margin-top: auto; align-self: center; min-height: clamp(23px, calc(.617vw + 16.7px), 27px); padding: 1px .75rem; font-size: clamp(13.5px, calc(.23vw + 11.1px), 15px); width: min(100%, 12.8rem); border-radius: 3px; }
.product-card.is-soldout .product-card-media img { opacity: .55; }
.product-card.is-compact { padding-bottom: .75rem; }
.product-card.is-compact .product-card-media { height: 8rem; }
.product-card.is-compact .product-card-name { font-size: clamp(12.5px, .875rem, 14px); }
.product-card.is-compact .stars .ic { width: .875rem; height: .875rem; }
.product-card.is-compact .rating-count { font-size: .8125rem; }
.product-card.is-compact .product-card-price { font-size: clamp(15.5px, 1.0625rem, 17px); margin-bottom: .5rem; }
.product-card.is-compact .btn { width: min(100%, 9.75rem); font-size: clamp(12.5px, .875rem, 14px); min-height: 1.875rem; }

/* ---------- pagination ---------- */
.pagination { display: flex; align-items: center; justify-content: center; gap: .375rem; margin-top: 1.75rem; flex-wrap: wrap; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; height: 2.5rem; padding: 0 .625rem; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: #fff; color: var(--navy); font-weight: 700; font-size: .9375rem; }
.pagination a:hover { border-color: var(--navy); text-decoration: none; }
.pagination .is-current { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination .is-disabled { color: #B3BDCE; background: var(--page); }
.pagination .gap { border: 0; background: none; min-width: 1.25rem; padding: 0; }
.pagination .ic { width: 1rem; height: 1rem; }

/* ---------- newsletter band ---------- */
.newsletter { position: relative; background: linear-gradient(90deg, #06264B 0%, #05254C 55%, #05234A 100%); color: #fff; isolation: isolate; clip-path: inset(-12rem 0 0 0); overflow-x: clip; }
.newsletter-inner { position: relative; display: flex; align-items: center; gap: 2.5rem; min-height: 6.5rem; padding-block: .75rem; }
.newsletter-paw { width: 5.25rem; height: 5.25rem; margin: -.5rem -.5rem -.5rem -.375rem; color: var(--blue-bright); flex: none; transform: rotate(-6deg); }
.newsletter-pack .newsletter-paw { color: #1B3E73; }
.newsletter-copy { flex: 0 1 auto; min-width: 0; }
.newsletter-title { color: #fff; font-size: 1.375rem; font-weight: 800; line-height: 1.2; }
.newsletter-text { font-size: 1rem; font-weight: 500; margin-top: 2px; color: #fff; }
.newsletter-form { flex: 0 1 47%; min-width: 0; margin-left: auto; position: relative; }
.newsletter.has-peek .newsletter-form, .newsletter.has-photo .newsletter-form { flex-basis: 53%; }
.newsletter:not(.newsletter-loop) .newsletter-inner { padding-right: 13%; }
.newsletter.has-peek:not(.newsletter-loop) .newsletter-inner, .newsletter.has-photo:not(.newsletter-loop) .newsletter-inner { padding-right: 24.5%; }
.newsletter-fields { display: flex; gap: .8125rem; }
.newsletter-fields .input { flex: 1; min-width: 0; height: 2.5625rem; min-height: 0; padding-block: 0; border-color: transparent; font-size: .9375rem; }
.newsletter-fields .btn { height: 2.5625rem; min-height: 0; min-width: 10rem; padding-inline: 1rem; font-size: 1rem; box-shadow: none; }
.newsletter-msg { font-size: .875rem; font-weight: 600; margin-top: .5rem; min-height: 0; }
.newsletter-msg:empty { display: none; }
.newsletter-msg.is-ok { color: #8FE3AC; } .newsletter-msg.is-error { color: #FFB4AE; }
.newsletter-mark { position: absolute; right: .25rem; top: 50%; width: 5rem; height: 5rem; color: #2B4FA0; opacity: .8; transform: translateY(-50%) rotate(12deg); z-index: -1; }
.newsletter-photo { position: absolute; top: 0; bottom: 0; right: 0; width: 30%; z-index: -1; overflow: hidden; }
.newsletter-photo img { width: 100%; height: 100%; object-fit: cover; }
.newsletter-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #05254C 0%, rgba(5, 37, 76, .55) 30%, rgba(5, 37, 76, 0) 65%); }
.newsletter.has-photo .newsletter-mark, .newsletter.has-peek .newsletter-mark { display: none; }
/* cut-out animals at the right end; they rise above the band (sizes follow the mock-ups: the picture is the band's height times --peek-scale) */
.newsletter-peek { position: absolute; z-index: -1; bottom: 0; right: max(0px, calc(50vw - 836px)); height: calc(100% * var(--peek-scale, 1)); width: auto; max-width: none; pointer-events: none; }
.has-peek-dog { --peek-scale: 1.72; } .has-peek-dog .newsletter-inner { min-height: 5rem; padding-block: .375rem; }
.has-peek-cat { --peek-scale: 1.3; }
/* 'loop' (home): photo left, copy + form stacked */
.newsletter-loop .newsletter-photo { right: auto; left: 0; width: 43%; }
.newsletter-loop .newsletter-photo::after { background: linear-gradient(270deg, #06264B 0%, rgba(6, 38, 75, .6) 14%, rgba(6, 38, 75, 0) 40%); }
.newsletter-loop .newsletter-inner { display: block; padding: 1rem var(--gutter) 1.5rem 46.9%; min-height: 9.375rem; max-width: none; }
.newsletter-loop .newsletter-form { margin: .625rem 0 0; max-width: 29.5rem; }
.newsletter-loop .newsletter-title { font-size: 1.6875rem; }
.newsletter-loop .newsletter-fields .input, .newsletter-loop .newsletter-fields .btn { height: 2.5rem; }
.newsletter-loop .newsletter-fields .btn { min-width: 9.25rem; }
.newsletter-loop .newsletter-mark { display: block; right: 2.4%; top: 38%; width: 4.75rem; height: 4.75rem; }

/* ---------- footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--navy-deep); color: #fff; border-top: 1px solid rgba(255, 255, 255, .28); }
.footer-main { display: grid; grid-template-columns: 30.3% 15.5% 22.2% minmax(0, 1fr); padding-block: 1.375rem 1rem; }
.footer-brand { padding-top: 1.125rem; }
.footer-brand .logo { font-size: 2.625rem; gap: .5rem; } .footer-brand .logo .ic { width: 3.9rem; height: 3.9rem; margin: -.4rem 0 -.4rem -.3rem; }
.footer-tagline { font-size: .9062rem; font-weight: 500; margin: .25rem 0 0 4.1rem; }
.footer-col h3 { color: #fff; font-size: .9688rem; font-weight: 800; margin-bottom: .375rem; }
.footer-col li + li { margin-top: 0; }
.footer-col a { color: #fff; font-size: .875rem; font-weight: 500; line-height: 1.4375rem; display: inline-block; }
.footer-col a:hover { text-decoration: underline; }
.footer-pay { display: flex; align-items: center; justify-content: flex-end; gap: .875rem; margin-top: 1.375rem; }
/* no "Follow Us" heading and icons above the marks any more (owner's decision 2026-12-06): the marks move up to the top of their column */
.site-footer .footer-col-social > .footer-pay:first-child { margin-top: 0; }
.footer-pay svg { height: 1.75rem; width: auto; }
.footer-pay .pay-visa { height: 1.6875rem; } .footer-pay .pay-mc { height: 1.625rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .3); padding-block: .9375rem 1.5rem; font-size: .8125rem; font-weight: 500; }
.footer-legal { display: inline-flex; flex-wrap: wrap; gap: 0 1rem; margin-left: 1.25rem; } .footer-legal a { color: inherit; } .footer-legal a:hover { text-decoration: underline; }
@media (max-width: 640px) { .footer-legal { display: flex; margin: .375rem 0 0; } }
.footer-mark { position: absolute; right: 2%; bottom: .5rem; width: 4.375rem; height: 4.375rem; color: #2A4A96; opacity: .7; transform: rotate(8deg); pointer-events: none; }
.page-home .footer-mark { display: none; }

/* ---------- toast ---------- */
.toast-area { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 400; display: flex; flex-direction: column; gap: .625rem; width: min(23.75rem, calc(100vw - 2rem)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: flex-start; gap: .75rem; background: #fff; color: var(--text); border-radius: var(--r-card); border-left: .25rem solid var(--green); box-shadow: var(--shadow); padding: .8125rem .875rem; font-size: .9062rem; opacity: 0; transform: translateY(.625rem); transition: opacity .2s, transform .2s; }
.toast.is-in { opacity: 1; transform: none; }
.toast > .ic { width: 1.375rem; height: 1.375rem; color: var(--green); margin-top: 1px; }
.toast-error { border-left-color: var(--red); } .toast-error > .ic { color: var(--red); }
.toast-info { border-left-color: var(--blue); } .toast-info > .ic { color: var(--blue); }
.toast-body { flex: 1; min-width: 0; }
.toast-title { font-weight: 800; color: var(--navy); }
.toast-text { color: var(--muted); font-size: .8438rem; }
.toast-action { display: inline-block; margin-top: .25rem; font-weight: 700; }
.toast-close { color: var(--muted); padding: 2px; } .toast-close .ic { width: 1rem; height: 1rem; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(8, 32, 61, .5); opacity: 0; visibility: hidden; transition: opacity .18s, visibility .18s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal-box { background: #fff; border-radius: .625rem; box-shadow: var(--shadow); width: min(30rem, 100%); max-height: calc(100vh - 2rem); overflow: auto; padding: 1.5rem; }
.modal-title { font-size: 1.25rem; font-weight: 800; color: var(--navy); }
.modal-text { margin-top: .5rem; color: var(--text); }
.modal-actions { display: flex; justify-content: flex-end; gap: .625rem; margin-top: 1.375rem; flex-wrap: wrap; }

/* ---------- tables ---------- */
.table th { text-align: left; font-size: .875rem; font-weight: 700; color: var(--navy); padding: .625rem .75rem; border-bottom: 1.5px solid var(--line); }
.table td { padding: .75rem; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.table-navy thead th { background: var(--navy); color: #fff; border: 0; font-size: .9375rem; }
.table-navy thead th:first-child { border-radius: var(--r-sm) 0 0 0; } .table-navy thead th:last-child { border-radius: 0 var(--r-sm) 0 0; }
.table-wrap { overflow-x: auto; position: relative; }

/* tooltip: <span class="tip" data-tip="text"> */
.tip { position: relative; display: inline-flex; cursor: help; }
.tip::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + .5rem); transform: translateX(-50%); width: max-content; max-width: 15rem; background: var(--navy); color: #fff; font-size: .8125rem; font-weight: 500; line-height: 1.35; padding: .5rem .625rem; border-radius: var(--r); display: none; z-index: 50; white-space: normal; text-align: left; }
.tip:hover::after, .tip:focus::after, .tip.is-open::after { display: block; }

/* empty state + error pages */
.empty { text-align: center; padding: 3.5rem 1rem; }
.empty > .ic { width: 4.5rem; height: 4.5rem; color: var(--blue-bright); margin: 0 auto .875rem; }
.empty h1, .empty h2 { font-size: clamp(1.625rem, 3vw, 2.375rem); }
.empty p { color: var(--muted); margin: .625rem auto 1.375rem; max-width: 28.75rem; }
.empty p.error-code { color: var(--navy); margin: 0 auto .5rem; max-width: none; }
.error-code { font-size: clamp(4.5rem, 12vw, 8.75rem); font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -.04em; display: inline-flex; align-items: center; gap: .06em; }
.error-code .ic { width: .8em; height: .8em; margin: 0; color: var(--blue-bright); }

/* ---------- breakpoints: 1100 / 900 / 640 ---------- */
@media (max-width: 1100px) {
  /* (a two-column rule for the inset trust strip sat here; it never applied and pages were tuned without it) */
  .trust-strip.is-inset li { justify-content: flex-start; padding-left: 12%; } .trust-strip.is-inset li:nth-child(odd) { border-left: 0; }
}
@media (max-width: 900px) {
  :root { --header-h: 3.875rem; }
  .hide-mobile { display: none !important; } .hide-desktop { display: initial !important; }
  .site-header-inner { grid-template-columns: auto 1fr auto; gap: .5rem; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; margin-left: -8px; }
  .site-header-inner { padding-inline: var(--gutter); }
  .header-actions { margin-right: -.25rem; gap: .25rem; }
  .logo { font-size: 1.5rem; gap: .25rem; } .logo .ic { width: 2.25rem; height: 2.25rem; margin: 0 0 0 -.2rem; }
  .header-action { width: max(2.5rem, 44px); height: max(2.5rem, 44px); } .header-action .ic { width: 1.5rem; height: 1.5rem; }
  .with-sidebar { grid-template-columns: minmax(0, 1fr); }
  .with-sidebar > .sidebar { display: none; }
  .product-grid, .product-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-strip ul { grid-template-columns: repeat(2, 1fr); row-gap: .875rem; }
  .trust-strip li, .trust-strip.is-inset li { justify-content: flex-start; padding-left: .5rem; } .trust-strip li:nth-child(odd) { border-left: 0; }
  .trust-strip li span.trust-text, .trust-strip li span { white-space: normal !important; }
  /* heroes stack: a photo band with the animal in view (focus point per picture), then the text on the page tint */
  .hero { display: block; height: auto; background: var(--tint); }
  .hero::before, .hero-script, .hero-about::after, .hero-pop, .hero-deco { display: none; }
  .hero-media { position: relative; inset: auto; z-index: 0; height: clamp(12.5rem, 50vw, 20rem); background: var(--hero-bg, #E4ECFA); }
  .hero-photo { inset: 0; right: 0; width: 100%; height: 100%; aspect-ratio: auto; -webkit-mask-image: none; mask-image: none; }
  .hero-photo img { object-position: var(--focus-m, 75% 30%); }
  .hero-img-dogs-hero { --focus-m: 69% 50%; } .hero-img-cats-hero { --focus-m: 69% 50%; } .hero-img-shop-hero { --focus-m: 86% 50%; }
  .hero-img-cart-hero { --focus-m: 88% 50%; } .hero-img-about-hero { --focus-m: 100% 40%; } .hero-img-home-hero { --focus-m: 100% 35%; }
  .hero-inner { padding: 1.125rem var(--gutter) 1.5rem; }
  .hero-copy, .hero-plain .hero-copy { max-width: none; margin-bottom: 0; }
  .hero-title, .page-shop .hero-title, .page-cats .hero-title, .hero-cart .hero-title, .hero-home .hero-title { font-size: clamp(2.5rem, 9vw, 4.25rem); line-height: 1; }
  .hero-about .hero-title { font-size: clamp(2rem, 6.4vw, 3rem); }
  .hero-sub, .page-shop .hero-sub, .page-cats .hero-sub, .hero-cart .hero-sub, .hero-about .hero-sub { font-size: clamp(1.25rem, 3.6vw, 1.75rem); margin-top: .375rem; }
  .hero-text, .page-shop .hero-text, .page-cats .hero-text, .hero-home .hero-text, .hero-about .hero-text { font-size: 1rem; line-height: 1.4; margin-top: .625rem; max-width: 36rem; white-space: normal; }
  .page-cats .hero .hero-copy > .swoosh { margin: .25rem 0 0; width: 10rem; }
  .hero .swoosh, .hero-home .swoosh, .hero-cart .swoosh, .hero-about .swoosh { width: 11rem; height: .875rem; margin-top: .5rem; }
  .hero-cta, .hero-home .hero-cta, .page-cats .hero-cta { margin-top: 1rem; }
  .hero-cta .btn, .hero-home .hero-cta .btn, .page-cats .hero-cta .btn { min-height: 2.875rem; padding-inline: 1.5rem; font-size: 1rem; }
  .hero.hero-plain { background: var(--tint); } .hero-plain .hero-inner { padding-block: 1.25rem; }
  .newsletter-inner, .has-peek-dog .newsletter-inner { flex-wrap: wrap; gap: .875rem 1.125rem; padding-block: 1.5rem; min-height: 0; }
  .newsletter-paw { width: 3.5rem; height: 3.5rem; margin: 0; }
  .newsletter-copy { flex: 1 1 60%; }
  .newsletter-peek { display: none; }
  .newsletter-fields .input, .newsletter-fields .btn, .newsletter-loop .newsletter-fields .input, .newsletter-loop .newsletter-fields .btn { height: 2.875rem; }
  .logo { font-size: 1.5rem; }
  .newsletter-form { flex: 1 1 100%; max-width: none; margin: 0; }
  .newsletter-photo { display: none; }
  .newsletter .newsletter-inner.newsletter-inner { padding-right: var(--gutter); padding-left: var(--gutter); }
  .footer-main { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 1rem; padding-block: 1.75rem 1.25rem; }
  .footer-col a { line-height: 1.9rem; font-size: .9375rem; } .footer-col h3 { font-size: 1rem; }
  .footer-brand .logo { font-size: 1.75rem; gap: .25rem; } .footer-brand .logo .ic { width: 2.6rem; height: 2.6rem; margin: 0 0 0 -.2rem; } .footer-tagline { margin-left: 2.7rem; }
  .footer-brand { grid-column: 1 / -1; padding-top: 0; }
  .footer-pay { justify-content: flex-start; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: .9375rem; }
  .section { padding-block: 1.75rem; }
  .announce { font-size: .7188rem; } .announce li { padding: 0 .5rem; gap: .375rem; } .announce li:nth-child(n+2) { display: none; }
  .product-grid, .product-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .625rem; }
  .product-card { padding: 0 .625rem .75rem; } .product-card-name { font-size: .875rem; } .product-card-price { font-size: 1rem; }
  .product-card-media, .product-card.is-compact .product-card-media { height: 7.5rem; }
  .product-card .btn, .product-card.is-compact .btn { width: 100%; min-height: 2.5rem; }
  .product-card .badge { top: .5rem; left: .5rem; font-size: .75rem; padding: .1875rem .5rem; }
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .section-heading { gap: .75rem; }
  .page-head { flex-wrap: wrap; }
  .hero-cta .btn { white-space: normal; }
  .trust-strip li { font-size: .8125rem; gap: .625rem; padding-inline: .375rem; } .trust-strip .ic { width: 2rem; height: 2rem; }
  .newsletter-fields { flex-wrap: wrap; } .newsletter-fields .input { flex: 1 1 100%; } .newsletter-fields .btn { flex: 1 1 100%; }
  .newsletter-mark { display: none !important; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
  .footer-col-social { grid-column: 1 / -1; }
  .toast-area { right: 1rem; bottom: 1rem; }
  .tip::after { left: auto; right: -10px; transform: none; max-width: min(13.75rem, 70vw); }
  .search-panel { padding: .75rem 0 .875rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* pages without a mock-up keep a 1240px column (the wide 1486px container is for the mocked pages) */
.co-page, .account-page, .contact-grid, .page-product #main > .container, .page-order #main > .container, .hero-plain .hero-inner { max-width: calc(77.5rem + 2 * var(--gutter)); }
