/* ThomasPetRx theme styles. Mobile first: base rules target 360px phones, wider layouts are added at 600px and 990px. */

/* ---------- Tokens ---------- */
:root {
  --ink-soft: #4a626b;
  --surface: #ffffff;
  --well: #f1ede4;
  --line: #e2dccf;
  --line-strong: #c4bcab;
  --ok: #1e6b3c;
  --warn: #8a4b00;
  --bad: #a32a2a;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(21, 48, 58, 0.14);
  --gutter: 16px;
  --dept: var(--ink);
  --dept-tint: var(--well);
}
.dept--fish { --dept: #1b5e86; --dept-tint: #e3eef5; }
.dept--birds { --dept: #7a5200; --dept-tint: #faefd0; }
.dept--other { --dept: #7b4a38; --dept-tint: #f4e7df; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  overflow-wrap: break-word;
}
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: var(--heading-weight); line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.55rem, 5.6vw, 2.4rem); }
h2 { font-size: clamp(1.25rem, 4.2vw, 1.6rem); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 0.75em; }
ul, ol { margin: 0; padding: 0; }
ul[role='list'], ol[role='list'] { list-style: none; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.18em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; }
summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 8px; }
.muted { color: var(--ink-soft); }
.eyebrow { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--dept); }
.eyebrow .icon { width: 18px; height: 18px; }
.icon { width: 22px; height: 22px; flex: none; }
.section { padding-block: 28px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section__head h2 { margin: 0; }
.section__lede { color: var(--ink-soft); max-width: 68ch; }

/* ---------- Buttons and controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 20px;
  border: 2px solid var(--action); border-radius: var(--radius-sm);
  background: var(--action); color: #fff;
  font-weight: 700; text-decoration: none; text-align: center; line-height: 1.2;
}
.btn:hover { background: var(--action-dark); border-color: var(--action-dark); }
.btn[disabled], .btn[aria-disabled='true'] { background: var(--well); border-color: var(--line-strong); color: var(--ink-soft); cursor: not-allowed; }
.btn--secondary { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.btn--secondary:hover { background: var(--well); border-color: var(--ink); }
.btn--block { display: flex; width: 100%; }
.btn--sm { min-height: 44px; padding: 8px 12px; font-size: 0.9375rem; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--ink); position: relative; text-decoration: none; }
.icon-btn:hover { background: var(--well); }
.link-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--ink); font-weight: 600; text-decoration: underline; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; color: var(--action); }
.link-arrow .icon { width: 18px; height: 18px; }
.input, .select {
  width: 100%; min-height: 48px; padding: 10px 12px;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--surface); font-size: 1rem;
}
.select { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315303A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 18px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; }
.form-error { margin: 8px 0 0; color: var(--bad); font-weight: 600; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--surface); font-size: 0.9375rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
a.chip:hover, .chip.is-active { border-color: var(--ink); background: var(--well); }
.chip .icon { width: 16px; height: 16px; }
.chip--static { min-height: 36px; background: var(--well); }
.chip--remove { min-height: 36px; }
.chip-row { display: flex; gap: 8px; overflow-x: auto; padding: 4px var(--gutter) 8px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
.badge { position: absolute; left: 8px; top: 8px; padding: 3px 8px; border-radius: 6px; font-size: 0.75rem; font-weight: 700; line-height: 1.3; }
.badge--demo { background: var(--surface); color: var(--ink-soft); border: 1px solid var(--line-strong); }
.badge--sample { background: var(--ink); color: #fff; }

/* ---------- Notices ---------- */
.preview-banner { margin: 0; padding: 5px var(--gutter); background: #fff1c2; color: var(--ink); font-size: 0.8125rem; font-weight: 600; text-align: center; }
.announcement { background: var(--ink); color: #fff; font-size: 0.8125rem; text-align: center; }
.announcement p { margin: 0; padding-block: 7px; }
.announcement a { color: #fff; }
.notice { border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); padding: 12px 14px; margin: 12px 0; }
.notice p:last-child { margin-bottom: 0; }
.notice__title { display: flex; gap: 8px; align-items: flex-start; font-weight: 700; }
.notice__actions { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.notice--info { border-color: var(--ink); background: var(--well); }
.notice--plain { display: flex; gap: 8px; align-items: flex-start; font-size: 0.9375rem; }
.notice--success { display: flex; gap: 8px; border-color: var(--ok); color: var(--ok); }
.notice--error { border-color: var(--bad); color: var(--bad); }
.toast { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 80; width: min(420px, calc(100vw - 32px)); padding: 12px 16px; border-radius: var(--radius); background: var(--ink); color: #fff; box-shadow: var(--shadow); font-weight: 600; }
.toast a, .toast button { color: #fff; }

/* ---------- Header ---------- */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); }
.hdr { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-areas: 'menu logo actions' 'search search search'; align-items: center; gap: 8px; padding-block: 8px 12px; }
.hdr__menu { grid-area: menu; margin-left: -8px; }
.hdr__logo { grid-area: logo; display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; justify-self: start; }
.hdr__logo-image { width: auto; max-height: 40px; }
.hdr__search { grid-area: search; min-width: 0; position: relative; }
.hdr__actions { grid-area: actions; display: flex; align-items: center; gap: 4px; margin-right: -8px; }
.hdr__link { display: none; }
.wordmark { font-family: var(--font-heading); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.wordmark__rx { color: var(--action); }
.search-form { position: relative; display: flex; }
.search-form__input { flex: 1; min-width: 0; height: 48px; padding: 0 12px 0 14px; border: 2px solid var(--ink); border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); background: var(--surface); font-size: 1rem; }
.search-form__input::placeholder { color: var(--ink-soft); opacity: 1; }
.search-form__submit { width: 52px; height: 48px; border: 2px solid var(--action); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--action); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.search-form__submit:hover { background: var(--action-dark); }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--action); color: #fff; font-size: 0.75rem; font-weight: 700; line-height: 20px; text-align: center; }
.primary-nav { display: none; }

.predictive { position: absolute; z-index: 60; top: calc(100% + 6px); left: 0; right: 0; max-height: min(70vh, 560px); overflow-y: auto; background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); }
.predictive__inner { padding: 6px 0; }
.predictive__heading { margin: 0; padding: 10px 14px 4px; font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.predictive__product { display: flex; align-items: center; gap: 8px; padding-right: 12px; }
.predictive__link { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 14px; text-decoration: none; }
.predictive__link:hover, .predictive__link:focus-visible { background: var(--well); }
.predictive__link img { width: 56px; height: 56px; object-fit: contain; border-radius: 6px; background: var(--well); flex: none; }
.predictive__link--plain { justify-content: space-between; font-weight: 600; }
.predictive__link--plain .icon { width: 18px; height: 18px; color: var(--ink-soft); }
.predictive__text { display: grid; min-width: 0; }
.predictive__title { font-weight: 600; line-height: 1.25; }
.predictive__meta { font-size: 0.8125rem; color: var(--ink-soft); }
.predictive__price { font-size: 0.9375rem; }
.predictive__state { margin-left: 6px; font-size: 0.8125rem; font-weight: 600; color: var(--ink-soft); }
.predictive__state--out { color: var(--bad); }
.predictive__empty, .predictive__all { margin: 0; padding: 12px 14px; }
.predictive__all { border-top: 1px solid var(--line); font-weight: 700; }

/* ---------- Drawers ---------- */
dialog.drawer { position: fixed; inset: 0 0 0 auto; margin: 0; padding: 0; border: 0; width: min(430px, 94vw); height: 100%; max-height: none; max-width: none; background: var(--bg); color: var(--ink); }
dialog.drawer--left { inset: 0 auto 0 0; }
dialog.drawer::backdrop, dialog.zoom::backdrop { background: rgba(21, 48, 58, 0.5); }
dialog.drawer[open] { animation: drawer-in 0.18s ease-out; }
dialog.drawer--left[open] { animation-name: drawer-in-left; }
@keyframes drawer-in { from { transform: translateX(24px); opacity: 0; } }
@keyframes drawer-in-left { from { transform: translateX(-24px); opacity: 0; } }
.drawer__inner { display: flex; flex-direction: column; height: 100%; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 8px 10px 16px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { margin: 0; font-size: 1.2rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: 16px; overscroll-behavior: contain; }
.drawer__foot { padding: 14px 16px 16px; border-top: 1px solid var(--line); background: var(--surface); }
.nav-drawer > ul > li { border-bottom: 1px solid var(--line); }
.nav-drawer a, .nav-drawer summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; font-weight: 700; text-decoration: none; list-style: none; }
.nav-drawer summary::-webkit-details-marker { display: none; }
.nav-drawer details[open] summary .icon { transform: rotate(180deg); }
.nav-drawer details ul { padding: 0 0 8px 12px; }
.nav-drawer details a { min-height: 46px; font-weight: 500; }
.nav-drawer__support { margin-top: 16px; }
.nav-drawer__support a { justify-content: flex-start; font-weight: 600; }

/* ---------- Home ---------- */
.hero { padding-block: 16px 4px; }
.hero__title { margin-bottom: 12px; max-width: 18ch; }
.hero__text { color: var(--ink-soft); max-width: 60ch; }
.dept-entries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dept-entry { display: flex; flex-direction: column; overflow: hidden; border: 1.5px solid var(--dept); border-radius: 14px; background: var(--dept-tint); color: var(--ink); text-decoration: none; }
.dept-entry:hover { box-shadow: 0 0 0 2px var(--dept); }
.dept-entry__art { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--dept-tint); }
.dept-entry__art img, .dept-entry__art svg { width: 100%; height: 100%; object-fit: cover; }
.dept-entry__body { display: grid; gap: 4px; padding: 10px 12px 12px; background: var(--surface); flex: 1; align-content: start; }
.dept-entry__label { display: flex; align-items: center; gap: 6px; font-family: var(--font-heading); font-weight: var(--heading-weight); font-size: 1.25rem; color: var(--dept); line-height: 1.1; }
.dept-entry__text { font-size: 0.875rem; line-height: 1.35; color: var(--ink-soft); }
.dept-entry__cta { display: flex; align-items: center; gap: 4px; margin-top: 2px; font-size: 0.9375rem; font-weight: 700; color: var(--ink); text-decoration: underline; }
.dept-entry__cta .icon { width: 16px; height: 16px; }
.spotlight-wrap { padding-block: 14px 6px; }
.spotlight { display: grid; gap: 14px; padding: 16px; border-radius: 16px; background: var(--dept-tint); border: 1.5px solid var(--dept); }
.spotlight h2 { margin-bottom: 6px; }
.spotlight__intro p { max-width: 46ch; }
.spotlight__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.spotlight__items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.spotlight-wrap .chip-row { margin-top: 12px; }
.fact-row { display: grid; gap: 10px; list-style: none; }
.fact-row li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-size: 0.9375rem; }
.fact-row .icon { color: var(--action); margin-top: 1px; }
.fact-row strong { display: block; }
.guide-list { display: grid; gap: 12px; }
.guide-card { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.guide-card h2, .guide-card h3 { margin-bottom: 6px; font-size: 1.1rem; }
.guide-card p:last-child { margin-bottom: 0; }
.guide-card > p:not(.eyebrow) { color: var(--ink-soft); font-size: 0.9375rem; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.product-grid > li { min-width: 0; }
.card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.card__media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--well); }
.card__media img, .card__placeholder { width: 100%; height: 100%; object-fit: contain; }
.card__body { display: flex; flex-direction: column; gap: 3px; flex: 1; padding: 10px 10px 12px; }
.card__body p { margin: 0; }
.card__brand { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); }
.card__title { margin: 0; font-family: var(--font-body); font-size: 0.9375rem; font-weight: 700; line-height: 1.25; letter-spacing: 0; }
.card__title a { text-decoration: none; }
.card__title a:hover { text-decoration: underline; }
.card__meta { font-size: 0.8125rem; color: var(--ink-soft); line-height: 1.3; }
.card__price { margin-top: 2px !important; font-size: 1rem; }
.card__reason { display: flex; gap: 4px; align-items: flex-start; font-size: 0.8125rem; color: var(--ok); font-weight: 600; line-height: 1.3; }
.card__reason .icon { width: 16px; height: 16px; }
.card__action { margin-top: auto; padding-top: 8px; }
.price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.price__now { font-weight: 700; }
.price__from { font-weight: 400; font-size: 0.875em; color: var(--ink-soft); }
.price__compare { color: var(--ink-soft); font-size: 0.875em; }
.price__save { font-size: 0.8125rem; font-weight: 700; color: var(--bad); }
.stock { display: flex; align-items: center; gap: 4px; margin: 0; font-size: 0.875rem; font-weight: 600; }
.stock .icon { width: 16px; height: 16px; }
.stock--in { color: var(--ok); }
.stock--low { color: var(--warn); }
.stock--out { color: var(--bad); }
.stock--na { color: var(--ink-soft); }
.reviews-summary { display: flex; align-items: center; gap: 4px; margin: 0; font-size: 0.875rem; }
.reviews-summary .icon { width: 16px; height: 16px; color: #b7791f; }
.reviews-summary a { display: inline-flex; align-items: center; min-height: 44px; }
.reviews-summary--empty a { color: var(--ink-soft); }
.product__info > .reviews-summary { margin-block: -6px -8px; }

/* ---------- Collection ---------- */
.breadcrumbs { padding-block: 2px 0; font-size: 0.8125rem; color: var(--ink-soft); }
.breadcrumbs ol { display: flex; gap: 2px 6px; list-style: none; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.breadcrumbs ol::-webkit-scrollbar { display: none; }
.breadcrumbs li { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.breadcrumbs a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 24px; }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line-strong); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; }
.coll-head { padding: 14px 16px 16px; margin-bottom: 14px; border-radius: 14px; background: var(--dept-tint); border-left: 6px solid var(--dept); }
.coll-head h1 { margin-bottom: 6px; }
.coll-head__dept { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--dept); }
.coll-head__dept .icon { width: 18px; height: 18px; }
.coll-head__lede { margin: 0; max-width: 70ch; }
.jump-links { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 0.9375rem; overflow-x: auto; }
.jump-links > span { color: var(--ink-soft); white-space: nowrap; }
.jump-links ul { display: flex; gap: 4px 14px; }
.jump-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; white-space: nowrap; }
.subcats { margin-bottom: 16px; }
.subcats ul { display: grid; gap: 8px; }
.subcat { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px 12px 8px 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; }
.subcat:hover { border-color: var(--ink); }
.subcat__media { width: 56px; height: 56px; flex: none; border-radius: var(--radius-sm); background: var(--well); overflow: hidden; }
.subcat__media img { width: 100%; height: 100%; object-fit: contain; }
.subcat__body { display: grid; flex: 1; min-width: 0; }
.subcat__title { font-weight: 700; }
.subcat__count { font-size: 0.8125rem; color: var(--ink-soft); }
.subcat > .icon { color: var(--ink-soft); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.toolbar__count { margin: 0; font-weight: 700; }
.coll__controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 8px; margin-bottom: 12px; }
.coll__filter-toggle { min-height: 48px; }
.toolbar__sort { position: relative; }
.toolbar__sort label { position: absolute; left: 12px; top: 5px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft); pointer-events: none; }
.toolbar__sort .select { min-height: 48px; padding: 18px 34px 4px 12px; font-size: 0.9375rem; font-weight: 600; border-color: var(--ink); border-width: 2px; }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 10px; }
.active-filters ul { display: flex; flex-wrap: wrap; gap: 6px; }
.facets-panel { grid-column: 1 / -1; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.facets-panel__title { font-size: 1.1rem; }
@media (max-width: 989px) {
  .js .facets-panel:not(.is-open) { display: none; }
}
.facets { display: grid; gap: 16px; }
.facet { margin: 0; padding: 0; border: 0; min-width: 0; }
.facet__title { padding: 0; margin-bottom: 6px; font-weight: 700; }
.facet__values { display: grid; gap: 2px; }
.facet__link, .facet__check { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.facet__box { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; flex: none; border: 2px solid var(--ink); border-radius: 6px; background: var(--surface); }
.facet__link.is-active { font-weight: 700; }
.facet__link.is-active .facet__box { background: var(--ink); color: #fff; }
.facet__box .icon { width: 16px; height: 16px; }
.facet__check input { width: 22px; height: 22px; accent-color: var(--ink); flex: none; }
.facet__check.is-disabled { color: var(--ink-soft); }
.facet__price { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.facet__price label { display: grid; gap: 4px; font-size: 0.875rem; }
.facets__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.empty-state { padding: 24px 16px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--surface); text-align: center; }
.empty-state__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 12px 0 0; }
.empty-state__tips { display: inline-block; text-align: left; padding-left: 20px; margin-bottom: 4px; }
.pagination { margin-top: 20px; }
.pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); text-decoration: none; font-weight: 600; }
.pagination [aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.compare-table { width: 100%; min-width: 680px; font-size: 0.9375rem; }
.compare-table th, .compare-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table thead th { background: var(--well); font-size: 0.8125rem; letter-spacing: 0.03em; text-transform: uppercase; white-space: nowrap; }
.compare-table tbody th { position: sticky; left: 0; min-width: 150px; max-width: 200px; background: var(--surface); font-weight: 700; box-shadow: 1px 0 0 var(--line); }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding-block: 8px; font-weight: 700; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__answer { padding-bottom: 12px; }
.callout { display: grid; gap: 12px; padding: 16px; border-radius: 14px; background: var(--dept-tint); border-left: 6px solid var(--dept); }
.callout h2 { margin-bottom: 6px; }
.callout__note { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 0.9375rem; }
.link-list { border-top: 1px solid var(--line); }
.link-list a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; border-bottom: 1px solid var(--line); font-weight: 700; text-decoration: none; }
.search-group { padding-block: 14px; }
.search-page__count { font-weight: 700; }

/* ---------- Product page ---------- */
.product { display: grid; gap: 10px 16px; grid-template-areas: 'head' 'gallery' 'info'; }
.product__head { grid-area: head; min-width: 0; }
.product__gallery { grid-area: gallery; min-width: 0; }
.product__info { grid-area: info; min-width: 0; }
.product__head .product__title { margin-bottom: 0; }
.gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border: 1px solid var(--line); border-radius: var(--radius); background: var(--well); }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__item { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4 / 3; }
.gallery__zoom { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery__zoom img, .gallery__placeholder { width: 100%; height: 100%; object-fit: contain; }
.gallery__zoom-hint { position: absolute; right: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); font-size: 0.8125rem; font-weight: 700; }
.gallery__zoom-hint .icon { width: 16px; height: 16px; }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; padding: 2px; }
.gallery__thumb { width: 64px; height: 64px; padding: 0; flex: none; border: 2px solid var(--line); border-radius: var(--radius-sm); background: var(--well); overflow: hidden; }
.gallery__thumb.is-active { border-color: var(--ink); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.product__brand { margin: 0 0 2px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--dept); }
.product__title { margin-bottom: 8px; font-size: clamp(1.35rem, 5vw, 1.9rem); }
.product__price { margin: 8px 0 4px; font-size: 1.5rem; }
.product__sku { margin: 10px 0; font-size: 0.875rem; color: var(--ink-soft); }
.product__caution { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; font-size: 0.9375rem; font-weight: 600; }
.product__caution .icon { color: var(--warn); }
.fact-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; list-style: none; }
.fact-chips li { display: grid; padding: 5px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); font-size: 0.9375rem; font-weight: 700; line-height: 1.25; }
.fact-chips span { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft); }
.fits { display: grid; gap: 4px; margin: 10px 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-size: 0.9375rem; }
.fits p { display: flex; gap: 8px; align-items: flex-start; margin: 0; }
.fits__yes .icon { color: var(--ok); }
.fits__no .icon { color: var(--bad); }
.options { display: grid; gap: 12px; margin-top: 12px; }
.option { margin: 0; padding: 0; border: 0; min-width: 0; }
.option__label { padding: 0; margin-bottom: 6px; font-weight: 700; }
.option__label span { font-weight: 400; }
.option__values { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; }
.option-pill { position: relative; display: grid; align-content: center; gap: 1px; min-height: 56px; padding: 8px 12px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; line-height: 1.25; }
.option-pill input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.option-pill__name { font-weight: 700; }
.option-pill__price { font-size: 0.9375rem; }
.option-pill__state { font-size: 0.8125rem; font-weight: 700; color: var(--bad); }
.option-pill.is-selected, .option-pill:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); background: var(--well); }
.option-pill:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
.option-pill.is-unavailable { border-style: dashed; color: var(--ink-soft); }
.buy { margin-top: 12px; }
.buy__row { display: flex; gap: 8px; }
.buy__add { flex: 1; min-height: 52px; font-size: 1.0625rem; }
.buy__express { margin-top: 8px; }
.buy__alt { margin: 10px 0 0; font-size: 0.9375rem; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); }
.qty__btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 48px; border: 0; background: none; }
.qty__btn .icon { width: 18px; height: 18px; }
.qty__input { width: 44px; height: 48px; padding: 0; border: 0; background: none; text-align: center; font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.delivery { display: grid; gap: 8px; margin-top: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-size: 0.9375rem; }
.delivery__line { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.delivery .icon, .terms-list .icon { width: 20px; height: 20px; color: var(--action); margin-top: 1px; }
.delivery__line--dispatch { font-weight: 600; }
.delivery__map { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 10px 12px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--bg); color: var(--ink); font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.delivery__map span { flex: 1; min-width: 0; }
.delivery .delivery__map .icon { margin-top: 0; flex: none; }
.delivery__map:hover { border-color: var(--action); }
.delivery__map:focus-visible { outline: 3px solid var(--action); outline-offset: 2px; }

/* ---------- Delivery map dialog (snippets/tpx-delivery-dialog.liquid) ---------- */
dialog.ddlg { width: min(720px, calc(100vw - 24px)); max-width: none; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 0; border-radius: var(--radius); background: var(--bg); color: var(--ink); box-shadow: var(--shadow); overflow: auto; }
dialog.ddlg::backdrop { background: rgba(21, 48, 58, 0.5); }
.ddlg__sheet { padding: 14px 18px 18px; }
.ddlg__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ddlg__title { margin: 0; font-size: 1.25rem; }
.ddlg__head .icon-btn { margin-right: -10px; flex: none; }
.ddlg__sub { margin: 2px 0 12px; color: var(--ink-soft); font-size: 0.9375rem; }
.ddlg__pick { display: grid; gap: 4px; font-size: 0.9375rem; font-weight: 600; }
.ddlg__pick select { min-height: 46px; padding: 0 12px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font: inherit; font-weight: 400; }
.ddlg__result { min-height: 80px; margin: 12px 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.ddlg__result p { margin: 0; }
.ddlg__state { font-size: 1.0625rem; font-weight: 700; }
.ddlg__days { margin-top: 2px; }
.ddlg__when { margin-top: 4px; color: var(--action); font-weight: 600; }
.ddlg__hint { color: var(--ink-soft); }
.ddlg__note { margin: 10px 0 0; color: var(--ink-soft); font-size: 0.8125rem; }
.dmap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; }
.dmap__tile { aspect-ratio: 1; min-width: 0; padding: 0; border: 0; border-radius: 6px; color: var(--ink); font: inherit; font-size: 0.6875rem; font-weight: 700; cursor: pointer; }
.dmap--l0 { background: var(--well); color: var(--ink-soft); }
.dmap--l1 { background: #d9ede9; }
.dmap--l2 { background: #a3d2ca; }
.dmap--l3 { background: #4c9f94; color: #fff; }
.dmap--l4 { background: var(--action); color: #fff; }
.dmap--l5 { background: var(--ink); color: #fff; }
.dmap__tile--est { outline: 1.5px dashed var(--ink-soft); outline-offset: -4px; }
.dmap__tile--origin { box-shadow: inset 0 0 0 3px var(--ink); }
.dmap__tile[aria-pressed="true"] { position: relative; z-index: 1; outline: 3px solid var(--ink); outline-offset: 1px; }
.dmap__tile:focus-visible { outline: 3px solid var(--action); outline-offset: 2px; }
@media (hover: hover) { .dmap__tile:hover { filter: brightness(0.94); } }
.dmap__legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 12px 0 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: 0.8125rem; }
.dmap__legend li { display: inline-flex; align-items: center; gap: 6px; }
.dmap__sw { display: inline-block; width: 14px; height: 14px; border-radius: 4px; }
.dmap__sw--est { background: var(--surface); outline: 1.5px dashed var(--ink-soft); outline-offset: -2px; }
.dmap__sw--origin { background: var(--surface); box-shadow: inset 0 0 0 3px var(--ink); }
@media (max-width: 599px) {
  dialog.ddlg { width: 100%; margin: auto 0 0; border-radius: var(--radius) var(--radius) 0 0; }
  .dmap { gap: 2px; }
  .dmap__tile { border-radius: 4px; font-size: 0.5625rem; }
}
.terms-list { display: grid; gap: 6px; margin: 10px 0 12px; list-style: none; font-size: 0.875rem; }
.terms-list li { display: flex; gap: 8px; align-items: flex-start; }
.product-details { display: grid; gap: 8px; margin-top: 24px; }
.product-details__block { padding-block: 18px; border-top: 1px solid var(--line); }
.product-details__summary { font-size: 1.0625rem; max-width: 70ch; }
.product-details__vet { margin: 14px 0 0; color: var(--ink-soft); max-width: 70ch; }
.facts { display: grid; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.facts > div { display: grid; grid-template-columns: minmax(96px, 34%) 1fr; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; min-width: 0; }
.facts dd ul { padding-left: 18px; }
.product-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
dialog.zoom { width: 100vw; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--bg); }
.zoom__bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.zoom__stage { height: calc(100% - 62px); overflow: auto; display: flex; }
.zoom__stage img { margin: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.zoom__stage.is-zoomed { display: block; }
.zoom__stage.is-zoomed img { max-width: none; max-height: none; width: 200%; }

/* ---------- Cart ---------- */
.cart-notice:empty { display: none; }
.cart-notice { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; background: #e4f1ea; color: var(--ink); font-size: 0.9375rem; font-weight: 600; }
.cart-notice.is-error { background: #f9e3e3; }
.cart-empty { display: grid; gap: 10px; align-content: start; }
.cart-lines { display: grid; gap: 14px; }
.cart-line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: 'media info price' 'media controls controls'; gap: 6px 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cart-line__media { grid-area: media; width: 72px; height: 72px; border-radius: var(--radius-sm); background: var(--well); overflow: hidden; }
.cart-line__info { grid-area: info; min-width: 0; }
.cart-line__price { grid-area: price; }
.cart-line__media img { width: 100%; height: 100%; object-fit: contain; }
.cart-line__title { font-weight: 700; text-decoration: none; line-height: 1.25; }
.cart-line__info p { margin: 2px 0 0; font-size: 0.875rem; color: var(--ink-soft); }
.cart-line__info .cart-line__variant { color: var(--ink); font-weight: 600; }
.cart-line__discount { color: var(--bad) !important; }
.cart-line__controls { grid-area: controls; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cart-line__controls .qty__btn, .cart-line__controls .qty__input { height: 44px; }
.cart-line__price { display: grid; justify-items: end; align-content: start; font-weight: 700; }
.cart-line__price s, .cart-line__price small { font-weight: 400; font-size: 0.8125rem; color: var(--ink-soft); }
.cart-suggest { margin-top: 16px; padding: 12px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius); background: var(--surface); }
.cart-suggest__eyebrow { margin: 0 0 8px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft); }
.cart-suggest__row { display: flex; gap: 10px; margin-bottom: 10px; }
.cart-suggest__row img { width: 56px; height: 56px; object-fit: contain; border-radius: var(--radius-sm); background: var(--well); flex: none; }
.cart-suggest__info a { font-weight: 700; text-decoration: none; }
.cart-suggest__info p { margin: 2px 0 0; font-size: 0.875rem; }
.cart-suggest__reason { display: flex; gap: 4px; color: var(--ok); font-weight: 600; }
.cart-suggest__reason .icon { width: 16px; height: 16px; }
.cart-totals { margin: 0; display: grid; gap: 4px; }
.cart-totals > div { display: flex; justify-content: space-between; gap: 12px; }
.cart-totals dd { margin: 0; }
.cart-totals__saving { color: var(--bad); font-weight: 600; }
.cart-totals__subtotal { font-size: 1.2rem; font-weight: 700; }
.cart-summary__note { margin: 4px 0 0; font-size: 0.875rem; color: var(--ink-soft); }
.cart-summary__actions { display: grid; gap: 8px; }
.cart-page h1 { margin-top: 8px; }
.cart-page__layout { display: grid; gap: 20px; padding-bottom: 32px; }
.cart-page__summary { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); align-self: start; }
.cart-page__express { margin-top: 10px; }

/* ---------- Pages, guides ---------- */
.page { padding-bottom: 32px; }
.page > h1 { margin-top: 8px; }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 0.9em; }
.prose li { margin-bottom: 0.35em; }
.prose a { color: var(--action); font-weight: 600; }
.prose table { width: 100%; font-size: 0.9375rem; margin-bottom: 1em; }
.prose th, .prose td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.policy-facts { display: grid; margin: 12px 0 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; max-width: 820px; }
.policy-facts > div { display: grid; gap: 2px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.policy-facts > div:last-child { border-bottom: 0; }
.policy-facts dt { font-weight: 700; }
.policy-facts dd { margin: 0; }
.policy-facts a { color: var(--action); font-weight: 600; }
.store-details { margin-top: 24px; }
.contact { display: grid; gap: 24px; }
.contact__list { display: grid; gap: 12px; margin: 12px 0 16px; }
.contact__list li { display: flex; gap: 12px; align-items: flex-start; }
.contact__list .icon { color: var(--action); margin-top: 2px; }
.contact__list strong { display: block; }
.contact__form { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.steps { display: grid; gap: 12px; margin: 16px 0; list-style: none; counter-reset: step; }
.steps__item { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.steps__item h2 { display: flex; align-items: center; gap: 8px; font-size: 1.15rem; }
.steps__item h2 .icon { color: var(--action); }
.steps__item p:last-child { margin-bottom: 0; }
.help-grid { display: grid; gap: 10px; margin: 16px 0; }
.help-card { display: grid; grid-template-columns: 28px 1fr; gap: 2px 12px; align-items: start; min-height: 72px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; }
.help-card:hover { border-color: var(--ink); }
.help-card .icon { grid-row: span 2; color: var(--action); width: 26px; height: 26px; }
.help-card__title { font-weight: 700; }
.help-card__text { font-size: 0.9375rem; color: var(--ink-soft); }
.help-contact { font-weight: 600; }
.article__head { padding: 16px; margin-bottom: 16px; border-radius: 14px; background: var(--dept-tint); border-left: 6px solid var(--dept); }
.article__head h1 { max-width: 24ch; }
.byline { display: grid; gap: 6px; margin: 0; font-size: 0.9375rem; }
.byline > div { display: flex; flex-wrap: wrap; gap: 0 8px; }
.byline dt { font-weight: 700; }
.byline dt::after { content: ':'; }
.byline dd { margin: 0; }
.article__layout { display: grid; gap: 20px; }
.article__aside { display: grid; gap: 12px; align-content: start; }
.aside-card { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.aside-card h2 { font-size: 1.1rem; }
.aside-card p:last-child { margin-bottom: 0; }
.article__foot { margin-top: 24px; padding-top: 12px; border-top: 1px solid var(--line); padding-bottom: 24px; }
.password { display: grid; place-items: center; min-height: 100vh; }
.password__box { width: min(420px, 100%); padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 32px; padding-block: 28px 20px; background: var(--ink); color: #fff; }
.site-footer a { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
.site-footer__heading { margin-bottom: 8px; font-size: 1rem; }
.site-footer__col li { display: flex; align-items: flex-start; gap: 8px; }
.site-footer__col a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; }
.site-footer__col a:hover { text-decoration: underline; }
.site-footer__contact { grid-column: 1 / -1; }
.site-footer__contact li { min-height: 44px; align-items: center; }
.site-footer__contact .icon { width: 20px; height: 20px; }
.site-footer__legal { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.22); font-size: 0.875rem; }
.site-footer__policies { display: flex; flex-wrap: wrap; gap: 0 16px; }
.site-footer__policies a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer__payments { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.payment-icon { width: 38px; height: 24px; }

/* ---------- 600px and up ---------- */
@media (min-width: 600px) {
  :root { --gutter: 24px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .card__body { padding: 12px 14px 14px; }
  .subcats ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .help-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dept-entry__art { aspect-ratio: 16 / 8; }
  .gallery__item { aspect-ratio: 1 / 1; }
  .dept-entry__body { padding: 14px 16px 16px; }
  .dept-entry__label { font-size: 1.5rem; }
  .dept-entry__text { font-size: 1rem; }
  .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chip-row { flex-wrap: wrap; overflow: visible; }
}

/* ---------- 990px and up ---------- */
@media (min-width: 990px) {
  :root { --gutter: 32px; }
  .section { padding-block: 40px; }
  .hdr { grid-template-columns: auto minmax(320px, 1fr) auto; grid-template-areas: 'logo search actions'; gap: 40px; padding-block: 16px; }
  .hdr__menu { display: none; }
  .hdr__search { max-width: 640px; width: 100%; justify-self: center; }
  .hdr__actions { gap: 6px; margin-right: 0; }
  .hdr__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none; }
  .hdr__link:hover { background: var(--well); }
  .hdr__link .icon { width: 20px; height: 20px; }
  .wordmark { font-size: 1.75rem; }
  .primary-nav { display: block; border-top: 1px solid var(--line); }
  .primary-nav__list { display: flex; gap: 4px; }
  .primary-nav__item { position: relative; }
  .primary-nav__link { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px; font-weight: 700; text-decoration: none; border-bottom: 3px solid transparent; }
  .primary-nav__link .icon { width: 20px; height: 20px; }
  .primary-nav__link .icon--chevron-down { width: 16px; height: 16px; color: var(--ink-soft); }
  .primary-nav__item:first-child .primary-nav__link { padding-left: 0; }
  .primary-nav__link:hover, .primary-nav__link[aria-current] { border-bottom-color: var(--action); }
  .primary-nav__panel { display: none; position: absolute; z-index: 50; top: 100%; left: 0; min-width: 250px; padding: 8px; background: var(--surface); border: 1.5px solid var(--ink); border-radius: 0 var(--radius) var(--radius) var(--radius); box-shadow: var(--shadow); }
  .has-panel:hover .primary-nav__panel, .has-panel:focus-within .primary-nav__panel { display: block; }
  .primary-nav__panel a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--radius-sm); text-decoration: none; font-weight: 600; }
  .primary-nav__panel a:hover { background: var(--well); }
  .primary-nav__all a { color: var(--action); }
  .hero { padding-block: 32px 8px; }
  .hero__title { max-width: none; margin-bottom: 20px; }
  .dept-entries { gap: 20px; }
  .dept-entry { flex-direction: row; }
  .dept-entry__art { flex: 0 0 46%; aspect-ratio: auto; min-height: 220px; }
  .dept-entry__body { padding: 24px; align-content: center; gap: 8px; }
  .dept-entry__label { font-size: 1.9rem; }
  .spotlight { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; padding: 28px 32px; align-items: center; }
  .spotlight h2 { font-size: 2rem; }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .coll__results .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-grid--compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fact-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .guide-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .subcats ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .help-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .coll-head { padding: 22px 28px 24px; }
  .coll__layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; }
  .coll__controls { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 0; }
  .coll__filter-toggle { display: none; }
  .js .facets__actions [data-facets-apply] { display: none; }
  .js .facets__actions { grid-template-columns: 1fr; }
  .product { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-areas: 'gallery head' 'gallery info'; grid-template-rows: auto 1fr; gap: 12px 48px; align-items: start; }
  .product__gallery { position: sticky; top: 16px; }
  .gallery__item { aspect-ratio: 1 / 1; }
  .product-details { margin-top: 40px; }
  .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
  .article__layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
  .article__aside { position: sticky; top: 16px; }
  .article__head { padding: 28px; }
  .cart-page__layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; }
  .site-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .site-footer__contact { grid-column: auto; }
  dialog.zoom { width: min(1100px, 94vw); height: 92vh; margin: auto; border-radius: 16px; }
}
