/* 倍宠 PeachPacket 官方商城 · H5 */
:root {
  --bg: #F4F5FA;
  --card: #ffffff;
  --primary: #FF6B81;
  --primary-dark: #F04A64;
  --primary-light: #FFEBEE;
  --accent: #7C83FF;
  --accent-light: #EEF0FF;
  --text: #21242C;
  --sub: #52596C;
  --muted: #8A90A2;
  --line: #E8EBF2;
  --wechat: #07C160;
  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 28px;
  --pill: 999px;
  --shadow: 0 10px 30px rgba(33, 36, 44, .08);
  --shadow-s: 0 4px 14px rgba(33, 36, 44, .06);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 15px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 15px; color: var(--text); }

/* ---------- 顶部导航 ---------- */
.top {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  max-width: 1080px; margin: 0 auto; min-height: 56px;
  display: flex; align-items: center; gap: 10px; padding: 8px 16px;
}
.brand { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.brand img { width: 30px; height: 30px; border-radius: 9px; }
.brand-name { font-weight: 800; font-size: 16px; letter-spacing: .2px; white-space: nowrap; }
.brand-name small { display: block; font-size: 10px; color: var(--muted); font-weight: 500; letter-spacing: 1px; line-height: 1; }
.nav {
  margin-left: auto; display: flex; gap: 16px;
  font-size: 13px; color: var(--sub); overflow-x: auto; scrollbar-width: none;
  padding: 2px 0; min-width: 0; flex: 1; justify-content: flex-end;
}
.nav::-webkit-scrollbar { display: none; }
.nav a { white-space: nowrap; padding: 4px 0; }
.nav a.on { color: var(--primary); font-weight: 700; }

/* ---------- 通用 ---------- */
.container { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.section { padding-top: 26px; padding-bottom: 6px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.section-title { font-size: 19px; font-weight: 800; letter-spacing: .3px; }
.section-title span { color: var(--primary); }
.section-more { font-size: 13px; color: var(--muted); }
.card { background: var(--card); border-radius: var(--radius-m); box-shadow: var(--shadow-s); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: none; border-radius: var(--pill); font-weight: 700; font-size: 15px;
  padding: 12px 22px; transition: .18s;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(255, 107, 129, .32); }
.btn-primary:active { background: var(--primary-dark); transform: scale(.98); }
.btn-ghost { background: #fff; color: var(--text); box-shadow: var(--shadow-s); }
.btn-wechat { background: var(--wechat); color: #fff; box-shadow: 0 8px 20px rgba(7, 193, 96, .28); }
.btn-block { display: flex; width: 100%; }
.btn:disabled { opacity: .55; box-shadow: none; cursor: not-allowed; }
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: var(--pill);
  background: var(--primary-light); color: var(--primary-dark);
}
.chip.accent { background: var(--accent-light); color: #5B63D6; }
.chip.green { background: #E8F8EF; color: #0A8F4C; }

/* ---------- 首页 Hero ---------- */
.hero {
  background: radial-gradient(120% 90% at 90% 0%, #FFE3E8 0%, #FFF7F3 45%, #F4F5FA 100%);
  padding: 26px 0 8px;
}
.hero-inner { max-width: 1080px; margin: 0 auto; padding: 0 16px 10px; }
.hero-eyebrow { font-size: 12px; letter-spacing: 2px; color: var(--primary-dark); font-weight: 700; }
.hero h1 { font-size: 30px; line-height: 1.28; font-weight: 900; margin: 10px 0 12px; letter-spacing: .5px; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero p { color: var(--sub); font-size: 14px; max-width: 520px; }
.hero-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.hero-art { display: flex; justify-content: center; gap: 8px; padding: 18px 0 4px; position: relative; }
.hero-art img { width: 44%; max-width: 210px; filter: drop-shadow(0 18px 24px rgba(240, 74, 100, .16)); }
.hero-art .a1 { transform: rotate(-7deg) translateY(6px); }
.hero-art .a2 { transform: rotate(6deg) translateY(-6px); }
.hero-art .heart { position: absolute; top: 8px; left: 50%; width: 34px; transform: translateX(-50%); }

/* ---------- 服务保障 ---------- */
.assure {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 6px; padding: 14px 0 4px;
}
.assure div { text-align: center; font-size: 11.5px; color: var(--sub); }
.assure b { display: block; font-size: 13px; color: var(--text); margin-bottom: 1px; }

/* ---------- 商品卡 ---------- */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.products.cols-3 { grid-template-columns: repeat(2, 1fr); }
.pcard {
  background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-s); display: flex; flex-direction: column;
  transition: transform .18s, box-shadow .18s;
}
.pcard:active { transform: scale(.985); }
.pcard .thumb {
  aspect-ratio: 1 / 1; display: grid; place-items: center;
  background: linear-gradient(160deg, #FFF2F4 0%, #F7F3FF 100%);
  padding: 10%;
}
.pcard .thumb img { width: 82%; height: auto; }
.pcard .info { padding: 10px 12px 13px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.pcard .name { font-size: 14px; font-weight: 700; line-height: 1.35; }
.pcard .desc { font-size: 11.5px; color: var(--muted); line-height: 1.4; min-height: 16px; }
.pcard .price-row { margin-top: auto; padding-top: 6px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price { color: var(--primary-dark); font-weight: 900; font-size: 13px; }
.price strong { font-size: 19px; }
.price .yen { font-size: 13px; margin-right: 1px; }
.old { color: #B9BECB; font-size: 11.5px; text-decoration: line-through; }
.soldout-tag { font-size: 11px; color: var(--muted); }

/* ---------- 卖点 ---------- */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.feature {
  display: flex; gap: 12px; align-items: flex-start;
  background: #fff; border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow-s);
}
.feature .ico { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 12px; background: var(--primary-light); display: grid; place-items: center; }
.feature .ico img { width: 22px; }
.feature h4 { font-size: 14px; margin-bottom: 2px; }
.feature p { font-size: 12.5px; color: var(--sub); }

/* ---------- 参数表 ---------- */
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-s); font-size: 13px; }
.table th, .table td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.table th { color: var(--muted); font-weight: 600; width: 38%; background: #FAFBFE; }
.table tr:last-child th, .table tr:last-child td { border-bottom: none; }

/* ---------- FAQ ---------- */
.faq { background: #fff; border-radius: 16px; box-shadow: var(--shadow-s); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: none; }
.faq summary { padding: 14px 16px; font-size: 14px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 10px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 16px 14px; font-size: 13px; color: var(--sub); }

/* ---------- 商品列表页 ---------- */
.page-head { padding: 18px 16px 10px; max-width: 1080px; margin: 0 auto; }
.page-head h1 { font-size: 22px; font-weight: 800; }
.page-head p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.filter { display: flex; gap: 8px; overflow-x: auto; padding: 8px 16px 14px; max-width: 1080px; margin: 0 auto; scrollbar-width: none; }
.filter::-webkit-scrollbar { display: none; }
.filter button {
  border: 1px solid var(--line); background: #fff; color: var(--sub);
  padding: 7px 15px; border-radius: var(--pill); font-size: 13px; white-space: nowrap;
}
.filter button.on { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 700; }

/* ---------- 商品详情 ---------- */
.detail-wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.crumb { font-size: 12px; color: var(--muted); padding: 12px 0 8px; }
.crumb a { color: var(--muted); }
.detail { display: block; }
.detail-hero {
  background: linear-gradient(160deg, #FFF2F4, #F6F2FF);
  border-radius: var(--radius-m); padding: 20px; display: grid; place-items: center; margin-bottom: 12px;
}
.detail-hero img { width: 74%; max-width: 330px; }
.detail-info { background: #fff; border-radius: var(--radius-m); padding: 16px; box-shadow: var(--shadow-s); }
.detail-info h1 { font-size: 20px; line-height: 1.35; font-weight: 800; }
.detail-sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
.price-box { display: flex; align-items: baseline; gap: 8px; margin: 12px 0 6px; flex-wrap: wrap; }
.price-box .price strong { font-size: 28px; }
.saving { font-size: 12px; color: #0A8F4C; background: #E8F8EF; padding: 2px 8px; border-radius: 6px; }
.divider { height: 1px; background: var(--line); margin: 14px 0; }
.opt-label { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.opts { display: flex; gap: 8px; flex-wrap: wrap; }
.opt {
  border: 1px solid var(--line); background: #FAFBFE; color: var(--text);
  padding: 7px 14px; border-radius: 10px; font-size: 13px;
}
.opt.on { border-color: var(--primary); background: var(--primary-light); color: var(--primary-dark); font-weight: 700; }
.qty-row { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.stepper { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.stepper button { width: 36px; height: 34px; background: #FAFBFE; border: none; font-size: 18px; color: var(--sub); }
.stepper input { width: 46px; height: 34px; border: none; text-align: center; font-weight: 700; background: #fff; }
.service-row { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 12px; font-size: 12px; color: var(--sub); }
.service-row span::before { content: "✓"; color: var(--primary); margin-right: 4px; font-weight: 700; }
.buybar {
  position: sticky; bottom: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 8px;
}
.buybar .mini { text-align: center; font-size: 11px; color: var(--sub); width: 46px; flex: 0 0 46px; }
.buybar .mini span { display: block; font-size: 17px; line-height: 1.2; }
.buybar .btn { flex: 1; padding: 12px 10px; }
.buybar .btn-ghost { flex: 0 0 auto; padding: 12px 14px; font-size: 14px; }
.tabs { display: flex; gap: 18px; margin: 20px 0 10px; font-size: 14px; font-weight: 700; border-bottom: 1px solid var(--line); }
.tabs a { padding-bottom: 8px; color: var(--sub); border-bottom: 2px solid transparent; }
.tabs a.on { color: var(--text); border-color: var(--primary); }
.rich { background: #fff; border-radius: 16px; padding: 16px; font-size: 13.5px; color: var(--sub); box-shadow: var(--shadow-s); }
.rich h4 { font-size: 14px; color: var(--text); margin: 12px 0 6px; }
.rich h4:first-child { margin-top: 0; }
.rich ul { padding-left: 18px; }
.rich li { margin: 4px 0; }

/* ---------- 购物车 ---------- */
.cart-list { display: flex; flex-direction: column; gap: 10px; }
.citem { display: flex; gap: 12px; background: #fff; border-radius: 16px; padding: 12px; box-shadow: var(--shadow-s); }
.citem .pic { width: 76px; height: 76px; flex: 0 0 76px; border-radius: 12px; background: linear-gradient(160deg,#FFF2F4,#F6F2FF); display: grid; place-items: center; }
.citem .pic img { width: 70%; }
.citem .meta { flex: 1; min-width: 0; }
.citem .meta h3 { font-size: 14px; font-weight: 700; line-height: 1.35; }
.citem .meta .spec { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.citem .meta .row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.citem .del { border: none; background: none; color: var(--muted); font-size: 12px; padding: 2px 4px; }
.empty { text-align: center; padding: 48px 20px; color: var(--muted); font-size: 13px; }
.empty .big { font-size: 40px; margin-bottom: 8px; }
.settlebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 12px; max-width: 1080px; margin: 0 auto;
}
.settlebar .total { flex: 1; font-size: 12px; color: var(--sub); }
.settlebar .total b { font-size: 20px; color: var(--primary-dark); font-weight: 900; margin-left: 4px; }
.settlebar .btn { flex: 0 0 auto; padding: 11px 26px; }

/* ---------- 结算 ---------- */
.panel { background: #fff; border-radius: 16px; padding: 16px; box-shadow: var(--shadow-s); margin-bottom: 12px; }
.panel h3 { font-size: 15px; font-weight: 800; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.panel h3 small { font-size: 12px; font-weight: 500; color: var(--muted); }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 12.5px; color: var(--sub); margin-bottom: 5px; }
.field label i { color: var(--primary); font-style: normal; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px;
  background: #FAFBFE; outline: none; transition: .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--primary); background: #fff; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.radio-cards { display: flex; gap: 8px; flex-wrap: wrap; }
.radio-cards label {
  border: 1px solid var(--line); background: #FAFBFE; border-radius: 10px;
  padding: 9px 13px; font-size: 13px; display: flex; gap: 6px; align-items: center;
}
.radio-cards input { accent-color: var(--primary); }
.radio-cards label.on { border-color: var(--primary); background: var(--primary-light); }
.mini-item { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.mini-item:last-child { border-bottom: none; }
.mini-item img { width: 52px; height: 52px; border-radius: 10px; background: #F9F5FA; object-fit: contain; }
.mini-item .t { flex: 1; font-size: 13px; font-weight: 600; }
.mini-item .t small { display: block; color: var(--muted); font-weight: 400; }
.mini-item .p { font-size: 13px; font-weight: 700; }
.money-line { display: flex; justify-content: space-between; font-size: 13px; color: var(--sub); padding: 4px 0; }
.money-line.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; color: var(--text); font-weight: 700; }
.money-line.total b { color: var(--primary-dark); font-size: 20px; }
.agree { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: var(--sub); margin: 14px 2px; }
.agree input { margin-top: 3px; accent-color: var(--primary); flex: 0 0 auto; }
.agree a { color: var(--primary-dark); }
.orderbar { position: sticky; bottom: 0; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; }
.orderbar .total { flex: 1; font-size: 12px; color: var(--sub); }
.orderbar .total b { font-size: 20px; color: var(--primary-dark); }

/* ---------- 支付 ---------- */
.pay-wrap { max-width: 520px; margin: 0 auto; padding: 20px 16px 30px; }
.pay-card { background: #fff; border-radius: 24px; padding: 26px 20px; text-align: center; box-shadow: var(--shadow); }
.pay-card .k { font-size: 12px; color: var(--muted); letter-spacing: 1px; }
.pay-amount { font-size: 38px; font-weight: 900; color: var(--text); margin: 8px 0 2px; }
.pay-amount small { font-size: 20px; }
.pay-no { font-size: 12px; color: var(--muted); }
.countdown { display: inline-block; margin-top: 14px; font-size: 12px; color: var(--primary-dark); background: var(--primary-light); padding: 4px 12px; border-radius: var(--pill); }
.pay-method { background: #fff; border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow-s); margin-top: 14px; }
.pay-method .row { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.wx-logo { width: 30px; height: 30px; border-radius: 8px; background: var(--wechat); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px; }
.pay-tip { font-size: 12px; color: var(--muted); margin-top: 14px; line-height: 1.7; text-align: left; }
.pay-actions { margin-top: 18px; }
.pay-note { margin-top: 12px; font-size: 12px; color: var(--muted); text-align: center; }
.pay-note a { color: var(--primary-dark); }

/* ---------- 成功/订单 ---------- */
.result { max-width: 520px; margin: 0 auto; padding: 34px 16px; text-align: center; }
.result .tick { width: 68px; height: 68px; margin: 0 auto 14px; border-radius: 50%; background: #E8F8EF; color: #0A8F4C; display: grid; place-items: center; font-size: 34px; }
.result h1 { font-size: 22px; font-weight: 800; }
.result p { color: var(--sub); font-size: 13px; margin-top: 6px; }
.result .btn-row { display: flex; gap: 10px; justify-content: center; margin-top: 20px; }
.order-card { background: #fff; border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow-s); margin-bottom: 10px; }
.order-card .top-row { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.order-card .st { color: var(--primary-dark); font-weight: 700; }

/* ---------- 富文本页 ---------- */
.doc { max-width: 860px; margin: 0 auto; padding: 18px 16px 40px; }
.doc h1 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.doc .meta { font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.doc h2 { font-size: 16px; font-weight: 800; margin: 22px 0 8px; padding-left: 10px; border-left: 3px solid var(--primary); }
.doc p, .doc li { font-size: 13.5px; color: var(--sub); margin: 6px 0; }
.doc ul, .doc ol { padding-left: 20px; }
.doc .box { background: #fff; border-radius: 16px; padding: 4px 18px 18px; box-shadow: var(--shadow-s); }
.doc .note { background: var(--accent-light); border-radius: 12px; padding: 12px 14px; font-size: 12.5px; color: #4A51B8; margin: 14px 0; }

/* ---------- 关于/联系 ---------- */
.about-hero { background: linear-gradient(160deg, #FFF2F4, #F3F1FF); border-radius: 20px; padding: 24px 20px; }
.about-hero h1 { font-size: 22px; font-weight: 900; }
.about-hero p { font-size: 13px; color: var(--sub); margin-top: 8px; }
.company-card { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 16px; padding: 16px; box-shadow: var(--shadow-s); margin-top: 12px; }
.company-card .lg { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.company-card h3 { font-size: 16px; }
.company-card p { font-size: 12px; color: var(--muted); letter-spacing: .5px; }
.contact-item { display: flex; gap: 12px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: none; }
.contact-item .ci { width: 34px; height: 34px; border-radius: 10px; background: var(--primary-light); display: grid; place-items: center; font-size: 16px; flex: 0 0 34px; }
.contact-item .ct { font-size: 12px; color: var(--muted); }
.contact-item .cv { font-size: 14px; font-weight: 700; word-break: break-all; }
.contact-item .cv a { color: var(--primary-dark); }

/* ---------- 页脚 ---------- */
.footer { margin-top: 30px; background: #fff; border-top: 1px solid var(--line); padding: 22px 16px 30px; }
.foot-inner { max-width: 1080px; margin: 0 auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12.5px; color: var(--sub); }
.foot-links a { color: var(--sub); }
.foot-company { margin-top: 16px; font-size: 12px; color: var(--muted); line-height: 1.9; }
.foot-company b { color: var(--sub); font-weight: 600; }
.foot-company a { color: var(--muted); }
.foot-icp { margin-top: 6px; font-size: 12px; color: var(--muted); }
.foot-icp a { color: var(--muted); }
.foot-copy { margin-top: 10px; font-size: 11.5px; color: #A7ACBA; }

/* ---------- 提示 ---------- */
.toast {
  position: fixed; left: 50%; bottom: 100px; transform: translate(-50%, 10px);
  background: rgba(33, 36, 44, .92); color: #fff; font-size: 13px;
  padding: 10px 18px; border-radius: 12px; opacity: 0; pointer-events: none;
  transition: .25s; z-index: 90; max-width: 80vw; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 客服浮标 ---------- */
.fab {
  position: fixed; right: 14px; bottom: 78px; z-index: 70;
  width: 46px; height: 46px; border-radius: 50%; background: #fff;
  box-shadow: 0 8px 22px rgba(33,36,44,.16); display: grid; place-items: center;
  font-size: 11px; color: var(--sub); text-align: center; line-height: 1.1;
  border: 1px solid var(--line);
}
.fab b { display: block; font-size: 16px; }

/* ---------- 桌面 ---------- */
@media (min-width: 760px) {
  .hero { padding: 40px 0 18px; }
  .hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 30px; }
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 15px; }
  .hero-art { padding: 0; }
  .hero-art img { width: 46%; }
  .products { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .products.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; align-items: start; }
  .detail-hero { position: sticky; top: 80px; margin-bottom: 0; padding: 40px; }
  .buybar { max-width: 1080px; margin: 0 auto; border-radius: 0; }
  .doc .box { padding: 8px 34px 30px; }
}
@media (min-width: 1024px) {
  .products { grid-template-columns: repeat(3, 1fr); }
}
