:root {
  --ink: var(--ink);
  --muted: var(--muted);
  --line: var(--line);
  --bg: #f5f5f5;
  --card: #ffffff;
  --brand: var(--brand);
  --brand-dark: var(--brand-dark);
  --navy: var(--shop-blue);
  --navy-dark: #0B2545;
  --shop-blue: var(--shop-blue);
  --shop-bar: var(--shop-bar);
  --radius: 4px;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  --font: "Segoe UI", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

/* ===== Marketplace top header ===== */
.market-header {
  position: relative;
  z-index: 200;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.market-inner {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 64px;
  padding: 10px 0;
}
.market-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.market-search {
  display: flex;
  align-items: stretch;
  height: 40px;
  border: 2px solid var(--brand);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
}
.market-search input {
  border: none;
  outline: none;
  flex: 1;
  padding: 0 16px;
  font-size: 14px;
  min-width: 0;
}
.market-search button {
  border: none;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  padding: 0 22px;
  cursor: pointer;
  white-space: nowrap;
}
.market-search button:hover { background: var(--brand-dark); }
.market-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}
.tool-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #333;
  position: relative;
}
.tool-item .flag { font-size: 16px; line-height: 1; }
.tool-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.tool-text small {
  font-size: 12px;
  color: #888;
}
.tool-text strong {
  font-size: 12px;
  font-weight: 700;
}
.lang-dropdown { position: relative; z-index: 210; }
.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 4px 2px;
  color: var(--ink);
  font: inherit;
}
.lang-trigger .globe { font-size: 16px; }
.lang-trigger .lang-label {
  font-size: 14px;
  font-weight: 600;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lang-trigger .caret {
  font-size: 10px;
  color: #888;
}
.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 300;
}
.lang-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}
.lang-dropdown.open .lang-menu {
  display: block;
}
.lang-pref {
  width: 320px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,.14);
  padding: 18px 18px 16px;
}
.lang-pref-hint {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.55;
  color: #333;
}
.lang-pref-label {
  display: block;
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}
.lang-pref-select {
  position: relative;
  margin-bottom: 14px;
}
.lang-pref-select select {
  width: 100%;
  height: 42px;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0 36px 0 12px;
  background: #fff;
  color: #333;
  font-size: 14px;
  appearance: none;
  -webkit-appearance: none;
}
.lang-pref-select::after {
  content: "▾";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  pointer-events: none;
  font-size: 12px;
}
.lang-pref-save {
  display: block;
  width: 100%;
  height: 42px;
  margin-top: 6px;
  border: none;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.lang-pref-save:hover { background: var(--brand-dark); }
.tool-icon {
  font-size: 20px;
  line-height: 1;
  opacity: 0.85;
}
.tool-icon:hover { opacity: 1; }
.tool-signin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.tool-signin.is-login {
  border-color: #cbd5e1;
  background: #fff;
}
.tool-signin:hover { color: var(--brand); border-color: var(--brand); }
.tool-account { position: relative; }
.tool-account-trigger {
  cursor: pointer;
  background: transparent;
  font: inherit;
}
.tool-account-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 140px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  padding: 6px;
  z-index: 40;
}
.tool-account.open .tool-account-menu { display: grid; }
.tool-account-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}
.tool-account-menu a:hover { background: #f8fafc; color: var(--brand); }

html[lang="ar"] body { direction: rtl; }
html[lang="ar"] .market-inner,
html[lang="ar"] .shop-header .inner,
html[lang="ar"] .store-nav .inner,
html[lang="ar"] .section-head,
html[lang="ar"] .hero-cta {
  direction: rtl;
}
html[lang="ar"] .lang-menu { right: auto; left: 0; }

/* ===== Shop identity header ===== */
.shop-header {
  background: linear-gradient(180deg, #EDF1F7 0%, #F5F7FA 55%, #ffffff 100%);
  border-bottom: 1px solid #DEE4ED;
}
.shop-header .inner {
  display: grid;
  grid-template-columns: 88px minmax(280px, 720px) auto;
  gap: 18px;
  align-items: center;
  justify-content: center;
  padding: 18px 0 16px;
}
.shop-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #DEE4ED;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.shop-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shop-logo .logo-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--shop-blue), #4d8dff);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  text-align: center;
  padding: 8px;
  line-height: 1.15;
}
.shop-main {
  min-width: 0;
  text-align: center;
}
.shop-name {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #111;
}
.shop-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--muted);
}
.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #e8f8ef;
  color: #0a8f4d;
  border: 1px solid #b7ebc9;
  border-radius: 6px;
  padding: 1px 8px;
  font-weight: 700;
  font-size: 12px;
}
.shop-scope {
  margin: 0 0 10px;
  font-size: 14px;
  color: #444;
  white-space: normal;
}
.shop-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.shop-tag {
  background: #fff;
  border: 1px solid #D5DEEA;
  color: #2b5bb8;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
}
.shop-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  min-width: 168px;
}
.sgs-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #DEE4ED;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  color: #3559a8;
  font-weight: 600;
}
.sgs-chip i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #0a8f4d;
  color: #fff;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost {
  background: #fff;
  color: #334155;
  border: 1px solid rgba(15, 23, 42, 0.12);
}
.btn-ghost:hover {
  border-color: var(--shop-blue);
  color: var(--shop-blue);
  background: #EEF1F6;
}
.btn-chat {
  background: #EDF1F7;
  color: var(--shop-blue);
  border: 1px solid #C6D2E2;
}
.btn-chat:hover { background: #d9e8ff; }
.btn-block { width: 100%; border-radius: var(--radius); }

/* ===== Store nav ===== */
.store-nav {
  background: var(--shop-bar);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}
.store-nav .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 46px;
}
.store-nav .menu {
  display: flex;
  align-items: stretch;
  gap: 2px;
}
.store-nav .nav-link {
  color: #fff;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 46px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.92;
}
.store-nav .nav-link:hover,
.store-nav .nav-link.active,
.store-nav .nav-drop.active > .nav-drop-trigger,
.store-nav .nav-drop:hover > .nav-drop-trigger,
.store-nav .nav-drop.open > .nav-drop-trigger {
  background: rgba(255, 255, 255, 0.14);
  opacity: 1;
}
.store-nav .nav-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(255, 255, 255, 0.9);
  transition: transform .18s ease;
}
.store-nav .nav-drop:hover > .nav-drop-trigger .nav-caret,
.store-nav .nav-drop.open > .nav-drop-trigger .nav-caret {
  transform: rotate(180deg);
}
.store-nav .nav-drop {
  position: relative;
  display: flex;
  align-items: stretch;
}
.store-nav .nav-drop-panel {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 220px;
  padding: 8px 0;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
  z-index: 60;
}
.store-nav .nav-drop:hover > .nav-drop-panel,
.store-nav .nav-drop.open > .nav-drop-panel {
  display: block;
}
.store-nav .nav-drop-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1.3;
}
.store-nav .nav-drop-item:hover {
  background: #f5f8ff;
  color: var(--shop-blue);
}
.store-search {
  display: flex;
  align-items: stretch;
  align-self: center;
  flex-shrink: 0;
  box-sizing: border-box;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  height: 34px;
  min-height: 34px;
  min-width: 240px;
}
.store-search input {
  border: none;
  outline: none;
  margin: 0;
  padding: 0 12px;
  width: 100%;
  min-width: 0;
  height: 34px;
  line-height: 34px;
  font-size: 14px;
  box-sizing: border-box;
}
.store-search button {
  border: none;
  margin: 0;
  background: transparent;
  color: var(--shop-blue);
  padding: 0 14px;
  height: 34px;
  line-height: 34px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  box-sizing: border-box;
  flex-shrink: 0;
}

/* ===== Hero banner + motion ===== */
.store-hero {
  background: #fff;
  padding: 16px 0 8px;
  overflow: hidden;
}
.hero-stage {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  min-height: 360px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}
.hero-visual {
  position: relative;
  background:
    linear-gradient(145deg, #efe7dc, #E0E7F0 48%, #D9E1EC);
  min-height: 360px;
  will-change: transform;
  transition: transform .08s linear;
}
.carousel-viewport {
  height: 100%;
  min-height: 360px;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  height: 100%;
  min-height: 360px;
  transition: transform .7s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.carousel-slide {
  position: relative;
  flex: 0 0 100%;
  min-height: 360px;
  background: linear-gradient(145deg, #efe7dc, #E0E7F0 48%, #D9E1EC);
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 6s ease;
}
.carousel-slide.is-active img {
  transform: scale(1);
}
.slide-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(0,0,0,.45);
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.88);
  color: #333;
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
  opacity: 0;
  transition: opacity .2s ease;
}
.hero-visual:hover .carousel-btn { opacity: 1; }
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }
.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.55);
  cursor: pointer;
  padding: 0;
}
.carousel-dots button.active {
  background: var(--brand);
  width: 18px;
  border-radius: 999px;
}
.hero-visual .placeholder,
.carousel-slide .placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #6b7c93;
  font-size: 14px;
  padding: 24px;
  text-align: center;
}
.motion-glow {
  animation: glowPulse 3.2s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.08); }
}
.hero-promo {
  background: linear-gradient(160deg, #EEF1F6 0%, #DEE4ED 40%, #DEE4ED 100%);
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  position: relative;
  will-change: transform;
  transition: transform .08s linear;
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.market-header {
  transition: box-shadow .25s ease, min-height .25s ease;
}
.market-header.is-compact {
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.store-nav {
  transition: box-shadow .25s ease;
}
.store-nav.is-scrolled {
  box-shadow: 0 8px 20px rgba(11, 37, 69, 0.28);
}
/* 右侧悬浮联系栏 */
.float-rail {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.float-rail a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 48px;
  padding: 10px 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 12px;
  color: var(--muted);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
  transition: color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.float-rail a:hover {
  color: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 4px 14px rgba(11, 37, 69, .16);
}
.float-rail .icon {
  font-size: 16px;
  line-height: 1;
}
.float-rail.is-alive a {
  animation: floatBob 2.8s ease-in-out infinite;
}
.float-rail.is-alive a:nth-child(2) {
  animation-delay: .35s;
}
@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@media (max-width: 760px) {
  .float-rail { display: none; }
}
.product-card .thumb img {
  transition: transform .45s ease;
}
.product-card:hover .thumb img {
  transform: scale(1.06);
}

/* ===== Bright spacious product catalog ===== */
.page-products {
  --catalog-ink: #0f172a;
  --catalog-muted: #64748b;
  --catalog-line: rgba(15, 23, 42, 0.08);
  --catalog-surface: rgba(255, 255, 255, 0.82);
  --catalog-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  --catalog-shadow-lg: 0 28px 60px rgba(15, 23, 42, 0.1);
  background:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(11, 37, 69, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 30%, rgba(11, 37, 69, 0.05), transparent 50%),
    linear-gradient(180deg, #F7F8FA 0%, #F1F3F6 48%, #F7F8FA 100%);
  color: var(--catalog-ink);
  font-feature-settings: "ss01" on, "kern" on;
}
.page-products .container {
  width: min(1280px, calc(100% - 40px));
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}
.page-products .catalog-scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 400;
  pointer-events: none;
}
.page-products .catalog-scroll-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--brand), var(--shop-blue));
}

.catalog-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(238,241,246,0.88) 55%, rgba(255,247,240,0.9) 100%);
  border-bottom: 1px solid var(--catalog-line);
  padding: 56px 0 48px;
}
.catalog-hero-glow {
  position: absolute;
  inset: auto -8% -40% auto;
  width: min(520px, 55vw);
  height: min(520px, 55vw);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(11, 37, 69, 0.18) 0%, rgba(11, 37, 69, 0.08) 42%, transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}
.catalog-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 36px;
  align-items: center;
}
.catalog-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.7);
  color: #c2410c;
  border: 1px solid rgba(11, 37, 69, 0.22);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}
.catalog-hero-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(11, 37, 69, 0.18);
}
.catalog-hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4.2vw, 48px);
  color: var(--catalog-ink);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.catalog-hero-copy p {
  margin: 0 0 24px;
  color: var(--catalog-muted);
  font-size: 16px;
  line-height: 1.75;
  max-width: 34em;
}
.catalog-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.catalog-cta-primary {
  border-radius: 999px !important;
  padding: 12px 22px !important;
  box-shadow: 0 12px 28px rgba(11, 37, 69, 0.28);
}
.catalog-ghost {
  background: rgba(255, 255, 255, 0.78);
  color: var(--shop-blue);
  border: 1px solid rgba(11, 37, 69, 0.22);
  border-radius: 999px;
  padding: 11px 20px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.catalog-ghost:hover {
  background: #fff;
  border-color: var(--shop-blue);
  transform: translateY(-1px);
}
.catalog-hero-panel {
  display: grid;
  gap: 14px;
}
.catalog-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.catalog-hero-stat {
  background: var(--catalog-surface);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  padding: 22px 14px;
  text-align: center;
  box-shadow: var(--catalog-shadow);
  backdrop-filter: blur(10px);
}
.catalog-hero-stat strong {
  display: block;
  font-size: 28px;
  color: var(--catalog-ink);
  margin-bottom: 6px;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.catalog-hero-stat span {
  font-size: 12px;
  color: var(--catalog-muted);
  letter-spacing: 0.02em;
}
.catalog-hero-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--catalog-line);
}
.catalog-hero-dot {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--shop-blue));
  flex: 0 0 auto;
}
.catalog-hero-note p {
  margin: 0;
  color: var(--catalog-muted);
  font-size: 14px;
  line-height: 1.6;
}

.catalog-series,
.catalog-materials,
.catalog-scenes,
.catalog-guide {
  padding: 56px 0;
}
.catalog-series {
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--catalog-line);
}
.catalog-series-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.catalog-series-card {
  display: grid;
  gap: 8px;
  padding: 20px 18px;
  background: #fff;
  border: 1px solid var(--catalog-line);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.catalog-series-card:hover,
.catalog-series-card.is-active {
  transform: translateY(-3px);
  border-color: rgba(11, 37, 69, 0.28);
  box-shadow: var(--catalog-shadow);
}
.catalog-series-card em {
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand);
}
.catalog-series-card strong {
  font-size: 16px;
  color: var(--catalog-ink);
  letter-spacing: -0.02em;
}
.catalog-series-card span {
  color: var(--catalog-muted);
  font-size: 14px;
  line-height: 1.55;
}

.catalog-showcase {
  padding: 42px 0 10px;
}
.catalog-block-head {
  margin-bottom: 22px;
}
.catalog-block-head h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.6vw, 30px);
  color: #111827;
}
.catalog-block-head p {
  margin: 0;
  color: #667085;
  font-size: 14px;
}
.catalog-showcase-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.catalog-showcase-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 12px;
  padding: 16px 14px;
  min-height: 72px;
  box-shadow: 0 6px 16px rgba(16, 24, 40, 0.03);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.catalog-showcase-card:hover,
.catalog-showcase-card.is-active {
  transform: translateY(-3px);
  border-color: #C6D2E2;
  box-shadow: 0 12px 24px rgba(11, 37, 69, 0.08);
}
.catalog-showcase-name {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}
.catalog-showcase-card i {
  color: var(--shop-blue);
  font-style: normal;
}

.page-products .catalog-section {
  padding-top: 28px;
  padding-bottom: 48px;
  scroll-margin-top: 12px;
  min-height: 60vh;
}
.catalog-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.catalog-page-btn,
.catalog-page-num {
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--catalog-line, #e6ebf2);
  background: #fff;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.catalog-page-btn:hover,
.catalog-page-num:hover {
  border-color: var(--shop-blue);
  color: var(--shop-blue);
}
.catalog-page-num.is-active {
  background: var(--shop-blue);
  border-color: var(--shop-blue);
  color: #fff;
}
.catalog-main.is-loading {
  pointer-events: none;
}
.catalog-main .pcard {
  opacity: 1;
  transform: none;
}
.catalog-layout {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.catalog-side {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--catalog-line);
  border-radius: 12px;
  overflow: hidden;
  position: sticky;
  top: 18px;
  box-shadow: var(--catalog-shadow);
  backdrop-filter: blur(10px);
}
.catalog-side-head {
  background:
    linear-gradient(135deg, rgba(11, 37, 69, 0.96), rgba(11, 37, 69, 0.92));
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 18px 20px;
}
.catalog-cats { padding: 8px 0; }
.catalog-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 8px;
  padding: 12px 12px;
  font-size: 14px;
  color: #334155;
  border-radius: 12px;
  border-bottom: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.catalog-cat:last-child { border-bottom: none; }
.catalog-cat .cat-arrow {
  color: #cbd5e1;
  font-style: normal;
  transition: transform .2s ease, color .2s ease;
}
.catalog-cat:hover {
  color: var(--shop-blue);
  background: rgba(11, 37, 69, 0.06);
}
.catalog-cat.is-active {
  color: var(--shop-bar);
  background: linear-gradient(90deg, rgba(11, 37, 69, 0.12), rgba(11, 37, 69, 0.04));
  font-weight: 700;
  box-shadow: inset 3px 0 0 var(--shop-blue);
}
.catalog-cat:hover .cat-arrow,
.catalog-cat.is-active .cat-arrow {
  color: var(--shop-blue);
  transform: translateX(3px);
}
.catalog-side-note {
  margin: 8px 14px 16px;
  padding: 16px;
  border-radius: 12px;
  background:
    linear-gradient(160deg, #EEF1F6 0%, #fff 70%);
  border: 1px solid rgba(11, 37, 69, 0.16);
}
.catalog-side-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--catalog-ink);
  font-size: 14px;
}
.catalog-side-note p {
  margin: 0 0 12px;
  color: var(--catalog-muted);
  font-size: 12px;
  line-height: 1.55;
}
.catalog-side-note .btn {
  width: 100%;
  text-align: center;
  padding: 9px 10px;
  border-radius: 999px;
}

.catalog-main { min-width: 0; }
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--catalog-line);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 20px;
  box-shadow: var(--catalog-shadow);
  backdrop-filter: blur(8px);
}
.catalog-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
}
.catalog-title h1,
.catalog-title h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--catalog-ink);
}
.catalog-count {
  font-size: 14px;
  color: var(--catalog-muted);
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
}
.catalog-search {
  display: flex;
  align-items: stretch;
  height: 42px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  min-width: 240px;
  max-width: 360px;
  width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.catalog-search:focus-within {
  border-color: var(--shop-blue);
  box-shadow: 0 0 0 4px rgba(11, 37, 69, .12);
}
.catalog-search input {
  border: none;
  outline: none;
  flex: 1;
  padding: 0 16px;
  font-size: 14px;
  min-width: 0;
  background: transparent;
}
.catalog-search button {
  border: none;
  background: transparent;
  width: 46px;
  cursor: pointer;
  color: #64748b;
}
.catalog-filter-chips {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--catalog-muted);
}
.catalog-filter-chips a {
  color: var(--shop-blue);
  font-weight: 700;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}
.pcard {
  background: #fff;
  border: 1px solid var(--catalog-line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.045);
  transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
  will-change: transform;
}
.pcard.reveal { opacity: 0; }
.pcard:hover,
.pcard.is-hot {
  border-color: rgba(11, 37, 69, 0.28);
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.09);
}
.pcard-media {
  position: relative;
  display: block;
  background: #f6f7f9;
  overflow: hidden;
}
.pcard-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  background: linear-gradient(135deg, var(--shop-blue), var(--brand));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(11, 37, 69, 0.26);
}
.pcard-img-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  background:
    linear-gradient(145deg, #f8fafc, #F1F3F6);
}
.pcard-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, opacity .25s ease;
}
.pcard-img.placeholder {
  display: grid;
  place-items: center;
  color: #999;
  font-size: 14px;
  height: 100%;
  background: linear-gradient(145deg, #f4f6fa, #E9EDF3);
}
.pcard:hover .pcard-img {
  transform: scale(1.08);
}
.pcard-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(10, 31, 61, .22);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
  z-index: 1;
}
.pcard:hover .pcard-overlay { opacity: 1; }
.pcard-quick {
  background: #fff;
  color: var(--shop-bar);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(0,0,0,.14);
  transform: translateY(6px);
  transition: transform .25s ease;
}
.pcard:hover .pcard-quick { transform: translateY(0); }
.pcard-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 5px;
  z-index: 2;
  pointer-events: none;
}
.pcard-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  box-shadow: 0 0 0 1px rgba(0,0,0,.08);
  display: block;
  transition: transform .2s ease, background .2s ease, width .2s ease;
}
.pcard-dots i.is-on {
  background: var(--brand);
  width: 12px;
  border-radius: 999px;
}
.pcard-body {
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pcard-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--catalog-ink);
  margin-bottom: 4px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: color .2s ease;
}
.pcard-title:hover { color: var(--shop-blue); }
.pcard-summary {
  margin: 0 0 6px;
  color: var(--catalog-muted);
  font-size: 12px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcard-meta {
  margin: 0 0 6px;
}
.pcard-meta span {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(11, 37, 69, 0.08);
  color: var(--shop-blue);
  font-size: 12px;
  font-weight: 700;
}
.pcard-price {
  color: #ea580c;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 2px;
}
.pcard-moq {
  color: var(--catalog-muted);
  font-size: 12px;
  margin-bottom: 10px;
}
.pcard-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.pcard-chat,
.pcard-detail {
  display: block;
  text-align: center;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  padding: 7px 6px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  background: #fff;
  transition: border-color .2s ease, color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.pcard-chat:hover {
  border-color: var(--brand);
  color: #ea580c;
  background: #EEF1F6;
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(11, 37, 69, 0.12);
}
.pcard-detail:hover {
  border-color: var(--shop-blue);
  color: var(--shop-blue);
  background: #EEF1F6;
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(11, 37, 69, 0.12);
}

.catalog-empty {
  background: rgba(255, 255, 255, 0.9);
  border: 1px dashed rgba(15, 23, 42, 0.14);
  border-radius: 12px;
  padding: 72px 20px;
  text-align: center;
  color: var(--catalog-muted);
}
.catalog-empty .btn { margin-top: 12px; display: inline-block; border-radius: 999px; }

.catalog-block-head h2 {
  letter-spacing: -0.025em;
  font-weight: 800;
}

.catalog-highlights {
  background: rgba(255, 255, 255, 0.55);
  padding: 64px 0;
  border-top: 1px solid var(--catalog-line);
}
.catalog-highlight-track,
.catalog-hot-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.catalog-highlight-card {
  background: #fff;
  border: 1px solid var(--catalog-line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.catalog-highlight-card:hover {
  transform: translateY(-5px);
  border-color: rgba(11, 37, 69, 0.28);
  box-shadow: var(--catalog-shadow);
}
.catalog-highlight-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #f3f6fb;
}
.catalog-highlight-card div {
  padding: 12px 14px 14px;
  display: grid;
  gap: 6px;
}
.catalog-highlight-card strong {
  font-size: 14px;
  color: var(--catalog-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.catalog-highlight-card span {
  color: #ea580c;
  font-size: 14px;
  font-weight: 800;
}
.catalog-hot-cat {
  color: var(--catalog-muted) !important;
  font-weight: 600 !important;
  font-size: 12px !important;
}

.catalog-materials {
  background: #fff;
  border-top: 1px solid var(--catalog-line);
}
.catalog-material-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.catalog-material-card {
  background: linear-gradient(180deg, #fff, #f8fafc);
  border: 1px solid var(--catalog-line);
  border-radius: 12px;
  padding: 22px 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.03);
}
.catalog-material-card em {
  display: block;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 12px;
}
.catalog-material-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--catalog-ink);
  font-size: 16px;
}
.catalog-material-card p {
  margin: 0;
  color: var(--catalog-muted);
  font-size: 14px;
  line-height: 1.7;
}

.catalog-scenes {
  background: transparent;
}
.catalog-scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.catalog-scene-card {
  background: #fff;
  border: 1px solid var(--catalog-line);
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
}
.catalog-scene-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  color: var(--catalog-ink);
  letter-spacing: -0.02em;
}
.catalog-scene-card p {
  margin: 0 0 14px;
  color: var(--catalog-muted);
  font-size: 14px;
  line-height: 1.65;
}
.catalog-scene-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.catalog-scene-card li {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(11, 37, 69, 0.08);
  color: var(--shop-blue);
  font-size: 12px;
  font-weight: 700;
}

.catalog-guide {
  background: #fff;
  border-top: 1px solid var(--catalog-line);
  padding-bottom: 72px;
}
.catalog-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.catalog-guide-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  background: linear-gradient(135deg, #EEF1F6, #F8FAFC);
  border: 1px solid var(--catalog-line);
  border-radius: 12px;
  padding: 20px 18px;
}
.catalog-guide-step {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--brand);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  border: 1px solid rgba(11, 37, 69, 0.18);
}
.catalog-guide-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--catalog-ink);
  font-size: 16px;
}
.catalog-guide-card p {
  margin: 0;
  color: var(--catalog-muted);
  font-size: 14px;
  line-height: 1.65;
}

/* Products page reveal variants */
.page-products .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s ease, transform .75s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.page-products .reveal.reveal-left { transform: translateX(-40px); }
.page-products .reveal.reveal-right { transform: translateX(40px); }
.page-products .reveal.reveal-scale { transform: translateY(20px) scale(.96); }
.page-products .reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}
.page-products .reveal.reveal-instant {
  transition: none !important;
  transition-delay: 0ms !important;
}

@media (max-width: 1100px) {
  .catalog-series-grid,
  .catalog-highlight-track,
  .catalog-hot-track,
  .catalog-material-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-scene-grid { grid-template-columns: 1fr 1fr; }
  .catalog-hero-inner { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-side { position: static; }
  .catalog-guide-grid { grid-template-columns: 1fr; }
  .catalog-hero-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .page-products .container { width: calc(100% - 24px); }
  .catalog-series-grid,
  .catalog-material-grid,
  .catalog-scene-grid,
  .catalog-highlight-track,
  .catalog-hot-track,
  .catalog-hero-stats { grid-template-columns: 1fr; }
  .pcard-actions { grid-template-columns: 1fr; }
}

/* ===== Company intro ===== */
.company-intro { padding-top: 28px; }
.intro-panel {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.section-label {
  display: inline-block;
  background: var(--shop-bar);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.intro-copy h2 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.25;
}
.intro-copy p {
  color: var(--muted);
  margin: 0 0 12px;
}
.about-html {
  color: #444;
  font-size: 14px;
  margin-bottom: 16px;
}
.intro-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.stat-card {
  background: linear-gradient(160deg, #f4f8ff, #eef3fb);
  border: 1px solid #DEE4ED;
  border-radius: 6px;
  padding: 18px 14px;
  text-align: center;
}
.stat-card strong {
  display: block;
  font-size: 20px;
  color: var(--shop-bar);
  margin-bottom: 6px;
}
.stat-card span {
  font-size: 12px;
  color: #667;
}

/* ===== Horizontal photo galleries ===== */
.gallery-section { padding-bottom: 18px; }
.gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.gallery-title-bar {
  background: var(--shop-bar);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  padding: 10px 18px;
  border-radius: 6px;
  display: inline-block;
}
.gallery-title-bar.alt { background: #17365f; }
.gallery-desc {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}
.gallery-nav { display: flex; gap: 8px; }
.gallery-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #D5DEEA;
  background: #fff;
  color: var(--shop-bar);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}
.gallery-arrow:hover {
  background: var(--shop-bar);
  color: #fff;
}
.photo-strip {
  overflow: hidden;
  position: relative;
}
.photo-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.photo-track::-webkit-scrollbar { display: none; }
.photo-card {
  flex: 0 0 280px;
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.photo-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform .4s ease;
}
.photo-card:hover img { transform: scale(1.05); }

@media (max-width: 960px) {
  .intro-panel { grid-template-columns: 1fr; }
  .photo-card { flex-basis: 220px; }
}
.hero-promo::before {
  content: "";
  position: absolute;
  right: -30px;
  top: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(11, 37, 69, 0.12);
}
.hero-kicker {
  position: relative;
  font-size: 14px;
  font-weight: 700;
  color: #333;
}
.hero-title {
  position: relative;
  margin: 0;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  color: #c03900;
  font-weight: 900;
  letter-spacing: 0.01em;
}
.hero-desc {
  position: relative;
  margin: 0;
  color: #5c4636;
  font-size: 14px;
}
.hero-cards {
  position: relative;
  display: grid;
  gap: 8px;
}
.hero-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(192, 57, 0, 0.12);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 14px;
}
.hero-card strong { display: block; margin-bottom: 2px; color: var(--ink); }
.hero-card span { color: var(--muted); }
.hero-cta {
  position: relative;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* ===== Content sections ===== */
.section {
  padding: 28px 0 40px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 16px;
}
.section-head h2 {
  margin: 0 0 4px;
  font-size: 20px;
}
.section-head p { margin: 0; color: var(--muted); font-size: 14px; }
.section-head a { color: var(--shop-blue); font-size: 14px; font-weight: 600; }

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px;
  box-shadow: var(--shadow);
}

/* ===== Site footer ===== */
.site-footer {
  margin-top: 40px;
  background: #121820;
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.site-footer .grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 36px 48px;
  padding: 42px 0 28px;
}
.site-footer h4 {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.site-footer p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.68);
}
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
  transition: color .15s ease;
}
.site-footer a:hover {
  color: #fff;
}
.site-footer .copy {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0 22px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.42);
}
@media (max-width: 760px) {
  .site-footer .grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 0 20px;
  }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(12px);
  z-index: 300;
  max-width: min(420px, calc(100% - 32px));
  padding: 10px 16px;
  border-radius: 6px;
  background: rgba(18, 24, 32, 0.94);
  color: #fff;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow .18s ease, transform .18s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}
.product-card .thumb {
  aspect-ratio: 1;
  background: #f3f6fb;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 14px;
}
.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card .body { padding: 12px; }
.product-card h3 {
  margin: 0 0 6px;
  font-size: 14px;
  min-height: 40px;
  font-weight: 600;
}
.product-card .meta {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 8px;
}
.product-card .price {
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 14px;
}

.cert-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cert-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 16px;
  min-width: 120px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
}

.layout-2 {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
}
.side-panel, .content-panel, .detail-panel, .form-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px;
}
.side-panel h3 { margin-top: 0; font-size: 16px; }
.side-panel a {
  display: block;
  padding: 9px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.side-panel a.active, .side-panel a:hover { color: var(--shop-blue); }

.detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}
.detail-media {
  background: #f3f6fb;
  border-radius: 6px;
  min-height: 320px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
}
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-panel h1 { margin-top: 0; font-size: 28px; }
.price-lg { color: var(--brand); font-size: 20px; font-weight: 700; margin: 10px 0; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.spec-table th, .spec-table td {
  border: 1px solid var(--line);
  padding: 8px 10px;
  text-align: left;
  font-size: 14px;
}
.spec-table th { width: 36%; background: #f8fafc; }

/* ============================================================
   Product detail — clean two-column layout (aligned with catalog)
   ============================================================ */
.page-product-detail {
  --pd-ink: #0f172a;
  --pd-muted: #64748b;
  --pd-line: rgba(15, 23, 42, 0.08);
  --pd-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
  background:
    radial-gradient(ellipse 70% 40% at 100% 0%, rgba(11, 37, 69, 0.06), transparent 50%),
    linear-gradient(180deg, #F7F8FA 0%, #F1F3F6 100%);
  color: var(--pd-ink);
}
.page-product-detail .container {
  width: calc(100% - 32px);
  max-width: none;
  margin: 0 auto;
}
.pd-section { padding: 8px 0 56px; }

.pd-crumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  font-size: 12px; color: var(--pd-muted); padding: 4px 0 16px;
}
.pd-crumb a { color: var(--pd-muted); }
.pd-crumb a:hover { color: var(--brand); }
.pd-crumb em {
  font-style: normal; color: var(--pd-ink); font-weight: 600;
  max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.pd-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 16px;
  /* stretch so .pd-buy is as tall as .pd-main — required for sticky */
  align-items: stretch;
}
.pd-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pd-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.95fr) minmax(0, 1.25fr);
  gap: 20px;
  align-items: start;
}

.pd-col-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.pd-buy {
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pd-buy-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 62px; /* below sticky .store-nav */
  z-index: 5;
  transition: height .35s ease;
}
.pd-left {
  background: #fff;
  border: 1px solid var(--pd-line);
  border-radius: 12px;
  padding: 12px;
  box-shadow: var(--pd-shadow);
}
.pd-side-card {
  background: #fff;
  border: 1px solid var(--pd-line);
  border-radius: 12px;
  padding: 16px 16px 14px;
  box-shadow: var(--pd-shadow);
}
.pd-side-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.pd-side-card-head strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--pd-ink);
}
.pd-side-card-head em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: #ea580c;
  background: rgba(11, 37, 69, 0.1);
  padding: 3px 8px;
  border-radius: 999px;
}
.pd-trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.pd-trust-list li {
  display: grid;
  gap: 3px;
  padding-left: 12px;
  border-left: 3px solid rgba(11, 37, 69, 0.35);
}
.pd-trust-list b {
  font-size: 14px;
  font-weight: 700;
  color: var(--pd-ink);
}
.pd-trust-list span {
  font-size: 12px;
  line-height: 1.55;
  color: var(--pd-muted);
}
.pd-trust-note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--pd-line);
  font-size: 12px;
  line-height: 1.55;
  color: #64748b;
}
.pd-oem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.pd-oem-grid span {
  display: grid;
  place-items: center;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #F1F3F6;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  text-align: center;
}
.pd-supplier-name {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--pd-ink);
}
.pd-supplier-summary {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--pd-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pd-supplier-stats {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}
.pd-supplier-stats > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}
.pd-supplier-stats span { color: var(--pd-muted); }
.pd-supplier-stats b { color: var(--pd-ink); font-weight: 700; }
.pd-supplier-certs { margin-bottom: 14px; }
.pd-certs-label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--pd-muted);
}
.pd-certs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pd-cert {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 64px;
}
.pd-cert img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: #f8fafc;
  border: 1px solid #F1F3F6;
  border-radius: 12px;
  padding: 4px;
}
.pd-cert em {
  font-style: normal;
  font-size: 10px;
  color: #64748b;
  text-align: center;
  line-height: 1.2;
}
.pd-supplier-link {
  display: block;
  text-align: center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid #dbe3f0;
  color: var(--shop-blue);
  font-size: 14px;
  font-weight: 700;
  transition: .2s ease;
}
.pd-supplier-link:hover {
  border-color: var(--shop-blue);
  background: #EEF1F6;
}
.pd-media { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; }
.pd-thumb-rail { display: flex; flex-direction: column; gap: 6px; }
.pd-rail-arrow {
  border: 1px solid var(--pd-line); background: #fff; border-radius: 6px;
  height: 24px; cursor: pointer; color: #94a3b8; font-size: 10px; line-height: 1;
}
.pd-rail-arrow:hover { border-color: var(--brand); color: var(--brand); }
.pd-thumbs {
  display: flex; flex-direction: column; gap: 6px;
  max-height: 420px; overflow-y: auto; scroll-behavior: smooth;
  scrollbar-width: none;
}
.pd-thumbs::-webkit-scrollbar { display: none; }
.pd-thumb {
  width: 64px; height: 64px; flex: none; padding: 0; overflow: hidden;
  border: 1px solid #E9EDF3; border-radius: 12px; background: #fff; cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.pd-thumb:hover img { transform: scale(1.05); }
.pd-thumb.is-active { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }

.pd-stage {
  position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden;
  background: linear-gradient(145deg, #f8fafc, #F1F3F6);
}
.pd-stage > img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease; }
.pd-stage-empty { display: grid; place-items: center; height: 100%; color: #94a3b8; font-size: 14px; }
.pd-stage-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.92); color: #334155; font-size: 20px; cursor: pointer;
  box-shadow: 0 6px 16px rgba(15,23,42,.12); opacity: 0; transition: opacity .2s ease;
}
.pd-stage:hover .pd-stage-nav { opacity: 1; }
.pd-stage-nav:hover { color: var(--brand); }
.pd-stage-nav.prev { left: 10px; }
.pd-stage-nav.next { right: 10px; }
.pd-media-count {
  position: absolute; right: 10px; bottom: 10px;
  background: rgba(15,23,42,.55); color: #fff;
  font-size: 12px; padding: 3px 8px; border-radius: 999px;
}

.pd-info-main {
  background: #fff;
  border: 1px solid var(--pd-line);
  border-radius: 12px;
  padding: 26px 28px 22px;
  box-shadow: var(--pd-shadow);
  min-width: 0;
}
.pd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pd-tag {
  display: inline-flex; align-items: center;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(11, 37, 69, 0.08); color: var(--shop-blue);
  font-size: 12px; font-weight: 700;
}
.pd-tag.is-hot {
  background: rgba(11, 37, 69, 0.12); color: #ea580c;
}
.pd-title {
  margin: 0 0 12px;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.22; font-weight: 800; letter-spacing: -0.025em; color: var(--pd-ink);
}
.pd-summary {
  margin: 0 0 14px; color: var(--pd-muted); font-size: 14px; line-height: 1.75;
}
.pd-meta {
  display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center;
  font-size: 14px; color: var(--pd-muted); margin-bottom: 16px;
}
.pd-meta .sep { color: #cbd5e1; }

.pd-prices { margin: 0 0 18px; }
.pd-price-block strong {
  display: block; font-size: 28px; font-weight: 800; color: #ea580c; letter-spacing: -.02em;
}
.pd-price-block small { display: block; margin-top: 4px; font-size: 12px; color: var(--pd-muted); }
.pd-price-flash { animation: pdxFlash .6s ease; }
.pd-price-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* 阿里式阶梯价网格 */
.pd-price-tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 16px;
  padding: 14px 16px;
  background: #f7f8fa;
  border-radius: 6px;
}
.pd-price-tier {
  min-width: 0;
  cursor: default;
}
.pd-price-tier b {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.2;
}
.pd-price-tier .pd-tier-qty {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #8c8c8c;
  line-height: 1.35;
}
@media (max-width: 720px) {
  .pd-price-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@keyframes pdxFlash {
  0% { transform: scale(1); }
  40% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

.pd-sku { margin-top: 4px; }
.pd-sku-group + .pd-sku-group { margin-top: 16px; }
.pd-sku-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 14px; color: var(--pd-muted); }
.pd-sku-head b { color: var(--pd-ink); font-weight: 700; }
.pd-sku-head .link { margin-left: auto; color: var(--shop-blue); font-size: 12px; cursor: pointer; background: none; border: 0; font-weight: 700; }
.pd-sku-head .link:hover { text-decoration: underline; }
.pd-sku-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-sku-swatch {
  position: relative;
  width: 48px; height: 48px; border-radius: 12px; overflow: visible; padding: 0;
  border: 1px solid #E9EDF3; background: #fff; cursor: pointer;
}
.pd-sku-swatch img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; display: block; }
.pd-sku-swatch:hover { border-color: #94a3b8; }
.pd-sku-swatch.is-active { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.pd-sku-swatch.is-more { color: var(--pd-muted); background: #f8fafc; font-size: 12px; font-weight: 700; }
.pd-sku-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-sku-size {
  min-width: 72px; padding: 10px 14px; border-radius: 6px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  font-size: 14px; color: var(--ink); line-height: 1.35; text-align: center;
}
.pd-sku-size:hover { border-color: #999; }
.pd-sku-size.is-active { border-color: var(--ink); color: var(--ink); background: #fff; font-weight: 600; box-shadow: inset 0 0 0 1px var(--ink); }
.pd-sku-size-price { display: none; } /* 详情页尺寸芯片按阿里样式只展示尺寸文案 */

.pd-mid-attrs { margin-top: 20px; border-top: 1px solid var(--pd-line); padding-top: 16px; }
.pd-mid-attrs-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.pd-mid-attrs-head strong { font-size: 14px; font-weight: 800; color: var(--pd-ink); }
.pd-mid-attrs-head .link { border: 0; background: none; color: var(--shop-blue); font-size: 12px; cursor: pointer; font-weight: 700; }
.pd-mid-attrs-head .link:hover { text-decoration: underline; }
.pd-mid-attrs-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  border: 1px solid var(--pd-line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.pd-mid-attrs-table td {
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.45;
  border: 1px solid var(--pd-line);
  vertical-align: middle;
}
.pd-mid-attrs-table td.name {
  width: 16%;
  background: #f8fafc;
  color: var(--pd-muted);
  font-weight: 600;
  white-space: nowrap;
}
.pd-mid-attrs-table td.value {
  width: 34%;
  color: #334155;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pd-buy-card {
  background: #fff;
  border: 1px solid var(--pd-line);
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: var(--pd-shadow);
  display: grid; gap: 14px;
}
.pd-buy-price { font-size: 28px; font-weight: 800; color: #ea580c; letter-spacing: -.02em; }
.pd-buy-moq { margin: 0; font-size: 12px; color: var(--pd-muted); }
.pd-buy-ship {
  display: grid; gap: 2px; font-size: 12px; color: var(--pd-muted);
  padding: 10px 0; border-top: 1px solid var(--pd-line); border-bottom: 1px solid var(--pd-line);
}
.pd-buy-ship b { color: var(--pd-ink); font-weight: 700; }
.pd-btn-order,
.pd-btn-outline {
  display: block; text-align: center; border-radius: 999px;
  padding: 13px 14px; font-size: 14px; font-weight: 700; transition: .2s ease;
}
.pd-btn-order {
  background: var(--brand); color: #fff; border: 1px solid var(--brand);
  box-shadow: 0 10px 22px rgba(11, 37, 69, 0.25);
}
.pd-btn-order:hover { background: var(--brand-dark); }
.pd-btn-outline {
  background: #fff; color: #334155; border: 1px solid rgba(15, 23, 42, 0.12);
}
.pd-btn-outline:hover { border-color: var(--shop-blue); color: var(--shop-blue); background: #EEF1F6; }

.pd-reco { margin-top: 24px; }
.pd-reco-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px;
}
.pd-reco-head h2 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.pd-reco-head a { font-size: 14px; color: var(--shop-blue); font-weight: 700; }
.pd-reco-track {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px;
}
.pd-reco-card {
  background: #fff; border: 1px solid var(--pd-line); border-radius: 12px; overflow: hidden;
  box-shadow: 0 8px 20px rgba(15,23,42,.04); transition: transform .2s ease, border-color .2s ease;
}
.pd-reco-card:hover { transform: translateY(-3px); border-color: rgba(11,37,69,.28); }
.pd-reco-img { aspect-ratio: 1; background: #f3f6fb; }
.pd-reco-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-reco-name {
  padding: 10px 12px 0; font-size: 14px; font-weight: 700; color: var(--pd-ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 36px;
}
.pd-reco-price { padding: 6px 12px 12px; font-size: 14px; font-weight: 800; color: #ea580c; }

.pd-detail {
  margin-top: 24px; background: #fff; border: 1px solid var(--pd-line);
  border-radius: 12px; box-shadow: var(--pd-shadow); overflow: hidden;
}
.pd-detail-tabs {
  display: flex; flex-wrap: wrap; gap: 4px 8px; padding: 10px 14px 0; border-bottom: 1px solid var(--pd-line);
  background: #fbfcfe;
}
.pd-detail-tab {
  border: 0; background: transparent; padding: 9px 12px; cursor: pointer;
  font-size: 14px; font-weight: 700; color: var(--pd-muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.pd-detail-tab:hover { color: var(--pd-ink); }
.pd-detail-tab.is-active { color: var(--pd-ink); border-bottom-color: var(--brand); }
.pd-detail-pane { display: none; padding: 16px 16px 18px; }
.pd-detail-pane.is-active { display: block; }
.pd-detail-pane h3 { margin: 0 0 12px; font-size: 14px; font-weight: 800; }
.pd-attr-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.pd-attr-table td {
  border: 1px solid var(--pd-line); padding: 8px 10px; font-size: 12px; vertical-align: middle;
}
.pd-attr-table td.name { width: 100px; background: #f8fafc; color: var(--pd-muted); font-weight: 600; }
.pd-attr-table td.value { color: #334155; }
.pd-supplier-mini {
  margin-top: 14px; padding: 12px 14px; border-radius: 12px;
  background: #f8fafc; border: 1px solid var(--pd-line);
}
.pd-supplier-mini h4 { margin: 0 0 4px; font-size: 14px; }
.pd-supplier-mini p { margin: 0; font-size: 12px; color: var(--pd-muted); line-height: 1.55; }
.pd-detail-html { font-size: 14px; line-height: 1.7; color: #334155; max-width: 820px; }
.pd-detail-html h3 { font-size: 14px; margin: 14px 0 8px; }
.pd-detail-html h3:first-child { margin-top: 0; }
.pd-detail-html p, .pd-detail-html ul { margin: 0 0 10px; }
.pd-detail-html img { max-width: 100%; height: auto; border-radius: 6px; }

.pd-desc-table td.name { width: 110px; vertical-align: top; }
.pd-desc-table td.value { line-height: 1.65; }
.pd-desc-table ul {
  margin: 0;
  padding-left: 18px;
}
.pd-desc-table li + li { margin-top: 4px; }

.pd-detail-imgs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}
.pd-detail-imgs.is-stack {
  display: flex;
  flex-direction: column;
}
.pd-detail-imgs img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--pd-line);
  background: #f8fafc;
}

.pd-buy-sticky {
  display: block;
}
.pd-buy-sticky > .pd-buy-card {
  position: relative;
  z-index: 1;
  transition: opacity .38s ease, transform .42s cubic-bezier(.22,.61,.36,1), visibility .38s ease;
}
.pd-buy-sticky > .pd-info-snapshot {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: calc(100vh - 62px);
  display: flex;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(22px);
  transition: opacity .4s ease, transform .45s cubic-bezier(.22,.61,.36,1), visibility .4s ease;
}
.pd-buy-sticky.is-info > .pd-buy-card {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-12px);
}
.pd-buy-sticky.is-info > .pd-info-snapshot {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}
.pd-buy-sticky.is-info {
  height: calc(100vh - 62px);
}
.pd-buy-sticky.is-info ~ .pd-supplier {
  opacity: 0;
  visibility: hidden;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  transition: opacity .25s ease, visibility .25s ease;
}
.pd-info-snapshot,
.pd-order-dock {
  background: #fff;
  border: 1px solid var(--pd-line);
  border-radius: 12px;
  padding: 0 16px 12px;
  box-shadow: var(--pd-shadow);
  flex-direction: column;
  gap: 0;
}
.pd-buy-sticky.is-info .pd-info-snapshot {
  max-height: none;
  overflow: hidden;
}
.pd-dock-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: none;
  margin: 0 -16px 0;
  border-bottom: 1px solid var(--pd-line);
}
.pd-dock-tab {
  border: 0;
  background: transparent;
  padding: 10px 8px 8px;
  font-size: 14px;
  font-weight: 700;
  color: #94a3b8;
  cursor: pointer;
  box-shadow: inset 0 -2px 0 transparent;
}
.pd-dock-tab.is-active {
  color: var(--pd-ink);
  box-shadow: inset 0 -2px 0 var(--brand);
}
.pd-dock-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 14px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scrollbar-width: thin;
}
.pd-dock-pane { display: none; }
.pd-dock-pane.is-active { display: grid; gap: 14px; }
.pd-dock-prices { display: grid; gap: 4px; }
.pd-dock-price {
  font-size: 28px;
  font-weight: 800;
  color: #ea580c;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.pd-dock-prices small {
  font-size: 12px;
  color: var(--pd-muted);
}
.pd-dock-sku { display: grid; gap: 8px; }
.pd-dock-sku .pd-sku-head { margin-bottom: 4px; font-size: 12px; }
.pd-dock-sku .pd-sku-swatch { width: 34px; height: 34px; border-radius: 6px; }
.pd-dock-sku .pd-sku-size {
  min-width: 0;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 12px;
}
.pd-dock-sku .pd-sku-size-price { display: none; }
.pd-dock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.pd-dock-row strong { font-size: 14px; font-weight: 800; color: var(--pd-ink); }
.pd-dock-row a { font-size: 12px; color: var(--shop-blue); font-weight: 700; white-space: nowrap; }
.pd-dock-ship-card {
  background: #f8fafc;
  border: 1px solid #F1F3F6;
  border-radius: 12px;
  padding: 8px 10px;
  display: grid;
  gap: 2px;
  font-size: 12px;
  color: #475569;
  line-height: 1.45;
}
.pd-dock-ship-card b {
  color: var(--pd-ink);
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
}
.pd-dock-ship-card b em {
  font-style: normal;
  color: var(--brand);
}
.pd-dock-ship-card p { margin: 0; }
.pd-dock-oem {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.pd-dock-oem span {
  display: grid;
  place-items: center;
  min-height: 34px;
  padding: 6px;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid #F1F3F6;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  text-align: center;
}
.pd-dock-oem-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--pd-muted);
}
.pd-dock-assure { padding-top: 0; }
.pd-dock-assure-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 5px;
}
.pd-dock-assure-list li {
  position: relative;
  padding-left: 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--pd-ink);
}
.pd-dock-assure-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #dcfce7 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%2316a34a' d='M6.3 11.2 3.1 8l1.1-1.1 2.1 2.1 5.4-5.4L12.8 5z'/></svg>") center/12px no-repeat;
}
.pd-dock-assure-note {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #64748b;
}
.pd-dock-foot {
  flex: none;
  margin-top: auto;
  padding: 10px 0 4px;
  display: grid;
  gap: 8px;
  background: #fff;
}
.pd-dock-promo {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  background: linear-gradient(90deg, #EEF1F6, #DEE4ED);
  color: #c2410c;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}
.pd-dock-promo:hover { color: #9a3412; }
.pd-order-dock .pd-btn-order {
  margin-top: 0;
  padding: 12px 14px;
  font-size: 14px;
}
.pd-dock-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.pd-dock-actions .pd-btn-outline {
  padding: 10px 8px;
  font-size: 14px;
}

.pd-review-summary {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px; margin-bottom: 14px;
  border-radius: 12px; background: #EEF1F6; border: 1px solid rgba(11,37,69,.16);
}
.pd-review-score { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.pd-review-score strong {
  font-size: 28px; font-weight: 800; color: #ea580c; letter-spacing: -.03em; line-height: 1;
}
.pd-review-score em { font-style: normal; font-size: 12px; color: var(--pd-muted); }
.pd-stars { display: inline-flex; gap: 2px; color: #e2e8f0; font-size: 16px; line-height: 1; }
.pd-stars i { font-style: normal; }
.pd-stars i.is-on, .pd-stars i.is-half { color: #f59e0b; }
.pd-stars-sm { font-size: 14px; }
.pd-review-list { display: grid; gap: 12px; }
.pd-review {
  padding: 12px 14px; border: 1px solid var(--pd-line); border-radius: 12px; background: #fff;
}
.pd-review-head {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 8px;
}
.pd-review-head b { font-size: 14px; color: var(--pd-ink); }
.pd-review-head time { margin-left: auto; font-size: 12px; color: #94a3b8; }
.pd-review-body { margin: 0; font-size: 14px; line-height: 1.65; color: #334155; }
.pd-review-imgs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pd-review-imgs img {
  width: 72px; height: 72px; object-fit: cover; border-radius: 6px; border: 1px solid #F1F3F6;
}
.pd-review-reply {
  margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: #f8fafc; border: 1px solid var(--pd-line);
}
.pd-review-reply strong { display: block; margin-bottom: 4px; font-size: 12px; color: var(--pd-muted); }
.pd-review-reply p { margin: 0; font-size: 14px; line-height: 1.6; color: #334155; }
.pd-review-empty { margin: 8px 0 0; color: var(--pd-muted); font-size: 14px; }

@media (max-width: 640px) {
  .pd-review-head time { margin-left: 0; width: 100%; }
}

.pd-float-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 50;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--pd-line);
  background: #fff; color: #334155; font-size: 20px; cursor: pointer;
  box-shadow: var(--pd-shadow); opacity: 0; pointer-events: none; transition: .2s ease;
}
.pd-float-top.is-on { opacity: 1; pointer-events: auto; }
.pd-float-top:hover { color: var(--brand); border-color: var(--brand); }

.pd-picker {
  position: fixed;
  inset: 0;
  z-index: 5000;
  pointer-events: none;
}
.pd-picker[hidden] { display: none !important; }
.pd-picker.is-open { pointer-events: auto; }
.pd-picker-mask {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  transition: opacity .2s ease;
}
.pd-picker.is-open .pd-picker-mask { opacity: 1; }
.pd-picker-stage {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  right: min(440px, 100vw);
  z-index: 5001;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 36px 56px 28px;
  pointer-events: none;
  opacity: 0;
  transform: scale(.96);
  transition: opacity .24s ease, transform .28s cubic-bezier(.22, .61, .36, 1);
}
.pd-picker.is-open .pd-picker-stage {
  opacity: 1;
  transform: scale(1);
}
.pd-picker-hero-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1;
  min-height: 0;
}
.pd-picker-stage #pdPickerHero {
  display: block;
  max-width: min(560px, 100%);
  max-height: min(58vh, 560px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
  transition: opacity .18s ease;
}
.pd-picker-nav {
  pointer-events: auto;
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
  z-index: 2;
}
.pd-picker-nav:hover { background: #fff; color: #ea580c; }
.pd-picker-nav.prev { left: 18px; }
.pd-picker-nav.next { right: 18px; }
.pd-picker-count {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  pointer-events: none;
}
.pd-picker-film {
  pointer-events: auto;
  display: flex;
  gap: 8px;
  max-width: min(560px, 100%);
  overflow-x: auto;
  padding: 4px 2px 2px;
  scrollbar-width: thin;
}
.pd-picker-film-item {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}
.pd-picker-film-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pd-picker-film-item.is-active {
  border-color: #ea580c;
  box-shadow: 0 0 0 1px #ea580c;
}
.pd-picker-film-item:hover { border-color: #fdba74; }
.pd-picker-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 5002;
  width: min(440px, 100vw);
  max-width: 100vw;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: -16px 0 48px rgba(15, 23, 42, 0.22);
  transform: translate3d(100%, 0, 0);
  transition: transform .26s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}
.pd-picker.is-open .pd-picker-drawer { transform: translate3d(0, 0, 0); }
.pd-picker-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 16px 18px; border-bottom: 1px solid #F1F3F6; flex-shrink: 0;
}
.pd-picker-head h2 { margin: 0; font-size: 16px; font-weight: 800; color: #0f172a; }
.pd-picker-close {
  border: 0; background: transparent; font-size: 28px; line-height: 1;
  color: #94a3b8; cursor: pointer; padding: 0 4px;
}
.pd-picker-close:hover { color: #0f172a; }
.pd-picker-scroll {
  flex: 1; overflow: auto; padding: 16px 18px 20px;
  -webkit-overflow-scrolling: touch;
}
.pd-picker-tiers {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 8px; margin-bottom: 14px;
}
.pd-tier {
  border: 1px solid #e2e8f0; border-radius: 12px; padding: 10px 8px; text-align: center;
}
.pd-tier b { display: block; color: #ea580c; font-size: 14px; font-weight: 800; }
.pd-tier span { display: block; margin-top: 4px; font-size: 12px; color: #64748b; }
.pd-picker-preview-row {
  display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 12px;
  align-items: center; margin-bottom: 16px;
}
.pd-picker-preview {
  width: 72px; height: 72px; border-radius: 12px; overflow: hidden;
  border: 1px solid #F1F3F6; background: #f8fafc;
}
.pd-picker-preview img { width: 100%; height: 100%; object-fit: cover; }
.pd-picker-price { font-size: 20px; font-weight: 800; color: #ea580c; margin: 0; }
.pd-picker-group + .pd-picker-group { margin-top: 18px; }
.pd-picker-attr-title {
  display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap;
  font-size: 14px; color: #64748b; margin-bottom: 10px;
}
.pd-picker-attr-title b { color: #0f172a; font-weight: 700; }
.pd-picker-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-picker-swatch {
  position: relative;
  width: 48px; height: 48px; border-radius: 6px; border: 1.5px solid #e2e8f0;
  padding: 0; overflow: visible; background: #fff; cursor: pointer;
}
.pd-picker-swatch img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 6px; }
.pd-picker-swatch span {
  display: grid; place-items: center; width: 100%; height: 100%;
  font-size: 10px; color: #64748b;
}
.pd-picker-swatch.is-active { border-color: #ea580c; box-shadow: 0 0 0 1px #ea580c; }
.pd-swatch-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  z-index: 2;
  min-width: 20px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ea580c;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  font-style: normal;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.25);
  pointer-events: none;
}
.pd-picker-color-qty { margin-top: 12px; }
.pd-picker-size-list { display: grid; gap: 8px; }
.pd-picker-size-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 12px; border: 1px solid #F1F3F6; border-radius: 12px; background: #fff;
}
.pd-picker-size-row.is-selected {
  border-color: #fdba74;
  background: #EEF1F6;
}
.pd-picker-size-row:focus-within { border-color: #fdba74; box-shadow: 0 0 0 2px rgba(234,88,12,.12); }
.pd-picker-selected {
  border: 1px solid #DEE4ED;
  background: #EEF1F6;
  border-radius: 12px;
  padding: 10px 12px;
}
.pd-picker-selected-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.pd-picker-selected-head strong {
  font-size: 14px;
  font-weight: 800;
  color: #9a3412;
}
.pd-picker-selected-head span {
  font-size: 12px;
  color: #c2410c;
  font-weight: 700;
}
.pd-picker-selected-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  max-height: 120px;
  overflow: auto;
}
.pd-picker-selected-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: #7c2d12;
}
.pd-picker-selected-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
}
.pd-picker-selected-qty { color: #9a3412; font-weight: 700; }
.pd-picker-selected-amt { color: #ea580c; font-weight: 800; white-space: nowrap; }
.pd-picker-size-meta { min-width: 0; }
.pd-picker-size-meta b { display: block; font-size: 14px; color: #0f172a; font-weight: 700; }
.pd-picker-size-meta span { display: block; margin-top: 2px; font-size: 12px; color: #ea580c; font-weight: 700; }
.pd-qty { display: inline-flex; align-items: center; gap: 0; border: 1px solid #e2e8f0; border-radius: 6px; overflow: hidden; }
.pd-qty-btn {
  width: 32px; height: 32px; border: 0; background: #f8fafc; color: #0f172a;
  font-size: 16px; cursor: pointer; line-height: 1;
}
.pd-qty-btn:hover { background: #f1f5f9; }
.pd-qty-input {
  width: 48px; height: 32px; border: 0; border-left: 1px solid #e2e8f0; border-right: 1px solid #e2e8f0;
  text-align: center; font: inherit; font-size: 14px; color: #0f172a;
  -moz-appearance: textfield;
}
.pd-qty-input::-webkit-outer-spin-button,
.pd-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd-picker-foot {
  flex-shrink: 0; padding: 14px 18px 18px; border-top: 1px solid #F1F3F6;
  display: grid; gap: 10px; background: #fff;
}
.pd-picker-subtotal {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  font-size: 14px; color: #64748b;
}
.pd-picker-subtotal b { color: #ea580c; font-size: 20px; font-weight: 800; }
.pd-picker-moq-hint {
  margin: 0;
  padding: 8px 10px;
  border-radius: 6px;
  background: #EEF1F6;
  border: 1px solid #DEE4ED;
  color: #c2410c;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.pd-picker-foot .pd-btn-order,
.pd-picker-foot .pd-btn-outline { width: 100%; margin: 0; }
.pd-picker-foot .pd-btn-order:disabled,
.pd-picker-foot .pd-btn-outline:disabled { opacity: .45; cursor: not-allowed; }
.pd-picker-empty { margin: 0; color: #94a3b8; }

/* Product detail scroll motion */
.page-product-detail .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .75s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.page-product-detail .reveal.reveal-left { transform: translateX(-36px); }
.page-product-detail .reveal.reveal-right { transform: translateX(36px); }
.page-product-detail .reveal.reveal-up { transform: translateY(40px); }
.page-product-detail .reveal.reveal-scale { transform: translateY(18px) scale(.96); }
.page-product-detail .reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}
.page-product-detail .pd-detail-imgs .reveal {
  transform: translateY(48px) scale(.98);
}
.page-product-detail .pd-detail-imgs .reveal.is-visible {
  transform: none;
}
.page-product-detail.is-scrolling-down .reveal:not(.is-visible) {
  transform: translateY(36px);
}
.page-product-detail.is-scrolling-up .reveal:not(.is-visible) {
  transform: translateY(-24px);
}
@media (prefers-reduced-motion: reduce) {
  .page-product-detail .reveal,
  .pd-buy-sticky > .pd-buy-card,
  .pd-buy-sticky > .pd-info-snapshot {
    transition: none !important;
    animation: none !important;
  }
  .page-product-detail .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1280px) {
  .pd-layout { grid-template-columns: minmax(0, 1fr) 420px; }
}
@media (max-width: 980px) {
  .pd-layout { grid-template-columns: 1fr; }
  .pd-buy-sticky {
    position: static;
    top: auto;
    height: auto;
    display: block;
  }
  .pd-buy-sticky > .pd-buy-card {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .pd-buy-sticky.is-info > .pd-buy-card { display: grid; }
  .pd-buy-sticky.is-info > .pd-info-snapshot,
  .pd-buy-sticky > .pd-info-snapshot { display: none; }
}
@media (max-width: 900px) {
  .pd-grid { grid-template-columns: 1fr; }
  .pd-media { grid-template-columns: 1fr; }
  .pd-thumb-rail { order: 2; flex-direction: row; align-items: center; }
  .pd-rail-arrow { width: 28px; height: 56px; }
  .pd-thumbs { flex-direction: row; max-height: none; overflow-x: auto; }
  .pd-mid-attrs-table td.name { width: 28%; }
  .pd-mid-attrs-table td.value { width: 72%; }
  .pd-mid-attrs-table tr td:nth-child(n+3) { display: none; }
  .pd-picker-stage {
    right: 0;
    bottom: auto;
    height: 42vh;
    padding: 16px 48px 12px;
    background: rgba(15, 23, 42, 0.2);
  }
  .pd-picker-stage #pdPickerHero {
    max-height: calc(42vh - 90px);
    max-width: min(320px, 70vw);
    border-radius: 12px;
  }
  .pd-picker-nav { width: 36px; height: 36px; font-size: 20px; }
  .pd-picker-nav.prev { left: 8px; }
  .pd-picker-nav.next { right: 8px; }
  .pd-picker-film-item { width: 44px; height: 44px; }
  .pd-picker-drawer {
    width: 100vw;
    top: 42vh;
    height: 58vh;
  }
  .pd-buy { grid-template-columns: 1fr; }
  .pd-oem-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .page-product-detail .container { width: calc(100% - 20px); }
  .pd-info-main { padding: 16px; }
  .pd-title { font-size: 20px; }
}

/* ============================================================
   About / Contact — aligned with product pages
   ============================================================ */
.page-about,
.page-contact {
  --ab-ink: #0f172a;
  --ab-muted: #64748b;
  --ab-line: rgba(15, 23, 42, 0.08);
  --ab-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
  background:
    radial-gradient(ellipse 70% 40% at 100% 0%, rgba(11, 37, 69, 0.06), transparent 50%),
    linear-gradient(180deg, #F7F8FA 0%, #F1F3F6 100%);
  color: var(--ab-ink);
}
.page-about .container,
.page-contact .container {
  width: calc(100% - 32px);
  max-width: 1280px;
  margin: 0 auto;
}
.ab-section,
.ct-section { padding: 8px 0 64px; }
.ab-crumb,
.ct-crumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  font-size: 12px; color: var(--ab-muted); padding: 4px 0 18px;
}
.ab-crumb a,
.ct-crumb a { color: var(--ab-muted); }
.ab-crumb a:hover,
.ct-crumb a:hover { color: var(--brand); }
.ab-crumb em,
.ct-crumb em { font-style: normal; color: var(--ab-ink); font-weight: 600; }

.ab-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 20px;
}
.ab-hero-copy,
.ct-hero,
.ab-card,
.ab-side-card,
.ct-side-card,
.ct-form-card {
  background: #fff;
  border: 1px solid var(--ab-line);
  border-radius: 12px;
  box-shadow: var(--ab-shadow);
}
.ab-hero-copy { padding: 28px 28px 24px; }
.ab-kicker,
.ct-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(11, 37, 69, 0.12);
  color: #ea580c;
  font-size: 12px;
  font-weight: 700;
}
.ab-hero-copy h1,
.ct-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  letter-spacing: -.03em;
}
.ab-lead,
.ct-hero p {
  margin: 0 0 18px;
  color: var(--ab-muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 52ch;
}
.ab-hero-actions,
.ct-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ab-hero-visual {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--ab-line);
  box-shadow: var(--ab-shadow);
  background: linear-gradient(145deg, #EEF1F6, #eef2ff);
  min-height: 260px;
}
.ab-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 260px;
}
.ab-hero-fallback {
  height: 100%;
  min-height: 260px;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
}
.ab-hero-fallback strong { font-size: 20px; color: #ea580c; }
.ab-hero-fallback span { color: var(--ab-muted); font-size: 14px; line-height: 1.6; }

.ab-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}
.ab-stat {
  background: #fff;
  border: 1px solid var(--ab-line);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}
.ab-stat strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #ea580c;
  letter-spacing: -.02em;
}
.ab-stat span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--ab-muted);
}

.ab-layout,
.ct-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
  align-items: start;
}
.ab-main { display: grid; gap: 16px; min-width: 0; }
.ab-card { padding: 22px 22px 20px; }
.ab-card-head { margin-bottom: 14px; }
.ab-card-head h2 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 800;
}
.ab-card-head p {
  margin: 0;
  color: var(--ab-muted);
  font-size: 14px;
}
.ab-summary {
  margin: 0 0 14px;
  color: #334155;
  font-size: 14px;
  line-height: 1.7;
}
.ab-html {
  font-size: 14px;
  line-height: 1.75;
  color: #334155;
}
.ab-html p { margin: 0 0 12px; }
.ab-html img { max-width: 100%; border-radius: 12px; }
.ab-empty { margin: 0; color: var(--ab-muted); font-size: 14px; }
.ab-certs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
}
.ab-cert {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 12px 10px;
  border: 1px solid var(--ab-line);
  border-radius: 12px;
  background: #f8fafc;
}
.ab-cert img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #F1F3F6;
  padding: 6px;
}
.ab-cert em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  color: #334155;
}
.ab-cap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ab-cap-grid > div {
  padding: 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #F1F3F6;
}
.ab-cap-grid strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}
.ab-cap-grid span {
  font-size: 12px;
  color: var(--ab-muted);
  line-height: 1.55;
}

.ab-side,
.ct-side { display: grid; gap: 14px; min-width: 0; }
.ab-side-card,
.ct-side-card { padding: 18px 16px; }
.ab-side-head,
.ct-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.ab-side-head strong,
.ct-side-head strong { font-size: 14px; }
.ab-side-head em,
.ct-side-head em {
  font-style: normal;
  font-size: 12px;
  color: #16a34a;
  font-weight: 700;
}
.ab-side-card h3,
.ct-side-card h2 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}
.ab-contact-list,
.ct-info-list,
.ct-tips {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.ab-contact-list li,
.ct-info-list li {
  display: grid;
  gap: 3px;
}
.ab-contact-list span,
.ct-info-list span,
.ct-tips li {
  font-size: 12px;
  color: var(--ab-muted);
}
.ab-contact-list b,
.ab-contact-list a,
.ct-info-list b,
.ct-info-list a {
  font-size: 14px;
  color: var(--ab-ink);
  font-weight: 700;
  word-break: break-word;
}
.ab-contact-list a:hover,
.ct-info-list a:hover { color: var(--brand); }
.btn-block { display: block; width: 100%; text-align: center; }
.ab-cat-list {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
.ab-cat-list a {
  padding: 9px 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #F1F3F6;
  font-size: 14px;
  font-weight: 700;
  color: #334155;
}
.ab-cat-list a:hover {
  border-color: rgba(11, 37, 69, 0.35);
  color: var(--brand);
}
.ab-more {
  font-size: 14px;
  color: var(--shop-blue);
  font-weight: 700;
}

.ct-layout { grid-template-columns: 320px minmax(0, 1fr); margin-top: 4px; }
.ct-assure {
  margin-top: 4px;
  padding: 12px;
  border-radius: 12px;
  background: #EEF1F6;
  border: 1px solid rgba(11, 37, 69, 0.16);
}
.ct-assure strong { display: block; margin-bottom: 4px; font-size: 14px; }
.ct-assure p { margin: 0; font-size: 12px; color: var(--ab-muted); line-height: 1.55; }
.ct-tips li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: #334155;
  line-height: 1.55;
}
.ct-tips li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}
.ct-product-link {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}
.ct-product-link img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #F1F3F6;
  background: #f8fafc;
}
.ct-product-link b {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 4px;
}
.ct-product-link span {
  color: #ea580c;
  font-weight: 800;
  font-size: 14px;
}
.ct-form-card { padding: 24px 24px 22px; }
.ct-form-head { margin-bottom: 18px; }
.ct-form-head h2 { margin: 0 0 6px; font-size: 20px; font-weight: 800; }
.ct-form-head p { margin: 0; color: var(--ab-muted); font-size: 14px; }
.ct-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}
.ct-form-grid .full { grid-column: 1 / -1; }
.ct-form-grid label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}
.ct-form-grid input,
.ct-form-grid textarea {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 11px 12px;
  background: #fff;
  color: var(--ab-ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.ct-form-grid input:focus,
.ct-form-grid textarea:focus {
  border-color: rgba(11, 37, 69, 0.55);
  box-shadow: 0 0 0 3px rgba(11, 37, 69, 0.12);
}
.ct-form-grid textarea { resize: vertical; min-height: 120px; }
.ct-form-grid input:disabled {
  background: #f8fafc;
  color: #64748b;
}

.page-about .reveal,
.page-contact .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .75s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.page-about .reveal.reveal-left,
.page-contact .reveal.reveal-left { transform: translateX(-28px); }
.page-about .reveal.reveal-right,
.page-contact .reveal.reveal-right { transform: translateX(28px); }
.page-about .reveal.is-visible,
.page-contact .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .ab-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ab-layout,
  .ct-layout { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .ab-hero { grid-template-columns: 1fr; }
  .ab-cap-grid { grid-template-columns: 1fr; }
  .ct-form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .page-about .container,
  .page-contact .container { width: calc(100% - 20px); }
  .ab-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-hero-copy,
  .ct-hero,
  .ct-form-card { padding: 18px 16px; }
}

/* Cart badge */
.tool-cart { position: relative; }
.cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
  font-style: normal;
}

/* Cart / Checkout */
.page-cart,
.page-checkout,
.page-order-result {
  background: linear-gradient(180deg, #F7F8FA 0%, #F1F3F6 100%);
}
.page-cart .container,
.page-checkout .container,
.page-order-result .container {
  width: calc(100% - 32px);
  max-width: 1200px;
  margin: 0 auto;
}
.sc-section { padding: 8px 0 64px; }
.sc-crumb {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  font-size: 12px; color: #64748b; padding: 4px 0 18px;
}
.sc-crumb a { color: #64748b; }
.sc-crumb em { font-style: normal; color: #0f172a; font-weight: 600; }
.sc-layout,
.ck-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px;
  align-items: start;
}
.page-checkout .float-rail { display: none; }
.ck-steps {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
}
.ck-steps li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 600;
}
.ck-steps li.is-active { color: #0f172a; }
.ck-steps a { color: inherit; }
.ck-steps a:hover { color: var(--brand); }
.ck-step-num {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  background: #e2e8f0;
  color: #64748b;
}
.ck-steps li.is-active .ck-step-num {
  background: var(--brand);
  color: #fff;
}
.ck-card { padding: 20px 20px 8px; }
.ck-block {
  padding: 4px 0 18px;
  border-top: 1px solid #f1f5f9;
}
.ck-block:first-of-type { border-top: 0; padding-top: 0; }
.ck-block-title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}
.ck-select {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 11px 12px;
  outline: none;
  background: #fff;
  font: inherit;
  color: #0f172a;
}
.ck-select:focus {
  border-color: rgba(11,37,69,.55);
  box-shadow: 0 0 0 3px rgba(11,37,69,.12);
}
.ck-summary { gap: 14px; }
.ck-summary-divider {
  height: 1px;
  background: #F1F3F6;
  margin: 2px 0;
}
.ck-item-body { min-width: 0; }
.ck-item-spec {
  display: block;
  margin: 2px 0 4px;
  color: #64748b;
  font-size: 12px;
}
.ck-item-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.ck-item-meta em {
  color: #64748b;
  font-style: normal;
  font-size: 12px;
}
.ck-item-meta strong {
  color: #ea580c;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.ck-pay-options label:has(input:checked) {
  border-color: #fdba74;
  background: #EEF1F6;
}
.sc-card,
.sc-summary,
.or-card,
.sc-empty {
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(15,23,42,.06);
}
.sc-card { padding: 18px 18px 8px; }
.sc-card-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-bottom: 14px; flex-wrap: wrap;
}
.sc-card-head h1 { margin: 0; font-size: 20px; font-weight: 800; }
.sc-card-head span { color: #64748b; font-size: 14px; line-height: 1.4; max-width: 420px; }
.sc-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 120px 110px auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid #F1F3F6;
}
.sc-thumb {
  width: 88px; height: 88px; border-radius: 12px; overflow: hidden;
  background: #f8fafc; border: 1px solid #F1F3F6;
}
.sc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sc-name { display: block; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.sc-spec { margin: 0 0 6px; color: #64748b; font-size: 12px; }
.sc-price { color: #ea580c; font-size: 16px; }
.sc-qty { display: inline-flex; align-items: center; gap: 4px; }
.sc-qty-btn {
  width: 30px; height: 30px; border-radius: 6px; border: 1px solid #e2e8f0;
  background: #fff; cursor: pointer; font-size: 16px;
}
.sc-qty-input {
  width: 48px; height: 30px; text-align: center; border: 1px solid #e2e8f0;
  border-radius: 6px;
}
.sc-line-total { font-weight: 800; color: #0f172a; text-align: right; }
.sc-remove {
  border: 0; background: transparent; color: #94a3b8; cursor: pointer; font-size: 12px;
}
.sc-remove:hover { color: #ea580c; }
.sc-summary { padding: 18px 16px; display: grid; gap: 12px; position: sticky; top: 72px; }
.sc-summary h2 { margin: 0; font-size: 16px; font-weight: 800; }
.sc-summary-row {
  display: flex; justify-content: space-between; gap: 10px;
  font-size: 14px; color: #64748b;
}
.sc-summary-row b { color: #0f172a; font-weight: 700; }
.sc-summary-row.is-total {
  padding-top: 10px; border-top: 1px solid #F1F3F6;
  font-size: 14px; color: #0f172a; font-weight: 700;
}
.sc-summary-row.is-total b { color: #ea580c; font-size: 20px; }
.sc-empty {
  padding: 56px 24px; text-align: center; display: grid; gap: 12px; justify-items: center;
}
.sc-empty h1 { margin: 0; font-size: 28px; }
.sc-empty p { margin: 0; color: #64748b; }
.sc-error {
  margin: 0 0 14px; padding: 10px 12px; border-radius: 12px;
  background: #fff1f2; color: #be123c; border: 1px solid #fecdd3; font-size: 14px;
}
.ck-form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px;
}
.ck-form-grid .full { grid-column: 1 / -1; }
.ck-form-grid label {
  display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; color: #475569;
}
.ck-form-grid input,
.ck-form-grid textarea {
  width: 100%; border: 1px solid #e2e8f0; border-radius: 12px; padding: 11px 12px;
  outline: none; background: #f8fafc;
}
.ck-form-grid input:focus,
.ck-form-grid textarea:focus {
  border-color: rgba(11,37,69,.55);
  box-shadow: 0 0 0 3px rgba(11,37,69,.12);
  background: #fff;
}
.ck-items { display: grid; gap: 10px; margin-bottom: 4px; }
.ck-item {
  display: grid; grid-template-columns: 56px minmax(0,1fr); gap: 10px; align-items: center;
}
.ck-item img {
  width: 56px; height: 56px; object-fit: cover; border-radius: 12px; border: 1px solid #F1F3F6;
}
.ck-item b { display: block; font-size: 14px; margin-bottom: 2px; }
.ck-item span, .ck-item em {
  display: block; font-size: 12px; color: #64748b; font-style: normal;
}
.ck-pay-note { margin: 0; font-size: 12px; color: #64748b; line-height: 1.5; }
.ck-pay-channels { margin: 8px 0 12px; }
.ck-pay-channels > label { display: block; font-size: 14px; font-weight: 600; color: #0f172a; margin-bottom: 6px; }
.ck-pay-options { display: grid; gap: 6px; }
.ck-pay-options label {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border: 1px solid #e2e8f0; border-radius: 6px;
  font-size: 14px; color: #334155; cursor: pointer;
}
.ck-pay-options input { margin: 0; }
.page-order-result .float-rail,
.page-order-detail .float-rail { display: none; }
.or-stage {
  padding: 28px 0 72px;
  background:
    radial-gradient(900px 320px at 50% -8%, rgba(11,37,69,.14), transparent 55%),
    linear-gradient(180deg, #F7F8FA 0%, #F1F3F6 100%);
}
.or-wrap { max-width: 820px; }
.or-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 14px;
  color: #64748b;
}
.or-crumb a { color: #64748b; text-decoration: none; }
.or-crumb a:hover { color: var(--brand); }
.or-crumb em { font-style: normal; color: #0f172a; font-weight: 600; }
.or-hero--detail { padding-top: 32px; }
.or-hero--detail h1 {
  font-size: clamp(22px, 3.2vw, 28px);
  letter-spacing: .02em;
  word-break: break-all;
}
.or-hero--detail .or-desc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.or-hero--detail .or-status {
  color: #fdba74 !important;
  font-weight: 700;
}
.or-hero {
  position: relative;
  text-align: center;
  padding: 36px 24px 28px;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 55%, #334155 100%);
  color: #fff;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
}
.or-hero-glow {
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 180px;
  background: radial-gradient(circle, rgba(11,37,69,.35), transparent 70%);
  pointer-events: none;
}
.or-ok {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #34d399, #059669);
  color: #fff;
  box-shadow: 0 10px 28px rgba(5, 150, 105, 0.35);
  position: relative;
  z-index: 1;
  animation: orPop .45s cubic-bezier(.22,.61,.36,1);
}
@keyframes orPop {
  from { transform: scale(.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.or-eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fdba74;
  font-weight: 700;
}
.or-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
}
.or-desc {
  position: relative;
  z-index: 1;
  margin: 0 auto 18px;
  max-width: 460px;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.55;
}
.or-hero-amount {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 22px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}
.or-hero-amount span {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
}
.or-hero-amount strong {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
}
.or-panel {
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(15,23,42,.07);
  padding: 22px 22px 24px;
  display: grid;
  gap: 22px;
}
.or-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}
.or-meta-card {
  position: relative;
  padding: 14px 14px 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, #f8fafc, #fff);
  border: 1px solid #F1F3F6;
  text-align: left;
}
.or-meta-card span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 6px;
}
.or-meta-card b {
  display: block;
  font-size: 14px;
  color: #0f172a;
  word-break: break-all;
  line-height: 1.35;
  padding-right: 48px;
}
.or-status { color: #c2410c !important; }
.or-copy {
  position: absolute;
  top: 12px;
  right: 10px;
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
}
.or-copy:hover { color: var(--brand); border-color: #fdba74; }
.or-section { display: grid; gap: 12px; }
.or-section-head h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}
.or-items { display: grid; gap: 10px; }
.or-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #F1F3F6;
  background: #fafbfc;
}
.or-item-thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #F1F3F6;
}
.or-item-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.or-item-body { min-width: 0; }
.or-item-body b {
  display: block;
  font-size: 14px;
  color: #0f172a;
  margin-bottom: 2px;
}
.or-item-body span,
.or-item-body em {
  display: block;
  font-size: 12px;
  color: #64748b;
  font-style: normal;
}
.or-item-amt {
  font-size: 14px;
  font-weight: 800;
  color: #ea580c;
  white-space: nowrap;
}
.or-totals {
  display: grid;
  gap: 8px;
  padding-top: 4px;
}
.or-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: #64748b;
}
.or-totals b { color: #0f172a; font-weight: 700; }
.or-totals .is-total {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px dashed #e2e8f0;
  font-size: 14px;
  color: #0f172a;
  font-weight: 700;
}
.or-totals .is-total b {
  color: #ea580c;
  font-size: 20px;
  font-weight: 800;
}
.or-ship {
  padding: 14px 16px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #F1F3F6;
  text-align: left;
}
.or-ship p { margin: 0 0 6px; font-size: 14px; color: #475569; line-height: 1.5; }
.or-ship p:last-child { margin-bottom: 0; }
.or-ship strong { color: #0f172a; }
.or-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.or-timeline li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  position: relative;
  padding: 0 0 18px;
  text-align: left;
}
.or-timeline li:last-child { padding-bottom: 0; }
.or-timeline li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 16px;
  bottom: 0;
  width: 2px;
  background: #e2e8f0;
}
.or-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  background: #fff;
  margin-top: 2px;
  position: relative;
  z-index: 1;
}
.or-timeline li.is-done .or-dot {
  border-color: #059669;
  background: #059669;
  box-shadow: 0 0 0 4px rgba(5, 150, 105, .15);
}
.or-timeline b {
  display: block;
  font-size: 14px;
  color: #0f172a;
  margin-bottom: 2px;
}
.or-timeline p {
  margin: 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
}
.or-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 4px;
}
.or-actions .btn { min-width: 132px; }
.od-lookup { padding: 28px 24px; max-width: 560px; margin: 0 auto; text-align: center; }
.od-lookup h1 { margin: 0 0 8px; font-size: 28px; }
.od-lookup p { margin: 0 0 18px; color: #64748b; }
.od-lookup-form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.od-lookup-form input {
  flex: 1; min-width: 220px; height: 44px; border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 0 14px; font: inherit;
}
.od-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  margin-bottom: 18px;
}
.od-head-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.od-head h1 { margin: 0 0 4px; font-size: 28px; }
.od-email { margin: 0; color: #64748b; font-size: 14px; }
.od-email b { color: #0f172a; }
.od-list { display: grid; gap: 14px; }
.od-card {
  background: #fff; border: 1px solid #F1F3F6; border-radius: 12px; padding: 16px 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.od-card-top {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px;
  padding-bottom: 12px; border-bottom: 1px solid #f1f5f9; margin-bottom: 12px;
}
.od-card-top span { display: block; font-size: 12px; color: #64748b; margin-bottom: 4px; }
.od-card-top b, .od-status { font-size: 14px; font-style: normal; font-weight: 700; color: #0f172a; }
.od-status { color: #ea580c; }
.od-card-items { display: grid; gap: 10px; margin-bottom: 12px; }
.od-card-foot { display: flex; justify-content: flex-end; }
.od-ship { margin-bottom: 18px; padding: 14px; border-radius: 12px; background: #f8fafc; border: 1px solid #F1F3F6; }
.od-ship h2 { margin: 0 0 8px; font-size: 14px; }
.od-ship p { margin: 0 0 6px; color: #334155; font-size: 14px; }
button.pd-btn-order,
button.pd-btn-outline { width: 100%; cursor: pointer; font: inherit; }

/* Account login — marketplace card style */
.page-account .market-header { border-bottom: 1px solid #e8e8e8; }
.page-account .store-nav,
.page-account .float-rail { display: none; }
.al-stage {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px 64px;
  background:
    radial-gradient(1200px 420px at 50% -10%, rgba(11, 37, 69, 0.12), transparent 60%),
    linear-gradient(180deg, #f7f8fa 0%, #eef1f5 100%);
}
.al-modal {
  width: min(420px, 100%);
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
  padding: 28px 28px 22px;
  position: relative;
}
.al-error,
.al-ok {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.45;
}
.al-error {
  background: #fff1f2;
  color: #be123c;
}
.al-ok {
  background: #ecfdf5;
  color: #047857;
}
.al-panel-title {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}
.al-panel-register { display: none; }
.al-modal.is-register .al-panel-login { display: none; }
.al-modal.is-register .al-panel-register { display: block; }
.al-form { display: grid; gap: 16px; }
.al-field { display: grid; gap: 8px; }
.al-field > label,
.al-field-head label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}
.al-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.al-forgot {
  font-size: 12px;
  color: var(--muted);
}
.al-forgot:hover { color: var(--brand); }
.al-input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #F5F7FA;
  color: var(--ink);
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.al-input:focus {
  border-color: #93c5fd;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(28, 64, 118, 0.15);
}
.al-pass-wrap { position: relative; }
.al-pass-wrap .al-input { padding-right: 42px; }
.al-eye {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.al-eye:hover { color: #64748b; }
.al-submit {
  width: 100%;
  height: 44px;
  margin-top: 4px;
  border: 0;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.al-submit:hover { background: var(--brand-dark); }
.al-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}
.al-links a:hover { color: var(--brand); }
.al-links-center { justify-content: center; }
.al-oauth {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 14px;
}
.al-oauth-label {
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}
.al-oauth-icons { display: flex; gap: 10px; flex-wrap: wrap; }
.al-oauth-ico {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s, box-shadow .15s;
}
.al-oauth-ico:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}
@media (max-width: 520px) {
  .al-modal { padding: 22px 18px 18px; }
  .al-stage { padding: 28px 12px 40px; }
}
@media (max-width: 900px) {
  .sc-layout, .ck-layout { grid-template-columns: 1fr; }
  .sc-row {
    grid-template-columns: 72px minmax(0,1fr);
    grid-template-areas:
      "thumb info"
      "qty total"
      "rm rm";
  }
  .sc-thumb { grid-area: thumb; width: 72px; height: 72px; }
  .sc-info { grid-area: info; }
  .sc-qty { grid-area: qty; }
  .sc-line-total { grid-area: total; }
  .sc-remove { grid-area: rm; justify-self: start; }
  .ck-form-grid { grid-template-columns: 1fr; }
  .or-meta { grid-template-columns: 1fr; }
  .or-item { grid-template-columns: 56px minmax(0, 1fr); }
  .or-item-amt { grid-column: 2; justify-self: start; }
  .or-hero { padding: 28px 18px 22px; border-radius: 12px; }
  .or-panel { padding: 16px; border-radius: 12px; }
  .od-card-top { grid-template-columns: 1fr 1fr; }
  .od-head { flex-direction: column; }
}

/* ===== Cart / checkout mobile sticky CTA ===== */
.sc-mobile-bar {
  display: none;
}
.sc-thumb-ph {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: #f1f5f9;
  color: #94a3b8;
  font-size: 12px;
  text-align: center;
  padding: 6px;
}

/* ===== Global mobile header / product CTA ===== */
@media (max-width: 760px) {
  .market-inner {
    grid-template-columns: 1fr auto;
    gap: 10px 12px;
    min-height: 0;
    padding: 8px 0;
  }
  .market-logo {
    font-size: 20px;
    grid-column: 1;
  }
  .market-tools {
    grid-column: 2;
    justify-self: end;
  }
  .market-search {
    grid-column: 1 / -1;
    max-width: none;
    height: 36px;
    order: 3;
  }
  .market-inner > .market-logo { order: 1; }
  .market-inner > .market-tools { order: 2; }
  .market-inner > .market-search { order: 3; }
  .market-tool span:not(.cart-badge) { display: none; }
  .shop-header .inner {
    grid-template-columns: 56px 1fr;
    gap: 12px;
    padding: 12px 0 10px;
  }
  .shop-logo { width: 56px; height: 56px; }
  .shop-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .shop-actions .btn { width: 100%; justify-content: center; }

  /* 二级导航：横向滚动，避免挤爆 */
  .store-nav .inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 8px 0 10px;
  }
  .store-nav .menu {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .store-nav .menu::-webkit-scrollbar { display: none; }
  .store-nav .nav-link {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 8px 12px;
    font-size: 14px;
  }
  .store-nav .nav-drop-panel {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0;
    display: none;
    min-width: 0;
  }
  .store-nav .nav-drop.open > .nav-drop-panel,
  .store-nav .nav-drop:hover > .nav-drop-panel {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    padding: 0 0 4px;
  }
  .store-nav .nav-drop-item {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    font-size: 12px;
  }
  .store-nav .store-search {
    width: 100%;
    max-width: none;
  }

  /* 商品分类：侧栏改横向 chips */
  .catalog-layout { grid-template-columns: 1fr; gap: 14px; }
  .catalog-side {
    position: static;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .catalog-side-head { display: none; }
  .catalog-cats {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 2px 8px;
  }
  .catalog-cats::-webkit-scrollbar { display: none; }
  .catalog-cat {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    white-space: nowrap;
    font-size: 14px;
  }
  .catalog-cat .cat-arrow { display: none; }
  .catalog-cat.is-active {
    border-color: var(--brand);
    background: rgba(11, 37, 69, 0.08);
    color: var(--brand);
    font-weight: 700;
  }

  /* 购物车 / 结算吸底 */
  .sc-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: sticky;
    bottom: 0;
    z-index: 45;
    margin: 16px -12px 0;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 28px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(8px);
  }
  .sc-mobile-bar-info {
    display: grid;
    gap: 2px;
    min-width: 0;
  }
  .sc-mobile-bar-info small {
    color: #64748b;
    font-size: 12px;
  }
  .sc-mobile-bar-info strong {
    color: #ea580c;
    font-size: 20px;
    font-weight: 800;
  }
  .sc-mobile-bar .btn {
    flex: 0 0 auto;
    min-width: 132px;
    white-space: nowrap;
  }
  .page-cart .sc-side .sc-summary .btn-primary,
  .page-checkout .ck-summary > .btn-primary {
    display: none;
  }

  /* 商详：底部固定加购/询盘条 */
  .page-product-detail .pd-buy {
    position: sticky;
    bottom: 0;
    z-index: 40;
    margin: 0 -10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(8px);
  }
  .pd-picker-stage {
    height: 36vh;
  }
  .pd-picker-drawer {
    top: 36vh;
    height: 64vh;
  }
  .pd-picker-stage #pdPickerHero {
    max-height: calc(36vh - 80px);
  }
}
