/* 第四版：参考服装供应链商城的紧凑信息布局 */
:root {
  --red: #df1826;
  --red-dark: #bc0d19;
  --ink: #25272a;
  --muted: #777b82;
  --paper: #f4f5f7;
  --cream: #f7f7f8;
  --line: #e5e7eb;
  --white: #fff;
  --shadow: 0 8px 24px rgba(26, 31, 39, .09);
  --radius: 6px;
}

html, body, button, input, select, textarea {
  font-family: "Noto Sans SC Variable", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
body { background: var(--paper); }
button, a, input, select { touch-action: manipulation; -webkit-tap-highlight-color: rgba(223, 24, 38, .16); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(223, 24, 38, .34); outline-offset: 2px; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 9px 13px; color: #fff; background: #1f2227; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
strong, .price, .detail-price, .sales, .hero-stats, .side-stat-card {
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.hero h1, .section-heading h2, .catalog-toolbar h2, .detail-copy h2,
.detail-section h3, .detail-block-title h2, .category-dialog-head h2,
.category-group h3, .advantages h3, .drawer-head h2,
.price strong, .detail-price strong, .hero-stats strong {
  font-family: "Noto Sans SC Variable", "Noto Sans SC", sans-serif;
  letter-spacing: 0;
}

.topbar { padding: 6px 16px; background: #33363b; font-size: 11px; letter-spacing: .04em; }
.site-header {
  width: min(1200px, calc(100% - 28px));
  min-height: 82px;
  grid-template-columns: 220px minmax(360px, 660px) 120px;
  gap: 28px;
}
.brand-generated { width: 215px; height: 66px; }
.brand img.brand-full { width: 215px; max-height: 66px; }
.search { height: 44px; border: 2px solid var(--red); border-radius: 24px; box-shadow: none; }
.search:focus-within { border-color: var(--red-dark); box-shadow: 0 0 0 3px rgba(223,24,38,.08); }
.search button { min-width: 78px; padding: 0 20px; background: var(--red); }
.search .image-search-button { min-width: auto; padding: 0 12px; color: var(--red); border-left: 1px solid #eceef1; background: #fff; font-size: 11px; white-space: nowrap; }
.quote-button { height: 42px; border-color: #dadde2; border-radius: 6px; background: #fff; font-size: 13px; }
.quote-button span { background: var(--red); }

.main-nav { border-block: 1px solid #e3e5e8; background: #fff; }
.nav-inner { width: min(1200px, calc(100% - 28px)); height: 43px; gap: 0; }
.nav-inner a { min-width: 112px; height: 43px; padding: 0 22px; display: grid; place-items: center; font-size: 13px; }
.nav-inner a.active { color: #fff; background: var(--red); }
.nav-inner a.active::after { display: none; }

main { overflow: hidden; }
.home-stage {
  width: min(1200px, calc(100% - 28px));
  min-height: 350px;
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr) 238px;
  gap: 12px;
}
.home-category-panel, .supply-banner, .side-stat-card { border-radius: 7px; background: #fff; overflow: hidden; }
.category-panel-title { width: 100%; height: 48px; padding: 0 17px; display: flex; align-items: center; gap: 10px; border: 0; color: #fff; background: var(--red); font-size: 14px; font-weight: 800; text-align: left; }
.category-panel-title span { font-size: 19px; }
.hero-category-menu { padding: 7px 0; }
.hero-category-menu button { width: 100%; height: 26px; padding: 0 17px; display: flex; align-items: center; justify-content: space-between; border: 0; color: #44484f; background: transparent; font-size: 12px; text-align: left; }
.hero-category-menu button:hover { color: var(--red); background: #fff0f1; }
.hero-category-menu small { color: #a3a6ac; font-size: 9px; }
.loading-line { padding: 15px; display: block; color: var(--muted); font-size: 12px; }
.supply-banner {
  position: relative;
  min-height: 350px;
  padding: 50px 46px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(255,255,255,.2) 0 54px, transparent 55px),
    linear-gradient(125deg, #ca101e 0%, #e72b37 52%, #f05a58 100%);
}
.supply-banner::after {
  content: "";
  position: absolute;
  right: 42px;
  bottom: 31px;
  width: 170px;
  height: 205px;
  border: 4px solid rgba(255,255,255,.22);
  border-radius: 60px 60px 10px 10px;
  clip-path: polygon(24% 0, 50% 20%, 76% 0, 100% 16%, 88% 100%, 12% 100%, 0 16%);
}
.banner-kicker { margin: 0 0 13px; font-size: 10px; font-weight: 800; letter-spacing: .18em; opacity: .8; }
.supply-banner h1 { position: relative; z-index: 1; margin: 0; font-size: clamp(30px,3vw,43px); line-height: 1.28; }
.supply-banner h1 em { display: inline-block; margin-top: 4px; padding: 4px 9px; color: var(--red-dark); background: #fff; font-style: normal; }
.supply-banner > p:not(.banner-kicker) { position: relative; z-index: 1; margin: 18px 0 22px; font-size: 13px; }
.banner-actions { position: relative; z-index: 1; display: flex; align-items: center; gap: 18px; }
.banner-actions .primary-button { min-height: 40px; padding: 0 20px; color: var(--red); background: #fff; border-radius: 5px; box-shadow: none; }
.banner-actions .text-button { color: #fff; font-size: 12px; }
.banner-features { position: absolute; z-index: 1; right: 24px; bottom: 17px; left: 30px; display: flex; gap: 25px; font-size: 10px; opacity: .82; }
.home-side-panel { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; }
.side-stat-card { position: relative; padding: 28px; border: 1px solid var(--line); }
.side-stat-card span, .side-stat-card small { display: block; }
.side-stat-card span { color: var(--muted); font-size: 12px; }
.side-stat-card strong { display: block; margin: 11px 0 4px; color: var(--red); font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.side-stat-card small { color: #999ca1; font-size: 10px; }
.side-stat-card.red-card { color: #fff; border: 0; background: #2f3237; }
.side-stat-card.red-card span, .side-stat-card.red-card small { color: rgba(255,255,255,.7); }
.side-stat-card.red-card strong { color: #fff; }

.category-section, .catalog { width: min(1200px, calc(100% - 28px)); }
.category-section { margin-top: 18px; padding: 14px 16px; border-radius: 7px; background: #fff; }
.section-heading { margin-bottom: 12px; align-items: center; }
.section-heading .eyebrow { display: none; }
.section-heading h2, .catalog-toolbar h2 { font-size: 21px; font-weight: 800; }
.all-category-button { color: var(--red); }
.category-chips { padding: 0; flex-wrap: wrap; gap: 7px; }
.chip { padding: 7px 13px; border-radius: 4px; background: #f4f5f7; font-size: 11px; }
.chip:hover, .chip.active { border-color: var(--red); background: var(--red); }

.catalog { margin-top: 18px; padding: 16px; border-radius: 7px; background: #fff; }
.source-filter { margin: -2px 0 13px; padding-bottom: 12px; display: flex; gap: 7px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.source-filter button { min-height: 34px; padding: 0 13px; flex: 0 0 auto; border: 1px solid #dde0e5; border-radius: 4px; color: #555960; background: #fff; font-size: 11px; font-weight: 700; }
.source-filter button:hover, .source-filter button.active { color: #fff; border-color: var(--red); background: var(--red); }
.source-filter small { margin-left: 4px; opacity: .76; font-size: 9px; }
.region-heading { margin-bottom: 10px; display: flex; align-items: baseline; gap: 10px; }
.region-heading strong { color: var(--red); font-size: 18px; }
.region-heading span { color: #777b82; font-size: 11px; }
.region-categories { margin: -3px 0 14px; padding: 12px; border: 1px solid #e4e6e9; border-radius: 5px; background: #fafbfc; }
.region-category-head { margin-bottom: 9px; display: flex; align-items: baseline; gap: 10px; }
.region-category-head strong { font-size: 13px; }
.region-category-head span { color: #777b82; font-size: 10px; }
.region-category-list { display: flex; flex-wrap: wrap; gap: 6px; }
.region-category-list button { padding: 6px 10px; border: 1px solid #dde0e5; border-radius: 3px; color: #555960; background: #fff; font-size: 10px; }
.region-category-list button:hover, .region-category-list button.active { color: #fff; border-color: var(--red); background: var(--red); }
.region-category-list small { margin-left: 3px; opacity: .75; }
.catalog-filters { margin-bottom: 12px; border: 1px solid #e1e3e7; border-radius: 5px; background: #fff; }
.filter-row { min-height: 43px; padding: 8px 12px; display: grid; grid-template-columns: 58px 1fr; align-items: start; border-bottom: 1px dashed #e2e4e7; }
.filter-row:last-child { border-bottom: 0; }
.filter-row > strong { padding-top: 6px; color: #8a8d93; font-size: 11px; }
.filter-row > div { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.filter-row button { padding: 6px 9px; border: 0; border-radius: 3px; color: #33373d; background: transparent; font-size: 11px; }
.filter-row button:hover, .filter-row button.active { color: #fff; background: var(--red); }
.filter-row small { margin-left: 2px; opacity: .72; font-size: 9px; }
.image-search-status { margin-bottom: 16px; padding: 14px; border-radius: 5px; color: #555960; background: #f5f6f8; }
.image-search-results { grid-template-columns: repeat(4,minmax(0,1fr)); }
.catalog-toolbar { margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.catalog-toolbar p { margin-top: 4px; }
.catalog-toolbar select { padding: 7px 28px 7px 10px; border-radius: 4px; font-size: 11px; }
.active-filters { margin: -2px 0 12px; padding: 9px 11px; border-radius: 4px; background: #fff1f2; }
.product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 17px 12px; }
.product-card { padding: 0; border: 1px solid #ebecef; border-radius: 5px; background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; }
.product-card:hover { border-color: #f1a4aa; box-shadow: 0 7px 20px rgba(25,27,32,.1); transform: translateY(-2px); }
.product-media { aspect-ratio: .82; border-radius: 0; background: #f7f7f8; }
.product-image-button { width: 100%; height: 100%; padding: 0; display: block; border: 0; background: transparent; }
.product-media img { object-fit: contain; }
.product-media .badge { top: 8px; left: 8px; padding: 4px 6px; border-radius: 3px; color: var(--red); font-size: 9px; }
.source-badge { position: absolute; top: 8px; right: 8px; max-width: calc(100% - 70px); padding: 4px 6px; overflow: hidden; border-radius: 3px; color: #fff; background: rgba(42,46,52,.84); font-size: 8px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.product-evidence { display:flex; flex-wrap:wrap; gap:6px; margin:6px 0 0; }
.product-evidence span { display:inline-flex; align-items:center; padding:3px 6px; border-radius:3px; background:#f2f3f5; color:#60656d; font-size:10px; line-height:1.4; }
.product-evidence .stock-in-stock { color:#286746; background:#edf7f0; }
.product-evidence .stock-out-of-stock { color:#777; background:#f0f0f0; }
.product-evidence .print-evidence { color:#8c531c; background:#fff4e7; }
.add-quote { right: 8px; bottom: 8px; width: 30px; height: 30px; font-size: 17px; }
.product-info { padding: 9px 10px 11px; }
.product-category { font-size: 9px; }
.product-info h3 { height: 39px; margin: 6px 0 3px; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.product-info h3 button { width: 100%; padding: 0; border: 0; color: inherit; background: transparent; font: inherit; font-weight: inherit; line-height: inherit; text-align: left; }
.product-info h3 button:hover { color: var(--red); }
.product-subtitle { height: 30px; margin: 0 0 7px; display: -webkit-box; overflow: hidden; color: #858991; font-size: 9px; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow-wrap: anywhere; }
.product-materials { margin: -2px 0 7px; overflow: hidden; color: #7c8189; font-size: 8px; line-height: 1.5; white-space: nowrap; text-overflow: ellipsis; }
.detail-button { min-height: 26px; padding: 0 7px; border: 1px solid #f0b3b8; border-radius: 3px; color: var(--red); background: #fff; font-size: 9px; font-weight: 700; white-space: nowrap; }
.detail-button:hover { color: #fff; border-color: var(--red); background: var(--red); }
.price strong { font-size: 19px; font-weight: 800; }
.price small, .sales { font-size: 9px; }
.pagination { margin: 28px 0 18px; }
.pagination button { min-width: 34px; height: 34px; border-radius: 4px; font-size: 11px; }

.advantages { width: min(1200px, calc(100% - 28px)); margin: 20px auto 0; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.advantages article { min-height: 120px; padding: 24px; }
.advantages h3 { margin: 10px 0 4px; font-size: 16px; }
.advantages p { font-size: 10px; }
footer { margin-top: 20px; padding: 38px 24px 26px; }

/* 详情页：供应链商城式的紧凑单页结构 */
.product-dialog { width: min(1280px, calc(100% - 16px)); max-height: calc(100vh - 12px); border-radius: 8px; background: #f4f5f7; overscroll-behavior: contain; }
.product-dialog::backdrop { background: rgba(23,25,29,.55); }
.close-dialog { top: 11px; width: 36px; height: 36px; margin: 10px 12px -46px 0; border: 1px solid #dadde2; font-size: 24px; }
.detail-scroll-note { position: static; min-height: 42px; padding: 12px 56px; color: #74777d; background: #fff; font-size: 11px; }
.detail-layout { width: 100%; min-height: 600px; grid-template-columns: 600px minmax(0,1fr); gap: 0; border-top: 1px solid var(--line); background: #fff; }
.detail-layout > section { min-width: 0; }
.detail-gallery { padding: 22px; display: grid; grid-template-columns: 76px minmax(0,1fr); grid-template-rows: auto auto; gap: 0 12px; background: #f7f7f8; }
.detail-main-image { grid-column: 2; grid-row: 1; aspect-ratio: 1; border: 1px solid #e2e4e8; border-radius: 4px; }
.thumbnails { grid-column: 1; grid-row: 1 / span 2; max-height: 540px; margin: 0; padding-right: 5px; display: grid; grid-template-columns: 1fr; align-content: start; gap: 7px; overflow-y: auto; }
.thumbnails button { min-height: 67px; border-radius: 3px; }
.detail-gallery > .detail-number { grid-column: 2; margin: 8px 0 0; text-align: center; }
.detail-copy { padding: 26px 30px; }
.detail-copy { color: #16181c; font-size: 14px; font-weight: 550; line-height: 1.72; }
.detail-copy .status { padding: 5px 8px; border-radius: 3px; font-size: 11px; font-weight: 800; }
.detail-copy h2 { margin: 10px 0 6px; font-size: 23px; font-weight: 700; line-height: 1.55; }
.detail-number { color: #3f444b; font-size: 13px; font-weight: 600; line-height: 1.65; }
.detail-price { margin: 18px 0 14px; padding: 13px 16px; border-radius: 4px; background: #fff1f1; }
.detail-price span { color: #454a52; font-size: 12px; font-weight: 700; }
.detail-price strong { margin-top: 2px; font-size: 30px; font-weight: 800; }
.price-evidence-note{margin:-8px 0 12px;color:#656a72;font-size:11px;line-height:1.6}
.detail-actions { margin-bottom: 17px; }
.detail-actions .primary-button { min-height: 40px; padding: 0 24px; border-radius: 4px; box-shadow: none; }
.detail-down-hint { color: #4f545c; font-size: 12px; font-weight: 650; }
.detail-utility-actions { display:flex; flex-wrap:wrap; gap:7px; margin:-7px 0 14px; }
.detail-utility-actions .ghost-button { min-height:34px; padding:0 12px; border:1px solid #dfe3e8; border-radius:4px; background:#fff; }
.detail-section { margin-top: 17px; }
.color-view-grid,.detail-video-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.color-view-grid>section { min-width:0; }
.color-view-grid>section>h3 { margin:0 0 8px; font-size:13px; }
.detail-video-grid video { display:block; width:100%; max-height:480px; background:#111; border-radius:5px; }
.detail-section h3 { margin-bottom: 8px; font-size: 16px; }
.attribute-list { gap: 5px; margin: 8px 0 15px; }
.attribute-list li { padding: 7px 9px; border: 1px solid #dfe3e8; border-radius: 3px; color: #20242a; background: #fff; font-size: 13px; font-weight: 600; line-height: 1.7; }
.size-options { gap: 5px; margin: 8px 0 0; }
.size-option { min-width: 50px; padding: 6px 8px; border-radius: 3px; }
.size-option strong { font-size: 10px; }
.size-option small { font-size: 8px; }

/* 下单选款：先选颜色，再选尺码，价格与库存跟随 SKU 变化 */
.variant-picker { margin-top: 20px; padding: 16px; border: 1px solid #e1e4e8; border-radius: 5px; background: #fafbfc; }
.variant-picker-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 13px; border-bottom: 1px solid #e7e9ec; }
.variant-picker-head h3 { margin: 0; color: #202226; font-size: 16px; font-weight: 800; }
.variant-picker-head p { margin: 4px 0 0; color: #555b64; font-size: 12px; font-weight: 600; }
.size-guide-link { min-height: 28px; padding: 0 10px; border: 1px solid #d4d8de; border-radius: 3px; color: #41454c; background: #fff; font-size: 10px; font-weight: 700; white-space: nowrap; }
.size-guide-link:hover { border-color: var(--red); color: var(--red); }
.variant-group { margin-top: 14px; }
.variant-label { display: flex; align-items: baseline; gap: 9px; margin-bottom: 8px; }
.variant-label strong { color: #26292e; font-size: 12px; }
.variant-label span { color: #555b64; font-size: 12px; font-weight: 650; }
.variant-color-options, .variant-size-options { display: flex; flex-wrap: wrap; gap: 7px; }
.variant-color-option { min-height: 36px; padding: 4px 9px 4px 4px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid #d9dde2; border-radius: 3px; color: #35383d; background: #fff; font-size: 10px; font-weight: 700; }
.variant-color-option:hover, .variant-size-option:hover { border-color: #e62d40; }
.variant-color-option.selected, .variant-size-option.selected { border-color: var(--red); color: #c31529; background: #fff5f6; box-shadow: inset 0 0 0 1px var(--red); }
.variant-color-option.disabled, .variant-size-option.disabled { border-color: #e6e8eb; color: #adb1b7; background: #f5f6f7; text-decoration: line-through; cursor: not-allowed; }
.variant-color-option img, .variant-swatch { width: 26px; height: 26px; flex: 0 0 26px; border: 1px solid rgba(0,0,0,.08); border-radius: 2px; background: var(--variant-color, #d8dbe0); object-fit: cover; }
.variant-swatch-default { background: linear-gradient(135deg, #f1f2f4 0 48%, #cfd4dc 49% 52%, #f1f2f4 53%); }
.variant-size-option { min-width: 77px; padding: 7px 9px; display: grid; gap: 2px; border: 1px solid #d9dde2; border-radius: 3px; color: #30343a; background: #fff; text-align: left; }
.variant-size-option strong { font-size: 12px; font-weight: 800; line-height: 1.15; }
.variant-size-option small { color: #535963; font-size: 10px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.variant-size-option.selected small { color: #c31529; }
.variant-order-summary { margin-top: 16px; padding: 13px; display: grid; grid-template-columns: minmax(115px,1fr) auto auto 126px; align-items: center; gap: 12px; border: 1px solid #dfe2e6; border-radius: 4px; background: #fff; }
.variant-order-summary.ready { border-color: #f1bcc2; background: #fffafb; }
.variant-order-summary > div:first-child { min-width: 0; display: grid; gap: 3px; }
.variant-order-summary span { color: #555b64; font-size: 11px; font-weight: 700; }
.variant-order-summary > div:first-child strong { overflow: hidden; color: #20242a; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.variant-order-summary small { color: #555b64; font-size: 10px; font-weight: 600; white-space: nowrap; }
.variant-price { min-width: 75px; display: grid; gap: 2px; }
.variant-price strong { color: var(--red); font: 800 18px/1 Arial, sans-serif; white-space: nowrap; }
.quantity-stepper { height: 34px; display: grid; grid-template-columns: 29px 33px 29px; align-items: center; border: 1px solid #d8dce1; border-radius: 3px; background: #fff; text-align: center; }
.quantity-stepper button { height: 32px; border: 0; color: #30343a; background: transparent; font-size: 17px; }
.quantity-stepper button:disabled { color: #c7cbd1; cursor: not-allowed; }
.quantity-stepper strong { font-size: 12px; }
.variant-add-button { min-height: 34px; padding: 0 11px; border: 1px solid var(--red); border-radius: 3px; color: #fff; background: var(--red); font-size: 11px; font-weight: 800; white-space: nowrap; }
.variant-add-button:disabled { border-color: #cfd3d8; color: #a8adb5; background: #e9ebed; cursor: not-allowed; }
.variant-note { margin: 9px 0 0; color: #555b64; font-size: 11px; font-weight: 600; line-height: 1.65; }
.sku-details { border: 1px solid #e1e4e8; border-radius: 3px; background: #fff; }
.sku-details summary { padding: 11px 12px; color: #40444b; cursor: pointer; font-size: 11px; font-weight: 700; }
.sku-details[open] summary { border-bottom: 1px solid #e1e4e8; color: var(--red); }
.bulk-example { margin: 10px 0; font-size: 13px; color: #41464e; line-height: 1.7; }
.bulk-table-scroll { max-width: 100%; max-height: 520px; overflow: auto; border: 1px solid #dce0e5; border-radius: 5px; }
.bulk-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; }
.bulk-table th, .bulk-table td { padding: 10px 8px; border-right: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb; text-align: center; background: #fff; }
.bulk-table thead th { position: sticky; top: 0; z-index: 2; background: #f1f3f5; font-weight: 800; }
.bulk-table tr > th:first-child { position: sticky; left: 0; min-width: 82px; max-width: 105px; z-index: 1; background: #f6f7f9; }
.bulk-table thead tr > th:first-child { z-index: 3; }
.bulk-table tbody th button { border: 0; padding: 0; color: #20242a; background: transparent; font: inherit; cursor: pointer; overflow-wrap: anywhere; }
.bulk-table tbody th img { display: block; width: 38px; height: 38px; object-fit: contain; margin: 0 auto 5px; }
.bulk-unit-price { display: block; white-space: nowrap; color: #bb1524; font-weight: 800; }
.bulk-stepper { display: flex; width: 114px; margin: 7px auto; border: 1px solid #cbd0d8; border-radius: 3px; overflow: hidden; }
.bulk-stepper button { width: 31px; min-height: 36px; flex-shrink: 0; border: 0; background: #f2f4f7; font-size: 20px; }
.bulk-stepper input { width: 50px; min-width: 0; padding: 0; border: 0; text-align: center; font: inherit; font-weight: 800; appearance: textfield; }
.bulk-stepper input::-webkit-inner-spin-button, .bulk-stepper input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.bulk-table small { display: block; color: #4c535d; white-space: nowrap; font-size: 11px; }
.bulk-table .bulk-unavailable { background: #f5f5f5; }
.bulk-unavailable .bulk-unit-price, .bulk-stepper button:disabled { color: #9398a0; }
.bulk-table .bulk-chosen { background: #fff3f4; }
.bulk-summary { padding: 14px 0 10px; }
.bulk-total { display: flex; flex-wrap: wrap; gap: 8px 15px; justify-content: space-between; color: #292d33; font-size: 14px; }
.bulk-total b { color: #c61629; font-size: 22px; }
.bulk-selected { display: flex; flex-wrap: wrap; gap: 5px; max-height: 130px; overflow: auto; margin-top: 9px; }
.bulk-selected > span { padding: 4px 7px; background: #f0f2f5; font-size: 12px; color: #333a45; }
.bulk-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.bulk-actions button { flex: 1; padding: 10px; font-size: 13px; min-height: 42px; }
.bulk-actions button:disabled { opacity: .55; cursor: not-allowed; }
.bulk-color-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 13px; }
.bulk-color-heading > span { margin-left: auto; }
.bulk-color-heading b { color: var(--red); }
.bulk-color-options { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.bulk-color-options button { display: flex; align-items: center; gap: 5px; padding: 7px 10px; border: 1px solid #dcdfe5; background: white; font-size: 13px; color: #20242a; }
.bulk-color-options button.active { border-color: var(--red); color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.bulk-color-options i { width: 12px; height: 12px; border: 1px solid #ddd; }
.bulk-color-options small { font-size: 11px; }
.bulk-mode-buttons { display: flex; border: 1px solid #dce0e5; border-bottom: 0; margin-top: 10px; }
.bulk-mode-buttons button { flex: 1; padding: 13px 6px; border: 0; border-bottom: 2px solid transparent; color: #383d45; background: #fff; font-size: 15px; }
.bulk-mode-buttons button.active { border-bottom-color: var(--red); color: var(--red); font-weight: 800; }
.bulk-reference .bulk-table { table-layout: fixed; }
.bulk-reference .bulk-table th, .bulk-reference .bulk-table td { padding: 6px 3px; overflow-wrap: anywhere; }
.bulk-reference .bulk-table th:first-child { position: static; min-width: 0; max-width: none; width: 22%; }
.bulk-reference .bulk-table th:nth-child(2) { width: 20%; }
.bulk-reference .bulk-table th:nth-child(3) { width: 28%; }
.bulk-reference .bulk-table th:nth-child(4) { width: 34%; }
.bulk-reference .bulk-table-scroll { border-radius: 0 0 4px 4px; }
.bulk-reference .bulk-stepper { width: 100%; max-width: 134px; margin: 0 auto; }
.bulk-reference .bulk-stepper input { flex: 1; width: 0; }
.bulk-reference .bulk-stepper button { width: 27px; }
.bulk-reference .bulk-unit-price, .bulk-reference .bulk-table small { white-space: normal; }
.bulk-reference [data-bulk-warehouse] { display: block; width: 100%; max-width: 190px; margin: 4px auto 0; padding: 4px 2px; border: 1px solid #d9dde4; border-radius: 3px; color: #343a43; background: #fff; font: inherit; font-size: 11px; }
.bulk-reference .bulk-warehouse-unknown { border-color: #e2a52b; }
.bulk-reference .bulk-warehouse-name { white-space: normal; }
.bulk-row-color { display: none; }
.bulk-all-colors .bulk-row-color { display: inline; }
.bulk-reference [data-order-color][hidden] { display: none; }
.cart-summary { padding: 10px 0; font-size: 14px; font-weight: 700; }
.cart-help { padding: 0 0 10px; font-size: 12px; color: #4f5660; line-height: 1.7; }
.multi-filters{padding:12px;background:#fff;border:1px solid #ddd;margin:12px 0}.multi-filters summary{cursor:pointer;padding:10px;font-weight:600}.multi-options{display:flex;flex-wrap:wrap;gap:12px;max-height:220px;overflow:auto;padding:12px}.multi-options label{display:flex;align-items:center;gap:6px;min-height:36px}.multi-filters input[type=number]{width:90px;padding:8px}.multi-filters>button{padding:10px;margin:8px}.multi-filters input[type=checkbox]{width:18px;height:18px}
.multi-filters .favorite-filter{display:flex;align-items:center;gap:8px;min-height:40px;padding:8px 12px;color:#34383e}
.attribute-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:8px;padding:10px}.attribute-filter-section{min-width:0;border:1px solid #e1e4e9;border-radius:5px;background:#fff}.attribute-filter-section>summary{padding:10px;cursor:pointer;color:#343941;font-size:12px;font-weight:700}.attribute-filter-options{display:grid;gap:5px;max-height:220px;overflow:auto;padding:8px;border-top:1px solid #eceef1}.attribute-filter-options>input[type=search],.attribute-custom-query input[type=search]{box-sizing:border-box;min-width:0;width:100%;padding:8px;border:1px solid #d8dce3;border-radius:4px;font:inherit}.attribute-filter-options label{display:flex;align-items:center;gap:7px;min-height:34px;color:#545961;font-size:12px}.attribute-filter-options label[hidden]{display:none}.attribute-filter-options label span{min-width:0;flex:1;overflow-wrap:anywhere}.attribute-filter-options label small{color:#858b94}.attribute-filter-options input[type=checkbox]{width:18px;height:18px;flex:none}.attribute-custom-query{display:grid;gap:4px;padding:8px;color:#545961;font-size:11px}.attribute-custom-query input[type=search]{font-size:12px}@media(max-width:760px){.attribute-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:8px}}@media(max-width:380px){.attribute-filters{grid-template-columns:1fr}}
.drawer-foot{display:block}.drawer-foot>button{width:100%;margin-top:8px}.order-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.order-contact-grid input,.order-contact-grid textarea{box-sizing:border-box;width:100%;border:1px solid #d8dce3;border-radius:6px;padding:10px 12px;font:inherit;background:#fff}.order-contact-grid textarea{grid-column:1/-1;resize:vertical}.order-contact-grid input:focus,.order-contact-grid textarea:focus{outline:2px solid rgba(226,31,45,.18);border-color:#e21f2d}@media(max-width:520px){.order-contact-grid{grid-template-columns:1fr}}
.cart-quantity { display: flex; align-items: center; gap: 8px; margin-top: 7px; }
.cart-quantity input { width: 60px; padding: 5px; border: 1px solid #cbd0d8; border-radius: 3px; }

.detail-below { padding: 14px 0 45px; background: #f4f5f7; }
.detail-block { width: min(900px, calc(100% - 24px)); margin: 0 auto 14px; padding: 22px 30px 30px; border: 1px solid #e6e8eb; border-radius: 5px; background: #fff; }
.detail-block-title { margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.detail-block-title .eyebrow { margin: 0 0 3px; font-size: 10px; font-weight: 800; }
.detail-block-title h2 { font-size: 20px; font-weight: 800; }
.detail-block-title p { max-width: none; margin: 5px 0 0; color: #454a52; font-size: 13px; font-weight: 600; line-height: 1.7; }
.size-chart-grid { width: min(760px,100%); margin: auto; grid-template-columns: 1fr; gap: 10px; }
.size-chart-grid img { border-radius: 3px; }
.sku-table-wrap { max-height: 520px; border-radius: 3px; }
.sku-table { color: #282c32; font-size: 12px; font-weight: 600; }
.sku-table th, .sku-table td { padding: 7px 9px; }
.sku-table th { background: #f2f3f5; }
.detail-long-images { width: min(760px,100%); }
.rebuilt-detail { color: #252a31; }
.rebuilt-intro { padding: 22px; background: #f1f3f5; border-left: 4px solid #ca1427; }
.rebuilt-intro p { margin: 0 0 8px; font-size: 13px; color: #595f68; }
.rebuilt-intro h3 { margin: 0 0 8px; font-size: 22px; line-height: 1.6; }
.rebuilt-intro span { font-size: 13px; }
.rebuilt-pictures { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 16px; }
.rebuilt-pictures figure { margin: 0; border: 1px solid #e3e6ea; }
.rebuilt-pictures img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; display: block; }
.rebuilt-pictures figcaption { padding: 10px; font-size: 13px; font-weight: 700; background: #f6f7f9; }
.rebuilt-facts { margin: 16px 0; border: 1px solid #e0e4e9; font-size: 14px; }
.rebuilt-facts > div { display: grid; grid-template-columns: 90px minmax(0,1fr); border-bottom: 1px solid #e8eaee; }
.rebuilt-facts dt { padding: 12px; font-weight: 700; background: #f4f5f7; }
.rebuilt-facts dd { margin: 0; padding: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.rebuilt-note { font-size: 13px; line-height: 1.8; color: #525a66; }
.detail-photo-grid { grid-template-columns: repeat(4,1fr); gap: 7px; }
.detail-photo-grid img { border-radius: 3px; }
.craft-block { border-color: #e4ddd3; background: #fffdfa; }
.craft-block .detail-block-title { border-bottom-color: #e7dfd5; }
.craft-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.craft-card { min-width: 0; overflow: hidden; border: 1px solid #e4e1dc; border-radius: 4px; background: #fff; text-align: left; }
.craft-preview { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.craft-preview img { width: 100%; height: auto; aspect-ratio: 1; display: block; object-fit: contain; }
.craft-preview:focus-visible, .angle-thumb:focus-visible { outline: 3px solid #285ac7; outline-offset: -3px; }
.craft-card-copy { padding: 11px 11px 12px; }
.craft-card-copy > div { display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.craft-card h3 { margin: 0; color: #25272b; font-size: 15px; font-weight: 800; }
.craft-card span { padding: 3px 5px; border: 1px solid #eee0d1; border-radius: 2px; color: #9a6228; background: #fff8ee; font-size: 9px; font-weight: 800; white-space: nowrap; }
.craft-card p { min-height: 64px; margin: 8px 0 0; color: #363a40; font-size: 13px; font-weight: 600; line-height: 1.7; }
.craft-notice { margin-top: 13px; padding: 10px 12px; display: flex; gap: 10px; border-left: 3px solid #c68b45; background: #f8f3ec; color: #5f5549; font-size: 11px; font-weight: 600; line-height: 1.7; }
.craft-notice strong { flex: 0 0 auto; color: #784d23; }
.angle-showcase { overflow: hidden; padding-bottom: 22px; background: #fdfdfc; }
.angle-title { display: flex; align-items: end; justify-content: space-between; gap: 14px; }
.angle-title .angle-count { padding: 6px 9px; color: #26292d; background: #eff0f1; font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.angle-viewer { display: grid; grid-template-columns: minmax(0, 1fr) 108px; gap: 10px; align-items: stretch; }
.angle-stage { min-width: 0; margin: 0; overflow: hidden; border: 1px solid #e1e3e5; border-radius: 4px; background: #f3f4f4; }
.angle-stage > img { width: 100%; height: min(520px, 54vw); display: block; object-fit: contain; cursor: zoom-in; }
.angle-stage figcaption { padding: 9px 12px; display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid #e1e3e5; background: #fff; color: #5b6067; font-size: 11px; font-weight: 600; }
.angle-stage figcaption strong { color: #2b2e33; font-weight: 800; }
.angle-thumb-list { max-height: 569px; padding-right: 2px; display: grid; align-content: start; grid-auto-rows: 96px; gap: 7px; overflow-y: auto; }
.angle-thumb { position: relative; overflow: hidden; padding: 0; border: 1px solid #e0e2e4; border-radius: 3px; background: #f3f4f4; cursor: pointer; }
.angle-thumb img { width: 100%; height: 100%; display: block; object-fit: contain; }
.angle-thumb span { position: absolute; right: 0; bottom: 0; min-width: 25px; padding: 4px 5px; color: #fff; background: rgba(25, 27, 30, .76); font-size: 10px; font-weight: 800; }
.angle-thumb.active { border: 2px solid var(--red); }
.angle-thumb.active::after { position: absolute; inset: 0; border: 2px solid rgba(255,255,255,.8); content: ''; pointer-events: none; }
.image-count { background: #ffe6e8; }

.category-dialog { border-radius: 8px; overscroll-behavior: contain; }
.category-group { border-radius: 5px; }
.category-links button { border-radius: 3px; }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 205px 1fr auto; }
  .home-stage { grid-template-columns: 200px minmax(0,1fr); }
  .home-side-panel { display: none; }
  .product-grid { grid-template-columns: repeat(4,1fr); }
  .detail-layout { grid-template-columns: 48% 52%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 760px) {
  .site-header { width: calc(100% - 20px); grid-template-columns: 1fr auto; }
  .brand-generated { width: 190px; height: 50px; }
  .brand img.brand-full { width: 190px; max-height: 50px; }
  .nav-inner { width: calc(100% - 20px); }
  .home-stage { width: calc(100% - 20px); min-height: auto; grid-template-columns: 1fr; }
  .home-category-panel { display: none; }
  .supply-banner { min-height: 300px; padding: 38px 26px; }
  .supply-banner::after { right: 14px; width: 110px; opacity: .5; }
  .supply-banner h1 { font-size: 30px; }
  .banner-features { right: 16px; left: 16px; gap: 13px; }
  .category-section, .catalog, .advantages { width: calc(100% - 20px); }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 7px; }
  .catalog { padding: 10px; }
  .product-info { padding: 7px 8px 9px; }
  .detail-scroll-note { padding: 10px 50px 10px 12px; text-align: left; }
  .detail-layout { grid-template-columns: minmax(0, 1fr); }
  .detail-gallery { padding: 12px; display: block; }
  .detail-main-image { width: 100%; height: 200px; object-fit:contain; }
  .thumbnails { max-height: none; max-width: 100%; margin-top: 8px; padding: 0 0 3px; display: flex; overflow-x: auto; }
  .thumbnails button { flex: 0 0 64px; height: 67px; }
  .detail-gallery > .detail-number { text-align: left; }
  .detail-copy { padding: 12px; display:flex;flex-direction:column; }
  .detail-copy h2{font-size:18px;margin:6px 0}
  .detail-copy>.variant-picker{order:2;margin-top:8px}
  .detail-copy>.detail-actions{order:3;position:sticky;bottom:0;background:white;padding:10px 0;z-index:2}
  .detail-copy>.detail-utility-actions{order:4}
  .detail-copy>.detail-section{order:5}
  .detail-copy .detail-price{padding:8px;margin:8px 0}
  .thumbnails button{flex-basis:44px;height:44px}
  #quickFilters>summary{padding:12px;cursor:pointer;font-weight:600}
  .detail-block { width: calc(100% - 10px); padding: 18px 8px 22px; }
  .detail-photo-grid { grid-template-columns: repeat(2,1fr); }
  .craft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .craft-card-copy { padding: 9px; }
  .craft-card h3 { font-size: 14px; }
  .craft-card p { min-height: 66px; font-size: 13px; }
  .craft-card-copy > div { flex-wrap: wrap; }
  .craft-notice { padding: 9px; gap: 7px; font-size: 10px; }
  .angle-title { align-items: flex-start; }
  .angle-title .angle-count { font-size: 11px; }
  .angle-viewer { grid-template-columns: 1fr; }
  .angle-stage > img { height: min(440px, 105vw); }
  .angle-thumb-list { display: flex; max-width: 100%; max-height: none; padding: 3px 3px 7px; overflow-x: auto; overflow-y: hidden; }
  .angle-thumb-list .angle-thumb { flex: 0 0 72px; height: 72px; }
  .variant-picker { padding: 13px 10px; }
  .variant-picker-head { align-items: center; }
  .variant-order-summary { grid-template-columns: 1fr auto; gap: 11px 8px; }
  .variant-order-summary > div:first-child { grid-column: 1 / -1; }
  .variant-add-button { grid-column: 1 / -1; width: 100%; }
  .variant-size-option { min-width: 72px; }
}

.catalog-actions { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:6px; }
.catalog-actions > button,.product-tools button,.compare-panel button { min-height:28px; padding:4px 8px; border:1px solid #dfe2e7; border-radius:4px; color:#4e535a; background:#fff; font-size:10px; }
.catalog-actions > button:hover,.product-tools button:hover,.product-tools button.selected { color:var(--red); border-color:#efb7bc; background:#fff5f5; }
.product-tools { position:absolute; right:8px; bottom:8px; display:flex; gap:5px; z-index:2; }
.product-tools button { min-height:27px; padding:3px 7px; box-shadow:0 1px 5px #0002; }
.product-tools [data-favorite] { width:29px; padding:0; color:var(--red); font-size:16px; }
.add-quote { right:8px; bottom:42px; z-index:2; }
.compare-panel { margin:0 0 14px; padding:10px; border:1px solid #e2e4e8; border-radius:5px; background:#fff; }
.compare-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; font-size:12px; }
.compare-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
.compare-grid article { min-width:0; display:grid; gap:5px; padding:8px; border:1px solid #eceef1; font-size:10px; }
.compare-grid img { width:100%; height:110px; object-fit:contain; background:#f7f7f8; }
.compare-grid > article > strong,.compare-grid > article > span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.compare-facts { display:grid; gap:4px; margin:2px 0; }
.compare-facts > div { display:grid; grid-template-columns:54px minmax(0,1fr); gap:5px; padding-bottom:3px; border-bottom:1px solid #f0f1f3; }
.compare-facts dt { color:#777c84; }
.compare-facts dd { min-width:0; margin:0; color:#292d33; overflow-wrap:anywhere; white-space:normal; }
.share-result { margin-top:8px; padding:10px; border:1px solid #eceef1; border-radius:5px; background:#fff; font-size:12px; }
.share-result a { display:block; margin:0 0 8px; color:var(--red); overflow-wrap:anywhere; }
.share-result .share-feedback-summary { white-space:pre-line; line-height:1.7; color:#52565d; }
.related-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.related-grid article { display:grid; grid-template-columns:92px minmax(0,1fr); gap:10px; padding:10px; border:1px solid #e7e8eb; border-radius:6px; background:#fff; }
.related-grid img { width:92px; height:116px; object-fit:contain; background:#f7f7f8; }
.related-grid article>div { min-width:0; display:flex; align-items:flex-start; flex-direction:column; gap:4px; }
.related-grid strong { color:var(--red); font-size:11px; }
.related-grid h3 { margin:0; font-size:13px; line-height:1.5; }
.related-grid p { margin:0; color:#6d7178; font-size:11px; line-height:1.5; }
.related-grid .ghost-button { margin-top:auto; min-height:30px; padding:4px 10px; }
@media(max-width:760px){.catalog-actions{justify-content:flex-start;gap:4px}.catalog-actions>button{min-height:30px;padding:4px 6px;font-size:10px}.catalog-toolbar{gap:8px;flex-wrap:wrap}.catalog-toolbar>div:first-child{flex:1}.compare-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.compare-grid img{height:86px}.product-tools{right:5px;bottom:5px;gap:3px}.product-tools button{min-height:25px;padding:2px 5px}.add-quote{right:5px;bottom:37px}}
@media(max-width:760px){.color-view-grid,.detail-video-grid{grid-template-columns:1fr}.detail-video-grid video{max-height:360px}}
@media(max-width:760px){.related-grid{grid-template-columns:1fr}.related-grid article{grid-template-columns:82px minmax(0,1fr);gap:8px;padding:8px}.related-grid img{width:82px;height:104px}}
.supply-options article{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px;margin-top:8px;padding:10px;border:1px solid #e8e9eb;border-radius:5px;font-size:12px}.supply-options article strong{grid-column:1/-1;color:var(--red)}
@media(max-width:600px){
  .detail-scroll-note{display:none}
  .detail-gallery{padding:6px;display:grid;grid-template-columns:96px minmax(0,1fr);grid-template-rows:104px auto;gap:0 8px;align-items:center}
  .detail-main-image{grid-column:1;grid-row:1;width:96px;height:104px;aspect-ratio:auto;object-fit:contain}
  .thumbnails{grid-column:2;grid-row:1;max-width:100%;max-height:104px;margin:0;padding:0 0 3px;display:flex;align-items:center;gap:5px;overflow-x:auto;overflow-y:hidden}
  .thumbnails button{flex:0 0 46px;height:46px;min-height:46px}
  .detail-gallery>.detail-number{grid-column:1/-1;grid-row:2;margin:2px 0 0;text-align:left;font-size:9px;line-height:1.2}
  .detail-copy{padding:8px}
  .detail-copy .status{padding:3px 5px;font-size:9px}
  .detail-copy h2{margin:4px 0;font-size:16px;line-height:1.35}
  .detail-copy>.detail-number{font-size:10px;line-height:1.4}
  .detail-copy .detail-price{display:flex;align-items:center;justify-content:space-between;padding:5px 8px;margin:5px 0}
  .detail-copy .detail-price strong{margin:0;font-size:20px}
  .detail-copy>.detail-actions{gap:6px;margin:4px 0;padding:5px 0}
  .detail-copy>.detail-actions .detail-down-hint{display:none}
  .detail-copy>.detail-actions button{flex:1;min-height:40px;padding:0 7px;font-size:11px}
  .variant-picker{margin-top:6px;padding:8px}
  .variant-picker-head{padding-bottom:6px}
  .variant-picker-head h3{font-size:13px}
  .variant-picker-head p{font-size:10px}
  .bulk-color-heading{gap:4px;font-size:11px}
  .bulk-color-options{flex-wrap:nowrap;gap:5px;margin-top:6px;padding-bottom:4px;overflow-x:auto}
  .bulk-color-options button{flex:0 0 auto;padding:6px 8px;font-size:11px;white-space:nowrap}
  .bulk-example{overflow:hidden;margin:4px 0;font-size:10px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
  .bulk-mode-buttons{margin-top:4px}
  .bulk-mode-buttons button{padding:8px 4px;font-size:12px}
  .bulk-table-scroll{max-height:180px}
  .bulk-table th,.bulk-table td{padding:6px 4px;font-size:11px}
}

/* 加工入口与统一商品主图展示 */
.processing-nav { color: var(--red); font-weight: 800; }
.processing-strip { width:min(1200px,calc(100% - 28px)); margin:18px auto 0; padding:20px; border:1px solid #f3c8cc; border-top:4px solid var(--red); border-radius:8px; background:#fff; scroll-margin-top:20px; }
.processing-strip-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:16px; }
.processing-strip-heading span,.processing-kicker { color:var(--red); font-size:12px; font-weight:800; }
.processing-strip-heading h2 { margin:3px 0 0; font-size:23px; }
.processing-strip-heading p,.processing-strip-note { margin:0; color:var(--muted); font-size:12px; line-height:1.7; }
.processing-shortcuts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.processing-shortcuts button { min-width:0; min-height:90px; display:flex; align-items:center; gap:12px; padding:16px 12px; border:1px solid #efd7da; border-radius:6px; text-align:left; color:var(--ink); background:#fff6f6; }
.processing-shortcuts button:hover { border-color:var(--red); background:#ffeded; }
.processing-symbol { flex:0 0 40px; height:40px; display:grid; place-items:center; border-radius:10px; color:var(--red); background:#ffe0e3; font-size:22px; font-weight:800; }
.processing-shortcuts strong { display:block; font-size:21px; }
.processing-shortcuts small { display:block; margin-top:6px; color:#68636a; font-size:11px; line-height:1.5; }
.processing-shortcuts b { margin-left:auto; color:var(--red); }
.processing-strip-note { margin-top:12px; }
.processing-dialog { position:fixed; width:min(760px,calc(100% - 28px)); max-height:88dvh; margin:auto; padding:28px; border:0; border-radius:12px; color:var(--ink); background:#fff; overflow:auto; overscroll-behavior:contain; }
.processing-dialog::backdrop { background:rgba(18,22,29,.58); }
.processing-dialog h2 { margin:6px 32px 10px 0; font-size:25px; }
.processing-close { position:sticky; float:right; top:0; width:38px; height:38px; margin:0; border:1px solid #e4e4e4; border-radius:50%; background:#fff; font-size:25px; z-index:1; }
.processing-disclaimer { padding:12px; border-radius:5px; color:#9b3a32; background:#fff2e9; font-size:12px; line-height:1.7; }
.processing-table-scroll { max-width:100%; margin:20px 0; overflow-x:auto; }
.processing-table-scroll table { width:100%; border-collapse:collapse; font-size:13px; }
.processing-table-scroll caption { text-align:left; margin-bottom:10px; font-weight:800; }
.processing-table-scroll th,.processing-table-scroll td { padding:10px 12px; border:1px solid #e8e5e5; text-align:left; }
.processing-table-scroll thead { color:#a81220; background:#fff0f1; }
.processing-table-scroll tbody th { font-weight:500; }
.processing-table-scroll td { font-variant-numeric:tabular-nums; }
.processing-notes,.processing-timing,.processing-artwork { font-size:12px; line-height:1.9; }
.processing-notes { padding-left:19px; }
.processing-timing { padding:12px 16px; border-radius:5px; background:#f5f7fa; }
.processing-timing p { margin:5px 0 0; }
.processing-original summary { cursor:pointer; font-size:13px; color:var(--red); }
.processing-original img { display:block; width:100%; height:auto; margin-top:12px; }
.detail-processing-actions { display:flex; flex-wrap:wrap; gap:10px; }
.detail-processing-actions button { padding:10px 22px; border:1px solid #e9bfc3; border-radius:5px; background:#fff2f3; color:var(--red); font-weight:700; }
.product-media { aspect-ratio:1; background:#fff; border-bottom:1px solid #f0f1f3; }
.product-media img { width:100%; height:100%; padding:12px; object-fit:contain; object-position:center; }
.product-card:hover .product-media img { transform:none; }
.product-media .source-badge { top:auto; bottom:8px; left:8px; right:auto; max-width:calc(100% - 160px); background:rgba(255,255,255,.94); color:#676c73; border:1px solid #eceef0; }
.product-info { min-height:126px; }
.detail-main-image { background:#fff; object-fit:contain; }
@media (max-width:900px) { .processing-shortcuts { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:600px) {
  .processing-strip { padding:14px 12px; }
  .processing-strip-heading { display:block; }
  .processing-strip-heading h2 { font-size:20px; }
  .processing-strip-heading p { margin-top:5px; }
  .processing-shortcuts { gap:8px; }
  .processing-shortcuts button { gap:8px; min-height:88px; padding:10px 8px; }
  .processing-symbol { flex-basis:30px; height:32px; font-size:18px; }
  .processing-shortcuts strong { font-size:18px; }
  .processing-shortcuts small { font-size:10px; }
  .processing-shortcuts b { display:none; }
  .processing-dialog { padding:18px 14px; max-height:90dvh; }
  .processing-dialog h2 { font-size:21px; }
  .processing-table-scroll th,.processing-table-scroll td { padding:9px 6px; font-size:11px; }
  .product-media img { padding:7px; }
}
