/* The customer offer content (vehicle, facts, part cards). ONE stylesheet for the customer's "Oferta ta ATCX" page and the operator's "Revizuiește oferta" review, so the
   two render the same markup (offer-cards.js `body`) the same way. It carries its own Light / Dark / Auto colour tokens with the customer-page values, so the Operations shell's
   different surface/text tokens can never change how the customer's content looks inside the review. */
.offer-sheet{ --os-text:#0b1422; --os-muted:#596780; --os-surface:#fff; --os-subtle:#eef1f3; --os-border:#dce1e5; --os-brand:#ff6600; --os-on-brand:#181b1e;
  --os-lift:0 1px 0 rgb(255 255 255/.7) inset,0 20px 38px -18px rgb(16 28 44/.32),0 3px 10px rgb(16 28 44/.10); }
:root[data-theme=dark] .offer-sheet{ --os-text:#eef1f4; --os-muted:#a9b6c4; --os-surface:#1d2329; --os-subtle:#242c33; --os-border:#36414a; --os-lift:0 1px 0 rgb(255 255 255/.06) inset,0 16px 36px -16px rgb(0 0 0/.62),0 3px 10px -2px rgb(0 0 0/.26); }
@media (prefers-color-scheme:dark){ :root[data-theme=auto] .offer-sheet{ --os-text:#eef1f4; --os-muted:#a9b6c4; --os-surface:#1d2329; --os-subtle:#242c33; --os-border:#36414a; --os-lift:0 1px 0 rgb(255 255 255/.06) inset,0 16px 36px -16px rgb(0 0 0/.62),0 3px 10px -2px rgb(0 0 0/.26); } }
.offer-sheet{ --os-r:20px; --os-r-item:12px; display:grid; gap:20px; color:var(--os-text); font:400 15px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; letter-spacing:normal; text-align:left; }
.offer-sheet :is(h2,h3,p,small,strong,span,label,summary,details,img,article,section,div){ font-family:inherit; letter-spacing:normal !important; text-transform:none !important; }
.offer-sheet *{ box-sizing:border-box; }
.offer-sheet-intro{ display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); gap:16px; align-items:stretch; }
.offer-sheet .offer-sheet-vehicle, .offer-sheet .offer-facts{    padding:20px; margin:0; }
.offer-sheet .offer-sheet-vehicle h3{ margin:0 0 4px !important; font-size:12px !important; letter-spacing:.06em !important; text-transform:uppercase !important; color:var(--os-muted); }
.offer-sheet .offer-sheet-vehicle h2{ margin:0 0 4px !important; font-size:22px !important; line-height:1.2 !important; }
.offer-sheet .offer-sheet-vehicle p{ margin:0 0 10px !important; color:var(--os-muted); font-size:14px !important; }
.offer-sheet .offer-sheet-vehicle img{ display:block; width:100%; max-height:190px; object-fit:cover; border-radius:var(--os-r-item); margin:0 0 8px; }
.offer-sheet .offer-sheet-vehicle .media-disclaimer{ margin:0 !important; font-size:12px !important; }
.offer-sheet .offer-facts{ display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr)); gap:16px; align-content:start; }
.offer-sheet .offer-facts article{ padding:0; border:0; font-size:14px; min-width:0; }
.offer-sheet .offer-facts h3{ margin:0 0 6px !important; font-size:13px !important; color:var(--os-muted); font-weight:600 !important; }
.offer-sheet .offer-facts strong{ display:block; font-size:20px !important; line-height:1.25 !important; margin:0 0 4px !important; }
.offer-sheet .offer-facts p{ margin:0 !important; font-size:14px !important; line-height:1.5 !important; }
.offer-sheet .offer-facts small{ display:block; font-size:13px !important; color:var(--os-muted); margin-top:4px; }
.offer-sheet-heading h2{ margin:0 !important; font-size:22px !important; }
.offer-sheet-heading p{ margin:4px 0 0 !important; color:var(--os-muted); font-size:14px !important; }
.offer-sheet-items{ display:grid; gap:16px; }
.offer-sheet .offer-item{ padding:20px; display:grid; gap:12px; }
.offer-sheet .offer-item>h2{ display:flex; align-items:center; gap:12px; margin:0 !important; font-size:19px !important; }
.offer-sheet .offer-item>p{ margin:0 !important; color:var(--os-muted); font-size:14px !important; }
.offer-sheet .offer-item-number{ flex:0 0 auto; width:32px; height:32px; font-size:15px; font-weight:700; background:var(--os-brand); color:var(--os-on-brand); }
.offer-sheet .offer-item-options{ display:grid; grid-template-columns:minmax(0,180px) minmax(0,1fr); gap:16px; align-items:start; }
.offer-sheet .offer-product-main{ width:100%; aspect-ratio:1; object-fit:contain; background:var(--os-subtle); border:0; border-radius:var(--os-r-item); }
.offer-sheet .offer-item .alternatives{ display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:12px; }
.offer-sheet .offer-alternative{ display:flex; flex-direction:column; gap:6px; padding:14px; margin:0; font-size:14px; border:1px solid var(--ag-sep, var(--os-border)); border-radius:var(--lg-r-control, var(--os-r-item)); cursor:pointer; min-width:0; }
.offer-sheet .offer-alternative:has(input:checked){ border-color:var(--os-brand); box-shadow:0 0 0 2px var(--os-brand); }
.offer-sheet .offer-alternative.recommended{ border-color:var(--os-brand); }
.offer-sheet .offer-tier{ display:flex; align-items:center; gap:8px; font-size:14px; font-weight:700; }
.offer-sheet .offer-alternative>img{ width:100%; height:84px; object-fit:contain; margin:0; }
.offer-sheet .offer-alternative h3{ margin:0 !important; font-size:13px !important; color:var(--os-muted); font-weight:600 !important; }
.offer-sheet .offer-alternative p{ margin:0 !important; font-size:14px !important; }
.offer-sheet .offer-product-name small{ display:block; color:var(--os-muted); font-size:12px !important; }
.offer-sheet .offer-alternative .price{ font-size:21px; line-height:1.2; }
.offer-sheet .offer-alternative small{ font-size:13px !important; color:var(--os-muted); }
.offer-sheet .offer-delivery{ font-size:13px !important; color:var(--os-text); }
.offer-sheet .offer-alternative .badge{ align-self:flex-start; font-size:12px; padding:4px 10px; background:var(--os-brand); color:var(--os-on-brand); border-radius:999px; }
.offer-sheet .offer-alternative details{ font-size:13px; border:0; padding:0; }
.offer-sheet .offer-alternative details summary{ cursor:pointer; color:var(--os-muted); }
.offer-sheet .offer-skip{ display:flex; align-items:center; justify-content:flex-end; gap:8px; font-size:14px; margin-top:0; color:var(--os-muted); }
@media (max-width:900px){ .offer-sheet-intro{ grid-template-columns:1fr; } .offer-sheet .offer-facts{ grid-template-columns:1fr; } .offer-sheet .offer-item-options{ grid-template-columns:1fr; } .offer-sheet .offer-product-main{ max-width:180px; } }
/* Labels are styled by each shell; pin the customer values so the content is identical wherever it is shown */
.offer-sheet .offer-alternative, .offer-sheet .offer-skip{ font-size:14px !important; font-weight:500 !important; line-height:1.5 !important; color:var(--os-text); letter-spacing:normal; }
.offer-sheet .offer-skip{ color:var(--os-muted); }
.offer-sheet .offer-alternative .price{ color:var(--os-text); font-weight:750; }
.offer-sheet .offer-sheet-vehicle h2, .offer-sheet .offer-sheet-vehicle h3, .offer-sheet .offer-sheet-heading h2, .offer-sheet .offer-item>h2{ font-weight:750 !important; }
.offer-sheet .offer-alternative details summary{ font-size:13px !important; font-weight:500 !important; }

.offer-sheet :is(p,small){ margin-block:0; }
.offer-sheet :is(h2,h3){ line-height:1.25 !important; }
.offer-sheet :is(p,small,span,strong,summary,label,details){ line-height:1.45 !important; }
.offer-sheet label{ margin:0 !important; }
/* The customer page keeps the legacy ids #offer-summary / #offer-facts on these two blocks (tests and deep links); old id-level rules must not restyle them */
.offer-sheet #offer-summary, .offer-sheet #offer-facts{ position:static; color:var(--os-text); border:0; padding:20px; margin:0; min-height:0; display:block; }
.offer-sheet #offer-facts{ display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr)); gap:16px; align-content:start; }
@media (max-width:900px){ .offer-sheet #offer-facts{ grid-template-columns:1fr; } }
.offer-sheet .offer-sheet-vehicle img, .offer-sheet #offer-summary img{ display:block; max-width:none; width:100%; height:auto; max-height:190px; object-fit:cover; border-radius:var(--os-r-item); margin:0 0 8px; }

/* mobile: moderate product / vehicle imagery so a long offer needs less scrolling (aspect ratio preserved) */
@media (max-width:640px){
 .offer-sheet .offer-product-main{ width:112px; height:112px; object-fit:contain; display:block; margin:0 0 8px; }
 .offer-sheet .offer-sheet-vehicle img, .offer-sheet #offer-summary img{ max-height:132px; }
 .offer-sheet .offer-alternative{ padding-block:12px; }
}
