/* HAB Smart journey — presentation only.
   The three explicit hosts below own this visual system. Native state, scrolling,
   checkout authority, product prices and provider marks remain unchanged. */
:is(.smart-panel.purchase-only,dialog.smart-product-preview[data-smart-product-preview],.smart-panel[data-smart-checkout]){
 --sj-ink:#222724;--sj-muted:#626a63;--sj-paper:#f7f7f2;--sj-white:#fff;--sj-line:#dce2d8;--sj-sage:#edf2e7;--sj-green:#246443;--sj-green-soft:#f0f6ed;--sj-red:#bd203b;--sj-radius:17px;
 --smart-ink:var(--sj-ink);--smart-text:var(--sj-ink);--smart-muted:var(--sj-muted);--smart-line:var(--sj-line);--smart-paper:var(--sj-paper);--smart-surface:var(--sj-white);--smart-accent:var(--sj-red);
 color:var(--sj-ink);font-family:var(--font,inherit);text-align:start;
}
.smart-panel.purchase-only{border-color:#d3dbce;box-shadow:0 24px 76px #18251d35,0 2px 10px #18251d10}
dialog.smart-product-preview[data-smart-product-preview]{background:var(--sj-paper);border-color:#d3dbce;box-shadow:0 24px 76px #18251d35,0 2px 10px #18251d10}
:is(.smart-panel.purchase-only,.smart-panel[data-smart-checkout]) :is(button,a,input,select,textarea,summary):focus-visible,
dialog.smart-product-preview[data-smart-product-preview]>:is(.smart-preview-header,.smart-preview-journey,.smart-preview-tabs,.smart-preview-stages) :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid var(--sj-green);outline-offset:3px}

/* One familiar brand header, including the vehicle sheet. */
.smart-panel.purchase-only>.smart-head,
.smart-panel[data-smart-checkout]>.smart-head,
dialog.smart-product-preview[data-smart-product-preview]>.smart-preview-header{
 display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px;padding:12px 16px;background:#222724;color:#fff;border:0;border-top:3px solid var(--sj-red);border-bottom:1px solid #ffffff17;box-shadow:none;direction:inherit;
}
.smart-panel.purchase-only>.smart-head .smart-brand{display:flex;flex-direction:row;align-items:center;gap:10px;padding:0;min-width:0}
.smart-panel.purchase-only>.smart-head .smart-brand>img,
dialog.smart-product-preview[data-smart-product-preview]>.smart-preview-header .smart-preview-brand>img{width:32px;height:34px;object-fit:contain}
.smart-panel.purchase-only>.smart-head .smart-brand b,
dialog.smart-product-preview[data-smart-product-preview]>.smart-preview-header .smart-preview-brand>b{font-size:20px;font-weight:750;line-height:1.25;letter-spacing:0}
.smart-panel.purchase-only>.smart-head .smart-brand b>span,
dialog.smart-product-preview[data-smart-product-preview]>.smart-preview-header .smart-preview-brand>b>span{font-weight:400;color:#e4e9e0}
.smart-panel.purchase-only>.smart-head .smart-brand small{font-size:13px;line-height:1.6;color:#c5cec2}
.smart-panel.purchase-only>.smart-head .smart-head-actions{display:flex;gap:5px;align-items:center}
.smart-panel.purchase-only>.smart-head .smart-head-actions button,
dialog.smart-product-preview[data-smart-product-preview]>.smart-preview-header .smart-preview-header-actions>button{min-width:44px;min-height:44px;border:1px solid #ffffff24;border-radius:12px;background:#ffffff08;box-shadow:none;color:#fff}
.smart-panel.purchase-only>.smart-head .smart-head-actions [data-smart-quick-toggle]{background:transparent!important;border-color:transparent!important}
.smart-panel.purchase-only>.smart-head button:focus-visible,
.smart-panel[data-smart-checkout]>.smart-head button:focus-visible,
dialog.smart-product-preview[data-smart-product-preview]>.smart-preview-header button:focus-visible{outline:3px solid #d9edc8;outline-offset:3px}
.smart-panel.purchase-only .smart-quick-menu{background:var(--sj-white);border-color:var(--sj-line);border-radius:16px}
.smart-panel.purchase-only .smart-quick-menu>button{font-size:15px;border-radius:10px}
.smart-panel.purchase-only .smart-quick-menu>button>small{font-size:13px}

/* Current step and progress are distinct from saved vehicle/cart context. */
.smart-panel.purchase-only:not(.vehicle-selection-active)>.smart-journey-tools{grid-template-columns:max-content minmax(0,1fr);gap:6px 12px;padding:10px 16px 12px;background:#fff;border-bottom:1px solid var(--sj-line)}
.smart-panel.purchase-only.vehicle-selection-active>.smart-journey-tools{padding:10px 16px 12px;margin:0;border:0;border-bottom:1px solid var(--sj-line);border-radius:0;background:#fff}
.smart-panel.purchase-only .smart-journey-tools .smart-stage-line{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:2px 10px;min-height:44px;margin:0}
.smart-panel.purchase-only .smart-journey-tools [data-smart-stage]:not([hidden]){display:block!important;flex:1;min-width:0;color:var(--sj-ink);font-size:16px;line-height:1.5;font-weight:700;overflow-wrap:anywhere}
.smart-panel.purchase-only .smart-journey-tools [data-smart-step-count]{font-size:13px;line-height:1.5;font-weight:500;color:var(--sj-muted);font-variant-numeric:tabular-nums}
.smart-panel.purchase-only.vehicle-selection-active .smart-journey-tools .smart-stage-line{min-height:30px;margin-block-end:8px}
.smart-panel.purchase-only .smart-journey-tools [data-smart-back]{min-inline-size:76px;padding:6px 10px;border:1px solid var(--sj-line);border-radius:11px;background:#fff;color:var(--sj-ink);box-shadow:none;font-size:14px}
.smart-panel.purchase-only .smart-journey-tools [data-smart-back] .hab-smart-back-icon{background:var(--sj-sage);color:var(--sj-green);border-radius:7px}
:is(.smart-panel.purchase-only .smart-progress-track,dialog.smart-product-preview[data-smart-product-preview] .purchase-phase-track){gap:6px;padding-block:2px}
:is(.smart-panel.purchase-only .smart-progress-track,dialog.smart-product-preview[data-smart-product-preview] .purchase-phase-track)>.purchase-stage>button{min-height:60px;min-block-size:60px;padding:7px 3px;gap:5px;border:1px solid #e0e5dc;border-radius:12px;background:#f7f8f4;box-shadow:none;color:#687165}
:is(.smart-panel.purchase-only .smart-progress-track,dialog.smart-product-preview[data-smart-product-preview] .purchase-phase-track) .purchase-stage-mark{gap:5px;min-height:20px}
:is(.smart-panel.purchase-only .smart-progress-track,dialog.smart-product-preview[data-smart-product-preview] .purchase-phase-track) .purchase-stage-mark>i{width:19px;height:19px;min-width:19px;min-height:19px;inline-size:19px;block-size:19px;background:#e8ede3;color:#626b5f;font-size:11px}
:is(.smart-panel.purchase-only .smart-progress-track,dialog.smart-product-preview[data-smart-product-preview] .purchase-phase-track) .purchase-stage-icon,
:is(.smart-panel.purchase-only .smart-progress-track,dialog.smart-product-preview[data-smart-product-preview] .purchase-phase-track) .purchase-stage-icon>svg{inline-size:19px;block-size:19px;width:19px;height:19px}
:is(.smart-panel.purchase-only .smart-progress-track,dialog.smart-product-preview[data-smart-product-preview] .purchase-phase-track) .purchase-stage-name{font-size:13px;line-height:1.4;font-weight:600;overflow-wrap:anywhere}
:is(.smart-panel.purchase-only .smart-progress-track,dialog.smart-product-preview[data-smart-product-preview] .purchase-phase-track)>.purchase-stage.current>button{background:var(--sj-red);border-color:var(--sj-red);color:#fff;box-shadow:none}
:is(.smart-panel.purchase-only .smart-progress-track,dialog.smart-product-preview[data-smart-product-preview] .purchase-phase-track)>.purchase-stage.current i{background:#ffffff24;color:#fff}
:is(.smart-panel.purchase-only .smart-progress-track,dialog.smart-product-preview[data-smart-product-preview] .purchase-phase-track)>.purchase-stage.passed>button{background:var(--sj-sage);border-color:#d1ddc7;color:var(--sj-green)}
:is(.smart-panel.purchase-only .smart-progress-track,dialog.smart-product-preview[data-smart-product-preview] .purchase-phase-track)>.purchase-stage.passed i{background:#d8e7cf;color:var(--sj-green)}
:is(.smart-panel.purchase-only .smart-progress-track,dialog.smart-product-preview[data-smart-product-preview] .purchase-phase-track)>.purchase-stage.is-connected::before{background:#a9bfa0}
.smart-panel.purchase-only .purchase-ribbon{gap:7px;padding:10px 16px;background:#fff;border-bottom:1px solid var(--sj-line)}
.smart-panel.purchase-only .purchase-ribbon button{min-height:52px;padding:8px 10px;border-color:var(--sj-line);border-radius:11px;background:#f8faf5;box-shadow:none}
.smart-panel.purchase-only .purchase-ribbon small{font-size:13px;line-height:1.5;color:var(--sj-muted)}
.smart-panel.purchase-only .purchase-ribbon b{font-size:14px;line-height:1.55;color:var(--sj-ink)}
.smart-panel.purchase-only .smart-scroll{padding:18px 16px 24px;background:var(--sj-paper);scroll-padding-block:16px}
.smart-panel.purchase-only .bot-message>h3{font-size:23px;line-height:1.5;font-weight:750;color:var(--sj-ink);margin-block:0 12px}
.smart-panel.purchase-only .bot-message>p{font-size:15px;line-height:1.75;color:var(--sj-muted)}

/* Vehicle: a compact illustrated introduction and clear native fields. */
.smart-panel.purchase-only.vehicle-selection-active .smart-scroll{padding:16px 16px 24px;background:var(--sj-paper)}
.smart-panel.purchase-only.vehicle-selection-active .smart-vehicle-mobile{gap:12px 10px}
.smart-panel.purchase-only.vehicle-selection-active .smart-vehicle-mobile>.sv-hero{display:grid;grid-template-columns:1.15fr 1fr;align-items:stretch;aspect-ratio:auto;min-height:148px;margin:0;border:1px solid #dce4d4;border-radius:18px;background:var(--sj-sage)}
.smart-panel.purchase-only.vehicle-selection-active .sv-hero>img{grid-column:2;grid-row:1;width:100%;height:100%;min-height:148px;max-height:184px;object-fit:cover;object-position:30% center}
.smart-panel.purchase-only.vehicle-selection-active .sv-hero-copy{grid-column:1;grid-row:1;position:static;display:flex;flex-direction:column;justify-content:center;gap:6px;width:auto;padding:17px 15px;text-align:start}
.smart-panel.purchase-only.vehicle-selection-active .sv-hero-copy>span{font-size:10px;line-height:1.5;letter-spacing:.1em;color:var(--sj-green)}
.smart-panel.purchase-only.vehicle-selection-active .sv-hero-copy>h3{font-size:24px;line-height:1.4;color:var(--sj-ink);text-shadow:none}
.smart-panel.purchase-only.vehicle-selection-active .sv-hero-copy>p{font-size:14px;line-height:1.65;color:#55604f}
.smart-panel.purchase-only.vehicle-selection-active .sv-benefits{gap:8px;margin:0;padding:2px 0 4px;background:transparent}
.smart-panel.purchase-only.vehicle-selection-active .sv-benefits>span{font-size:13px;line-height:1.5;color:var(--sj-muted)}
.smart-panel.purchase-only.vehicle-selection-active .sv-benefits .sv-icon{width:17px;height:17px;color:var(--sj-green)}
.smart-panel.purchase-only.vehicle-selection-active .smart-vehicle-progress{gap:7px;margin:0 0 2px}
.smart-panel.purchase-only.vehicle-selection-active .smart-vehicle-progress button{min-height:44px;padding:2px 3px;gap:1px;border:0;border-bottom:2px solid #dce4d4;border-radius:0;background:transparent;box-shadow:none}
.smart-panel.purchase-only.vehicle-selection-active .smart-vehicle-progress button>span:last-child{font-size:13px;font-weight:600}
.smart-panel.purchase-only.vehicle-selection-active .smart-vehicle-progress button .sv-stage-mark{gap:6px}
.smart-panel.purchase-only.vehicle-selection-active .smart-vehicle-progress .sv-stage-mark>.sv-icon{width:17px;height:17px}
.smart-panel.purchase-only.vehicle-selection-active .smart-vehicle-progress .sv-stage-mark>i{width:17px;height:17px;font-size:10px;background:#edf1e8}
.smart-panel.purchase-only.vehicle-selection-active .smart-vehicle-progress li.active button{border-color:var(--sj-green);background:transparent;color:var(--sj-green);box-shadow:none}
.smart-panel.purchase-only.vehicle-selection-active .smart-vehicle-progress li.active i{background:var(--sj-green);color:#fff;box-shadow:none}
.smart-panel.purchase-only.vehicle-selection-active .smart-vehicle-progress li.done:not(.active) button{background:transparent;border-color:#a9c29a;color:var(--sj-green)}
.smart-panel.purchase-only.vehicle-selection-active .smart-vehicle-progress button:disabled{background:transparent;border-color:#dce4d4;color:#767d73;box-shadow:none}
.smart-panel.purchase-only .smart-vehicle-fields{gap:10px}
.smart-panel.purchase-only .smart-vehicle-fields :is(.vehicle-choice-trigger,select,input){border-color:#ced8c7;border-radius:12px;background:#fff;box-shadow:none;font-size:16px;min-height:54px}
.smart-panel.purchase-only .smart-vehicle-fields .vehicle-choice-trigger[aria-expanded=true]{border-color:var(--sj-green);background:#fff;box-shadow:0 0 0 3px #24644314}
.smart-panel.purchase-only .smart-vehicle-fields .vehicle-choice-trigger:disabled{border-color:#e0e5db;background:#eef1e9;color:#727a6e;box-shadow:none}
.smart-panel.purchase-only .smart-vehicle-fields .vehicle-choice-trigger[aria-invalid=true]{border-color:var(--sj-red)}
.smart-panel.purchase-only.vehicle-selection-active .smart-vehicle-fields .vehicle-choice-trigger:focus-visible{border-color:var(--sj-green);outline:2px solid var(--sj-green);outline-offset:0;box-shadow:none}
.smart-panel.purchase-only.vehicle-selection-active .smart-vehicle-status{font-size:13px;line-height:1.65;margin:0;color:var(--sj-muted)}
.smart-panel.purchase-only.vehicle-selection-active .sv-fit-lock{grid-template-columns:36px minmax(0,1fr);gap:4px 10px;padding:12px;border:1px solid #d5e1cc;border-radius:14px;background:var(--sj-sage);box-shadow:none}
.smart-panel.purchase-only.vehicle-selection-active .sv-fit-symbol{width:36px;height:40px;border:0;border-radius:10px;background:#dbe7d3;color:var(--sj-green);box-shadow:none}
.smart-panel.purchase-only.vehicle-selection-active .sv-fit-symbol>.sv-icon{width:24px;height:28px}
.smart-panel.purchase-only.vehicle-selection-active .sv-fit-lock b{font-size:14px;line-height:1.5;color:var(--sj-ink)}
.smart-panel.purchase-only.vehicle-selection-active .sv-fit-lock :is(div>span,p){font-size:13px;line-height:1.6;color:#56634f}
.smart-panel.purchase-only.vehicle-selection-active .smart-vehicle-mobile>button.sv-continue{min-height:54px;border:1px solid #246443;border-radius:12px;background:var(--sj-green);box-shadow:none;color:#fff;font-size:16px;line-height:1.5}
.smart-panel.purchase-only.vehicle-selection-active .smart-vehicle-mobile>button.sv-continue:disabled{background:#e0e8d9;border-color:#cdd9c6;color:#6d7c65;box-shadow:none}
.smart-panel.purchase-only.vehicle-selection-active .sv-back-slot .smart-back{min-height:54px;border:1px solid #d2dacb;border-radius:12px;background:#fff;box-shadow:none;color:var(--sj-ink);font-size:14px;gap:7px}

/* Departments and products: full names, photographic context and useful prices. */
.smart-panel.purchase-only .smart-suggestions[data-layout=categories]{gap:12px}
.smart-panel.purchase-only .smart-category-card{border-radius:17px;min-height:172px;box-shadow:none}
.smart-panel.purchase-only .smart-category-card:first-child{min-height:192px}
.smart-panel.purchase-only .smart-category-card::after{background:linear-gradient(180deg,#17261c00 8%,#17261c55 40%,#17261cef 100%)}
.smart-panel.purchase-only .smart-category-card>span:not(.smart-category-photos){padding:60px 16px 16px;gap:5px}
.smart-panel.purchase-only .smart-category-card b{font-size:18px;line-height:1.5}
.smart-panel.purchase-only .smart-category-card:first-child b{font-size:25px}
.smart-panel.purchase-only .smart-category-card small{font-size:14px;line-height:1.65;color:#e6eee0}
.smart-panel.purchase-only .smart-category-card>i{background:#fff;color:var(--sj-green);box-shadow:none}
.smart-panel.purchase-only .smart-category-gallery>header h3{font-size:23px;line-height:1.5;color:var(--sj-ink)}
.smart-panel.purchase-only .smart-category-gallery>header h3 small{font-size:13px;line-height:1.5;background:var(--sj-sage);border-color:#d5e1cc;color:var(--sj-green)}
.smart-panel.purchase-only .smart-category-gallery>header p{font-size:15px;line-height:1.7;color:var(--sj-muted)}
/* Match the existing gallery specificity, while requiring the Smart host. */
:is(#catalog,.smart-panel.purchase-only).smart-panel.purchase-only .smart-category-grid{gap:14px;align-items:stretch}
:is(#catalog,.smart-panel.purchase-only).smart-panel.purchase-only .hab-gallery-card{height:100%;border:1px solid #d9e1d2;border-radius:17px;background:#fff;box-shadow:0 3px 12px #23381c06}
:is(#catalog,.smart-panel.purchase-only).smart-panel.purchase-only .hab-gallery-card.is-in-cart{border-color:#7a9b6a;box-shadow:0 0 0 1px #7a9b6a}
:is(#catalog,.smart-panel.purchase-only).smart-panel.purchase-only .hab-gallery-card .smart-gallery-visual{aspect-ratio:1.35;background:#edf1e8}
:is(#catalog,.smart-panel.purchase-only).smart-panel.purchase-only .hab-gallery-card .smart-category-product-copy{gap:9px;padding:12px}
:is(#catalog,.smart-panel.purchase-only).smart-panel.purchase-only .hab-gallery-card .smart-category-product-copy>h4{font-size:16px;line-height:1.55;font-weight:700;color:var(--sj-ink);overflow-wrap:anywhere}
:is(#catalog,.smart-panel.purchase-only).smart-panel.purchase-only .hab-gallery-card .smart-gallery-benefit{font-size:13px;line-height:1.7;color:var(--sj-muted)}
:is(#catalog,.smart-panel.purchase-only).smart-panel.purchase-only .hab-gallery-card .smart-gallery-facts{gap:5px}
:is(#catalog,.smart-panel.purchase-only).smart-panel.purchase-only .hab-gallery-card .smart-gallery-facts>span{padding:3px 6px;border-color:#e0e8da;border-radius:6px;background:#f4f7ef;color:#59684f;font-size:13px;line-height:1.5}
:is(#catalog,.smart-panel.purchase-only).smart-panel.purchase-only .hab-gallery-card .hab-gallery-price{gap:4px;padding:10px;border:1px solid #dce6d3;border-radius:11px;background:var(--sj-sage)}
:is(#catalog,.smart-panel.purchase-only).smart-panel.purchase-only .hab-gallery-card .hab-gallery-price-label{font-size:13px;line-height:1.5;color:#59694f}
:is(#catalog,.smart-panel.purchase-only).smart-panel.purchase-only .hab-gallery-card .screen-price>strong{font-size:25px;line-height:1.4;color:var(--sj-ink);font-weight:750}
:is(#catalog,.smart-panel.purchase-only).smart-panel.purchase-only .hab-gallery-card .screen-price>small{font-size:13px;line-height:1.6;color:#59664f}
:is(#catalog,.smart-panel.purchase-only).smart-panel.purchase-only .hab-gallery-card .hab-gallery-actions{gap:6px;grid-template-columns:minmax(0,1fr)}
:is(#catalog,.smart-panel.purchase-only).smart-panel.purchase-only .hab-gallery-card .hab-gallery-actions :is(button,a){min-height:44px;padding:9px 8px;font-size:14px;line-height:1.5;border-color:#cfd9c6;border-radius:10px;color:var(--sj-green);background:#fff;box-shadow:none}
:is(#catalog,.smart-panel.purchase-only).smart-panel.purchase-only .hab-gallery-card .hab-gallery-actions .hab-gallery-add{border-color:var(--sj-green);background:var(--sj-green);color:#fff;box-shadow:none}

/* The native product dialog is the same workspace, with its own actual rail. */
dialog.smart-product-preview[data-smart-product-preview]>.smart-preview-journey{padding:10px 16px;background:#fff;border-bottom:1px solid var(--sj-line)}
dialog.smart-product-preview[data-smart-product-preview]>.smart-preview-journey>.store-vehicle-status{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:9px;min-width:0;min-height:56px;padding:8px 10px;border:1px solid #d3e0c8;border-radius:11px;background:var(--sj-sage);text-align:start}
dialog.smart-product-preview[data-smart-product-preview] .smart-preview-journey .store-vehicle-status>:is(.store-vehicle-confirm,.store-vehicle-prompt){display:grid;place-items:center;width:24px;height:28px;color:var(--sj-green)}
dialog.smart-product-preview[data-smart-product-preview] .smart-preview-journey .store-vehicle-copy{display:grid;gap:2px;min-width:0;text-align:start}
dialog.smart-product-preview[data-smart-product-preview] .smart-preview-journey .store-vehicle-copy small{display:block;font-size:13px;font-weight:400;line-height:1.5;color:#5b6a51;unicode-bidi:plaintext;overflow-wrap:anywhere}
dialog.smart-product-preview[data-smart-product-preview] .smart-preview-journey .store-vehicle-copy :is(b,strong){display:block;min-width:0;font-size:14px;font-weight:650;line-height:1.5;color:var(--sj-ink);text-align:start;white-space:normal;overflow-wrap:anywhere;unicode-bidi:isolate}
dialog.smart-product-preview[data-smart-product-preview] .smart-preview-journey .store-vehicle-status :is([data-product-edit-vehicle],.store-vehicle-actions){min-width:0}
dialog.smart-product-preview[data-smart-product-preview] .smart-preview-journey .store-vehicle-status [data-product-edit-vehicle]{display:flex;align-items:center;justify-content:center;min-width:54px;min-height:44px;margin:0;padding:8px;border:1px solid #cbd9bf;border-radius:9px;background:#fff;color:var(--sj-green);font:inherit;font-size:13px;line-height:1.5;box-shadow:none;cursor:pointer}
dialog.smart-product-preview[data-smart-product-preview] .smart-preview-journey .store-vehicle-status [data-product-edit-vehicle]>em{display:flex;align-items:center;justify-content:center;gap:5px;margin:0;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-style:normal;white-space:normal}
dialog.smart-product-preview[data-smart-product-preview] .smart-preview-journey .store-vehicle-status [data-product-edit-vehicle]>em>svg{flex:none;width:14px;height:14px}
/* The existing cart action appears only after a real native cart count exists. */
dialog.smart-product-preview[data-smart-product-preview]>.smart-preview-journey:has(>.smart-preview-cart-link):has(>.store-vehicle-status--saved):not([hidden]){display:grid!important;grid-template-columns:24px minmax(0,1fr) auto auto;align-items:center;gap:4px 8px;background:var(--sj-sage)}
dialog.smart-product-preview[data-smart-product-preview]>.smart-preview-journey:has(>.smart-preview-cart-link):has(>.store-vehicle-status--saved)>.store-vehicle-status--saved:not([hidden]):not([inert]),
dialog.smart-product-preview[data-smart-product-preview]>.smart-preview-journey:has(>.smart-preview-cart-link):has(>.store-vehicle-status--saved)>.store-vehicle-status--saved:not([hidden]):not([inert])>.store-vehicle-copy:not([hidden]):not([inert]){display:contents!important}
dialog.smart-product-preview[data-smart-product-preview]>.smart-preview-journey:has(>.smart-preview-cart-link):has(>.store-vehicle-status--saved) .store-vehicle-copy>small{grid-column:1/-1;grid-row:1}
dialog.smart-product-preview[data-smart-product-preview]>.smart-preview-journey:has(>.smart-preview-cart-link):has(>.store-vehicle-status--saved) .store-vehicle-copy>:is(b,strong){grid-column:2;grid-row:2}
dialog.smart-product-preview[data-smart-product-preview]>.smart-preview-journey:has(>.smart-preview-cart-link):has(>.store-vehicle-status--saved) :is(.store-vehicle-confirm,.store-vehicle-prompt){grid-column:1;grid-row:2}
dialog.smart-product-preview[data-smart-product-preview]>.smart-preview-journey:has(>.smart-preview-cart-link):has(>.store-vehicle-status--saved) :is(.store-vehicle-status>[data-product-edit-vehicle],.store-vehicle-actions){grid-column:3;grid-row:2}
dialog.smart-product-preview[data-smart-product-preview]>.smart-preview-journey>.smart-preview-cart-link{grid-column:4;grid-row:2;display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:44px;margin:0;padding:8px;border:1px solid #8ba87a;border-radius:10px;background:#fff;color:var(--sj-green);font:inherit;font-size:13px;font-weight:650;line-height:1.5;text-align:center;box-shadow:none;cursor:pointer}
dialog.smart-product-preview[data-smart-product-preview]>.smart-preview-journey>.smart-preview-cart-link>span{min-width:0;overflow-wrap:anywhere}
dialog.smart-product-preview[data-smart-product-preview]>.smart-preview-journey>.smart-preview-cart-link>bdi{display:grid;place-items:center;flex:none;min-width:20px;min-height:22px;padding:1px 4px;border-radius:6px;background:#e2edd9;color:var(--sj-green);font-size:13px;line-height:1.4;font-variant-numeric:tabular-nums}
dialog.smart-product-preview[data-smart-product-preview]>.smart-preview-journey>.smart-preview-cart-link:disabled{border-color:#d9e1d1;background:#f1f3ec;color:#747d6b;cursor:not-allowed;box-shadow:none}
dialog.smart-product-preview[data-smart-product-preview]>.smart-preview-journey>.smart-preview-cart-link:disabled>bdi{background:#e4e9dc;color:#747d6b}
dialog.smart-product-preview[data-smart-product-preview]>.smart-preview-journey>.smart-preview-cart-link:focus-visible{outline:3px solid var(--sj-green);outline-offset:3px}
dialog.smart-product-preview[data-smart-product-preview]>.smart-preview-journey:has(>.store-vehicle-status--pending)>.smart-preview-cart-link{width:100%;margin-block-start:8px}
dialog.smart-product-preview[data-smart-product-preview] .smart-preview-journey .smart-preview-car{min-height:44px;margin:0;padding:8px 12px;border:1px solid #d5e1cc;border-radius:11px;background:var(--sj-sage);font-size:14px;line-height:1.6;color:var(--sj-ink)}
dialog.smart-product-preview[data-smart-product-preview] .smart-preview-car span{font-size:13px;color:var(--sj-green)}
dialog.smart-product-preview[data-smart-product-preview]>.smart-preview-tabs{padding:8px 16px;gap:8px;background:#fff;border-bottom:1px solid var(--sj-line)}
dialog.smart-product-preview[data-smart-product-preview]>.smart-preview-tabs>button{min-height:44px;border:1px solid #e0e5db;border-radius:10px;font-size:14px;background:#fff;color:var(--sj-muted)}
dialog.smart-product-preview[data-smart-product-preview]>.smart-preview-tabs>button[aria-pressed=true]{border-color:#c6d8b9;background:var(--sj-sage);color:var(--sj-green)}
dialog.smart-product-preview[data-smart-product-preview]>.smart-preview-stages{padding:7px 16px;background:#fff;border-color:var(--sj-line)}
/* Product content uses the shared external product standard. */

/* Saved cart: configuration reads as a receipt; the authoritative total leads. */
.smart-panel.purchase-only.cart-review-active .smart-cart{gap:16px}
.smart-panel.purchase-only.cart-review-active .smart-cart-title>h2{margin:0;font-size:23px;line-height:1.5;font-weight:750;color:var(--sj-ink)}
.smart-panel.purchase-only.cart-review-active .smart-cart-title>b{font-size:13px;background:var(--sj-sage);border-color:#d5e1cc;color:var(--sj-green)}
.smart-panel.purchase-only.cart-review-active .smart-cart-readiness.smart-cart-readiness{padding:12px;border-radius:13px;box-shadow:none}
.smart-panel.purchase-only.cart-review-active .smart-cart-readiness.smart-cart-readiness :is(b,small){font-size:13px;line-height:1.65}
.smart-panel.purchase-only.cart-review-active .smart-cart-readiness.ready{background:var(--sj-sage);border-color:#d5e1cc}
.smart-panel.purchase-only.cart-review-active .smart-cart[data-smart-cart-view] .smart-cart-item{padding:16px;gap:12px;border:1px solid #d9e2d1;border-radius:17px;background:#fff;box-shadow:0 3px 12px #23381c05}
.smart-panel.purchase-only.cart-review-active .smart-cart-product-head{grid-template-columns:72px minmax(0,1fr) 44px;gap:12px}
.smart-panel.purchase-only.cart-review-active .smart-cart[data-smart-cart-view] .smart-cart-item .smart-cart-product-head :is(img,picture){width:72px;height:72px;border-radius:11px;background:#f2f5ec}
.smart-panel.purchase-only.cart-review-active .smart-cart-product-head b{font-size:17px;line-height:1.55;font-weight:700}
.smart-panel.purchase-only.cart-review-active .smart-cart-benefit{font-size:13px;line-height:1.65;color:var(--sj-muted)}
.smart-panel.purchase-only.cart-review-active .smart-cart-fit{font-size:13px;line-height:1.6;border-radius:7px}
.smart-panel.purchase-only.cart-review-active .smart-cart[data-smart-cart-view] .smart-cart-item .smart-cart-selections>div{grid-template-columns:88px minmax(0,1fr);gap:12px;padding:8px 0;border-color:#e9eee3}
.smart-panel.purchase-only.cart-review-active .smart-cart-selections dt{font-size:13px;line-height:1.65;color:var(--sj-muted)}
.smart-panel.purchase-only.cart-review-active .smart-cart[data-smart-cart-view] .smart-cart-item .smart-cart-selections dd{font-size:14px;line-height:1.65;color:var(--sj-ink);font-weight:550}
.smart-panel.purchase-only.cart-review-active .smart-cart-selection-more :is(summary,span){font-size:13px;line-height:1.7}
.smart-panel.purchase-only.cart-review-active .smart-cart-edit{font-size:14px;color:var(--sj-green)}
.smart-panel.purchase-only.cart-review-active .smart-quantity{background:#f4f7ef;border-color:#d7e1ce;border-radius:10px}
.smart-panel.purchase-only.cart-review-active .smart-cart-summary{padding:16px;border:1px solid #d3dfc9;border-radius:17px;background:var(--sj-sage);box-shadow:none}
.smart-panel.purchase-only.cart-review-active .smart-cart[data-smart-cart-view] .smart-cart-summary>.smart-cart-total:has(>.smart-cart-total-value>.smart-cart-price[data-screen-total-minor]>strong){gap:8px 12px;background:transparent}
.smart-panel.purchase-only.cart-review-active .smart-cart[data-smart-cart-view] .smart-cart-summary>.smart-cart-total:has(>.smart-cart-total-value>.smart-cart-price[data-screen-total-minor]>strong)::before{border:0;border-radius:0;background:transparent}
.smart-panel.purchase-only.cart-review-active .smart-cart[data-smart-cart-view] .smart-cart-summary>.smart-cart-total:has(>.smart-cart-total-value>.smart-cart-price[data-screen-total-minor]>strong)>header{padding:0;align-self:center}
.smart-panel.purchase-only.cart-review-active .smart-cart[data-smart-cart-view] .smart-cart-summary>.smart-cart-total:has(>.smart-cart-total-value>.smart-cart-price[data-screen-total-minor]>strong)>header>b{font-size:15px;line-height:1.6;color:var(--sj-ink)}
.smart-panel.purchase-only.cart-review-active .smart-cart[data-smart-cart-view] .smart-cart-summary>.smart-cart-total:has(>.smart-cart-total-value>.smart-cart-price[data-screen-total-minor]>strong)>.smart-cart-total-value>.smart-cart-price>strong{padding:0;font-size:28px;line-height:1.4;font-weight:750;color:var(--sj-ink)}
.smart-panel.purchase-only.cart-review-active .smart-cart[data-smart-cart-view] .smart-cart-summary>.smart-cart-total:has(>.smart-cart-total-value>.smart-cart-price[data-screen-total-minor]>strong) .smart-cart-tax{gap:0;padding-block-start:10px;border-top:1px solid #d6e1cc}
.smart-panel.purchase-only.cart-review-active .smart-cart[data-smart-cart-view] .smart-cart-summary>.smart-cart-total:has(>.smart-cart-total-value>.smart-cart-price[data-screen-total-minor]>strong) .smart-cart-tax>div{padding:5px 0;min-block-size:28px;border:0;border-radius:0;background:transparent;gap:6px 12px}
.smart-panel.purchase-only.cart-review-active .smart-cart[data-smart-cart-view] .smart-cart-summary>.smart-cart-total:has(>.smart-cart-total-value>.smart-cart-price[data-screen-total-minor]>strong) .smart-cart-tax :is(dt,dd){font-size:13px;line-height:1.6;color:#57654e}
.smart-panel.purchase-only.cart-review-active .smart-cart-coupon{border-color:#d6e1cd;border-radius:11px;background:#fff;padding:12px}
.smart-panel.purchase-only>.purchase-action-dock{padding:12px 16px max(12px,env(safe-area-inset-bottom));border-top:1px solid #d5decc;background:#fff;box-shadow:0 -5px 20px #23351b08}
.smart-panel.purchase-only .purchase-action-dock .smart-suggestions{gap:8px}
.smart-panel.purchase-only .purchase-action-dock .smart-action{border-radius:12px;font-size:15px}
.smart-panel.purchase-only .purchase-action-dock .smart-action.primary{min-height:52px;background:var(--sj-green);border:1px solid var(--sj-green);box-shadow:none}
.smart-panel.purchase-only .purchase-action-dock .smart-action-copy>b{font-size:16px;line-height:1.5}
.smart-panel.purchase-only.cart-review-active .purchase-action-dock .smart-suggestions .smart-action:is([data-smart-action=checkout_start],[data-smart-action=checkout_review]){--smart-cart-cta:#246443;min-height:52px;border-radius:12px;box-shadow:none}
.smart-panel.purchase-only.cart-review-active .purchase-action-dock .smart-suggestions .smart-action[data-smart-action=buy]{--smart-cart-cta:#fff;min-height:44px;border:1px solid #d3ddcb;background:#fff;color:var(--sj-green);box-shadow:none}
.smart-panel.purchase-only.cart-review-active .purchase-action-dock .smart-suggestions .smart-action[data-smart-action=buy] :is(.smart-action-copy b,.smart-action-copy small){color:var(--sj-green)}
.smart-panel.purchase-only.cart-review-active .purchase-action-dock .smart-suggestions .smart-action[data-smart-action=buy]>.hab-cart-action-icon{background:#edf3e7;border-color:#d0dec5;color:var(--sj-green)}
.smart-panel.purchase-only .purchase-action-dock .smart-action:disabled{background:#e8eee1;border-color:#d8e2ce;color:#6d7963;box-shadow:none}
.smart-panel.purchase-only.cart-review-active .purchase-action-dock .smart-suggestions .smart-action:disabled{background:#e8eee1;border-color:#d8e2ce;color:#6d7963;box-shadow:none}
.smart-panel.purchase-only.cart-review-active .purchase-action-dock .smart-suggestions .smart-action:disabled .smart-action-copy :is(b,small){color:#6d7963}

/* Embedded native checkout only. Provider assets, colors and submit authority stay native. */
.smart-panel[data-smart-checkout]>.smart-checkout-nav{gap:12px;padding:8px 16px;background:#fff;border-bottom:1px solid var(--sj-line)}
.smart-panel[data-smart-checkout]>.smart-checkout-nav .hc-stages{gap:12px}
.smart-panel[data-smart-checkout]>.smart-checkout-nav .hc-stages>li{font-size:14px;line-height:1.5;font-weight:600;min-height:44px;padding:8px 3px;color:var(--sj-muted)}
.smart-panel[data-smart-checkout]>.smart-checkout-nav .hc-stages>li::before{width:24px;height:24px;font-size:12px;border-color:#d4ddcb;background:#f4f7ef}
.smart-panel[data-smart-checkout]>.smart-checkout-nav .hc-stages>.is-current{border-bottom-color:var(--sj-red);color:var(--sj-ink)}
.smart-panel[data-smart-checkout]>.smart-checkout-nav .hc-stages>.is-current::before{background:var(--sj-red);border-color:var(--sj-red);color:#fff}
.smart-panel[data-smart-checkout]>.smart-checkout-nav .hc-stages>.is-complete{color:var(--sj-green)}
.smart-panel[data-smart-checkout]>.smart-checkout-nav .hc-stages>.is-complete::before{background:#e2edd9;border-color:#cbdcbe;color:var(--sj-green)}
.smart-panel[data-smart-checkout]>[data-checkout-embedded][data-ppf-checkout-dialog]{--hc-ink:var(--sj-ink);--hc-muted:var(--sj-muted);--hc-line:var(--sj-line);--hd-paper:#fff;--hd-bg:var(--sj-paper);--hd-line:var(--sj-line);--hd-ink:var(--sj-ink);--hd-muted:var(--sj-muted);background:var(--sj-paper);font-size:15px;line-height:1.65}
.smart-panel[data-smart-checkout] [data-checkout-embedded] .hab-delivery{padding:16px;--hd-bg:var(--sj-paper)}
.smart-panel[data-smart-checkout] [data-checkout-embedded] .hab-delivery .hd-form{gap:16px;padding:16px;border:1px solid #d6e0cd;border-radius:18px;background:var(--sj-sage)}
.smart-panel[data-smart-checkout] [data-checkout-embedded] .hd-heading h2{font-size:23px;line-height:1.5;font-weight:750;color:var(--sj-ink)}
.smart-panel[data-smart-checkout] [data-checkout-embedded] .hd-eyebrow{font-size:11px;color:var(--sj-green)}
.smart-panel[data-smart-checkout] [data-checkout-embedded] [data-hd-checkout] .hd-methods{gap:10px}
.smart-panel[data-smart-checkout] [data-checkout-embedded] [data-hd-checkout] .hd-method{min-height:92px;padding:14px 12px;gap:10px;border:1px solid #cedac4;border-radius:13px;background:#fff;box-shadow:none}
.smart-panel[data-smart-checkout] [data-checkout-embedded] [data-hd-checkout] .hd-method b{font-size:15px;line-height:1.6}
.smart-panel[data-smart-checkout] [data-checkout-embedded] [data-hd-checkout] .hd-method small{font-size:13px;line-height:1.6;color:var(--sj-muted)}
.smart-panel[data-smart-checkout] [data-checkout-embedded] [data-hd-checkout] .hd-method:has(input:checked){border-color:var(--sj-green);background:#f6faf2;box-shadow:inset 0 0 0 1px var(--sj-green)}
.smart-panel[data-smart-checkout] [data-checkout-embedded] .hab-delivery .hd-method:has(input:checked) .hd-radio-mark{border-color:var(--sj-green)}
.smart-panel[data-smart-checkout] [data-checkout-embedded] .hab-delivery .hd-method:has(input:checked) .hd-radio-mark:after{background:var(--sj-green)}
.smart-panel[data-smart-checkout] [data-checkout-embedded] :is(.hd-recipient,.hd-address-editor,.hd-address-card,.hc-contact,[data-ppf-business]){padding:16px;border:1px solid #d8e1d0;border-radius:14px;background:#fff;box-shadow:none}
.smart-panel[data-smart-checkout] [data-checkout-embedded] :is(.hd-card-title strong,.hd-field-heading strong,.hc-contact>h3){font-size:17px;line-height:1.5;font-weight:650}
.smart-panel[data-smart-checkout] [data-checkout-embedded] :is(.hd-field>span,.hd-card-meta,.hd-save-choice,.hd-save-note,.hd-lookup-status,.hc-contact label,.hc-billing-choice small,.hc-method-note,.hc-settlement-note){font-size:13px;line-height:1.65}
.smart-panel[data-smart-checkout] [data-checkout-embedded] .hab-delivery :is(.hd-field input,.hd-field select),
.smart-panel[data-smart-checkout] [data-checkout-embedded] .hc-contact input:not([type=radio]){min-height:50px;padding:11px 12px;border-color:#cbd6c2;border-radius:11px;background:#fff;font-size:16px;line-height:1.5}
.smart-panel[data-smart-checkout] [data-checkout-embedded] .hab-delivery :is(.hd-extras,.hd-help)>summary{font-size:14px;line-height:1.65}
.smart-panel[data-smart-checkout] [data-checkout-embedded] :is(.hd-status,.hd-conflict,[data-ppf-checkout-status]:not(:empty)){font-size:14px;line-height:1.7}
.smart-panel[data-smart-checkout] [data-checkout-embedded] .hc-review-grid{gap:16px;padding:16px;background:transparent!important}
.smart-panel[data-smart-checkout] [data-checkout-embedded] .hc-summary{gap:14px;padding:16px;border:1px solid #d2dec7;border-radius:18px;background:var(--sj-sage);box-shadow:none}
.smart-panel[data-smart-checkout] [data-checkout-embedded] .hc-summary .hc-order-products>h3{font-size:20px;line-height:1.5;font-weight:700;color:var(--sj-ink)}
.smart-panel[data-smart-checkout] [data-checkout-embedded] .hc-summary .hc-order-products>h3>span{font-size:13px;background:#fff;border-color:#d3dfc9;color:var(--sj-green)}
.smart-panel[data-smart-checkout] [data-checkout-embedded] .hc-summary .hc-order-item{padding:14px;border-color:#d5dfcb;border-radius:13px;background:#fff}
.smart-panel[data-smart-checkout] [data-checkout-embedded] .hc-summary .hc-order-identity h4{font-size:16px;line-height:1.6}
.smart-panel[data-smart-checkout] [data-checkout-embedded] .hc-summary :is(.hc-order-vehicle,.hc-order-options,.hc-order-price,.hc-totals,.hc-fulfilment){font-size:13px;line-height:1.65}
.smart-panel[data-smart-checkout] [data-checkout-embedded] .hc-summary .hc-paynow{padding:14px;border:1px solid #cbdabb;border-radius:13px;background:#fff;box-shadow:none}
.smart-panel[data-smart-checkout] [data-checkout-embedded] .hc-paynow-label{font-size:14px;line-height:1.6;color:var(--sj-muted)}
.smart-panel[data-smart-checkout] [data-checkout-embedded] .hc-summary .hc-paynow>strong{font-size:32px;line-height:1.35;font-weight:750;color:var(--sj-ink)}
.smart-panel[data-smart-checkout] [data-checkout-embedded] .hc-summary .hc-totals{gap:8px;margin:0;padding:0}
.smart-panel[data-smart-checkout] [data-checkout-embedded] .hc-form{gap:16px}
.smart-panel[data-smart-checkout] [data-checkout-embedded] .hc-form>fieldset.hc-methods{padding:16px;gap:9px;border:1px solid #d5dfcc;border-radius:17px;background:#fff;box-shadow:none}
.smart-panel[data-smart-checkout] [data-checkout-embedded] .hc-form>.hc-methods>legend{font-size:18px;line-height:1.5;font-weight:700;color:var(--sj-ink)}
.smart-panel[data-smart-checkout] [data-checkout-embedded] .hc-methods>.hc-method[data-checkout-brand]{min-height:76px;padding:12px;gap:12px;border:1px solid #e0e5da;border-radius:12px;background:#fff;box-shadow:none}
.smart-panel[data-smart-checkout] [data-checkout-embedded] .hc-methods>.hc-method[data-checkout-brand]+.hc-method{border-block-start:1px solid #e0e5da}
.smart-panel[data-smart-checkout] [data-checkout-embedded] .hc-methods>.hc-method[data-checkout-brand]:has(input:checked){border-color:var(--hc-pay-accent,#bd1735);border-radius:12px;background:#f8faf5;box-shadow:inset 0 0 0 1px var(--hc-pay-accent,#bd1735)}
.smart-panel[data-smart-checkout] [data-checkout-embedded] .hc-methods>.hc-method[data-checkout-brand]:has(input:disabled){border-color:#e0e5da;background:#f6f7f3;box-shadow:none}
.smart-panel[data-smart-checkout] [data-checkout-embedded] .hc-method-label>b{font-size:16px;line-height:1.6}
.smart-panel[data-smart-checkout] [data-checkout-embedded] .hc-method-label>small{font-size:13px;line-height:1.65}
.smart-panel[data-smart-checkout] [data-checkout-embedded] .hc-methods>.hc-method[data-checkout-brand=tabby] .tabby-payment-choice{font-size:15px;line-height:1.6}
.smart-panel[data-smart-checkout] [data-checkout-embedded] :is(.hd-footer,.hc-submit){gap:8px;padding-block:12px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #d5decc;background:var(--sj-paper);box-shadow:none}
.smart-panel[data-smart-checkout] [data-checkout-embedded] .hc-submit-copy{font-size:13px;line-height:1.6}
.smart-panel[data-smart-checkout] [data-checkout-embedded] .hc-submit-amount{font-size:22px;line-height:1.4;font-weight:750}
.smart-panel[data-smart-checkout] [data-checkout-embedded] :is(.hd-primary,.hc-submit button[type=submit]){min-height:52px;padding:12px 16px;border-radius:12px;font-size:16px;line-height:1.5;box-shadow:none}

/* The wide Smart host keeps the native payment form beside its receipt. */
@media(min-width:1000px){
 .smart-panel.cart-review-active[data-smart-checkout]>[data-checkout-embedded][data-checkout-stage=payment]>.hc-review-grid{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:24px;align-items:start}
 .smart-panel.cart-review-active[data-smart-checkout]>[data-checkout-embedded][data-checkout-stage=payment]>.hc-review-grid>:is(.hc-summary,.hc-form){min-width:0}
}

/* Native mobile summary leads the review; no duplicate amount or fixed layer. */
@media(max-width:999px){
 .smart-panel.purchase-only.cart-review-active .smart-cart-columns>.smart-cart-summary{order:-1}
 .smart-panel.purchase-only.cart-review-active .smart-cart-columns>.smart-cart-summary>.smart-cart-total{order:-1}
 .smart-panel.purchase-only.cart-review-active .smart-cart-readiness.smart-cart-readiness{min-height:40px;padding:8px 10px;gap:8px}
 .smart-panel.purchase-only.cart-review-active .smart-cart-readiness.smart-cart-readiness :is(b,small){line-height:1.5}
}

/* Compact screens retain the same hierarchy, without smaller form text. */
@media(max-width:640px){
 .smart-panel.purchase-only>.smart-head,.smart-panel[data-smart-checkout]>.smart-head,dialog.smart-product-preview[data-smart-product-preview]>.smart-preview-header{padding:10px 12px;min-height:62px;gap:8px}
 .smart-panel.purchase-only>.smart-head .smart-brand b,dialog.smart-product-preview[data-smart-product-preview]>.smart-preview-header .smart-preview-brand>b{font-size:19px}
 .smart-panel.purchase-only:not(.vehicle-selection-active)>.smart-journey-tools,.smart-panel.purchase-only.vehicle-selection-active>.smart-journey-tools{padding-inline:12px}
 .smart-panel.purchase-only .purchase-ribbon{padding-inline:12px}
 .smart-panel.purchase-only .smart-scroll,.smart-panel.purchase-only.vehicle-selection-active .smart-scroll{padding-inline:12px}
 dialog.smart-product-preview[data-smart-product-preview]>.smart-preview-journey,dialog.smart-product-preview[data-smart-product-preview]>.smart-preview-stages,dialog.smart-product-preview[data-smart-product-preview]>.smart-preview-tabs{padding-inline:12px}
 .smart-panel.purchase-only .hab-gallery-section .hab-gallery-banner{min-height:88px;margin-block-end:12px;border-radius:14px;box-shadow:none}
 .smart-panel.purchase-only .hab-gallery-section .hab-gallery-banner-copy{width:100%;padding:10px 14px}
 .smart-panel.purchase-only .hab-gallery-section .hab-gallery-banner-copy>small{margin-block-end:2px;font-size:10px;line-height:1.5}
 .smart-panel.purchase-only .hab-gallery-section .hab-gallery-banner-copy>h3{margin-block-end:4px;font-size:18px;line-height:1.4}
 .smart-panel.purchase-only .hab-gallery-section .hab-gallery-banner-copy>p{font-size:13px;line-height:1.65}
 .smart-panel.purchase-only .hab-gallery-section .hab-gallery-banner-tags{gap:5px;margin-block-start:8px}
 :is(#catalog,.smart-panel.purchase-only).smart-panel.purchase-only .hab-gallery-card .smart-gallery-visual{height:clamp(160px,46vw,190px);aspect-ratio:auto}
 .smart-panel[data-smart-checkout]>.smart-checkout-nav{padding-inline:12px}
 .smart-panel[data-smart-checkout] [data-checkout-embedded] .hab-delivery,.smart-panel[data-smart-checkout] [data-checkout-embedded] .hc-review-grid{padding:12px}
 .smart-panel[data-smart-checkout] [data-checkout-embedded] .hab-delivery .hd-form{padding:14px}
}
@media(max-width:390px){
 dialog.smart-product-preview[data-smart-product-preview]>.smart-preview-journey:has(>.smart-preview-cart-link):has(>.store-vehicle-status--saved){grid-template-columns:20px minmax(0,1fr) auto auto;column-gap:6px}
 dialog.smart-product-preview[data-smart-product-preview]>.smart-preview-journey:has(>.smart-preview-cart-link):has(>.store-vehicle-status--saved) :is(.store-vehicle-confirm,.store-vehicle-prompt){width:20px}
 dialog.smart-product-preview[data-smart-product-preview]>.smart-preview-journey>.smart-preview-cart-link{gap:4px;padding-inline:7px}
 html[lang=en] :is(.smart-panel.purchase-only .smart-progress-track,dialog.smart-product-preview[data-smart-product-preview] .purchase-phase-track) .purchase-stage-name{font-size:13px;overflow-wrap:anywhere}
 .smart-panel.purchase-only .smart-journey-tools [data-smart-stage]{font-size:15px}
 :is(.smart-panel.purchase-only .smart-progress-track,dialog.smart-product-preview[data-smart-product-preview] .purchase-phase-track){gap:4px}
 :is(.smart-panel.purchase-only .smart-progress-track,dialog.smart-product-preview[data-smart-product-preview] .purchase-phase-track)>.purchase-stage>button{padding-inline:2px;border-radius:10px}
 :is(.smart-panel.purchase-only .smart-progress-track,dialog.smart-product-preview[data-smart-product-preview] .purchase-phase-track) .purchase-stage-mark{gap:3px}
 .smart-panel.purchase-only.vehicle-selection-active .sv-hero-copy{padding:14px 12px}
 .smart-panel.purchase-only.vehicle-selection-active .sv-hero-copy>h3{font-size:22px}
 .smart-panel.purchase-only.vehicle-selection-active .sv-hero-copy>p{font-size:13px}
 .smart-panel.purchase-only.vehicle-selection-active .sv-benefits>span{gap:4px;font-size:13px}
 .smart-panel.purchase-only.vehicle-selection-active .smart-vehicle-mobile>button.sv-continue{font-size:15px}
 .smart-panel.purchase-only .smart-category-grid:has(>.hab-gallery-card){grid-template-columns:minmax(0,1fr)}
 :is(#catalog,.smart-panel.purchase-only).smart-panel.purchase-only .hab-gallery-card .smart-gallery-visual{aspect-ratio:1.8}
 :is(#catalog,.smart-panel.purchase-only).smart-panel.purchase-only .hab-gallery-card .smart-category-product-copy{padding:14px}
 :is(#catalog,.smart-panel.purchase-only).smart-panel.purchase-only .hab-gallery-card .hab-gallery-actions{grid-template-columns:minmax(0,1fr)}
 .smart-panel.purchase-only.cart-review-active .smart-cart[data-smart-cart-view] .smart-cart-item{padding:13px}
 .smart-panel.purchase-only.cart-review-active .smart-cart-product-head{grid-template-columns:58px minmax(0,1fr) 44px;gap:9px}
 .smart-panel.purchase-only.cart-review-active .smart-cart[data-smart-cart-view] .smart-cart-item .smart-cart-product-head :is(img,picture){width:58px;height:62px}
 .smart-panel.purchase-only.cart-review-active .smart-cart-product-head b{font-size:16px}
 .smart-panel.purchase-only.cart-review-active .smart-cart[data-smart-cart-view] .smart-cart-item .smart-cart-selections>div{grid-template-columns:72px minmax(0,1fr);gap:9px}
 .smart-panel.purchase-only.cart-review-active .smart-cart-summary{padding:14px}
 .smart-panel.purchase-only.cart-review-active .smart-cart[data-smart-cart-view] .smart-cart-summary>.smart-cart-total:has(>.smart-cart-total-value>.smart-cart-price[data-screen-total-minor]>strong)>.smart-cart-total-value>.smart-cart-price>strong{font-size:25px}
 .smart-panel[data-smart-checkout] [data-checkout-embedded] [data-hd-checkout] .hd-methods{grid-template-columns:minmax(0,1fr)}
 .smart-panel[data-smart-checkout] [data-checkout-embedded] [data-hd-checkout] .hd-method{min-height:76px}
 .smart-panel[data-smart-checkout] [data-checkout-embedded] .hc-summary,.smart-panel[data-smart-checkout] [data-checkout-embedded] .hc-form>fieldset.hc-methods{padding:13px}
 .smart-panel[data-smart-checkout] [data-checkout-embedded] .hc-methods>.hc-method[data-checkout-brand]{gap:8px;padding:10px}
 .smart-panel[data-smart-checkout] [data-checkout-embedded] .hc-method-label>b{font-size:15px}
}
@media(max-width:359px){
 dialog.smart-product-preview[data-smart-product-preview]>.smart-preview-journey:has(>.smart-preview-cart-link):has(>.store-vehicle-status--saved) .store-vehicle-copy>:is(b,strong){grid-column:2/-1}
 dialog.smart-product-preview[data-smart-product-preview]>.smart-preview-journey:has(>.smart-preview-cart-link):has(>.store-vehicle-status--saved) :is(.store-vehicle-status>[data-product-edit-vehicle],.store-vehicle-actions){grid-row:3}
 dialog.smart-product-preview[data-smart-product-preview]>.smart-preview-journey:has(>.smart-preview-cart-link):has(>.store-vehicle-status--saved)>.smart-preview-cart-link{grid-row:3}
 html[lang=en] .smart-panel[data-smart-checkout]>.smart-checkout-nav .hc-stages{gap:6px}
 html[lang=en] .smart-panel[data-smart-checkout]>.smart-checkout-nav .hc-stages>li{gap:4px;padding-inline:0;font-size:13px;overflow-wrap:normal;word-break:normal}
}
@media(max-height:600px){
 .smart-panel.purchase-only.keyboard-open>.smart-head,.smart-panel.purchase-only.compact-viewport>.smart-head{min-height:48px;padding-block:4px}
 .smart-panel.purchase-only.keyboard-open>.smart-journey-tools,.smart-panel.purchase-only.compact-viewport>.smart-journey-tools{padding-block:5px}
 .smart-panel.purchase-only.keyboard-open .smart-progress-track>.purchase-stage>button,.smart-panel.purchase-only.compact-viewport .smart-progress-track>.purchase-stage>button{min-height:44px;min-block-size:44px;padding-block:4px}
}
@media(hover:hover){
 :is(#catalog,.smart-panel.purchase-only).smart-panel.purchase-only .hab-gallery-card:hover{border-color:#bacdab;box-shadow:0 5px 18px #23381c0c}
 :is(#catalog,.smart-panel.purchase-only).smart-panel.purchase-only .hab-gallery-card .hab-gallery-actions .hab-gallery-add:hover:not(:disabled){background:#1d5337;border-color:#1d5337}
 .smart-panel.purchase-only .smart-vehicle-fields .vehicle-choice-trigger:hover:not(:disabled){border-color:#87a774;background:#fff;box-shadow:none}
 .smart-panel.purchase-only.cart-review-active .purchase-action-dock .smart-suggestions .smart-action[data-smart-action=buy]:hover:not(:disabled){background:#f0f5e9;border-color:#9bb68b}
}
@media(prefers-reduced-motion:reduce){
 :is(.smart-panel.purchase-only,.smart-panel[data-smart-checkout]) :is(.hab-gallery-card,.product-option,.dashcam-option,.purchase-stage>button),dialog.smart-product-preview[data-smart-product-preview] .purchase-stage>button{transition:none}
}
@media(forced-colors:active){
 :is(.smart-panel.purchase-only .smart-progress-track,dialog.smart-product-preview[data-smart-product-preview] .purchase-phase-track)>.purchase-stage.current>button{outline:2px solid Highlight}
 .smart-panel[data-smart-checkout] [data-checkout-embedded] :is(.hd-method,.hc-method):has(input:checked){outline:2px solid Highlight;box-shadow:none}
}

/* HAB Smart cart review. All controls and totals come from the native cart. */
[data-smart-panel].smart-panel.purchase-only.cart-review-active:not([data-smart-checkout]) {
  --cart-review-ink: #211d23;
  --cart-review-muted: #625961;
  --cart-review-paper: #f8f5f0;
  --cart-review-line: #e8ddd6;
  --cart-review-wine: #84203c;
  --cart-review-green: #176545;
}

[data-smart-panel].smart-panel.purchase-only.cart-review-active:not([data-smart-checkout]) .smart-scroll {
  padding: clamp(10px, 3vw, 24px);
  background: var(--cart-review-paper);
}

.smart-cart[data-cart-review-designed].smart-cart {
  gap: 11px;
}

.smart-cart[data-cart-review-designed] > .smart-cart-review-hero {
  display: grid;
  gap: 9px;
  padding: clamp(11px, 3.1vw, 20px);
  min-width: 0;
  border: 1px solid #e3d8de;
  border-inline-start: 3px solid #8b2145;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 6px 20px #48162c0c;
  color: var(--cart-review-ink);
}

.smart-cart[data-cart-review-designed] .smart-cart-review-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.smart-cart[data-cart-review-designed] .smart-cart-review-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 41px;
  height: 41px;
  border: 1px solid #efdee6;
  border-radius: 9px;
  background: #f8eef3;
  color: #7d2143;
}

.smart-cart[data-cart-review-designed] .smart-cart-review-mark svg {
  width: 22px;
  height: 22px;
}

.smart-cart[data-cart-review-designed].smart-cart .smart-cart-review-hero .smart-cart-title {
  flex: 1;
  flex-wrap: wrap;
  column-gap: 9px;
  row-gap: 3px;
  min-width: 0;
  padding: 0;
  background: transparent;
}

.smart-cart[data-cart-review-designed].smart-cart .smart-cart-review-hero .smart-cart-title > h2 {
  color: var(--cart-review-ink);
  font-size: clamp(1.12rem, 4.8vw, 1.65rem);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.smart-cart[data-cart-review-designed].smart-cart .smart-cart-review-hero .smart-cart-title > b {
  padding: 2px 9px;
  border: 1px solid #eadde5;
  border-radius: 99px;
  background: #f7edf1;
  color: #782345;
  font-size: .75rem;
  white-space: nowrap;
}

.smart-cart[data-cart-review-designed].smart-cart .smart-cart-review-hero > .smart-cart-total {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 4px 10px;
  margin: 0;
  padding: 9px 11px;
  border: 1px solid #ffffff30;
  border-radius: 13px;
  background: linear-gradient(130deg,#392932,#261f28);
  color: #fff !important; /* Gift discount applies its native blue to every total; keep contrast here. */
  box-shadow: none;
}

.smart-cart[data-cart-review-designed] .smart-cart-review-hero > .smart-cart-total:has(.smart-cart-price > strong) {
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
}

.smart-cart[data-cart-review-designed] .smart-cart-review-hero .smart-cart-total > header {
  min-width: 0;
  padding: 0;
}

.smart-cart[data-cart-review-designed] .smart-cart-review-hero .smart-cart-total > header > b {
  color: #f9e7ee;
  font-size: .83rem;
  line-height: 1.5;
}

.smart-cart[data-cart-review-designed] .smart-cart-review-hero .smart-cart-total-value {
  color: #fff;
  min-width: 0;
  font-size: .84rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.smart-cart[data-cart-review-designed] .smart-cart-review-hero .smart-cart-total-value:has(> .smart-cart-price > strong),
.smart-cart[data-cart-review-designed] .smart-cart-review-hero .smart-cart-total-value > .smart-cart-price:has(> strong) {
  display: contents;
}

.smart-cart[data-cart-review-designed] .smart-cart-review-hero .smart-cart-price > strong {
  display: block;
  color: #fff;
  font-size: clamp(1.24rem, 5.7vw, 1.86rem);
  font-weight: 800;
  line-height: 1.35;
  text-align: end;
  font-variant-numeric: tabular-nums;
}

.smart-cart[data-cart-review-designed] .smart-cart-review-hero .hab-gift-main-amount {
  justify-content: flex-end;
  gap: 3px 6px;
}

.smart-cart[data-cart-review-designed] .smart-cart-review-hero .hab-gift-price-label {
  margin: 0;
  padding: 1px 5px;
  background: #ffffff25;
  color: #fff;
  border-radius: 5px;
  font-size: .67rem;
}

/* The total heading already includes VAT. Keep the before-tax amount and tax visible. */
.smart-cart[data-cart-review-designed] .smart-cart-review-hero .smart-cart-price > small {
  display: none;
}

.smart-cart[data-cart-review-designed].smart-cart .smart-cart-review-hero .smart-cart-tax {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 12px;
  margin: 3px 0 0;
  padding: 7px 0 0;
  border: 0;
  border-block-start: 1px solid #ffffff30;
}

.smart-cart[data-cart-review-designed] .smart-cart-review-hero .smart-cart-tax > div {
  display: flex;
  flex-wrap: wrap;
  gap: 1px 6px;
  justify-content: space-between;
  align-items: baseline;
  min-width: 0;
}

.smart-cart[data-cart-review-designed] .smart-cart-review-hero .smart-cart-tax > div + div {
  padding-inline-start: 9px;
  border-inline-start: 1px solid #ffffff30;
}

.smart-cart[data-cart-review-designed] .smart-cart-review-hero .smart-cart-tax :is(dt, dd) {
  color: #f1dce6;
  font-size: .72rem;
  line-height: 1.5;
}

.smart-cart[data-cart-review-designed] .smart-cart-review-hero .smart-cart-tax dd {
  margin: 0;
  color: #fff;
  font-weight: 650;
}

[data-smart-panel].smart-panel.purchase-only.cart-review-active:not([data-smart-checkout]) .smart-cart-review-hero > .smart-cart-readiness {
  display: flex;
  align-items: center;
  grid-column: 1/-1;
  min-height: 36px;
  gap: 8px;
  margin: 0;
  padding: 5px 10px;
  border-color: #eedcc2;
  border-radius: 9px;
  background: #fff3e4;
  color: #734413;
}

[data-smart-panel].smart-panel.purchase-only.cart-review-active:not([data-smart-checkout]) .smart-cart-review-hero > .smart-cart-readiness.ready {
  border-color: #d7e7db;
  background: #ebf4ed;
  color: #1a6344;
}

.smart-cart[data-cart-review-designed].smart-cart .smart-cart-readiness.smart-cart-readiness > i {
  width: 22px;
  height: 22px;
  margin: 0;
  font-size: .83rem;
}

.smart-cart[data-cart-review-designed].smart-cart .smart-cart-readiness.smart-cart-readiness :is(b, small) {
  color: inherit;
  font-size: .78rem;
  line-height: 1.5;
}

.smart-cart[data-cart-review-designed] .smart-cart-summary > .product-disclosure {
  margin: 0;
  min-width: 0;
  border: 1px solid #e7d9dd;
  border-radius: 12px;
  background: #faf5f7;
}

.smart-cart[data-cart-review-designed] .smart-cart-summary > .product-disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 7px 11px;
  color: var(--cart-review-wine);
}

.smart-cart[data-cart-review-designed] .smart-cart-summary > .product-disclosure[open] > summary {
  border-block-end: 1px solid #e7d9dd;
}

.smart-cart[data-cart-review-designed] .smart-cart-summary > .product-disclosure > summary > span {
  display: inline-grid;
  place-items: center;
  inline-size: 25px;
  block-size: 25px;
  border-radius: 8px;
  background: #f1e4e9;
  font-weight: 700;
  line-height: 1;
}

[data-smart-panel].smart-panel.purchase-only.cart-review-active:not([data-smart-checkout]) .smart-cart[data-cart-review-designed] > .smart-cart-columns {
  gap: 15px;
}

.smart-cart[data-cart-review-designed] .smart-cart-review-items-title,
.smart-cart[data-cart-review-designed] .smart-cart-review-extras-title {
  margin: 0;
  min-width: 0;
  color: var(--cart-review-ink);
  font-size: 1.04rem;
  line-height: 1.5;
  font-weight: 750;
}

[data-smart-panel].smart-panel.purchase-only.cart-review-active:not([data-smart-checkout]) .smart-cart[data-cart-review-designed] .smart-cart-items {
  gap: 9px;
}

[data-smart-panel].smart-panel.purchase-only.cart-review-active:not([data-smart-checkout]) .smart-cart[data-cart-review-designed] .smart-cart-item {
  padding: clamp(10px, 3.4vw, 16px);
  gap: 9px;
  min-width: 0;
  border: 1px solid var(--cart-review-line);
  border-inline-start: 3px solid #d9bfc7;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 3px 10px #37212b0a;
}

[data-smart-panel].smart-panel.purchase-only.cart-review-active:not([data-smart-checkout]) .smart-cart[data-cart-review-designed] .smart-cart-product-head {
  grid-template-columns: clamp(54px, 17vw, 76px) minmax(0, 1fr) 44px;
  align-items: center;
  gap: clamp(7px, 2.4vw, 12px);
}

[data-smart-panel].smart-panel.purchase-only.cart-review-active:not([data-smart-checkout]) .smart-cart[data-cart-review-designed] .smart-cart-product-head :is(img, picture) {
  width: 100%;
  height: clamp(58px, 17vw, 76px);
  border: 1px solid #eee5df;
  border-radius: 11px;
  background: #f6f1ec;
  object-fit: contain;
  box-sizing: border-box;
}

[data-smart-panel].smart-panel.purchase-only.cart-review-active:not([data-smart-checkout]) .smart-cart[data-cart-review-designed] .smart-cart-product-head picture img {
  border: 0;
}

.smart-cart[data-cart-review-designed].smart-cart .smart-cart-product-head b {
  color: var(--cart-review-ink);
  font-size: 1rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.smart-cart[data-cart-review-designed].smart-cart .smart-cart-remove {
  align-self: start;
  border-color: #f0e5e2;
  border-radius: 11px;
  background: #fff9f8;
  color: var(--cart-review-wine);
}

[data-smart-panel].smart-panel.purchase-only.cart-review-active:not([data-smart-checkout]) .smart-cart[data-cart-review-designed] .smart-cart-selections > div {
  grid-template-columns: minmax(60px, .35fr) minmax(0, 1fr);
  gap: 7px 10px;
  padding: 6px 0;
  border-color: #eee7e2;
}

.smart-cart[data-cart-review-designed].smart-cart .smart-cart-selections :is(dt, dd) {
  min-width: 0;
  overflow-wrap: anywhere;
}

[data-smart-panel].smart-panel.purchase-only.cart-review-active:not([data-smart-checkout]) .smart-cart[data-cart-review-designed] .smart-cart-edit {
  flex: 0 1 auto;
  min-height: 44px;
  padding: 5px 9px;
  border: 1px solid #eadcde;
  border-radius: 9px;
  background: #fff8fa;
  color: var(--cart-review-wine);
  text-decoration: none;
}

[data-smart-panel].smart-panel.purchase-only.cart-review-active:not([data-smart-checkout]) .smart-cart[data-cart-review-designed] .smart-quantity {
  border-color: #eaded7;
  border-radius: 9px;
  background: #faf6f2;
}

[data-smart-panel].smart-panel.purchase-only.cart-review-active:not([data-smart-checkout]) .smart-cart[data-cart-review-designed] .smart-cart-item-price {
  gap: 3px 8px;
  padding: 7px 9px;
  border: 1px solid #eadfd8;
  border-radius: 10px;
  background: #f9f5f0;
}

.smart-cart[data-cart-review-designed].smart-cart .smart-cart-item-price > span {
  color: var(--cart-review-muted);
}

.smart-cart[data-cart-review-designed].smart-cart .smart-cart-item-price .smart-cart-price > strong {
  color: var(--cart-review-green);
  font-size: 1.2rem;
  line-height: 1.4;
}

[data-smart-panel].smart-panel.purchase-only.cart-review-active:not([data-smart-checkout]) .smart-cart[data-cart-review-designed] .smart-cart-columns > .smart-cart-summary {
  order: 0;
  gap: 10px;
  padding: clamp(11px, 3.4vw, 17px);
  border-color: var(--cart-review-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 3px 10px #37212b08;
}

.smart-cart[data-cart-review-designed].smart-cart .smart-cart-summary > .smart-cart-shipping-note {
  margin: 0;
  padding: 8px 10px;
  border-inline-start: 2px solid #c68b9a;
  border-radius: 6px;
  background: #faf4f3;
  color: #63565c;
}

[data-smart-panel].smart-panel.purchase-only.cart-review-active:not([data-smart-checkout]) > .purchase-action-dock {
  padding: 8px clamp(10px, 3vw, 24px) max(8px, env(safe-area-inset-bottom));
  border-color: var(--cart-review-line);
  background: #fff;
  box-shadow: 0 -4px 16px #37212b12;
}

[data-smart-panel].smart-panel.purchase-only.cart-review-active:not([data-smart-checkout]) .purchase-action-dock .smart-suggestions .smart-action:is([data-smart-action="checkout_start"], [data-smart-action="checkout_review"]):not(:disabled) {
  --smart-cart-cta: #186548;
  min-height: 48px;
  border-radius: 12px;
  box-shadow: 0 2px 7px #12513720;
}

[data-smart-panel].smart-panel.purchase-only.cart-review-active:not([data-smart-checkout]) .purchase-action-dock .smart-suggestions:has(> .smart-action:is([data-smart-action="checkout_start"], [data-smart-action="checkout_review"])) > .smart-action[data-smart-action="buy"] {
  min-height: 44px;
  border-color: var(--cart-review-line);
  background: #fbf6f3;
  color: var(--cart-review-wine);
  box-shadow: none;
}

[data-smart-panel].smart-panel.purchase-only.cart-review-active:not([data-smart-checkout]) .purchase-action-dock .smart-suggestions:has(> .smart-action:is([data-smart-action="checkout_start"], [data-smart-action="checkout_review"])) > .smart-action[data-smart-action="buy"] :is(.hab-cart-action-icon, b, small) {
  color: inherit;
}

[data-smart-panel].smart-panel.purchase-only.cart-review-active:not([data-smart-checkout]) .smart-cart-empty[data-smart-cart-view] {
  margin: 0;
  padding: clamp(20px, 7vw, 44px) 14px;
  border: 1px solid var(--cart-review-line);
  border-block-start: 4px solid var(--cart-review-wine);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 6px 18px #37212b12;
}

[data-smart-panel].smart-panel.purchase-only.cart-review-active:not([data-smart-checkout]) .smart-cart-empty[data-smart-cart-view] > i {
  width: 61px;
  height: 61px;
  border-radius: 17px;
  background: #f3e5ea;
  color: var(--cart-review-wine);
}

@media (min-width: 520px) {
  [data-smart-panel].smart-panel.purchase-only.cart-review-active:not([data-smart-checkout]) .purchase-action-dock .smart-suggestions:has(> .smart-action:is([data-smart-action="checkout_start"], [data-smart-action="checkout_review"])):has(> .smart-action[data-smart-action="buy"]) {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  }
}

@media (min-width: 1000px) {
  .smart-cart[data-cart-review-designed] > .smart-cart-review-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 20px;
  }

  .smart-cart[data-cart-review-designed] .smart-cart-review-mark {
    width: 49px;
    height: 49px;
  }

  [data-smart-panel].smart-panel.purchase-only.cart-review-active:not([data-smart-checkout]) .smart-cart[data-cart-review-designed] > .smart-cart-columns {
    grid-template-columns: minmax(0, 1fr) minmax(260px, .56fr);
    gap: 18px;
  }
}

@media (max-width: 359px) {
  .smart-cart[data-cart-review-designed] > .smart-cart-review-hero {
    gap: 10px;
    border-radius: 17px;
  }

  .smart-cart[data-cart-review-designed].smart-cart .smart-cart-review-hero .smart-cart-tax {
    column-gap: 8px;
  }
}

/* Cart entry has a single active way back and a native vehicle action. */
[data-smart-panel].smart-panel.purchase-only.cart-review-active:not([data-smart-checkout]) > .smart-journey-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 5px clamp(12px, 3vw, 24px);
}
[data-smart-panel].smart-panel.purchase-only.cart-review-active:not([data-smart-checkout]) > .smart-journey-tools .smart-progress-copy {
  display: flex;
  flex: 1;
  justify-content: flex-end;
  min-inline-size: 0;
}
[data-smart-panel].smart-panel.purchase-only.cart-review-active:not([data-smart-checkout]) > .smart-journey-tools :is(.smart-stage-line,.purchase-stage:has(> button:disabled),.purchase-stage-mark) {
  display: none;
}
[data-smart-panel].smart-panel.purchase-only.cart-review-active:not([data-smart-checkout]) > .smart-journey-tools .smart-progress-track {
  display: flex;
  inline-size: auto;
  min-block-size: 0;
  padding: 0;
}
[data-smart-panel].smart-panel.purchase-only.cart-review-active:not([data-smart-checkout]) .smart-progress-track > .purchase-stage {
  inline-size: auto;
  min-inline-size: 0;
}
[data-smart-panel].smart-panel.purchase-only.cart-review-active:not([data-smart-checkout]) .smart-progress-track > .purchase-stage::before {
  content: none;
}
[data-smart-panel].smart-panel.purchase-only.cart-review-active:not([data-smart-checkout]) .smart-progress-track > .purchase-stage > button {
  min-block-size: 44px;
  padding: 5px 12px;
  border: 1px solid #e5d3d9;
  border-radius: 10px;
  background: #fff7f9;
  color: #861832;
}

/* Override the light-background currency palette only inside the dark summary. */
[data-smart-panel].smart-panel.purchase-only.cart-review-active:not([data-smart-checkout]) .smart-cart-review-hero .smart-cart-total-value :is(strong,.hab-money,.hab-money > span) {
  color: #fff6f8 !important;
}

html:has([data-smart-panel].smart-panel.open.purchase-only.cart-review-active:not([data-smart-checkout])) :is(.journey-back-float,.hab-owner-content-toolbar) {
  display: none !important;
}

@media (max-width: 519px) {
  [data-smart-panel].smart-panel.purchase-only.cart-review-active:not([data-smart-checkout]) .purchase-action-dock .smart-suggestions:has(> .smart-action:is([data-smart-action="checkout_start"],[data-smart-action="checkout_review"])):has(> [data-smart-action="buy"]) {
    grid-template-columns: minmax(0,1.37fr) minmax(0,1fr);
  }
  [data-smart-panel].smart-panel.purchase-only.cart-review-active:not([data-smart-checkout]) .purchase-action-dock .smart-suggestions:has(> .smart-action:is([data-smart-action="checkout_start"],[data-smart-action="checkout_review"])) > .smart-action[data-smart-action="buy"] > .hab-cart-action-icon {
    display: none;
  }
  [data-smart-panel].smart-panel.purchase-only.cart-review-active:not([data-smart-checkout]) .purchase-action-dock .smart-suggestions > .smart-action .smart-action-copy > b {
    font-size: clamp(.78rem,3.7vw,.92rem);
  }
}
