/* 29 Nov 2026 (mobile UX lane A, D21/D26): the store's own font (the same files as every store page, so they come from the cache) */@font-face{font-family:Sarh;src:url('/assets/fonts/IBMPlexSansArabic-arabic-400.woff2') format('woff2');font-weight:400;font-display:swap}@font-face{font-family:Sarh;src:url('/assets/fonts/IBMPlexSansArabic-arabic-700.woff2') format('woff2');font-weight:700 900;font-display:swap}@font-face{font-family:SarhLatin;src:url('/assets/fonts/IBMPlexSansArabic-latin-400.woff2') format('woff2');font-weight:400;font-display:swap}@font-face{font-family:SarhLatin;src:url('/assets/fonts/IBMPlexSansArabic-latin-700.woff2') format('woff2');font-weight:700 900;font-display:swap}
:root{--ink:#153b32;--green:#16634d;--muted:#596c65;--line:#dce5df;--paper:#f6f8f4;--gold:#b77920;font-family:Sarh,SarhLatin,Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,a{ -webkit-tap-highlight-color:transparent}button,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #c39234;outline-offset:4px}[hidden]{display:none!important}.skip-link{position:fixed;top:-100px;background:white;padding:12px;z-index:99999}.skip-link:focus{top:12px}.site-header{max-width:1200px;margin:auto;min-height:90px;padding:16px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;font-weight:700;font-size:20px;white-space:nowrap}.brand img{object-fit:contain}.brand small{display:block;font-size:12px;font-weight:400;color:var(--muted)}nav{display:flex;gap:24px;align-items:center;flex-wrap:wrap}.site-header nav a,.site-header nav button{font-size:14px;min-height:44px;display:inline-flex;align-items:center}.site-header nav button{border:0;background:transparent;color:var(--green);font-weight:700;padding:0}main{max-width:1120px;margin:auto;padding:0 28px}.hero{max-width:850px;margin:auto;padding:62px 0 36px;text-align:center}.eyebrow{font-size:13px;font-weight:700;color:var(--green);letter-spacing:.02em;margin:0 0 12px}h1,h2,h3,p{margin-top:0}h1{font-size:48px;line-height:1.45;margin-bottom:16px;letter-spacing:-1px}h1 span{color:var(--green)}h2{font-size:25px;line-height:1.5;margin-bottom:10px}h3{font-size:18px;line-height:1.7}p{line-height:1.9}.hero-copy{font-size:17px;color:var(--muted);max-width:650px;margin:0 auto 28px}.search-card{background:#fff;border:1px solid var(--line);box-shadow:0 12px 36px #123d3208;border-radius:24px;padding:24px;text-align:right}.search-card>label{display:block;font-size:15px;font-weight:700;margin-bottom:10px}.search-row{display:flex;gap:12px}.search-row input{width:100%;min-width:0;min-height:58px;border:1px solid #b9cec2;border-radius:12px;padding:12px 16px;background:#fbfcfa;color:var(--ink);font-size:18px}.button{display:inline-flex;justify-content:center;align-items:center;gap:12px;min-height:48px;border-radius:12px;padding:11px 21px;border:1px solid transparent;font:700 14px Sarh,SarhLatin,Arial,sans-serif;text-align:center;text-decoration:none}.button:hover{text-decoration:none;filter:brightness(.96)}.primary{background:var(--green);color:#fff}.secondary{background:white;border-color:var(--line);color:var(--ink)}.text-button{background:transparent;color:var(--green);padding-inline:12px}.button:disabled{opacity:.6;cursor:wait}.search-row .button{flex-shrink:0}.search-note{font-size:12px;color:var(--muted);margin:14px 0 0}.search-card details{margin-top:16px;border-top:1px solid var(--line);padding-top:12px}summary{cursor:pointer;font-size:13px;line-height:1.8}summary span{color:var(--muted);font-size:11px}.vehicle-fields{display:grid;grid-template-columns:2fr 2fr 1fr;gap:12px;margin-top:14px}.vehicle-fields label{font-size:12px}.vehicle-fields input{display:block;width:100%;min-height:44px;border:1px solid var(--line);border-radius:8px;padding:8px;min-width:0}.suggestions{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-top:18px}.suggestions button{border:1px solid var(--line);background:transparent;border-radius:30px;color:var(--ink);padding:9px 15px;min-height:42px}.inspection-banner{display:flex;gap:22px;align-items:center;padding:28px;border:1px solid #e4d8bb;border-radius:22px;background:#fbf7ee;margin:20px 0 58px}.inspection-banner>div{flex:1}.inspection-banner h2{font-size:23px;margin-bottom:6px}.inspection-banner p:not(.eyebrow){margin:0;font-size:14px;color:var(--muted)}.gift-icon{display:flex;align-items:center;justify-content:center;width:62px;height:62px;border-radius:19px;background:#eee4cc;color:#856016;font-size:35px;flex-shrink:0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.section-heading a{font-size:13px;font-weight:700;white-space:nowrap}.section-heading h2{margin-bottom:0}.section-heading .eyebrow{margin-bottom:5px}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.product-card{display:flex;flex-direction:column;gap:12px;background:white;border:1px solid var(--line);border-radius:18px;padding:20px;min-width:0}.product-card .badge{align-self:flex-start;border-radius:7px;font-size:11px;font-weight:700;padding:4px 9px;background:#eaf4ee;color:#266546}.product-card .badge.catalog{background:#f0f0f6;color:#5a5875}.product-card h3{font-size:17px;margin:0;overflow-wrap:anywhere}.part-number{font:14px ui-monospace,monospace;color:var(--muted);overflow-wrap:anywhere;text-align:right}.product-card p{font-size:12px;margin:0;color:var(--muted)}.product-card .price{font-weight:700;font-size:22px;color:var(--ink)}.product-card .button{margin-top:auto}.product-photo{height:128px;object-fit:contain;width:100%;border-radius:10px}.results{padding:12px 0 30px;scroll-margin-top:20px}.notice{padding:16px;border-radius:12px;background:#f7eedc;color:#685321;margin:12px 0;line-height:1.9}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}.stock-section{margin-bottom:50px}.help-strip{border-top:1px solid var(--line);padding:28px 0 45px;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.help-strip h2{font-size:20px}.help-strip p{color:var(--muted);font-size:14px;margin:0}.help-strip .actions{margin:0}.help-strip #assistantStatus{width:100%}footer{background:#eaf0e9;padding:32px max(28px,calc((100vw - 1064px)/2));display:flex;gap:32px;justify-content:space-between;font-size:12px}footer p{margin:8px 0;color:var(--muted)}footer nav{max-width:420px;align-content:flex-start;gap:12px 22px}footer a{min-height:32px}dialog{font:inherit;color:var(--ink);border:1px solid var(--line);border-radius:24px;box-shadow:0 30px 90px #09251c30;padding:0;max-height:92dvh;max-width:calc(100% - 28px)}dialog::backdrop{background:#102b2666;backdrop-filter:blur(3px)}body:has(dialog[open]){overflow:hidden}.close{border:1px solid var(--line);background:white;color:var(--ink);border-radius:50%;font-size:26px;width:44px;height:44px;line-height:1;flex-shrink:0}.welcome-dialog{width:490px;padding:38px 30px 30px;text-align:center}.welcome-dialog>.close{position:absolute;top:14px;left:14px}.welcome-dialog .gift-icon{margin:0 auto 20px;width:76px;height:76px;font-size:42px}.welcome-dialog h2{font-size:24px;line-height:1.8;margin-bottom:15px}.welcome-dialog p:not(.eyebrow){font-size:14px;color:var(--muted)}.welcome-dialog .button{width:100%;margin-top:10px}.inspection-dialog{width:1060px}.dialog-head{display:flex;align-items:center;justify-content:space-between;padding:22px 26px;border-bottom:1px solid var(--line)}.dialog-head h2{margin:0}.dialog-head .eyebrow{margin:0}.inspection-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:26px;padding:26px}.centers-section{min-width:0}#inspectionMap{height:265px;background:#e9eee7;border:1px solid var(--line);border-radius:14px;overflow:hidden;position:relative;isolation:isolate}#inspectionMap>p{padding:24px}.center-row{padding:15px 0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr auto;gap:5px 12px;align-items:center}.center-row h4{font-size:14px;margin:0}.center-row p{grid-column:1;font-size:12px;color:var(--muted);margin:0}.center-row .button{grid-column:2;grid-row:1/3;font-size:12px;padding:8px 12px}.center-select{font:700 14px Sarh,SarhLatin,Arial,sans-serif;color:var(--ink);border:0;background:transparent;text-align:right;padding:0;min-height:38px}.map-pin{background:var(--green);color:white;border:2px solid white;border-radius:50%;box-shadow:0 2px 8px #0004;text-align:center;font:700 14px Sarh,SarhLatin,Arial,sans-serif;line-height:28px}.leaflet-container{font-family:Sarh,SarhLatin,Arial,sans-serif}.leaflet-control-attribution{font-family:Arial,sans-serif}.ticket-section{min-width:0}.ticket-card{border:1px solid #c9daca;border-radius:20px;background:#f5f9f1;padding:25px 18px;text-align:center}.ticket-card h3,.ticket-card h1{font-size:22px;line-height:1.7;margin-bottom:12px}.ticket-card canvas{max-width:100%;width:210px;height:auto;border-radius:12px}.ticket-card strong{display:block;font-size:15px}.ticket-card p:not(.eyebrow){font-size:12px;color:var(--muted);margin:10px 0 0}.ticket-card .ticket-reference{font:12px ui-monospace,monospace;overflow-wrap:anywhere;line-height:1.6;margin:12px 0}.ticket-actions{display:grid;gap:10px;margin-top:14px}.muted,#ticketStatus,#stockStatus,#searchStatus{color:var(--muted);font-size:14px;line-height:1.9}.ticket-page main{max-width:540px;padding-top:35px}.back-link{display:inline-block;margin-bottom:25px;font-size:14px}.ticket-page .ticket-card{background:white}.ticket-page{padding-bottom:30px}
@media(max-width:760px){.site-header{padding:14px 20px;gap:14px;flex-wrap:wrap}.site-header nav{width:100%;justify-content:space-between;gap:12px}.brand{font-size:18px}.brand img{height:39px;width:64px}.hero{padding-top:36px}h1{font-size:36px}.hero-copy{font-size:15px}main{padding:0 18px}.search-card{padding:18px;border-radius:18px}.search-row{flex-direction:column}.search-row input{font-size:16px;min-height:54px}.search-row .button{min-height:50px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.inspection-banner{padding:22px;gap:15px;flex-wrap:wrap;margin-bottom:38px}.inspection-banner>.button{width:100%}.inspection-banner .gift-icon{width:46px;height:46px;font-size:28px}.inspection-banner h2{font-size:20px}.inspection-banner p:not(.eyebrow){font-size:12px}.section-heading h2{font-size:21px}.inspection-layout{grid-template-columns:1fr;padding:18px;gap:22px}.dialog-head{padding:18px}.dialog-head h2{font-size:20px}.ticket-section{grid-row:1}.centers-section{grid-row:2}.ticket-card canvas{width:180px}.inspection-dialog .ticket-card{padding:18px}.inspection-dialog .ticket-actions{grid-template-columns:1fr 1fr}.inspection-dialog .ticket-actions .button{font-size:12px;padding:8px}.center-row{grid-template-columns:1fr}.center-row .button{grid-column:1;grid-row:auto;justify-self:start}.welcome-dialog{padding:34px 22px 24px}.welcome-dialog h2{font-size:21px}.welcome-dialog .gift-icon{width:62px;height:62px;font-size:35px}.help-strip .actions{width:100%}footer{padding:28px 20px;flex-direction:column;gap:22px}.product-card{padding:15px}.product-card h3{font-size:15px}.product-card .price{font-size:19px}.product-card .button{font-size:12px;padding:8px}.vehicle-fields{gap:8px}.vehicle-fields input{font-size:13px}}
@media(max-width:420px){.product-grid{grid-template-columns:1fr}.hero h1{font-size:32px}.site-header nav a,.site-header nav button{font-size:12px}.section-heading{gap:8px}.section-heading h2{font-size:19px}.section-heading a{font-size:12px}.inspection-banner .gift-icon{display:none}.help-strip .button{width:100%}}
@media print{body{background:white}.ticket-page main{padding:0;max-width:500px}.back-link,.ticket-actions,#ticketStatus,#retryTicket{display:none!important}.ticket-card{border:1px solid #ccc;break-inside:avoid}}
/* 2026-11-21 QA: on touch screens the stock link and the optional car details toggle were 23px tall. */
@media(pointer:coarse){.section-heading>a{display:inline-block;padding:10px 0}details>summary{padding-block:10px}}
/* 29 Nov 2026 (owner): a stock item is the wide part ID card; the block under it is its own panel */
.product-grid>.pid-item{display:flex;flex-direction:column;gap:12px;min-width:0;padding:0;border:0;background:none;box-shadow:none}
.product-grid .pid-item-tail{display:flex;flex-direction:column;gap:4px;padding:8px 14px;border:1px solid #e3dac3;border-radius:14px;background:#fffdf7}
.product-grid .pid-item-note{margin:0;font-size:.8125rem;line-height:1.5;color:#45554e}
.product-grid .pid-item-link{display:inline-flex;align-items:center;min-height:44px;font-weight:700;color:#174a3b}

/* 29 Nov 2026 (mobile UX lane A) */
/* D21: with the store's header from design-shell.js the page's own header steps aside (it stays for a page without scripts) */
.ds-header~.site-header{display:none}
body.visitor-page{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}
@media(min-width:761px){body.visitor-page{padding-bottom:0}}
/* D21/D22: every tap on these pages is at least 44 px on screen (the page is zoomed .9) */
.site-header nav a,.site-header nav button{min-height:49px}
.center-select{min-height:50px;display:flex;align-items:center;width:100%;font-size:15px}
.map-pin{width:50px!important;height:50px!important;margin-left:-25px!important;margin-top:-25px!important;line-height:46px;font-size:17px}
.leaflet-touch .leaflet-bar a,.leaflet-bar a{width:50px!important;height:50px!important;line-height:50px!important;font-size:24px!important}
.center-row .button{min-height:50px}
/* D20: the ticket page: the way back is a real button; an unknown link explains itself and offers a new ticket */
.back-link{display:inline-flex;align-items:center;min-height:50px;padding:0 4px;font-weight:700;color:var(--green)}
.ticket-head{display:flex;align-items:center;gap:10px;min-height:50px;margin:12px 0 4px;font-weight:700}
.ticket-head img{width:56px;height:auto}
.ticket-missing{max-width:520px;margin:24px auto;padding:24px 20px;border:1px solid var(--line);border-radius:18px;background:#fff;text-align:center}
.ticket-missing h1{font-size:24px;line-height:1.5;margin:0 0 8px}
.ticket-missing p{color:var(--muted);margin:0 0 18px}
.ticket-missing .ticket-actions{display:grid;gap:10px}
.ticket-missing .button{width:100%;min-height:50px}
@media print{#sfFoot,.ticket-head{display:none!important}}
