/* Paw & Trail — store stylesheet
   Tokens first, then layout, then components. No external fonts: system stack only. */

:root {
  --ink:        #1F2421;
  --ink-2:      #48503F;
  --muted:      #7B7468;
  --cream:      #FFF8F1;
  --cream-2:    #FDF4E9;
  --tint:       #F5F1EA;
  --line:       #E8E0D4;
  --line-2:     #D8CFC0;
  --brand:      #D96C2E;
  --brand-dark: #B4521B;
  --brand-soft: #FBEADA;
  --green:      #2E7D5B;
  --green-soft: #E4F1EA;
  --red:        #B4362F;
  --white:      #ffffff;

  --r-sm: 6px;
  --r:    10px;
  --r-lg: 18px;
  --wrap: 1200px;

  --sh: 0 1px 2px rgba(31, 36, 33, .05), 0 6px 18px rgba(31, 36, 33, .05);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.18; letter-spacing: -0.02em; font-weight: 600; }
h1 { font-size: clamp(30px, 4.4vw, 50px); }
h2 { font-size: clamp(22px, 2.6vw, 32px); }
h3 { font-size: 19px; }
p  { margin: 0 0 1em; }
a  { color: var(--ink); text-decoration: none; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: .35em; }
s { color: var(--muted); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: var(--r-sm); z-index: 99;
}
.skip:focus { left: 16px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 15px/1 inherit; letter-spacing: -.01em;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .08s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-sm { padding: 9px 15px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-outline { border-color: var(--line-2); background: transparent; color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost { color: var(--ink-2); }
.btn-ghost:hover { background: rgba(0,0,0,.04); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

.link-arrow { font-weight: 500; color: var(--brand-dark); white-space: nowrap; }

/* ---------------------------------------------------------------- announce */
.announce { background: var(--ink); color: #EDE6DA; font-size: 13.5px; }
.announce-inner { display: flex; gap: 12px; align-items: center; justify-content: center; padding: 9px 24px; flex-wrap: wrap; }
.announce strong { color: #fff; }
.announce .dot { opacity: .4; }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 248, 241, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); }
.logo-mark { color: var(--brand); display: inline-flex; }
.logo-text { font-size: 22px; font-weight: 600; letter-spacing: -.035em; }
.nav { display: flex; gap: 22px; margin-left: 8px; font-size: 15px; flex: 1; }
.nav a { color: var(--ink-2); font-weight: 450; }
.nav a:hover { color: var(--brand-dark); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2);
  background: transparent; color: var(--ink); cursor: pointer;
}
.cart-btn:hover { border-color: var(--ink); }
.cart-count {
  position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px;
  border-radius: 999px; background: var(--brand); color: #fff;
  font-size: 11.5px; font-weight: 600; display: grid; place-items: center; padding: 0 5px;
}
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* -------------------------------------------------------------------- hero */
.hero { padding: 64px 0 56px; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; font-weight: 600; color: var(--brand-dark); margin-bottom: 14px; }
.hero h1 { margin-bottom: 18px; }
.lede { font-size: 18px; color: var(--ink-2); max-width: 62ch; }
.hero-cta { display: flex; gap: 12px; margin: 26px 0 22px; flex-wrap: wrap; }
.hero-trust { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; font-size: 14px; color: var(--ink-2); }
.hero-trust li::before { content: "✓"; color: var(--green); margin-right: 6px; font-weight: 700; }
.hero-trust strong { color: var(--ink); }
.hero-art { position: relative; }
.hero-art img { border-radius: var(--r-lg); }
.hero-float {
  position: absolute; left: 20px; bottom: 20px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 14px 18px; box-shadow: var(--sh); display: grid; gap: 2px;
}
.hero-float-label { font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--brand-dark); font-weight: 600; }
.hero-float-price { font-size: 14px; color: var(--ink-2); }

/* ---------------------------------------------------------------- sections */
.section { padding: 72px 0; }
.section-tint { background: var(--tint); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-title { margin-bottom: 6px; }
.section-sub { color: var(--muted); margin: 0; }

.page-head { padding: 44px 0 8px; }
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.crumbs span { margin: 0 6px; opacity: .6; }

/* -------------------------------------------------------------- categories */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.cat-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 26px 24px; transition: transform .15s, border-color .15s;
}
.cat-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.cat-card h3 { margin-bottom: 6px; }
.cat-card p { color: var(--muted); font-size: 15px; }
.cat-link { font-weight: 500; color: var(--brand-dark); font-size: 15px; }
.cat-walking    { box-shadow: inset 0 4px 0 #D96C2E; }
.cat-enrichment { box-shadow: inset 0 4px 0 #2E7D5B; }
.cat-grooming   { box-shadow: inset 0 4px 0 #3F6EA8; }

/* ----------------------------------------------------------- product cards */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, border-color .15s;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.card-media { position: relative; background: var(--cream-2); aspect-ratio: 1; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-badge, .card-save {
  position: absolute; top: 12px; font-size: 11.5px; font-weight: 600;
  padding: 5px 10px; border-radius: 999px; letter-spacing: .02em;
}
.card-badge { left: 12px; background: var(--ink); color: #fff; }
.card-save  { right: 12px; background: var(--brand); color: #fff; }
.card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-cat { font-size: 11.5px; text-transform: uppercase; letter-spacing: .09em; color: var(--brand-dark); margin: 0; font-weight: 600; }
.card-title { font-size: 17px; margin: 0; }
.card-sub { font-size: 14px; color: var(--muted); margin: 0; }
.card-price { font-size: 17px; font-weight: 600; margin: 6px 0 0; }
.card-price s { font-size: 14px; font-weight: 400; margin-left: 6px; }
.card-rating { font-size: 13px; color: var(--brand); margin: 0; }
.card-rating span { color: var(--muted); }

/* -------------------------------------------------------------- how/solving */
.solving { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.solving .num { font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--brand-dark); }
.solving h3 { margin-top: 6px; }
.solving p { color: var(--ink-2); font-size: 15.5px; }

.how { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.how-list { padding-left: 20px; }
.how-list li { margin-bottom: 10px; color: var(--ink-2); }
.how-badges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.badge-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px; display: grid; gap: 4px;
}
.badge-card strong { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.badge-card span { font-size: 14px; color: var(--muted); }

/* ----------------------------------------------------------------- reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; }
.review {
  margin: 0; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 24px;
}
.review .stars { color: var(--brand); letter-spacing: .12em; margin-bottom: 8px; }
.review p:not(.stars) { color: var(--ink-2); font-size: 15.5px; }
.review cite { font-style: normal; font-size: 13.5px; color: var(--muted); }

/* --------------------------------------------------------------------- faq */
.faq-wrap { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-weight: 500; font-size: 16.5px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: absolute; right: 4px; top: 50%; width: 14px; height: 14px; margin-top: -7px; }
.faq-plus::before, .faq-plus::after {
  content: ""; position: absolute; background: var(--ink-2); border-radius: 2px;
  transition: transform .18s;
}
.faq-plus::before { left: 0; top: 6px; width: 14px; height: 2px; }
.faq-plus::after  { left: 6px; top: 0; width: 2px; height: 14px; }
.faq-item[open] .faq-plus::after { transform: scaleY(0); }
.faq-body { padding: 0 40px 22px 0; color: var(--ink-2); }
.faq-body p { margin: 0; }

/* --------------------------------------------------------------- newsletter */
.newsletter { background: var(--ink); color: var(--cream); padding: 56px 0; }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.newsletter h2 { color: #fff; font-size: 28px; }
.newsletter p { color: #CFC5B6; margin: 0; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input, .coupon-form input, .contact-card input, .admin-bar select, .gate input {
  flex: 1; min-width: 200px; padding: 13px 16px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--white); color: var(--ink); font: inherit;
}
.newsletter-form input:focus, .contact-card input:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.form-note { font-size: 13.5px; margin: 8px 0 0; min-height: 18px; }
.newsletter .form-note { color: #CFC5B6; width: 100%; }
.form-note.ok { color: var(--green); }
.form-note.err { color: var(--red); }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--cream-2); border-top: 1px solid var(--line); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-col { display: grid; align-content: start; gap: 8px; }
.footer-col h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 6px; }
.footer-col a { font-size: 15px; color: var(--ink-2); }
.footer-blurb { color: var(--muted); font-size: 15px; max-width: 34ch; }
.footer-contact { color: var(--muted); font-size: 15px; }
.logo-footer { margin-bottom: 8px; }
.footer-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--muted);
}
.footer-bottom p { margin: 0; }

/* --------------------------------------------------------------------- pdp */
.pdp { padding: 20px 0 64px; }
.pdp-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.pdp-main { background: var(--cream-2); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumb {
  width: 82px; height: 82px; padding: 0; border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; background: var(--cream-2); cursor: pointer;
}
.thumb.is-active { border-color: var(--ink); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

.pdp-buy h1 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 8px; }
.pdp-pills { display: flex; gap: 8px; margin-bottom: 12px; min-height: 0; }
.pill { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; }
.pill-badge { background: var(--ink); color: #fff; }
.pill-save { background: var(--green-soft); color: var(--green); }
.pdp-sub { font-size: 17px; color: var(--ink-2); }
.pdp-rating { font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.pdp-rating .stars { color: var(--brand); letter-spacing: .1em; }
.pdp-price { font-size: 30px; font-weight: 600; margin: 14px 0 20px; }
.pdp-price s { font-size: 19px; margin-left: 10px; }

.opt { border: 0; padding: 0; margin: 0 0 16px; }
.opt legend { font-size: 13px; font-weight: 600; letter-spacing: .04em; margin-bottom: 8px; padding: 0; }
.opt-row { display: flex; gap: 8px; flex-wrap: wrap; }
.opt-pill input { position: absolute; opacity: 0; pointer-events: none; }
.opt-pill span {
  display: inline-block; padding: 9px 15px; border: 1px solid var(--line-2);
  border-radius: 999px; font-size: 14px; cursor: pointer; background: var(--white);
}
.opt-pill input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.opt-pill input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

/* 带 SKU 图的尺码卡片 */
.opt-hint { font-weight: 400; color: var(--muted); font-size: 12px; margin-left: 6px; }
.opt-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.opt-card {
  position: relative; display: block; border: 1px solid var(--line-2); border-radius: var(--r);
  padding: 8px; background: var(--white); cursor: pointer; text-align: center;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.opt-card:hover { border-color: var(--ink-2); transform: translateY(-1px); }
.opt-card input { position: absolute; opacity: 0; pointer-events: none; }
.opt-card img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: 6px; background: var(--tint); display: block;
}
.opt-card-name { display: block; font-weight: 700; font-size: 15px; margin-top: 7px; }
.opt-card-meta { display: block; font-size: 11px; line-height: 1.35; color: var(--muted); margin-top: 2px; }
.opt-card input:checked ~ img { box-shadow: 0 0 0 2px var(--brand); }
.opt-card:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.opt-card input:focus-visible ~ img { outline: 2px solid var(--brand); outline-offset: 2px; }

/* 详情长图流（9:16 竖版，懒加载） */
.screen-stack { max-width: 560px; margin: 0 auto; display: grid; gap: 18px; }
.screen { margin: 0; }
.screen img {
  width: 100%; height: auto; display: block; border-radius: var(--r); background: var(--tint);
}
.screen figcaption {
  font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; line-height: 1.5;
}

.qty-row { display: flex; gap: 12px; align-items: stretch; margin: 8px 0 12px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; background: var(--white); }
.qty button {
  width: 42px; height: 100%; background: none; border: 0; font-size: 18px;
  cursor: pointer; color: var(--ink-2);
}
.qty input {
  width: 46px; text-align: center; border: 0; background: none; font: inherit;
  -moz-appearance: textfield; appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.stock-line { font-size: 14px; color: var(--green); font-weight: 500; }
.pdp-assure { list-style: none; padding: 20px 0 0; margin: 20px 0 0; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.pdp-assure li { padding-left: 22px; position: relative; }
.pdp-assure li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

.pdp-detail { display: grid; grid-template-columns: 1.35fr .65fr; gap: 48px; }
.pdp-detail-main h2, .pdp-detail-side h2 { font-size: 22px; }
.mt { margin-top: 32px; }
.bullets { list-style: none; padding: 0; }
.bullets li { position: relative; padding-left: 26px; margin-bottom: 12px; color: var(--ink-2); }
.bullets li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 12px;
  border-radius: 50%; border: 2px solid var(--brand);
}
.specs { margin: 0; display: grid; gap: 0; }
.spec-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.spec-row dt { color: var(--muted); margin: 0; }
.spec-row dd { margin: 0; text-align: right; font-weight: 500; }

/* -------------------------------------------------------------------- cart */
.cart-layout { display: grid; grid-template-columns: 1.5fr .8fr; gap: 40px; align-items: start; }
.cart-item {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; align-items: start;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.cart-item img { border-radius: var(--r); background: var(--cream-2); }
.cart-item h3 { font-size: 17px; margin-bottom: 4px; }
.cart-variant { font-size: 13.5px; color: var(--muted); margin: 0 0 8px; }
.cart-item-actions { display: flex; gap: 14px; align-items: center; font-size: 14px; }
.cart-remove { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; text-decoration: underline; }
.cart-line-price { font-weight: 600; text-align: right; white-space: nowrap; }
.ship-progress { margin-top: 22px; }
.ship-progress p { font-size: 14.5px; margin-bottom: 8px; color: var(--ink-2); }
.bar { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--green); width: 0; transition: width .3s; }

.save-cart { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.save-cart h2 { font-size: 17px; }
.save-cart .muted { color: var(--muted); font-size: 14.5px; margin: 6px 0 12px; }
.save-cart-row { display: flex; gap: 8px; flex-wrap: wrap; }
.save-cart-row input { flex: 1 1 200px; min-width: 0; }
@media (max-width: 520px) {
  .save-cart-row { flex-direction: column; }
  .save-cart-row .btn { width: 100%; }
}

.cart-summary {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 24px; position: sticky; top: 88px;
}
.cart-summary h2 { font-size: 19px; }
.sum-rows { margin: 0 0 16px; display: grid; gap: 10px; }
.sum-rows > div { display: flex; justify-content: space-between; font-size: 15px; }
.sum-rows dt, .sum-rows dd { margin: 0; }
.sum-total { border-top: 1px solid var(--line); padding-top: 12px; font-size: 18px; font-weight: 600; }
.coupon-form { display: flex; gap: 8px; }
.coupon-form input { border-radius: var(--r-sm) 0 0 var(--r-sm); }
.coupon-form .btn { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.secure-note { font-size: 13px; color: var(--muted); text-align: center; margin: 10px 0 0; }
.empty { color: var(--muted); }

/* --------------------------------------------------------------- thank you */
.thank-you { max-width: 720px; margin: 0 auto; text-align: center; }
.tick { margin-bottom: 12px; }
.ty-actions { display: flex; gap: 12px; justify-content: center; margin: 22px 0 40px; flex-wrap: wrap; }
.order-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px; text-align: left; margin-top: 24px; display: grid; gap: 10px;
}
.order-row { display: flex; justify-content: space-between; font-size: 15px; }
.order-row span { color: var(--muted); }
.ty-next { text-align: left; }
.ty-next ol { padding-left: 20px; color: var(--ink-2); }

/* ------------------------------------------------------------ prose pages */
.prose { max-width: 780px; }
.prose h2 { margin-top: 36px; font-size: 24px; }
.prose h2:first-of-type { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0 8px; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.info-card h3 { font-size: 15px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.info-card .big { font-size: 21px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.info-card p:last-child { margin: 0; font-size: 14.5px; }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 26px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.note {
  background: var(--brand-soft); border-left: 3px solid var(--brand);
  padding: 14px 18px; border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: 14.5px;
}

/* ----------------------------------------------------------------- contact */
.contact-layout { display: grid; grid-template-columns: 1fr .8fr; gap: 40px; align-items: start; }
.contact-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px;
}
.contact-card form { display: grid; gap: 6px; margin-top: 16px; }
.contact-card label { font-size: 13.5px; font-weight: 600; }
.contact-card input { border-radius: var(--r-sm); width: 100%; }
.contact-card .btn { margin-top: 10px; }
.contact-side p { font-size: 15px; color: var(--ink-2); }
.track-result {
  margin-top: 18px; padding: 18px; background: var(--cream-2);
  border-radius: var(--r); font-size: 14.5px; display: grid; gap: 6px;
}
.track-result .row { display: flex; justify-content: space-between; gap: 16px; }

/* ------------------------------------------------------------------- admin */
.gate { max-width: 420px; display: grid; gap: 8px; margin-bottom: 32px; }
.gate input { border-radius: var(--r-sm); }
.hint { font-size: 13px; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 32px; }
.admin-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.admin-bar h2 { margin: 0; }
.admin-filters { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 900px; }
.admin-table th, .admin-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { background: var(--cream-2); font-size: 12.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.admin-table tr:last-child td { border-bottom: 0; }
.tag { display: inline-block; font-size: 11.5px; padding: 3px 9px; border-radius: 999px; font-weight: 600; }
.tag-paid      { background: var(--brand-soft); color: var(--brand-dark); }
.tag-fulfilled { background: #E6F1FB; color: #185FA5; }
.tag-shipped   { background: var(--green-soft); color: var(--green); }
.tag-refunded  { background: #F1EFE8; color: var(--muted); }
.track-input { width: 120px; padding: 6px 8px; border: 1px solid var(--line-2); border-radius: var(--r-sm); font: inherit; font-size: 13px; }

/* ------------------------------------------------------------ shop filters */
.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--white); font: inherit; font-size: 14.5px; cursor: pointer; color: var(--ink-2);
}
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.shop-sort { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--muted); }
.shop-sort select { padding: 9px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); font: inherit; color: var(--ink); }
.shop-count { font-size: 14px; color: var(--muted); margin: 12px 0 20px; }

/* --------------------------------------------------------------- toast/cart */
.toast {
  position: absolute; z-index: 60; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px;
  font-size: 14.5px; box-shadow: var(--sh); opacity: 0; transition: opacity .2s, top .2s;
  pointer-events: none;
}
.toast.show { opacity: 1; }
.cart-drawer {
  position: absolute; z-index: 50; right: 0; top: 0; width: min(400px, 100%);
  background: var(--white); border-left: 1px solid var(--line);
  box-shadow: -8px 0 30px rgba(31,36,33,.08); padding: 22px;
  max-height: 100vh; overflow-y: auto;
}
.cart-drawer h2 { font-size: 19px; }
.cart-drawer .mini-item { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-drawer img { border-radius: var(--r-sm); background: var(--cream-2); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .pdp-inner { gap: 36px; }
}
@media (max-width: 900px) {
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 68px;
    background: var(--cream); border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 8px 24px 18px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; }
  .header-actions .btn-ghost { display: none; }
  .hero-inner, .how, .newsletter-inner, .cart-layout, .contact-layout, .pdp-detail, .pdp-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-float { position: static; margin-top: 12px; display: inline-grid; }
  .cat-grid, .solving, .reviews, .info-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 52px 0; }
}
@media (max-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cat-grid, .solving, .reviews, .info-grid, .badge-card { grid-template-columns: 1fr; }
  .how-badges { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-inner { height: 60px; }
  .btn-lg { padding: 14px 22px; }
  .hero { padding: 36px 0 40px; }
  .opt-cards { grid-template-columns: repeat(2, 1fr); }
  .screen-stack { gap: 14px; }
}

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