/* =========================================================
   1. TOKENS
   ========================================================= */
:root {
  --black: #000;
  --ink: #1F1B18;          /* warm near-black for dark bands */
  --white: #fff;
  --char: #2B2724;         /* warm dark grey */
  --stone: #6B625B;
  --line: #E5DCCD;
  --paper: #F6F0E6;        /* warm paper background */
  --beige: #EDE3D3;
  --kraft: #D8C3A0;        /* kraft-bag brown */
  --amber: #D9912B;
  --amber-lt: #F4DDB4;
  --ok: #2F7D4F;

  --f-display: "Bricolage Grotesque", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, sans-serif;
  --f-hand: "Caveat", "Comic Sans MS", cursive;

  --wrap: 1240px;
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 28px;
  --r-pill: 999px;
}

/* =========================================================
   2. BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; font-family: var(--f-body); font-size: 1rem; line-height: 1.6; color: var(--black); background: var(--white); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
svg { display: block; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.06; margin: 0 0 .5em; letter-spacing: -.025em; }
p { margin: 0 0 1em; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--black); color: var(--white); padding: 10px 16px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }

/* Hand-written note — used sparingly, like a baker's pencil note */
.hand { font-family: var(--f-hand); font-weight: 600; font-size: 1.6rem; line-height: 1.1; color: var(--char); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 28px; white-space: nowrap;
  border: 2px solid var(--black); border-radius: var(--r-pill);
  font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, transform .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { background: var(--char); }
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: var(--black); color: var(--white); }
.btn-amber { background: var(--amber); border-color: var(--black); color: var(--black); }
.btn-amber:hover { background: var(--amber-lt); }
.btn-light { background: var(--white); border-color: var(--white); color: var(--black); }

.section { padding-block: 96px; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; margin: 0; max-width: 18ch; }
.section-head p { color: var(--stone); margin: 10px 0 0; max-width: 52ch; font-size: 1.05rem; }
.text-link { font-weight: 700; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.text-link:hover { color: var(--amber); }

/* Photos: warm placeholder while loading, so the page never flashes white boxes */
.ph { background: var(--beige); overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   3. PROMO BAR
   ========================================================= */
.promo-bar { background: var(--black); color: var(--white); font-size: .875rem; }
.promo-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.promo-row p { margin: 0; }
.promo-row a { color: var(--amber-lt); font-weight: 700; }
.promo-links { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.promo-links a { color: var(--white); font-weight: 500; text-decoration: none; }
.promo-links a:hover { text-decoration: underline; }
@media (max-width: 700px) { .promo-links { display: none; } .promo-row { justify-content: center; text-align: center; padding-block: 8px; } }

/* =========================================================
   4. HEADER + MEGA MENU
   ========================================================= */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 78px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; flex-shrink: 0; }
.logo-dogs { height: 52px; width: auto; transform-origin: 50% 90%; transition: transform .3s; }
.logo:hover .logo-dogs { transform: rotate(-5deg); }
.logo-word { height: 34px; width: auto; }
@media (max-width: 460px) { .logo-dogs { height: 42px; } .logo-word { height: 27px; } }

.main-nav > ul { display: flex; list-style: none; margin: 0; padding: 0; }
.nav-link { display: flex; align-items: center; gap: 6px; height: 78px; padding: 0 14px; background: none; border: 0; cursor: pointer; text-decoration: none; font-weight: 700; font-size: .98rem; border-bottom: 3px solid transparent; white-space: nowrap; }
.nav-link:hover, .nav-link[aria-expanded="true"] { border-bottom-color: var(--amber); }
.nav-link .chev { transition: transform .15s; }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-top: 1px solid var(--line); border-bottom: 2px solid var(--black); box-shadow: 0 24px 40px -24px rgba(0,0,0,.4); display: none; }
.mega.is-open { display: block; animation: drop .18s ease-out; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1.5fr; gap: 32px; padding-block: 32px; }
.mega h3 { font-family: var(--f-body); font-size: .875rem; font-weight: 700; color: var(--stone); letter-spacing: 0; margin-bottom: 12px; }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega ul a { display: block; padding: 6px 0; text-decoration: none; font-weight: 500; }
.mega ul a:hover { color: var(--amber); text-decoration: underline; text-underline-offset: 4px; }
.mega-promo { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; text-decoration: none; color: var(--white); min-height: 210px; }
.mega-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mega-promo:hover img { transform: scale(1.05); }
.mega-promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.75), transparent 60%); }
.mega-promo div { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; }
.mega-promo strong { display: block; font-family: var(--f-display); font-size: 1.35rem; line-height: 1.1; margin-top: 6px; }

.sticker { display: inline-block; font-size: .78rem; font-weight: 700; padding: 4px 11px; border-radius: var(--r-pill); background: var(--black); color: var(--white); transform: rotate(-3deg); }
.sticker-amber { background: var(--amber); color: var(--black); }

.header-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.search { display: flex; align-items: center; background: var(--paper); border: 2px solid transparent; border-radius: var(--r-pill); padding: 0 6px 0 16px; height: 46px; }
.search:focus-within { border-color: var(--black); background: var(--white); }
.search input { border: 0; outline: 0; background: transparent; width: 200px; }
.search button { border: 0; background: none; padding: 8px; cursor: pointer; }
.icon-btn { position: relative; flex-shrink: 0; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: var(--beige); }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; background: var(--amber); color: var(--black); border-radius: var(--r-pill); font-size: .72rem; font-weight: 700; }
.bump { animation: bump .45s ease; }
@keyframes bump { 30% { transform: scale(1.25) rotate(-8deg); } 60% { transform: scale(.95) rotate(4deg); } }
.menu-toggle { display: none; }

@media (max-width: 1280px) { .search input { width: 120px; } .nav-link { padding: 0 10px; } .header-row { gap: 16px; } }
@media (max-width: 1140px) {
  .menu-toggle { display: grid; }
  .header-row { flex-wrap: wrap; gap: 6px; padding-block: 10px; min-height: 0; }
  .header-tools { display: contents; }
  #account-link { order: 1; margin-left: auto; }
  #cart-btn { order: 2; }
  .menu-toggle { order: 3; }
  .search { order: 4; width: 100%; margin-top: 4px; }
  .search input { width: 100%; }
  .main-nav { order: 5; width: 100%; display: none; }
  .main-nav.is-open { display: block; }
  .main-nav > ul { flex-direction: column; padding-bottom: 8px; }
  .nav-link { height: auto; width: 100%; padding: 14px 4px; border-bottom: 1px solid var(--line); justify-content: space-between; }
  .nav-link:hover, .nav-link[aria-expanded="true"] { border-bottom-color: var(--line); }
  .mega { position: static; box-shadow: none; border: 0; }
  .mega-grid { grid-template-columns: 1fr 1fr; gap: 20px; padding: 16px 4px; }
  .mega-promo { grid-column: 1 / -1; min-height: 180px; }
}

/* =========================================================
   5. HERO — real photo, hand note, spinning "fresh" sticker
   ========================================================= */
.hero { background: var(--paper); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; padding-block: 56px 72px; }
.hero h1 { font-size: clamp(2.7rem, 6vw, 5.2rem); font-weight: 800; max-width: 11ch; margin-bottom: 22px; }
.hero-lede { font-size: 1.2rem; color: var(--char); max-width: 42ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 30px; }
.hero-note svg { width: 54px; height: 34px; flex-shrink: 0; }

.hero-photo { position: relative; }
.hero-photo .ph { aspect-ratio: 5 / 4; border-radius: var(--r-lg); border: 3px solid var(--black); box-shadow: 10px 10px 0 var(--black); }
.hero-photo img { animation: slowzoom 18s ease-in-out infinite alternate; }
@keyframes slowzoom { to { transform: scale(1.06); } }

/* rotating circular sticker */
.fresh-badge { position: absolute; left: -38px; bottom: -34px; width: 140px; height: 140px; border-radius: 50%; background: var(--amber); border: 3px solid var(--black); display: grid; place-items: center; }
.fresh-badge svg.ring { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 16s linear infinite; }
.fresh-badge svg.bone { width: 46px; height: 46px; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 32px 64px; }
  .hero-photo { margin-right: 10px; }
  .fresh-badge { width: 108px; height: 108px; left: auto; right: -6px; bottom: -40px; }
  .fresh-badge svg.bone { width: 36px; height: 36px; }
}

/* =========================================================
   6. INGREDIENT TICKER (moving strip)
   ========================================================= */
.ticker { background: var(--black); color: var(--white); overflow: hidden; border-block: 3px solid var(--black); }
.ticker-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.ticker li { display: flex; align-items: center; gap: 28px; padding: 16px 0 16px 28px; font-family: var(--f-display); font-size: 1.35rem; font-weight: 600; white-space: nowrap; }
.ticker li::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   7. SHOP BY NEED — photo circles
   ========================================================= */
.needs-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; list-style: none; margin: 0; padding: 0; }
.need { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; background: none; border: 0; cursor: pointer; text-align: center; font-weight: 700; font-size: 1.02rem; }
.need .ph { width: 100%; max-width: 170px; aspect-ratio: 1; border-radius: 50%; border: 3px solid transparent; transition: border-color .2s, transform .2s; }
.need img { transition: transform .4s; }
.need:hover .ph { border-color: var(--black); transform: rotate(-3deg); }
.need:hover img { transform: scale(1.1); }
.need small { display: block; font-weight: 400; color: var(--stone); font-size: .85rem; margin-top: 2px; }
@media (max-width: 860px) { .needs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 14px; } }

/* =========================================================
   8. PRODUCTS — hover swaps to a second photo
   ========================================================= */
.shop { background: var(--paper); }
.filters { display: flex; gap: 8px; margin-bottom: 28px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.chip { flex-shrink: 0; min-height: 42px; padding: 0 18px; border: 2px solid var(--black); border-radius: var(--r-pill); background: var(--white); font-weight: 500; cursor: pointer; transition: background-color .15s; }
.chip:hover { background: var(--amber-lt); }
.chip[aria-pressed="true"] { background: var(--black); color: var(--white); }

.product-grid { display: grid; gap: 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }

.product { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--r-md); overflow: hidden; border: 2px solid transparent; transition: border-color .2s, transform .2s, box-shadow .2s; }
.product:hover { border-color: var(--black); transform: translateY(-4px); box-shadow: 6px 6px 0 var(--black); }
.product[hidden] { display: none; }
.product .sticker { position: absolute; top: 14px; left: 12px; z-index: 2; }
.product-media { position: relative; margin: 0; aspect-ratio: 1; }
.product-media img { position: absolute; inset: 0; transition: opacity .35s, transform .6s; }
.product-media .alt { opacity: 0; }
.product:hover .product-media .alt { opacity: 1; }
.product:hover .product-media img { transform: scale(1.04); }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.product-kind { font-size: .82rem; color: var(--stone); margin: 0 0 4px; }
.product h3 { font-size: 1.2rem; margin-bottom: 8px; }
.rating { display: flex; align-items: center; gap: 8px; font-size: .875rem; color: var(--stone); margin-bottom: 16px; }
.stars { --rating: 5; position: relative; display: inline-block; font-size: .95rem; line-height: 1; letter-spacing: 2px; color: #D5CCC0; }
.stars::before { content: "★★★★★"; }
.stars::after { content: "★★★★★"; position: absolute; inset: 0; width: calc(var(--rating) / 5 * 100%); overflow: hidden; color: var(--amber); }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.price { font-family: var(--f-display); font-size: 1.5rem; font-weight: 800; margin: 0; }
.product .btn { min-height: 44px; padding: 0 18px; font-size: .92rem; }
.add-btn.is-added { background: var(--ok); border-color: var(--ok); }
.empty-state { padding: 36px; text-align: center; border: 2px dashed var(--stone); border-radius: var(--r-lg); background: var(--white); }
@media (max-width: 600px) {
  .product-body { padding: 14px; }
  .product h3 { font-size: 1rem; }
  .product-kind { font-size: .75rem; }
  .rating { flex-wrap: wrap; gap: 2px 6px; font-size: .8rem; }
  .product-foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .product .btn { width: 100%; }
  .product:hover { transform: none; box-shadow: none; }
}

/* =========================================================
   9. OUR KITCHEN — taped polaroids
   ========================================================= */
.kitchen-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.polaroids { position: relative; min-height: 520px; }
#about { overflow-x: clip; }
.polaroid { position: absolute; background: var(--white); padding: 12px 12px 14px; box-shadow: 0 14px 30px -12px rgba(0,0,0,.35); transition: transform .3s; }
.polaroid .ph { aspect-ratio: 4 / 5; }
.polaroid figcaption { font-family: var(--f-hand); font-weight: 600; font-size: 1.45rem; text-align: center; margin-top: 8px; }
.polaroid::before { content: ""; position: absolute; top: -12px; left: 50%; width: 90px; height: 26px; transform: translateX(-50%) rotate(-4deg); background: rgba(216, 195, 160, .8); }
.polaroid.p1 { width: 58%; left: 0; top: 0; transform: rotate(-4deg); }
.polaroid.p2 { width: 54%; right: 16px; top: 150px; transform: rotate(5deg); }
.polaroid:hover { transform: rotate(0) scale(1.03); z-index: 2; }
.kitchen-copy h2 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; }
.kitchen-copy p { font-size: 1.1rem; color: var(--char); max-width: 52ch; }
.promise { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 14px; }
.promise li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; }
.promise svg { width: 34px; height: 34px; }
.promise strong { display: block; }
.promise span { color: var(--stone); }
@media (max-width: 860px) {
  .kitchen-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .polaroids { min-height: 0; height: 110vw; max-height: 520px; }
}

/* =========================================================
   10. LOCAL DELIVERY
   ========================================================= */
.local { background: var(--ink); color: var(--white); overflow: hidden; }
.local-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.local h2 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; }
.local-lede { color: #D8CFC2; font-size: 1.1rem; max-width: 48ch; }
.local-photo { position: relative; margin-top: 32px; }
.local-photo .ph { aspect-ratio: 16 / 10; border-radius: var(--r-lg); }
.local-photo .hand { position: absolute; right: 18px; bottom: -18px; background: var(--amber); color: var(--black); padding: 6px 16px; border-radius: var(--r-sm); transform: rotate(-4deg); font-size: 1.5rem; }

.zip-card { background: var(--white); color: var(--black); border-radius: var(--r-lg); padding: 32px; }
.zip-card > h3 { font-size: 1.7rem; }
.zip-card > p { color: var(--stone); }
.steps { list-style: none; padding: 0; margin: 0 0 24px; counter-reset: step; display: grid; gap: 12px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: center; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--amber); font-family: var(--f-display); font-weight: 800; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 700; font-size: .875rem; }
.field input, .field select { height: 52px; padding: 0 14px; border: 2px solid var(--black); border-radius: var(--r-sm); background: var(--white); min-width: 0; }
.zip-row { display: flex; gap: 10px; }
.zip-row input { flex: 1; min-width: 0; }
.zip-result { margin-top: 4px; padding: 14px 16px; border-radius: var(--r-sm); font-weight: 500; }
.zip-result.is-yes { background: #E6F2EA; color: var(--ok); }
.zip-result.is-no { background: var(--beige); color: var(--char); }
.inquiry { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 20px; }
.inquiry[hidden] { display: none; }
.inquiry h4 { font-family: var(--f-display); font-size: 1.2rem; margin: 0 0 12px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 12px; }
.form-note { font-size: .875rem; color: var(--stone); margin: 10px 0 0; }
@media (max-width: 860px) { .local-grid, .two-col { grid-template-columns: minmax(0, 1fr); gap: 36px; } .two-col { gap: 0; } }
@media (max-width: 460px) { .zip-row { flex-direction: column; } .zip-card { padding: 22px; } }

/* =========================================================
   11. ARTICLES
   ========================================================= */
.articles { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; list-style: none; margin: 0; padding: 0; }
.article a { display: block; text-decoration: none; }
.article .ph { aspect-ratio: 4 / 3; border-radius: var(--r-md); margin-bottom: 16px; }
.article:first-child .ph { aspect-ratio: 4 / 3.1; }
.article img { transition: transform .5s; }
.article a:hover img { transform: scale(1.05); }
.article-kind { font-size: .82rem; font-weight: 700; color: var(--amber); margin: 0 0 6px; }
.article h3 { font-size: 1.35rem; margin-bottom: 8px; }
.article:first-child h3 { font-size: 1.7rem; }
.article a:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.article p { color: var(--stone); margin: 0; }
@media (max-width: 860px) { .articles { grid-template-columns: minmax(0, 1fr); } }

/* =========================================================
   12. PACK CLUB
   ========================================================= */
.club { background: var(--amber); position: relative; overflow: hidden; }
.club-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.club-photo .ph { aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--black); max-width: 460px; }
.club h2 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; }
.club-lede { font-size: 1.1rem; max-width: 44ch; }
.club-form { background: var(--white); border-radius: var(--r-lg); padding: 28px; border: 3px solid var(--black); box-shadow: 8px 8px 0 var(--black); margin-top: 24px; }
.club-form .btn { width: 100%; margin-top: 4px; }
.club-done { font-weight: 700; margin: 0; }
.fine { font-size: .8rem; color: var(--stone); margin: 12px 0 0; }
@media (max-width: 860px) { .club-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } .club-photo .ph { max-width: 280px; margin-inline: auto; } }

/* =========================================================
   13. FOOTER
   ========================================================= */
.site-footer { background: var(--ink); color: var(--white); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer-logo { display: inline-block; background: var(--white); border-radius: var(--r-md); padding: 14px 18px; }
.footer-logo img { width: 150px; height: auto; }
.footer-brand p { color: #D8CFC2; margin-top: 16px; max-width: 34ch; }
.site-footer h2 { font-family: var(--f-body); font-size: 1rem; font-weight: 700; margin-bottom: 14px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: #E4DDD3; }
.site-footer a:hover { color: var(--amber-lt); text-decoration: underline; }
.site-footer address { font-style: normal; color: #E4DDD3; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #5A534D; border-radius: 50%; }
.socials a:hover { border-color: var(--amber); }
.footer-sign { font-family: var(--f-hand); font-size: 1.7rem; color: var(--amber-lt); margin-top: 18px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding-block: 22px; border-top: 1px solid var(--char); font-size: .875rem; color: #A8A098; }
.footer-base p { margin: 0; }
.legal { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; }
.legal a { color: #A8A098 !important; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* =========================================================
   14. CART + TOAST
   ========================================================= */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 60; }
.overlay[hidden] { display: none; }
.cart { position: fixed; top: 0; right: 0; z-index: 70; width: min(420px, 100%); height: 100dvh; display: flex; flex-direction: column; background: var(--white); transform: translateX(100%); visibility: hidden; transition: transform .3s cubic-bezier(.2,.8,.2,1), visibility .3s; }
.cart.is-open { transform: translateX(0); visibility: visible; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-size: 1.6rem; margin: 0; }
.cart-items { flex: 1; overflow-y: auto; list-style: none; margin: 0; padding: 8px 20px; }
.cart-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item .ph { width: 64px; height: 64px; border-radius: var(--r-sm); grid-row: span 2; }
.cart-item .qty { grid-column: 2; }
.qty { display: flex; align-items: center; gap: 8px; }
.qty button { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--black); background: var(--white); cursor: pointer; font-weight: 700; line-height: 1; }
.cart-empty { padding: 28px 0; color: var(--stone); }
.cart-foot { padding: 20px; border-top: 1px solid var(--line); background: var(--paper); }
.ship-bar { height: 8px; border-radius: var(--r-pill); background: var(--line); overflow: hidden; margin: 8px 0 14px; }
.ship-bar span { display: block; height: 100%; background: var(--amber); width: 0; transition: width .35s; }
.subtotal { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.1rem; }
.ship-note { font-size: .875rem; color: var(--stone); margin: 6px 0 0; }
.cart-foot .btn { width: 100%; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 200%); visibility: hidden; background: var(--black); color: var(--white); padding: 12px 20px; border-radius: var(--r-pill); font-weight: 500; transition: transform .3s cubic-bezier(.2,.8,.2,1), visibility .3s; }
.toast.is-shown { transform: translate(-50%, 0); visibility: visible; }

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

/* =========================================================
   15. CATEGORY LINK PILLS (homepage, category pages)
   ========================================================= */
.cat-links { display: flex; gap: 8px; margin-bottom: 28px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.cat-links a { flex-shrink: 0; display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border: 2px solid var(--black); border-radius: var(--r-pill); background: var(--white); font-weight: 500; text-decoration: none; transition: background-color .15s; }
.cat-links a:hover { background: var(--amber-lt); }
.cat-links a[aria-current="page"] { background: var(--black); color: var(--white); }
.shop-more { margin-top: 36px; text-align: center; }

/* =========================================================
   16. CATEGORY PAGE
   ========================================================= */
.crumbs { font-size: .875rem; color: var(--stone); padding-block: 16px 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--kraft); }
.crumbs a { color: var(--char); text-underline-offset: 3px; }
.crumbs [aria-current] { color: inherit; font-weight: 700; }

.cat-hero { background: var(--hero-bg, var(--paper)); color: var(--hero-fg, var(--black)); overflow: hidden; }
.cat-hero .crumbs, .cat-hero .crumbs a { color: inherit; opacity: .85; }
.cat-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding-block: 28px 56px; }
.cat-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 800; margin-bottom: 16px; max-width: 14ch; }
.cat-hero p { font-size: 1.12rem; max-width: 50ch; }
.cat-hero .hand { color: inherit; font-size: 1.5rem; margin: 18px 0 0; }
.cat-hero .ph { aspect-ratio: 4 / 3; border-radius: var(--r-lg); border: 3px solid var(--black); box-shadow: 10px 10px 0 var(--black); }
@media (max-width: 860px) {
  .cat-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 20px 48px; }
  .cat-hero .ph { order: -1; margin-right: 10px; }
}

.catalog { padding-block: 40px 88px; background: var(--white); }
.catalog-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; }

/* Filter sidebar */
.filters-panel { position: sticky; top: 100px; }
.filters-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.filters-head h2 { font-size: 1.4rem; margin: 0; }
.link-btn { background: none; border: 0; padding: 4px 0; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.facet { border-top: 1px solid var(--line); padding-block: 6px; }
.facet summary { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; font-weight: 700; cursor: pointer; list-style: none; }
.facet summary::-webkit-details-marker { display: none; }
.facet summary::after { content: "+"; font-size: 1.3rem; font-weight: 500; line-height: 1; }
.facet[open] summary::after { content: "−"; }
.facet ul { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 4px; }
.facet label { display: flex; align-items: center; gap: 10px; padding: 5px 0; cursor: pointer; }
.facet input[type=checkbox] { appearance: none; width: 20px; height: 20px; border: 2px solid var(--black); border-radius: 5px; display: grid; place-items: center; flex-shrink: 0; margin: 0; cursor: pointer; }
.facet input[type=checkbox]:checked { background: var(--black); }
.facet input[type=checkbox]:checked::after { content: ""; width: 10px; height: 6px; border: solid var(--white); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) translate(1px, -1px); }
.facet .count { margin-left: auto; color: var(--stone); font-size: .85rem; font-variant-numeric: tabular-nums; }
.facet label.is-empty { opacity: .4; }
.filters-apply { display: none; }

/* Results toolbar */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 14px; }
.result-count { margin: 0; font-weight: 700; font-size: 1.05rem; }
.toolbar-right { display: flex; align-items: center; gap: 10px; }
.sort { display: flex; align-items: center; gap: 8px; font-size: .9rem; }
.sort select { height: 44px; padding: 0 12px; border: 2px solid var(--black); border-radius: var(--r-sm); background: var(--white); font-weight: 500; }
.open-filters { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; min-height: 0; }
.active-filters:empty { display: none; }
.active-filters button { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px; border: 0; border-radius: var(--r-pill); background: var(--beige); font-weight: 500; cursor: pointer; }
.active-filters button:hover { background: var(--amber-lt); }
.active-filters button span { font-size: 1.1rem; line-height: 1; }

.catalog .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.catalog .product { border-color: var(--line); }
.catalog .product:hover { border-color: var(--black); }

/* In-grid promo card (like big brands' quiz card) */
.promo-card { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 26px; border-radius: var(--r-md); background: var(--ink); color: var(--white); border: 2px solid var(--black); }
.promo-card h3 { font-size: 1.6rem; }
.promo-card p { color: #D8CFC2; margin: 0; }
.promo-card .ph { aspect-ratio: 16 / 10; border-radius: var(--r-sm); }
.promo-card[hidden] { display: none; }

/* About + FAQ + related */
.cat-about { background: var(--paper); }
.cat-about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.cat-about h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 800; }
.cat-about p { font-size: 1.05rem; max-width: 60ch; }
.faq details { border-top: 2px solid var(--black); }
.faq details:last-child { border-bottom: 2px solid var(--black); }
.faq summary { padding: 18px 0; font-weight: 700; font-size: 1.1rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--char); }

.related { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.related a { display: block; text-decoration: none; font-weight: 700; }
.related .ph { aspect-ratio: 4 / 3; border-radius: var(--r-md); margin-bottom: 10px; }
.related img { transition: transform .4s; }
.related a:hover img { transform: scale(1.06); }
.related a:hover span { text-decoration: underline; text-underline-offset: 4px; }

.local-strip { background: var(--amber); border-block: 3px solid var(--black); }
.local-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-block: 22px; }
.local-strip p { margin: 0; font-family: var(--f-display); font-size: 1.35rem; font-weight: 800; }

@media (max-width: 1100px) { .catalog .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .catalog-grid { grid-template-columns: minmax(0, 1fr); }
  .open-filters { display: inline-flex; min-height: 44px; padding: 0 18px; }
  /* Filters become a slide-up drawer on phones/tablets */
  .filters-panel { position: fixed; inset: auto 0 0 0; top: auto; z-index: 75; max-height: 85dvh; overflow-y: auto; background: var(--white); border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 22px 20px 0; transform: translateY(105%); visibility: hidden; transition: transform .3s cubic-bezier(.2,.8,.2,1), visibility .3s; }
  .filters-panel.is-open { transform: translateY(0); visibility: visible; }
  .filters-apply { display: block; position: sticky; bottom: 0; background: var(--white); padding: 14px 0 18px; border-top: 1px solid var(--line); }
  .filters-apply .btn { width: 100%; }
  .cat-about-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) { .sort span { display: none; } }

/* =========================================================
   17. PRODUCT CARD LINKS
   ========================================================= */
.product-media { display: block; }
.product-title { text-decoration: none; }
.product-title::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole card is clickable */
.product-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.product .add-btn { position: relative; z-index: 2; }
.product .sticker { z-index: 3; }

/* =========================================================
   18. PRODUCT DETAIL PAGE
   ========================================================= */
.pdp .crumbs { padding-block: 18px 22px; }
.pdp-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: start; padding-bottom: 72px; }
.gallery { position: sticky; top: 100px; }
.gallery-main { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); border: 3px solid var(--black); }
.gallery-main .sticker { position: absolute; top: 18px; left: 16px; z-index: 1; font-size: .9rem; }
.gallery-main img { transition: opacity .25s; }
.gallery-main img.is-swapping { opacity: 0; }
.thumbs { display: flex; gap: 12px; list-style: none; margin: 14px 0 0; padding: 0; }
.thumb { padding: 0; border: 2px solid transparent; border-radius: var(--r-md); background: none; cursor: pointer; transition: border-color .15s, transform .15s; }
.thumb .ph { display: block; width: 84px; height: 84px; border-radius: 12px; }
.thumb:hover { transform: translateY(-2px); }
.thumb.is-active { border-color: var(--black); }

.pdp-info h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 800; margin-bottom: 12px; text-wrap: balance; }
.pdp-info .rating { margin-bottom: 18px; font-size: .95rem; }
.pdp-tagline { font-size: 1.2rem; color: var(--char); }
.pdp-price { font-family: var(--f-display); font-size: 2.2rem; font-weight: 800; margin: 4px 0 16px; }
.pdp-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 26px; padding: 0; }
.pdp-chips li { padding: 5px 12px; border-radius: var(--r-pill); background: var(--paper); border: 1px solid var(--line); font-size: .85rem; font-weight: 700; }

.buy-row { display: flex; gap: 12px; margin-bottom: 26px; }
.stepper { display: flex; align-items: center; border: 2px solid var(--black); border-radius: var(--r-pill); height: 56px; flex-shrink: 0; }
.stepper button { width: 46px; height: 100%; border: 0; background: none; font-size: 1.3rem; font-weight: 700; cursor: pointer; border-radius: var(--r-pill); }
.stepper button:hover { background: var(--beige); }
.stepper input { width: 40px; border: 0; text-align: center; font-weight: 700; font-size: 1.05rem; -moz-appearance: textfield; background: transparent; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.buy-btn { flex: 1; min-height: 56px; font-size: 1.05rem; }

.perks { list-style: none; margin: 0; padding: 18px 20px; display: grid; gap: 14px; background: var(--paper); border-radius: var(--r-md); }
.perks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; align-items: start; font-size: .95rem; color: var(--char); }
.perks strong { display: block; color: var(--black); }
.perks a { font-weight: 700; }
.best-for { margin: 22px 0 0; font-weight: 500; }
.best-for .hand { font-size: 1.6rem; margin-right: 6px; }

.benefits-band { background: var(--ink); color: var(--white); }
.benefits-band h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); font-weight: 800; margin-bottom: 32px; max-width: 20ch; }
.benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.benefits li { display: grid; gap: 14px; align-content: start; padding: 24px; border-radius: var(--r-md); background: var(--char); }
.benefits svg { width: 36px; height: 36px; }
.benefits { --check: var(--amber); }
.benefits h3 { font-size: 1.2rem; margin: 0 0 6px; }
.benefits p { margin: 0; color: #D8CFC2; }

.details-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.details-about h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 800; }
.details-about p { font-size: 1.08rem; max-width: 60ch; }
.details-acc details p { margin: 0 0 14px; }
.fine-print { font-size: .875rem; color: var(--stone) !important; }
.feed-table { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.feed-table th, .feed-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.feed-table th { font-weight: 700; padding-right: 16px; width: 48%; }

@media (max-width: 1100px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .pdp-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-bottom: 56px; }
  .gallery { position: static; }
  .details-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 520px) {
  .benefits { grid-template-columns: minmax(0, 1fr); }
  .thumb .ph { width: 70px; height: 70px; }
  .buy-row { gap: 8px; }
  .stepper button { width: 38px; }
}
.pdp-price small { font-family: var(--f-body); font-size: 1rem; font-weight: 500; color: var(--stone); margin-left: 6px; }
.stepper button:disabled { opacity: .3; cursor: default; background: none; }

/* =========================================================
   19. ACCOUNT
   ========================================================= */
.icon-btn.has-user .avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--black); color: var(--white); font-family: var(--f-display); font-weight: 800; font-size: 1rem; }
.icon-btn.has-user:hover .avatar { background: var(--amber); color: var(--black); }

.demo-banner { background: var(--amber-lt); border-bottom: 2px solid var(--black); font-size: .95rem; }
.demo-banner .wrap { padding-block: 12px; }
.demo-banner code { background: var(--white); padding: 1px 6px; border-radius: 4px; }
.acct-loading { text-align: center; padding: 120px 16px; color: var(--stone); }

.auth-view { background: var(--paper); }
.auth-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-block: 56px 88px; }
.auth-photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); border: 3px solid var(--black); box-shadow: 10px 10px 0 var(--black); }
.auth-photo .hand { position: absolute; left: 20px; bottom: 20px; margin: 0; background: var(--amber); color: var(--black); padding: 6px 16px; border-radius: var(--r-sm); transform: rotate(-3deg); }
.auth-card { background: var(--white); border: 3px solid var(--black); border-radius: var(--r-lg); padding: 36px; }
.auth-card h1 { font-size: clamp(1.9rem, 3.6vw, 2.5rem); font-weight: 800; }
.auth-sub { color: var(--stone); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border-radius: var(--r-pill); padding: 5px; margin: 22px 0 20px; }
.auth-tabs[hidden] { display: none; }
.auth-tabs button { min-height: 44px; border: 0; border-radius: var(--r-pill); background: transparent; font-weight: 700; cursor: pointer; }
.auth-tabs button[aria-selected="true"] { background: var(--black); color: var(--white); }
.social { display: grid; gap: 10px; }
.social-btn { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; border: 2px solid var(--black); border-radius: var(--r-pill); background: var(--white); font-weight: 700; cursor: pointer; transition: background-color .15s, transform .15s; }
.social-btn:hover { background: var(--paper); transform: translateY(-1px); }
.social-btn:disabled { opacity: .6; cursor: wait; }
.demo-social { margin-top: 14px; padding: 18px; border-radius: var(--r-md); background: var(--amber-lt); }
.demo-social[hidden] { display: none; }
.row-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--stone); font-size: .9rem; margin: 22px 0 16px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-form[hidden] { display: none; }
.pass-wrap { position: relative; display: flex; }
.pass-wrap input { flex: 1; padding-right: 70px; }
.show-pass { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; font-weight: 700; font-size: .85rem; cursor: pointer; padding: 8px; }
.hint { font-weight: 400; color: var(--stone); }
.btn.wide { width: 100%; margin-top: 14px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--black); flex-shrink: 0; }
.form-msg { margin: 16px 0 0; padding: 12px 14px; border-radius: var(--r-sm); background: #FBE4E1; color: #8C1D13; font-weight: 500; }
.form-msg.is-ok { background: #E6F2EA; color: var(--ok); }
.form-msg[hidden] { display: none; }
@media (max-width: 860px) {
  .auth-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 28px 64px; }
  .auth-photo { aspect-ratio: 16 / 9; order: 2; }
  .auth-card { padding: 24px 20px; }
}

/* Dashboard */
.dash-hero { padding-top: 32px; }
/* Rounded card that lines up with the content below instead of running edge to edge */
.dash-hero-row { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 32px 36px; border-radius: var(--r-lg); background: var(--ink); color: var(--white); }
.dash-hero-row::after { content: ""; position: absolute; right: -60px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: var(--amber); opacity: .14; pointer-events: none; }
.dash-hero-row > * { position: relative; z-index: 1; }
.dash-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; margin: 0 0 4px; }
.dash-hero p { margin: 0; color: #D8CFC2; font-size: .95rem; }
.dash-hero .btn { margin-left: auto; }
.big-avatar { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--amber); color: var(--black); font-family: var(--f-display); font-size: 2rem; font-weight: 800; border: 3px solid var(--white); flex-shrink: 0; }
.dash-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; padding-block: 32px 88px; align-items: start; }
.dash-nav { display: grid; gap: 4px; position: sticky; top: 100px; }
.dash-nav button { text-align: left; min-height: 46px; padding: 0 16px; border: 0; border-radius: var(--r-sm); background: none; font-weight: 700; cursor: pointer; }
.dash-nav button:hover { background: var(--paper); }
.dash-nav button[aria-selected="true"] { background: var(--black); color: var(--white); }
.dash-panel h2 { font-size: 2rem; font-weight: 800; }
.panel-sub { color: var(--stone); max-width: 60ch; }
.ov-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 40px; }
.ov-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 22px; border-radius: var(--r-md); background: var(--paper); }
.ov-card h3 { font-size: 1.35rem; margin: 0 0 8px; }
.ov-card p { margin: 0; }
.ov-card .btn { margin-top: auto; min-height: 42px; padding: 0 18px; }
.ov-label { font-size: .85rem; font-weight: 700; color: var(--stone); }
.ov-club { background: var(--amber); }
.ov-club .ov-label { color: var(--black); }
.code { font-family: var(--f-display); font-size: 1.5rem !important; font-weight: 800; letter-spacing: .06em; background: var(--white); border: 2px dashed var(--black); border-radius: var(--r-sm); padding: 4px 12px; margin-top: 6px !important; }
.ov-sub { font-size: 1.5rem; margin-bottom: 16px; }
#ov-picks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.empty-box { padding: 36px; border: 2px dashed var(--kraft); border-radius: var(--r-lg); text-align: center; background: var(--paper); }
.panel-form { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-md); margin-top: 20px; max-width: 640px; }
.panel-form h3 { font-size: 1.25rem; }
.panel-form.danger { border-color: #E8B4AD; }
.btn-danger { background: #B3261E; border-color: #B3261E; color: var(--white); }
.confirm { margin-top: 14px; }
.dog-list, .addr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 640px; }
.dog, .addr { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--r-md); background: var(--paper); }
.dog div, .addr > div:first-child { flex: 1; display: grid; gap: 2px; }
.dog span, .addr span { color: var(--stone); font-size: .92rem; }
.dog-avatar { display: grid !important; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--black); color: var(--white) !important; font-family: var(--f-display); font-weight: 800; font-size: 1.2rem !important; flex-shrink: 0; }
.addr-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.default { font-weight: 700; color: var(--black) !important; }
.tag-yes { color: var(--ok) !important; font-weight: 700; }
.tag-no { font-weight: 500; }
.empty-line { color: var(--stone); padding: 8px 0; }
.dash-panels .form-msg { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 80; margin: 0; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
@media (max-width: 1000px) { #ov-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .dash-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 20px 64px; }
  .dash-nav { position: static; display: flex; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .dash-nav button { flex-shrink: 0; min-height: 42px; border: 2px solid var(--black); border-radius: var(--r-pill); }
  .ov-grid { grid-template-columns: minmax(0, 1fr); }
  .dash-hero .btn { margin-left: 0; }
  .dash-hero { padding-top: 16px; }
  .dash-hero-row { padding: 24px 20px; gap: 14px; }
  .big-avatar { width: 56px; height: 56px; font-size: 1.5rem; }
}
.btn-outline-light { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--black); }
.link-open { margin-top: 10px !important; gap: 10px; }
.panel-title { font-size: 1.5rem; margin: 6px 0 10px; }
.link-sent { text-align: center; padding-top: 8px; }
.link-sent svg { margin: 0 auto 8px; }
.link-sent .row-btns { justify-content: center; }
.social[hidden], .or[hidden] { display: none; }

/* =========================================================
   20. HELP PAGES (FAQ, Shipping & returns)
   ========================================================= */
.help-hero { padding-block: 28px 56px; max-width: 760px; }
.help-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 800; margin-bottom: 14px; }
.help-hero > p { font-size: 1.12rem; max-width: 52ch; }
.faq-search { display: flex; align-items: center; gap: 12px; background: var(--white); border: 2px solid var(--black); border-radius: var(--r-pill); padding: 0 20px; height: 60px; margin: 26px 0 18px; box-shadow: 6px 6px 0 var(--black); }
.faq-search input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 1.05rem; background: transparent; }
.faq-search:focus-within { box-shadow: 6px 6px 0 var(--amber); }
.faq-jump { margin: 0; }
.faq-wrap { max-width: 860px; display: grid; gap: 48px; }
.faq-group h2 { font-size: 1.7rem; margin-bottom: 14px; }
.faq-group[hidden] { display: none; }
.faq details[hidden] { display: none; }
.faq mark { background: var(--amber-lt); color: inherit; padding: 0; border-radius: 2px; }
.faq-none { font-size: 1.1rem; color: var(--stone); }
.faq-body { padding-top: 56px; }

.help-contact { background: var(--paper); }
.contact-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.contact-card h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 800; }
.contact-card p { font-size: 1.05rem; max-width: 46ch; margin: 0; }
.contact-ways { list-style: none; margin: 0; padding: 24px; display: grid; gap: 14px; background: var(--white); border: 2px solid var(--black); border-radius: var(--r-md); }
.contact-ways li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; font-weight: 700; }
.contact-ways span { color: var(--stone); font-weight: 500; }

.ship-options { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.ship-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 30px; border-radius: var(--r-lg); border: 2px solid var(--black); background: var(--white); }
.ship-card-local { background: var(--amber); }
.ship-card h3 { font-size: 1.6rem; margin: 10px 0 0; }
.ship-price { font-family: var(--f-display); font-size: 2rem; font-weight: 800; margin: 0 0 6px; }
.ship-price span { font-family: var(--f-body); font-size: 1rem; font-weight: 500; }
.ship-card ul { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 6px; }
.ship-card .btn { margin-top: auto; }
.timeline-wrap { margin-top: 56px; }
.timeline-wrap h3 { font-size: 1.5rem; margin-bottom: 20px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: t; }
.timeline li { counter-increment: t; position: relative; display: grid; gap: 4px; padding-top: 52px; }
.timeline li::before { content: counter(t); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--black); color: var(--white); font-family: var(--f-display); font-weight: 800; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; top: 18px; left: 46px; right: -10px; height: 2px; background: var(--line); }
.timeline span { color: var(--stone); }
.promise-band { background: var(--ink); color: var(--white); }
.promise-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.promise-band h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; margin-top: 14px; }
.promise-band svg { color: var(--amber); }
.promise-band p { color: #D8CFC2; font-size: 1.08rem; }
.promise-band .faq details { border-color: #5A534D; }
.promise-band .faq summary { color: var(--white); }
.promise-band .faq details p { color: #D8CFC2; }
.narrow { max-width: 860px; }
.narrow > h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 800; }
.more-q { margin-top: 20px; font-weight: 500; }
@media (max-width: 860px) {
  .contact-card, .ship-options, .promise-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .timeline { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 18px; }
  .timeline li::after { display: none; }
}
@media (max-width: 460px) { .timeline { grid-template-columns: minmax(0, 1fr); } .contact-ways li { grid-template-columns: 1fr; gap: 0; } }
.ship-main { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.ship-main .ship-card h2 { font-size: 1.8rem; margin: 10px 0 0; }
.local-note { display: grid; gap: 6px; justify-items: start; padding: 26px; border-radius: var(--r-lg); background: var(--paper); }
.local-note h3 { font-size: 1.3rem; margin: 6px 0 0; }
.local-note p { margin: 0; color: var(--stone); }
@media (max-width: 860px) { .ship-main { grid-template-columns: minmax(0, 1fr); } }
.points-bar { width: 100%; height: 10px; border-radius: var(--r-pill); background: var(--line); overflow: hidden; margin: 2px 0 4px; }
.points-bar span { display: block; height: 100%; width: 0; background: var(--amber); border-radius: var(--r-pill); }
.points-note { font-size: .9rem; color: var(--stone); margin-bottom: 10px !important; }
.club-more { margin: 16px 0 0; }
.club .form-msg { margin-top: 12px; }

/* =========================================================
   21. PACK CLUB PAGE
   ========================================================= */
.perks-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.perk { padding: 28px 24px; border-radius: var(--r-lg); background: var(--paper); border: 2px solid transparent; transition: border-color .2s, transform .2s; }
.perk:hover { border-color: var(--black); transform: rotate(-1deg); }
.perk-big { font-family: var(--f-display); font-size: 2.8rem; font-weight: 800; line-height: 1; margin: 0 0 12px; color: var(--black); min-height: 44px; }
.perk h3 { font-size: 1.25rem; margin-bottom: 6px; }
.perk p:last-child { margin: 0; color: var(--stone); }
.points-band { background: var(--ink); color: var(--white); }
.points-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.points-band h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 32px; }
.points-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.points-steps li::before { background: var(--amber); color: var(--black); }
.points-steps li:not(:last-child)::after { background: #5A534D; }
.points-steps span { color: #D8CFC2; }
.points-example { background: var(--white); color: var(--black); border-radius: var(--r-lg); padding: 28px; transform: rotate(1.5deg); box-shadow: 8px 8px 0 var(--amber); }
.ex-line { display: flex; justify-content: space-between; align-items: baseline; margin: 6px 0; font-size: 1.05rem; }
.ex-line strong { font-family: var(--f-display); font-size: 1.5rem; }
.club-acct { color: var(--black); font-weight: 500; }
.club-acct a { font-weight: 700; }
@media (max-width: 1000px) { .perks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .points-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } .points-example { transform: none; } }
@media (max-width: 520px) { .perks-grid, .points-steps { grid-template-columns: minmax(0, 1fr); } }

/* =========================================================
   22. LOCAL HAND DELIVERY (zip checkers)
   ========================================================= */
.ship-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.ship-card-local h2 { font-size: 1.8rem; margin: 10px 0 0; }
.ship-card-local .zip-check { width: 100%; margin-top: 8px; }
.zip-check { display: flex; gap: 8px; }
.zip-check input { flex: 1; min-width: 0; height: 50px; padding: 0 16px; border: 2px solid var(--black); border-radius: var(--r-pill); background: var(--white); font-weight: 500; }
.zip-check .btn { min-height: 50px; padding: 0 22px; }
.zip-result { margin: 10px 0 0; padding: 12px 14px; border-radius: var(--r-sm); font-weight: 500; font-size: .95rem; }
.zip-result[hidden] { display: none; }
.zip-result.is-yes { background: #E6F2EA; color: var(--ok); }
.zip-result.is-no { background: var(--white); color: var(--char); border: 1px solid var(--line); }
.local-band { background: var(--amber); border-block: 3px solid var(--black); }
.local-band-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; padding-block: 36px; }
.local-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; margin-bottom: 8px; }
.local-band p { margin: 0; font-size: 1.05rem; max-width: 56ch; }
.local-band .zip-result.is-no { border-color: var(--black); }
.cart-zip { margin-bottom: 4px; align-items: center; }
.cart-zip label { font-weight: 700; font-size: .9rem; white-space: nowrap; }
.cart-zip input { height: 42px; }
.cart-zip .btn { min-height: 42px; padding: 0 16px; }
.cart-foot .zip-result { margin: 4px 0 12px; font-size: .88rem; }
@media (max-width: 860px) { .local-band-row { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-block: 28px; } }
@media (max-width: 420px) { .zip-check .btn { padding: 0 16px; } }
@media (max-width: 520px) { .buy-btn { white-space: normal; padding: 0 14px; font-size: .95rem; line-height: 1.2; } }
.cart-foot .cart-zip .btn { width: auto; flex-shrink: 0; }
.cart-foot .cart-zip input { flex: 1 1 auto; width: auto; }
