/* A 版商品頁：保留既有內容與互動，統一視覺層次。 */
body:is([data-stock-product], [data-forged-product]) {
 --surface: #15171a;
 --raised: #202226;
 --line: #373b40;
 --muted: #b5b9c0;
 background: #101113;
 color: #f5f5f3;
 font-family: "DM Sans", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

body:is([data-stock-product], [data-forged-product]) .product-main {
 max-width: 1560px;
}

body:is([data-stock-product], [data-forged-product]) .product-header {
 background: #101113;
 border-bottom: 1px solid #2e3034;
}

body:is([data-stock-product], [data-forged-product]) .product-info {
 background: transparent;
 border-color: transparent;
 padding: clamp(20px, 2.5vw, 32px) 0;
}

body:is([data-stock-product], [data-forged-product]) .product-info h1,
body:is([data-stock-product], [data-forged-product]) .mobile-product-selection h1 {
 font-weight: 800;
 letter-spacing: -.04em;
}

body:is([data-stock-product], [data-forged-product]) .product-price strong {
 color: #f7f7f5;
 font-weight: 700;
}

body:is([data-stock-product], [data-forged-product]) .product-size {
 min-height: 52px;
 border: 1px solid #59606a;
 border-radius: 9px;
 background-color: #1e2024;
 color: #f5f5f5;
}

body:is([data-stock-product], [data-forged-product]) :is(.product-line, .l2-color-open, .l2-color-selected, .product-next > a) {
 min-height: 52px;
 border: 1px solid #62676e;
 border-radius: 28px;
 background: #16181b;
 color: #f6f6f4;
 font-weight: 700;
}

body:is([data-stock-product], [data-forged-product]) :is(.product-line, .l2-color-open, .l2-color-selected, .product-next > a):hover {
 border-color: #e2f77b;
 background: #24272a;
 color: #fff;
}

body:is([data-stock-product], [data-forged-product]) [data-shortlist-save],
body:is([data-stock-product], [data-forged-product]) .mobile-product-selection [data-shortlist-save] {
 min-height: 52px;
 border: 1px solid #f5f5f1;
 border-radius: 28px;
 background: #f5f5f1;
 color: #111315;
 font-size: 15px;
 font-weight: 800;
}

body:is([data-stock-product], [data-forged-product]) [data-shortlist-save]:hover,
body:is([data-stock-product], [data-forged-product]) .mobile-product-selection [data-shortlist-save]:hover {
 background: #dfe9c4;
 border-color: #dfe9c4;
 color: #111315;
}

body:is([data-stock-product], [data-forged-product]) [data-shortlist-save].shortlist-just-saved {
 background: #d9f474;
 border-color: #d9f474;
 color: #111315;
}

body:is([data-stock-product], [data-forged-product]) .l2-process-badge {
 border: 0;
 border-radius: 18px;
 background: #d9f474;
 color: #121612;
 font-weight: 700;
}
body:is([data-stock-product], [data-forged-product]) .l2-process-badge svg { color: #25330d; }

body:is([data-stock-product], [data-forged-product]) .product-jumps {
 gap: 8px;
}

body:is([data-stock-product], [data-forged-product]) .product-jumps a:not([hidden]) {
 padding: 0 15px;
 min-height: 44px;
 border: 1px solid #4d5259;
 border-radius: 24px;
 color: #f0f1ee;
 text-decoration: none;
}

body:is([data-stock-product], [data-forged-product]) .product-jumps a:hover {
 border-color: #d9f474;
 color: #fff;
}


body:is([data-stock-product], [data-forged-product]) .stock-photo {
 border-color: #34383e;
 background: #17191c;
}
body:is([data-stock-product], [data-forged-product]) .stock-photo figcaption {
 background: #17191c;
 color: #bec2c9;
}

body:is([data-stock-product], [data-forged-product]) :is(button, a, select):focus-visible {
 outline: 3px solid #d9f474;
 outline-offset: 3px;
}

@media (max-width: 700px) {
 body:is([data-stock-product], [data-forged-product]) .product-main {
  padding-inline: 18px;
 }
 body:is([data-stock-product], [data-forged-product]) .product-info {
  padding: 18px 0;
 }
 body:is([data-stock-product], [data-forged-product]) .mobile-product-selection {
  border: 1px solid #363b40;
  border-radius: 14px;
  background: #17191c;
 }
 body:is([data-stock-product], [data-forged-product]) .mobile-variant-field {
  border-color: #59606a;
  border-radius: 9px;
  background: #202226;
 }
 body:is([data-stock-product], [data-forged-product]) .product-jumps a:not([hidden]) {
  padding-inline: 12px;
 }
}

