/* 泼猴出海 Pohou · Storefront — Brand Design System */

@import url("./pohou-tokens.css");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

*,
*::before,
*::after { box-sizing: border-box; }

html { color-scheme: dark; scroll-behavior: smooth; }

body.po-body {
  margin: 0;
  min-height: 100vh;
  background: var(--po-bg);
  color: var(--po-text);
  font-family: var(--po-font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.po-body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(820px 460px at 82% 6%, rgba(245, 185, 30, 0.08), transparent 62%),
    radial-gradient(640px 400px at 8% 0%, rgba(245, 185, 30, 0.05), transparent 55%),
    radial-gradient(520px 320px at 70% 70%, rgba(8, 40, 80, 0.08), transparent 70%);
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; display: block; }

/* 全局表单：提高暗色背景下可读性 */
body.po-body input,
body.po-body textarea,
body.po-body select,
body.po-body .form-control {
  color: var(--po-text) !important;
  background: var(--po-input-bg) !important;
  border: 1px solid var(--po-border-strong) !important;
  caret-color: var(--po-primary);
}
body.po-body input::placeholder,
body.po-body textarea::placeholder,
body.po-body .form-control::placeholder {
  color: var(--po-placeholder) !important;
  opacity: 1 !important;
}
body.po-body input::-webkit-input-placeholder,
body.po-body textarea::-webkit-input-placeholder,
body.po-body .form-control::-webkit-input-placeholder {
  color: var(--po-placeholder) !important;
  opacity: 1 !important;
}
body.po-body input:focus,
body.po-body textarea:focus,
body.po-body select:focus,
body.po-body .form-control:focus {
  border-color: rgba(255, 184, 0, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.16) !important;
  outline: none !important;
}
body.po-body .form-label {
  color: rgba(255, 255, 255, 0.78) !important;
  font-weight: 650;
}
body.po-body .qty-group input {
  border: 0 !important;
  box-shadow: none !important;
}

.po-container {
  width: var(--po-container);
  margin: 0 auto;
}

/* ---------- Nav ---------- */
.po-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  background: rgba(5, 7, 11, 0.62);
  border-bottom: 1px solid var(--po-border);
  transition: background .2s ease, box-shadow .2s ease;
}
.po-nav.is-scrolled {
  background: rgba(5, 7, 11, 0.88);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.po-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}

.po-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.po-brand__mark {
  width: 44px;
  height: 44px;
  border-radius: var(--po-r-8);
  object-fit: contain;
  border: 1px solid rgba(245, 185, 30, 0.35);
  background: #05070B;
  padding: 3px;
}

.po-brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.po-brand__name { font-size: 16px; font-weight: 800; letter-spacing: 0.02em; }
.po-brand__accent { font-weight: 800; }
.po-contact__brand .po-brand__name { font-size: 13px; letter-spacing: 0.08em; text-transform: none; }
.po-brand__en {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--po-faint);
  text-transform: uppercase;
}

.po-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.po-nav__link {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--po-muted);
  font-size: 14px;
  font-weight: 600;
  transition: color .18s ease, background .18s ease;
}
.po-nav__link:hover,
.po-nav__link.is-active {
  color: var(--po-text);
  background: rgba(255, 255, 255, 0.04);
}
.po-nav__link.is-active {
  box-shadow: inset 0 -2px 0 var(--po-primary);
  border-radius: 8px;
}

.po-nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.po-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--po-r-12);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.po-btn:hover { transform: translateY(-1px); }
.po-btn:active { transform: translateY(0); }

.po-btn--primary,
.po-btn--gold {
  background: var(--po-gold);
  color: #0A0C10;
  box-shadow: var(--po-glow);
}
.po-btn--primary:hover,
.po-btn--gold:hover { background: var(--po-gold-bright); }

.po-btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--po-border-strong);
  color: var(--po-text);
}
.po-btn--ghost:hover {
  border-color: rgba(245, 185, 30, 0.5);
  color: var(--po-gold-bright);
}

.po-btn--lg { min-height: 48px; padding: 0 22px; font-size: 15px; }
.po-btn--block { width: 100%; }

.po-link-muted {
  color: var(--po-muted);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 10px;
}
.po-link-muted:hover { color: var(--po-text); }

.po-nav__burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--po-r-12);
  border: 1px solid var(--po-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--po-text);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.po-nav__burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: var(--po-white);
  transition: transform .2s ease, opacity .2s ease;
}
.po-nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.po-nav__burger.is-open span:nth-child(2) { opacity: 0; }
.po-nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.po-nav__drawer {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 20px 20px;
  border-top: 1px solid var(--po-border);
  background: rgba(5, 7, 11, 0.96);
}
.po-nav__drawer.is-open { display: flex; }
.po-nav__drawer-link {
  padding: 12px 14px;
  border-radius: var(--po-r-8);
  color: var(--po-muted);
  font-weight: 600;
  font-size: 15px;
}
.po-nav__drawer-link:hover { color: var(--po-text); background: rgba(255, 255, 255, 0.04); }
.po-nav__drawer .po-btn { margin-top: 8px; }

/* ---------- Hero：通栏横幅图（hero-banner） ---------- */
.po-hero {
  padding: 0;
}
.po-hero--banner {
  position: relative;
  overflow: hidden;
  background: var(--po-black);
}
.po-hero__bleed {
  position: relative;
  width: 100%;
  min-height: clamp(360px, 52vw, 620px);
  overflow: hidden;
  border-bottom: 1px solid var(--po-border);
}
.po-hero__banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
  z-index: 0;
  transform: scale(1.02);
}
.po-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(5, 7, 11, 0.96) 0%,
      rgba(5, 7, 11, 0.88) 28%,
      rgba(5, 7, 11, 0.45) 52%,
      rgba(5, 7, 11, 0.12) 72%,
      rgba(5, 7, 11, 0.2) 100%),
    linear-gradient(180deg, rgba(5, 7, 11, 0.25) 0%, transparent 28%, transparent 72%, rgba(5, 7, 11, 0.55) 100%);
}
.po-hero__overlay {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: clamp(360px, 52vw, 620px);
  padding: 40px 0 48px;
}
.po-hero__copy {
  position: relative;
  z-index: 3;
  max-width: 520px;
  padding: 8px 0;
}
.po-hero__banner-stats {
  position: relative;
  z-index: 3;
  margin-top: -36px;
  margin-bottom: 8px;
  pointer-events: none;
}
.po-hero__banner-stats .po-stats {
  pointer-events: auto;
  width: min(100%, 480px);
  margin-left: auto;
  margin-right: 0;
  margin-top: 0;
}

.po-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 40px;
  align-items: center;
}

.po-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 12px;
  border-radius: var(--po-r-8);
  border: 1px solid rgba(245, 185, 30, 0.28);
  background: rgba(245, 185, 30, 0.08);
  color: var(--po-gold);
  font-family: var(--po-font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.po-hero__title,
.po-hero h1 {
  margin: 0;
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--po-white);
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
}
.po-hero__accent {
  display: inline;
  color: var(--po-gold);
  background: linear-gradient(135deg, var(--po-gold-bright), var(--po-gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.po-hero__sub {
  margin: 16px 0 0;
  color: var(--po-gray);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
}

.po-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.po-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--po-r-8);
  border: 1px solid var(--po-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--po-muted);
  font-size: 12px;
  font-weight: 600;
}
.po-chip svg { width: 14px; height: 14px; stroke: var(--po-primary); fill: none; stroke-width: 1.8; }

.po-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.po-search {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 10px 10px 10px 18px;
  border-radius: var(--po-r-16);
  border: 1px solid rgba(245, 185, 30, 0.38);
  background: linear-gradient(180deg, rgba(245, 185, 30, 0.1), rgba(13, 20, 34, 0.96));
  box-shadow:
    0 0 0 1px rgba(245, 185, 30, 0.1),
    0 16px 40px rgba(0, 0, 0, 0.35),
    0 0 28px rgba(245, 185, 30, 0.1);
}

.po-search__input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 4px 0 0;
  border: 0 !important;
  border-radius: var(--po-r-12);
  background: transparent !important;
  box-shadow: none !important;
  color: var(--po-text) !important;
  font-size: 16px;
  font-weight: 600;
  outline: none;
}
.po-search__input::placeholder {
  color: rgba(255, 255, 255, 0.62) !important;
  font-weight: 500;
}
.po-search__ico {
  flex: 0 0 auto;
  color: var(--po-primary);
  opacity: 0.95;
}
.po-search .po-btn {
  min-height: 48px;
  min-width: 104px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(245, 185, 30, 0.28);
}

.po-hot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--po-faint);
  font-size: 12px;
}
.po-hot__tag {
  padding: 4px 10px;
  border-radius: var(--po-r-8);
  border: 1px solid var(--po-border);
  color: var(--po-muted);
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}
.po-hot__tag:hover {
  border-color: rgba(245, 185, 30, 0.4);
  color: var(--po-primary);
}

/* 兼容旧 HeroVisual */
.po-hero__visual-wrap,
.po-hero__mascot-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.po-hero-visual,
.po-hero__visual {
  position: relative;
  width: 100%;
  min-height: 420px;
  display: grid;
  place-items: center;
}
.po-mascot--hero,
.po-hero__mascot {
  position: relative;
  z-index: 2;
  width: min(92%, 440px);
  background: transparent !important;
  filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.55));
  animation: po-float 4.8s ease-in-out infinite;
  object-fit: contain;
}

@keyframes po-earth-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes po-orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.po-orbit {
  position: absolute;
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--po-border-strong);
  background: var(--po-card-2);
  display: grid;
  place-items: center;
  font-size: 18px;
  box-shadow: var(--po-shadow);
  animation: po-pulse 3.6s ease-in-out infinite;
}
.po-orbit--1 { top: 14%; left: 10%; animation-delay: 0s; }
.po-orbit--2 { top: 18%; right: 12%; animation-delay: .4s; }
.po-orbit--3 { bottom: 22%; left: 8%; animation-delay: .8s; }
.po-orbit--4 { bottom: 18%; right: 10%; animation-delay: 1.2s; }
.po-orbit--5 { top: 46%; right: 2%; animation-delay: .6s; }

.po-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: min(100%, 420px);
  margin-top: -8px;
}
.po-stat {
  padding: 12px 10px;
  border-radius: 14px;
  border: 1px solid var(--po-border);
  background: rgba(18, 24, 38, 0.86);
  text-align: center;
  backdrop-filter: blur(10px);
}
.po-stat strong {
  display: block;
  color: var(--po-primary);
  font-size: 18px;
  font-weight: 800;
}
.po-stat span {
  color: var(--po-faint);
  font-size: 11px;
  font-weight: 600;
}

/* ---------- Sections ---------- */
.po-section {
  padding: 48px 0;
}
.po-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.po-section__title {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.po-section__eyebrow {
  margin: 0 0 8px;
  font-family: var(--po-font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--po-gold);
}
.po-section__desc {
  margin: 6px 0 0;
  color: var(--po-muted);
  font-size: 14px;
}
.po-section__more {
  color: var(--po-primary);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

/* Shop: Cartoon-style left categories + Pohou visual */
.po-section--shop { padding-top: 28px; }

/* 平台 Dock（选购中心上方，不替换左栏） */
.po-platform-dock {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 6px;
  margin: 0 0 22px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 12, 20, 0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.po-platform-dock::-webkit-scrollbar { display: none; }
.po-platform-dock__item {
  flex: 1 1 0;
  min-width: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 8px 6px;
  border-radius: var(--po-r-12);
  color: var(--po-white);
  text-decoration: none;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.po-platform-dock__item:hover {
  background: rgba(245, 185, 30, 0.08);
  transform: translateY(-2px);
}
.po-platform-dock__item.is-active {
  background: rgba(245, 185, 30, 0.12);
  box-shadow: inset 0 0 0 1px rgba(245, 185, 30, 0.28);
}
.po-platform-dock__ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #0a0e16 center/cover no-repeat;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  flex: 0 0 auto;
}
.po-platform-dock__ico--more {
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #1a2233, #0b1018);
  color: var(--po-white);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.po-platform-dock__name {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  color: rgba(245, 247, 250, 0.88);
}
.po-platform-dock__item--more .po-platform-dock__name {
  color: var(--po-gold);
}

.po-notice {
  margin-bottom: 16px;
  padding: 16px 18px;
  border: 1px solid var(--po-border);
  border-radius: var(--po-radius);
  background: var(--po-card);
  color: var(--po-muted);
  font-size: 14px;
  line-height: 1.7;
}

.po-cat-toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
  min-height: 46px;
  border-radius: var(--po-radius-sm);
  border: 1px solid var(--po-border);
  background: var(--po-card);
  color: var(--po-text);
  font-weight: 700;
  cursor: pointer;
}
.po-cat-toggle:hover {
  border-color: rgba(255, 184, 0, 0.35);
  color: var(--po-primary);
}

.po-shop {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.po-sidebar {
  position: sticky;
  top: 84px;
  max-height: calc(100vh - 108px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: var(--po-radius);
  border: 1px solid var(--po-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 36%), var(--po-card);
  box-shadow: var(--po-shadow);
  z-index: 5;
}

.po-sidebar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 16px 14px;
  border-bottom: 1px solid var(--po-border);
  color: var(--po-primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.po-sidebar__head-main {
  display: flex;
  align-items: center;
  gap: 10px;
}
.po-sidebar__close {
  display: none;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: var(--po-r-8);
  background: rgba(255, 255, 255, 0.06);
  color: var(--po-white);
  cursor: pointer;
  place-items: center;
}
.po-sidebar__handle {
  display: none;
}

/* 手机选购条：桌面隐藏 */
.po-m-shopbar { display: none; }
.po-section__desc--m { display: none; }
.po-section__desc--desk { display: block; }

.po-cat-list {
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 184, 0, 0.35) transparent;
}

.po-cat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--po-text);
  transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
  cursor: pointer;
}
.po-cat-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--po-border);
}
.po-cat-item.is-active {
  background: linear-gradient(120deg, rgba(255, 184, 0, 0.95), rgba(230, 166, 0, 0.88));
  color: #111827;
  border-color: transparent;
  box-shadow: var(--po-glow);
}
.po-cat-item__icon {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06) center/cover no-repeat;
  box-shadow: inset 0 0 0 1px var(--po-border);
}
.po-cat-item.is-active .po-cat-item__icon {
  box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.2);
}
.po-cat-item__meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.po-cat-item__name {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.po-cat-item__count {
  font-size: 12px;
  color: var(--po-faint);
}
.po-cat-item.is-active .po-cat-item__count {
  color: rgba(17, 24, 39, 0.62);
}

.po-sidebar-mask {
  display: none;
}

.po-shop-main {
  min-width: 0;
  border-radius: var(--po-radius);
  border: 1px solid var(--po-border);
  background: var(--po-card);
  padding: 16px;
  box-shadow: var(--po-shadow);
}

.po-shop-main__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.po-shop-main__title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.po-shop-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 280px;
  max-width: 520px;
  margin-left: auto;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid rgba(255, 184, 0, 0.35);
  background: linear-gradient(180deg, rgba(255, 184, 0, 0.08), rgba(11, 15, 25, 0.5));
  box-shadow: 0 0 0 1px rgba(255, 184, 0, 0.08), 0 8px 22px rgba(0, 0, 0, 0.22);
}
.po-shop-search__input {
  flex: 1;
  min-width: 0;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--po-text) !important;
  font-size: 14px;
  font-weight: 600;
  outline: none;
}
.po-shop-search__input::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}
.po-shop-search__input:focus {
  border: 0 !important;
  box-shadow: none !important;
}
.po-shop-search .po-btn {
  min-height: 42px;
  padding: 0 18px;
  font-weight: 800;
}

/* Product cards */
.po-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.po-tab {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--po-border);
  background: transparent;
  color: var(--po-muted);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.po-tab.is-active,
.po-tab:hover {
  color: #111827;
  background: var(--po-primary);
  border-color: var(--po-primary);
}

.po-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.po-product {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 18px;
  border-radius: var(--po-r-16);
  border: 1px solid var(--po-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 42%),
    var(--po-surface);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.po-product:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 185, 30, 0.45);
  box-shadow: var(--po-glow), 0 12px 28px rgba(0, 0, 0, 0.35);
}
.po-product.is-soldout { opacity: 0.55; pointer-events: none; }

.po-product__top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.po-product__cover {
  width: 48px;
  height: 48px;
  border-radius: var(--po-r-12);
  background: #05070B center/cover no-repeat;
  border: 1px solid var(--po-border);
  flex: 0 0 auto;
}
.po-product__name {
  margin: 0;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.po-product__meta {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.po-tag {
  padding: 3px 8px;
  border-radius: var(--po-r-8);
  border: 1px solid var(--po-border);
  color: var(--po-muted);
  font-size: 11px;
  font-weight: 650;
}
.po-tag--ok { color: #86efac; border-color: rgba(134, 239, 172, 0.25); }
.po-tag--warn { color: #fca5a5; border-color: rgba(252, 165, 165, 0.25); }

.po-product__foot {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.po-product__stock { color: var(--po-faint); font-size: 12px; font-weight: 600; }
.po-product__price,
.po-price {
  color: var(--po-gold);
  font-family: var(--po-font-en);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 0 18px rgba(245, 185, 30, 0.25);
}
.po-product__price .unit,
.po-price .unit { font-size: 13px; margin-right: 2px; font-weight: 700; }

.po-product__buy {
  margin-top: 14px;
  border-radius: var(--po-r-12);
  font-weight: 800;
}

.po-empty,
.po-loading {
  grid-column: 1 / -1;
  padding: 48px 20px;
  text-align: center;
  color: var(--po-muted);
  border: 1px dashed var(--po-border);
  border-radius: var(--po-radius);
}

/* Advantages */
.po-adv-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.po-adv {
  padding: 22px;
  border-radius: var(--po-radius);
  border: 1px solid var(--po-border);
  background: var(--po-card);
}
.po-adv__ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 184, 0, 0.35);
  color: var(--po-primary);
  margin-bottom: 14px;
}
.po-adv__ico svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.po-adv h3 { margin: 0 0 8px; font-size: 16px; font-weight: 750; }
.po-adv p { margin: 0; color: var(--po-muted); font-size: 13px; line-height: 1.7; }

/* Metrics strip */
.po-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 22px;
  border-radius: var(--po-radius);
  border: 1px solid var(--po-border);
  background: linear-gradient(90deg, rgba(245, 185, 30, 0.08), rgba(245, 185, 30, 0.03));
}
.po-metric { text-align: center; }
.po-metric strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--po-text);
}
.po-metric span { color: var(--po-faint); font-size: 12px; }

/* FAQ */
.po-faq details {
  border: 1px solid var(--po-border);
  border-radius: var(--po-radius-sm);
  background: var(--po-card);
  padding: 14px 18px;
  margin-bottom: 10px;
}
.po-faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.po-faq summary::-webkit-details-marker { display: none; }
.po-faq p {
  margin: 10px 0 0;
  color: var(--po-muted);
  font-size: 14px;
}

/* Footer */
.po-footer {
  margin-top: 40px;
  padding: 48px 0 28px;
  border-top: 1px solid var(--po-border);
  background: var(--po-bg-elevated);
}
.po-footer__brand {
  margin-bottom: 14px;
}
.po-footer__brand .po-brand {
  margin-bottom: 0;
}
.po-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 2.2fr);
  gap: 28px 36px;
  align-items: start;
}
.po-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 24px;
}
.po-footer__col {
  min-width: 0;
}
.po-footer h4 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--po-faint);
}
.po-footer a {
  display: block;
  color: var(--po-muted);
  font-size: 14px;
  margin: 0 0 10px;
}
.po-footer a:hover { color: var(--po-primary); }
.po-footer__about { color: var(--po-muted); font-size: 13px; line-height: 1.7; max-width: 320px; }
.po-footer__domain {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--po-faint);
}
.po-footer__domain a {
  display: inline;
  margin: 0;
  color: var(--po-primary);
  font-weight: 650;
}
.po-footer__domain a:hover { text-decoration: underline; }
.po-footer__pill {
  display: block;
  color: var(--po-muted);
  font-size: 14px;
  margin: 0 0 10px;
  line-height: 1.4;
}
.po-footer__bottom {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--po-border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--po-faint);
  font-size: 12px;
}
.po-footer__copy,
.po-footer__tag {
  min-width: 0;
  max-width: 100%;
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Item detail (compact SaaS) */
.po-item {
  padding: 36px 0 64px;
}
.po-item__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
}
.po-item__cover {
  border-radius: var(--po-radius);
  border: 1px solid var(--po-border);
  background: var(--po-card) center/cover no-repeat;
  min-height: 360px;
}
.po-item__panel {
  padding: 24px;
  border-radius: var(--po-radius);
  border: 1px solid var(--po-border);
  background: var(--po-card);
}
.po-item__panel h1 {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
}
.po-item__price {
  color: var(--po-primary);
  font-size: 32px;
  font-weight: 800;
}
.po-item .cash-pay,
.po-item .pay-list,
.po-item .qty-group,
.po-item .form-control,
.po-item .vstack {
  color: var(--po-text);
}

/* 订单查询 */
.po-query-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255, 184, 0, 0.35);
  background: linear-gradient(180deg, rgba(255, 184, 0, 0.08), rgba(11, 15, 25, 0.45));
  box-shadow: 0 0 0 1px rgba(255, 184, 0, 0.08);
}
.po-query-form__input {
  flex: 1;
  min-width: 220px;
  height: 48px !important;
  border-radius: 12px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 14px !important;
  font-size: 15px !important;
  font-weight: 600;
}
.po-query-form__input::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}
.po-query-form .po-btn {
  min-height: 48px;
  padding: 0 22px;
  font-weight: 800;
}

/* Contact page */
.po-contact {
  padding: 48px 0 80px;
  min-height: min(70vh, 720px);
}
.po-contact__hero {
  max-width: 560px;
  margin: 0 0 28px;
}
.po-contact__brand {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--po-primary);
}
.po-contact__hero h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.po-contact__lead {
  margin: 0;
  color: var(--po-muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 42em;
}
.po-contact__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 640px;
}
.po-contact__row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--po-radius-sm);
  border: 1px solid var(--po-border);
  background:
    linear-gradient(135deg, rgba(255, 184, 0, 0.05), transparent 42%),
    var(--po-card);
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
a.po-contact__row:hover {
  border-color: rgba(255, 184, 0, 0.45);
  transform: translateY(-1px);
}
.po-contact__row--tg {
  border-color: rgba(245, 185, 30, 0.35);
  background:
    linear-gradient(135deg, rgba(245, 185, 30, 0.12), transparent 50%),
    var(--po-card);
}
a.po-contact__row--tg:hover {
  border-color: rgba(245, 185, 30, 0.65);
}
.po-contact__row.is-muted,
.po-contact__row.is-static {
  cursor: default;
  opacity: 0.92;
}
.po-contact__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  color: var(--po-primary);
  font-size: 18px;
}
.po-contact__row--tg .po-contact__icon {
  color: var(--po-gold);
  background: rgba(245, 185, 30, 0.14);
}
.po-contact__meta { min-width: 0; }
.po-contact__label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}
.po-contact__value {
  display: block;
  color: var(--po-muted);
  font-size: 13px;
  word-break: break-all;
}
.po-contact__go {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--po-faint);
  text-transform: uppercase;
}
a.po-contact__row:hover .po-contact__go { color: var(--po-primary); }
.po-contact__note {
  margin: 22px 0 0;
  max-width: 640px;
  color: var(--po-muted);
  font-size: 13px;
  line-height: 1.7;
  padding: 14px 0 0;
  border-top: 1px solid var(--po-border);
}
.po-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* Floating Telegram FAB */
.po-fab-tg {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(98px, calc(env(safe-area-inset-bottom) + 76px));
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(160deg, #3d8dff 0%, #2463d6 100%);
  box-shadow:
    0 12px 28px rgba(36, 99, 214, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  transition: transform .2s ease, box-shadow .2s ease;
}
.po-fab-tg:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 16px 36px rgba(36, 99, 214, 0.48),
    0 0 0 1px rgba(255, 255, 255, 0.16) inset;
}
.po-fab-tg__ring {
  position: absolute;
  inset: -6px;
  border-radius: 22px;
  border: 1px solid rgba(61, 141, 255, 0.45);
  animation: po-fab-ring 2.4s ease-out infinite;
  pointer-events: none;
}
.po-fab-tg__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  line-height: 0;
}
.po-fab-tg__tip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--po-text);
  background: var(--po-card);
  border: 1px solid var(--po-border);
  opacity: 1;
  pointer-events: none;
}
.po-chatwoot-label {
  position: fixed;
  right: max(86px, calc(env(safe-area-inset-right) + 70px));
  bottom: max(32px, calc(env(safe-area-inset-bottom) + 18px));
  z-index: 89;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--po-text);
  background: var(--po-card);
  border: 1px solid var(--po-border);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}
@keyframes po-fab-ring {
  0% { transform: scale(0.92); opacity: 0.7; }
  70% { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}

/* Motion */
@keyframes po-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes po-pulse {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(-6px); opacity: 0.92; }
}
@keyframes po-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.po-reveal { animation: po-fade-up .55s cubic-bezier(.22, 1, .36, 1) both; }

@media (max-width: 980px) {
  /* 防横向撑破：截图右侧裁切根因 */
  html, body.po-body {
    overflow-x: hidden;
    max-width: 100%;
  }
  :root { --po-container: min(100%, calc(100% - 24px)); }
  .po-container {
    width: var(--po-container);
    max-width: 100%;
    min-width: 0;
  }
  main { overflow-x: hidden; max-width: 100%; }

  .po-nav__inner {
    gap: 10px;
    min-height: 56px;
    min-width: 0;
  }
  .po-nav__links { display: none; }
  .po-nav__burger { display: inline-flex; flex: 0 0 auto; }
  .po-nav__actions { gap: 6px; flex: 0 0 auto; min-width: 0; }
  .po-brand {
    min-width: 0;
    flex: 1 1 auto;
    gap: 8px;
  }
  .po-brand__mark { width: 36px; height: 36px; flex: 0 0 auto; }
  .po-brand__text { min-width: 0; overflow: hidden; }
  .po-brand__name {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 42vw;
  }
  .po-brand__en { display: none; }

  .po-section__desc--desk { display: none; }
  .po-section__desc--m { display: block; }

  /* Hero 压缩：手机用选购条搜索，隐藏 Hero 内搜索 */
  .po-hero__bleed {
    min-height: auto;
    max-width: 100%;
  }
  .po-hero__banner-img {
    object-position: 72% center;
  }
  .po-hero__scrim {
    background:
      linear-gradient(180deg,
        rgba(5, 7, 11, 0.45) 0%,
        rgba(5, 7, 11, 0.28) 40%,
        rgba(5, 7, 11, 0.94) 100%);
  }
  .po-hero__overlay {
    min-height: 0;
    padding: 120px 0 12px;
    align-items: flex-end;
  }
  .po-hero__copy { max-width: none; }
  .po-hero__title,
  .po-hero h1 { font-size: clamp(22px, 6.2vw, 30px); }
  .po-hero__sub { font-size: 12px; margin-top: 8px; display: none; }
  .po-hero__cta { margin-top: 12px; gap: 8px; }
  .po-hero__cta .po-btn--lg { min-height: 40px; padding: 0 14px; font-size: 13px; }
  .po-hero .po-search,
  .po-hot { display: none !important; }
  .po-hero__banner-stats {
    margin-top: 8px;
    margin-bottom: 0;
  }
  .po-hero__banner-stats .po-stats {
    width: 100%;
    margin: 0 auto;
    gap: 6px;
  }
  .po-stat { padding: 6px 4px; }
  .po-stat strong { font-size: 14px; }
  .po-stat span { font-size: 10px; }
  .po-hero__grid,
  .po-item__grid { grid-template-columns: 1fr; }
  .po-hero__visual-wrap { order: -1; }
  .po-hero-visual,
  .po-hero__visual { min-height: 180px; }

  .po-section--shop { padding-top: 12px; }
  .po-section__head { margin-bottom: 10px; }
  .po-section__title { font-size: 20px; }

  /* 平台 Dock 横滑缩小（限制在容器内滚） */
  .po-platform-dock {
    display: flex;
    justify-content: flex-start;
    gap: 4px;
    padding: 10px 8px;
    margin-bottom: 12px;
    border-radius: 16px;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
  }
  .po-platform-dock__item {
    flex: 0 0 auto;
    min-width: 58px;
    max-width: 72px;
    padding: 6px 4px;
    gap: 6px;
  }
  .po-platform-dock__ico {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
  .po-platform-dock__name {
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .po-notice {
    font-size: 12px;
    padding: 12px 14px;
    margin-bottom: 12px;
    overflow-wrap: anywhere;
  }

  /* 手机选购条 */
  .po-m-shopbar {
    display: block;
    position: sticky;
    top: 56px;
    z-index: 40;
    margin: 0 0 12px;
    padding: 8px 0 6px;
    max-width: 100%;
    min-width: 0;
    background: linear-gradient(180deg, rgba(5, 7, 11, 0.98) 55%, rgba(5, 7, 11, 0.9));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .po-m-toolbar {
    display: flex;
    gap: 8px;
    align-items: stretch;
    margin-bottom: 8px;
    max-width: 100%;
    min-width: 0;
  }
  .po-m-search {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    gap: 6px;
    align-items: center;
    padding: 4px 4px 4px 10px;
    border-radius: 12px;
    border: 1px solid rgba(245, 185, 30, 0.35);
    background: rgba(13, 20, 34, 0.95);
  }
  .po-m-search__input {
    flex: 1;
    min-width: 0;
    width: 0;
    height: 36px;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--po-white) !important;
    font-size: 13px;
    font-weight: 600;
    outline: none;
    padding: 0 !important;
  }
  .po-m-search__input::placeholder { color: rgba(255,255,255,.45) !important; }
  .po-m-search__btn {
    min-height: 36px !important;
    min-width: 40px;
    padding: 0 10px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    flex: 0 0 auto;
  }

  /* 全宽分类入口：一眼能发现还有别的产品线 */
  .po-m-cat-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    margin: 0 0 6px;
    padding: 8px 12px;
    border-radius: 14px;
    border: 1px solid rgba(245, 185, 30, 0.55);
    background: linear-gradient(135deg, rgba(245, 185, 30, 0.18), rgba(13, 20, 34, 0.95) 55%);
    color: var(--po-white);
    text-align: left;
    cursor: pointer;
    box-shadow: 0 0 0 1px rgba(245, 185, 30, 0.08), 0 8px 24px rgba(0, 0, 0, 0.25);
  }
  .po-m-cat-cta:active {
    transform: scale(0.99);
  }
  .po-m-cat-cta__ico {
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--po-gold);
    color: #0A0C10;
  }
  .po-m-cat-cta__text {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .po-m-cat-cta__title {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: var(--po-white);
  }
  .po-m-cat-cta__cur {
    font-size: 12px;
    font-weight: 600;
    color: var(--po-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .po-m-cat-cta__cur em {
    font-style: normal;
    color: var(--po-gold);
    font-weight: 750;
  }
  .po-m-cat-cta__go {
    flex: 0 0 auto;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--po-gold);
    color: #0A0C10;
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
  }
  .po-m-cat-hint {
    margin: 0 2px 6px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.42);
  }
  .po-m-cat-btn { display: none !important; }

  .po-m-cat-scroll {
    display: flex;
    gap: 8px;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    padding: 2px 2px 6px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .po-m-cat-scroll::-webkit-scrollbar { display: none; }
  .po-m-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    max-width: 78vw;
    padding: 0 10px 0 5px;
    border-radius: 999px;
    border: 1px solid var(--po-border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--po-muted);
    font-size: 12px;
    font-weight: 650;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
  }
  .po-m-chip__name {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 56vw;
  }
  .po-m-chip__ico {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #0a0e16 center/cover no-repeat;
    flex: 0 0 auto;
  }
  .po-m-chip.is-active {
    color: #0A0C10;
    border-color: var(--po-gold);
    background: var(--po-gold);
  }
  .po-m-chip.is-active .po-m-chip__name { color: #0A0C10; font-weight: 800; }

  .po-sidebar__tip {
    display: none;
    margin: 0;
    padding: 0 16px 8px;
    font-size: 12px;
    color: var(--po-muted);
  }

  .po-cat-toggle { display: none !important; }
  .po-shop-main__head--desktop { display: none; }

  /* 单列块级，避免侧栏仍占 grid 轨道撑宽 */
  .po-shop {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  /* 分类：底部 sheet */
  .po-sidebar {
    position: fixed !important;
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    max-height: min(78vh, 640px);
    border-radius: 18px 18px 0 0;
    transform: translate3d(0, 105%, 0);
    transition: transform .28s cubic-bezier(.22, 1, .36, 1);
    z-index: 80;
    box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.45);
    visibility: hidden;
    pointer-events: none;
  }
  .po-sidebar.is-open {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
  }
  .po-sidebar__handle {
    display: block;
    width: 40px;
    height: 4px;
    margin: 10px auto 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.22);
  }
  .po-sidebar__head {
    padding-top: 10px;
    text-transform: none;
    letter-spacing: 0;
    font-size: 15px;
  }
  .po-sidebar__tip {
    display: block;
  }
  .po-sidebar__close { display: inline-grid; }
  .po-sidebar-mask {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 70;
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
  }
  .po-sidebar-mask.is-open {
    opacity: 1;
    pointer-events: auto;
  }
  body.po-cat-open { overflow: hidden; }

  .po-shop-main {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 12px;
    border-radius: 14px;
  }

  /* 商品双列紧凑卡 */
  .po-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .po-product {
    min-width: 0;
    max-width: 100%;
    padding: 10px;
    border-radius: 12px;
  }
  .po-product__top { gap: 6px; }
  .po-product__cover {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    flex: 0 0 auto;
  }
  .po-product__name {
    font-size: 12px;
    -webkit-line-clamp: 2;
    min-height: 2.5em;
    overflow-wrap: anywhere;
  }
  .po-product__meta { gap: 4px; }
  .po-tag { font-size: 10px; padding: 2px 6px; }
  .po-product__foot {
    padding-top: 8px;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .po-product__stock { font-size: 11px; }
  .po-product__price,
  .po-price { font-size: 17px; }
  .po-product__buy {
    margin-top: 8px;
    min-height: 38px;
    font-size: 12px;
    border-radius: 10px;
  }

  .po-adv-grid { grid-template-columns: 1fr; }
  .po-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .po-footer {
    padding: 36px 0 calc(28px + 64px + env(safe-area-inset-bottom));
  }
  .po-footer__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .po-footer__about { max-width: none; }
  .po-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 16px;
  }
  .po-footer__col:last-child {
    grid-column: 1 / -1;
  }
  .po-footer__pill {
    display: inline-flex;
    margin: 0 8px 8px 0;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--po-border);
    background: rgba(255, 255, 255, 0.03);
    font-size: 12px;
  }
  .po-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-right: 64px;
  }
  .po-fab-tg {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(86px, calc(env(safe-area-inset-bottom) + 68px));
    width: 50px;
    height: 50px;
  }
  .po-fab-tg__tip { font-size: 11px; padding: 5px 8px; }
  .po-chatwoot-label {
    right: max(72px, calc(env(safe-area-inset-right) + 58px));
    bottom: max(24px, calc(env(safe-area-inset-bottom) + 12px));
    font-size: 11px;
    padding: 5px 8px;
  }
  .po-contact__row {
    grid-template-columns: 40px minmax(0, 1fr);
  }
  .po-contact__go { display: none; }
}

@media (max-width: 640px) {
  :root { --po-container: min(100%, calc(100% - 20px)); }
  .po-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .po-metrics { grid-template-columns: 1fr 1fr; }
  .po-footer {
    padding-top: 28px;
    padding-bottom: calc(24px + 58px + env(safe-area-inset-bottom));
  }
  .po-footer__nav {
    grid-template-columns: 1fr 1fr;
    gap: 16px 12px;
  }
  .po-footer h4 {
    margin-bottom: 10px;
    font-size: 12px;
  }
  .po-footer a {
    font-size: 13px;
    margin-bottom: 8px;
  }
  .po-footer__bottom {
    padding-right: 58px;
  }
  .po-m-shopbar { top: 56px; }
  .po-hero__overlay { padding-top: 108px; padding-bottom: 10px; }
  .po-hero__cta .po-btn--ghost { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
