/* Kiosk layout. Brand colours, typefaces and artwork come from the active
   Wetronic theme; the shop's ordinary navigation is not loaded on a kiosk. */
* { box-sizing: border-box; }
body.kiosk {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--wt-navy);
    background: #f7fafc;
    font: 18px/1.5 var(--wt-body);
}
button, input { font: inherit; }
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    touch-action: manipulation;
    min-height: 60px;
    padding: 12px 24px;
    border: 1px solid #c5d8e3;
    border-radius: 7px;
    color: var(--wt-navy);
    background: #fff;
    font-weight: 600;
}
button:hover { border-color: #087da9; background: #edf9ff; }
button:focus-visible, input:focus-visible { outline: 3px solid #087da9; outline-offset: 4px; }
button:disabled { opacity: .4; cursor: default; }
.kiosk-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 96px;
    gap: 24px;
    padding: 16px 4vw;
    background: #004b64 var(--kiosk-header-image) center/cover;
    color: white;
}
.brand { display: flex; align-items: center; gap: 30px; }
.brand img { width: 250px; height: auto; }
.brand > span { color: #d5e8f0; font: 500 20px var(--wt-display); }
.kiosk-navigation { display: flex; align-items: center; gap: 12px; }
.kiosk-header button { min-height: 60px; color: #fff; border-color: #7eabbc; background: transparent; }
.kiosk-header button:hover { background: #ffffff18; }
main { flex: 1; width: min(1480px, 90%); margin: 0 auto; padding: 40px 0 24px; }
.intro { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 168px; margin-bottom: 30px; gap: 28px; }
.intro-copy { padding: 12px 0; }
h1 { margin: 0 0 16px; font: 400 clamp(30px, 2.25vw, 43px)/1.2 var(--wt-heading); letter-spacing: -.7px; }
.intro-copy > p { margin: 0; font-size: 18px; color: #586d7e; }
.intro-mascot { align-self: stretch; flex: none; width: 220px; height: 168px; overflow: hidden; margin-right: 40px; }
.intro-mascot img { display: block; width: 100%; height: auto; }
body:not([data-menu-level="home"]) .intro { display: none; }
[data-menu-level="home"] #welcome > .section-heading,
[data-menu-level="home"] #menu-description { display: none; }
#welcome { margin-bottom: 34px; }
#search { margin: 0 0 30px; padding: 0 0 28px; border: 0; border-bottom: 1px solid #dce6ec; background: transparent; }
body[data-menu-level="results"] #search { margin: 0 0 30px; padding: 0; border: 0; }
#search label { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font: 500 19px var(--wt-display); }
#search label svg { color: #087da9; }
.search-options { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: stretch; gap: 26px; }
.search-input { min-width: 0; }
.scan-prompt { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 8px; background: #e9f5fb; color: var(--wt-navy); }
.scan-prompt svg { flex: none; color: #087da9; }
.scan-prompt strong { display: block; font: 600 23px/1.3 var(--wt-display); }
.scan-prompt span { display: block; margin-top: 4px; font-size: 16px; color: #4c6173; }
.search-row { display: flex; gap: 12px; }
input { width: 100%; min-width: 0; min-height: 62px; padding: 12px 20px; border: 1px solid #b2c6d2; border-radius: 6px; background: #f8fbfd; color: #173454; font-size: 22px; }
input::placeholder { color: #667b8b; opacity: 1; }
.primary { flex: none; min-width: 165px; border-color: #087da9; color: white; background: #087da9; font: 700 22px var(--wt-display); }
.primary:hover { background: var(--wt-navy); color: white; }
#keyboard-toggle { flex: none; width: 68px; padding: 12px; }
#keyboard-toggle > span:first-child { font-size: 25px; }
#keyboard { max-width: 1040px; margin: 20px auto 0; }
.key-row { display: flex; justify-content: center; gap: 7px; margin: 7px 0; }
.key-row button { flex: 1; min-width: 0; max-width: 88px; min-height: 62px; padding: 8px; font-size: 22px; }
.key-row .wide { flex: 4; max-width: 300px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 8px; }
.section-heading h2 { margin: 0; font: 600 clamp(26px, 1.9vw, 36px)/1.3 var(--wt-display); }
#step-label { display: none; }
#menu-description { color: #566b7d; font-size: 16px; margin: 12px 0 20px; }
.menu-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.menu-card { grid-column: span 4; position: relative; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; min-width: 0; min-height: 240px; padding: 22px; overflow: hidden; text-align: left; border: 1px solid #d4e1e8; border-radius: 10px; background: white; box-shadow: none; }
.menu-card:hover { border-color: var(--wt-blue); background: white; box-shadow: 0 4px 18px #0f2c5612; }
.menu-card img { width: 100%; height: 135px; object-fit: contain; mix-blend-mode: multiply; }
.menu-card-copy { display: flex; flex-direction: column; margin-top: auto; padding-top: 12px; padding-right: 30px; }
.menu-card-copy > strong { font: 600 26px/1.15 var(--wt-display); }
.menu-card-copy > span { margin-top: 6px; font-size: 14px; font-weight: 400; line-height: 1.4; color: #566b7d; }
.menu-arrow { position: absolute; right: 22px; bottom: 24px; color: #087da9; font-size: 25px; font-weight: 400; }
[data-menu-level="home"] .menu-grid { gap: 22px; }
[data-menu-level="home"] :is(.menu-card--vehicle,.menu-card--category) { grid-column: span 3; min-height: 250px; padding: 22px 26px; }
[data-menu-level="home"] :is(.menu-card--vehicle,.menu-card--category) img { height: 155px; }
[data-menu-level="home"] .menu-card-copy > span { display: none; }
[data-menu-level="home"] .menu-card-copy > strong { font-size: 28px; }
[data-menu-level="home"] .menu-card--offer,
[data-menu-level="home"] .menu-card--service { min-height: 104px; padding: 22px 54px 22px 96px; justify-content: center; }
[data-menu-level="home"] .menu-card--offer img,
[data-menu-level="home"] .menu-card--service img { position: absolute; left: 22px; top: 26px; width: 52px; height: 52px; }
[data-menu-level="home"] .menu-card--offer .menu-card-copy,
[data-menu-level="home"] .menu-card--service .menu-card-copy { margin: 0; padding: 0; }
[data-menu-level="home"] .menu-card--offer .menu-card-copy > strong,
[data-menu-level="home"] .menu-card--service .menu-card-copy > strong { font-size: 25px; }
.menu-card--brand { grid-column: span 3; min-height: 200px; }
.menu-card--brand img { height: 88px; }
.menu-content { padding: 28px; border: 1px solid #d4e1e8; border-radius: 10px; background: white; color: #344f66; }
.menu-content h2, .menu-content h3 { color: var(--wt-navy); font-family: var(--wt-display); }
.menu-content p { max-width: 960px; }
.menu-content button { margin: 8px 12px 8px 0; }
.menu-content .content-image { display: block; max-width: 100%; width: auto; max-height: 340px; margin: 24px 0; object-fit: contain; }
.menu-content details { margin: 12px 0; padding: 16px 20px; border: 1px solid #d4e1e8; border-radius: 6px; }
.menu-content summary { padding: 8px 0; cursor: pointer; font-weight: 700; }
.menu-content summary:focus-visible { outline: 3px solid #087da9; outline-offset: 4px; }
.hours-table { width: min(700px, 100%); border-collapse: collapse; }
.hours-table td, .hours-table th { padding: 16px; text-align: left; border-bottom: 1px solid #d4e1e8; }
.hours-table th { font-family: var(--wt-display); }
#status { margin: 18px 0; color: #566b7d; }
.results { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.product { display: flex; flex-direction: column; align-items: stretch; padding: 22px; text-align: left; border-radius: 10px; }
.product img, .image-placeholder { width: 100%; height: 175px; object-fit: contain; border-radius: 6px; background: white; }
.image-placeholder { display: grid; place-items: center; font-size: 15px; font-weight: 400; color: #667b8b; }
.sku { margin-top: 18px; color: #566b7d; font-size: 13px; overflow-wrap: anywhere; }
.product h3 { margin: 8px 0 18px; font: 600 21px/1.3 var(--wt-display); }
.price { margin-top: auto; font: 700 31px/1.2 var(--wt-display); }
.price p { margin: 4px 0; }
.price .old { color: #6b7d8a; font: 400 17px var(--wt-body); text-decoration: line-through; }
.price .price-label { font: 400 15px var(--wt-body); color: #566b7d; }
.availability { margin: 14px 0 0; font-size: 15px; font-weight: 400; color: #566b7d; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 28px; }
footer { padding: 12px 4vw 22px; text-align: center; color: #586d7e; font-size: 15px; }
dialog { width: min(1050px,94vw); max-height: 90dvh; padding: 32px; border: 0; border-top: 5px solid var(--wt-blue); border-radius: 10px; color: var(--wt-navy); background: white; }
dialog::backdrop { background: #0e1c31b8; }
.close { display: flex; margin-left: auto; margin-bottom: 20px; }
#detail-content { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
#detail-content img, #detail-content .image-placeholder { width: 100%; height: 330px; object-fit: contain; }
#detail-title { font: 600 32px/1.2 var(--wt-display); }
#detail-content .price { font-size: 44px; }
.detail-note { padding: 16px; border-radius: 6px; background: #eef6fb; font-size: 16px; line-height: 1.5; }
.error { color: #a51d26!important; }
[hidden] { display: none!important; }
@media (min-width:1600px) and (min-height:1000px) {
    main { padding-top: 40px; }
    [data-menu-level="home"] #search { max-width: 100%; }
}
@media (max-width:1200px) {
    .brand > span { font-size: 18px; }
    main { width: 90%; padding-top: 30px; }
    .intro-mascot { width: 180px; margin-right: 0; }
    h1 { font-size: 32px; }
    .intro-copy > p { font-size: 17px; }
    .results { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .menu-card { padding: 18px; }
    [data-menu-level="home"] :is(.menu-card--vehicle,.menu-card--category) { grid-column: span 6; }
    [data-menu-level="home"] .menu-card--service,
    [data-menu-level="home"] .menu-card--offer { grid-column: span 4; min-height: 160px; padding: 18px; }
    [data-menu-level="home"] .menu-card--service img,
    [data-menu-level="home"] .menu-card--offer img { position: static; height: 48px; margin-bottom: 8px; }
    [data-menu-level="home"] .menu-card--service .menu-card-copy > strong,
    [data-menu-level="home"] .menu-card--offer .menu-card-copy > strong { font-size: 23px; }
}
@media (max-width:800px) {
    .kiosk-header { min-height: 88px; padding: 14px 5vw; gap: 12px; }
    .brand { gap: 18px; }
    .brand img { width: 200px; }
    .brand > span { display: none; }
    .kiosk-header button { padding: 12px 16px; min-height: 58px; font-size: 16px; }
    .kiosk-header button svg { display: none; }
    main { padding-top: 24px; }
    .intro { min-height: 150px; margin-bottom: 24px; gap: 20px; }
    .intro-copy { flex: 1; }
    .intro-mascot { width: 130px; height: 150px; }
    h1 { font-size: 30px; }
    .intro-copy > p { font-size: 16px; }
    #search label { font-size: 18px; }
    .search-options { grid-template-columns: 1fr; gap: 18px; }
    .search-row { flex-wrap: wrap; }
    input { flex-basis: 100%; min-height: 64px; font-size: 20px; }
    .primary { flex: 1; min-width: 0; font-size: 20px; }
    #keyboard-toggle { width: 68px; }
    .section-heading h2 { font-size: 28px; }
    .menu-grid, [data-menu-level="home"] .menu-grid { gap: 14px; }
    .menu-card, .menu-card--brand,
    [data-menu-level="home"] .menu-card--service,
    [data-menu-level="home"] .menu-card--offer { grid-column: span 6; }
    .menu-card { min-height: 210px; padding: 18px; }
    .menu-card img { height: 105px; }
    [data-menu-level="home"] :is(.menu-card--vehicle,.menu-card--category) { min-height: 210px; padding: 18px; }
    [data-menu-level="home"] :is(.menu-card--vehicle,.menu-card--category) img { height: 120px; }
    .menu-card-copy > strong, [data-menu-level="home"] .menu-card-copy > strong { font-size: 25px; }
    .menu-card-copy > span { font-size: 14px; }
    .menu-arrow { right: 16px; bottom: 18px; }
    .menu-content { padding: 20px; }
    .key-row { gap: 4px; }
    .key-row button { min-height: 52px; padding: 4px; font-size: 16px; }
    .results { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
    .product { padding: 14px; }
    .product img, .image-placeholder { height: 130px; }
    .product h3 { font-size: 19px; }
    .price { font-size: 27px; }
    dialog { padding: 20px; }
    #detail-content { grid-template-columns: 1fr; }
    #detail-content img { height: 220px; }
}
/* The physical shop displays are rotated 90 degrees. Keep two clear vehicle
   choices per row even when Android exposes the full 2160px portrait width. */
@media (orientation: portrait) and (min-width:800px) {
    .kiosk-header { min-height: clamp(96px, 8.9vw, 192px); }
    .brand img { width: clamp(250px, 23.2vw, 500px); }
    main { width: 90%; max-width: 1800px; padding-top: clamp(30px, 3.7vw, 80px); }
    .intro { min-height: clamp(168px, 15.6vw, 336px); margin-bottom: clamp(30px, 3vw, 64px); }
    h1 { font-size: clamp(32px, 3.2vw, 68px); }
    .intro-copy > p { font-size: clamp(18px, 1.7vw, 36px); }
    .intro-mascot { width: clamp(180px, 17vw, 360px); height: clamp(168px, 15.6vw, 336px); margin-right: 0; }
    .search-options { grid-template-columns: 1fr; gap: 20px; }
    .scan-prompt { justify-content: flex-start; padding: clamp(18px, 1.8vw, 36px); }
    .scan-prompt strong { font-size: clamp(23px, 2.2vw, 46px); }
    .scan-prompt span { font-size: clamp(16px, 1.5vw, 32px); }
    .scan-prompt svg { width: clamp(56px, 5.2vw, 110px); height: auto; }
    #search label { font-size: clamp(19px, 1.8vw, 38px); }
    input { min-height: clamp(64px, 6vw, 128px); font-size: clamp(22px, 2vw, 42px); }
    .primary { min-width: clamp(165px, 15.3vw, 330px); font-size: clamp(22px, 2vw, 42px); }
    #keyboard-toggle { width: clamp(68px, 6.3vw, 136px); }
    #keyboard-toggle > span:first-child { font-size: clamp(25px, 2.4vw, 50px); }
    [data-menu-level="home"] .menu-grid { gap: clamp(20px, 2vw, 42px); }
    [data-menu-level="home"] :is(.menu-card--vehicle,.menu-card--category) { grid-column: span 6; min-height: clamp(250px, 23.2vw, 500px); padding: clamp(22px, 2.2vw, 46px); }
    [data-menu-level="home"] :is(.menu-card--vehicle,.menu-card--category) img { height: clamp(155px, 14.4vw, 310px); }
    [data-menu-level="home"] .menu-card-copy > strong { font-size: clamp(28px, 2.6vw, 55px); }
    [data-menu-level="home"] .menu-card--offer,
    [data-menu-level="home"] .menu-card--service { grid-column: span 4; min-height: clamp(160px, 14.9vw, 320px); padding: clamp(18px, 1.8vw, 38px); }
    [data-menu-level="home"] .menu-card--offer img,
    [data-menu-level="home"] .menu-card--service img { position: static; width: clamp(52px, 4.9vw, 104px); height: clamp(48px, 4.5vw, 96px); margin-bottom: 12px; }
    [data-menu-level="home"] .menu-card--offer .menu-card-copy > strong,
    [data-menu-level="home"] .menu-card--service .menu-card-copy > strong { font-size: clamp(23px, 2.2vw, 46px); }
}
@media (max-width:480px) {
    .brand img { width: 150px; }
    .kiosk-navigation { gap: 8px; }
    .kiosk-header button { padding: 10px; font-size: 14px; }
    .intro-mascot { display: none; }
    .intro { min-height: auto; }
    h1 { font-size: 28px; }
    .menu-card-copy { padding-right: 0; }
    .menu-card-copy > strong, [data-menu-level="home"] .menu-card-copy > strong { font-size: 22px; }
    .menu-arrow { display: none; }
    .pagination { gap: 8px; }
    .pagination button { padding: 12px; }
}
/* The selected model stays visible without adding another top bar. */
.parts-path { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 24px; font-size: 16px; color: #566b7d; }
.parts-path button { min-height: 56px; padding: 8px 14px; font-size: inherit; }
.parts-path [aria-current] { color: var(--wt-navy); font-weight: 600; }
.parts-preview { width: fit-content; padding: 8px 12px; margin: 0 0 22px; border-radius: 5px; background: #fff3d6; color: #705017; font-size: 15px; }
.menu-card--model-choice, .menu-card--version, .menu-card--parts-group { min-height: 138px; justify-content: center; }
:is(.menu-card--model-choice,.menu-card--version,.menu-card--parts-group) .menu-card-copy { margin-top: 0; padding-top: 0; }
.parts-list { display: grid; gap: 14px; }
.part-row { width: 100%; min-width: 0; min-height: 100px; justify-content: space-between; text-align: left; padding: 20px 24px; }
.part-row strong { display: block; font: 600 24px var(--wt-display); }
.part-code { display: block; margin-top: 7px; font-size: 16px; font-weight: 400; color: #566b7d; overflow-wrap: anywhere; }
.part-row > span:last-child { color: #087da9; font-size: 28px; }
.part-detail { grid-column: 1 / -1; }
.part-detail h2 { margin: 14px 0; font: 600 32px var(--wt-display); }
@media (orientation:portrait) and (min-width:800px) {
    .kiosk-header button, dialog .close { min-height: clamp(60px, 5.6vw, 120px); padding: clamp(12px, 1.1vw, 24px) clamp(18px, 1.7vw, 36px); font-size: clamp(18px, 1.7vw, 36px); }
    .kiosk-header button svg { width: clamp(23px, 2.1vw, 46px); height: auto; }
    body:has(#parts-path:not([hidden])) .section-heading h2 { font-size: clamp(32px, 3vw, 64px); }
    body:has(#parts-path:not([hidden])) #menu-description { font-size: clamp(18px, 1.7vw, 36px); }
    .parts-path { font-size: clamp(18px, 1.7vw, 36px); gap: 10px 16px; }
    .parts-path button { min-height: clamp(60px, 5.6vw, 120px); }
    .parts-preview { font-size: clamp(16px, 1.5vw, 32px); }
    .menu-card--model-choice, .menu-card--version, .menu-card--parts-group { grid-column: span 6; min-height: clamp(138px, 13vw, 280px); padding: clamp(22px, 2.2vw, 46px); }
    :is(.menu-card--model-choice,.menu-card--version,.menu-card--parts-group) .menu-card-copy > strong { font-size: clamp(26px, 2.5vw, 52px); }
    :is(.menu-card--model-choice,.menu-card--version,.menu-card--parts-group) .menu-card-copy > span { font-size: clamp(16px, 1.5vw, 32px); }
    .part-row { min-height: clamp(110px, 11vw, 220px); }
    .part-row strong { font-size: clamp(26px, 2.5vw, 52px); }
    .part-code, .part-detail p { font-size: clamp(18px, 1.7vw, 36px); }
    .part-detail h2 { font-size: clamp(32px, 3vw, 64px); }
}
.menu-card--parts-method { grid-column: span 6; min-height: 190px; justify-content: center; }
.menu-card--parts-method .menu-card-copy { margin-top: 0; }
.document-controls, .parts-pagination { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.document-controls > span { flex: 1; min-width: 140px; text-align: center; }
.document-viewport { width: 100%; height: min(68vh, 1050px); overflow: auto; background: white; border: 1px solid #c5d8e3; touch-action: pan-x pan-y; overscroll-behavior: contain; }
.document-viewport img { display: block; height: auto; }
.document-note { color: #566b7d; font-size: 17px; }
.parts-filter { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; margin: 20px 0; }
.parts-filter label { grid-column: 1 / -1; font-weight: 600; }
.parts-pagination { justify-content: space-between; margin-top: 24px; }
@media (orientation:portrait) and (min-width:800px) {
    .menu-card--parts-method { min-height: clamp(190px, 18vw, 380px); }
    .menu-card--parts-method .menu-card-copy > strong { font-size: clamp(30px, 2.8vw, 60px); }
    .menu-card--parts-method .menu-card-copy > span { font-size: clamp(18px, 1.7vw, 36px); }
    .document-controls, .parts-pagination, .parts-filter, .document-note { font-size: clamp(18px, 1.7vw, 36px); }
    .document-controls button, .parts-pagination button, .parts-filter button { min-height: clamp(60px, 5.6vw, 120px); }
    .document-viewport { height: 58vh; max-height: 2300px; }
}
@media (max-width:600px) {
    .menu-card--parts-method { grid-column: 1 / -1; }
    .document-controls { gap: 8px; }
    .document-controls button { padding: 10px; }
}
.document-stage { position: relative; width: 100%; }
.document-stage > img { width: 100%; pointer-events: none; }
.document-stage .part-hotspot { position: absolute; display: block; min-height: 0; min-width: 0; margin: 0; padding: 0; gap: 0; border: 1px solid #087da966; border-radius: 2px; background: #08a0d414; cursor: pointer; touch-action: pan-x pan-y; }
.document-stage .part-hotspot:hover, .document-stage .part-hotspot:focus-visible { background: #00a4df36; border-color: #087da9; outline: 2px solid #087da9; outline-offset: 1px; }
.document-stage .part-hotspot.is-selected { background: #ffca4660; border-color: #8f5c00; outline: 2px solid #b87900; outline-offset: 1px; }
.document-selection { padding: 12px 16px; background: #e9f5fb; border-radius: 5px; color: var(--wt-navy); font-size: 18px; }
.part-page-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
#detail-content .part-popup-image { display: block; width: min(100%,360px); height: 230px; object-fit: contain; margin: 20px auto; }
@media (orientation:portrait) and (min-width:800px) {
    .document-selection { font-size: clamp(18px,1.7vw,36px); }
    .part-page-links button { min-height: clamp(60px,5.6vw,120px); font-size: clamp(18px,1.7vw,36px); }
    #detail-content .part-popup-image { width: min(100%,720px); height: clamp(230px,22vw,460px); }
}
.document-viewport { touch-action: none; cursor: grab; }
.document-viewport.is-panning { cursor: grabbing; user-select: none; }
.document-stage .part-hotspot { touch-action: none; }
@media (orientation:portrait) and (min-width:800px) {
    #detail-content .part-detail h2 { font-size: clamp(32px,3vw,64px); }
    #detail-content .part-detail h3 { font-size: clamp(22px,2vw,42px); }
}

/* Model recognition: large photos, with the name and exact version underneath. */
:is(.menu-card--model-choice, .menu-card--version):has(img) { justify-content: flex-start; gap: 16px; }
:is(.menu-card--model-choice, .menu-card--version) img { height: clamp(150px, 17vw, 360px); margin-bottom: 8px; }
:is(.menu-card--model-choice, .menu-card--version) .menu-card-copy { margin-top: auto; }
@media (orientation:portrait) and (min-width:800px) {
    .document-viewport { height: 42vh; }
}

.document-pages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
.menu-content .document-pages button { margin: 0; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; padding: 12px; border: 2px solid #d4e1e8; border-radius: 8px; background: #fff; color: var(--wt-navy); }
.document-pages img { width: 100%; height: 80px; object-fit: contain; }
.document-pages button[aria-pressed="true"] { border-color: #0089b6; background: #e8f6fb; }
@media (orientation:portrait) and (min-width:800px) {
    .document-pages { gap: clamp(12px, 1.1vw, 24px); }
    .document-pages button { font-size: clamp(18px, 1.7vw, 36px); }
    .document-pages img { height: clamp(80px, 7.5vw, 160px); }
}
@media (max-width:600px) { .document-pages { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (orientation:portrait) and (min-width:800px) {
    .document-pages ~ .document-viewport { height: 38vh; }
}
/* Assembly sets remain compact even when a manufacturer provides ten drawings. */
.document-pages { display: flex; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
.document-pages button { flex: 0 0 calc((100% - 36px) / 4); scroll-snap-align: start; }
@media (max-width:600px) { .document-pages button { flex-basis: calc((100% - 12px) / 2); } }

.document-pages button span { width: 100%; overflow-wrap: anywhere; }

.menu-image-note { display: block; margin-top: 6px; font-size: .85em; line-height: 1.4; color: var(--wt-muted, #567087); }

/* Show the product rather than the generous whitespace in the source artwork. */
.menu-card-media { display: contents; }
body[data-menu-level="home"] main { display: flex; flex-direction: column; }
body[data-menu-level="home"] main > * { flex-shrink: 0; }
body[data-menu-level="home"] #welcome { margin-bottom: 22px; }
body[data-menu-level="home"] :is(.menu-card--vehicle, .menu-card--category) { padding: 16px 24px; min-height: 264px; }
body[data-menu-level="home"] :is(.menu-card--vehicle, .menu-card--category) .menu-card-media { display: block; position: relative; overflow: hidden; height: 190px; flex: none; }
body[data-menu-level="home"] :is(.menu-card--vehicle, .menu-card--category) img { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 110%; max-width: none; height: auto; }
body[data-menu-level="home"] [data-menu="crawlers"] img { width: 86%; }
body[data-menu-level="home"] [data-menu="trucks"] img { width: 78%; }
body[data-menu-level="home"] [data-menu="electronics"] img { width: auto; height: 125%; }
.home-promotions { position: relative; margin-top: auto; overflow: hidden; border-radius: 8px; background: #07364c; color: white; }
.promotion-slide { position: relative; display: block; width: 100%; min-height: 192px; border: 0; padding: 23px 30px 50px; background: transparent; color: inherit; text-align: left; cursor: pointer; overflow: hidden; }
.promotion-slide > img { position: absolute; inset: 0 0 0 auto; width: 48%; height: 100%; object-fit: cover; }
.promotion-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #07364c 42%, rgba(7,54,76,.85) 57%, transparent 90%); }
.promotion-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; max-width: 72%; }
.promotion-label { color: #78dcf5; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.promotion-copy > strong { font-size: 27px; line-height: 1.25; color: white; }
.promotion-description { font-size: 17px; color: #e1edf2; }
.promotion-action { margin-top: 5px; font-size: 17px; font-weight: 700; color: white; }
.promotion-slide--offers > img { object-fit: contain; padding: 16px; background: #e6f5fa; }
.promotion-controls { position: absolute; z-index: 2; bottom: 0; left: 18px; display: flex; }
.promotion-controls button { display: grid; place-items: center; width: 48px; height: 44px; padding: 0; border: 0; background: transparent; color: white; cursor: pointer; }
.promotion-controls [data-promotion-index] span { width: 8px; height: 8px; border: 1px solid #b8d6df; border-radius: 50%; }
.promotion-controls [aria-pressed="true"][data-promotion-index] span { background: #78dcf5; border-color: #78dcf5; width: 23px; border-radius: 8px; }
.promotion-controls button:focus-visible, .promotion-slide:focus-visible { outline: 3px solid #78dcf5; outline-offset: -4px; }
@media (orientation: portrait) and (min-width: 800px) {
    body[data-menu-level="home"] :is(.menu-card--vehicle, .menu-card--category) { min-height: clamp(264px, 24.45vw, 528px); padding: clamp(16px, 1.48vw, 32px) clamp(24px, 2.22vw, 48px); }
    body[data-menu-level="home"] :is(.menu-card--vehicle, .menu-card--category) .menu-card-media { height: clamp(190px, 17.6vw, 380px); }
    body[data-menu-level="home"] #welcome { margin-bottom: clamp(22px, 2.04vw, 44px); }
    .promotion-slide { min-height: clamp(192px, 17.78vw, 384px); padding: clamp(23px, 2.13vw, 46px) clamp(30px, 2.78vw, 60px) clamp(50px, 4.63vw, 100px); }
    .promotion-copy { gap: clamp(4px, .37vw, 8px); }
    .promotion-label { font-size: clamp(14px, 1.3vw, 28px); }
    .promotion-copy > strong { font-size: clamp(27px, 2.5vw, 54px); }
    .promotion-description, .promotion-action { font-size: clamp(17px, 1.58vw, 34px); }
    .promotion-controls { left: clamp(18px, 1.67vw, 36px); }
    .promotion-controls button { width: clamp(48px, 4.45vw, 96px); height: clamp(44px, 4.08vw, 88px); font-size: clamp(18px, 1.67vw, 36px); }
    .promotion-controls [data-promotion-index] span { width: clamp(8px, .74vw, 16px); height: clamp(8px, .74vw, 16px); }
    .promotion-controls [aria-pressed="true"][data-promotion-index] span { width: clamp(23px, 2.13vw, 46px); }
}
@media (max-width: 799px) {
    body[data-menu-level="home"] :is(.menu-card--vehicle, .menu-card--category) { min-height: 215px; padding: 12px; }
    body[data-menu-level="home"] :is(.menu-card--vehicle, .menu-card--category) .menu-card-media { height: 145px; }
    .promotion-slide { padding: 20px 20px 50px; }
    .promotion-copy { max-width: 85%; }
    .promotion-copy > strong { font-size: 23px; }
    .promotion-description { font-size: 15px; }
}
@media (orientation: portrait) and (min-width: 800px) {
    body[data-menu-level="home"] main { padding-top: clamp(32px, 2.96vw, 64px); }
    body[data-menu-level="home"] .intro { margin-bottom: clamp(20px, 1.85vw, 40px); }
    body[data-menu-level="home"] #search { margin-bottom: clamp(20px, 1.85vw, 40px); padding-bottom: clamp(20px, 1.85vw, 40px); }
    body[data-menu-level="home"] #welcome { margin-bottom: clamp(14px, 1.3vw, 28px); }
    body[data-menu-level="home"] :is(.menu-card--offer, .menu-card--service) { min-height: clamp(140px, 12.96vw, 280px); }
}

/* Give the three service choices the same clear visual weight as the products. */
body[data-menu-level="home"] :is(.menu-card--offer, .menu-card--service) { min-height: 224px; padding: 18px; justify-content: flex-start; }
body[data-menu-level="home"] :is(.menu-card--offer, .menu-card--service) .menu-card-media { display: flex; justify-content: center; align-items: center; width: 100%; height: 128px; margin-bottom: 12px; }
body[data-menu-level="home"] :is(.menu-card--offer, .menu-card--service) img { position: static; width: 192px; height: 128px; margin: 0; object-fit: contain; mix-blend-mode: normal; }
body[data-menu-level="home"] :is(.menu-card--offer, .menu-card--service) .menu-card-copy { margin-top: auto; }
body[data-menu-level="home"] main { padding-bottom: 20px; }
@media (orientation: portrait) and (min-width: 800px) {
    body[data-menu-level="home"] main { padding-top: clamp(24px, 2.22vw, 48px); }
    body[data-menu-level="home"] .intro { min-height: clamp(136px, 12.6vw, 272px); margin-bottom: clamp(12px, 1.11vw, 24px); }
    body[data-menu-level="home"] .intro-copy { padding: clamp(8px, .74vw, 16px) 0; }
    body[data-menu-level="home"] h1 { margin-bottom: clamp(8px, .74vw, 16px); }
    body[data-menu-level="home"] .intro-mascot { height: clamp(136px, 12.6vw, 272px); width: clamp(146px, 13.5vw, 292px); }
    body[data-menu-level="home"] :is(.menu-card--offer, .menu-card--service) { min-height: clamp(224px, 20.74vw, 448px); padding: clamp(18px, 1.67vw, 36px); }
    body[data-menu-level="home"] :is(.menu-card--offer, .menu-card--service) .menu-card-media { height: clamp(128px, 11.85vw, 256px); margin-bottom: clamp(12px, 1.11vw, 24px); }
    body[data-menu-level="home"] :is(.menu-card--offer, .menu-card--service) img { width: clamp(192px, 17.78vw, 384px); height: clamp(128px, 11.85vw, 256px); }
    body[data-menu-level="home"] main { padding-bottom: clamp(20px, 1.85vw, 40px); }
}
@media (max-width: 600px) {
    body[data-menu-level="home"] :is(.menu-card--offer, .menu-card--service) { min-height: 190px; padding: 14px; }
    body[data-menu-level="home"] :is(.menu-card--offer, .menu-card--service) .menu-card-media { height: 100px; }
    body[data-menu-level="home"] :is(.menu-card--offer, .menu-card--service) img { width: 150px; height: 100px; max-width: 100%; }
}

/* Two clear help choices and a full-width Arcee banner, using the selected shop buttons. */
body[data-menu-layout="vehicle-help"] { --help-unit: 1px; }
body[data-menu-layout="vehicle-help"] main { display: block; width: 94%; max-width: none; padding: calc(28 * var(--help-unit)) 0; }
[data-menu-layout="vehicle-help"] #welcome { display: block; margin-bottom: calc(28 * var(--help-unit)); }
[data-menu-layout="vehicle-help"] #menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; gap: calc(28 * var(--help-unit)); }
[data-menu-layout="vehicle-help"] #menu-grid .menu-card { grid-column: auto; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; min-height: 0; padding: 0; gap: 0; background: #fff; border: 0; border-radius: calc(12 * var(--help-unit)); box-shadow: 0 calc(2 * var(--help-unit)) calc(7 * var(--help-unit)) #0000001c; overflow: hidden; }
[data-menu-layout="vehicle-help"] #menu-grid .menu-card-media { display: flex; position: relative; align-items: center; justify-content: center; width: 100%; height: calc(360 * var(--help-unit)); min-height: 0; padding: calc(24 * var(--help-unit)); overflow: hidden; }
[data-menu-layout="vehicle-help"] #menu-grid .menu-card img { position: static; width: 100%; max-width: 100%; height: 100%; object-fit: contain; transform: none; mix-blend-mode: multiply; }
[data-menu-layout="vehicle-help"] #menu-grid [data-menu="boats-parts"] .menu-card-media--pair { gap: 4%; }
[data-menu-layout="vehicle-help"] #menu-grid [data-menu="boats-parts"] .menu-card-media--pair img { width: 48%; height: 85%; flex: none; }
[data-menu-layout="vehicle-help"] #menu-grid .menu-card-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: calc(56 * var(--help-unit)); margin: 0; padding: calc(10 * var(--help-unit)) calc(110 * var(--help-unit)) calc(10 * var(--help-unit)) calc(24 * var(--help-unit)); background: #f3f3f3; }
[data-menu-layout="vehicle-help"] #menu-grid .menu-card-copy > strong { font: 600 calc(30 * var(--help-unit))/1.2 var(--wt-display); color: #076c94; }
[data-menu-layout="vehicle-help"] #menu-grid .menu-card-copy > span { display: none; }
[data-menu-layout="vehicle-help"] #menu-grid .menu-arrow { display: grid; place-items: center; position: absolute; right: 0; bottom: 0; width: calc(104 * var(--help-unit)); height: calc(56 * var(--help-unit)); padding-left: calc(22 * var(--help-unit)); background: var(--wt-blue, #2ab1e9); color: white; clip-path: polygon(calc(32 * var(--help-unit)) 0,100% 0,100% 100%,0 100%); }
[data-menu-layout="vehicle-help"] #menu-grid .menu-arrow svg { width: calc(32 * var(--help-unit)); height: calc(32 * var(--help-unit)); }
[data-menu-layout="vehicle-help"] #menu-grid .menu-card--tips-banner { grid-column: 1 / -1; }
[data-menu-layout="vehicle-help"] #menu-grid .menu-card--tips-banner .menu-card-media { height: auto; padding: 0; aspect-ratio: 2784 / 870; }
[data-menu-layout="vehicle-help"] #menu-grid .menu-card--tips-banner img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: normal; }
[data-menu-layout="vehicle-help"] #menu-grid .menu-card:active .menu-arrow { background: #0f2c56; }
@media (orientation: portrait) and (min-width: 800px) {
    body[data-menu-layout="vehicle-help"] { --help-unit: clamp(1px, .092593vw, 2px); }
    [data-menu-layout="vehicle-help"] #search { margin-bottom: calc(26 * var(--help-unit)); padding-bottom: calc(26 * var(--help-unit)); }
    [data-menu-layout="vehicle-help"] .section-heading h2 { font-size: calc(30 * var(--help-unit)); }
    [data-menu-layout="vehicle-help"] #menu-description { font-size: calc(18 * var(--help-unit)); margin: calc(10 * var(--help-unit)) 0 calc(28 * var(--help-unit)); }
}
@media (max-width: 799px) {
    [data-menu-layout="vehicle-help"] #menu-grid { gap: 18px; }
    [data-menu-layout="vehicle-help"] #menu-grid .menu-card-media { height: 240px; }
    [data-menu-layout="vehicle-help"] #menu-grid .menu-card-copy { padding-left: 16px; padding-right: 76px; }
    [data-menu-layout="vehicle-help"] #menu-grid .menu-card-copy > strong { font-size: 24px; }
    [data-menu-layout="vehicle-help"] #menu-grid .menu-arrow { width: 68px; }
}
@media (max-width: 520px) {
    [data-menu-layout="vehicle-help"] #menu-grid { grid-template-columns: minmax(0, 1fr); }
    [data-menu-layout="vehicle-help"] #menu-grid .menu-card-copy > strong { font-size: 23px; }
}

/* Selected XD product-card variant: a slim availability bar with an arrow. */
body.kiosk { background: #fff; }
.primary { background: var(--wt-blue, #2ab1e9); border-color: var(--wt-blue, #2ab1e9); }
.primary:hover { background: #159ed5; border-color: #159ed5; }
body[data-menu-level="home"] {
    --kiosk-unit: 1px;
    --kiosk-card-media: 248px;
    --kiosk-card-bar: 50px;
    --kiosk-card-action: 110px;
    --kiosk-service-action: 64px;
}
body[data-menu-level="home"] main { padding-top: calc(20 * var(--kiosk-unit)); }
body[data-menu-level="home"] .intro { min-height: calc(112 * var(--kiosk-unit)); margin-bottom: calc(12 * var(--kiosk-unit)); }
body[data-menu-level="home"] .intro-mascot { height: calc(112 * var(--kiosk-unit)); width: calc(120 * var(--kiosk-unit)); }
body[data-menu-level="home"] #search { margin-bottom: calc(24 * var(--kiosk-unit)); padding-bottom: calc(22 * var(--kiosk-unit)); }
body[data-menu-level="home"] #menu-grid { gap: calc(22 * var(--kiosk-unit)); }
body[data-menu-level="home"] #menu-grid .menu-card {
    padding: 0; min-height: calc(var(--kiosk-card-media) + var(--kiosk-card-bar)); gap: 0;
    border: 0; border-radius: calc(12 * var(--kiosk-unit)); background: #fff;
    box-shadow: 0 calc(2 * var(--kiosk-unit)) calc(7 * var(--kiosk-unit)) #0000001c; overflow: hidden;
}
body[data-menu-level="home"] #menu-grid .menu-card-media { display: block; position: relative; width: 100%; height: var(--kiosk-card-media); margin: 0; flex: none; }
body[data-menu-level="home"] #menu-grid [data-menu="cars"] img,
body[data-menu-level="home"] #menu-grid [data-menu="batteries"] img { width: 100%; }
body[data-menu-level="home"] #menu-grid [data-menu="boats"] img { width: 95%; }
body[data-menu-level="home"] #menu-grid [data-menu="crawlers"] img { width: 82%; }
body[data-menu-level="home"] #menu-grid [data-menu="trucks"] img { width: 76%; }
body[data-menu-level="home"] #menu-grid [data-menu="electronics"] img { height: calc(246.1 * var(--kiosk-unit)); }
body[data-menu-level="home"] #menu-grid .menu-card-copy {
    margin: 0; min-height: var(--kiosk-card-bar);
    padding: calc(8 * var(--kiosk-unit)) calc(var(--kiosk-card-action) + 10 * var(--kiosk-unit)) calc(8 * var(--kiosk-unit)) calc(22 * var(--kiosk-unit));
    justify-content: center; background: #f3f3f3;
}
body[data-menu-level="home"] #menu-grid .menu-card-copy > strong { font: 600 calc(28 * var(--kiosk-unit))/1.2 var(--wt-display); color: var(--wt-blue, #2ab1e9); }
body[data-menu-level="home"] #menu-grid .menu-arrow {
    display: grid; place-items: center; position: absolute; right: 0; bottom: 0;
    width: var(--kiosk-card-action); height: var(--kiosk-card-bar); padding-left: calc(24 * var(--kiosk-unit));
    background: var(--wt-blue, #2ab1e9); color: #fff; border: 0; border-radius: 0;
    clip-path: polygon(calc(30 * var(--kiosk-unit)) 0,100% 0,100% 100%,0 100%);
}
body[data-menu-level="home"] #menu-grid .menu-arrow svg { width: calc(32 * var(--kiosk-unit)); height: calc(32 * var(--kiosk-unit)); }
body[data-menu-level="home"] #menu-grid :is(.menu-card--offer,.menu-card--service) { min-height: calc(164 * var(--kiosk-unit) + var(--kiosk-card-bar)); }
body[data-menu-level="home"] #menu-grid :is(.menu-card--offer,.menu-card--service) .menu-card-media { height: calc(164 * var(--kiosk-unit)); display: flex; align-items: center; justify-content: center; }
body[data-menu-level="home"] #menu-grid :is(.menu-card--offer,.menu-card--service) img { width: calc(176 * var(--kiosk-unit)); height: calc(128 * var(--kiosk-unit)); filter: none; }
body[data-menu-level="home"] #menu-grid :is(.menu-card--offer,.menu-card--service) .menu-card-copy { padding-right: calc(var(--kiosk-service-action) + 4 * var(--kiosk-unit)); padding-left: calc(16 * var(--kiosk-unit)); }
body[data-menu-level="home"] #menu-grid :is(.menu-card--offer,.menu-card--service) .menu-card-copy > strong { font-size: calc(22 * var(--kiosk-unit)); }
body[data-menu-level="home"] #menu-grid :is(.menu-card--offer,.menu-card--service) .menu-arrow { width: var(--kiosk-service-action); padding-left: calc(14 * var(--kiosk-unit)); clip-path: polygon(calc(24 * var(--kiosk-unit)) 0,100% 0,100% 100%,0 100%); }
body[data-menu-level="home"] #menu-grid :is(.menu-card--offer,.menu-card--service) .menu-arrow svg { width: calc(26 * var(--kiosk-unit)); height: calc(26 * var(--kiosk-unit)); }
@media (orientation: portrait) and (min-width: 800px) {
    body[data-menu-level="home"] {
        --kiosk-unit: clamp(1px, .092593vw, 2px);
        --kiosk-card-media: calc(248 * var(--kiosk-unit));
        --kiosk-card-bar: calc(50 * var(--kiosk-unit));
        --kiosk-card-action: calc(110 * var(--kiosk-unit));
        --kiosk-service-action: calc(64 * var(--kiosk-unit));
    }
}
@media (max-width: 799px) {
    body[data-menu-level="home"] { --kiosk-card-media: 164px; --kiosk-card-action: 76px; --kiosk-service-action: 52px; }
    body[data-menu-level="home"] #menu-grid .menu-card-copy { padding-left: 14px; }
    body[data-menu-level="home"] #menu-grid .menu-card-copy > strong { font-size: 22px; }
    body[data-menu-level="home"] #menu-grid :is(.menu-card--offer,.menu-card--service) .menu-card-copy > strong { font-size: 20px; }
}
@media (max-width: 480px) {
    body[data-menu-level="home"] { --kiosk-card-bar: 72px; --kiosk-card-action: 64px; }
    body[data-menu-level="home"] #menu-grid .menu-card-copy > strong { font-size: 20px; }
    body[data-menu-level="home"] #menu-grid :is(.menu-card--offer,.menu-card--service) .menu-card-copy { padding-left: 12px; }
    body[data-menu-level="home"] #menu-grid :is(.menu-card--offer,.menu-card--service) .menu-card-copy > strong { font-size: 18px; }
}

/* More horizontal breathing room, with the selected product sizes preserved. */
@media (orientation: portrait) and (min-width: 800px) {
    body[data-menu-level="home"] {
        --kiosk-product-frame: calc((min(90vw, 1800px) - 22 * var(--kiosk-unit)) / 2);
    }
    body[data-menu-level="home"] main { width: 94%; max-width: none; }
    body[data-menu-level="home"] .kiosk-header { padding-inline: 3vw; }
    body[data-menu-level="home"] #menu-grid { column-gap: calc(32 * var(--kiosk-unit)); }
    body[data-menu-level="home"] #menu-grid [data-menu="cars"] img,
    body[data-menu-level="home"] #menu-grid [data-menu="batteries"] img { max-width: var(--kiosk-product-frame); }
    body[data-menu-level="home"] #menu-grid [data-menu="boats"] img { max-width: calc(.95 * var(--kiosk-product-frame)); }
    body[data-menu-level="home"] #menu-grid [data-menu="crawlers"] img { max-width: calc(.82 * var(--kiosk-product-frame)); }
    body[data-menu-level="home"] #menu-grid [data-menu="trucks"] img { max-width: calc(.76 * var(--kiosk-product-frame)); }
}

/* Readable category labels and immediate feedback across the whole touch target. */
body[data-menu-level="home"] #menu-grid .menu-card-copy > strong { color: #076c94; }
/* The combined entry fills the former two cards, with both familiar photos. */
body[data-menu-level="home"] #menu-grid [data-menu="cars"] { grid-column: 1 / -1; }
body[data-menu-level="home"] #menu-grid [data-menu="cars"] .menu-card-media--pair { display: flex; align-items: center; justify-content: center; gap: 5%; }
body[data-menu-level="home"] #menu-grid [data-menu="cars"] .menu-card-media--pair img { position: static; transform: none; width: 40%; max-width: var(--kiosk-product-frame, 344px); height: 85%; object-fit: contain; }
#menu-grid .menu-card:active,
#menu-grid .menu-card:active .menu-card-media,
#menu-grid .menu-card:active .menu-card-copy { background: #e7f6fc; }
body[data-menu-level="home"] #menu-grid .menu-card:active .menu-card-copy > strong { color: #0f2c56; }
body[data-menu-level="home"] #menu-grid .menu-card:active .menu-arrow { background: #0f2c56; }

/* One message and one clear action per promotional slide. */
.home-promotions { --promotion-unit: 1px; }
.promotion-slide { min-height: calc(192 * var(--promotion-unit)); padding: calc(28 * var(--promotion-unit)) calc(30 * var(--promotion-unit)) calc(58 * var(--promotion-unit)); }
.promotion-copy { gap: calc(12 * var(--promotion-unit)); }
.promotion-copy > strong { font-size: calc(34 * var(--promotion-unit)); line-height: 1.2; }
.promotion-action { display: inline-flex; align-items: center; gap: calc(12 * var(--promotion-unit)); margin: 0; padding: calc(7 * var(--promotion-unit)) calc(16 * var(--promotion-unit)); border-radius: calc(5 * var(--promotion-unit)); background: #fff; color: #0f2c56; font-size: calc(20 * var(--promotion-unit)); line-height: 1.3; }
.promotion-controls button { min-height: calc(44 * var(--promotion-unit)); height: calc(44 * var(--promotion-unit)); }
@media (orientation: portrait) and (min-width: 800px) { .home-promotions { --promotion-unit: clamp(1px, .092593vw, 2px); } }
@media (max-width: 799px) { .promotion-copy > strong { font-size: 26px; } .promotion-action { font-size: 17px; } }

/* Brand selection uses the same restrained XD action bars as the home menu. */
body:is([data-menu-layout="brand-choice"], [data-menu-layout="model-choice"], [data-menu-layout="version-choice"]) { --brand-unit: 1px; }
body:is([data-menu-layout="brand-choice"], [data-menu-layout="model-choice"], [data-menu-layout="version-choice"]) main { display: flex; flex-direction: column; width: 94%; max-width: none; padding: calc(28 * var(--brand-unit)) 0 calc(20 * var(--brand-unit)); }
body:is([data-menu-layout="brand-choice"], [data-menu-layout="model-choice"], [data-menu-layout="version-choice"]) main > * { flex-shrink: 0; }
:is([data-menu-layout="brand-choice"], [data-menu-layout="model-choice"], [data-menu-layout="version-choice"]) #welcome { margin-bottom: calc(28 * var(--brand-unit)); }
:is([data-menu-layout="brand-choice"], [data-menu-layout="model-choice"], [data-menu-layout="version-choice"]) #menu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(28 * var(--brand-unit)); }
:is([data-menu-layout="brand-choice"], [data-menu-layout="model-choice"], [data-menu-layout="version-choice"]) #menu-grid .menu-card { grid-column: auto; min-height: 0; padding: 0; gap: 0; border: 0; border-radius: calc(12 * var(--brand-unit)); background: #fff; box-shadow: 0 calc(2 * var(--brand-unit)) calc(7 * var(--brand-unit)) #0000001c; overflow: hidden; }
:is([data-menu-layout="brand-choice"], [data-menu-layout="model-choice"], [data-menu-layout="version-choice"]) #menu-grid .menu-card-media { display: flex; align-items: center; justify-content: center; width: 100%; height: calc(210 * var(--brand-unit)); padding: calc(24 * var(--brand-unit)); }
:is([data-menu-layout="brand-choice"], [data-menu-layout="model-choice"], [data-menu-layout="version-choice"]) #menu-grid img { display: block; position: static; width: 100%; height: 100%; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; }
:is([data-menu-layout="brand-choice"], [data-menu-layout="model-choice"], [data-menu-layout="version-choice"]) #menu-grid .menu-card-copy { margin: 0; padding: calc(8 * var(--brand-unit)) calc(76 * var(--brand-unit)) calc(8 * var(--brand-unit)) calc(18 * var(--brand-unit)); min-height: calc(50 * var(--brand-unit)); justify-content: center; background: #f3f3f3; }
:is([data-menu-layout="brand-choice"], [data-menu-layout="model-choice"], [data-menu-layout="version-choice"]) #menu-grid .menu-card-copy > strong { color: #076c94; font: 600 calc(26 * var(--brand-unit))/1.2 var(--wt-display); }
:is([data-menu-layout="brand-choice"], [data-menu-layout="model-choice"], [data-menu-layout="version-choice"]) #menu-grid .menu-card-copy > span { display: none; }
:is([data-menu-layout="brand-choice"], [data-menu-layout="model-choice"], [data-menu-layout="version-choice"]) #menu-grid .menu-arrow { display: grid; place-items: center; position: absolute; right: 0; bottom: 0; width: calc(70 * var(--brand-unit)); height: calc(50 * var(--brand-unit)); padding-left: calc(16 * var(--brand-unit)); background: var(--wt-blue, #2ab1e9); color: #fff; clip-path: polygon(calc(24 * var(--brand-unit)) 0,100% 0,100% 100%,0 100%); }
:is([data-menu-layout="brand-choice"], [data-menu-layout="model-choice"], [data-menu-layout="version-choice"]) #menu-grid .menu-arrow svg { width: calc(28 * var(--brand-unit)); height: calc(28 * var(--brand-unit)); }
:is([data-menu-layout="brand-choice"], [data-menu-layout="model-choice"], [data-menu-layout="version-choice"]) #menu-grid .menu-card:active .menu-arrow { background: #0f2c56; }
@media (orientation: portrait) and (min-width: 800px) {
    body:is([data-menu-layout="brand-choice"], [data-menu-layout="model-choice"], [data-menu-layout="version-choice"]) { --brand-unit: clamp(1px, .092593vw, 2px); }
    :is([data-menu-layout="brand-choice"], [data-menu-layout="model-choice"], [data-menu-layout="version-choice"]) .section-heading h2 { font-size: calc(30 * var(--brand-unit)); }
    :is([data-menu-layout="brand-choice"], [data-menu-layout="model-choice"], [data-menu-layout="version-choice"]) #menu-description { font-size: calc(18 * var(--brand-unit)); margin: calc(10 * var(--brand-unit)) 0 calc(28 * var(--brand-unit)); }
    :is([data-menu-layout="brand-choice"], [data-menu-layout="model-choice"], [data-menu-layout="version-choice"]) #search { margin-bottom: calc(26 * var(--brand-unit)); padding-bottom: calc(26 * var(--brand-unit)); }
}
@media (max-width: 799px) {
    :is([data-menu-layout="brand-choice"], [data-menu-layout="model-choice"], [data-menu-layout="version-choice"]) #menu-grid { gap: 18px; }
    :is([data-menu-layout="brand-choice"], [data-menu-layout="model-choice"], [data-menu-layout="version-choice"]) #menu-grid .menu-card-media { height: 160px; padding: 18px; }
    :is([data-menu-layout="brand-choice"], [data-menu-layout="model-choice"], [data-menu-layout="version-choice"]) #menu-grid .menu-card-copy { padding-left: 12px; padding-right: 54px; }
    :is([data-menu-layout="brand-choice"], [data-menu-layout="model-choice"], [data-menu-layout="version-choice"]) #menu-grid .menu-card-copy > strong { font-size: 21px; }
    :is([data-menu-layout="brand-choice"], [data-menu-layout="model-choice"], [data-menu-layout="version-choice"]) #menu-grid .menu-arrow { width: 48px; }
}
@media (max-width: 520px) {
    :is([data-menu-layout="brand-choice"], [data-menu-layout="model-choice"], [data-menu-layout="version-choice"]) #menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    :is([data-menu-layout="brand-choice"], [data-menu-layout="model-choice"], [data-menu-layout="version-choice"]) #menu-grid .menu-card-copy { min-height: 64px; }
    :is([data-menu-layout="brand-choice"], [data-menu-layout="model-choice"], [data-menu-layout="version-choice"]) #menu-grid .menu-card-copy > strong { font-size: 19px; }
    :is([data-menu-layout="brand-choice"], [data-menu-layout="model-choice"], [data-menu-layout="version-choice"]) #menu-grid .menu-arrow { height: 64px; }
}

/* Model photographs remain contained; exact model numbers stay visible. */
:is([data-menu-layout="model-choice"], [data-menu-layout="version-choice"]) #menu-grid .menu-card-copy { min-height: calc(50 * var(--brand-unit)); }
:is([data-menu-layout="model-choice"], [data-menu-layout="version-choice"]) #menu-grid .menu-card-copy > strong { font-size: calc(24 * var(--brand-unit)); overflow-wrap: anywhere; }
[data-menu-layout="version-choice"] #menu-grid .menu-card-copy > span { display: block; margin-top: calc(6 * var(--brand-unit)); color: #4c6173; font-size: calc(16 * var(--brand-unit)); line-height: 1.35; }
:is([data-menu-layout="model-choice"], [data-menu-layout="version-choice"]) #menu-grid .menu-image-note { font-size: calc(14 * var(--brand-unit)); }
@media (max-width: 799px) {
    :is([data-menu-layout="model-choice"], [data-menu-layout="version-choice"]) #menu-grid .menu-card-copy > strong { font-size: 20px; }
    [data-menu-layout="version-choice"] #menu-grid .menu-card-copy > span { font-size: 14px; }
}

/* A branded scroll rail keeps native touch, wheel, keyboard and drag support. */
html { scrollbar-gutter: stable; scrollbar-color: #168db8 #e8f2f7; }
@supports selector(::-webkit-scrollbar) {
    html, .kiosk * { scrollbar-color: auto; }
    ::-webkit-scrollbar { width: clamp(14px, 1.3vw, 24px); height: 14px; }
    ::-webkit-scrollbar-track { background: #e8f2f7; border-radius: 20px; }
    ::-webkit-scrollbar-thumb { background: #168db8; border: 4px solid #e8f2f7; border-radius: 20px; min-height: 72px; }
    ::-webkit-scrollbar-thumb:hover { background: #076c94; }
    ::-webkit-scrollbar-thumb:active { background: #0f2c56; }
    ::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
    ::-webkit-scrollbar-corner { background: #e8f2f7; }
}

/* Larger model photos and a title strip aligned with its blue action panel. */
:is([data-menu-layout="model-choice"], [data-menu-layout="version-choice"]) #menu-grid .menu-card-media { height: calc(240 * var(--brand-unit)); padding: calc(12 * var(--brand-unit)); }
:is([data-menu-layout="model-choice"], [data-menu-layout="version-choice"]) #menu-grid img { margin: 0; }
[data-menu-layout="model-choice"] #menu-grid .menu-card { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; }
[data-menu-layout="model-choice"] #menu-grid .menu-card-media { grid-area: 1 / 1; }
[data-menu-layout="model-choice"] #menu-grid .menu-card-copy { grid-area: 2 / 1; min-height: calc(50 * var(--brand-unit)); padding-block: calc(8 * var(--brand-unit)); }
[data-menu-layout="model-choice"] #menu-grid .menu-arrow { grid-area: 2 / 1; position: relative; justify-self: end; align-self: stretch; height: auto; min-height: calc(50 * var(--brand-unit)); }
@media (max-width: 799px) {
    :is([data-menu-layout="model-choice"], [data-menu-layout="version-choice"]) #menu-grid .menu-card-media { height: 184px; padding: 10px; }
}

/* The TT-02 example presents assembly groups as four balanced touch choices. */
[data-menu-level="tamiya-tt02-example-drawings"] #menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
[data-menu-layout="tt02-document"] main { width: 94%; max-width: none; }
[data-menu-layout="tt02-document"] .document-viewport { height: 44vh; min-height: 360px; max-height: none; }
[data-menu-layout="tt02-document"] .document-controls { flex-wrap: wrap; }
[data-menu-layout="tt02-document"] .document-controls > span { flex: 1 1 240px; }

#detail-content .tt02-part-detail .part-popup-image { width: min(100%, 680px); height: 320px; }
@media (orientation: portrait) and (min-width: 800px) {
    #detail-content .tt02-part-detail .part-popup-image { width: min(100%, 63vw); height: clamp(320px, 29.63vw, 640px); }
}

/* Browse actual parts by photograph, using the agreed grey bar and blue arrow. */
body[data-menu-layout="photo-parts"] { --parts-unit: 1px; }
[data-menu-layout="photo-parts"] main { width: 94%; max-width: none; }
[data-menu-layout="photo-parts"] #menu-grid:empty { display: none; }
[data-menu-layout="photo-parts"] #menu-content { padding: 0; border: 0; background: transparent; }
.parts-photo-toolbar { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) auto; align-items: end; gap: calc(18 * var(--parts-unit)); }
.parts-photo-toolbar label { display: block; margin-bottom: calc(8 * var(--parts-unit)); font-weight: 600; }
.parts-photo-toolbar select { width: 100%; min-width: 0; height: 62px; border: 1px solid #b2c6d2; border-radius: 6px; padding: 8px 12px; background: #f8fbfd; color: #173454; font: inherit; }
.parts-photo-toolbar select:focus-visible { outline: 3px solid #087da9; outline-offset: 4px; }
.parts-photo-count { margin: calc(24 * var(--parts-unit)) 0; color: #4c6173; }
.parts-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(28 * var(--parts-unit)); }
.parts-product-grid .menu-card { display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: auto auto; grid-column: auto; gap: 0; padding: 0; min-height: 0; border: 0; overflow: hidden; border-radius: calc(12 * var(--parts-unit)); box-shadow: 0 calc(2 * var(--parts-unit)) calc(7 * var(--parts-unit)) #0000001c; }
.parts-product-grid .menu-card-media { display: flex; position: relative; align-items: center; justify-content: center; grid-area: 1 / 1; height: calc(240 * var(--parts-unit)); width: 100%; padding: calc(16 * var(--parts-unit)) calc(14 * var(--parts-unit)); overflow: hidden; }
.parts-product-grid .menu-card-media img { display: block; width: 100%; height: 100%; margin: 0; object-fit: contain; }
.parts-photo-code { color: #4c6173; }
.parts-photo-missing { color: #667b8b; font-size: calc(20 * var(--parts-unit)); font-weight: 400; }
.parts-product-grid .menu-card-copy { grid-area: 2 / 1; margin: 0; min-height: calc(72 * var(--parts-unit)); padding: calc(10 * var(--parts-unit)) calc(74 * var(--parts-unit)) calc(10 * var(--parts-unit)) calc(18 * var(--parts-unit)); justify-content: center; background: #f3f3f3; }
.parts-product-grid .menu-card-copy strong { color: #076c94; font: 600 calc(23 * var(--parts-unit))/1.25 var(--wt-display); overflow-wrap: anywhere; }
.parts-product-grid .menu-arrow { display: grid; place-items: center; position: relative; grid-area: 2 / 1; justify-self: end; align-self: stretch; width: calc(66 * var(--parts-unit)); height: auto; padding-left: calc(16 * var(--parts-unit)); color: white; background: var(--wt-blue); clip-path: polygon(calc(24 * var(--parts-unit)) 0,100% 0,100% 100%,0 100%); }
.parts-product-grid .menu-arrow svg { width: calc(28 * var(--parts-unit)); height: calc(28 * var(--parts-unit)); }
.parts-product-grid .menu-card:active, .parts-product-grid .menu-card:active .menu-card-copy { background: #e7f6fc; }
.parts-product-grid .menu-card:active .menu-arrow { background: #0f2c56; }
.parts-photo-empty { grid-column: 1 / -1; }
@media (orientation: portrait) and (min-width: 800px) {
    body[data-menu-layout="photo-parts"] { --parts-unit: clamp(1px, .092593vw, 2px); }
    .parts-photo-toolbar label, .parts-photo-count { font-size: calc(20 * var(--parts-unit)); }
    .parts-photo-toolbar select { height: calc(62 * var(--parts-unit)); font-size: calc(20 * var(--parts-unit)); }
    .parts-photo-toolbar button { min-height: calc(62 * var(--parts-unit)); padding: calc(12 * var(--parts-unit)) calc(20 * var(--parts-unit)); font-size: calc(20 * var(--parts-unit)); }
}
@media (max-width: 799px) {
    .parts-photo-toolbar { grid-template-columns: minmax(0,1fr); }
    .parts-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
    .parts-product-grid .menu-card-media { height: 184px; padding: 14px 12px; }
    .parts-product-grid .menu-card-copy { padding-left: 12px; padding-right: 48px; }
    .parts-product-grid .menu-card-copy strong { font-size: 19px; }
    .parts-product-grid .menu-arrow { width: 44px; }
}

.parts-product-grid .menu-card { grid-template-rows: calc(240 * var(--parts-unit)) minmax(calc(72 * var(--parts-unit)), auto); }
.parts-product-grid .menu-arrow { inset: auto; }
@media (max-width: 799px) { .parts-product-grid .menu-card { grid-template-rows: 190px minmax(72px, auto); } }

/* Keep the whole action bar aligned when an exact model needs a second line. */
:is([data-menu-layout="version-choice"], [data-menu-layout="model-choice"]) #menu-grid .menu-card { display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: calc(240 * var(--brand-unit)) minmax(calc(50 * var(--brand-unit)),auto); }
:is([data-menu-layout="version-choice"], [data-menu-layout="model-choice"]) #menu-grid .menu-card-media { grid-area: 1 / 1; }
:is([data-menu-layout="version-choice"], [data-menu-layout="model-choice"]) #menu-grid .menu-card-copy { grid-area: 2 / 1; }
:is([data-menu-layout="version-choice"], [data-menu-layout="model-choice"]) #menu-grid .menu-arrow { grid-area: 2 / 1; position: relative; inset: auto; justify-self: end; align-self: stretch; height: auto; }
@media (max-width:799px) { :is([data-menu-layout="version-choice"], [data-menu-layout="model-choice"]) #menu-grid .menu-card { grid-template-rows: 184px minmax(50px,auto); } }

/* Only the choices scroll; search, context and promotions stay inside the screen. */
html.kiosk-panel { overflow: hidden; scrollbar-gutter: auto; }
html.kiosk-panel body.kiosk { height: 100dvh; min-height: 0; overflow: hidden; }
html.kiosk-panel .kiosk-header { flex: 0 0 auto; }
html.kiosk-panel body.kiosk main { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; overflow: hidden; padding-bottom: calc(20 * var(--kiosk-unit, 1px)); }
html.kiosk-panel main > * { flex-shrink: 0; }
html.kiosk-panel #search { flex: 0 0 auto; max-height: 55%; overflow-y: auto; }
html.kiosk-panel #welcome { display: flex; flex-direction: column; flex: 1 1 0; min-height: 0; margin-bottom: 0; }
html.kiosk-panel #welcome > :not(#menu-grid) { flex-shrink: 0; }
html.kiosk-panel #menu-grid { flex: 1 1 0; min-height: 0; overflow-y: auto; overflow-x: hidden; align-content: start; grid-auto-rows: max-content; scrollbar-gutter: stable; overscroll-behavior-y: contain; touch-action: pan-y; padding: 5px clamp(14px, 1.4vw, 30px) 10px 5px; }
html.kiosk-panel #home-promotions { flex: 0 0 auto; margin-top: calc(18 * var(--kiosk-unit, 1px)); }
@media (max-width: 480px) {
    html.kiosk-panel body.kiosk main { padding-top: 14px; padding-bottom: 12px; }
    html.kiosk-panel #search { margin-bottom: 12px; padding-bottom: 12px; }
    html.kiosk-panel #search label { font-size: 14px; margin-bottom: 6px; }
    html.kiosk-panel .search-options { gap: 12px; }
    html.kiosk-panel .search-row { gap: 8px; }
    html.kiosk-panel .search-row input { min-height: 44px; padding: 8px 10px; font-size: 16px; }
    html.kiosk-panel #search .primary, html.kiosk-panel #keyboard-toggle { min-height: 44px; font-size: 16px; padding: 8px 12px; }
    html.kiosk-panel .scan-prompt { min-height: 66px; padding: 10px 12px; gap: 12px; }
    html.kiosk-panel .scan-prompt svg { width: 34px; height: 34px; }
    html.kiosk-panel .scan-prompt strong { font-size: 16px; }
    html.kiosk-panel .scan-prompt span { font-size: 13px; }
    html.kiosk-panel .section-heading h2 { font-size: 22px; line-height: 1.2; }
    html.kiosk-panel #menu-description { display: none; }
    html.kiosk-panel #menu-grid { margin-top: 8px; }
    html.kiosk-panel [data-menu-layout="brand-choice"] #menu-grid .menu-card-media { height: 110px; }
    html.kiosk-panel #home-promotions { margin-top: 10px; }
    html.kiosk-panel .promotion-slide { min-height: 128px; padding: 14px 16px 38px; }
    html.kiosk-panel .promotion-copy > strong { font-size: 20px; }
    html.kiosk-panel .promotion-action { font-size: 14px; }
    html.kiosk-panel .promotion-controls { bottom: 8px; left: 16px; }
}

/* Shared exact-model/part card: full name, framed photo, low code/arrow bar. */
[data-menu-layout="version-choice"] #menu-grid { --choice-unit: var(--brand-unit); }
.parts-product-grid { --choice-unit: var(--parts-unit); }
:is([data-menu-layout="version-choice"] #menu-grid, .parts-product-grid) .menu-card {
    grid-template-rows: minmax(calc(96 * var(--choice-unit)), auto) calc(240 * var(--choice-unit)) calc(50 * var(--choice-unit));
}
:is([data-menu-layout="version-choice"] #menu-grid, .parts-product-grid) .menu-card-name {
    grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: center;
    padding: calc(16 * var(--choice-unit)) calc(18 * var(--choice-unit)) calc(8 * var(--choice-unit));
    text-align: left; overflow-wrap: anywhere;
}
:is([data-menu-layout="version-choice"] #menu-grid, .parts-product-grid) .menu-card-name > strong { color: #0f2c56; font: 600 calc(24 * var(--choice-unit))/1.23 var(--wt-display); }
:is([data-menu-layout="version-choice"] #menu-grid, .parts-product-grid) .menu-card-name > span { margin-top: calc(6 * var(--choice-unit)); color: #4c6173; font-size: calc(16 * var(--choice-unit)); line-height: 1.3; }
:is([data-menu-layout="version-choice"] #menu-grid, .parts-product-grid) .menu-card-media { grid-area: 2 / 1; }
:is([data-menu-layout="version-choice"] #menu-grid, .parts-product-grid) .menu-card-copy { grid-area: 3 / 1; min-height: calc(50 * var(--choice-unit)); padding-block: calc(4 * var(--choice-unit)); }
:is([data-menu-layout="version-choice"] #menu-grid, .parts-product-grid) .menu-card-copy > strong { font: 500 calc(16 * var(--choice-unit))/1.25 var(--wt-display); }
:is([data-menu-layout="version-choice"] #menu-grid, .parts-product-grid) .menu-arrow { grid-area: 3 / 1; }
@media (max-width: 799px) {
    :is([data-menu-layout="version-choice"] #menu-grid, .parts-product-grid) .menu-card { grid-template-rows: minmax(96px, auto) 184px 50px; }
    :is([data-menu-layout="version-choice"] #menu-grid, .parts-product-grid) .menu-card-name > strong { font-size: 20px; }
    :is([data-menu-layout="version-choice"] #menu-grid, .parts-product-grid) .menu-card-name > span { font-size: 14px; }
    :is([data-menu-layout="version-choice"] #menu-grid, .parts-product-grid) .menu-card-copy > strong { font-size: 15px; }
}

@media (max-width: 799px) { .parts-product-grid .menu-card-copy > strong.parts-photo-code { font-size: 13px; } }

/* Section headings live inside the same integrated scrolling model grid. */
[data-menu-layout="model-choice"] #menu-grid .menu-section-title {
    grid-column: 1 / -1;
    margin: 0;
    padding: calc(18 * var(--brand-unit)) 0 calc(8 * var(--brand-unit));
    color: #0f2c56;
    border-bottom: 1px solid #dce8ee;
    font: 600 calc(27 * var(--brand-unit))/1.3 var(--wt-display);
}
[data-menu-layout="model-choice"] #menu-grid .menu-section-title:first-child { padding-top: 0; }

/* Advice shares the existing white cards, grey footer and cyan arrow. */
body:is([data-menu-layout="advice-menu"],[data-menu-layout="purchase-advice"]) { --advice-unit:clamp(.72px,.0926vw,2px); }
[data-menu-layout="advice-menu"] #menu-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
[data-menu-layout="advice-menu"] #menu-grid .menu-card { display:grid;grid-template-rows:calc(230 * var(--advice-unit)) auto;gap:0;padding:0;overflow:hidden; }
[data-menu-layout="advice-menu"] .menu-card-media { width:100%;height:100%;padding:calc(24 * var(--advice-unit)); }
[data-menu-layout="advice-menu"] .menu-card-media img { width:100%;height:100%;object-fit:contain; }
[data-menu-layout="advice-menu"] .menu-card-copy { background:#f3f3f3;padding:calc(12 * var(--advice-unit));padding-right:calc(58 * var(--advice-unit));min-height:calc(60 * var(--advice-unit)); }
[data-menu-layout="advice-menu"] .menu-card-copy strong { color:#0781ac;font-size:calc(23 * var(--advice-unit)); }
[data-menu-layout="advice-menu"] .menu-card-copy > span { display:none; }
[data-menu-layout="advice-menu"] .menu-arrow { inset:auto 0 0 auto;background:#24b0e5;color:white;clip-path:polygon(25% 0,100% 0,100% 100%,0 100%);height:calc(60 * var(--advice-unit));width:calc(64 * var(--advice-unit)); }
[data-menu-layout="purchase-advice"] #menu-grid { display:none; }
html.kiosk-panel [data-menu-layout="purchase-advice"] #welcome > #menu-content { flex:1 1 0;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;overscroll-behavior:contain;padding:calc(8 * var(--advice-unit)) calc(14 * var(--advice-unit)) calc(22 * var(--advice-unit)) 0; }
[data-menu-layout="purchase-advice"] #menu-content { --parts-unit:var(--advice-unit);font-size:calc(23 * var(--advice-unit)); }
.advice-toolbar { display:flex;gap:calc(20 * var(--advice-unit));align-items:center;justify-content:space-between;margin-bottom:calc(22 * var(--advice-unit)); }
.advice-toolbar > div { flex:1;min-width:0; }
.advice-toolbar label { display:block;margin-bottom:8px;font-weight:600; }
.advice-toolbar input,.advice-toolbar select { width:100%;min-width:0;min-height:54px;padding:10px 14px;border:1px solid #c5d8e3;border-radius:6px;background:#fff;color:var(--wt-navy);font:inherit; }
[data-menu-layout="purchase-advice"] button { min-height:54px;font-size:calc(22 * var(--advice-unit)); }
.advice-question { font:600 calc(32 * var(--advice-unit))/1.3 var(--wt-display);margin:calc(22 * var(--advice-unit)) 0 calc(10 * var(--advice-unit)); }
.advice-help,.advice-model-facts { color:#526d80;font-size:calc(21 * var(--advice-unit)); }
.advice-options { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:calc(22 * var(--advice-unit));margin:calc(30 * var(--advice-unit)) 0; }
.advice-options .menu-card { display:flex;position:relative;align-items:stretch;text-align:left;padding:0;min-height:calc(170 * var(--advice-unit));overflow:hidden;border:1px solid #e2e9ee;box-shadow:0 2px 7px #00000012; }
.advice-options .menu-card-copy { display:flex;flex-direction:column;gap:calc(12 * var(--advice-unit));padding:calc(24 * var(--advice-unit));padding-right:calc(68 * var(--advice-unit)); }
.advice-options .menu-card-copy strong { font:600 calc(27 * var(--advice-unit))/1.25 var(--wt-display); }
.advice-options .menu-card-copy > span { font-size:calc(21 * var(--advice-unit));line-height:1.45; }
.advice-options .menu-arrow { position:absolute;inset:auto 0 0 auto;width:calc(62 * var(--advice-unit));height:calc(48 * var(--advice-unit));background:#24b0e5;color:white;clip-path:polygon(25% 0,100% 0,100% 100%,0 100%); }
.advice-options [aria-pressed="true"] { border-color:#24b0e5;background:#eef9fd; }
[data-menu-layout="purchase-advice"] progress { width:100%;height:calc(8 * var(--advice-unit));accent-color:#24b0e5; }
.advice-summary { display:flex;flex-wrap:wrap;gap:10px;margin-bottom:calc(22 * var(--advice-unit)); }
.advice-summary button { background:#edf8fc;font-size:calc(19 * var(--advice-unit));padding:8px 12px; }
.advice-comparebar { display:flex;gap:calc(16 * var(--advice-unit));align-items:center;flex-wrap:wrap;position:sticky;top:0;z-index:5;background:#fff;border-block:1px solid #e0edf3;padding:calc(14 * var(--advice-unit)) 0;margin-bottom:calc(24 * var(--advice-unit)); }
.advice-comparebar > span { margin-right:auto; }
.advice-model { min-width:0;display:flex;flex-direction:column;gap:calc(12 * var(--advice-unit)); }
.advice-model .menu-card { width:100%; }
.advice-model .menu-card-name { min-height:calc(105 * var(--advice-unit)); }
.advice-model > p { margin:0; }
.advice-model > button:last-child { width:100%;margin-top:auto; }
.advice-model .menu-card-copy strong { font-size:calc(18 * var(--advice-unit)); }
.advice-comparison { width:100%;border-collapse:collapse;table-layout:fixed;font-size:calc(21 * var(--advice-unit)); }
.advice-comparison th,.advice-comparison td { overflow-wrap:anywhere;text-align:left;vertical-align:top;padding:calc(16 * var(--advice-unit));border:1px solid #deebf1; }
.advice-comparison th { background:#f5f9fb;font-weight:600; }
.advice-comparison img { width:100%;height:calc(170 * var(--advice-unit));object-fit:contain; }
.advice-comparison th:first-child { width:18%; }
.advice-comparison th button { padding:8px;min-width:0;width:100%;font-size:inherit; }
.advice-empty { padding:calc(30 * var(--advice-unit));background:#f5f9fb;border:1px solid #deebf1;border-radius:8px; }
.advice-facts { display:grid;grid-template-columns:auto 1fr;gap:8px 16px; }
.advice-facts dt { font-weight:600; }.advice-facts dd { margin:0; }
.advice-checklist li { margin-bottom:18px; }.advice-checklist p { margin:4px 0; }
[data-menu-layout="purchase-advice"] #menu-content .advice-product-grid .menu-card { grid-template-rows:calc(160 * var(--advice-unit)) calc(190 * var(--advice-unit)) calc(42 * var(--advice-unit)); }
[data-menu-layout="purchase-advice"] #menu-content .advice-product-grid .menu-card-name { min-height:0;justify-content:flex-start; }
[data-menu-layout="purchase-advice"] #menu-content .advice-product-grid .menu-card-name > strong { font-size:calc(20 * var(--advice-unit)); }
[data-menu-layout="purchase-advice"] #menu-content .advice-product-grid .menu-card-media { height:calc(190 * var(--advice-unit)); }
[data-menu-layout="purchase-advice"] #menu-content .advice-product-grid .menu-card-copy { min-height:0; }
[data-menu-layout="purchase-advice"] #menu-content .advice-product-grid .menu-arrow { height:calc(42 * var(--advice-unit)); }
[data-menu-layout="purchase-advice"] .advice-toolbar h3 { margin:0;font-size:calc(24 * var(--advice-unit)); }
[data-menu-layout="purchase-advice"] .advice-status { margin:calc(12 * var(--advice-unit)) 0;font-size:calc(20 * var(--advice-unit)); }
[data-menu-layout="purchase-advice"] .advice-summary { margin-bottom:calc(12 * var(--advice-unit));gap:calc(6 * var(--advice-unit)); }
[data-menu-layout="purchase-advice"] .advice-summary button { font-size:calc(17 * var(--advice-unit));margin:0; }
@media(max-width:799px){[data-menu-layout="advice-menu"] #menu-grid,.advice-product-grid {grid-template-columns:repeat(2,minmax(0,1fr));}.advice-toolbar{flex-wrap:wrap;}.advice-toolbar>div{flex-basis:100%;}}
@media(max-width:480px){.advice-options{grid-template-columns:1fr;}.advice-comparison th,.advice-comparison td{padding:6px;}.advice-comparison{font-size:13px;}.advice-comparison th button{font-size:12px;}.advice-product-grid .menu-card-media{height:150px;}.advice-product-grid{gap:16px;}}

/* Arcee's visual choice journey. Scoped to the five questions only. */
[data-menu-layout="purchase-advice"] #menu-content[data-advice-view="questions"] { border:0;border-radius:0;background:#fff;padding-top:0;color:var(--wt-navy); }
[data-menu-layout="purchase-advice"] #menu-content .guide-journey { display:flex;gap:calc(10 * var(--advice-unit));margin:0 0 calc(18 * var(--advice-unit)); }
[data-menu-layout="purchase-advice"] #menu-content .guide-journey button { flex:1;min-width:0;display:flex;align-items:center;justify-content:center;gap:calc(8 * var(--advice-unit));margin:0;padding:calc(10 * var(--advice-unit)) calc(8 * var(--advice-unit));font-size:calc(17 * var(--advice-unit));border:0;border-bottom:calc(4 * var(--advice-unit)) solid #dce9ef;background:#f5f8fa;border-radius:5px 5px 0 0; }
.guide-journey svg { width:calc(24 * var(--advice-unit));height:calc(24 * var(--advice-unit));flex:none; }
[data-menu-layout="purchase-advice"] #menu-content .guide-journey button[aria-current] { color:#08749d;background:#e6f6fd;border-color:#24b0e5; }
[data-menu-layout="purchase-advice"] #menu-content .guide-journey button.is-complete { border-color:#24b0e5; }
[data-menu-layout="purchase-advice"] #menu-content .guide-journey button:disabled { opacity:1;color:#758896; }
.guide-host { display:flex;justify-content:space-between;align-items:center;gap:calc(20 * var(--advice-unit));padding:calc(14 * var(--advice-unit)) 0 calc(22 * var(--advice-unit)); }
.guide-host > div { min-width:0; }.guide-host > img { width:calc(112 * var(--advice-unit));height:calc(136 * var(--advice-unit));object-fit:contain;flex:none; }
.guide-eyebrow { color:#08749d;font-size:calc(15 * var(--advice-unit));letter-spacing:.09em;font-weight:700; }
[data-menu-layout="purchase-advice"] #menu-content .guide-host .advice-question { font-size:calc(38 * var(--advice-unit));margin:calc(10 * var(--advice-unit)) 0;line-height:1.18; }
.guide-host .advice-help { font-size:calc(19 * var(--advice-unit));line-height:1.4;margin:0; }
.guide-choices { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:calc(22 * var(--advice-unit)); }
[data-menu-layout="purchase-advice"] #menu-content .guide-choice { display:flex;flex-direction:column;position:relative;min-width:0;margin:0;padding:0;text-align:left;border:1px solid #e1e9ee;box-shadow:0 3px 9px #0c304316;border-radius:calc(10 * var(--advice-unit));overflow:hidden;background:white;color:var(--wt-navy);transition:transform .15s ease,box-shadow .15s ease; }
.guide-art { display:flex;align-items:center;justify-content:center;position:relative;height:calc(205 * var(--advice-unit));width:100%;overflow:hidden;background:radial-gradient(ellipse at center,#fafdff,#e8f3f8); }
.guide-art > img { display:block;max-width:90%;width:90%;height:90%;object-fit:contain; }
.guide-caption { display:flex;flex-direction:column;position:relative;width:100%;background:#f3f3f3;padding:calc(14 * var(--advice-unit)) calc(64 * var(--advice-unit)) calc(14 * var(--advice-unit)) calc(18 * var(--advice-unit));gap:calc(5 * var(--advice-unit)); }
.guide-caption strong { font:600 calc(25 * var(--advice-unit))/1.2 var(--wt-display);color:#057da7; }
.guide-caption > span:not(.guide-arrow) { font-size:calc(17 * var(--advice-unit));line-height:1.3;color:#52697c; }
.guide-arrow { position:absolute;right:0;bottom:0;width:calc(58 * var(--advice-unit));height:calc(42 * var(--advice-unit));background:#24b0e5;color:white;clip-path:polygon(25% 0,100% 0,100% 100%,0 100%);display:grid;place-items:center;font:400 calc(30 * var(--advice-unit))/1 sans-serif;padding-left:calc(8 * var(--advice-unit)); }
[data-menu-layout="purchase-advice"] #menu-content .guide-choice:focus-visible { outline:calc(4 * var(--advice-unit)) solid #0f2c56;outline-offset:3px; }
[data-menu-layout="purchase-advice"] #menu-content .guide-choice[aria-pressed="true"] { outline:3px solid #24b0e5;outline-offset:-3px; }
[data-menu-layout="purchase-advice"] #menu-content .guide-choice:active { transform:scale(.98);box-shadow:0 0 0 3px #24b0e5; }
.guide-footer { display:flex;align-items:center;flex-wrap:wrap;gap:calc(12 * var(--advice-unit));margin-top:calc(18 * var(--advice-unit));font-size:calc(16 * var(--advice-unit));color:#52697c; }.guide-footer > span { flex:1; }
[data-menu-layout="purchase-advice"] #menu-content .guide-footer button { font-size:calc(17 * var(--advice-unit));margin:0; }
@media(prefers-reduced-motion:no-preference){.guide-choices{animation:guide-arrive .22s ease-out;}@keyframes guide-arrive{from{opacity:.4;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}
@media(max-width:799px){.guide-journey button{flex-direction:column;}.guide-host>img{width:70px;height:90px;}.guide-art{height:160px;}.guide-caption strong{font-size:20px;}.guide-caption>span:not(.guide-arrow){font-size:14px;}.guide-choices{gap:14px;}.guide-host .advice-help{font-size:15px;}}
@media(max-width:480px){.guide-choices{grid-template-columns:1fr;}.guide-journey svg{width:20px;height:20px;}[data-menu-layout="purchase-advice"] #menu-content .guide-journey button{font-size:11px;gap:4px;padding:8px 2px;}.guide-host>img{width:55px;height:75px;}[data-menu-layout="purchase-advice"] #menu-content .guide-host .advice-question{font-size:27px;}.guide-eyebrow{font-size:10px;}.guide-amount{font-size:34px;}}

[data-menu-layout="purchase-advice"] #welcome:has(#menu-content[data-advice-view="questions"]) > .section-heading,
[data-menu-layout="purchase-advice"] #welcome:has(#menu-content[data-advice-view="questions"]) > #menu-description { display:none; }

/* Experience uses the same full photographic panels as the driving examples. */
.advice-price { display:flex;align-items:baseline;flex-wrap:wrap;column-gap:calc(10 * var(--advice-unit,1px));row-gap:4px;margin:calc(10 * var(--advice-unit,1px)) 0; }
.advice-price > span { flex-basis:100%;color:#52697c;font-size:calc(16 * var(--advice-unit,1px));font-weight:400; }
.advice-price > strong { color:#0f2c56;font:700 calc(28 * var(--advice-unit,1px))/1.2 var(--wt-body,sans-serif); }
.advice-price > del { color:#637889;font-size:calc(18 * var(--advice-unit,1px)); }
.advice-model .advice-price { margin:0; }

/* Every question uses full photographic scenes in the same natural proportions. */
.guide-atlas { aspect-ratio:3/2;height:auto; }
.guide-atlas > img { position:absolute;width:200%;height:200%;max-width:none;margin:0;object-fit:fill;transform:none;opacity:1; }
.guide-budget-tag { position:absolute;bottom:calc(16 * var(--advice-unit));left:calc(16 * var(--advice-unit));padding:calc(10 * var(--advice-unit)) calc(18 * var(--advice-unit));background:#fff;color:#0f2c56;border-left:calc(5 * var(--advice-unit)) solid #24b0e5;border-radius:4px;box-shadow:0 3px 12px #0f2c5624;font:700 calc(30 * var(--advice-unit))/1.15 var(--wt-display); }
@media(max-width:480px){.guide-budget-tag{font-size:25px;}}
