/* 独立选购模板，样式仅作用于速科布局。 */
.suke-mode { --suke-header-height: 68px; background: #f5f5f8; color: #222936; font-size: 14px; }
.suke-mode .site-header .header-bar { height: calc(var(--suke-header-height) - 1px); gap: 8px; max-width: none; width: calc(100% - 48px); }
.suke-mode > main.shell { width: 100%; max-width: none; height: calc(100dvh - var(--suke-header-height)); min-height: 420px; padding: 0; }
.suke-mode > footer { display: none; }
.suke-purchase { display: grid; grid-template-rows: auto minmax(0, 1fr); height: 100%; min-width: 0; }
.suke-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; min-height: 48px; padding: 10px 14px; background: #fff; }
.suke-heading > a { display: inline-flex; align-items: center; gap: 3px; color: #747984; font-size: 12px; }
.suke-heading .ui-icon { width: 14px; height: 14px; }
.suke-heading h1 { font-size: 15px; margin: 0; letter-spacing: 0; }
.suke-heading p { margin: 0; color: #747984; font-size: 13px; }
.suke-body { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 0; }
.suke-sidebar { min-height: 0; min-width: 0; padding: 20px 10px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; background: #fff; }
.suke-mobile-category { display: none; }
.suke-search { display: flex; align-items: center; gap: 5px; border: 1px solid #d5d8e0; padding: 6px 8px; margin-bottom: 10px; color: #767c86; }
.suke-search .ui-icon { width: 15px; height: 15px; flex: 0 0 15px; }
.suke-search input { background: transparent; border: 0; padding: 0; width: 100%; min-width: 0; font-size: 12px; border-radius: 0; color: var(--ink); height: 22px; }
.suke-sidebar details { background: #f7f8fa; }
.suke-sidebar summary { position: relative; padding: 13px 26px 13px 20px; cursor: pointer; list-style: none; overflow-wrap: anywhere; font-size: 13px; }
.suke-sidebar summary::-webkit-details-marker { display: none; }
.suke-sidebar summary::after { content: ""; position: absolute; right: 14px; top: 20px; border: 4px solid transparent; border-top-color: #7e8796; }
.suke-sidebar details[open] > summary::after { top: 15px; border-top-color: transparent; border-bottom-color: var(--blue); }
.suke-sidebar nav a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 40px; padding: 10px 18px 10px 27px; border-left: 3px solid transparent; font-size: 13px; color: #232833; overflow-wrap: anywhere; }
.suke-sidebar nav a > span { min-width: 0; }
.suke-sidebar nav a:hover { background: #eef2fa; text-decoration: none; }
.suke-sidebar nav a.is-selected { background: #e1ebff; border-left-color: var(--blue); }
.suke-badge { flex: 0 0 auto; font-style: normal; font-size: 10px; padding: 1px 5px; background: #eb6460; color: #fff; }
.suke-badge.badge-new { background: #119a72; }
.suke-badge.badge-exclusive { background: #7161c8; }
.suke-content { display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 20px 24px 20px 12px; }
.suke-content > .purchase-notice { flex: 0 0 auto; margin-bottom: 12px; }
.suke-stage, [data-suke-results] { min-height: 0; min-width: 0; height: 100%; }
.suke-stage { flex: 1 1 0; position: relative; }
.suke-message { flex: 0 0 auto; margin: 0 0 10px; color: #b42318; font-size: 13px; }
.suke-message:empty { display: none; }
.suke-stage[aria-busy=true] { opacity: .6; }
.suke-catalog-scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 0 0 2px; }
.suke-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(236px, 100%), 1fr)); align-items: stretch; gap: 12px; }
.suke-product { display: flex; flex-direction: column; border: 1px solid #d8dce5; border-radius: 0; overflow: hidden; background: #fff; min-width: 0; }
.suke-product-heading { display: flex; align-items: flex-start; gap: 8px; padding: 8px 12px; min-height: 38px; border-bottom: 1px solid #e9eaf0; background: #f7f7fa; }
.suke-product-heading h2 { flex: 1; min-width: 0; margin: 0; font-size: 13px; font-weight: 650; line-height: 1.5; overflow-wrap: anywhere; }
.suke-stock { flex: 0 0 auto; margin-top: 3px; padding: 2px 6px; border-radius: 3px; background: #e4f4ec; color: #24794d; font-size: 11px; line-height: 1.5; }
.suke-stock.is-empty { background: #eaedf2; color: #717987; }
.suke-product-body { display: flex; flex-direction: column; flex: 1; padding: 12px; }
.suke-product dl { margin: 0 0 10px; font-size: 13px; }
.suke-product dl > div { display: grid; grid-template-columns: 80px minmax(0, 1fr); align-items: start; gap: 8px; padding: 2px 0; border: 0; line-height: 1.5; }
.suke-product dt { display: flex; align-items: flex-start; gap: 8px; color: #737f91; font-size: 12px; overflow-wrap: anywhere; }
.suke-spec .ui-icon { flex: 0 0 14px; width: 14px; height: 14px; margin-top: 3px; color: #9299a5; }
.suke-product dd { margin: 0; color: #475469; min-width: 0; overflow-wrap: anywhere; white-space: pre-line; }
.suke-product dd strong { color: #4c5566; font-size: 13px; font-weight: 500; }
.suke-product dl > div > dd:only-child { grid-column: 1 / -1; }
.suke-more-specs { margin: -6px 0 14px; border-top: 1px dashed #e5eaf2; }
.suke-more-specs summary { padding: 10px 0; cursor: pointer; color: #6c7a90; font-size: 12px; }
.suke-more-specs summary span { float: right; font-size: 11px; }
.suke-more-specs dl { margin-bottom: 0; }
.suke-product-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px solid #edf1f6; }
.suke-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px; color: #e75525; margin: 0; min-width: 0; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.suke-price strong { font-size: 24px; font-weight: 650; line-height: 1.2; letter-spacing: -.5px; }
.suke-price small { color: #7a8495; margin-left: 5px; font-size: 12px; font-weight: 400; }
.suke-product .button { display: flex; width: auto; min-width: 88px; min-height: 36px; padding: 7px 8px; line-height: 20px; font-size: 13px; font-weight: 500; border-radius: 0; }
.suke-product .suke-soldout { background: #eaedf2; border-color: #eaedf2; color: #798291; cursor: default; }
.suke-empty { padding: 40px 24px; grid-column: 1 / -1; text-align: center; }
.suke-empty h2 { font-size: 18px; }
.suke-config-panel { display: flex; flex-direction: column; height: 100%; min-height: 0; background: #fff; }
.suke-config-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border-bottom: 1px solid #edeef3; }
.suke-config-heading h2 { margin: 0; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.suke-config-heading > a { flex-shrink: 0; font-size: 13px; color: #737b87; }
.suke-configure { display: flex; flex: 1; flex-direction: column; min-height: 0; width: 100%; margin: 0; gap: 0; }
.suke-configure .configuration-main { display: block; overflow-y: auto; flex: 1 1 0; overscroll-behavior: contain; scrollbar-width: thin; padding: 20px; }
.suke-configure .configuration-main > .panel { border: 0; border-radius: 0; padding: 0; }
.suke-configure .configuration-main > .panel + .panel { padding-top: 24px; }
.suke-configure .configuration-main > .panel > p { font-size: 13px; margin: 12px 0; }
.suke-configure .configuration-main fieldset { position: relative; min-inline-size: 0; padding: 14px 0 14px 128px; border: 0; margin: 0; }
.suke-configure .configuration-main legend { float: left; width: 112px; margin-left: -128px; font-size: 13px; font-weight: 400; line-height: 36px; overflow-wrap: anywhere; }
.suke-configure .configuration-main fieldset::after { display: block; content: ""; clear: both; }
.suke-configure .option-grid { display: flex; flex-wrap: wrap; gap: 4px; }
.suke-configure .option { position: relative; justify-content: center; min-height: 36px; min-width: 70px; max-width: 100%; padding: 6px 18px; background: #f0f1f6; border: 1px solid transparent; border-radius: 0; font-size: 13px; text-align: center; }
.suke-configure .option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.suke-configure .option:has(input:checked) { background: var(--blue); color: #fff; border-color: var(--blue); }
.suke-configure .option:has(input:focus-visible) { outline: 2px solid #15243c; outline-offset: 2px; }
.suke-configure .option small { font-size: 11px; }
.suke-configure .configuration-main select { max-width: 560px; font-size: 13px; height: 38px; padding: 6px 10px; border-radius: 0; }
.suke-configure .configuration-main input:not([type=radio]):not([type=checkbox]):not([type=hidden]) { min-width: 0; max-width: min(560px, 100%); min-height: 38px; border: 1px solid #cbd1de; padding: 6px 10px; border-radius: 0; }
.suke-model-options nav { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px; background: #f0f1f6; }
.suke-model-options nav > * { display: block; padding: 6px 12px; background: #fff; color: #525967; font-size: 13px; overflow-wrap: anywhere; }
.suke-model-options nav > .is-selected { background: var(--blue); color: #fff; }
.suke-model-options .suke-model-unavailable { color: #969ca6; background: transparent; }
.suke-os-grid { display: flex; flex-wrap: wrap; gap: 16px; }
.suke-os-card { width: 210px; max-width: 100%; border: 1px solid #e5e6ef; }
.suke-os-card.is-selected { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.suke-os-card > button { width: 100%; padding: 12px 14px; display: flex; align-items: center; gap: 10px; border: 0; background: #f0f1f6; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--ink); text-align: left; }
.suke-os-symbol { font-size: 23px; line-height: 1; color: #78899f; }
.suke-os-card.is-selected > button { color: var(--blue); }
.suke-configure .suke-os-card select { width: 100%; max-width: 100%; border: 0; margin: 0; font-size: 12px; }
.suke-summary { position: relative; top: auto; align-self: stretch; width: 100%; flex: 0 0 auto; padding: 16px 20px; border-top: 1px solid #e5e6ed; box-shadow: 0 -3px 8px #1c294007; background: #fff; z-index: 5; }
.suke-summary-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.suke-summary-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-right: auto; min-width: 0; }
.suke-summary-price > span { font-weight: 600; font-size: 13px; }
.suke-summary-price > strong { color: #d83b27; font-size: 26px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.suke-summary .button { width: auto; min-height: 40px; margin: 0; padding: 8px 22px; font-size: 13px; border-radius: 0; }
.suke-summary .cart-submit { background: #edf2ff; color: var(--blue); }
.suke-summary .cart-submit:disabled { background: #e3e6ee; color: #828a99; }
.suke-cost-toggle { display: flex; align-items: center; gap: 6px; border: 0; background: transparent; padding: 7px; color: #707989; font-size: 12px; cursor: pointer; }
.suke-cost-toggle .ui-icon { width: 14px; height: 14px; }
.suke-summary .agreement { margin: 10px 0 0; font-size: 12px; }
.suke-summary .agreement input { flex-shrink: 0; margin-top: 4px; }
.suke-summary .form-error { margin: 8px 0 0; font-size: 13px; }
.suke-summary .form-error:empty { display: none; }
.suke-cost-details { position: absolute; right: 0; bottom: 100%; padding: 20px; width: min(480px, 100%); max-height: 45dvh; overflow-y: auto; background: #fff; box-shadow: 0 -4px 24px #27334f29; border: 1px solid #dfe3eb; }
.suke-cost-details h2 { font-size: 16px; }
.suke-cost-details dl { margin: 12px 0 0; }
.suke-cost-details dl > div { display: flex; justify-content: space-between; gap: 12px; }
.suke-cost-details dd { margin: 0; }
.suke-content .purchase-notice { --notice-bg: #eef5ff; --notice-ink: #245197; --notice-border: #bfd5f5; flex: 0 0 auto; margin: 0 0 12px; border: 1px solid var(--notice-border); border-left-width: 3px; border-radius: 5px; background: var(--notice-bg); color: var(--notice-ink); font-size: 12px; }
.suke-content .purchase-notice[data-tone=warning] { --notice-bg: #fff8eb; --notice-ink: #805416; --notice-border: #efd19c; }
.suke-content .purchase-notice:last-child { margin: 12px 0 0; }
.suke-content .purchase-notice summary { display: flex; align-items: center; gap: 8px; padding: 9px 12px; cursor: pointer; list-style: none; }
.suke-content .purchase-notice summary::-webkit-details-marker { display: none; }
.suke-content .purchase-notice summary > strong { flex: 1; min-width: 0; line-height: 1.6; overflow-wrap: anywhere; }
.suke-content .purchase-notice summary > span { margin-left: auto; color: inherit; opacity: .8; font-size: 11px; flex: 0 0 auto; }
.suke-content .purchase-notice summary > svg { width: 17px; height: 17px; flex: 0 0 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.suke-notice .notice-collapse, .suke-notice[open] .notice-expand { display: none; }
.suke-notice[open] .notice-collapse { display: inline; }
.suke-content .purchase-notice > div { max-height: min(74px, 9dvh); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 0 12px 10px 37px; line-height: 1.8; }
.suke-content .purchase-notice p { margin: 0; color: inherit; white-space: pre-line; overflow-wrap: anywhere; }
.suke-content .purchase-notice a { color: inherit; text-decoration: underline; font-weight: 600; }
.suke-purchase[data-suke-sticky="0"] .suke-config-panel { overflow-y: auto; }
.suke-purchase[data-suke-sticky="0"] .suke-configure { min-height: auto; flex: 0 0 auto; }
.suke-purchase[data-suke-sticky="0"] .configuration-main { overflow: visible; flex: 0 0 auto; }
@media (prefers-reduced-motion: no-preference) {
    .suke-purchase[data-suke-motion="1"] .suke-product,
    .suke-purchase[data-suke-motion="1"] .suke-sidebar a { transition: border-color .15s, background-color .15s; }
}
@media (max-width: 1000px) {
    .suke-body { grid-template-columns: 200px minmax(0, 1fr); }
    .suke-content { padding-right: 12px; }
    .suke-configure .configuration-main fieldset { padding-left: 100px; }
    .suke-configure .configuration-main legend { width: 88px; margin-left: -100px; }
    .suke-os-card { width: 180px; }
}
@media (max-width: 760px) {
    .suke-mode { --suke-header-height: 64px; }
    .suke-mode .site-header .header-bar { width: calc(100% - 32px); }
    .suke-heading { gap: 5px 12px; padding: 8px 12px; }
    .suke-heading h1 { font-size: 13px; flex: 1; }
    .suke-heading p { display: none; }
    .suke-body { grid-template-columns: 160px minmax(0, 1fr); }
    .suke-sidebar { padding: 10px 6px; }
    .suke-sidebar summary { padding-left: 10px; }
    .suke-sidebar nav a { padding-left: 13px; padding-right: 8px; }
    .suke-content { padding: 10px 10px 10px 6px; }
    .suke-configure .configuration-main { padding: 12px; }
    .suke-configure .configuration-main fieldset { padding-left: 0; }
    .suke-configure .configuration-main legend { float: none; width: auto; margin: 0 0 10px; line-height: 1.6; font-weight: 600; }
    .suke-configure .option { min-width: 54px; padding-inline: 10px; }
    .suke-summary { padding: 12px; }
    .suke-summary .button { flex: 1; padding-inline: 10px; }
    .suke-summary-price { flex: 1; }
}
@media (max-width: 520px) {
    .suke-body { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
    .suke-sidebar { padding: 8px 12px; border-bottom: 1px solid #e1e4ed; }
    .suke-sidebar > details, .suke-search { display: none; }
    .suke-mobile-category { display: flex; align-items: center; gap: 10px; font-size: 12px; }
    .suke-mobile-category select { flex: 1; min-width: 0; width: 100%; padding: 7px; border: 1px solid #d5d8e0; border-radius: 0; font: inherit; color: var(--ink); background: #fff; }
    .suke-content { padding: 10px; }
    .suke-config-heading { padding: 12px; }
    .suke-config-heading h2 { font-size: 14px; }
    .suke-config-heading > a { font-size: 12px; }
    .suke-os-grid { gap: 10px; }
    .suke-os-card { width: calc(50% - 5px); }
    .suke-summary-row { gap: 8px; }
    .suke-summary-price { flex-basis: 65%; }
    .suke-summary .agreement { font-size: 11px; }
}

@media (max-width: 380px) {
    .suke-mode .site-header .header-bar { gap: 6px; }
    .suke-mode .site-header .logo-image { width: 104px; }
    .suke-mode .youxia-language-control { gap: 3px; }
    .suke-mode .youxia-language-control select { width: 82px; min-width: 0; }
}

@media (min-width: 1800px) { .suke-card-grid { grid-template-columns: repeat(5,minmax(0,1fr)); } }
@media (min-width: 1360px) and (max-width: 1799px) { .suke-card-grid { grid-template-columns: repeat(4,minmax(0,1fr)); } }
.suke-product dd { text-align: right; }
.suke-product dt { gap: 5px; font-size: 13px; }
.suke-model-options nav { padding: 14px; gap: 4px; }
.suke-os-card > button { min-height: 50px; font-size: 13px; font-weight: 500; }
.suke-os-symbol svg { width: 25px; height: 25px; display: block; }
.suke-configure .configuration-main > .panel > p:first-of-type { color: #77808f; }
@media (max-height: 760px) { .suke-content .purchase-notice > div { max-height: 42px; } }
@media (max-width: 760px), (pointer: coarse) { .suke-product .button { min-height: 44px; padding-block: 11px; } }

/* 全部卡片统一采用紧凑参数与并排价格/按钮，较矮视口无需重复覆盖。 */
.suke-price .usd-reference { flex-basis:100%; margin:2px 0 0; color:#798393; font-size:11px; font-weight:400; line-height:1.4; letter-spacing:0; }
.suke-summary-price .usd-reference { color:#798393; font-size:12px; font-weight:400; white-space:nowrap; }

@media(min-width:761px){
.suke-content .purchase-notice.is-compact[open]>summary{float:left;padding:10px 12px;max-width:30%;font-size:12px}
.suke-content .purchase-notice.is-compact[open]>summary>span{display:none}
.suke-content .purchase-notice.is-compact[open]>.notice-body{padding:10px 14px;max-height:78px;line-height:1.7;overflow-y:auto}
.suke-content .purchase-notice.is-compact::after{content:"";display:block;clear:both}
}
.suke-content .notice-rich .uxw-notice-blue{color:#165dff}.suke-content .notice-rich .uxw-notice-red{color:#c53e3e}.suke-content .notice-rich .uxw-notice-green{color:#168065}
