:root {
  --ink: #3a342f;
  --text: #4a433d;
  --muted: #7a7168;
  --paper: #fffaf6;
  --line: rgba(90, 70, 50, 0.12);
  --blush: #e7cbb6;
  --sky: #8eafbe;
  --gold: #b98a62;
  --font: "Nunito", "Segoe UI", sans-serif;
  --display: "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  background: linear-gradient(180deg, #fbf8f4 0%, #eef5f6 46%, #f8f1ea 100%);
  min-height: 100vh;
}
body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
  filter: blur(2px);
}
body::before {
  width: 520px;
  height: 520px;
  left: -80px;
  top: 80px;
  background: radial-gradient(circle, rgba(255, 236, 214, 0.95), rgba(255, 236, 214, 0) 70%);
  animation: float-a 18s ease-in-out infinite alternate;
}
body::after {
  width: 460px;
  height: 460px;
  right: -60px;
  top: 40px;
  background: radial-gradient(circle, rgba(190, 220, 230, 0.85), rgba(190, 220, 230, 0) 68%);
  animation: float-b 22s ease-in-out infinite alternate;
}
img { max-width: 100%; display: block; }
a { color: #5d7d8a; }
button, input, select { font: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: 12px; top: -40px; background: #fff; padding: 8px 12px; z-index: 20; }
.skip:focus { top: 12px; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(46px, 6vw, 78px); line-height: 0.96; margin: 0 0 14px; font-style: italic; }
h2 { font-size: clamp(30px, 3vw, 44px); margin: 0 0 8px; font-style: italic; }
.kicker { margin: 0 0 10px; color: var(--gold); font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700; }
.lede { font-size: 18px; }

.site-header {
  position: relative;
  z-index: 5;
  margin: 16px auto 0;
  width: min(1120px, calc(100% - 28px));
  background: rgba(255, 252, 248, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(120, 96, 72, 0.08);
  backdrop-filter: blur(16px);
}
.header-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 18px 6px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-style: italic;
  font-size: 28px;
  line-height: 1;
}
.wordmark-name { display: block; line-height: 0.95; }
.wordmark small {
  display: block;
  margin-top: 3px;
  font-family: var(--font);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky);
}
.mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--blush));
  color: #6d5344;
  font-family: var(--display);
  font-style: italic;
  font-size: 16px;
  box-shadow: 0 0 0 6px rgba(231, 203, 182, 0.35);
  animation: halo 4.5s ease-in-out infinite;
}
.nav-toggle { display: none; }
.main-nav { display: flex; gap: 2px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.main-nav a, .chev {
  color: var(--ink);
  text-decoration: none;
  background: transparent;
  border: 0;
  padding: 8px 10px;
  cursor: pointer;
  font-size: 15px;
  border-radius: 0;
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.main-nav a:hover, .main-nav a.is-on, .chev:hover {
  color: #8a6244;
  border-bottom-color: var(--blush);
  background: transparent;
}
.nav-item { position: relative; display: flex; align-items: center; }
.sub {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 230px;
  max-height: 70vh;
  overflow: auto;
  background: rgba(255, 252, 248, 0.98);
  color: var(--ink);
  padding: 8px;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(90, 70, 50, 0.12);
}
.nav-item:hover .sub, .nav-item:focus-within .sub { display: grid; animation: rise 0.35s ease; }
.sub a { color: var(--ink); border-radius: 10px; }
.sub a:hover { background: #f6eee6; }
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 18px 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--muted);
}
.search svg { width: 18px; height: 18px; }
.search input { width: 100%; border: 0; background: transparent; color: var(--ink); padding: 11px 0; outline: none; }
.search input::placeholder { color: #a3988e; }
.cart-btn, .home-go, .reserve {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  background: linear-gradient(180deg, #f3e4d6, #e4c7b0);
  color: #4a3428;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.cart-btn:hover, .home-go:hover, .reserve:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(185, 138, 98, 0.28); }
.cart-count {
  min-width: 22px;
  height: 22px;
  border-radius: 99px;
  background: #fff;
  color: #6d5344;
  display: grid;
  place-items: center;
  font-size: 12px;
}

.brand-hero {
  width: min(1120px, calc(100% - 40px));
  margin: 36px auto 8px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero-copy { animation: rise 0.9s ease both; }
.brand-hero p { max-width: 520px; }
.hero-frame {
  margin: 0;
  position: relative;
  border-radius: 180px 180px 36px 36px;
  overflow: hidden;
  min-height: 460px;
  box-shadow: 0 30px 70px rgba(120, 96, 72, 0.16);
  animation: rise 1.1s ease both;
}
.hero-frame::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.45);
  pointer-events: none;
}
.hero-frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  animation: drift 20s ease-in-out infinite alternate;
}
.hero-frame figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 250, 246, 0.82);
  color: var(--ink);
  backdrop-filter: blur(8px);
  font-size: 13px;
}
.hero-facts { display: flex; gap: 22px; list-style: none; padding: 0; margin: 22px 0 0; }
.hero-facts li { display: grid; }
.hero-facts strong { font-family: var(--display); font-style: italic; font-size: 28px; color: var(--ink); }
.hero-facts span { color: var(--muted); font-size: 13px; }
.marquee { overflow: hidden; margin: 22px 0 28px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track {
  display: flex;
  gap: 36px;
  width: max-content;
  color: #8d7b6c;
  letter-spacing: 0.2em;
  text-transform: lowercase;
  font-family: var(--display);
  font-style: italic;
  font-size: 20px;
  animation: ticker 48s linear infinite;
}

.home-sheet, #catalog-view, .page-view, .product-view, .checkout-page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 36px;
  background: rgba(255, 252, 248, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 36px;
  box-shadow: 0 24px 60px rgba(120, 96, 72, 0.08);
  padding: 34px;
}
.home-steps ol { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: step; }
.home-steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 12px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  transition: transform 0.4s ease;
}
.home-steps li:hover { transform: translateY(-4px); }
.home-steps li::before {
  counter-increment: step;
  content: counter(step);
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f6eee6;
  color: var(--gold);
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
}
.home-steps strong, .home-steps span { grid-column: 2; }
.home-picks, .grid, .related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  animation: rise 0.7s ease both;
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}
.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.2s; }
.card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(120, 96, 72, 0.12); }
.photo { position: relative; aspect-ratio: 1; background: #f3ebe4; overflow: hidden; }
.photo img, #product-photo { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.card:hover .photo img { transform: scale(1.04); }
.photo-hit, .name-btn { border: 0; background: transparent; padding: 0; width: 100%; text-align: left; cursor: pointer; color: inherit; font: inherit; }
.card-copy { padding: 14px 16px 16px; }
.card-breed { margin: 0 0 4px; color: var(--muted); font-size: 13px; }
.name { margin: 0 0 8px; font-size: 28px; }
.price { margin: 0 0 10px; font-weight: 700; }
.regular { color: var(--muted); text-decoration: line-through; margin-right: 8px; font-weight: 400; }
.reserve { width: 100%; }
.reserve:disabled { background: #efe8e2; color: #7a7168; cursor: not-allowed; transform: none; box-shadow: none; }
.ribbon { position: absolute; top: 12px; left: 12px; background: rgba(255, 250, 246, 0.9); color: var(--ink); border-radius: 999px; padding: 4px 10px; font-size: 12px; }
.story-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin-top: 26px; }
.story-card { background: rgba(255, 255, 255, 0.8); border-radius: 24px; padding: 18px; border: 1px solid var(--line); transition: transform 0.4s ease; }
.story-card:hover { transform: translateY(-4px); }
.story-plain { background: linear-gradient(180deg, #f7f3ee, #e7f1f4); }
.story-plain h2, .story-plain .kicker { color: var(--ink); }
.text-link { font-weight: 700; }
.band { margin-bottom: 8px; }
.crumbs { color: var(--muted); margin-bottom: 12px; }
.crumbs a { text-decoration: none; font-weight: 700; }
.shop { display: block; }
.filters { display: grid; grid-template-columns: 1.4fr 1fr 0.8fr 0.9fr; gap: 12px; margin: 8px 0 16px; }
.filters h2, .clear-filters { grid-column: 1 / -1; }
#category-list { max-height: 150px; overflow: auto; }
.filter { background: rgba(255, 255, 255, 0.75); border-radius: 16px; padding: 0 12px; border: 1px solid var(--line); }
.filter-toggle { width: 100%; text-align: left; background: transparent; border: 0; padding: 12px 0; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; color: var(--ink); }
.filter-toggle span::before { content: "+"; }
.filter.open .filter-toggle span::before { content: "–"; }
.filter-body { display: none; padding-bottom: 10px; }
.filter.open .filter-body { display: block; }
.cat-option, .checks label { display: flex; gap: 8px; align-items: center; margin: 6px 0; }
.range-wrap { display: grid; gap: 8px; }
.clear-filters, .details-link { background: transparent; border: 0; color: #5d7d8a; cursor: pointer; padding: 0; font-weight: 700; }
.toolbar { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 12px; }
select, .checkout input, .checkout select { border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 12px 14px; color: var(--ink); }
.grid { grid-template-columns: repeat(3, 1fr); }
.pager { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 16px; }
.pager button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; cursor: pointer; color: var(--ink); }
.reason-grid, .note-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.reason-grid section, .note, .story { background: rgba(255, 255, 255, 0.8); border-radius: 20px; padding: 16px; border: 1px solid var(--line); }
.story { margin: 12px 0; }
.note p { margin: 0 0 8px; }
.who { color: var(--muted); font-size: 14px; }
.faq-list details { background: rgba(255, 255, 255, 0.8); border-radius: 16px; padding: 12px 16px; margin: 8px 0; border: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-weight: 700; }
.product-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 22px; }
#product-photo { border-radius: 28px; height: auto; max-height: 640px; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; overflow: auto; }
.thumb { border: 2px solid transparent; padding: 0; border-radius: 14px; background: transparent; cursor: pointer; }
.thumb.on { border-color: var(--blush); }
.thumb img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; }
.product-video video { width: 100%; max-height: 520px; border-radius: 28px; margin-top: 12px; background: #f3ebe4; }
.spec-grid { display: grid; grid-template-columns: 180px 1fr; gap: 8px 12px; }
.product-block { margin-top: 20px; }
.pay-note { color: var(--muted); }

.checkout-page h1 { max-width: 14ch; }
#cart-body { margin-top: 18px; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 16px 28px; align-items: start; }
.empty-cart { grid-column: 1 / -1; font-family: var(--display); font-style: italic; font-size: 28px; }
.cart-row, .cart-total, .pay-note { grid-column: 1; }
.checkout { grid-column: 2; grid-row: 1 / span 12; }
.cart-row, .cart-total { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.cart-row { background: #fff; border-radius: 18px; padding: 10px; border: 1px solid var(--line); }
.cart-row img { width: 72px; height: 72px; object-fit: cover; border-radius: 14px; }
.cart-row button { border: 0; background: transparent; color: #8a6244; cursor: pointer; font-weight: 700; }
.cart-total { font-family: var(--display); font-size: 28px; font-style: italic; }
.checkout { display: grid; gap: 10px; background: rgba(255, 255, 255, 0.7); border-radius: 24px; padding: 16px; border: 1px solid var(--line); }
.checkout label { display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.checkout-page.is-placed {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 8px 0 48px;
}
.checkout-page.is-placed #cart-body { display: block; margin-top: 0; }
.receipt {
  width: min(720px, 100%);
  margin: 0 auto;
  text-align: center;
  animation: rise 0.7s ease both;
}
.receipt h1 {
  max-width: 16ch;
  margin: 0 auto 12px;
  font-size: clamp(42px, 5vw, 64px);
}
.receipt-seal {
  width: 72px;
  height: 72px;
  margin: 8px auto 16px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff, #f3e4d4 55%, #e7cbb6);
  box-shadow: 0 0 0 10px rgba(231, 203, 182, 0.35), 0 16px 40px rgba(120, 96, 72, 0.12);
  position: relative;
  animation: halo 4.5s ease-in-out infinite;
}
.receipt-seal::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 22px;
  width: 14px;
  height: 24px;
  border: solid #6d5344;
  border-width: 0 2px 2px 0;
  transform: rotate(40deg);
}
.receipt-note {
  max-width: 36rem;
  margin: 0 auto 22px;
  font-size: 18px;
}
.receipt-sheet {
  text-align: left;
  background: #fffdfb;
  border: 8px solid #d7e8ec;
  border-radius: 32px;
  box-shadow: inset 0 0 0 1px rgba(185, 138, 98, 0.45), 0 24px 60px rgba(120, 96, 72, 0.1);
  padding: 28px 26px 18px;
  position: relative;
  overflow: hidden;
}
.receipt-sheet::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6px;
  background: linear-gradient(90deg, #f6ebe3, #8eafbe, #f6ebe3);
}
.receipt-head {
  display: grid;
  grid-template-columns: 1fr 176px;
  gap: 18px;
  align-items: start;
}
.receipt-title {
  margin: 0 0 14px;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 0.95;
  color: var(--ink);
}
.receipt-portrait {
  margin: 0;
  justify-self: end;
  width: 164px;
  padding: 8px 8px 10px;
  background: linear-gradient(180deg, #fff, #f6ebe3);
  border-radius: 42px;
  box-shadow: 0 16px 36px rgba(142, 175, 190, 0.28);
}
.receipt-portrait img {
  width: 148px;
  height: 136px;
  object-fit: cover;
  border-radius: 34px;
}
.receipt-portrait figcaption {
  margin-top: 8px;
  text-align: center;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.35;
}
.receipt-meta {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px 28px;
  margin: 8px 0 16px;
}
.receipt-meta p {
  display: grid;
  gap: 3px;
  margin: 0;
  min-width: 0;
}
.receipt-totals p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
}
.receipt-meta span, .receipt-totals span:first-child, .receipt-mail {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.receipt-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.receipt-line strong { display: block; font-family: var(--display); font-size: 22px; font-weight: 500; color: var(--ink); }
.receipt-line span { color: var(--muted); font-size: 14px; }
.receipt-line em { font-style: normal; font-weight: 700; }
.receipt-totals { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.receipt-totals p { padding: 4px 0; }
.receipt-due { font-family: var(--display); font-style: italic; font-size: 28px; color: var(--ink); }
.receipt-due span { letter-spacing: 0; text-transform: none; font-size: inherit; color: inherit; }
.receipt-mail { margin: 14px 0 4px; letter-spacing: 0.04em; text-transform: none; font-size: 14px; }
.receipt-return { margin-top: 18px; }
.quote-page { margin-top: 28px; }
.quote-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.quote-list li { margin: 0; }
.quote-list blockquote {
  margin: 0;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 14px 16px;
}
.quote-list p { margin: 0; }
.quote-list span { display: block; margin-bottom: 4px; color: var(--gold); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }

.site-footer {
  margin-top: 10px;
  padding: 8px 0 48px;
  color: var(--text);
}
.footer-stack {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 6px 32px;
  text-align: left;
  padding: 28px 8px 8px;
  border-top: 1px solid rgba(185, 138, 98, 0.35);
}
.footer-brand { font-family: var(--display); font-style: italic; font-size: 40px; margin: 0; color: var(--ink); }
.footer-links { display: flex; flex-wrap: wrap; align-content: start; gap: 8px 18px; margin: 8px 0; }
.site-footer a { color: #5d7d8a; text-decoration: none; }
.site-footer a:hover { color: #8a6244; }
.footer-meta { grid-column: 1 / -1; color: var(--gold); margin: 8px 0 0; letter-spacing: 0.08em; }
.roll-up { position: fixed; right: 16px; bottom: 16px; z-index: 4; border: 0; border-radius: 999px; background: #fffaf6; color: var(--ink); padding: 10px 14px; cursor: pointer; box-shadow: 0 10px 24px rgba(120, 96, 72, 0.16); }
.form-error { color: #8a3d3d; min-height: 1.2em; margin: 0; }
[hidden] { display: none !important; }

@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.05) translateY(-8px); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes halo { 0%, 100% { box-shadow: 0 0 0 6px rgba(231, 203, 182, 0.28); } 50% { box-shadow: 0 0 0 12px rgba(190, 220, 230, 0.35); } }
@keyframes float-a { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(40px, 30px, 0); } }
@keyframes float-b { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-36px, 24px, 0); } }

@media (max-width: 900px) {
  body { overflow-x: clip; }
  .wrap, .brand-hero, .home-sheet, #catalog-view, .page-view, .product-view, .checkout-page { width: min(1120px, calc(100% - 20px)); }
  .site-header {
    position: sticky;
    top: 8px;
    width: min(1120px, calc(100% - 16px));
    border-radius: 22px;
  }
  .site-header:has(.main-nav.open) { position: relative; }
  .header-wrap, .brand-hero, .product-layout, .story-row, .reason-grid, .note-list, .filters, .home-steps ol, #cart-body, .footer-stack { grid-template-columns: 1fr; }
  .checkout { grid-column: 1; grid-row: auto; }
  .receipt-meta, .receipt-head { grid-template-columns: 1fr; }
  .receipt-portrait { justify-self: start; }
  .home-picks, .grid, .related { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    grid-column: 1 / -1;
    padding: 4px 0 8px;
  }
  .main-nav.open a, .main-nav.open .chev { min-height: 44px; display: inline-flex; align-items: center; }
  .header-wrap {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    padding: 10px 12px 4px;
  }
  .wordmark { font-size: 22px; min-width: 0; }
  .wordmark small { letter-spacing: 0.08em; }
  .mark { width: 36px; height: 36px; flex: none; box-shadow: 0 0 0 4px rgba(231, 203, 182, 0.35); }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 12px;
  }
  .cart-btn { min-height: 40px; padding: 0 12px; font-size: 14px; }
  .sub { position: static; min-width: 0; box-shadow: none; padding: 0 0 8px 12px; }
  .search { margin: 4px 12px 12px; }
  .hero-frame, .hero-frame img { min-height: 0; height: 320px; border-radius: 96px 96px 24px 24px; }
  .hero-facts { flex-wrap: wrap; }
  .home-sheet, #catalog-view, .page-view, .product-view, .checkout-page { padding: 22px 16px; border-radius: 24px; }
  .toolbar { align-items: flex-start; }
  .filter-toggle, .pager button, .cat-option, .checks label { min-height: 44px; }
  .spec-grid { grid-template-columns: 1fr; }
  .spec-grid div { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 6px; align-items: baseline; }
  .checkout input, .checkout select, .search input, select { font-size: 16px; }
  .cart-row { align-items: flex-start; }
  .cart-row p { flex: 1; min-width: 0; margin: 0; }
  .receipt-sheet { padding: 20px 16px 12px; }
  .receipt-line strong { font-size: 20px; }
}
@media (max-width: 520px) {
  .header-wrap {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "brand brand" "menu cart";
  }
  .wordmark { grid-area: brand; font-size: 26px; }
  .nav-toggle { grid-area: menu; justify-self: start; }
  .cart-btn { grid-area: cart; justify-self: end; }
  .main-nav.open { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  h1 { font-size: clamp(36px, 11vw, 48px); }
  .home-picks, .grid, .related { gap: 10px; }
  .card { border-radius: 18px; }
  .card-copy { padding: 10px 10px 12px; }
  .card-breed { font-size: 12px; line-height: 1.35; }
  .name { font-size: 20px; line-height: 1.15; }
  .reserve { font-size: 14px; padding: 0 8px; }
  .footer-brand { font-size: 32px; }
  .receipt h1, .receipt-due, .cart-total { font-size: 32px; }
  .quote-list blockquote { padding: 12px; }
}
@media (hover: none) {
  .card:hover, .cart-btn:hover, .home-go:hover, .reserve:hover, .story-card:hover { transform: none; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
