/* ============================================================
   PeptiWorks — Blue & White Clinical
   ============================================================ */

:root {
  --blue-900: #0a2a5e;
  --blue-800: #0d3a7d;
  --blue-700: #1250a6;
  --blue-600: #1a6ad0;
  --blue-500: #2f86ea;
  --blue-100: #e8f2fe;
  --blue-50:  #f4f9ff;

  --ink: #0c1a2e;
  --ink-2: #47546b;
  --ink-3: #8a97ab;
  --line: #e2e9f2;
  --line-2: #cbd8e8;
  --bg: #ffffff;
  --bg-2: #f7fafd;

  --green: #10a06a;
  --amber: #d98a04;
  --red: #dc3545;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 8px;
  --shadow-sm: 0 1px 3px rgba(12,26,46,.06);
  --shadow: 0 6px 24px rgba(12,26,46,.08);
  --shadow-lg: 0 18px 50px rgba(12,26,46,.13);

  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }
input, select, textarea { font-family: inherit; font-size: inherit; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 22px; }
.wrap-sm { max-width: 760px; margin: 0 auto; padding: 0 22px; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--blue-900);
  color: #d6e6fb;
  padding: 8px 0;
  font-size: 12.5px;
  text-align: center;
  letter-spacing: .15px;
}
.topbar b { color: #fff; font-weight: 600; }
.topbar .dot { opacity: .4; margin: 0 8px; }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 26px; height: 64px; }
.logo {
  display: flex; align-items: center; gap: 9px;
  font-size: 18px; font-weight: 750; letter-spacing: -.4px; color: var(--blue-900);
  white-space: nowrap; flex-shrink: 0;
}
.logo-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(150deg, var(--blue-600), var(--blue-800));
  display: grid; place-items: center;
  font-size: 15px; font-weight: 800; color: #fff;
  box-shadow: 0 2px 8px rgba(26,106,208,.35);
}
.nav-links { display: flex; gap: 24px; font-size: 14px; color: var(--ink-2); flex: 1; font-weight: 500; }
.nav-links a { transition: color .15s; }
.nav-links a:hover, .nav-links a.on { color: var(--blue-600); }

.cart-btn {
  position: relative; display: flex; align-items: center; gap: 7px;
  padding: 8px 15px; border-radius: 999px;
  border: 1px solid var(--line-2); font-size: 14px; font-weight: 550;
  transition: .18s; white-space: nowrap;
}
.cart-btn:hover { border-color: var(--blue-500); color: var(--blue-600); background: var(--blue-50); }
.cart-count {
  background: var(--blue-600); color: #fff; font-size: 11px; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: 999px;
  display: grid; place-items: center; padding: 0 5px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; transition: .18s; white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--blue-600); color: #fff;
  box-shadow: 0 2px 10px rgba(26,106,208,.28);
}
.btn-primary:hover { background: var(--blue-700); box-shadow: 0 4px 16px rgba(26,106,208,.36); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--blue-500); color: var(--blue-600); background: var(--blue-50); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 68px 0 60px;
  background:
    radial-gradient(ellipse 90% 70% at 75% -20%, rgba(47,134,234,.14), transparent 65%),
    radial-gradient(ellipse 60% 60% at 10% 0%, rgba(232,242,254,.9), transparent 60%),
    linear-gradient(180deg, var(--blue-50), #fff 85%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line-2); border-radius: 999px;
  padding: 6px 14px; font-size: 12.5px; font-weight: 600; color: var(--blue-700);
  margin-bottom: 22px; box-shadow: var(--shadow-sm);
}
.hero-eyebrow .pip { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(16,160,106,.18); }
.hero h1 {
  font-size: clamp(31px, 4.2vw, 47px);
  line-height: 1.1; letter-spacing: -1.6px; font-weight: 760;
  color: var(--blue-900); margin-bottom: 18px;
}
.hero h1 em { font-style: normal; color: var(--blue-600); }
.hero p.lead { font-size: 16.5px; color: var(--ink-2); max-width: 520px; margin-bottom: 30px; line-height: 1.65; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: 12.5px; color: var(--ink-3); display: flex; gap: 16px; flex-wrap: wrap; }
.hero-note span { display: flex; align-items: center; gap: 5px; }

.hero-visual { position: relative; }
.hero-visual .glass-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 26px; box-shadow: var(--shadow-lg);
}
.hv-row { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.hv-row:last-child { border-bottom: none; padding-bottom: 0; }
.hv-row:first-child { padding-top: 0; }
.hv-l { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 550; }
.hv-badge { font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 5px; letter-spacing: .4px; text-transform: uppercase; }
.hv-badge.us { background: var(--blue-100); color: var(--blue-700); }
.hv-badge.intl { background: #fff3e0; color: #b56a00; }
.hv-r { text-align: right; }
.hv-price { font-family: var(--mono); font-weight: 700; font-size: 15px; color: var(--blue-900); }
.hv-sub { font-size: 11.5px; color: var(--ink-3); }

/* ---------- Section ---------- */
.sec { padding: 62px 0; }
.sec.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { margin-bottom: 34px; }
.sec-head.center { text-align: center; }
.sec-head h2 { font-size: clamp(23px, 2.6vw, 30px); letter-spacing: -.8px; color: var(--blue-900); font-weight: 720; margin-bottom: 8px; }
.sec-head p { color: var(--ink-2); font-size: 15px; max-width: 620px; }
.sec-head.center p { margin: 0 auto; }

/* ---------- Warehouse compare ---------- */
.wh-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.wh-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.wh-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; }
.wh-card.us::before { background: linear-gradient(90deg, var(--blue-600), var(--blue-500)); }
.wh-card.intl::before { background: linear-gradient(90deg, #e59a1c, #f5c451); }
.wh-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.wh-icon {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  font-size: 17px; flex-shrink: 0;
}
.wh-card.us .wh-icon { background: var(--blue-100); }
.wh-card.intl .wh-icon { background: #fff5e5; }
.wh-title { font-size: 17px; font-weight: 700; letter-spacing: -.3px; }
.wh-tag {
  margin-left: auto; font-size: 10.5px; font-weight: 700; padding: 3px 9px;
  border-radius: 999px; letter-spacing: .5px; text-transform: uppercase;
}
.wh-card.us .wh-tag { background: var(--blue-100); color: var(--blue-700); }
.wh-card.intl .wh-tag { background: #fff3e0; color: #b56a00; }
.wh-desc { color: var(--ink-2); font-size: 13.5px; margin-bottom: 16px; }
.wh-list { list-style: none; display: grid; gap: 9px; font-size: 13.5px; }
.wh-list li { display: flex; gap: 9px; align-items: flex-start; line-height: 1.5; }
.wh-list .ck { color: var(--green); font-weight: 700; flex-shrink: 0; }
.wh-list .mi { color: var(--ink-3); flex-shrink: 0; }

/* ---------- Series nav ---------- */
.series-row {
  display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px;
  margin-bottom: 30px; scrollbar-width: none;
}
.series-row::-webkit-scrollbar { display: none; }
.series-pill {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: 13.5px; font-weight: 550; color: var(--ink-2); white-space: nowrap;
  transition: .16s; background: #fff;
}
.series-pill:hover { border-color: var(--blue-500); color: var(--blue-600); }
.series-pill.active { background: var(--blue-600); border-color: var(--blue-600); color: #fff; box-shadow: 0 2px 10px rgba(26,106,208,.28); }

/* ---------- Product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.pcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: .2s; position: relative;
}
.pcard:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-3px); }

.pcard-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(170deg, #fafcff, #eef5fe);
  display: grid; place-items: center;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.pcard-media img { width: 100%; height: 100%; object-fit: cover; }
.pcard-media .vial-ph { width: 46%; opacity: .95; }
.pcard-flags { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 5px; }
.pflag {
  font-size: 10px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
  padding: 3px 8px; border-radius: 5px; backdrop-filter: blur(6px);
}
.pflag.best { background: rgba(16,160,106,.92); color: #fff; }
.pflag.soon { background: rgba(12,26,46,.78); color: #fff; }
.pflag.sale { background: var(--blue-600); color: #fff; }

.pcard-body { padding: 15px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.pcard-name { font-size: 14.5px; font-weight: 650; letter-spacing: -.2px; line-height: 1.3; color: var(--blue-900); }
.pcard-strength { font-size: 12px; color: var(--ink-3); margin-top: 2px; margin-bottom: 10px; font-weight: 500; }
.pcard-price { display: flex; align-items: baseline; gap: 7px; margin-bottom: 4px; }
.pcard-price .from { font-size: 10.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .5px; font-weight: 600; }
.pcard-price .amt { font-family: var(--mono); font-size: 20px; font-weight: 750; color: var(--blue-900); letter-spacing: -.6px; }
.pcard-price .per { font-size: 11.5px; color: var(--ink-3); }
.pcard-meta { font-size: 11.5px; color: var(--green); font-weight: 600; margin-bottom: 12px; }
.pcard-meta.out { color: var(--amber); }
.pcard-spacer { flex: 1; }
.pcard-btn {
  display: block; text-align: center; width: 100%;
  padding: 9px 0; border-radius: var(--radius-xs);
  border: 1px solid var(--line-2); font-size: 13px; font-weight: 600;
  color: var(--ink); transition: .16s;
}
.pcard:hover .pcard-btn { border-color: var(--blue-500); color: var(--blue-600); background: var(--blue-50); }

/* ---------- Product detail ---------- */
.pdp { padding: 32px 0 72px; }
.pdp-crumb { font-size: 12.5px; color: var(--ink-3); margin-bottom: 20px; }
.pdp-crumb a { color: var(--ink-2); }
.pdp-crumb a:hover { color: var(--blue-600); }

.pdp-grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: 46px; align-items: start; }

.pdp-media {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(170deg, #fbfdff, #eef5fe);
  aspect-ratio: 1/1; display: grid; place-items: center; overflow: hidden;
  position: sticky; top: 88px;
}
.opt-price { margin-left: auto; font-family: var(--mono); font-size: 18px; font-weight: 750; letter-spacing: -.5px; color: var(--blue-900); }
.opt.intl-opt .opt-price { color: #a86000; }

/* 国际仓选项：底色加强区分 */
.opt.intl-opt { background: #fffdf8; }
.opt.intl-opt.sel { background: #fff6e8; }

/* 图片容器：限制高度避免大片空白 */
.pdp-media { max-height: 520px; }
.pdp-media img { width: 100%; height: 100%; object-fit: cover; }

.pdp h1 { font-size: 30px; letter-spacing: -1px; line-height: 1.15; color: var(--blue-900); margin-bottom: 8px; font-weight: 730; }
.pdp-sub { font-size: 14px; color: var(--ink-3); margin-bottom: 18px; }
.pdp-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.tag {
  font-size: 11.5px; padding: 5px 11px; border-radius: 6px;
  background: var(--bg-2); color: var(--ink-2); border: 1px solid var(--line); font-weight: 550;
}
.tag.blue { color: var(--blue-700); border-color: #cfe2fb; background: var(--blue-50); }
.tag.green { color: #0b7a50; border-color: #c8ebdc; background: #f1fbf7; }

.pdp-desc { color: var(--ink-2); font-size: 14.5px; line-height: 1.75; margin-bottom: 26px; }

/* ---------- Options ---------- */
.options { display: grid; gap: 11px; margin-bottom: 20px; }
.opt {
  border: 1.5px solid var(--line-2); border-radius: var(--radius);
  padding: 15px 17px; cursor: pointer; transition: .16s; background: #fff;
  position: relative;
}
.opt:hover { border-color: #a9c4e6; }
.opt.sel { border-color: var(--blue-600); background: var(--blue-50); box-shadow: 0 0 0 3px rgba(26,106,208,.1); }
.opt.sel.intl-opt { border-color: #e59a1c; background: #fffbf3; box-shadow: 0 0 0 3px rgba(229,154,28,.1); }

.opt-top { display: flex; align-items: center; gap: 10px; }
.opt-radio {
  width: 17px; height: 17px; border-radius: 50%; border: 2px solid var(--line-2);
  flex-shrink: 0; display: grid; place-items: center; transition: .15s;
}
.opt.sel .opt-radio { border-color: var(--blue-600); }
.opt.sel.intl-opt .opt-radio { border-color: #e59a1c; }
.opt.sel .opt-radio::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--blue-600); }
.opt.sel.intl-opt .opt-radio::after { background: #e59a1c; }

.opt-label { font-size: 14.5px; font-weight: 650; letter-spacing: -.2px; }
.opt-badge {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
  padding: 2.5px 8px; border-radius: 5px;
}
.opt-badge.us { background: var(--blue-100); color: var(--blue-700); }
.opt-badge.intl { background: #fff0d9; color: #b56a00; }
.opt-badge.try { background: #eafaf3; color: #0b7a50; }
.opt-sub { padding-left: 27px; margin-top: 6px; font-size: 12.5px; color: var(--ink-2); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.opt-save { color: var(--green); font-weight: 650; font-size: 11.5px; background: #eafaf3; padding: 2px 7px; border-radius: 5px; }
.opt-note { padding-left: 27px; margin-top: 7px; font-size: 12px; color: var(--ink-3); }
.opt-note.warn { color: var(--amber); font-weight: 550; }
.opt-note.promo { color: var(--green); font-weight: 600; }
.cg-free { color: var(--green); font-weight: 650; }

.tier-table { margin: 11px 0 0 27px; width: calc(100% - 27px); border-collapse: collapse; font-size: 12.5px; }
.tier-table td { padding: 4px 0; color: var(--ink-2); }
.tier-table td:last-child { text-align: right; font-family: var(--mono); font-weight: 650; color: var(--ink); }
.tier-table tr.cur td { color: #b56a00; font-weight: 650; }

/* qty */
.qty-row { display: flex; align-items: center; gap: 13px; margin: 18px 0; flex-wrap: wrap; }
.qty-row label { font-size: 13.5px; color: var(--ink-2); font-weight: 550; }
.stepper { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--radius-xs); overflow: hidden; background: #fff; }
.stepper button { padding: 9px 15px; font-size: 16px; color: var(--ink-2); transition: .15s; }
.stepper button:hover:not(:disabled) { background: var(--bg-2); color: var(--ink); }
.stepper button:disabled { opacity: .3; cursor: not-allowed; }
.stepper input {
  width: 50px; text-align: center; border: none; background: transparent;
  color: var(--ink); font-size: 15px; font-weight: 650; font-family: var(--mono);
  -moz-appearance: textfield;
}
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; }
.qty-note { font-size: 12.5px; color: var(--amber); font-weight: 550; flex: 1 1 170px; min-width: 0; line-height: 1.45; }

/* ship compare */
.ship-compare {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-2); padding: 16px 18px; margin-bottom: 20px; font-size: 13px;
}
.ship-compare h4 {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 1px;
  color: var(--ink-3); margin-bottom: 12px; font-weight: 700;
}
.sc-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line-2); }
.sc-row:last-child { border-bottom: none; padding-bottom: 0; }
.sc-l { display: flex; align-items: center; gap: 7px; font-size: 13px; }
.sc-r { display: flex; align-items: baseline; gap: 5px; text-align: right; }
.sc-calc { font-size: 11.5px; color: var(--ink-3); }
.sc-total { font-family: var(--mono); font-weight: 750; font-size: 14.5px; color: var(--blue-900); }
.sc-diff { color: var(--green); font-weight: 700; font-family: var(--mono); }

/* specs */
.pdp-specs { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 11px; }
.spec-row { display: flex; justify-content: space-between; font-size: 13.5px; gap: 16px; }
.spec-row dt { color: var(--ink-3); flex-shrink: 0; }
.spec-row dd { color: var(--ink); font-weight: 550; text-align: right; }

/* RUO block */
.ruo-box {
  margin-top: 16px; padding: 13px 15px; background: var(--bg-2);
  border: 1px solid var(--line); border-radius: var(--radius-xs);
  font-size: 12px; color: var(--ink-2); line-height: 1.6;
}

/* out of stock */
.oos-box {
  border: 1px solid #f5e0bc; background: #fffbf3; border-radius: var(--radius);
  padding: 22px; text-align: center;
}
.oos-box h4 { font-size: 15px; color: #8a5300; margin-bottom: 6px; }
.oos-box p { font-size: 13px; color: #96733a; margin-bottom: 16px; line-height: 1.6; }
.wa-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25d366; color: #fff; font-weight: 650; font-size: 14px;
  padding: 12px 22px; border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px rgba(37,211,102,.35); transition: .18s;
}
.wa-btn:hover { background: #1eb857; transform: translateY(-1px); }

/* ---------- Trust ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { text-align: center; }
.trust-icon {
  width: 44px; height: 44px; margin: 0 auto 12px; border-radius: 12px;
  background: var(--blue-50); border: 1px solid #dbeafe;
  display: grid; place-items: center; font-size: 19px;
}
.trust-item h5 { font-size: 13.5px; font-weight: 650; margin-bottom: 4px; color: var(--blue-900); }
.trust-item p { font-size: 12.5px; color: var(--ink-3); line-height: 1.55; }

/* ---------- Cart ---------- */
.cart-wrap { padding: 36px 0 72px; max-width: 900px; margin: 0 auto; }
.cart-wrap h1 { font-size: 27px; letter-spacing: -.8px; color: var(--blue-900); margin-bottom: 22px; font-weight: 720; }
.cart-group { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.cart-group.us { border-left: 3px solid var(--blue-600); }
.cart-group.intl { border-left: 3px solid #e59a1c; }
.cg-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 12px; flex-wrap: wrap; }
.cg-title { font-size: 14.5px; font-weight: 650; display: flex; align-items: center; gap: 8px; }
.cg-ship { font-size: 12px; color: var(--ink-3); }
.cg-item { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px dashed var(--line); gap: 12px; }
.cg-item:last-of-type { border-bottom: none; }
.cg-name { font-size: 13.5px; font-weight: 600; }
.cg-sub { font-size: 12px; color: var(--ink-3); margin-top: 1px; }
.cg-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.cg-amt { font-family: var(--mono); font-weight: 700; font-size: 14px; }
.cg-rm { color: var(--ink-3); font-size: 17px; line-height: 1; padding: 4px; }
.cg-rm:hover { color: var(--red); }
.cg-foot { display: flex; justify-content: space-between; padding-top: 12px; font-size: 13px; color: var(--ink-2); }
.cg-foot.sum { padding-top: 8px; font-size: 15px; font-weight: 700; color: var(--ink); }
.cg-foot.sum span:last-child { font-family: var(--mono); }

.cart-sum { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; margin-top: 18px; box-shadow: var(--shadow-sm); }
.cs-row { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--ink-2); padding: 6px 0; }
.cs-row span:last-child { font-family: var(--mono); }
.cs-row.grand { font-size: 20px; font-weight: 750; color: var(--ink); padding-top: 14px; margin-top: 8px; border-top: 1px solid var(--line); }
.cs-row.grand span:last-child { color: var(--blue-600); }

.warn-box {
  background: #fffbf3; border: 1px solid #f5e0bc; border-radius: var(--radius-xs);
  padding: 13px 15px; margin-bottom: 14px; font-size: 13px; color: #8a5300; line-height: 1.6;
}

/* empty */
.empty { padding: 90px 20px; text-align: center; }
.empty h2 { font-size: 24px; color: var(--blue-900); margin-bottom: 8px; }
.empty p { color: var(--ink-2); margin-bottom: 24px; }

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--line); padding: 50px 0 32px; background: var(--bg-2); font-size: 13px; color: var(--ink-3); }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 38px; }
.foot-brand { font-size: 16px; font-weight: 750; color: var(--blue-900); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.foot-col h6 { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-2); margin-bottom: 13px; font-weight: 700; }
.foot-col a { display: block; padding: 4.5px 0; transition: .15s; }
.foot-col a:hover { color: var(--blue-600); }
.foot-legal { border-top: 1px solid var(--line-2); padding-top: 24px; font-size: 11.5px; line-height: 1.7; }
.foot-ruo {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xs);
  padding: 13px 15px; margin-bottom: 18px; color: var(--ink-2);
}
.foot-ruo b { color: var(--ink); }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 500; display: grid; gap: 9px; width: max-content; max-width: calc(100vw - 32px); }
.toast {
  background: var(--blue-900); color: #fff; border-radius: var(--radius-sm);
  padding: 12px 20px; font-size: 13.5px; box-shadow: var(--shadow-lg);
  animation: toastIn .25s ease;
}
.toast.err { background: var(--red); }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Gate ---------- */
.gate {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(10,42,94,.55); backdrop-filter: blur(8px);
  display: grid; place-items: center; padding: 20px; overflow-y: auto;
}
.gate-card {
  background: #fff; border-radius: 18px; padding: 34px;
  max-width: 470px; width: 100%; box-shadow: 0 24px 70px rgba(10,42,94,.3);
}
.gate-logo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 750; color: var(--blue-900); margin-bottom: 14px; }
.gate-card h2 { font-size: 21px; letter-spacing: -.5px; color: var(--blue-900); margin-bottom: 7px; font-weight: 720; }
.gate-card > p { color: var(--ink-2); font-size: 13.5px; margin-bottom: 22px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; color: var(--ink-2); margin-bottom: 6px; font-weight: 550; }
.field input, .field select {
  width: 100%; padding: 11px 13px; background: #fff;
  border: 1px solid var(--line-2); border-radius: var(--radius-xs);
  color: var(--ink); font-size: 14.5px; transition: .15s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(47,134,234,.14); }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--ink-2); line-height: 1.55; cursor: pointer; margin-bottom: 14px; }
.check input { margin-top: 3px; width: 15px; height: 15px; accent-color: var(--blue-600); flex-shrink: 0; cursor: pointer; }

.gate-actions { display: flex; gap: 10px; margin-top: 22px; }
.gate-actions .btn { flex: 1; }
.gate-err {
  background: #fef2f2; border: 1px solid #fbd5d5; color: #b91c1c;
  padding: 10px 13px; border-radius: var(--radius-xs); font-size: 12.5px;
  margin-bottom: 14px; display: none;
}
.gate-err.on { display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 38px; }
  .hero p.lead { max-width: none; }
  .pdp-media { position: static; }
}

@media (max-width: 860px) {
  .pdp-grid { grid-template-columns: 1fr; gap: 28px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .wh-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav { height: 56px; gap: 12px; }
  .nav-links { display: none; }
  .logo { font-size: 16.5px; }

  .topbar { font-size: 11.5px; padding: 7px 12px; line-height: 1.4; }
  .topbar .hide-sm { display: none; }

  .hero { padding: 40px 0 36px; }
  .hero h1 { letter-spacing: -1px; }
  .hero p.lead { font-size: 15px; margin-bottom: 24px; }
  .hero-cta .btn { flex: 1; padding: 13px 16px; }
  .hero-note { gap: 10px 14px; font-size: 12px; }
  .hero-visual .glass-card { padding: 18px; }

  .sec { padding: 42px 0; }
  .sec-head { margin-bottom: 24px; }

  .grid { grid-template-columns: repeat(2, 1fr); gap: 11px; }
  .pcard-body { padding: 11px 12px 13px; }
  .pcard-name { font-size: 13px; }
  .pcard-strength { font-size: 11px; margin-bottom: 8px; }
  .pcard-price .amt { font-size: 17px; }
  .pcard-meta { font-size: 10.5px; margin-bottom: 9px; }
  .pcard-btn { padding: 8px 0; font-size: 12px; }
  .pcard-flags { top: 7px; left: 7px; }
  .pflag { font-size: 9px; padding: 2px 6px; }

  .pdp { padding: 20px 0 56px; }
  .pdp h1 { font-size: 22px; }
  .pdp-media { aspect-ratio: 1/1; max-height: 300px; }
  .opt { padding: 13px 14px; }
  .opt-price { font-size: 16.5px; }
  .opt-top { flex-wrap: wrap; }
  .opt-sub, .opt-note { padding-left: 0; }
  .tier-table { margin-left: 0; width: 100%; }
  .sc-row { flex-direction: column; align-items: stretch; gap: 3px; }
  .sc-r { justify-content: space-between; }
  .sc-l { font-size: 12.5px; }

  .series-row { margin-bottom: 22px; margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
  .cart-wrap { padding: 24px 0 56px; }
  .cart-wrap h1 { font-size: 22px; }
  .cg-item { flex-wrap: wrap; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px 18px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .gate-card { padding: 24px 20px; border-radius: 14px; }
  .toast-wrap { left: 16px; right: 16px; transform: none; width: auto; max-width: none; }
}

@media (max-width: 380px) {
  .grid { grid-template-columns: 1fr; }
  .pcard-media { aspect-ratio: 4/3; }
}

/* ============================================================
   Checkout
   ============================================================ */
.co-wrap { padding: 34px 0 76px; max-width: 1060px; margin: 0 auto; }
.co-wrap h1 { font-size: 27px; letter-spacing: -.8px; color: var(--blue-900); font-weight: 720; margin-bottom: 6px; }
.co-crumb { font-size: 12.5px; color: var(--ink-3); margin-bottom: 20px; }
.co-crumb b { color: var(--ink); font-weight: 600; }
.co-crumb a { color: var(--blue-600); }
.co-crumb span { margin: 0 6px; }
.co-grid { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 20px; align-items: start; }
.co-aside { min-width: 0; }
.co-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); padding: 22px; margin-bottom: 16px; }
.co-card h2 { font-size: 16px; font-weight: 700; color: var(--blue-900); margin-bottom: 16px; letter-spacing: -.2px; }
.co-card h3 { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.co-sticky { position: sticky; top: 88px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-grid .field.wide, .field.wide { grid-column: 1 / -1; }
.field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line-2);
  border-radius: var(--radius-xs); font: inherit; font-size: 14.5px;
  color: var(--ink); resize: vertical; background: #fff; transition: .15s;
}
.field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(47,134,234,.12); }
.field .req { color: var(--red); }
.co-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); line-height: 1.55; margin-top: 6px; }
.co-check input { margin-top: 2px; width: 17px; height: 17px; accent-color: var(--blue-600); flex: none; outline: 1px solid var(--blue-500); outline-offset: 1px; border-radius: 3px; }
.co-check span { font-weight: 550; }
.co-fine { font-size: 12px; color: var(--ink-3); line-height: 1.6; margin-top: 12px; }

.co-grp { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.co-head { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; color: var(--blue-800); margin-bottom: 8px; background: var(--blue-50); border-radius: 6px; padding: 7px 9px; }
.co-ship { color: var(--ink-3); font-weight: 500; }
.co-item { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--ink); padding: 4px 0; }
.co-item em { display: block; font-style: normal; font-size: 11.5px; color: var(--ink-3); }
.co-item b { font-family: var(--mono); font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.co-item.sub { color: var(--ink-2); font-size: 12.5px; }
.co-total { margin-top: 14px; }
.co-addr { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); line-height: 1.65; }
.co-meta { color: var(--ink-3); font-size: 12.5px; margin-top: 4px; }
.co-lead { font-size: 13px; color: var(--ink-2); margin-bottom: 14px; }

.pay-list { display: grid; gap: 10px; }
.pay-item { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius-xs); padding: 12px 14px; background: var(--bg-2); }
.pay-ico { font-size: 18px; line-height: 1.2; flex: none; }
.pay-item b { display: block; font-size: 13.5px; color: var(--ink); margin-bottom: 3px; }
.pay-item p { font-size: 12.5px; color: var(--ink-2); line-height: 1.55; margin: 0; }

.done-hero { text-align: center; padding: 14px 0 26px; }
.done-ico { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%; background: #e8f8f0; color: var(--green); display: grid; place-items: center; font-size: 26px; font-weight: 700; }
.done-hero h1 { font-size: 28px; letter-spacing: -.9px; color: var(--blue-900); font-weight: 740; margin-bottom: 8px; }
.done-no { font-family: var(--mono); color: var(--blue-600); cursor: pointer; border-bottom: 1px dashed var(--blue-300, #9cc4f0); }
.done-no:hover { color: var(--blue-700); }
.done-sub { max-width: 540px; margin: 6px auto 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.65; }
.done-sub b { color: var(--amber); font-weight: 700; }
.co-card .wa-btn { width: 100%; justify-content: center; }

@media (max-width: 900px) {
  .co-grid { grid-template-columns: 1fr; }
  .co-first { order: -1; }
  .co-sticky { position: static; }
  .form-grid { grid-template-columns: 1fr; }
  .co-wrap { padding: 22px 0 60px; }
}
.co-addr-line { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }
.co-steps { margin: 0 0 4px 18px; padding: 0; font-size: 13px; color: var(--ink-2); line-height: 1.7; }
.co-steps li { margin-bottom: 6px; }


/* ============================================================
   Doc pages (legal / COA / wholesale / contact / 404)
   ============================================================ */
.doc, .doc-crumb { max-width: 900px; }
.doc { padding: 26px 0 72px; }
.doc-crumb { padding-top: 20px; font-size: 12.5px; color: var(--ink-3); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.doc-crumb a { color: var(--ink-3); }
.doc-crumb a:hover { color: var(--blue-600); }
.doc-crumb b { color: var(--ink); font-weight: 600; }
.doc-head { margin-bottom: 6px; }
.doc-kicker { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); font-weight: 700; margin-bottom: 10px; }
.doc h1 { font-size: 34px; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 12px; }
.doc-intro { font-size: 15px; color: var(--ink-2); line-height: 1.7; max-width: 640px; }
.doc-meta { font-size: 12px; color: var(--ink-3); border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 26px; }
.doc-body h2 { font-size: 17px; margin: 30px 0 10px; letter-spacing: -.01em; }
.doc-body p, .doc-body li { font-size: 14px; line-height: 1.75; color: var(--ink-2); }
.doc-body p { margin-bottom: 12px; }
.doc-body ul { margin: 0 0 14px 20px; }
.doc-body li { margin-bottom: 7px; }
.doc-body a { color: var(--blue-600); }
.doc-note { margin-top: 32px; padding: 16px 18px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 13px; color: var(--ink-2); line-height: 1.7; }

/* COA */
.coa-search { display: flex; gap: 10px; margin: 24px 0 14px; flex-wrap: wrap; }
.coa-search input { flex: 1 1 320px; padding: 13px 15px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); font-size: 14px; font-family: var(--font); }
.coa-search input:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(47,134,234,.14); }
.coa-fields { font-size: 12px; color: var(--ink-3); margin-bottom: 18px; }
.coa-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.coa-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.coa-table th { text-align: left; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: 12px 14px; background: var(--bg-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.coa-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.coa-table tr:last-child td { border-bottom: none; }
.coa-table tbody tr:hover { background: var(--blue-50); }
.coa-table a { color: var(--ink); font-weight: 600; }
.coa-table a:hover { color: var(--blue-600); }
.coa-table .mono { font-family: var(--mono); font-size: 12.5px; }
.coa-table .lot { color: var(--ink); font-weight: 600; }
.coa-table .right { text-align: right; }
.coa-ask { color: var(--blue-600) !important; font-weight: 600; font-size: 12.5px; }
.coa-empty { margin-top: 14px; padding: 14px 16px; background: #fff8e6; border: 1px solid #f2dfa8; border-radius: var(--radius-sm); font-size: 13px; color: #7a5b00; }
.coa-how { margin-top: 42px; border-top: 1px solid var(--line); padding-top: 26px; }
.coa-how h2 { font-size: 18px; margin-bottom: 14px; }
.coa-how ol { margin: 0 0 14px 20px; }
.coa-how li { font-size: 14px; line-height: 1.75; color: var(--ink-2); margin-bottom: 10px; }
.coa-fine { font-size: 12px; color: var(--ink-3); line-height: 1.7; }
.coa-card { display: grid; grid-template-columns: 1.35fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 22px 0 14px; }
.coa-card-main { padding: 8px 22px; }
.coa-row { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.coa-row:last-child { border-bottom: none; }
.coa-row span { color: var(--ink-3); }
.coa-row b { color: var(--ink); text-align: right; }
.coa-card-side { padding: 22px; background: var(--bg-2); border-left: 1px solid var(--line); }
.coa-card-side p { font-size: 13px; color: var(--ink-2); line-height: 1.7; margin-bottom: 14px; }
.coa-status { color: var(--green) !important; }
.coa-card .wa-btn { width: 100%; justify-content: center; }

/* Wholesale */
.ws-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 26px 0 24px; }
.ws-steps > div { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-2); }
.ws-steps b { display: block; font-size: 12px; color: var(--blue-600); letter-spacing: .1em; margin-bottom: 6px; }
.ws-steps span { font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.ws-table td:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.ws-table th:not(:first-child) { text-align: right; }
.ws-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.ws-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.ws-card h3 { font-size: 15px; margin-bottom: 12px; }
.ws-card ul { margin: 0 0 0 18px; }
.ws-card li { font-size: 13.5px; line-height: 1.7; color: var(--ink-2); margin-bottom: 8px; }
.ws-cta { margin-top: 26px; display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: 24px; border: 1px solid var(--line-2); border-radius: var(--radius); background: linear-gradient(135deg, var(--blue-50), #fff); flex-wrap: wrap; }
.ws-cta h2 { font-size: 19px; margin-bottom: 6px; }
.ws-cta p { font-size: 13.5px; color: var(--ink-2); max-width: 420px; line-height: 1.7; }
.ws-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Contact */
.ct-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0 30px; }
.ct-card { display: block; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-decoration: none; transition: .15s; background: #fff; }
.ct-card:hover { border-color: var(--blue-500); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.ct-card.plain { cursor: default; }
.ct-card.plain:hover { transform: none; border-color: var(--line); box-shadow: none; }
.ct-ico { font-size: 22px; margin-bottom: 10px; }
.ct-card h3 { font-size: 15px; margin-bottom: 8px; }
.ct-card p { font-size: 13px; color: var(--ink-2); line-height: 1.7; word-break: break-word; }
.ct-go { display: inline-block; margin-top: 12px; font-size: 12.5px; font-weight: 600; color: var(--blue-600); }
.ct-note { border-top: 1px solid var(--line); padding-top: 24px; }
.ct-note h2 { font-size: 17px; margin-bottom: 12px; }
.ct-note ul { margin: 0 0 14px 18px; }
.ct-note li { font-size: 13.5px; line-height: 1.75; color: var(--ink-2); margin-bottom: 8px; }

/* 404 */
.nf { text-align: center; padding: 70px 0 90px; }
.nf-code { font-size: 64px; font-weight: 800; color: var(--blue-100); letter-spacing: -.04em; line-height: 1; }
.nf h2 { font-size: 24px; margin: 6px 0 8px; }
.nf p { color: var(--ink-2); font-size: 14px; margin-bottom: 22px; }
.nf-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* footer contact */
.foot-contact { margin-top: 14px; font-size: 12.5px; line-height: 1.9; }
.foot-contact a { color: var(--ink-2); }
.foot-contact a:hover { color: var(--blue-600); }

@media (max-width: 900px) {
  .coa-card { grid-template-columns: 1fr; }
  .coa-card-side { border-left: none; border-top: 1px solid var(--line); }
  .ws-grid { grid-template-columns: 1fr; }
  .ct-grid { grid-template-columns: 1fr; }
  .ws-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .doc { padding: 16px 0 56px; }
  .doc h1 { font-size: 26px; }
  .doc-body p, .doc-body li { font-size: 13.5px; }
  .ws-steps { grid-template-columns: 1fr; }
  .ws-cta { padding: 18px; }
  .ws-cta-actions .btn, .ws-cta-actions .wa-btn { width: 100%; justify-content: center; }
  .nf-code { font-size: 48px; }
}

/* ============================================================
   Mobile PDP: buy box before the long description
   ============================================================ */
@media (max-width: 700px) {
  .pdp-grid > div:last-child { display: flex; flex-direction: column; }
  .pdp-grid > div:last-child > h1 { order: 1; }
  .pdp-grid > div:last-child > .pdp-sub { order: 2; }
  .pdp-grid > div:last-child > .pdp-meta { order: 3; }
  .pdp-grid > div:last-child > .buybox { order: 4; margin-top: 10px; }
  .pdp-grid > div:last-child > .pdp-desc { order: 5; margin-top: 18px; }
  .pdp-grid > div:last-child > .ship-compare { order: 6; }
  .pdp-grid > div:last-child > .pdp-specs { order: 7; }
  .pdp-grid > div:last-child > .ruo-box { order: 8; }
  .pdp-media { max-height: 260px; }
  .pdp-meta { margin-bottom: 8px; }
  .opt { padding: 12px 13px; }
  .opt-note { font-size: 11px; }
  .tier-table td { padding: 4px 6px; font-size: 11.5px; }
  .qty-row { margin-top: 12px; }
  /* scroll hint for the category pills */
  .series-row {
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    mask-image: linear-gradient(90deg, #000 0, #000 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 88%, transparent 100%);
  }
  .series-row > * { scroll-snap-align: start; }
  .foot-legal { font-size: 11.5px; }
  .pcard-meta, .foot-col a { font-size: 11.5px; }
}


/* mobile sticky buy bar (PDP only) */

.buybar { opacity: 0; transform: translateY(100%); transition: opacity .18s ease, transform .18s ease; }
.buybar.on { opacity: 1; transform: none; }
@media (max-width: 700px) { .buybar { display: flex; } }
@media (max-width: 700px) {
  .buybar {
    display: flex; align-items: center; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.97);
    border-top: 1px solid var(--line-2);
    box-shadow: 0 -6px 20px rgba(12,26,46,.10);
    backdrop-filter: blur(8px);
  }
  .bb-info { flex: 1 1 auto; min-width: 0; line-height: 1.25; }
  .bb-info b { display: block; font-size: 17px; color: var(--ink); letter-spacing: -.01em; }
  .bb-info span { display: block; font-size: 11px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar .btn { flex: 0 0 auto; padding: 12px 20px; font-size: 14px; }
  .pdp { padding-bottom: 96px; }
  /* compact volume prices on small screens */
  .tier-table { display: block; margin-top: 4px; }
  .tier-table tr { display: inline-flex; gap: 6px; margin: 0 6px 4px 0; padding: 3px 8px; border: 1px solid var(--line); border-radius: 999px; }
  .tier-table td { padding: 0; border: none; font-size: 11px; }
  .tier-table td:first-child { color: var(--ink-3); }
  .tier-table tr.cur { border-color: var(--blue-500); background: var(--blue-50); }
}

.ct-grid { align-items: stretch; }
.ct-card { display: flex; flex-direction: column; }
.ct-card p { flex: 1 1 auto; }
.ct-go { margin-top: auto; padding-top: 12px; }
.ct-card .ct-ico { line-height: 1; }

.ws-hint { display: none; }
@media (max-width: 700px) {
  .ws-hint { display: block; font-size: 11.5px; color: var(--ink-3); margin: 0 0 8px; }
  .coa-table-wrap, .ws-table-wrap {
    position: relative;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(90deg, #000 0, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 92%, transparent 100%);
  }
  .coa-table { font-size: 12.5px; }
  .coa-table th, .coa-table td { padding: 10px 11px; }
}

.foot-contact a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 2px; }
.foot-contact a:hover { color: var(--blue-700); }

/* Buy box before the long description — all widths */
.pdp-grid > div:last-child { display: flex; flex-direction: column; }
.pdp-grid > div:last-child > h1 { order: 1; }
.pdp-grid > div:last-child > .pdp-sub { order: 2; }
.pdp-grid > div:last-child > .pdp-meta { order: 3; }
.pdp-grid > div:last-child > .buybox { order: 4; margin-top: 12px; }
.pdp-grid > div:last-child > .pdp-desc { order: 5; margin-top: 20px; }
.pdp-grid > div:last-child > .ship-compare { order: 6; }
.pdp-grid > div:last-child > .pdp-specs { order: 7; }
.pdp-grid > div:last-child > .ruo-box { order: 8; }

/* volume tiers as chips (all widths) */
.tier-table { display: block; margin-top: 6px; border-collapse: separate; width: auto; }
.tier-table tbody, .tier-table tr { display: inline; }
.tier-table tr { display: inline-flex; gap: 6px; margin: 0 6px 5px 0; padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.tier-table td { padding: 0 !important; border: none !important; font-size: 11.5px; color: var(--ink-2); }
.tier-table td:first-child { color: var(--ink-3); }
.tier-table td:last-child { color: var(--ink); font-weight: 600; }
.tier-table tr.cur { border-color: var(--blue-500); background: var(--blue-50); }

@media (max-width: 640px) {
  .ws-steps { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ws-steps > div { padding: 12px; }
  .ws-hint { color: var(--ink-2); font-weight: 600; }
  .ws-card { padding: 16px 18px; }
}
