:root {
  --pdp-sticky-top: 12px;
  --pdp-dock-h: 52px;
}
.product-page { max-width: 1440px; margin: 0 auto; padding: 0 16px 48px; }
@media (max-width: 767px) {
  .product-page {
    padding-bottom: calc(48px + var(--pdp-dock-h) + env(safe-area-inset-bottom, 0px));
  }
}
.pdp-main-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1.12fr) minmax(260px, 0.62fr) minmax(220px, 0.42fr);
  gap: 24px 22px;
  align-items: start;
  margin-bottom: 40px;
}
.pdp-main-grid--4col {
  grid-template-columns: minmax(280px, 1.05fr) minmax(250px, 0.55fr) minmax(200px, 0.38fr) minmax(180px, 0.28fr);
}
.pdp-col-gallery { grid-column: 1; }
.pdp-col-info { grid-column: 2; }
.pdp-col-sticky { grid-column: 3; }
.pdp-col-mini-cart { grid-column: 4; }
@media (min-width: 1200px) {
  .pdp-col-gallery--scroll {
    position: sticky;
    top: var(--pdp-sticky-top);
    align-self: start;
    max-height: calc(100vh - var(--pdp-sticky-top) - 8px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 4px;
  }
}
@media (max-width: 1199px) {
  .pdp-main-grid,
  .pdp-main-grid--4col {
    grid-template-columns: minmax(240px, 1fr) minmax(240px, 1fr);
  }
  .pdp-col-gallery,
  .pdp-col-info,
  .pdp-col-sticky,
  .pdp-col-mini-cart { grid-column: auto; }
  .pdp-col-sticky { grid-column: 1 / -1; }
  .pdp-col-mini-cart { display: none !important; }
  .pdp-col-gallery--scroll {
    max-height: none;
    overflow: visible;
    position: relative;
    top: auto;
  }
}
@media (max-width: 767px) {
  .pdp-main-grid,
  .pdp-main-grid--4col {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .pdp-col-gallery,
  .pdp-col-info,
  .pdp-col-sticky,
  .pdp-col-mini-cart { grid-column: 1; }
  .pdp-col-mini-cart { display: none !important; }
  .pdp-buy-card .btn-buy,
  .pdp-buy-card .btn-cart { display: none !important; }
}
.pdp-desktop-only { display: block; }
.pdp-mobile-only { display: none; }
@media (max-width: 767px) {
  .pdp-desktop-only { display: none !important; }
  .pdp-mobile-only { display: block; }
}
.pdp-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.25;
}
@media (max-width: 767px) {
  .pdp-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 10px;
  }
}
.pdp-promo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  background: linear-gradient(90deg, #0d9488 0%, #0f766e 100%);
  color: #fff;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.pdp-promo-banner__ends {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
}
.pdp-price-block { margin-bottom: 14px; }
.pdp-price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
}
.pdp-price-current {
  font-size: 32px;
  font-weight: 700;
  color: #191919;
}
@media (max-width: 767px) {
  .pdp-price-current { font-size: 26px; }
}
.pdp-price-compare {
  font-size: 15px;
  color: #9ca3af;
  text-decoration: line-through;
}
.pdp-price-save {
  display: none !important;
}
.pdp-col-mini-cart {
  position: relative;
  z-index: 1;
}
.pdp-col-mini-cart[hidden] {
  display: none !important;
}
.pdp-mini-cart-inner {
  position: sticky;
  top: var(--pdp-sticky-top);
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 14px 12px;
  font-size: 13px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.pdp-mini-cart-inner a {
  display: block;
  margin-top: 8px;
  color: #1e40af;
  font-weight: 600;
  text-decoration: none;
}
.pdp-mini-cart-inner a:hover { text-decoration: underline; }
.pdp-mobile-dock {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 12000;
  align-items: stretch;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-top: 1px solid #ebebeb;
  box-shadow: 0 -4px 16px rgba(0,0,0,.08);
  gap: 8px;
}
@media (max-width: 767px) {
  .pdp-mobile-dock { display: flex; }
}
.pdp-dock-brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  border-radius: 8px;
  background: #f5f5f5;
  color: #191919;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}
.pdp-dock-add {
  flex: 1;
  min-width: 0;
  border: none;
  border-radius: 24px 0 0 24px;
  padding: 12px 8px;
  font-size: 15px;
  font-weight: 700;
  color: #191919;
  background: linear-gradient(180deg, #ffd54f 0%, #ffb300 100%);
  cursor: pointer;
}
.pdp-dock-buy {
  flex: 1;
  min-width: 0;
  border: none;
  border-radius: 0 24px 24px 0;
  padding: 12px 8px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #ff7043 0%, #ff5722 100%);
  cursor: pointer;
}
.pdp-variant-dialog {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: #fff;
  z-index: 14000;
}
.pdp-variant-dialog::backdrop {
  background: rgba(0,0,0,.45);
}
.pdp-variant-dialog-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 100dvh;
}
.pdp-variant-dialog__head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
}
.pdp-variant-dialog__close {
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  color: #333;
}
.pdp-variant-dialog__title {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}
.pdp-variant-dialog__hint {
  flex-shrink: 0;
  margin: 0;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
  color: #c0392b;
  background: #fef2f2;
  border-bottom: 1px solid #fecaca;
}
.pdp-variant-dialog__hint--info {
  color: #444;
  background: #f5f5f5;
  border-bottom-color: #eaeaea;
}
@keyframes pdp-option-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(228, 50, 37, 0); }
  50% { box-shadow: 0 0 0 3px rgba(228, 50, 37, 0.35); }
}
.pdp-modal-colors.pdp-option-pulse,
.pdp-modal-size-grid.pdp-option-pulse {
  animation: pdp-option-pulse 0.85s ease-in-out 2;
  border-radius: 8px;
}
.pdp-variant-dialog__scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px;
}
.pdp-modal-main-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: #fafafa;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
  cursor: zoom-in;
}
.pdp-modal-main-img-wrap[aria-expanded="true"] {
  cursor: zoom-out;
}
.pdp-modal-main-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.pdp-modal-price-row {
  margin-bottom: 14px;
}
.pdp-modal-colors {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  margin-bottom: 12px;
  scrollbar-width: thin;
}
.pdp-modal-color-btn {
  flex: 0 0 auto;
  width: 52px;
  padding: 3px;
  border: 2px solid #ddd;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
/* Choose options：点击顶图中图放大，大图左右滑切换颜色预览，再点大图缩小并同步选中色 */
.pdp-variant-dialog.pdp-modal-hero--expanded .pdp-modal-main-img-wrap {
  position: fixed;
  z-index: 14500;
  inset: 0;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-width: none !important;
  max-height: none !important;
  flex: none !important;
  margin: 0 !important;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.93);
  cursor: zoom-out;
  touch-action: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pdp-variant-dialog.pdp-modal-hero--expanded .pdp-modal-main-img {
  position: relative;
  inset: auto;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}
.pdp-modal-color-btn.is-selected { border-color: #191919; }
.pdp-modal-color-btn img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.pdp-modal-color-btn--text {
  width: auto;
  min-width: 56px;
  padding: 8px 10px;
  font-size: 12px;
}
.pdp-modal-size-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.pdp-modal-size-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
/* 电脑端 Choose options：hero 撑满剩余高度，options dock 贴 footer 上方 */
@media (min-width: 768px) {
  .pdp-modal-body,
  .pdp-variant-dialog__scroll {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    padding: 8px 16px 0;
  }
  .pdp-modal-hero-zone {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 8px;
  }
  .pdp-modal-main-img-wrap {
    flex: 1 1 auto;
    width: 100%;
    max-width: min(100%, 640px);
    height: 100%;
    max-height: 100%;
    aspect-ratio: auto;
    min-height: 280px;
    margin: 0 auto;
  }
  .pdp-modal-options-dock {
    flex-shrink: 0;
    padding: 6px 0 8px;
    border-top: 1px solid #f0f0f0;
  }
  .pdp-modal-options-dock .pdp-modal-price-row {
    margin: 0 0 6px;
    gap: 6px 10px;
  }
  .pdp-modal-options-dock .pdp-price-current {
    font-size: 20px;
  }
  .pdp-modal-options-dock .pdp-price-compare {
    font-size: 13px;
  }
  .pdp-modal-options-dock .pdp-price-save {
    font-size: 12px;
  }
  .pdp-modal-options-dock .pdp-modal-colors {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 6px;
    margin: 0 0 8px;
    padding: 0 0 4px;
    max-height: 44px;
  }
  .pdp-modal-options-dock .pdp-modal-color-btn {
    width: 40px;
    padding: 2px;
    border-width: 1.5px;
  }
  .pdp-modal-options-dock .pdp-modal-color-btn img {
    border-radius: 3px;
  }
  .pdp-modal-options-dock .pdp-modal-color-btn--text {
    min-width: 44px;
    padding: 4px 6px;
    font-size: 11px;
  }
  .pdp-modal-options-dock .pdp-modal-size-label {
    font-size: 13px;
    margin: 0 0 4px;
  }
  .pdp-modal-options-dock .pdp-modal-size-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: minmax(34px, auto);
    grid-template-rows: repeat(2, minmax(34px, auto));
    max-height: calc(2 * 34px + 6px);
    gap: 6px;
    margin: 0;
    overflow: hidden;
  }
  .pdp-modal-options-dock .pdp-modal-size-btn {
    min-height: 34px;
    padding: 2px 4px;
    font-size: 12px;
    border-width: 1.5px;
    border-radius: 6px;
  }
  .pdp-modal-options-dock .pdp-modal-footlen {
    margin: 6px 0 0;
    padding: 6px 10px;
    font-size: 12px;
    line-height: 1.35;
    max-height: 2.7em;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
.pdp-modal-size-btn {
  min-height: 44px;
  border: 2px solid #ddd;
  border-radius: 8px;
  background: #f5f5f5;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 6px 4px;
}
.pdp-modal-size-btn.is-selected { border-color: #191919; background: #fff; }
.pdp-modal-size-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.pdp-modal-footlen {
  background: #f0f0f0;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 12px;
}
.pdp-variant-dialog__footer {
  flex-shrink: 0;
  display: flex;
  gap: 0;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #eee;
  background: #fff;
}
.pdp-variant-dialog__footer .pdp-dock-add { border-radius: 24px 0 0 24px; }
.pdp-variant-dialog__footer .pdp-dock-buy { border-radius: 0 24px 24px 0; }
.pdp-variant-dialog__footer--single .pdp-dock-buy {
  border-radius: 24px;
  flex: 1;
}
.pdp-mobile-dock--no-cart .pdp-dock-buy {
  border-radius: 24px;
  flex: 1;
}
.pdp-mobile-dock--no-cart .pdp-dock-brand { display: none; }
@media (min-width: 1200px) {
  /* 勿对信息列设 overflow-y:auto + max-height：会形成嵌套滚动，滚轮在中间列（颜色/尺码）上无法滚动整页 */
  .pdp-col-info {
    position: sticky;
    top: var(--pdp-sticky-top);
    align-self: start;
  }
}
.pdp-col-gallery {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
}
.pdp-thumb-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: min(520px, 70vh);
  overflow-y: auto;
  flex-shrink: 0;
  width: 64px;
  padding-right: 2px;
}
.pdp-thumb {
  display: block;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 2px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  flex-shrink: 0;
}
.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pdp-thumb.is-active { border-color: #222; }
.pdp-thumb:focus-visible { outline: 2px solid #f5a623; outline-offset: 2px; }
.pdp-main-image-wrap { flex: 1; min-width: 0; max-width: 100%; }
/* 与 AliExpress 一致：外层固定 1:1 正方形容器，内图 contain 居中（竖图上下留白、横图左右留白） */
.pdp-main-image-wrap .main-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #eee;
  cursor: zoom-in;
}
.pdp-main-image-wrap .main-image:focus-visible {
  outline: 2px solid #f5a623;
  outline-offset: 2px;
}
.pdp-main-image-wrap .main-image img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
@media (max-width: 767px) {
  .pdp-col-gallery { flex-direction: column; align-items: center; }
  .pdp-thumb-col {
    flex-direction: row;
    flex-wrap: wrap;
    max-height: none;
    width: 100%;
    justify-content: center;
  }
  .pdp-main-image-wrap {
    width: 100%;
    max-width: min(100%, 520px);
  }
  /* 移动端保持正方形，不再用「自然高度」拉长竖图 */
}
.pdp-mobile-gallery {
  position: relative;
  width: 100%;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  cursor: zoom-in;
}
/* 页内主图全屏 Lightbox：中图点击放大，滑动 hero，收起时同步颜色 */
.pdp-page-hero-lightbox {
  position: fixed;
  inset: 0;
  z-index: 14000;
  background: rgba(0, 0, 0, 0.93);
  display: none;
  touch-action: none;
}
.pdp-page-hero-lightbox.is-open {
  display: block;
}
.pdp-page-hero-lightbox__inner {
  position: absolute;
  inset: 0;
  cursor: zoom-out;
}
.pdp-page-hero-lightbox__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.pdp-page-hero-lightbox__badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.52);
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}
body.pdp-page-hero--expanded {
  overflow: hidden;
}
.pdp-gallery-badge {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.52);
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}
.pdp-mobile-gallery-track {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.pdp-mobile-gallery-track::-webkit-scrollbar {
  display: none;
}
/* 与桌面 .main-image 一致：固定 1:1 视口，内图 absolute + contain，避免 img 固有高度把区域撑长 */
.pdp-mobile-gallery-slide {
  flex: 0 0 100%;
  min-width: 0;
  width: 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  box-sizing: border-box;
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fff;
}
.pdp-mobile-gallery-img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
@media (max-width: 767px) {
  .pdp-mobile-footlen {
    background: #f0f0f0;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    margin-top: 8px;
    color: #444;
  }
  #buyForm .color-form-group {
    margin-top: 4px;
  }
}
.pdp-col-info { min-width: 0; position: relative; z-index: 2; }
.pdp-col-sticky { position: relative; z-index: 1; }
.pdp-buy-card {
  position: sticky;
  top: var(--pdp-sticky-top);
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 18px 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.pdp-buy-card .form-group { margin-bottom: 16px; }
.pdp-buy-card .btn-buy {
  width: 100%;
  margin-bottom: 10px;
  border-radius: 24px;
  padding: 14px 20px;
  background: var(--ae-accent, #e43225) !important;
  border: none;
}
.pdp-buy-card .btn-cart { width: 100%; border-radius: 24px; padding: 12px 20px; }
/* AliExpress 式：横向一排，不换行；窄屏横向滑动 */
.color-options {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: stretch;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 2px 2px 6px;
  scrollbar-width: thin;
}
.color-option {
  position: relative;
  cursor: pointer;
  border: 2px solid #ddd;
  padding: 8px 6px 6px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  text-align: center;
  box-sizing: border-box;
  font-size: 13px;
  flex: 0 0 auto;
  width: 72px;
  min-height: 0;
}
.color-option__swatch {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .color-option {
    font-size: 13px;
    width: 76px;
    padding: 8px 6px 6px;
  }
  .color-option__swatch {
    width: 52px;
    height: 52px;
  }
}
.color-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  pointer-events: none;
}
.color-option--oos,
.size-option-label--oos {
  opacity: 0.48;
  cursor: not-allowed;
  pointer-events: none;
}
.size-option-label--need-color {
  opacity: 0.48;
  cursor: not-allowed;
  pointer-events: none;
}
.color-option .color-option-text {
  line-height: 1.15;
  width: 100%;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* 颜色较多时（>12）：缩小 swatch、允许两行，减少超长横滑 */
.pdp-many-colors .color-option {
  width: 64px;
  padding: 6px 4px 4px;
}
.pdp-many-colors .color-option__swatch {
  width: 44px;
  height: 44px;
}
.pdp-many-colors .color-options {
  flex-wrap: wrap;
  max-height: calc(2 * (44px + 8px + 22px) + 14px);
  overflow-y: auto;
  overflow-x: hidden;
}
/* 颜色/尺码区块：标题与当前选中值同一行，在预览条上方 */
.pdp-variant-field-label-line {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.35;
  width: 100%;
  box-sizing: border-box;
}
.pdp-variant-expand-btn {
  margin-left: auto;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
  color: #999;
}
.pdp-variant-expand-btn:active {
  opacity: 0.65;
}
.pdp-variant-expand-btn .pdp-variant-expand-chev {
  font-size: 20px;
  line-height: 1;
  color: #999;
}
.pdp-variant-field-name {
  font-weight: 600;
  color: #191919;
}
.pdp-variant-field-selection {
  font-weight: 600;
  color: #1e40af;
  min-width: 0;
  word-break: break-word;
}
@media (max-width: 767px) {
  .pdp-variant-field-label-line {
    font-size: 14px;
  }
}
/* 尺码可自动换行，多的时候约两行（与 AliExpress 多尺码类似）；单个尺码仍单行 */
.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
  padding: 2px 2px 6px;
}
.size-option-label {
  position: relative;
  cursor: pointer;
  border: 2px solid #ddd;
  padding: 10px 16px;
  border-radius: 6px;
  text-align: center;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  font-size: 14px;
  flex: 0 0 auto;
  white-space: nowrap;
}
.size-option-label span {
  white-space: nowrap;
  line-height: 1.2;
}
/* 与 AliExpress 一致：仅显示尺码数字，radio 仍参与表单与无障碍 */
.size-option-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  pointer-events: none;
}
.product-details-section {
  border-top: 1px solid #eee;
  padding-top: 32px;
  margin-top: 8px;
}
.product-details-section h2 {
  font-size: 20px;
  margin-bottom: 16px;
  font-weight: 600;
}
/* AliExpress 描述区：#product-description，max-width 944px，多图在同一 <p> 内纵向满宽排列 */
#product-description.product-description {
  position: relative;
  max-width: 944px;
  margin: 0 auto;
  overflow: hidden;
  color: #222;
  font-size: 14px;
  font-variant: tabular-nums;
  -webkit-tap-highlight-color: transparent;
}
#product-description.product-description > p {
  margin: 0;
  padding: 0;
  line-height: 0;
}
#product-description.product-description > p > img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 0;
  cursor: pointer;
}
