/* ============================================================
   Layout system v2 — 2026-11-17
   Editorial section numbering, equal-height cards, stats bar,
   process steps, FAQ accordion, payment chips.
   ============================================================ */

/* ---------- section rhythm ---------- */
.sec { padding: 84px 0; }
.sec.tint { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.sechead-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 28px; margin-bottom: 30px;
}
.sechead-row h2 {
  font-size: clamp(24px, 2.5vw, 32px); letter-spacing: -.9px; color: var(--blue-900);
  font-weight: 750; line-height: 1.18; margin-bottom: 8px;
}
.secsub { color: var(--ink-2); font-size: 15px; line-height: 1.62; max-width: 640px; }
.secno { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.secno b {
  min-width: 27px; height: 21px; padding: 0 6px; border-radius: 5px;
  background: var(--blue-100); color: var(--blue-700);
  font-size: 10.5px; font-weight: 800; letter-spacing: .6px;
  display: grid; place-items: center; font-family: var(--mono);
}
.secno span {
  font-size: 10.5px; letter-spacing: 1.7px; text-transform: uppercase;
  color: var(--ink-3); font-weight: 700;
}
.alllink {
  font-size: 11.5px; letter-spacing: 1.1px; text-transform: uppercase;
  color: var(--blue-600); font-weight: 750; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px; padding-bottom: 4px;
  border-bottom: 1px solid transparent; transition: .16s;
}
.alllink:hover { border-bottom-color: var(--blue-500); }
.alllink svg { flex-shrink: 0; }

/* ---------- stats bar ---------- */
.statsbar { background: var(--blue-900); color: #fff; }
.statsbar .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 24px 22px 26px; border-left: 1px solid rgba(255,255,255,.13); }
.stat:first-child { border-left: none; padding-left: 0; }
.stat b {
  display: block; font-size: 28px; font-weight: 750; letter-spacing: -1px;
  line-height: 1.1; margin-bottom: 7px;
  font-variant-numeric: tabular-nums;
}
.stat span {
  font-size: 10.5px; letter-spacing: 1.3px; text-transform: uppercase;
  color: rgba(255,255,255,.62); font-weight: 600;
}

/* ---------- hero feature card ---------- */
.hero-feature {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden; box-shadow: var(--shadow);
  transition: .2s;
}
.hero-feature:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.hf-media {
  position: relative; background: linear-gradient(170deg, #fbfdff, #eaf3fe);
  height: 268px; display: grid; place-items: center; padding: 14px;
  border-bottom: 1px solid var(--line);
}
.hf-media img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.hf-flag {
  position: absolute; top: 12px; right: 12px;
  background: rgba(16,160,106,.95); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .5px;
  text-transform: uppercase; padding: 4px 9px; border-radius: 5px;
}
.hf-body { padding: 17px 19px 19px; }
.hf-eyebrow {
  font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--ink-3); font-weight: 700; margin-bottom: 7px;
}
.hf-name { font-size: 19px; font-weight: 750; letter-spacing: -.5px; color: var(--blue-900); margin-bottom: 14px; }
.hf-name span { font-size: 13px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.hf-prices { display: grid; gap: 8px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.hf-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.hf-wh { font-size: 12.5px; color: var(--ink-2); }
.hf-amt { font-family: var(--mono); font-size: 16px; font-weight: 750; color: var(--blue-900); }
.hf-foot { margin-top: 11px; font-size: 11.5px; color: var(--ink-3); display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.hf-foot span { color: var(--blue-600); font-weight: 650; display: inline-flex; align-items: center; gap: 4px; }

/* ---------- product grid: equal height ---------- */
.grid { grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.pcard { border-radius: 12px; box-shadow: none; }
.pcard-media {
  aspect-ratio: 1 / 1; padding: 12px;
  background: linear-gradient(170deg, #fbfdff, #eff5fd);
}
.pcard-media img { width: 100%; height: 100%; object-fit: contain; }
.pcard-body { padding: 14px 15px 15px; }
.pcard-name {
  font-size: 14px; font-weight: 700; letter-spacing: -.2px; line-height: 1.35;
  min-height: 38px; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.pcard-strength {
  font-size: 11.5px; color: var(--ink-3); letter-spacing: .1px;
  margin-top: 3px; margin-bottom: 11px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pcard-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 5px; min-height: 26px; }
.pcard-price .amt { font-family: var(--mono); font-size: 20px; font-weight: 750; color: var(--blue-900); letter-spacing: -.6px; }
.pcard-price .unit { font-size: 10.5px; color: var(--ink-3); letter-spacing: .2px; }
.pcard-price .ask { font-size: 14px; font-weight: 650; color: var(--ink-3); }
.pcard-sub {
  font-size: 11.5px; color: var(--ink-2); margin-bottom: 10px;
  min-height: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pstock {
  font-size: 10.5px; font-weight: 650; letter-spacing: .2px;
  margin-bottom: 11px; display: flex; align-items: center; gap: 5px;
}
.pstock::before { content: ''; width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.pstock.in { color: var(--green); }
.pstock.in::before { background: var(--green); }
.pstock.out { color: var(--amber); }
.pstock.out::before { background: var(--amber); }
.pcard-btn { border-color: var(--line); background: #fff; font-size: 12.5px; padding: 9px 0; }

/* ---------- warehouse cards ---------- */
.wh-grid { gap: 22px; align-items: stretch; }
.wh-card { display: flex; flex-direction: column; }
.wh-head { gap: 12px; margin-bottom: 16px; align-items: center; }
.wh-icon { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.wh-sub { font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.wh-tag { margin-left: auto; }
.wh-list { flex: 1; }
.wh-foot {
  margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--line);
  font-size: 11.5px; color: var(--ink-3); letter-spacing: .2px;
}
.wh-list .muted { color: var(--ink-3); }

/* ---------- process steps ---------- */
.flow-label {
  margin: 46px 0 20px; font-size: 10.5px; letter-spacing: 1.7px;
  text-transform: uppercase; color: var(--ink-3); font-weight: 700;
}
.flow5 { display: grid; grid-template-columns: repeat(5, 1fr); }
.step5 { position: relative; padding-right: 18px; }
.step5 .ln { position: absolute; top: 14px; left: 27px; right: 0; height: 1px; background: var(--line-2); }
.step5:last-child .ln { display: none; }
.step5 .num {
  position: relative; z-index: 1; width: 29px; height: 29px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--blue-600); color: var(--blue-700);
  font-size: 10.5px; font-weight: 800; display: grid; place-items: center;
  margin-bottom: 13px; font-family: var(--mono);
}
.step5 h6 { font-size: 13px; font-weight: 700; color: var(--blue-900); margin-bottom: 5px; letter-spacing: -.1px; }
.step5 p { font-size: 12px; color: var(--ink-3); line-height: 1.55; }

/* ---------- verification grid ---------- */
.verify-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.vitem { padding-top: 18px; border-top: 2px solid var(--blue-100); }
.vico {
  width: 34px; height: 34px; border-radius: 8px; background: var(--blue-50);
  color: var(--blue-700); display: grid; place-items: center; margin-bottom: 13px;
}
.vitem h5 { font-size: 13.5px; font-weight: 700; color: var(--blue-900); margin-bottom: 6px; letter-spacing: -.1px; }
.vitem p { font-size: 12.5px; color: var(--ink-2); line-height: 1.6; }

/* ---------- payment ---------- */
.payrow { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.paychip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 16px; border: 1px solid var(--line); border-radius: 9px;
  background: #fff; font-size: 12.5px; font-weight: 600; color: var(--ink);
}
.payico { color: var(--blue-600); display: flex; }
.paynote {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 15px 17px; background: #fff; border: 1px solid var(--line);
  border-left: 3px solid var(--blue-500); border-radius: 9px; max-width: 880px;
}
.paynote > span { color: var(--blue-600); flex-shrink: 0; margin-top: 1px; }
.paynote p { font-size: 12.5px; color: var(--ink-2); line-height: 1.65; }

/* ---------- faq ---------- */
.faq2 { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; align-items: start; }
.fq { border: 1px solid var(--line); border-radius: 9px; background: #fff; overflow: hidden; transition: .16s; }
.fq[open] { border-color: var(--blue-500); box-shadow: var(--shadow-sm); }
.fq summary {
  list-style: none; cursor: pointer; padding: 14px 16px;
  font-size: 13px; font-weight: 650; color: var(--blue-900); line-height: 1.4;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
}
.fq summary::-webkit-details-marker { display: none; }
.fq summary::after {
  content: '+'; color: var(--blue-600); font-weight: 700;
  font-size: 15px; line-height: 1.2; flex-shrink: 0;
}
.fq[open] summary::after { content: '\2212'; }
.fq .a { padding: 0 16px 15px; font-size: 12.5px; color: var(--ink-2); line-height: 1.68; }

/* ---------- hero svg alignment ---------- */
.hero-note svg, .btn svg { vertical-align: -2px; }
.btn { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .verify-grid { grid-template-columns: repeat(2, 1fr); }
  .flow5 { grid-template-columns: repeat(3, 1fr); gap: 26px 0; }
  .step5:nth-child(3) .ln, .step5:nth-child(5) .ln { display: none; }
}
@media (max-width: 860px) {
  .sec { padding: 62px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .hf-media { height: 230px; }
  .sechead-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .wh-grid { grid-template-columns: 1fr; }
  .faq2 { grid-template-columns: 1fr; }
  .statsbar .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.13); }
}
@media (max-width: 620px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .verify-grid { grid-template-columns: 1fr; gap: 18px; }
  .flow5 { grid-template-columns: 1fr; gap: 22px; }
  .step5 { padding-right: 0; }
  .step5 .ln { display: none; }
  .pcard-name { font-size: 13px; min-height: 35px; }
  .pcard-price .amt { font-size: 18px; }
  .pcard-media { padding: 8px; }
  .stat b { font-size: 24px; }
  .paychip { font-size: 11.5px; padding: 9px 13px; }
}

/* ---------- v2.1 fixes ---------- */
.hf-media { height: 292px; padding: 8px 8px 0; }
.hf-media img { max-width: 96%; max-height: 100%; }
.hf-flag {
  background: rgba(10,42,94,.92); color: #fff;
  font-weight: 700; letter-spacing: .6px;
}
.hero-inner { align-items: center; }
.hero .hero-note { gap: 18px; }

.stat { border-left: 1px solid rgba(255,255,255,.22); }
.stat span { font-size: 11.5px; letter-spacing: 1.1px; color: rgba(255,255,255,.72); font-weight: 650; }
.stat b { margin-bottom: 8px; }

.topbar { letter-spacing: .2px; }

/* ---------- v2.2 balance ---------- */
.hero { padding-top: 46px; padding-bottom: 54px; }
.hero h1 { font-size: clamp(37px, 3.9vw, 52px); line-height: 1.06; letter-spacing: -1.6px; }
.hero p.lead { font-size: 16.5px; line-height: 1.7; margin-bottom: 34px; }
.hero-cta { gap: 13px; }
.hero-cta .btn { padding: 14px 26px; }
.hero-cta .btn-ghost { border-color: var(--line-2); color: var(--blue-900); font-weight: 650; }
.hero-cta .btn-ghost:hover { border-color: var(--blue-500); background: var(--blue-50); }
.hf-media { height: 256px; padding: 12px 12px 0; }
.hf-media img { max-width: 88%; }
.hero-feature { box-shadow: var(--shadow-sm); }
.hero-feature:hover { box-shadow: var(--shadow); }
.hero-note { margin-top: 26px; font-size: 12px; gap: 20px; }
.hero-note svg { color: var(--blue-600); }

/* ---------- v2.3 hero image containment ---------- */
.hf-media img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; display: block; }

/* ---------- v2.4 hero image absolute containment ---------- */
.hf-media { position: relative; display: block; overflow: hidden; }
.hf-media img {
  position: absolute; left: 14px; right: 14px; top: 10px; bottom: 8px;
  width: calc(100% - 28px); height: calc(100% - 18px);
  max-width: none; max-height: none; object-fit: contain; display: block;
}
.hf-flag { z-index: 2; }

/* ---------- v2.5 flag unify ---------- */
.pflag { letter-spacing: .6px; box-shadow: 0 1px 2px rgba(12,26,46,.18); }
.pflag.best { background: rgba(18,80,166,.94); color: #fff; }
.pflag.soon { background: rgba(12,26,46,.8); color: #fff; }
.pcard-media { background: linear-gradient(170deg, #fbfdff, #f1f6fd); }

/* ---------- spec comparison table (02 Ordering) ---------- */
.spec-table-wrap {
  margin-top: 36px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; overflow: hidden;
}
.spec-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.spec-table th, .spec-table td {
  padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line);
  vertical-align: top; line-height: 1.5;
}
.spec-table thead th {
  font-size: 10.5px; letter-spacing: 1.3px; text-transform: uppercase;
  color: var(--ink-3); font-weight: 700; background: var(--bg-2);
  border-bottom: 1px solid var(--line-2);
}
.spec-table thead th:first-child { width: 26%; }
.spec-table tbody th {
  font-weight: 650; color: var(--ink-2); font-size: 12.5px; width: 26%;
  letter-spacing: .1px;
}
.spec-table tbody td { color: var(--ink); }
.spec-table tbody tr:last-child th, .spec-table tbody tr:last-child td { border-bottom: none; }
.spec-table .hl { color: var(--green); font-weight: 700; }
.spec-table .sub { font-size: 11px; color: var(--ink-3); }

@media (max-width: 620px) {
  .spec-table th, .spec-table td { padding: 10px 12px; font-size: 12px; }
  .spec-table thead th:first-child, .spec-table tbody th { width: 34%; }
}

/* ---------- show more ---------- */
.showmore-wrap { display: flex; justify-content: center; margin-top: 30px; }
.showmore-wrap .btn { padding: 12px 26px; font-size: 13px; }

/* ---------- guarantee cards ---------- */
.gtee-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gcard {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 21px 19px; display: flex; flex-direction: column;
}
.gcard .gico {
  width: 33px; height: 33px; border-radius: 8px; background: var(--blue-50);
  color: var(--blue-700); display: grid; place-items: center; margin-bottom: 14px;
}
.gcard h5 { font-size: 13.5px; font-weight: 700; color: var(--blue-900); margin-bottom: 7px; letter-spacing: -.1px; }
.gcard p { font-size: 12.5px; color: var(--ink-2); line-height: 1.62; }
.gtee-fine {
  margin-top: 18px; font-size: 11.5px; color: var(--ink-3);
  line-height: 1.65; max-width: 880px;
}

@media (max-width: 1024px) { .gtee-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .gtee-grid { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- guarantee fixes ---------- */
.gtee-grid { gap: 20px; }
.gtee-fine { max-width: none; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 11.5px; }

/* ---------- verify note ---------- */
.verify-note {
  margin-top: 26px; padding: 15px 18px; background: #fff;
  border: 1px solid var(--line); border-radius: 9px;
  display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap;
}
.vn-label {
  font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--blue-700); font-weight: 750; flex-shrink: 0;
  background: var(--blue-50); padding: 4px 9px; border-radius: 5px;
}
.vn-body { font-size: 12.5px; color: var(--ink-2); line-height: 1.6; flex: 1 1 420px; }
