:root{color-scheme:dark;font-family:"Helvetica Neue",Helvetica,Arial,"Microsoft Yahei",sans-serif;color:#eee;background:#000;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:wait}button:focus-visible,a:focus-visible{outline:2px solid #c2a071;outline-offset:4px}button{border:0;background:none}a{color:inherit}p,h1,h2,h3{margin:0}button svg{pointer-events:none}button:disabled{opacity:.55}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.initial-loading{padding:60px;text-align:center}
.catalog-page{min-height:100vh;background:#f1f3f5;color:#191919;padding:26px max(32px,4.6vw) 40px;color-scheme:light}.brand-section{margin-bottom:40px}.brand-section h2{font-size:18px;line-height:24px;font-weight:600;margin:0 0 16px}.car-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.car-card{background:white;border-radius:9px;padding:0;text-align:left;overflow:hidden;display:flex;flex-direction:column;min-width:0;transition:box-shadow .2s,transform .2s}.car-card:hover{box-shadow:0 8px 24px #0000000d;transform:translateY(-2px)}.car-card img{display:block;width:100%;aspect-ratio:1;object-fit:contain}.car-card span{display:flex;align-items:center;min-height:76px;padding:12px 16px 22px;font-size:16px;line-height:23px}.catalog-foot{color:#858585;font-size:12px;display:flex;gap:20px;justify-content:space-between;margin-top:10px;line-height:1.8}.catalog-foot a{text-decoration:none}.catalog-foot a:hover{text-decoration:underline}
.config-page{height:100dvh;min-height:580px;overflow:hidden;background:#000}.topbar{height:67px;display:flex;align-items:center;justify-content:space-between;padding:0 4%;position:relative;z-index:5;background:#000;color:#f5f5f5}.logo{display:flex;flex-direction:column;align-items:center;width:95px;text-decoration:none;padding:0;color:#e9003c}.logo-word{font-size:26px;letter-spacing:1px;font-weight:500;line-height:24px;font-style:italic}.logo-cn{font-size:10px;letter-spacing:9px;padding-left:8px;color:#fff;line-height:16px}.config-title{position:absolute;left:50%;transform:translateX(-50%);font-size:18px;line-height:24px;font-weight:400;white-space:nowrap;max-width:64%;overflow:hidden;text-overflow:ellipsis}.header-actions{display:flex;gap:22px;align-items:center}.icon-button{display:grid;place-items:center;width:28px;height:34px;padding:0}.icon-button svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.3}.workspace{display:grid;grid-template-columns:65.7% 34.3%;height:calc(100dvh - 67px);min-height:513px}
.gallery{position:relative;overflow:hidden;background:#222;min-width:0}.gallery-photo{width:100%;height:100%;object-fit:cover;display:block;transform:scale(1.34);transition:opacity .22s;object-position:center center}.gallery-photo.detail-photo{transform:none;object-fit:cover}.gallery-photo.failed{object-fit:contain;transform:scale(.7);background:#f1f3f5}.gallery .image-loading{position:absolute;inset:0;display:grid;place-items:center;background:#242424;color:#888;font-size:13px;z-index:0}.gallery-photo{position:relative;z-index:1}.gallery-arrow{position:absolute;z-index:2;top:51%;transform:translateY(-50%);width:56px;height:56px;border-radius:50%;background:#17191ba6;display:grid;place-items:center}.gallery-arrow svg{width:25px;height:25px;fill:none;stroke:#fff;stroke-width:1.5}.gallery-arrow.prev{left:16px}.gallery-arrow.next{right:24px}.gallery-bars{position:absolute;z-index:2;bottom:6.3%;left:24%;right:24%;display:flex;gap:12px}.gallery-bars button{height:26px;flex:1;padding:10px 0;background:none}.gallery-bars button:after{content:"";display:block;height:3px;background:#ffffff40;border-radius:2px}.gallery-bars button.active:after{background:#f6f6f6}.gallery-caption{position:absolute;z-index:2;left:24px;bottom:14px;font-size:11px;color:#ffffff60}.gallery-return{position:absolute;z-index:3;top:24px;left:24px;background:#17191b88;border-radius:20px;font-size:12px;padding:10px 15px;opacity:0;transition:opacity .2s}.gallery:hover .gallery-return,.gallery-return:focus-visible{opacity:1}
.panel{min-width:0;display:flex;flex-direction:column;position:relative;background:#000}.tabs-wrap{padding:36px 9.5% 16px;flex-shrink:0;background:#000;position:relative}.tabs{display:flex;gap:24px;overflow-x:auto;scrollbar-width:none;scroll-behavior:smooth;white-space:nowrap;padding-bottom:9px}.tabs::-webkit-scrollbar{display:none}.tab{flex-shrink:0;font-size:24px;color:#ffffff66;font-weight:500;line-height:34px;padding:0 0 8px;position:relative}.tab.active{color:#ddd}.tab.active:after{content:"";position:absolute;width:34px;height:2px;background:#fff;bottom:0;left:50%;transform:translateX(-50%)}.tab-scroll{position:absolute;right:1.8%;top:42px;opacity:.5;font-size:20px;padding:0 6px;background:#000}.panel-scroll{flex:1;overflow-y:auto;overflow-x:hidden;padding:10px 9.5% 28px;scrollbar-width:thin;scrollbar-color:#303030 #000}.option-group{margin-bottom:38px;min-width:0}.option-group h2{font-weight:400;font-size:24px;line-height:32px;margin-bottom:16px}.option-list{display:grid;gap:12px}.option-card{padding:16px;border:1px solid #242424;border-radius:12px;background:#191919;display:block;text-align:left;width:100%;color:#a2a2a2;transition:border-color .15s,background .15s}.option-card:hover{background:#202020}.option-card.selected{border-color:#ddd;color:#ddd}.option-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.option-name{font-size:18px;line-height:25px;font-weight:400}.option-price{font-size:14px;line-height:25px;white-space:nowrap;font-weight:500}.option-desc{font-size:14px;line-height:19px;color:#999;white-space:pre-line;margin-top:10px}.option-card.selected .option-desc{color:#aaa}.option-more{font-size:12px;color:#bda784;margin-top:12px}.option-group.compact .option-list{grid-template-columns:repeat(2,minmax(0,1fr))}.option-group.compact .option-card{padding:16px 12px;text-align:center}.option-group.compact .option-top{display:block}.option-group.compact .option-name{font-size:17px}.option-group.compact .option-price{display:block;margin-top:3px}.option-group.compact .option-card:only-child{grid-column:1/-1}.swatches{display:flex;gap:18px;flex-wrap:wrap;margin:22px 0}.swatch{padding:5px;border:1px solid transparent;border-radius:50%;width:62px;height:62px;position:relative}.swatch.selected{border-color:white}.swatch img{width:50px;height:50px;border-radius:50%;display:block;object-fit:cover;background:#292929}.swatch-label{font-size:23px;margin-top:24px}.swatch-price{font-size:16px;color:#bbb;margin-top:8px}.swatch-desc{white-space:pre-line;font-size:14px;color:#999;line-height:1.7;margin-top:20px}.wheel-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.wheel-card{border:1px solid #242424;border-radius:12px;background:#191919;padding:16px 10px;color:#999;text-align:center}.wheel-card.selected{border-color:#ddd;color:#ddd}.wheel-card img{width:100%;height:128px;object-fit:contain;margin-bottom:12px}.wheel-card .option-name{font-size:16px;display:block}.wheel-card .option-price{display:block;margin-top:5px}.check-card{display:flex;gap:14px}.check-card .check-mark{width:20px;height:20px;border:1px solid #888;border-radius:4px;flex-shrink:0;margin-top:3px;display:grid;place-items:center;font-size:14px}.check-card.selected .check-mark{background:#fff;color:#000;border-color:#fff}.check-card .check-content{flex:1;min-width:0}.check-card img{width:100%;max-height:160px;object-fit:contain;margin-top:12px}
.bottom-bar{min-height:76px;padding:12px 9.5% 14px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#000;z-index:3}.next-step{width:172px;min-height:40px;background:#fff;color:#171717;border-radius:24px;font-size:14px;flex-shrink:0;transition:background .2s}.next-step:hover{background:#ddd}.bottom-price small{font-size:12px;color:#999;display:block;margin-bottom:4px}.bottom-price strong{font-size:24px;font-weight:500;white-space:nowrap}.back-step{color:#999;font-size:13px;padding:8px 0}.progress-line{height:2px;background:#444;position:absolute;left:0;right:0;top:0;overflow:hidden;z-index:6}.progress-line:after{content:"";position:absolute;width:30%;height:100%;background:#ddd;animation:progress 1.2s infinite ease-in-out}@keyframes progress{from{left:-30%}to{left:100%}}.status-banner{font-size:12px;line-height:1.6;color:#e1bc85;background:#231e17;padding:12px 16px;margin-bottom:20px;border-radius:8px;display:flex;gap:12px;align-items:center}.status-banner button{text-decoration:underline;white-space:nowrap;font-size:12px}.updated-note{font-size:11px;color:#777;line-height:1.6;margin-top:20px}.summary-title{font-size:26px;font-weight:400;margin:0 0 18px}.summary-car{font-size:18px;line-height:1.7;margin-bottom:22px}.summary-block{padding:22px 0;border-bottom:1px solid #292929}.summary-block h3{font-size:16px;margin-bottom:16px;font-weight:400}.summary-row{display:flex;justify-content:space-between;gap:20px;margin:12px 0;font-size:14px;line-height:1.6;color:#bbb}.summary-row span:first-child{flex:1}.summary-row span:last-child{white-space:nowrap}.summary-total{display:flex;justify-content:space-between;align-items:center;margin:25px 0 16px}.summary-total strong{font-size:29px;font-weight:500}.promotion-title{font-size:18px;color:#d9c4a4;margin-bottom:14px}.promotion-price{font-size:28px;color:#d9c4a4}.promotion-condition{font-size:12px;color:#999;line-height:1.7;margin-top:14px}.summary-actions{display:flex;gap:12px;margin-top:28px}.summary-actions button{border:1px solid #777;border-radius:22px;padding:10px 20px;font-size:13px}.save-status{font-size:12px;color:#aaa;margin-top:12px}.small-note{color:#777;font-size:12px;line-height:1.8;margin-top:20px}.return-catalog{min-height:40px;padding:0 20px;border:1px solid #555;border-radius:24px;color:#bbb;font-size:13px}
dialog{color:#ddd;background:#191919;border:1px solid #444;border-radius:16px;padding:36px;max-width:600px;width:calc(100% - 40px);max-height:80vh}dialog::backdrop{background:#000b}.dialog-close{position:absolute;right:14px;top:10px;font-size:28px}.dialog-title{font-size:23px;margin-bottom:20px}.dialog-text{font-size:14px;line-height:1.9;white-space:pre-line}#dialog-content img{width:100%;object-fit:contain;margin-bottom:18px}
@media(min-width:1800px){.catalog-page{padding-left:70px;padding-right:70px}.car-grid{grid-template-columns:repeat(5,minmax(0,260px))}.brand-section{max-width:1500px;margin-left:auto;margin-right:auto}.catalog-foot{max-width:1500px;margin-left:auto;margin-right:auto}}
@media(max-width:1400px){.workspace{grid-template-columns:62% 38%}.tabs-wrap{padding:28px 7% 12px}.panel-scroll{padding:10px 7% 24px}.bottom-bar{padding-left:7%;padding-right:7%}.tab{font-size:20px}.tabs{gap:22px}.option-name{font-size:16px}.option-desc{font-size:12px;line-height:18px}.option-group h2{font-size:22px}.option-card{padding:14px}.tabs-wrap .tab-scroll{top:34px}.bottom-price strong{font-size:21px}.next-step{width:136px}.gallery-photo{transform:scale(1.28)}}
@media(max-width:1000px){.car-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.workspace{grid-template-columns:55% 45%}.topbar{padding:0 24px}.config-title{font-size:15px}.option-top{flex-wrap:wrap;gap:4px}.option-price{line-height:20px}.gallery-photo{transform:scale(1.05)}.panel-scroll{padding-top:8px}.tabs-wrap{padding-top:24px}.tab{font-size:18px}.gallery-bars{left:15%;right:15%}.gallery-arrow{width:42px;height:42px}.bottom-price strong{font-size:18px}.bottom-bar{gap:8px}.next-step{width:110px}}
@media(max-width:700px){.catalog-page{padding:24px 16px 32px}.car-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.car-card span{font-size:14px;min-height:66px;padding:10px 12px 16px}.brand-section{margin-bottom:28px}.brand-section h2{font-size:17px}.catalog-foot{display:block;font-size:11px}.catalog-foot a{display:block;margin-top:8px}.config-page{height:auto;min-height:100dvh;overflow:visible}.topbar{height:54px;padding:0 16px;position:sticky;top:0}.logo{width:68px}.logo-word{font-size:21px;line-height:20px}.logo-cn{font-size:7px;letter-spacing:6px;line-height:11px}.config-title{font-size:13px;max-width:58%}.header-actions{gap:12px}.header-actions .support{display:none}.workspace{display:flex;flex-direction:column;height:auto;min-height:0}.gallery{height:36vh;min-height:245px;max-height:420px;position:relative;top:auto;z-index:1}.gallery-photo{transform:scale(1.32);object-fit:cover}.gallery-photo.detail-photo{transform:none}.gallery-arrow{width:34px;height:34px}.gallery-arrow.prev{left:10px}.gallery-arrow.next{right:10px}.gallery-arrow svg{width:19px;height:19px}.gallery-bars{bottom:10px;left:24%;right:24%;gap:8px}.gallery-bars button:after{height:2px}.gallery-caption{display:none}.gallery-return{display:none}.panel{z-index:2;min-height:calc(100dvh - 54px)}.tabs-wrap{padding:20px 20px 8px;position:sticky;top:54px;z-index:3}.tabs{gap:25px}.tab{font-size:19px;line-height:28px}.tabs-wrap .tab-scroll{top:21px;right:2px}.panel-scroll{overflow:visible;padding:14px 20px 100px;min-height:32vh}.option-group h2{font-size:22px;margin-bottom:14px}.option-card{padding:15px}.option-top{flex-wrap:nowrap;gap:12px}.option-name{font-size:16px;line-height:24px}.option-price{font-size:12px;line-height:24px}.option-desc{font-size:12px;line-height:18px;margin-top:8px}.option-group{margin-bottom:30px}.bottom-bar{position:fixed;bottom:0;left:0;right:0;min-height:72px;padding:12px 20px max(14px,env(safe-area-inset-bottom));border-top:1px solid #202020}.bottom-price strong{font-size:23px}.next-step{width:140px;min-height:42px}.summary-title{font-size:24px}.header-actions .icon-button{width:23px}.swatches{gap:13px}.swatch{width:58px;height:58px}.swatch img{width:46px;height:46px}.wheel-card img{height:110px}.summary-actions{flex-wrap:wrap}}
/* Explicitly constrain the grid row: intrinsic image/options height must not
   enlarge the viewport. Only the option pane scrolls on desktop. */
@media(min-width:701px){
  .config-page{min-height:0}
  .topbar{height:60px}
  .workspace{height:calc(100dvh - 60px);min-height:0;grid-template-rows:minmax(0,1fr)}
  .gallery,.panel,.panel-scroll{min-height:0}
  .gallery-photo{position:absolute;inset:0;object-fit:contain;transform:scale(1.66)}
  .gallery-photo.detail-photo{object-fit:contain;transform:none}
  .panel-scroll{overscroll-behavior:contain;scrollbar-width:none}
  .panel-scroll::-webkit-scrollbar{display:none}
  .option-group.compact .option-card:only-child{grid-column:auto}
  .option-group.compact .option-card{min-height:62px;border-radius:8px}
}
.panel-scroll[aria-busy="true"]{cursor:progress}
.option-card[aria-busy="true"],.swatch[aria-busy="true"],.wheel-card[aria-busy="true"]{outline:1px solid #aaa;outline-offset:2px}
.panel-scroll[aria-busy="true"] button:disabled{opacity:1}
.gallery-photo{transition:none}
.gallery-photo[hidden],.gallery-arrow[hidden],.gallery-bars[hidden]{display:none}
.image-loading button{text-decoration:underline;margin-top:10px}
.color-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 12px}
.color-card{padding:0;text-align:left;color:#999;min-width:0}
.color-card.selected{color:#eee}
.color-art{display:block;border:1px solid transparent;border-radius:10px;padding:3px;margin-bottom:12px;height:60px;overflow:hidden}
.color-card.selected .color-art{border-color:#ddd}
.color-art img{width:100%;height:100%;object-fit:cover;border-radius:7px;display:block}
.color-card .option-name,.color-card .option-price,.color-card .option-desc{display:block;padding:0 3px;white-space:normal}
.color-card .option-price{line-height:20px;margin-top:2px}
.color-card .option-desc{white-space:pre-line}
.option-with-detail{min-width:0}
.option-with-detail>.color-card,.option-with-detail>.wheel-card{width:100%}
.option-more{display:block;padding:0 3px;text-decoration:underline;text-underline-offset:3px;color:#aaa}
#dialog-content .dialog-text{margin-bottom:20px}
.wheel-list{gap:28px 22px}
.wheel-card{background:transparent;border:0;padding:0;text-align:left}
.wheel-art{display:grid;place-items:center;aspect-ratio:1;border:1px solid transparent;border-radius:14px;background:#191919;margin-bottom:12px}
.wheel-card.selected .wheel-art{border-color:#ddd}
.wheel-card .wheel-art img{width:66%;height:auto;aspect-ratio:1;object-fit:contain;margin:0}
.wheel-card .option-name{font-size:18px}.wheel-card .option-price{margin-top:2px}
.image-row-list{background:#191919;border-radius:12px;overflow:hidden}
.image-row{display:flex;align-items:center;gap:16px;width:100%;padding:16px 14px;text-align:left;color:#999;min-height:80px}
.image-row.selected{color:#ddd}.image-row img{width:48px;height:48px;object-fit:cover;border-radius:8px;flex-shrink:0}
.image-row-content{flex:1;min-width:0}.image-row-content>span{display:block}.image-row .option-desc{margin-top:3px}
.radio-mark{width:20px;height:20px;border:1px solid #777;border-radius:50%;flex-shrink:0;display:grid;place-items:center;font-size:15px}
.image-row.selected .radio-mark{background:#fff;color:#000;border-color:#fff}
.panel-scroll:has(.option-group){display:flex;flex-direction:column}
.panel-scroll>.option-group,.panel-scroll>.status-banner{flex-shrink:0}
.panel-scroll>.parameter-note{margin-top:auto;padding-bottom:10px;flex-shrink:0}
@media(min-width:1401px){.gallery-photo.detail-photo{transform:scale(1.6667)}}
.check-card{display:block;padding:0;border:0;overflow:hidden;color:#999}
.check-card.selected{color:#ddd}
.check-card>img{display:block;width:100%;height:auto;aspect-ratio:2;max-height:none;object-fit:cover;margin:0;border-radius:12px}
.check-card .check-content{display:block;padding:14px 16px 16px}
.check-card .option-desc{display:block;margin-top:12px}
.check-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:16px;gap:10px}
.check-card .check-mark{border-radius:50%;margin:0}
.check-card:disabled{opacity:1;cursor:default}
.bottom-price{padding:0;text-align:left;min-width:0}
.bottom-price del{font-size:13px;color:#666;white-space:nowrap}
.price-chevron{color:#777;font-size:18px}
@media(min-width:1401px){.tabs-wrap{padding-top:44px;padding-bottom:0}.bottom-price{display:flex;align-items:baseline;gap:5px;flex-wrap:wrap}.bottom-price small{margin:0}.bottom-bar:has(.bottom-price) .next-step{width:96px}.bottom-bar:has(.bottom-price){gap:8px}}
@media(max-width:1400px){.bottom-price del{margin-left:6px}.price-chevron{margin-left:4px}}
.gallery .image-loading{background:linear-gradient(#242424 50%,#080808)}
.gallery-caption{display:none}
.parameter-note{font-size:12px;line-height:18px;color:#999;margin-top:-16px}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.logo img{display:block;width:100%;height:auto;max-height:36px;object-fit:contain}
.topbar .logo{width:auto;flex-direction:row;gap:12px;color:#f5f5f5;flex-shrink:0}
.topbar .logo img{width:44px;height:44px;max-height:none;object-fit:contain;border-radius:50%}
.brand-name{font-size:20px;font-weight:500;letter-spacing:.3px;white-space:nowrap}
.header-actions .support{cursor:default}
@media(max-width:700px){.topbar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px}.topbar .logo{gap:7px}.topbar .logo img{width:32px;height:32px}.brand-name{font-size:13px;letter-spacing:0}.topbar .config-title{position:static;transform:none;max-width:none;font-size:12px;text-align:center}.header-actions .support{display:grid}}
@media print{.topbar,.gallery,.tabs-wrap,.bottom-bar,.summary-actions,.return-catalog{display:none!important}.config-page,.workspace,.panel,.panel-scroll{height:auto;min-height:0;overflow:visible;display:block;background:white;color:#111}.panel-scroll{padding:24px;max-width:850px;margin:auto}.summary-row,.promotion-condition,.small-note{color:#333}.summary-block{break-inside:avoid}.summary-total strong,.promotion-price,.promotion-title{color:#111}}

/* YiMing Auto palette and type stack, matching the host site's visual language. */
.sr-only{top:0;left:0}
:root{--brand-bg:#050505;--brand-gold:#e6d3aa;--brand-paper:#f2f0eb;font-family:Inter,"Noto Sans","Segoe UI",Arial,"Microsoft Yahei",sans-serif;background:var(--brand-bg)}
.catalog-page{min-height:100dvh;height:100dvh;padding:0 clamp(20px,3.5vw,70px) 16px;background:var(--brand-bg);color:#fff;color-scheme:dark;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:64px auto minmax(220px,1fr) minmax(220px,1fr) auto;gap:20px}
.catalog-header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff1c;gap:16px}
.catalog-logo{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:19px;font-weight:600;letter-spacing:.3px}
.catalog-logo img{width:42px;height:42px;border-radius:50%;object-fit:contain}
.catalog-header-label{font-size:10px;letter-spacing:2px;color:#aaa}
.catalog-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:0 0 2px}
.catalog-eyebrow{font-size:10px;letter-spacing:2px;font-weight:600;color:var(--brand-gold);margin-bottom:9px}
.catalog-intro h1{font-size:clamp(26px,2.2vw,40px);font-weight:500;line-height:1.2;letter-spacing:1px}
.catalog-description{color:#aaa;font-size:13px;line-height:1.8;padding-bottom:3px}
.brand-section{display:flex;flex-direction:column;min-height:0;max-width:none;margin:0}
.brand-section h2{display:flex;align-items:baseline;gap:12px;font-size:18px;font-weight:500;line-height:24px;margin:0 0 12px}
.brand-section h2 small{font-size:10px;letter-spacing:2px;color:var(--brand-gold)}
.brand-section h2>span{margin-left:auto;font-size:10px;letter-spacing:2px;color:#888;font-weight:400}
.car-grid{flex:1;min-height:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.aito-section .car-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
.car-card{background:#121212;color:#f2f0eb;border:1px solid #ffffff26;border-radius:12px;min-height:170px;transition:border-color .18s,box-shadow .18s}
.car-card:hover{transform:none;border-color:var(--brand-gold);box-shadow:0 0 0 1px #e6d3aa26}
.car-art{position:relative;flex:1;min-height:100px;overflow:hidden;background:radial-gradient(ellipse at 50% 48%,#505359 0%,#303237 48%,#1a1b1e 100%)}
.car-card img{position:absolute;inset:-40% 0 auto;width:100%;height:180%;aspect-ratio:auto;object-fit:contain;object-position:center;mix-blend-mode:normal;transform:none}
.car-card .car-label{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:64px;padding:12px 16px;font-size:clamp(12px,.9vw,16px);line-height:1.5}
.car-label i{font-size:18px;font-style:normal;color:var(--brand-gold);flex-shrink:0}
.catalog-foot{max-width:none;margin:0;font-size:11px;line-height:1.8;color:#a3a3a3;gap:12px}
.catalog-foot a{white-space:nowrap;color:#bcb5a5}
@media screen{.config-page,.topbar,.panel,.tabs-wrap,.bottom-bar,.tab-scroll{background:var(--brand-bg)}}
.topbar{border-bottom:1px solid #ffffff14}
.tab.active{color:var(--brand-paper)}
.tab.active:after{background:var(--brand-gold)}
.option-card.selected,.color-card.selected .color-art,.wheel-card.selected .wheel-art{border-color:var(--brand-gold)}
.next-step{background:var(--brand-paper);color:var(--brand-bg)}
.next-step:hover{background:var(--brand-gold)}
.back-step:hover,.option-more:hover{color:var(--brand-gold)}
.embedded .catalog-header,.embedded .topbar{display:none}
.embedded .catalog-page{grid-template-rows:auto minmax(220px,1fr) minmax(220px,1fr) auto;padding-top:20px}
.embedded .gallery-return{display:block;opacity:1}
@media screen and (min-width:701px){.embedded .workspace{height:100dvh}}
@media(min-width:1001px) and (max-height:700px){.catalog-page{height:auto;min-height:100dvh;grid-template-rows:56px auto repeat(2,minmax(220px,1fr)) auto}.embedded .catalog-page{grid-template-rows:auto repeat(2,minmax(220px,1fr)) auto}}
@media(max-width:1000px){
  .catalog-page,.embedded .catalog-page{height:auto;min-height:100dvh;grid-template-rows:56px auto 1fr auto auto;gap:24px}
  .embedded .catalog-page{grid-template-rows:auto 1fr auto auto}
  .car-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(220px,1fr)}
  .aito-section .car-grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:220px;grid-auto-rows:240px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#796d55 transparent;padding-bottom:8px}
  .car-card .car-label{font-size:14px}
  .catalog-intro{align-items:flex-start;flex-direction:column;gap:10px}
}
@media(max-width:700px){
  .catalog-page{padding:0 16px 16px;gap:20px}
  .catalog-header-label{font-size:8px;letter-spacing:1px}
  .catalog-logo{font-size:16px;gap:8px}.catalog-logo img{width:34px;height:34px}
  .car-grid{gap:10px;grid-auto-rows:200px}.car-card .car-label{padding:10px;font-size:12px;min-height:60px}
  .aito-section .car-grid{grid-auto-columns:210px;grid-auto-rows:220px}
  .catalog-foot{display:flex;flex-direction:column;gap:3px}.catalog-foot a{margin:0}
  .embedded .gallery{top:auto}
  .embedded .tabs-wrap{top:0}
  .embedded .panel{min-height:100dvh}
  .embedded .gallery-return{top:12px;left:12px}
}

/* Both ends of the tab strip remain navigable. */
.tabs-wrap .tab-scroll-back{left:1.8%;right:auto}
.tabs-wrap .tab-scroll{width:32px;height:36px;display:grid;place-items:center;padding:0}
.tab-scroll:disabled{opacity:.15;cursor:default}
.bottom-bar .back-step{white-space:nowrap;flex-shrink:0}
.bottom-bar:has(.bottom-price) .bottom-price{flex:1}
@media(max-width:1400px){
  .bottom-bar:has(.bottom-price){display:grid;grid-template-columns:1fr auto;gap:6px 12px}
  .bottom-bar:has(.bottom-price) .bottom-price{grid-column:1/-1;display:flex;align-items:baseline;gap:4px;flex-wrap:wrap}
  .bottom-bar:has(.bottom-price) .bottom-price small{margin:0}
  .bottom-bar:has(.bottom-price) .back-step{grid-column:1;justify-self:start}
  .bottom-bar:has(.bottom-price) .next-step,.bottom-bar:has(.bottom-price) .return-catalog{grid-column:2;justify-self:end}
}
@media(max-width:700px){
  .tabs-wrap{padding-left:32px;padding-right:32px}
  .tabs-wrap .tab-scroll-back{left:2px;right:auto}
  .panel:has(.bottom-price) .panel-scroll{padding-bottom:160px}
  .bottom-price strong{font-size:21px}
}

/* Longer translated labels wrap without covering prices or reducing touch targets. */
html:not([data-config-language="zh"]) .brand-section h2 > small { display: none; }
html:not([data-config-language="zh"]) .tabs .tab { white-space: nowrap; font-size: clamp(15px, 1.5vw, 21px); }
html:not([data-config-language="zh"]) .option-name,
html:not([data-config-language="zh"]) .option-desc,
html:not([data-config-language="zh"]) .car-label { overflow-wrap: anywhere; }
html:not([data-config-language="zh"]) .option-top { flex-wrap: wrap; gap: 8px 14px; }
html:not([data-config-language="zh"]) .option-price { flex-shrink: 0; }
html:not([data-config-language="zh"]) .bottom-bar { gap: 10px; }
html:not([data-config-language="zh"]) .bottom-bar button { white-space: normal; }
@media (max-width: 700px) {
  html:not([data-config-language="zh"]) .bottom-price strong { font-size: 17px; }
  html:not([data-config-language="zh"]) .bottom-price small { font-size: 10px; }
  html:not([data-config-language="zh"]) .next-step,
  html:not([data-config-language="zh"]) .return-catalog { min-width: 92px; padding-inline: 12px; }
}

/* Keep the verified previous view until the next full-resolution image is decoded. */
.gallery.has-preview .image-loading{inset:auto 18px 55px;z-index:3;background:rgba(0,0,0,.7);color:#fff;border-radius:6px;padding:8px 12px;pointer-events:auto;text-align:center}
.gallery.has-preview .image-loading:empty{display:none}
.gallery-photo{animation:preview-in .18s ease-out}
@keyframes preview-in{from{opacity:.65}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.gallery-photo{animation:none}}

.summary-actions .summary-inquiry { background: var(--brand-gold); color: #111; border-color: var(--brand-gold); min-height: 44px; }

/* Arabic follows the same content order with logical RTL navigation. */
html[dir="rtl"] body { font-family:Tahoma,Arial,sans-serif; letter-spacing:normal; }
html[dir="rtl"] .car-card,html[dir="rtl"] .color-card,html[dir="rtl"] .wheel-card,
html[dir="rtl"] .image-row,html[dir="rtl"] .bottom-price,html[dir="rtl"] .option-card { text-align:start; }
html[dir="rtl"] .brand-section h2>span { margin-left:0; margin-right:auto; letter-spacing:0; }
html[dir="rtl"] .tabs-wrap .tab-scroll { right:auto; left:1.8%; }
html[dir="rtl"] .tabs-wrap .tab-scroll-back { left:auto; right:1.8%; }
html[dir="rtl"] .tab-scroll svg,html[dir="rtl"] .gallery-arrow svg,
html[dir="rtl"] .gallery-return svg,html[dir="rtl"] .next-step svg,
html[dir="rtl"] .back-step svg { transform:scaleX(-1); }
html[dir="rtl"] .gallery-arrow.prev { left:auto; right:20px; }
html[dir="rtl"] .gallery-arrow.next { right:auto; left:20px; }
html[dir="rtl"] .gallery-return { left:auto; right:24px; }
html[dir="rtl"] .dialog-close { right:auto; left:14px; }
html[dir="rtl"] .car-label i { transform:scaleX(-1); }
html[dir="rtl"] .option-price,html[dir="rtl"] .bottom-price strong,
html[dir="rtl"] .summary-total strong,html[dir="rtl"] .promotion-price { unicode-bidi:isolate; }
html[dir="rtl"] .option-desc { line-height:1.7; }
@media(max-width:700px){
  html[dir="rtl"] .tabs-wrap .tab-scroll { left:2px;right:auto; }
  html[dir="rtl"] .tabs-wrap .tab-scroll-back { right:2px;left:auto; }
  html[dir="rtl"] .gallery-arrow.prev { right:10px; }
  html[dir="rtl"] .gallery-arrow.next { left:10px; }
  html[dir="rtl"] .embedded .gallery-return { right:12px;left:auto; }
}
