/* =============================================================================
 *  롯데마트 제타 克隆站样式 —— 数值全部对齐原站实测
 *
 *  原站 1440×900 实测（见 _recon/orig-*.json）：
 *    顶部快捷条 42px · header 行 56px(pad 4px) · 导航 44px(pad 8px)
 *    logo 92×36 · 搜索框 1010×40（input 952×34 bg#f6f6f6 r8）
 *    로그인 78×40 r8 bg#fbe5e2 · 배송시간예약 118×40 r8 bg#e42910 · 장바구니 90×40 r8 bg#1c7841
 *    导航项 90×28 r8 fs14/600 · 促销条 1440×48 bg#c8e966
 *    hero 1424×237 r8（左右各 8px）· 板块标题 16px/20 fw600
 *    卡片 328×210 gap8 · 页脚 333px
 *  PDP 实测：容器 960 居中，左图 472×472，右信息卡 472×242，
 *            이름 20px/24 fw600 · 가격 20px/24 fw600 · 加购按钮 212×40 r8 bg#1c7841
 * ============================================================================= */

:root {
  --bg: #f6f6f6;
  --surface: #ffffff;
  --line: #e5e5e5;
  --line-2: #d6d6d6;
  --text: #222222;
  --text-2: #4a4a4a;
  --muted: #767676;
  --muted-2: #909090;
  --primary: #e42910;
  --primary-soft: #fbe5e2;
  --promo-bar: #c8e966;
  --action: #1c7841;
  --action-dark: #146432;
  --star: #e42910;

  --font: Pretendard, "Pretendard Variable", -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Segoe UI", Roboto, sans-serif;
  --fs-11: 11px;
  --fs-12: 12px;
  --fs-13: 13px;
  --fs-14: 14px;
  --fs-16: 16px;
  --fs-18: 18px;
  --fs-20: 20px;
  --fs-24: 24px;

  --radius: 8px;
  --strip-h: 42px;
  --row-h: 56px;
  --nav-h: 44px;
  --header-h: calc(var(--row-h) + var(--nav-h));
  --pad: 16px;
  --pad-h: 8px;
  --gap: 8px;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .04);
  --shadow-2: 0 2px 8px rgba(0, 0, 0, .06);
  --shadow-3: 0 8px 24px rgba(0, 0, 0, .12);
}

* , *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-14);
  line-height: 18px;
  color: var(--text);
  background: var(--bg);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; border: 0; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
fieldset { margin: 0; padding: 0; border: 0; }
[hidden] { display: none !important; }

.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-links a {
  position: absolute; left: 8px; top: -60px; z-index: 1000; background: #fff;
  padding: 10px 16px; border-radius: var(--radius); box-shadow: var(--shadow-3);
}
.skip-links a:focus { top: 8px; }

/* ---------- 布局 ---------- */
.container { width: 100%; margin: 0 auto; padding: 0 var(--pad); }
.container-narrow { max-width: 992px; }        /* PDP：960 内容 + 16 padding */
main { min-height: 50vh; background: var(--bg); }
.section { margin-top: 34px; }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 12px; padding: 0; margin-bottom: 12px;
}
.section-head h2 { font-size: var(--fs-16); line-height: 20px; font-weight: 600; letter-spacing: -0.2px; }
.section-head .sub { font-size: var(--fs-12); color: var(--muted); font-weight: 400; }
.section-head .more { font-size: var(--fs-12); color: var(--muted); }
.section-head .more:hover { color: var(--text); }

/* ---------- 按钮（原站：40px 高 / r8 / fw600 / 14px） ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  height: 40px; padding: 0 14px; border-radius: var(--radius);
  font-size: var(--fs-14); line-height: 16px; font-weight: 600;
  border: 1px solid var(--line-2); background: #fff; color: var(--text);
  transition: background .12s, border-color .12s, color .12s;
  white-space: nowrap;
}
.btn:hover { background: #f4f4f4; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: #cf2410; border-color: #cf2410; }
.btn-action { background: var(--action); border-color: var(--action); color: #fff; }
.btn-action:hover { background: var(--action-dark); border-color: var(--action-dark); }
.btn-soft { background: var(--primary-soft); border-color: var(--primary-soft); color: var(--text); }
.btn-soft:hover { background: #f8dad6; border-color: #f8dad6; }
.btn-lg { height: 48px; font-size: var(--fs-16); }
.btn-sm { height: 28px; padding: 0 8px; font-size: var(--fs-13); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .45; cursor: default; }

.chip {
  display: inline-flex; align-items: center; height: 32px; padding: 0 12px;
  border-radius: var(--radius); border: 1px solid var(--line-2); background: #fff;
  font-size: var(--fs-13); color: var(--text-2); white-space: nowrap;
}
.chip.on { border-color: var(--primary); color: var(--primary); font-weight: 600; }

.tag {
  display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: 4px;
  font-size: var(--fs-11); font-weight: 600; line-height: 1; background: var(--primary-soft); color: var(--primary);
}
.tag-gray { background: #f0f0f0; color: var(--text-2); }

/* =============================================================================
 *  顶部快捷条 42px
 * ============================================================================= */
.zt-strip { background: #fff; height: var(--strip-h); overflow: hidden; position: relative; }
.zt-strip ul {
  display: flex; align-items: stretch; height: 100%; overflow-x: auto; scrollbar-width: none;
}
.zt-strip ul::-webkit-scrollbar { display: none; }
.zt-strip li { flex: none; }
.zt-strip a {
  display: inline-flex; align-items: center; gap: 6px; height: var(--strip-h);
  padding: 0 12px; font-size: var(--fs-14); line-height: 18px; color: var(--text);
}
.zt-strip a:hover { background: #f7f7f7; }
.zt-strip img { width: 20px; height: 20px; border-radius: 4px; object-fit: cover; }
.zt-strip .strip-more {
  position: absolute; right: 0; top: 0; height: var(--strip-h); width: 40px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(90deg, rgba(255,255,255,0), #fff 40%);
}
.zt-strip .strip-more svg { width: 14px; height: 14px; fill: var(--text); transform: rotate(90deg); }

/* =============================================================================
 *  header：行 56px + 导航 44px
 * ============================================================================= */
.zt-header { background: #fff; position: sticky; top: 0; z-index: 60; }
.zt-header .h-main {
  display: flex; align-items: center; gap: var(--gap);
  height: var(--row-h); padding: 0 4px;
}
.zt-logo { margin-left: 4px; }
.zt-logo { flex: none; display: flex; align-items: center; }
.zt-logo svg, .zt-logo-svg { display: block; width: 92px; height: 36px; }

.zt-search { flex: 1 1 auto; min-width: 0; position: relative; height: 40px; }
.zt-search form { display: flex; align-items: center; height: 40px; position: relative; }
.zt-search input {
  width: 100%; height: 34px; border: 0; outline: 0; border-radius: var(--radius);
  background: #f6f6f6; padding: 0 44px 0 12px; font-size: var(--fs-16); line-height: 20px;
}
.zt-search input::placeholder { color: #9a9a9a; }
.zt-search .s-btn {
  position: absolute; right: 2px; top: 3px; width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center; border-radius: 6px;
}
.zt-search .s-btn svg { width: 20px; height: 20px; fill: var(--text); }

.zt-actions { display: flex; align-items: center; gap: 6px; flex: none; margin-left: auto; }
.zt-action {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  height: 40px; padding: 0 12px; border-radius: var(--radius);
  font-size: var(--fs-14); line-height: 16px; font-weight: 600; white-space: nowrap;
}
.zt-action svg { width: 18px; height: 18px; fill: currentColor; }
.zt-action.login { background: var(--primary-soft); color: var(--text); }
.zt-action.login:hover { background: #f7d7d2; }
.zt-action.book { background: var(--primary); color: #fff; }
.zt-action.book:hover { background: #cf2410; }
.zt-action.cartpill { background: var(--action); color: #fff; min-width: 90px; }
.zt-action.cartpill:hover { background: var(--action-dark); }
.zt-action .badge { display: none; }

/* 导航 44px */
.zt-nav { height: var(--nav-h); padding: 0 8px; display: flex; align-items: center; overflow: hidden; }
.zt-nav ul { display: flex; align-items: center; gap: var(--gap); height: 100%; overflow-x: auto; scrollbar-width: none; min-width: 0; width: 100%; }
.zt-nav ul::-webkit-scrollbar { display: none; }
.zt-nav li { flex: none; }
.zt-nav li a, .zt-nav .all-cat {
  display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 10px;
  border-radius: var(--radius); font-size: var(--fs-14); line-height: 16px; font-weight: 600;
  color: var(--text); background: transparent;
}
.zt-nav li a:hover, .zt-nav .all-cat:hover { background: #f2f2f2; }
.zt-nav li a.hot { color: var(--primary); }
.zt-nav svg { width: 14px; height: 14px; fill: var(--text); }
.zt-nav .new { font-size: 10px; font-weight: 700; color: #fff; background: var(--primary); border-radius: 3px; padding: 1px 3px; }

/* 促销绿条 48px */
.zt-promo {
  height: 48px; background: var(--promo-bar); display: flex; align-items: center;
  justify-content: center; position: relative; font-size: var(--fs-14); line-height: 18px;
}
.zt-promo a { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.zt-promo .chev { width: 12px; height: 12px; fill: var(--text); transform: rotate(-90deg); }
.zt-promo .close {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: #fff;
}
.zt-promo .close svg { width: 14px; height: 14px; fill: var(--text); }
.zt-promo.off { display: none; }

/* =============================================================================
 *  类目抽屉
 * ============================================================================= */
.zt-drawer-mask {
  position: fixed; inset: 0; background: rgba(0, 0, 0, .4); z-index: 90;
  opacity: 0; pointer-events: none; transition: opacity .18s;
}
.zt-drawer-mask.on { opacity: 1; pointer-events: auto; }
.zt-drawer {
  position: fixed; top: 0; left: 0; bottom: 0; width: 320px; max-width: 88vw; background: #fff;
  z-index: 91; transform: translateX(-100%); transition: transform .22s ease;
  display: flex; flex-direction: column;
}
.zt-drawer.on { transform: none; }
.zt-drawer .d-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
}
.zt-drawer .d-head h2 { font-size: var(--fs-16); font-weight: 600; }
.zt-drawer .d-body { overflow: auto; flex: 1; padding: 4px 0 24px; }
.zt-drawer .d-body a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 16px; font-size: var(--fs-14); color: var(--text-2);
}
.zt-drawer .d-body a:hover { background: #f7f7f7; color: var(--text); }
.zt-drawer .d-root { font-weight: 600; color: var(--text); }
.zt-drawer .d-sub { padding-left: 28px; font-size: var(--fs-13); color: var(--muted); }
.zt-drawer .d-group { border-bottom: 1px solid #f2f2f2; padding: 2px 0; }
.zt-drawer .d-close { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.zt-drawer .d-close:hover { background: #f2f2f2; }
.zt-drawer svg { width: 16px; height: 16px; fill: var(--text); }

/* =============================================================================
 *  首页：欢迎语 + 登录/注册卡
 * ============================================================================= */
.zp-greet { padding: 26px 0 11px; }
.zp-greet h1 { font-size: var(--fs-20); line-height: 24px; font-weight: 600; letter-spacing: -0.4px; }
.zp-authcards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-bottom: 16px; }
.zp-authcard {
  display: flex; align-items: center; gap: 12px; background: #fff; border-radius: var(--radius);
  padding: 16px 18px; min-height: 86px;
}
.zp-authcard:hover { box-shadow: var(--shadow-2); }
.zp-authcard .ic { width: 24px; height: 24px; flex: none; }
.zp-authcard .ic svg { width: 24px; height: 24px; fill: var(--text); }
.zp-authcard .tx { flex: 1; min-width: 0; }
.zp-authcard b { display: block; font-size: var(--fs-16); line-height: 20px; font-weight: 600; }
.zp-authcard span { display: block; margin-top: 4px; font-size: var(--fs-13); color: var(--muted); }
.zp-authcard .chev { width: 16px; height: 16px; fill: var(--text); flex: none; }

/* hero：左右各 8px，1424×237 @1440 → 6:1 */
.zp-hero { margin: 0 8px; position: relative; }
.zp-hero-main {
  position: relative; border-radius: var(--radius); overflow: hidden; background: #eaeaea;
  aspect-ratio: 1424 / 237;
}
.zp-hero-main .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .4s; }
.zp-hero-main .slide.on { opacity: 1; }
.zp-hero-main img { width: 100%; height: 100%; object-fit: cover; }
.zp-hero-ctrl {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; z-index: 3;
}
.zp-hero-ctrl button { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; }
.zp-hero-ctrl svg { width: 14px; height: 14px; fill: #fff; }
.zp-hero-dots { display: flex; align-items: center; gap: 6px; }
.zp-hero-dots button { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.55); padding: 0; }
.zp-hero-dots button.on { background: #fff; width: 16px; border-radius: 3px; }
.zp-hero-side { display: none; }

/* 快捷入口（原站放在顶部条，这里保留卡片式用于兜底） */
.zp-quick { display: grid; grid-template-columns: repeat(8, 1fr); gap: var(--gap); margin-top: 12px; }
.zp-quick a {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px;
  background: #fff; border-radius: var(--radius); font-size: var(--fs-13); color: var(--text-2); text-align: center;
}
.zp-quick .ico { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: #f7f7f7; display: inline-flex; align-items: center; justify-content: center; }
.zp-quick .ico img { width: 100%; height: 100%; object-fit: cover; }
.zp-quick svg { width: 20px; height: 20px; fill: var(--primary); }

/* 优惠券条（原站没有；保留但压低视觉权重） */
.zp-coupons { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: 12px; }
.zp-coupon { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff; border-radius: var(--radius); padding: 12px 14px; }
.zp-coupon .c-t { font-size: var(--fs-14); font-weight: 600; }
.zp-coupon .c-d { font-size: var(--fs-12); color: var(--muted); margin-top: 2px; }
.zp-coupon .c-btn { flex: none; height: 28px; padding: 0 10px; border-radius: var(--radius); background: var(--primary-soft); color: var(--primary); font-size: var(--fs-12); font-weight: 600; }
.zp-coupon .c-btn.done { background: #f0f0f0; color: var(--muted); }

/* 轨道 */
.zp-rail { position: relative; padding: 0; }
.zp-rail .rail-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 328px; gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.zp-rail .rail-track::-webkit-scrollbar { display: none; }
.zp-rail .rail-track > * { scroll-snap-align: start; }
.zp-rail .rail-nav {
  position: absolute; top: -32px; width: 28px; height: 28px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; z-index: 3;
}
.zp-rail .rail-nav.prev { right: 40px; }
.zp-rail .rail-nav.next { right: 8px; }
.zp-rail .rail-nav svg { width: 14px; height: 14px; fill: var(--text); }

/* ---------- 商品卡（328 宽，标题 16/600，价格 16/600） ---------- */
.zp-card {
  position: relative; background: #fff; border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; height: 100%;
}
.zp-card:hover { box-shadow: var(--shadow-2); }
.zp-card .thumb { position: relative; display: block; background: #f7f7f7; aspect-ratio: 1 / 1; }
.zp-card.banner .thumb { aspect-ratio: 328 / 199; }
.zp-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.zp-card .badges { position: absolute; left: 8px; top: 8px; display: flex; gap: 4px; align-items: flex-start; }
.zp-card .b { display: inline-flex; align-items: center; height: 22px; padding: 0 6px; border-radius: 4px; font-size: var(--fs-11); font-weight: 700; line-height: 1; color: #fff; background: var(--primary); }
.zp-card .b.off { background: var(--primary); }
.zp-card .b.new { background: #222; }
.zp-card .b.free { background: var(--action); }
.zp-card .wish {
  position: absolute; right: 8px; top: 8px; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.9); display: inline-flex; align-items: center; justify-content: center;
}
.zp-card .wish svg { width: 15px; height: 15px; fill: none; stroke: #9a9a9a; stroke-width: 2; }
.zp-card .wish.on svg { fill: var(--primary); stroke: var(--primary); }
.zp-card .add {
  position: absolute; right: 8px; bottom: 8px; width: 32px; height: 32px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center;
}
.zp-card .add svg { width: 16px; height: 16px; fill: var(--action); }
.zp-card .add:hover { background: var(--action); border-color: var(--action); }
.zp-card .add:hover svg { fill: #fff; }
.zp-card .body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.zp-card .brand { font-size: var(--fs-12); line-height: 16px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zp-card .nm {
  font-size: var(--fs-16); line-height: 20px; font-weight: 600; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 40px;
}
.zp-card .meta { display: flex; align-items: center; gap: 6px; font-size: var(--fs-12); color: var(--muted); }
.zp-card .meta .star { color: var(--star); font-weight: 600; }
.zp-card .price-row { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.zp-card .pct { color: var(--primary); font-weight: 700; font-size: var(--fs-16); }
.zp-card .pr { font-size: var(--fs-16); line-height: 20px; font-weight: 700; }
.zp-card .was { font-size: var(--fs-12); color: var(--muted-2); text-decoration: line-through; }
.zp-card .unit { font-size: var(--fs-12); color: var(--muted); }
.zp-card .promo { font-size: var(--fs-12); color: var(--primary); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 网格：4 列 gap8 */
.zp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.zp-grid.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* ---------- 面包屑 / 页头 ---------- */
.crumb { display: flex; align-items: center; gap: 4px; font-size: var(--fs-14); line-height: 18px; color: var(--muted); padding: 17px 0 9px; flex-wrap: wrap; }
.crumb a:hover { color: var(--text); }
.crumb .sep { width: 14px; height: 14px; display: inline-flex; }
.crumb .sep::before { content: "›"; width: 14px; text-align: center; color: #b0b0b0; }
.crumb .cur { color: var(--text); }

.page-head { display: flex; align-items: baseline; gap: 8px; padding: 4px 0 14px; }
.page-head h1 { font-size: var(--fs-20); line-height: 24px; font-weight: 600; letter-spacing: -0.4px; }
.page-head .cnt { font-size: var(--fs-13); color: var(--muted); }
.page-head .cnt b { color: var(--primary); }

/* =============================================================================
 *  类目页
 * ============================================================================= */
.cat-hero {
  background: #fff; border-radius: var(--radius); padding: 20px; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.cat-hero .k { font-size: var(--fs-12); color: var(--primary); font-weight: 600; }
.cat-hero h1 { font-size: var(--fs-24); line-height: 30px; font-weight: 600; letter-spacing: -0.6px; margin-top: 4px; }
.cat-hero p { font-size: var(--fs-13); color: var(--muted); margin-top: 6px; }
.cat-hero .thumb { width: 150px; height: 100px; border-radius: var(--radius); overflow: hidden; flex: none; background: #f2f2f2; }
.cat-hero .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat-sub { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 var(--pad-h); margin-bottom: 14px; }

.cat-body { display: grid; grid-template-columns: 208px minmax(0, 1fr); gap: 16px; align-items: start; }
.filters { background: #fff; border-radius: var(--radius); padding: 4px 0 12px; position: sticky; top: calc(var(--header-h) + 8px); }
.filters .f-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.filters .f-head b { font-size: var(--fs-14); font-weight: 600; }
.filters .f-head button { font-size: var(--fs-12); color: var(--muted); text-decoration: underline; }
.filters .f-group { padding: 12px 14px; border-bottom: 1px solid #f4f4f4; }
.filters .f-group:last-child { border-bottom: 0; }
.filters .f-title { font-size: var(--fs-13); font-weight: 600; margin-bottom: 6px; }
.filters label { display: flex; align-items: center; gap: 6px; font-size: var(--fs-13); color: var(--text-2); padding: 4px 0; cursor: pointer; }
.filters input[type="checkbox"], .filters input[type="radio"] { width: 15px; height: 15px; accent-color: var(--primary); }
.filters .f-count { margin-left: auto; color: var(--muted-2); font-size: var(--fs-11); }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 0 12px; flex-wrap: wrap; }
.toolbar .count { font-size: var(--fs-13); color: var(--text-2); }
.toolbar .count b { color: var(--primary); }
.toolbar .sorts { display: flex; align-items: center; gap: 2px; }
.toolbar .sorts button { height: 28px; padding: 0 8px; border-radius: 6px; font-size: var(--fs-12); color: var(--muted); }
.toolbar .sorts button.on { background: #222; color: #fff; font-weight: 600; }
.pager { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 22px 0 8px; flex-wrap: wrap; }
.pager button, .pager a {
  min-width: 32px; height: 32px; padding: 0 8px; border-radius: 6px; border: 1px solid var(--line);
  background: #fff; font-size: var(--fs-13); display: inline-flex; align-items: center; justify-content: center;
}
.pager .on { background: #222; color: #fff; border-color: #222; font-weight: 600; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty b { display: block; font-size: var(--fs-16); color: var(--text); margin-bottom: 6px; font-weight: 600; }

/* =============================================================================
 *  商品详情（PDP）—— 960 容器 / 左 472 图 / 右 472 信息卡
 * ============================================================================= */
.pdp-wrap { padding-bottom: 20px; }
.pdp-top {
  display: grid; grid-template-columns: 472px 472px; gap: 16px;
  justify-content: center; align-items: start; margin-top: 11px;
}
.pdp-left { display: flex; flex-direction: column; gap: 8px; }
.pdp-gallery { background: #fff; border-radius: var(--radius); overflow: hidden; height: 472px; }
.pdp-gallery .main { position: relative; width: 472px; height: 472px; background: #fff; }
.pdp-gallery .main img { width: 100%; height: 100%; object-fit: contain; }
.pdp-gallery .zoom {
  position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary-soft); display: inline-flex; align-items: center; justify-content: center;
}
.pdp-gallery .zoom svg { width: 18px; height: 18px; fill: var(--primary); }
.pdp-left .thumbs { display: flex; align-items: center; gap: 8px; padding: 0; justify-content: flex-start; }
.pdp-left .thumbs button { width: 56px; height: 56px; border-radius: 6px; overflow: hidden; border: 2px solid transparent; padding: 0; flex: none; }
.pdp-left .thumbs button.on { border-color: var(--primary); }
.pdp-left .thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pdp-info { background: #fff; border-radius: var(--radius); padding: 16px; }
.pdp-info .brand { font-size: var(--fs-13); color: var(--muted); }
.pdp-info h1 { font-size: var(--fs-20); line-height: 24px; font-weight: 600; letter-spacing: -0.4px; }
.pdp-info .rating { display: flex; align-items: center; gap: 4px; margin-top: 6px; font-size: var(--fs-13); color: var(--muted); }
.pdp-info .rating .stars { color: var(--star); font-size: var(--fs-14); letter-spacing: -1px; }
.pdp-info .meta { margin-top: 6px; font-size: var(--fs-13); color: var(--text-2); line-height: 20px; }
.pdp-info .origin { margin-top: 8px; font-size: var(--fs-13); color: var(--muted); }
.pdp-info .origin .v { margin-top: 4px; font-size: var(--fs-16); line-height: 20px; color: var(--text); }
.pdp-info .price { margin-top: 12px; font-size: var(--fs-20); line-height: 24px; font-weight: 600; }
.pdp-info .price .was { margin-left: 6px; font-size: var(--fs-13); color: var(--muted-2); font-weight: 400; text-decoration: line-through; }
.pdp-info .cart-btn { margin-top: 12px; width: 212px; }

/* 信息卡下方的三条白条（原站：할인 / 적립 / 브랜드 모아보기） */
.pdp-rows { display: flex; flex-direction: column; gap: var(--gap); width: 472px; margin: 16px 0 0 auto; }
.pdp-row {
  display: flex; align-items: center; gap: 10px; background: #fff; border-radius: var(--radius);
  padding: 14px 16px; min-height: 30px; text-align: left;
}
.pdp-row:hover { box-shadow: var(--shadow-2); }
.pdp-row .ic { width: 24px; height: 24px; flex: none; display: inline-flex; align-items: center; justify-content: center; }
.pdp-row .ic svg { width: 22px; height: 22px; }
.pdp-row .tx { flex: 1; min-width: 0; }
.pdp-row b { display: block; font-size: var(--fs-14); line-height: 18px; font-weight: 600; }
.pdp-row span { display: block; font-size: var(--fs-12); color: var(--muted); margin-top: 2px; }
.pdp-row .chev { width: 16px; height: 16px; fill: var(--text); }

/* 详情选项卡 + 评价 */
.pdp-tabs { margin-top: 28px; }
.pdp-tabs .tabs-head { display: flex; gap: 8px; padding: 0 var(--pad-h); }
.pdp-tabs .tabs-head button {
  height: 28px; padding: 0 10px; border-radius: var(--radius); font-size: var(--fs-14); font-weight: 600; color: var(--muted);
}
.pdp-tabs .tabs-head button.on { background: #222; color: #fff; }
.pdp-tabs .panel { background: #fff; border-radius: var(--radius); padding: 20px; margin-top: 10px; }
.spec-table { width: 100%; font-size: var(--fs-13); }
.spec-table th, .spec-table td { border-bottom: 1px solid #f2f2f2; padding: 10px 12px; text-align: left; vertical-align: top; }
.spec-table th { width: 130px; background: #fafafa; color: var(--muted); font-weight: 600; }
.spec-table td { color: var(--text-2); }
.doc-body { font-size: var(--fs-14); line-height: 22px; color: var(--text-2); }
.doc-body h2 { font-size: var(--fs-16); color: var(--text); margin: 22px 0 8px; font-weight: 600; }
.doc-body h3 { font-size: var(--fs-14); color: var(--text); margin: 16px 0 6px; font-weight: 600; }
.doc-body p { margin: 6px 0; }
.doc-body ul { margin: 6px 0 6px 2px; }
.doc-body li { position: relative; padding-left: 10px; margin: 3px 0; }
.doc-body li::before { content: "·"; position: absolute; left: 0; color: var(--muted); }
.doc-body table { margin: 10px 0; font-size: var(--fs-13); }
.doc-body th, .doc-body td { border: 1px solid var(--line); padding: 8px 10px; }

.rv-head { display: flex; gap: 30px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.rv-score { text-align: center; min-width: 130px; }
.rv-score .n { font-size: 36px; line-height: 1; font-weight: 700; letter-spacing: -1px; }
.rv-score .s { color: var(--star); font-size: var(--fs-14); margin-top: 6px; }
.rv-score .c { font-size: var(--fs-12); color: var(--muted); margin-top: 4px; }
.rv-dist { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 5px; }
.rv-dist .d { display: flex; align-items: center; gap: 8px; font-size: var(--fs-12); color: var(--muted); }
.rv-dist .d .bar { flex: 1; height: 6px; border-radius: 3px; background: #eee; overflow: hidden; }
.rv-dist .d .bar i { display: block; height: 100%; background: var(--star); }
.rv-dist .d .pc { width: 30px; text-align: right; }
.rv-tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; flex-wrap: wrap; }
.rv-item { padding: 14px 2px; border-bottom: 1px solid #f2f2f2; }
.rv-item .top { display: flex; align-items: center; gap: 6px; font-size: var(--fs-12); color: var(--muted); }
.rv-item .who { font-weight: 600; color: var(--text-2); }
.rv-item .photo { display: flex; gap: 6px; margin-top: 8px; }
.rv-item .photo img { width: 76px; height: 76px; border-radius: 6px; object-fit: cover; }
.rv-item .txt { margin-top: 6px; font-size: var(--fs-14); line-height: 22px; color: var(--text-2); }
.rv-item .help { margin-top: 6px; font-size: var(--fs-12); color: var(--muted); }
.rv-item .owner { margin-top: 8px; background: #fafafa; border-radius: 6px; padding: 10px 12px; font-size: var(--fs-13); color: var(--text-2); }
.rv-item .owner b { color: var(--action); }
.rv-note { margin-top: 12px; font-size: var(--fs-11); color: var(--muted-2); }

/* =============================================================================
 *  购物车
 * ============================================================================= */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.cart-list { background: #fff; border-radius: var(--radius); overflow: hidden; }
.cart-list .h { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.cart-list .h b { font-size: var(--fs-16); font-weight: 600; }
.cart-row { display: grid; grid-template-columns: 84px minmax(0, 1fr) 132px 120px; gap: 12px; align-items: center; padding: 14px 16px; border-bottom: 1px solid #f4f4f4; }
.cart-row:last-child { border-bottom: 0; }
.cart-row .img { width: 84px; height: 84px; border-radius: var(--radius); overflow: hidden; background: #f7f7f7; }
.cart-row .img img { width: 100%; height: 100%; object-fit: cover; }
.cart-row .nm { font-size: var(--fs-14); line-height: 20px; font-weight: 500; }
.cart-row .ok { font-size: var(--fs-12); color: var(--muted); margin-top: 3px; }
.cart-row .rm { font-size: var(--fs-12); color: var(--muted); text-decoration: underline; margin-top: 6px; }
.cart-row .price { text-align: right; font-size: var(--fs-16); font-weight: 700; }
.cart-row .price .was { display: block; font-size: var(--fs-12); color: var(--muted-2); font-weight: 400; text-decoration: line-through; }
.cart-summary { background: #fff; border-radius: var(--radius); padding: 16px; position: sticky; top: calc(var(--header-h) + 8px); }
.cart-summary h2 { font-size: var(--fs-16); font-weight: 600; margin-bottom: 10px; }
.cart-summary .line { display: flex; align-items: center; justify-content: space-between; font-size: var(--fs-13); padding: 6px 0; color: var(--text-2); }
.cart-summary .line.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; font-size: var(--fs-14); color: var(--text); font-weight: 600; }
.cart-summary .line.total b { font-size: var(--fs-20); font-weight: 700; color: var(--primary); }
.cart-summary .shipbar .bar { height: 6px; border-radius: 3px; background: #eee; overflow: hidden; margin: 8px 0 6px; }
.cart-summary .shipbar .bar i { display: block; height: 100%; background: var(--action); }
.cart-summary .shipbar .t { font-size: var(--fs-12); color: var(--text-2); }
.cart-empty { padding: 60px 20px; text-align: center; }
.cart-empty b { display: block; font-size: var(--fs-16); font-weight: 600; margin-bottom: 8px; }

/* 数量步进器（原站 28px 高） */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 6px; height: 32px; overflow: hidden; background: #fff; }
.qty button { width: 30px; height: 100%; font-size: var(--fs-16); font-weight: 600; color: var(--text-2); }
.qty button:hover { background: #f4f4f4; }
.qty input { width: 40px; height: 100%; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font-size: var(--fs-14); font-weight: 600; outline: 0; }

/* =============================================================================
 *  结账
 * ============================================================================= */
.co-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
.co-card { background: #fff; border-radius: var(--radius); padding: 18px; margin-bottom: 12px; }
.co-card > h2 { display: flex; align-items: center; gap: 8px; font-size: var(--fs-16); font-weight: 600; margin-bottom: 12px; }
.co-card > h2 .n { width: 20px; height: 20px; border-radius: 50%; background: var(--text); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: var(--fs-11); font-weight: 700; }
.field { margin-bottom: 10px; }
.field > label { display: block; font-size: var(--fs-13); font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.field .req { color: var(--primary); margin-left: 2px; }
.field input, .field select {
  width: 100%; height: 44px; border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 0 12px; font-size: var(--fs-14); background: #fff; outline: 0;
}
.field input:focus, .field select:focus { border-color: var(--text); }
.field input.is-invalid { border-color: var(--primary); background: #fff8f7; }
.field .hint { font-size: var(--fs-12); color: var(--muted); margin-top: 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }

.method-list { display: flex; flex-direction: column; gap: 8px; }
.method { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; cursor: pointer; }
.method.on { border-color: var(--text); }
.method input { width: 16px; height: 16px; accent-color: var(--primary); flex: none; }
.method .t { font-size: var(--fs-14); font-weight: 600; }
.method .d { font-size: var(--fs-12); color: var(--muted); margin-top: 2px; }
.method .r { margin-left: auto; font-size: var(--fs-12); color: var(--muted); }
.method-detail { margin-top: 10px; }
.method-detail select, .method-detail input { width: 100%; height: 44px; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 0 12px; font-size: var(--fs-14); background: #fff; }

.co-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); margin-top: 4px; font-size: var(--fs-14); font-weight: 600; }
.co-total #bp-total { font-size: var(--fs-20); font-weight: 700; color: var(--primary); }
#bp-error { min-height: 0; font-size: var(--fs-13); color: var(--primary); }
#bp-error:not(:empty) { padding: 8px 0 10px; }
.co-error { font-size: var(--fs-13); color: var(--primary); padding: 2px 0 8px; }
.co-secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: var(--fs-12); color: var(--muted); margin-top: 10px; }

.co-summary { background: #fff; border-radius: var(--radius); padding: 16px; position: sticky; top: calc(var(--header-h) + 8px); }
.co-summary h2 { font-size: var(--fs-16); font-weight: 600; margin-bottom: 12px; }
.co-line { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 7px 0; border-bottom: 1px solid #f4f4f4; }
.co-line img { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; background: #f7f7f7; }
.co-line .nm { font-size: var(--fs-12); line-height: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.co-line .q { font-size: var(--fs-12); color: var(--muted); }
.co-line .pr { font-size: var(--fs-13); font-weight: 600; text-align: right; }
.co-sum-line { display: flex; align-items: center; justify-content: space-between; font-size: var(--fs-13); padding: 6px 0; color: var(--text-2); }
.co-sum-line.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; font-weight: 700; color: var(--text); }
.co-sum-line.total b { font-size: var(--fs-18); color: var(--primary); }

/* =============================================================================
 *  登录 / 注册
 * ============================================================================= */
.auth-wrap { display: grid; grid-template-columns: 1fr 480px; min-height: calc(100vh - var(--row-h)); background: #fff; }
.auth-brand { position: relative; background: linear-gradient(150deg, #e42910 0%, #a61100 62%, #7a0900 100%); color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.auth-brand::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 400px; height: 400px; border-radius: 50%; background: rgba(255,255,255,.08); }
.auth-brand .k { font-size: var(--fs-12); font-weight: 600; letter-spacing: 2px; opacity: .9; }
.auth-brand h2 { font-size: 34px; line-height: 1.24; font-weight: 700; margin-top: 12px; letter-spacing: -1px; }
.auth-brand p { margin-top: 14px; font-size: var(--fs-14); line-height: 24px; opacity: .92; max-width: 400px; }
.auth-brand ul { margin-top: 22px; display: flex; flex-direction: column; gap: 8px; font-size: var(--fs-13); }
.auth-form { padding: 48px 48px 36px; display: flex; flex-direction: column; justify-content: center; }
.auth-form h1 { font-size: var(--fs-24); line-height: 30px; font-weight: 600; letter-spacing: -0.6px; }
.auth-form .lead { margin-top: 6px; font-size: var(--fs-13); color: var(--muted); }
.auth-tabs { display: flex; margin: 18px 0 16px; border-bottom: 1px solid var(--line); }
.auth-tabs button { flex: 1; height: 40px; font-size: var(--fs-14); font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.auth-tabs button.on { color: var(--text); border-bottom-color: var(--primary); }
.auth-form .field input { height: 48px; }
.auth-links { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; font-size: var(--fs-12); color: var(--muted); }
.auth-links a:hover { color: var(--text); text-decoration: underline; }
.auth-msg { margin-top: 10px; font-size: var(--fs-13); padding: 10px 12px; border-radius: var(--radius); display: none; }
.auth-msg.on { display: block; }
.auth-msg.err { background: #fff1ef; color: #a61100; }
.auth-msg.ok { background: #eaf5ee; color: var(--action-dark); }
.auth-or { display: flex; align-items: center; gap: 10px; margin: 20px 0 14px; color: var(--muted-2); font-size: var(--fs-12); }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.social-row { display: flex; gap: 8px; }
.social-row .btn { flex: 1; height: 44px; font-size: var(--fs-13); }
.auth-foot { margin-top: 22px; font-size: var(--fs-12); color: var(--muted); line-height: 20px; }
.auth-checks { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 12px; font-size: var(--fs-13); color: var(--text-2); }
.auth-checks label { display: flex; align-items: flex-start; gap: 8px; }
.auth-checks input { width: 16px; height: 16px; margin-top: 1px; accent-color: var(--primary); }

/* =============================================================================
 *  订单完成
 * ============================================================================= */
.done-wrap { max-width: 720px; margin: 36px auto 56px; }
.done-card { background: #fff; border-radius: var(--radius); padding: 32px; text-align: center; }
.done-ic { width: 56px; height: 56px; border-radius: 50%; background: #eaf5ee; display: inline-flex; align-items: center; justify-content: center; }
.done-ic svg { width: 28px; height: 28px; fill: var(--action); }
.done-card h1 { font-size: var(--fs-20); line-height: 26px; font-weight: 600; margin-top: 14px; }
.done-card .sub { color: var(--muted); font-size: var(--fs-13); margin-top: 6px; }
.done-meta { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 14px; text-align: left; }
.done-meta .r { display: flex; justify-content: space-between; gap: 12px; font-size: var(--fs-13); padding: 6px 0; }
.done-meta .r .k { color: var(--muted); }
.done-meta .r .v { font-weight: 600; }
.done-actions { display: flex; gap: 8px; margin-top: 22px; }
.done-actions .btn { flex: 1; height: 48px; }

/* =============================================================================
 *  页脚（原站 333px，4 列，16px 标题）
 * ============================================================================= */
.zt-footer { background: #fff; margin-top: 32px; }
.zt-footer .f-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 16px var(--pad) 10px; }
.zt-footer h3 { font-size: var(--fs-16); line-height: 20px; font-weight: 600; margin-bottom: 8px; }
.zt-footer ul { display: flex; flex-direction: column; gap: 6px; }
.zt-footer li a { font-size: var(--fs-13); color: var(--muted); }
.zt-footer li a:hover { color: var(--text); text-decoration: underline; }
.zt-footer .f-legal { border-top: 1px solid var(--line); padding: 10px var(--pad) 12px; }
.zt-footer .f-links { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: var(--fs-12); color: var(--muted); }
.zt-footer .f-links a:hover { color: var(--text); text-decoration: underline; }
.zt-footer .f-links b { color: var(--text); font-weight: 600; }
.zt-footer .f-info { margin-top: 8px; font-size: var(--fs-11); line-height: 18px; color: var(--muted-2); }
.zt-footer .f-info strong { color: var(--text-2); font-weight: 600; }
.zt-footer .f-copy { margin-top: 8px; font-size: var(--fs-11); color: var(--muted-2); }
.zt-footer .pay-badges { display: flex; align-items: center; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.zt-footer .pay-badges span { display: inline-flex; align-items: center; justify-content: center; height: 24px; padding: 0 6px; border: 1px solid var(--line); border-radius: 4px; font-size: var(--fs-11); color: var(--muted); background: #fff; }
.zt-footer .pay-badges svg { width: 30px; height: 14px; display: block; }

/* ---------- 移动端底栏 ---------- */
.zt-mobile-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; height: 56px; background: #fff; border-top: 1px solid var(--line); z-index: 70; padding-bottom: env(safe-area-inset-bottom, 0); }
.zt-mobile-bar ul { display: grid; grid-template-columns: repeat(4, 1fr); height: 100%; }
.zt-mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 10px; color: var(--muted); height: 100%; }
.zt-mobile-bar a.on { color: var(--primary); font-weight: 600; }
.zt-mobile-bar svg { width: 22px; height: 22px; fill: currentColor; }

/* toast */
.zt-toast {
  position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 16px); z-index: 300;
  background: rgba(20,20,20,.94); color: #fff; padding: 11px 18px; border-radius: var(--radius);
  font-size: var(--fs-13); font-weight: 500; opacity: 0; pointer-events: none;
  transition: opacity .18s, transform .18s; max-width: 90vw; text-align: center;
}
.zt-toast.on { opacity: 1; transform: translate(-50%, 0); }

button.mob-only, .mob-only { display: none !important; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.icon-btn:hover { background: #f2f2f2; }
.icon-btn svg { width: 20px; height: 20px; fill: var(--text); }

/* =============================================================================
 *  响应式
 * ============================================================================= */
@media (max-width: 1180px) {
  .zp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .zp-grid.g5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pdp-top { grid-template-columns: minmax(0, 472px) minmax(0, 472px); }
  .co-layout { grid-template-columns: minmax(0, 1fr) 320px; }
  .zp-rail .rail-track { grid-auto-columns: 300px; }
}

@media (max-width: 980px) {
  .cat-body { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.mobile-on { display: block; }
  .cart-layout, .co-layout { grid-template-columns: 1fr; }
  .co-summary, .cart-summary { position: static; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-brand { padding: 32px 24px; }
  .auth-brand h2 { font-size: 26px; }
  .auth-brand ul { display: none; }
  .auth-form { padding: 28px 24px 36px; }
  .pdp-top { grid-template-columns: 1fr; margin-top: 8px; }
  .pdp-gallery { height: auto; }
  .pdp-gallery .main { width: 100%; height: auto; aspect-ratio: 1/1; }
  .pdp-rows { width: 100%; }
  .zp-quick { grid-template-columns: repeat(4, 1fr); }
  .zp-coupons { grid-template-columns: repeat(2, 1fr); }
  .zt-footer .f-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  :root { --pad: 12px; --pad-h: 12px; }
  .zt-strip { display: none; }
  .zt-header .h-main { height: 56px; padding: 0 8px; gap: 8px; }
  .zt-logo svg, .zt-logo-svg { width: 76px; height: 30px; }
  button.mob-only, .mob-only { display: inline-flex !important; }
  .zt-search form { height: 36px; }
  .zt-search input { height: 36px; font-size: var(--fs-14); padding-right: 38px; }
  .zt-search .s-btn { top: 3px; height: 30px; width: 30px; }
  .zt-actions { gap: 4px; }
  .zt-action { display: none; }
  .zt-action.cartpill { display: inline-flex; min-width: 56px; height: 36px; padding: 0 10px; }
  .zt-action.cartpill .lbl { font-size: var(--fs-13); }
  .zt-nav { height: 40px; padding: 0 8px; }
  .zt-nav li a, .zt-nav .all-cat { height: 30px; padding: 0 8px; font-size: var(--fs-13); }
  .zt-promo { height: 44px; font-size: var(--fs-12); padding: 0 40px 0 12px; text-align: center; }
  .zt-mobile-bar { display: block; }
  body { padding-bottom: 56px; }
  .zp-greet { padding: 14px 0 10px; }
  .zp-greet h1 { font-size: var(--fs-16); }
  .zp-authcards { grid-template-columns: 1fr; }
  .zp-hero { margin: 0; }
  .zp-hero-main { aspect-ratio: 390 / 300; }
  .zp-grid, .zp-grid.g5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zp-rail .rail-track { grid-auto-columns: 46%; }
  .zp-rail .rail-nav { display: none; }
  .zp-card .nm { font-size: var(--fs-14); line-height: 18px; min-height: 36px; }
  .zp-card .pr { font-size: var(--fs-14); }
  .section { margin-top: 24px; }
  .section-head h2 { font-size: var(--fs-14); }
  .cart-row { display: flex; flex-wrap: wrap; gap: 10px; padding: 12px; }
  .cart-row .img { width: 68px; height: 68px; flex: none; }
  .cart-row > div:nth-child(2) { flex: 1 1 120px; min-width: 0; }
  .cart-row > div:nth-child(3) { order: 3; }
  .cart-row > div:nth-child(4) { order: 4; margin-left: auto; }
  .rv-head { gap: 14px; }
  .rv-score .n { font-size: 28px; }
  .zt-footer .f-cols { grid-template-columns: 1fr 1fr; gap: 16px; padding: 20px 12px 16px; }
  .done-card { padding: 22px 16px; }
  .done-actions { flex-direction: column; }
  .pdp-tabs .tabs-head button { padding: 0 8px; font-size: var(--fs-13); }
  .pdp-tabs .panel { padding: 14px; }
  .zt-toast { bottom: 72px; }
}
