:root {
  --shop-ink: #102450;
  --shop-blue: #275cff;
  --shop-sky: #eaf7ff;
  --shop-line: #dbe5ef;
  --shop-muted: #60708d;
  --shop-paper: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--shop-ink);
  background: #f5f8fc;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

a { color: inherit; }

.shop-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  padding: 22px 24px;
  margin: 0 auto;
}

.shop-brand {
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .04em;
}

.shop-back {
  color: var(--shop-muted);
  text-decoration: none;
  font-size: 14px;
}

.shop-main { max-width: 1160px; padding: 10px 24px 72px; margin: 0 auto; }

.crumb { margin: 0 0 18px; color: var(--shop-muted); font-size: 13px; }

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, .95fr);
  overflow: hidden;
  background: var(--shop-paper);
  border: 1px solid var(--shop-line);
  border-radius: 22px;
  box-shadow: 0 18px 60px rgba(18, 43, 92, .08);
}

.product-main-image {
  min-width: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #f4f5f6;
}

.product-summary { display: flex; flex-direction: column; min-width: 0; padding: 42px 40px 36px; }

.eyebrow { margin: 0 0 12px; color: #3174a6; font-size: 13px; font-weight: 800; letter-spacing: .08em; }

h1 { max-width: 500px; margin: 0; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.18; letter-spacing: -.04em; }

.subtitle { margin: 18px 0 0; color: var(--shop-muted); font-size: 16px; line-height: 1.8; }

.price { margin: 26px 0 20px; color: #f14b44; font-size: 40px; font-weight: 800; line-height: 1; }
.price small { font-size: 18px; margin-right: 2px; }

.sku-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; }
.sku-pills span { padding: 8px 11px; border: 1px solid #bdcff1; border-radius: 999px; background: #f5f8ff; color: #2852a4; font-size: 13px; font-weight: 700; }

.product-gift { min-width: 0; margin: auto 0 0; padding: 13px 15px; border-radius: 10px; background: #edf7ff; color: #286184; font-size: 13px; font-weight: 700; line-height: 1.65; }

.detail-section { max-width: 830px; margin: 64px auto 0; }
.detail-section h2 { margin: 0 0 12px; font-size: 28px; letter-spacing: -.03em; }
.detail-lead { margin: 0; color: var(--shop-muted); line-height: 1.85; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 26px 0 34px; }
.feature-card { min-height: 148px; padding: 20px 17px; border: 1px solid var(--shop-line); border-radius: 16px; background: var(--shop-paper); }
.feature-no { display: block; margin-bottom: 19px; color: #5c8ffe; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.feature-card strong { display: block; font-size: 16px; }
.feature-card span { display: block; margin-top: 8px; color: var(--shop-muted); font-size: 13px; line-height: 1.65; }

.detail-figure { overflow: hidden; margin: 26px 0 0; border: 1px solid var(--shop-line); border-radius: 18px; background: var(--shop-paper); box-shadow: 0 12px 34px rgba(18, 43, 92, .05); }
.detail-figure img { display: block; width: 100%; height: auto; }
.detail-figure figcaption { padding: 12px 15px; color: var(--shop-muted); font-size: 12px; line-height: 1.6; }
.detail-figure-spaced { margin-top: 18px; }

.two-figures { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }

.spec-card { padding: 30px; border: 1px solid var(--shop-line); border-radius: 18px; background: var(--shop-paper); }
.spec-card h2 { margin-bottom: 21px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { padding: 13px 0; text-align: left; border-top: 1px solid var(--shop-line); vertical-align: top; }
.spec-table th { width: 24%; color: var(--shop-muted); font-weight: 500; }
.source-note { margin: 18px 0 0; color: var(--shop-muted); font-size: 12px; line-height: 1.75; }

.shop-footer { padding: 26px 24px 42px; color: var(--shop-muted); text-align: center; font-size: 12px; }

.shop-catalog { max-width: 830px; }
.catalog-kicker { margin: 34px 0 10px; color: #3174a6; font-size: 13px; font-weight: 800; letter-spacing: .1em; }
.shop-catalog > h1 { font-size: clamp(32px, 5vw, 48px); }
.catalog-lead { max-width: 570px; margin: 16px 0 34px; color: var(--shop-muted); font-size: 16px; line-height: 1.8; }
.customer-service { overflow: hidden; border: 1px solid var(--shop-line); border-radius: 16px; background: var(--shop-paper); box-shadow: 0 12px 34px rgba(18, 43, 92, .05); }
.catalog-service { max-width: 640px; margin: 34px 0 0; }
.customer-service-body { display: flex; align-items: center; gap: 22px; padding: 20px 22px; }
.customer-service-body img { display: block; flex: 0 0 132px; width: 132px; height: 132px; border-radius: 11px; background: #fff; }
.customer-service-copy { min-width: 0; }
.customer-service-copy strong,.customer-service-copy span,.customer-service-copy small { display: block; }
.customer-service-copy strong { color: var(--shop-ink); font-size: 18px; line-height: 1.35; }
.customer-service-copy span { margin-top: 8px; color: var(--shop-blue); font-size: 13px; font-weight: 700; line-height: 1.6; }
.customer-service-copy small { margin-top: 9px; color: var(--shop-muted); font-size: 12px; line-height: 1.55; }
.catalog-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.catalog-status { margin: 28px 0 0; padding: 18px 20px; border: 1px solid var(--shop-line); border-radius: 14px; color: var(--shop-muted); line-height: 1.7; background: var(--shop-paper); }
.catalog-status button { margin-left: 10px; padding: 6px 10px; border: 1px solid #bdcff1; border-radius: 7px; color: #2852a4; background: #f5f8ff; cursor: pointer; }
.catalog-card { display: grid; grid-template-columns: minmax(220px, 34%) minmax(0, 1fr); overflow: hidden; border: 1px solid var(--shop-line); border-radius: 18px; background: var(--shop-paper); color: var(--shop-ink); text-decoration: none; box-shadow: 0 12px 34px rgba(18, 43, 92, .06); }
.catalog-card img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; align-self: center; object-fit: contain; background: #f4f5f6; }
.catalog-card-body { display: flex; min-width: 0; padding: 24px 26px 22px; flex-direction: column; justify-content: center; }
.catalog-card-body > span,.catalog-card-body > strong { display: block; }
.catalog-meta { color: #3174a6; font-size: 12px; font-weight: 800; letter-spacing: .07em; }
.catalog-card strong { margin-top: 9px; font-size: 21px; line-height: 1.35; }
.catalog-spec { margin-top: 9px; color: var(--shop-muted); font-size: 14px; }
.catalog-price { margin-top: 17px; color: #f14b44; font-size: 25px; font-weight: 800; }
.catalog-state { margin-top: 12px; color: #795a00; font-size: 12px; }
.catalog-card:hover { border-color: #a8bee7; transform: translateY(-2px); transition: .16s ease; }
.product-skus { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.product-skus[hidden] { display: none; }
.product-sku { padding: 9px 11px; border: 1px solid #bdcff1; border-radius: 9px; color: #2852a4; background: #f5f8ff; font: inherit; font-size: 13px; cursor: pointer; }
.product-sku.selected { border-color: #275cff; color: #1743c7; background: #eaf0ff; }.product-sku.disabled { color: #94a0b5; border-color: #dbe5ef; background: #f6f7f9; cursor: not-allowed; }
.purchase-note { margin: auto 0 0; padding: 13px 15px; border-radius: 10px; background: #edf7ff; color: #286184; font-size: 13px; font-weight: 700; line-height: 1.65; }
.product-description { padding: 30px; border: 1px solid var(--shop-line); border-radius: 18px; background: var(--shop-paper); color: var(--shop-muted); line-height: 1.85; }.product-description h2,.product-description h3,.product-description h4 { color: var(--shop-ink); line-height: 1.35; }.product-description h2 { margin: 0 0 12px; font-size: 28px; }.product-description h3 { margin: 26px 0 8px; font-size: 20px; }.product-description p,.product-description ul,.product-description ol { margin: 12px 0; }.product-description table { width: 100%; margin-top: 20px; border-collapse: collapse; }.product-description th,.product-description td { padding: 11px 0; text-align: left; border-top: 1px solid var(--shop-line); vertical-align: top; }.product-description th { width: 26%; color: var(--shop-muted); font-weight: 500; }

.purchase-rights,.legal-section { padding: 30px; border: 1px solid var(--shop-line); border-radius: 18px; background: var(--shop-paper); color: var(--shop-muted); line-height: 1.85; }
.purchase-rights ul,.legal-section ul { padding-left: 1.3em; }
.purchase-rights a,.legal-section a { color: var(--shop-blue); font-weight: 700; }
.shop-legal-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 28px; color: var(--shop-muted); font-size: 13px; }
.shop-legal-links a,.shop-footer a { text-underline-offset: 3px; }
.shop-footer span { margin: 0 7px; }
.legal-page { max-width: 900px; }
.legal-page > h1 { max-width: none; }
.legal-updated { margin: 12px 0 34px; color: var(--shop-muted); font-size: 13px; }
.legal-section { margin: 18px 0 0; }
.legal-section h2 { margin: 0 0 16px; color: var(--shop-ink); font-size: 25px; }
.legal-section h3 { margin: 24px 0 6px; color: var(--shop-ink); font-size: 17px; }
.legal-section p { margin: 10px 0; }
.seller-facts { margin: 0; }
.seller-facts div { display: grid; grid-template-columns: 180px 1fr; padding: 12px 0; border-top: 1px solid var(--shop-line); }
.seller-facts div:first-child { border-top: 0; }
.seller-facts dt { color: var(--shop-muted); }
.seller-facts dd { margin: 0; color: var(--shop-ink); font-weight: 650; }

@media (max-width: 760px) {
  body { overflow-x: hidden; }
  .shop-top, .shop-main { width: 100%; padding-left: 16px; padding-right: 16px; }
  .product-hero { width: calc(100vw - 32px); max-width: 100%; grid-template-columns: minmax(0, 1fr); min-width: 0; border-radius: 16px; }
  .product-main-image { aspect-ratio: 1 / 1; }
  .product-summary { padding: 28px 23px 24px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .two-figures { grid-template-columns: 1fr; }
  .detail-section { margin-top: 46px; }
  .detail-section h2 { font-size: 24px; }
  .catalog-kicker { margin-top: 14px; }
  .catalog-card { grid-template-columns: minmax(138px, 42%) minmax(0, 1fr); }.catalog-card-body { padding: 16px 15px; }.catalog-card strong { font-size: 16px; }.catalog-spec { font-size: 12px; line-height: 1.5; }.catalog-price { margin-top: 11px; font-size: 22px; }.catalog-state { margin-top: 7px; }
  .customer-service-body { gap: 16px; padding: 16px; }
  .customer-service-body img { flex-basis: 108px; width: 108px; height: 108px; }
  .customer-service-copy strong { font-size: 16px; }
  .customer-service-copy span { margin-top: 6px; font-size: 12px; }
  .customer-service-copy small { margin-top: 6px; font-size: 11px; }
  .purchase-rights,.legal-section { padding: 22px 20px; }
  .seller-facts div { grid-template-columns: 1fr; gap: 4px; }
}

/* 合规信息页 */
.shop-site .legal-page { max-width: none; padding-top: 76px; }
.shop-site .legal-page .chapter-title { max-width: 720px; }
.shop-site .legal-updated { margin: 16px 0 24px; color: var(--slate); font-family: var(--mono); font-size: 11px; }
.shop-site .legal-index { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 42px; }
.shop-site .legal-index a { padding: 7px 11px; border: 1px solid var(--lightest-navy); border-radius: 4px; color: var(--light-slate); font-family: var(--mono); font-size: 11px; }
.shop-site .legal-index a:hover { border-color: var(--green); color: var(--green); }
.shop-site .legal-section { margin-top: 18px; padding: 28px 30px; border-color: var(--lightest-navy); border-radius: 8px; background: var(--light-navy); color: var(--slate); }
.shop-site .legal-section h2 { margin: 0 0 18px; color: var(--lightest-slate); font-size: 22px; }
.shop-site .legal-section h3 { margin: 26px 0 8px; color: var(--light-slate); font-size: 16px; }
.shop-site .legal-section p + p { margin-top: 14px; }
.shop-site .legal-section li + li { margin-top: 8px; }
.shop-site .legal-section a { color: var(--green); }
.shop-site .seller-facts div { border-color: var(--lightest-navy); }
.shop-site .seller-facts dt { color: var(--slate); }
.shop-site .seller-facts dd { color: var(--light-slate); }

@media (max-width: 900px) {
  .shop-site .legal-page { padding-top: 54px; }
}
@media (max-width: 600px) {
  .shop-site .legal-section { padding: 22px 19px; }
}

/* ─── 与团副说主站一体化的商城外观 ─── */
.shop-site { background: var(--navy); color: var(--slate); }
.shop-site .shop-content { padding-top: 88px; }
.shop-site .shop-catalog { max-width: none; }
.shop-site .shop-hero { margin-bottom: 64px; }
.shop-site .shop-kicker { margin: 0 0 14px; color: var(--green); font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; }
.shop-site .shop-intro { max-width: 650px; margin: 24px 0 0; color: var(--slate); font-size: 16px; line-height: 1.9; }
.shop-site .shop-promises { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.shop-site .shop-promises span { padding: 6px 10px; border: 1px solid var(--lightest-navy); border-radius: 999px; color: var(--light-slate); font-family: var(--mono); font-size: 11px; }
.shop-site .shop-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--lightest-navy); }
.shop-site .shop-section-head h2 { color: var(--lightest-slate); font-size: 22px; }
.shop-site .shop-section-head p { margin: 0; color: var(--slate); font-size: 13px; }
.shop-site .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.shop-site .catalog-card { display: flex; border-color: var(--lightest-navy); border-radius: 9px; background: var(--light-navy); color: var(--lightest-slate); box-shadow: none; flex-direction: column; transition: border-color 180ms ease, transform 180ms ease, background 180ms ease; }
.shop-site .catalog-card:hover { border-color: var(--green); background: #132746; transform: translateY(-4px); }
.shop-site a:focus-visible,.shop-site button:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.shop-site .catalog-card img { aspect-ratio: 1 / 1; padding: 10px; border-bottom: 1px solid var(--lightest-navy); background: #f4f7f8; }
.shop-site .catalog-card-body { flex: 1; padding: 20px 18px 18px; justify-content: flex-start; }
.shop-site .catalog-meta { color: var(--green); font-family: var(--mono); font-size: 10px; }
.shop-site .catalog-card strong { color: var(--lightest-slate); font-size: 18px; }
.shop-site .catalog-spec { color: var(--slate); font-size: 13px; line-height: 1.7; }
.shop-site .catalog-price { color: var(--lightest-slate); font-family: var(--mono); font-size: 21px; }
.shop-site .catalog-state { margin-top: auto; padding-top: 18px; color: var(--green); font-family: var(--mono); font-size: 11px; }
.shop-site .catalog-status { border-color: var(--lightest-navy); background: var(--light-navy); color: var(--slate); }
.shop-site .catalog-service { max-width: none; margin-top: 48px; }
.shop-site .customer-service { border-color: var(--lightest-navy); border-radius: 9px; background: var(--light-navy); box-shadow: none; }
.shop-site .customer-service-copy strong { color: var(--lightest-slate); }
.shop-site .customer-service-copy span { color: var(--green); }
.shop-site .customer-service-copy small { color: var(--slate); }
.shop-site .customer-service-body img { border-radius: 5px; }
.shop-site .shop-legal-links { color: var(--slate); font-family: var(--mono); font-size: 11px; }
.shop-site .shop-legal-links a:hover { color: var(--green); }
.shop-site .shop-operator { margin-top: 14px; color: var(--lightest-navy); font-size: 11px; }

@media (max-width: 1100px) {
  .shop-site .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .shop-site .shop-content { padding-top: 54px; }
}
@media (max-width: 600px) {
  .shop-site .shop-hero { margin-bottom: 48px; }
  .shop-site .shop-intro { margin-top: 18px; font-size: 15px; }
  .shop-site .shop-section-head { display: block; }
  .shop-site .shop-section-head p { margin-top: 6px; }
  .shop-site .catalog-grid { grid-template-columns: 1fr; }
  .shop-site .catalog-card { display: grid; grid-template-columns: 42% minmax(0, 1fr); flex-direction: initial; }
  .shop-site .catalog-card img { height: 100%; padding: 6px; border-right: 1px solid var(--lightest-navy); border-bottom: 0; }
  .shop-site .catalog-card-body { padding: 16px 14px; }
}

/* 商品详情页 */
.shop-site .product-page-content { padding-top: 76px; }
.shop-site .product-hero { max-width: 760px; margin: 0 auto; grid-template-columns: 280px minmax(0, 1fr); border-color: var(--lightest-navy); border-radius: 10px; background: var(--light-navy); box-shadow: none; }
.shop-site .product-image-wrap { display: flex; align-items: center; padding: 10px; background: #f4f7f8; }
.shop-site .product-main-image { border-radius: 5px; background: #f4f7f8; }
.shop-site .product-summary { padding: 28px 30px 26px; }
.shop-site .eyebrow { color: var(--green); font-family: var(--mono); font-size: 11px; }
.shop-site .product-title { color: var(--lightest-slate); font-size: clamp(25px, 2.4vw, 32px); line-height: 1.25; letter-spacing: -.025em; }
.shop-site .subtitle { margin-top: 13px; color: var(--slate); font-size: 14px; line-height: 1.7; }
.shop-site .price { margin: 20px 0 16px; color: var(--lightest-slate); font-family: var(--mono); font-size: 29px; }
.shop-site .product-sku { border-color: var(--lightest-navy); border-radius: 4px; color: var(--light-slate); background: transparent; font-family: var(--mono); }
.shop-site .product-sku.selected { border-color: var(--green); color: var(--green); background: var(--green-tint); }
.shop-site .product-sku.disabled { border-color: var(--lightest-navy); color: var(--lightest-navy); background: transparent; }
.shop-site .purchase-note { border: 1px solid rgba(100,255,218,.18); border-radius: 5px; background: var(--green-tint); color: var(--green); font-family: var(--mono); font-size: 11px; font-weight: 500; }
.shop-site .detail-section { max-width: 760px; margin: 42px auto 0; }
.shop-site .product-media { max-width: 520px; }
.shop-site .detail-label { margin: 0 0 8px; color: var(--green); font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .12em; }
.shop-site .detail-section h2 { color: var(--lightest-slate); font-size: 23px; }
.shop-site .product-description,.shop-site .purchase-rights { border-color: var(--lightest-navy); border-radius: 9px; background: var(--light-navy); color: var(--slate); }
.shop-site .product-description,.shop-site .purchase-rights { padding: 24px 26px; }
.shop-site .product-description h2,.shop-site .product-description h3,.shop-site .product-description h4 { color: var(--lightest-slate); }
.shop-site .product-description strong { color: var(--lightest-slate); }
.shop-site .product-description th,.shop-site .product-description td { border-color: var(--lightest-navy); }
.shop-site .purchase-rights a { color: var(--green); font-family: var(--mono); font-size: 12px; }
.shop-site .detail-figure { border-color: var(--lightest-navy); border-radius: 9px; background: var(--light-navy); box-shadow: none; }
.shop-site .detail-figure figcaption { color: var(--slate); }
.shop-site .product-media [data-product-media] { display: grid; grid-template-columns: 1fr; align-items: start; overflow: hidden; margin-top: 18px; border: 1px solid var(--lightest-navy); border-radius: 9px; background: var(--light-navy); }
.shop-site .product-media .detail-figure { margin: 0; border: 0; border-radius: 0; background: transparent; }
.shop-site .feature-card,.shop-site .spec-card { border-color: var(--lightest-navy); border-radius: 8px; background: var(--light-navy); }
.shop-site .feature-card strong,.shop-site .spec-card h2 { color: var(--lightest-slate); }
.shop-site .feature-no { color: var(--green); }
.shop-site .feature-card span,.shop-site .source-note { color: var(--slate); }
.shop-site .spec-table th,.shop-site .spec-table td { border-color: var(--lightest-navy); }

@media (max-width: 900px) {
  .shop-site .product-page-content { padding-top: 54px; }
}
@media (max-width: 760px) {
  .shop-site .product-hero { width: 100%; grid-template-columns: 1fr; }
  .shop-site .product-summary { padding: 28px 22px 24px; }
  .shop-site .product-title { font-size: 30px; }
  .shop-site .price { font-size: 32px; }
  .shop-site .detail-section { max-width: none; margin-top: 42px; }
  .shop-site .product-media [data-product-media] { grid-template-columns: 1fr; }
  .shop-site .product-description,.shop-site .purchase-rights { padding: 22px 20px; }
}
