:root {
  --brand: #ff5000;
  --brand-2: #ff8a00;
  --brand-deep: #ff3d00;
  --ink: #1d2129;
  --muted: #86909c;
  --line: #ebedf0;
  --bg: #f5f6f8;
  --card: #ffffff;
  --shadow: 0 8px 24px rgba(29, 33, 41, 0.07);
  --radius: 16px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button { font-family: inherit; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 18px; }

/* ---------- 顶部 ---------- */
.topbar {
  background: linear-gradient(90deg, #ff6a00, #ff3d00);
  color: #fff;
  font-size: 12px;
  height: 34px;
  display: flex;
  align-items: center;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.topbar .tb-left { display: flex; align-items: center; gap: 8px; }
.topbar .tb-left b { font-weight: 600; background: rgba(255, 255, 255, 0.18); padding: 1px 8px; border-radius: 10px; }
.topbar .tb-right { display: flex; gap: 16px; opacity: 0.95; }
.topbar .tb-right a:hover { text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  box-shadow: 0 1px 0 rgba(29, 33, 41, 0.06);
}
.hwrap {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 78px;
}
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, #ff8a00, #ff3d00);
  color: #fff; font-size: 20px; font-weight: 800;
  display: grid; place-items: center;
  box-shadow: 0 8px 16px rgba(255, 80, 0, 0.32);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text b { font-size: 24px; letter-spacing: 1px; color: var(--brand); }
.logo-text small { font-size: 11px; color: var(--muted); letter-spacing: 2px; }

.search {
  flex: 1;
  display: flex;
  height: 46px;
  border: 2px solid var(--brand);
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  max-width: 640px;
}
.search input {
  flex: 1; border: 0; outline: 0; padding: 0 18px;
  font-size: 15px; color: var(--ink); background: transparent;
}
.search input::placeholder { color: #b6bec9; }
.search button {
  width: 108px; border: 0; cursor: pointer;
  background: linear-gradient(90deg, #ff7a18, #ff3d00);
  color: #fff; font-size: 16px; font-weight: 600; letter-spacing: 2px;
}

.header-extra { flex: none; display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--muted); text-align: right; }
.header-extra .notice { color: var(--brand); font-weight: 600; }
.header-extra .kefu { color: #4e5969; }
.header-extra .kefu b { color: var(--brand); }

.mainnav {
  border-top: 1px solid var(--line);
  height: 48px;
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.mainnav::-webkit-scrollbar { display: none; }
.mainnav a { color: #333; padding: 2px 0; position: relative; }
.mainnav a:hover { color: var(--brand); }
.mainnav a.on { color: var(--brand); font-weight: 700; }
.mainnav a.on::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -14px;
  height: 3px; border-radius: 2px; background: var(--brand);
}

/* ---------- 首页 hero ---------- */
.hero { background: linear-gradient(180deg, #fff4ee 0%, rgba(245, 246, 248, 0) 100%); padding: 24px 0 4px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 20px; }

.carousel { position: relative; height: 350px; border-radius: 20px; overflow: hidden; box-shadow: 0 16px 36px rgba(255, 80, 0, 0.14); }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 0.7s ease; }
.slide.active { opacity: 1; }
.slide-mask {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(24, 12, 6, 0.62) 0%, rgba(24, 12, 6, 0.28) 45%, rgba(24, 12, 6, 0.02) 100%);
  display: flex; flex-direction: column; justify-content: center; padding: 0 46px; color: #fff;
}
.slide-mask h2 { font-size: 32px; font-weight: 800; letter-spacing: 1px; text-shadow: 0 4px 18px rgba(0, 0, 0, 0.3); }
.slide-mask p { font-size: 15px; opacity: 0.92; margin-top: 8px; }
.slide-btn {
  margin-top: 20px; align-self: flex-start;
  background: linear-gradient(90deg, #ff8a00, #ff3d00);
  color: #fff; font-size: 14px; font-weight: 600;
  padding: 9px 22px; border-radius: 22px;
  box-shadow: 0 8px 20px rgba(255, 61, 0, 0.4);
}
.dots { position: absolute; left: 46px; bottom: 20px; display: flex; gap: 7px; }
.dots i { width: 8px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.45); cursor: pointer; transition: all 0.25s; }
.dots i.on { width: 22px; background: #fff; }

.rank-card { background: #fff; border-radius: 20px; padding: 18px 18px 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.rank-head { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 8px; }
.rank-head span { font-size: 17px; font-weight: 700; }
.rank-head em { font-style: normal; font-size: 12px; color: var(--muted); }
.rank-card ul { flex: 1; }
.rank-card li a { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed #f2f3f5; }
.rank-card li:last-child a { border-bottom: 0; }
.rank-no {
  flex: none; width: 20px; height: 20px; border-radius: 6px;
  background: #f2f3f5; color: #98a2b3; font-size: 12px; font-weight: 700;
  display: grid; place-items: center;
}
.rank-no.n1 { background: linear-gradient(135deg, #ff8a00, #ff3d00); color: #fff; }
.rank-no.n2 { background: #ffb547; color: #fff; }
.rank-no.n3 { background: #ffd166; color: #7a4b00; }
.rank-card img { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; flex: none; background: #f7f8fa; }
.rank-info { min-width: 0; }
.rank-info p { font-size: 12.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rank-info .rp { display: flex; align-items: baseline; gap: 6px; margin-top: 2px; }
.rank-info b { color: var(--brand); font-size: 14px; }
.rank-info s { font-size: 11px; color: #b6bec9; }
.rank-foot { display: flex; border-top: 1px solid #f2f3f5; padding-top: 12px; margin-top: 8px; }
.rank-foot div { flex: 1; text-align: center; }
.rank-foot b { display: block; color: var(--brand); font-size: 18px; font-weight: 800; }
.rank-foot span { font-size: 11px; color: var(--muted); }

/* ---------- 分类金刚区 ---------- */
.cats { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; padding: 22px 18px 0; }
.cat {
  background: #fff; border-radius: 14px; padding: 12px 10px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-ico {
  width: 46px; height: 46px; border-radius: 14px; background: var(--c, #ff5000);
  color: #fff; font-size: 18px; font-weight: 700;
  display: grid; place-items: center;
  box-shadow: 0 6px 14px color-mix(in srgb, var(--c, #ff5000) 32%, transparent);
}
.cat-name { font-size: 14px; font-weight: 600; }
.cat-cnt { font-size: 11px; color: var(--muted); }

/* ---------- 区块 / 商品卡 ---------- */
.sec { padding: 26px 0 0; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; gap: 12px; }
.sec-head h3 { font-size: 21px; font-weight: 800; letter-spacing: 0.5px; display: flex; align-items: baseline; gap: 10px; }
.sec-head h3::before {
  content: ""; width: 5px; height: 20px; border-radius: 3px;
  background: linear-gradient(180deg, #ff8a00, #ff3d00);
}
.sec-head h3 small { font-size: 12px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.sec-head > a { font-size: 13px; color: var(--muted); }
.sec-head > a:hover { color: var(--brand); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(216px, 1fr)); gap: 16px; }

.prod {
  background: #fff; border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  border: 1px solid rgba(235, 237, 240, 0.7);
}
.prod:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(29, 33, 41, 0.1); }
.prod-pic { position: relative; aspect-ratio: 1/1; background: #f7f8fa; overflow: hidden; }
.prod-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.prod:hover .prod-pic img { transform: scale(1.05); }
.badge-tmall, .badge-tb {
  position: absolute; top: 10px; left: 10px; font-size: 11px; color: #fff;
  padding: 2px 7px; border-radius: 5px; letter-spacing: 1px;
}
.badge-tmall { background: #e60012; }
.badge-tb { background: #ff6a00; }
.badge-coupon {
  position: absolute; bottom: 10px; right: 10px;
  background: linear-gradient(90deg, #ff7a18, #ff3d00); color: #fff;
  font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 7px;
  box-shadow: 0 4px 10px rgba(255, 61, 0, 0.3);
}
.prod-body { padding: 12px 12px 14px; display: flex; flex-direction: column; flex: 1; }
.prod-title {
  font-size: 13.5px; line-height: 1.45; height: 2.9em; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  color: #222;
}
.prod-price { display: flex; align-items: baseline; gap: 6px; padding-top: 10px; }
.p-now { color: var(--brand); font-size: 22px; font-weight: 800; line-height: 1; }
.p-now i { font-style: normal; font-size: 12px; font-weight: 600; margin-right: 1px; }
.p-old { font-size: 12px; color: #b6bec9; text-decoration: line-through; }
.p-sales { margin-left: auto; font-size: 11px; color: var(--muted); }
.prod-shop {
  display: flex; justify-content: space-between; gap: 6px; align-items: center;
  margin-top: 9px; padding-top: 9px; border-top: 1px dashed #f2f3f5;
  font-size: 12px; color: var(--muted);
}
.prod-shop span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prod-shop em { font-style: normal; color: #ff8a00; flex: none; }

/* ---------- 优惠券专区 ---------- */
.coupon-band {
  margin-top: 26px; padding: 18px 20px 20px; border-radius: 20px;
  background: linear-gradient(120deg, #fff2e9 0%, #fff9f5 60%, #fff 100%);
  border: 1px solid #ffe6d8;
}
.coupon-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 12px; }
.coupon-card { display: flex; gap: 10px; background: #fff; border-radius: 14px; padding: 10px; border: 1px solid #ffe7da; }
.coupon-card:hover { border-color: #ffb88f; }
.coupon-card img { width: 86px; height: 86px; border-radius: 10px; object-fit: cover; flex: none; background: #f7f8fa; }
.cc-body { min-width: 0; display: flex; flex-direction: column; }
.cc-title { font-size: 13px; line-height: 1.4; height: 2.8em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cc-price { margin-top: auto; display: flex; align-items: baseline; gap: 6px; padding-top: 6px; }
.cc-price b { color: var(--brand); font-size: 19px; font-weight: 800; }
.cc-price em { font-style: normal; color: var(--brand); font-size: 12px; }
.cc-coupon {
  font-size: 11px; color: var(--brand); border: 1px dashed #ff8a52;
  border-radius: 4px; padding: 0 5px; background: #fff7f2;
}
.cc-meta { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* ---------- 列表页 ---------- */
.list-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; padding: 26px 0 16px; }
.list-head h1 { font-size: 26px; font-weight: 800; }
.list-head h1 small { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 8px; }
.list-head .count { font-size: 13px; color: var(--muted); }
.filters { background: #fff; border-radius: 14px; padding: 12px 16px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.filters .fl { font-size: 12px; color: var(--muted); margin-right: 2px; }
.chip { font-size: 13px; padding: 6px 14px; border-radius: 18px; background: #f5f6f8; color: #4e5969; }
.chip:hover { color: var(--brand); }
.chip.on { background: #fff1e8; color: var(--brand); font-weight: 600; }
.crumb { padding: 18px 0 0; font-size: 12.5px; color: var(--muted); }
.crumb a:hover { color: var(--brand); }
.crumb span { color: var(--ink); }
.empty { background: #fff; border-radius: 16px; padding: 60px 20px; text-align: center; color: var(--muted); }
.empty b { display: block; font-size: 18px; color: var(--ink); margin-bottom: 6px; }

.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 28px 0 10px; flex-wrap: wrap; }
.pager a {
  min-width: 38px; height: 38px; padding: 0 10px; border-radius: 10px;
  background: #fff; border: 1px solid var(--line); color: #4e5969;
  display: grid; place-items: center; font-size: 13px;
}
.pager a:hover { border-color: #ffb88f; color: var(--brand); }
.pager a.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }
.pager a.disabled { opacity: 0.45; pointer-events: none; }
.pager .pinfo { font-size: 12px; color: var(--muted); margin-left: 6px; }

/* ---------- 详情页 ---------- */
.detail-main {
  display: grid; grid-template-columns: 500px minmax(0, 1fr); gap: 26px;
  background: #fff; border-radius: 20px; padding: 22px; margin-top: 14px;
  box-shadow: var(--shadow);
}
.g-main { aspect-ratio: 1/1; border-radius: 14px; overflow: hidden; background: #f7f8fa; }
.g-main img { width: 100%; height: 100%; object-fit: cover; }
.g-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.g-thumbs img { width: 66px; height: 66px; border-radius: 8px; object-fit: cover; cursor: pointer; border: 2px solid transparent; background: #f7f8fa; }
.g-thumbs img.on { border-color: var(--brand); }
.g-tip { margin-top: 10px; font-size: 12px; color: #b6bec9; }

.buy-panel h1 { font-size: 23px; line-height: 1.42; font-weight: 700; }
.subtitle { color: var(--muted); font-size: 14px; margin-top: 8px; }
.price-box {
  margin-top: 16px; border-radius: 16px; padding: 16px 20px;
  background: linear-gradient(135deg, #fff3ec, #ffe9dc);
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.price-box .label { display: block; font-size: 12px; color: #b06a3f; }
.price-box .big { color: var(--brand); font-size: 15px; font-weight: 600; }
.price-box .big b { font-size: 38px; font-weight: 800; letter-spacing: -0.5px; }
.price-box .save { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; font-size: 12px; color: #a5704c; }
.price-box .save s { color: #b6bec9; }
.price-box .save em { font-style: normal; color: var(--brand); font-weight: 600; }
.coupon-tag {
  display: inline-flex; align-items: baseline; gap: 5px;
  background: linear-gradient(90deg, #ff7a18, #ff3d00); color: #fff;
  padding: 8px 14px; border-radius: 10px;
  box-shadow: 0 8px 18px rgba(255, 61, 0, 0.28);
}
.coupon-tag span { font-size: 24px; font-weight: 800; line-height: 1; }
.coupon-tag span i { font-style: normal; font-size: 12px; }
.coupon-tag small { font-size: 11px; opacity: 0.9; }
.coupon-note { font-size: 12px; color: #a5704c; margin-top: 8px; text-align: center; }
.meta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.meta-grid div { background: #fafbfc; border-radius: 10px; padding: 8px 10px; }
.meta-grid span { display: block; font-size: 11px; color: var(--muted); }
.meta-grid b { font-size: 13px; font-weight: 600; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.actions { display: flex; gap: 12px; margin-top: 20px; }
.btn-buy {
  flex: 1; height: 54px; border-radius: 27px;
  background: linear-gradient(90deg, #ff8a00, #ff3d00); color: #fff;
  font-size: 17px; font-weight: 700; letter-spacing: 1px;
  display: grid; place-items: center;
  box-shadow: 0 12px 24px rgba(255, 61, 0, 0.3);
}
.btn-buy:hover { filter: brightness(1.05); }
.btn-tpwd {
  flex: none; width: 196px; height: 54px; border-radius: 27px; cursor: pointer;
  border: 1px solid #ffbf9d; background: #fff; color: var(--brand);
  font-size: 15px; font-weight: 600;
}
.btn-tpwd:hover { background: #fff7f2; }
.tpwd-box[hidden] { display: none; }
.tpwd-box {
  margin-top: 12px; background: #fff8f3; border: 1px dashed #ffbf9d;
  border-radius: 10px; padding: 10px 12px; display: flex; align-items: center; gap: 10px;
}
.tpwd-box code { flex: 1; font-size: 13px; color: #7a4423; word-break: break-all; }
.tpwd-box button { flex: none; border: 0; border-radius: 8px; background: var(--brand); color: #fff; padding: 6px 14px; cursor: pointer; }
.promise { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; font-size: 12px; color: #6b4a38; }
.promise span::before { content: "✓"; color: var(--brand); font-weight: 700; margin-right: 4px; }
.notice-line { margin-top: 12px; font-size: 12px; color: var(--muted); }

/* 移动端吸底 */
.m-buybar { display: none; }

/* ---------- 页脚 ---------- */
.site-footer { background: #1f2430; color: #9aa3b2; margin-top: 42px; padding: 40px 0 22px; font-size: 13px; }
.foot-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 28px; }
.foot-brand b { color: #fff; font-size: 20px; display: block; }
.foot-brand p { margin-top: 8px; line-height: 1.8; color: #8b93a3; }
.foot-col h4 { color: #fff; font-size: 14px; margin-bottom: 10px; }
.foot-col a, .foot-col p { display: block; color: #8b93a3; margin-bottom: 6px; }
.foot-col a:hover { color: #ff9c6b; }
.foot-copy {
  margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; color: #7b8390;
}
.foot-copy a:hover { color: #ff9c6b; }

/* ---------- 提示页 ---------- */
.msg-page { background: #fff; border-radius: 20px; padding: 70px 24px; text-align: center; margin: 40px 0; box-shadow: var(--shadow); }
.msg-page .code { font-size: 64px; font-weight: 800; color: #ffd8c2; line-height: 1; }
.msg-page h2 { font-size: 22px; margin-top: 8px; }
.msg-page p { color: var(--muted); margin-top: 8px; }
.msg-page a { display: inline-block; margin-top: 22px; background: var(--brand); color: #fff; border-radius: 22px; padding: 10px 26px; }

/* ---------- 关于页 ---------- */
.about-card { background: #fff; border-radius: 20px; padding: 34px 38px; margin: 24px 0; box-shadow: var(--shadow); }
.about-card h1 { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.about-card .lead { color: var(--muted); margin-bottom: 20px; }
.about-card h3 { font-size: 17px; margin: 22px 0 8px; color: #222; }
.about-card p { color: #4e5969; line-height: 1.9; margin-bottom: 8px; }
.about-card ul { margin: 6px 0 0; padding-left: 2px; color: #4e5969; line-height: 2; }

/* ---------- 响应式 ---------- */
@media (max-width: 1120px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 300px; }
  .carousel { height: 312px; }
  .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .detail-main { grid-template-columns: 420px minmax(0, 1fr); gap: 20px; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .rank-card { display: none; }
  .hwrap { height: 66px; gap: 14px; }
  .header-extra { display: none; }
  .logo-text b { font-size: 20px; }
  .logo-text small { display: none; }
  .search { height: 42px; }
  .search button { width: 82px; font-size: 14px; letter-spacing: 1px; }
  .mainnav { height: 44px; gap: 22px; font-size: 14px; }
  .mainnav a.on::after { bottom: -12px; }
  .detail-main { grid-template-columns: 1fr; padding: 14px; }
  .foot-grid { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 640px) {
  .topbar { height: 30px; }
  .topbar .tb-right { display: none; }
  .hero { padding-top: 14px; }
  .carousel { height: 200px; border-radius: 14px; }
  .slide-mask { padding: 0 22px; }
  .slide-mask h2 { font-size: 20px; }
  .slide-mask p { font-size: 12px; }
  .slide-btn { margin-top: 12px; padding: 6px 16px; font-size: 12px; }
  .dots { left: 22px; bottom: 12px; }
  .cats { gap: 8px; padding: 14px 14px 0; }
  .cat { padding: 10px 6px; border-radius: 12px; }
  .cat-ico { width: 36px; height: 36px; border-radius: 11px; font-size: 15px; }
  .cat-name { font-size: 12.5px; }
  .cat-cnt { display: none; }
  .wrap { padding: 0 12px; }
  .hwrap { height: auto; padding: 10px 0 8px; flex-wrap: wrap; gap: 8px; }
  .logo { margin-right: auto; }
  .search { flex: 1 1 100%; order: 3; max-width: none; height: 38px; border-width: 1.5px; }
  .search input { font-size: 13px; padding: 0 14px; }
  .search button { width: 72px; font-size: 13px; letter-spacing: 0; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .prod-body { padding: 9px 9px 11px; }
  .prod-title { font-size: 12.5px; }
  .p-now { font-size: 19px; }
  .p-old, .p-sales { font-size: 10.5px; }
  .prod-shop { font-size: 11px; }
  .badge-coupon { font-size: 11px; }
  .coupon-row { grid-template-columns: 1fr; }
  .coupon-row > :nth-child(n+5) { display: none; }
  .coupon-band { padding: 14px; border-radius: 14px; }
  .sec-head h3 { font-size: 17px; }
  .sec-head h3 small { display: none; }
  .list-head h1 { font-size: 20px; }
  .list-head { padding: 18px 0 12px; }
  .detail-main { margin-top: 10px; border-radius: 14px; gap: 14px; }
  .buy-panel h1 { font-size: 17px; }
  .price-box { padding: 12px 14px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .price-box .big b { font-size: 30px; }
  .meta-grid { grid-template-columns: repeat(2, 1fr); }
  .actions { margin-bottom: 56px; }
  .btn-tpwd { width: 132px; font-size: 13px; }
  .m-buybar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    background: #fff; padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 18px rgba(29, 33, 41, 0.08); gap: 10px; align-items: center;
  }
  .m-buybar .mb-price { flex: 1; }
  .m-buybar .mb-price span { display: block; font-size: 10px; color: var(--muted); }
  .m-buybar .mb-price b { color: var(--brand); font-size: 22px; }
  .m-buybar a { flex: none; background: linear-gradient(90deg, #ff8a00, #ff3d00); color: #fff; font-size: 14px; font-weight: 700; padding: 10px 22px; border-radius: 22px; }
  .about-card { padding: 22px 18px; }
  .msg-page { padding: 46px 16px; }
}
