/* Dealer Look F "Swipe Lot". Loaded after showroom.css (shared Alex, banner, vehicle page, modals, mobile bar).
   Lavender page (#f2efff), white cards, ink (#17142b), violet (--pop, locked) for prices and actions, a phone frame
   holding the swipe deck. Space Grotesk headings, Inter body. Motion only when the user has not asked for less. */

body.swipe {
  --bg: #f2efff; --card: #ffffff; --ink: #17142b; --mute: #4a4566; --soft: #e4deff; --line: #dcd5fb; --skip: #c8264a;
  --dark: var(--ink); --gray: var(--mute); --light: var(--bg); --border: var(--line); --white: var(--bg);
  --head: 'Space Grotesk', system-ui, sans-serif; --ck-display: 'Space Grotesk', sans-serif; --ck-body: 'Inter', sans-serif;
  font-family: 'Inter', system-ui, sans-serif; color: var(--ink); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
.swipe button, .swipe input, .swipe select, .swipe textarea { font-family: inherit; }
.swipe h1, .swipe h2, .swipe h3 { font-family: var(--head); font-weight: 700; }
.swipe a:focus-visible, .swipe button:focus-visible, .swipe select:focus-visible, .swipe input:focus-visible { outline: 3px solid var(--pop); outline-offset: 3px; }

/* buttons */
.l-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent; font: 600 16px/1.1 'Inter', sans-serif; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s; text-align: center; }
.l-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.l-btn--pop { background: var(--pop); color: var(--on-pop); }
.l-btn--pop:hover { background: #5536e6; }
.l-btn--line { background: var(--card); color: var(--ink); border-color: var(--soft); }
.l-btn--line:hover { border-color: var(--pop); color: var(--pop); }

/* header */
.l-header { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 22px; height: 68px; padding: 0 40px; background: rgba(242, 239, 255, .92); border-bottom: 1px solid var(--line); color: var(--ink); backdrop-filter: blur(10px); }
.l-brand { display: flex; align-items: center; text-decoration: none; color: var(--ink); min-width: 0; }
.l-brand__logo { height: 40px; width: auto; }
img.l-brand__logo { border-radius: 8px; }
.swipe .sr-mono b { border-radius: 12px; background: var(--pop); color: var(--on-pop); font-family: var(--head); }
.swipe .sr-mono span { font-family: var(--head); font-weight: 700; color: var(--ink); }
.l-nav { display: flex; gap: 28px; margin-left: auto; }
.l-nav a { color: var(--mute); text-decoration: none; font-size: 15px; font-weight: 500; }
.l-nav a:hover { color: var(--pop); }
.l-header__right { display: flex; align-items: center; gap: 12px; }
.swipe .lang-toggle { background: var(--card); border: 1px solid var(--line); }
.swipe .lang-toggle button, .swipe .lang-toggle a { color: var(--mute); }
.swipe .lang-toggle button[aria-pressed="true"], .swipe .lang-toggle a[aria-current="true"] { background: var(--pop); color: var(--on-pop); }
.l-phone { padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }

/* hero: copy left, phone with the swipe deck right */
.sw-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); column-gap: 72px; row-gap: 18px; align-items: center; max-width: 1180px; margin: 0 auto; padding: 48px 40px 64px; }
.sw-copy { display: flex; flex-direction: column; gap: 18px; max-width: 460px; justify-self: end; }
.sw-kicker { margin: 0; font: 700 13px/1 var(--head); letter-spacing: .2em; text-transform: uppercase; color: var(--pop); }
.sw-title { margin: 0; font-size: clamp(44px, 5.4vw, 68px); line-height: 1; letter-spacing: -.02em; }
.l-hero__sub { margin: 0; font-size: 18px; line-height: 1.55; color: var(--mute); }
.l-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
/* Garage link: plain text (heart, name, count), no pill */
.sw-pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 6px; border: 0; border-radius: 0; background: none; color: var(--ink); font-weight: 600; font-size: 16px; cursor: pointer; }
.sw-pill > span[data-i18n] { text-decoration: underline; text-decoration-color: var(--pop); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.sw-pill svg { width: 20px; height: 20px; fill: none; stroke: var(--pop); stroke-width: 2.2; }
.sw-pill:hover, .sw-pill[aria-expanded="true"] { color: var(--pop); }
.sw-pill b, .sw-top__g b { display: inline-block; }
.is-bump { animation: sw-bump .45s ease; }
.is-bump b { animation: sw-bump-n .45s ease; }
@keyframes sw-bump { 40% { transform: scale(1.08); } }
@keyframes sw-bump-n { 40% { transform: scale(1.7); } }

.sw-phone { width: 100%; max-width: 390px; justify-self: start; background: var(--ink); border-radius: 44px; padding: 12px; box-shadow: 0 30px 60px rgba(23, 20, 43, .22); }
.sw-screen { background: var(--card); border-radius: 33px; overflow: hidden; display: flex; flex-direction: column; padding-bottom: 10px; }
.sw-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px 10px; font-weight: 600; font-size: 14px; }
.sw-top__shop { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sw-top__g { color: var(--pop); white-space: nowrap; }
.sw-deck { position: relative; min-height: 200px; margin: 8px 18px 0; }
.sw-card { position: absolute; inset: 0; border-radius: 24px; background: var(--card); box-shadow: 0 18px 40px rgba(23, 20, 43, .16); touch-action: pan-y; user-select: none; -webkit-user-select: none;
  transform: translateY(calc(var(--n, 0) * 10px)) scale(calc(1 - var(--n, 0) * .04)); transition: transform .3s ease, opacity .3s ease; z-index: calc(10 - var(--n, 0)); perspective: 1200px; }
.sw-card:not(.is-top) { background: var(--soft); box-shadow: none; }
.sw-card:not(.is-top) .sw-card__inner { opacity: 0; }
.sw-card[style*="--n:1"] { transform: translateY(12px) rotate(-4deg) scale(.97); }
.sw-card.is-top, .sw-card--static { position: relative; }
.sw-card.is-top { cursor: grab; }
.sw-card.is-drag { transition: none; cursor: grabbing; }
.sw-card.is-out-right { transform: translateX(130%) rotate(18deg) !important; opacity: 0; }
.sw-card.is-out-left { transform: translateX(-130%) rotate(-18deg) !important; opacity: 0; }
.sw-card__inner { position: relative; display: grid; transform-style: preserve-3d; transition: transform .45s cubic-bezier(.3, 1.2, .5, 1); border-radius: 24px; }
.sw-card.is-flipped .sw-card__inner { transform: rotateY(180deg); }
.sw-face { position: relative; grid-area: 1 / 1; min-width: 0; border-radius: 24px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: var(--card); display: flex; flex-direction: column; }
.sw-back { transform: rotateY(180deg); padding: 24px 22px; gap: 14px; }
/* the face you are not looking at takes no height, so the card is exactly as tall as what it shows */
.sw-card:not(.is-flipped) .sw-back, .sw-card.is-flipped .sw-front { height: 0; min-height: 0; padding-top: 0; padding-bottom: 0; overflow: hidden; }
.sw-card.is-flipped .sw-card__inner { z-index: 3; }
.sw-card__hit { position: absolute; inset: 0; z-index: 2; width: 100%; border: 0; padding: 0; background: transparent; border-radius: 24px; cursor: inherit; }
.sw-card__more { position: relative; z-index: 3; margin-top: 4px; align-self: stretch; }
.sw-card__photo { position: relative; display: block; height: 270px; background: #2a2545; flex: none; }
.sw-card__photo img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.sw-card__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; min-height: 0; }
.sw-card__title { font: 700 24px/1.15 var(--head); color: var(--ink); overflow-wrap: anywhere; }
.sw-card__line { font-size: 14px; color: var(--mute); }
.sw-card__price { font: 700 28px/1.1 var(--head); color: var(--pop); margin-top: 4px; }
.sw-card__hint { font-size: 13px; color: var(--mute); margin-top: 2px; }
.sw-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.sw-specs div { padding: 10px 12px; border-radius: 14px; background: var(--bg); min-width: 0; }
.sw-specs dt { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.sw-specs dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.sw-stamp { position: absolute; top: 18px; padding: 6px 12px; border: 3px solid currentColor; border-radius: 10px; font: 700 18px/1 var(--head); text-transform: uppercase; background: rgba(255, 255, 255, .9); opacity: 0; transition: opacity .1s; }
.sw-stamp--save { left: 16px; color: var(--pop); transform: rotate(-12deg); opacity: max(0, var(--dx, 0)); }
.sw-stamp--skip { right: 16px; color: var(--skip); transform: rotate(12deg); opacity: max(0, calc(var(--dx, 0) * -1)); }
.sw-card--static { display: flex; flex-direction: column; text-decoration: none; color: inherit; overflow: hidden; }
.sw-end { position: relative; min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; text-align: center; border-radius: 24px; background: var(--bg); font: 700 20px/1.3 var(--head); }
/* status line: screen readers only (aria-live stays); the SAVE / SKIP stamp and the Garage count are the visual feedback */
.sw-status { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.sw-ctrl { display: flex; justify-content: center; align-items: center; gap: 22px; padding: 14px 0 10px; }
.sw-ctrl[hidden] { display: none; }
.sw-btn { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--soft); background: var(--card); cursor: pointer; transition: transform .15s, background .15s; }
.sw-btn:hover:not(:disabled) { transform: scale(1.06); }
.sw-btn:disabled { opacity: .4; cursor: default; }
.sw-btn svg { width: 26px; height: 26px; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.sw-btn--skip svg { stroke: var(--skip); }
.sw-btn--flip { width: 48px; height: 48px; }
.sw-btn--flip svg { width: 20px; height: 20px; stroke: var(--mute); stroke-width: 2.2; }
.sw-btn--save { border: 0; background: var(--pop); }
.sw-btn--save svg { stroke: #fff; }
.sw-hint--touch { display: none; }
@media (max-width: 640px) { .sw-hint--touch { display: inline; } .sw-hint--keys { display: none; } }
.sw-hint { grid-column: 2; justify-self: start; max-width: 390px; margin: 0; font-size: 14px; color: var(--mute); text-align: center; }

/* Your Garage */
.sw-garage { grid-column: 1 / -1; margin-top: 18px; padding: 26px; background: var(--card); border-radius: 24px; box-shadow: 0 10px 30px rgba(23, 20, 43, .08); }
.sw-garage[hidden] { display: none; }
.sw-garage__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 18px; margin-bottom: 14px; }
.sw-garage__title { margin: 0; font-size: 28px; }
.sw-garage__title:focus { outline: none; }
.sw-garage__title:focus-visible { outline: 3px solid var(--pop); outline-offset: 4px; }
.sw-garage__n { color: var(--pop); }
.sw-garage__note, .sw-garage__empty { margin: 0; font-size: 14px; color: var(--mute); }
.sw-garage__empty { padding: 12px 0; }
.sw-garage__list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.sw-g { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; background: var(--bg); }
.sw-g__photo { flex: none; width: 84px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--soft); }
.sw-g__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sw-g__text { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.sw-g__name { font-weight: 600; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.sw-g__name:hover { color: var(--pop); text-decoration: underline; }
.sw-g__price { font: 700 16px/1.2 var(--head); color: var(--pop); }
.sw-g__rm { flex: none; min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--mute); font-size: 13px; font-weight: 600; cursor: pointer; }
.sw-g__rm:hover { color: var(--skip); border-color: var(--skip); }
.sw-garage__ask[hidden] { display: none; }

/* sections */
.l-section { padding: 88px 40px; scroll-margin-top: 68px; }
.l-section > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.l-big { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -.02em; margin-bottom: 28px; color: var(--ink); }

/* search + type tiles */
.l-search { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 10px; padding: 10px; background: var(--card); border-radius: 22px; margin-bottom: 26px; box-shadow: 0 10px 30px rgba(23, 20, 43, .06); }
.l-search select { min-width: 0; border: 1px solid var(--line); border-radius: 14px; padding: 14px 12px; font-size: 16px; background: var(--bg); color: var(--ink); cursor: pointer; }
.l-tiles.type-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.swipe .type-tile { background: var(--card); border: 2px solid transparent; border-radius: 20px; }
.swipe .type-tile:hover { border-color: var(--soft); background: var(--card); }
.swipe .type-tile.active { background: var(--ink); border-color: var(--ink); }
.swipe .type-tile .type-label { font-family: var(--head); color: var(--ink); }
.swipe .type-tile .type-count { color: var(--mute); }
.swipe .type-tile.active .type-label, .swipe .type-tile.active .type-count { color: #fff; }

/* inventory: tile cards + a heart that saves to Your Garage (bottom-right of the 210px photo, clear of the tags) */
.l-inventory { background: var(--card); }
.l-inv-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.l-inv-head .l-big { margin: 0; }
.swipe .filter-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.swipe .filter-btn { border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--mute); font-weight: 600; }
.swipe .filter-btn:hover { border-color: var(--pop); color: var(--pop); }
.swipe .filter-btn.active { background: var(--pop); border-color: var(--pop); color: var(--on-pop); }
.swipe .car-grid { gap: 18px; }
.sw-item { position: relative; min-width: 0; }
.sw-item .car-card { height: 100%; }
.swipe .car-card { border-radius: 22px; background: var(--bg); box-shadow: none; }
.swipe .car-card:hover { box-shadow: 0 16px 34px rgba(23, 20, 43, .12); }
.swipe .car-photo { border-radius: 22px 22px 0 0; }
.swipe .car-tag { border-radius: 999px; }
.swipe .car-model { font-family: var(--head); font-weight: 700; }
.swipe .car-price { font-family: var(--head); color: var(--pop); }
.swipe .car-cta { border-radius: 999px; background: var(--ink); color: #fff; }
.sw-heart { position: absolute; top: 154px; right: 12px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .94); box-shadow: 0 4px 14px rgba(23, 20, 43, .18); cursor: pointer; }
.sw-heart svg { width: 22px; height: 22px; fill: none; stroke: var(--pop); stroke-width: 2.2; }
.sw-heart.is-on { background: var(--pop); }
.sw-heart.is-on svg { stroke: #fff; fill: #fff; }
.swipe .inv-note, .swipe .inv-empty { color: var(--mute); }

/* steps */
.l-steps ol { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0; }
.l-steps li { padding: 26px 24px 28px; background: var(--card); border-radius: 24px; }
.l-num { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 50%; background: var(--pop); color: #fff; font: 700 18px/1 var(--head); }
.l-steps h3 { font-size: 22px; margin-bottom: 8px; }
.l-steps p { font-size: 16px; line-height: 1.55; color: var(--mute); }

/* financing (shared markup) */
.swipe .financing-section { background: var(--ink); color: #fff; padding: 88px 40px; }
.swipe .financing-section + .financing-section { background: #241f42; }
.swipe .financing-inner { max-width: 860px; }
.swipe .financing-section .section-label { color: #c9bcff; filter: none; font-weight: 700; letter-spacing: .16em; }
.swipe .financing-section .section-title { font-family: var(--head); font-weight: 700; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.05; color: #fff; }
.swipe .financing-section .section-sub, .swipe .financing-section .sr-sub-strong { color: #d9d4f2; }
.swipe .financing-form { background: var(--card); border: 0; border-radius: 24px; box-shadow: none; color: var(--ink); }
.swipe .financing-form label { color: var(--mute); }
.swipe .financing-form input, .swipe .financing-form select { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; color: var(--ink); }
.swipe .financing-form input:focus, .swipe .financing-form select:focus { border-color: var(--pop); box-shadow: none; }
.swipe .btn-apply { border-radius: 999px; background: var(--pop); color: var(--on-pop); }
.swipe .btn-apply--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.swipe .financing-disclaimer, .swipe .financing-form .form__demo, .swipe .sr-apply-note { color: var(--mute); }
.swipe .sr-done { background: var(--soft); color: var(--ink); border: 0; border-radius: 16px; }
.swipe .financing-section .sr-disc, .swipe .financing-section .sr-disc summary { color: #d9d4f2; }
.swipe .financing-section > .financing-inner > a, .swipe .financing-section .section-sub a { color: #c9bcff; }

/* still looking */
.l-still__b { font-size: 19px; line-height: 1.5; color: var(--mute); margin-top: -10px; margin-bottom: 28px; }

/* visit */
.l-visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); background: var(--card); scroll-margin-top: 68px; }
.l-visit__info { padding: 72px 40px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.l-visit__info .l-big { margin-bottom: 12px; }
.l-visit__info p, .l-visit__info a:not(.l-btn) { color: var(--ink); font-size: 17px; line-height: 1.55; text-decoration: none; }
.l-visit__city { font-weight: 600; color: var(--pop) !important; }
.l-visit__phone a, .l-visit__phone span { font: 700 28px/1.2 var(--head) !important; color: var(--ink) !important; }
.l-payline { color: var(--mute) !important; }
.l-social { display: flex; gap: 10px; margin: 6px 0 12px; }
.l-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bg); color: var(--ink); }
.l-social a:hover { background: var(--pop); color: #fff; }
.l-social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.l-social svg .fill { fill: currentColor; stroke: none; }
.l-visit .l-btn--pop { margin-top: 10px; color: var(--on-pop); }
.l-visit iframe { width: 100%; height: 100%; min-height: 440px; border: 0; }

/* footer */
.l-footer { background: var(--ink); color: #d9d4f2; padding: 40px 40px 24px; overflow: hidden; }
.l-footer__name { margin: 0 0 26px; font: 700 clamp(36px, 7vw, 110px)/1 var(--head); letter-spacing: -.02em; overflow-wrap: anywhere; color: #c9bcff; }
.l-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; }
.l-footer__base a { color: #fff; }
.l-by { display: inline-flex; align-items: center; gap: 8px; color: #d9d4f2; text-decoration: none; }
.l-by img { height: 16px; width: auto; }

/* vehicle page (shared markup) */
.swipe .vdp { background: var(--bg); }
.swipe .vdp-back { color: var(--pop); font-weight: 600; }
.swipe .vdp-main { border-radius: 24px; }
.swipe .vdp-thumbs button { border-radius: 12px; }
.swipe .vdp-thumbs button[aria-current="true"] { border-color: var(--pop); }
.swipe .vdp-info { border-radius: 24px; box-shadow: 0 10px 30px rgba(23, 20, 43, .08); }
.swipe .vdp-title { font-family: var(--head); font-weight: 700; }
.swipe .vdp-price strong { font-family: var(--head); color: var(--pop); }
.swipe .vdp-keys div { border-radius: 14px; background: var(--bg); }
.swipe .vdp-actions .btn-apply { border-radius: 999px; background: var(--pop); color: var(--on-pop); }
.swipe .btn-outline { border-radius: 999px; border: 2px solid var(--ink); }
.swipe .btn-link { color: var(--pop); }
.swipe .vdp-feats li { border-radius: 999px; }

/* modals + forms */
.swipe .sr-modal__box { border-radius: 24px; }
.swipe .sr-light-form input, .swipe .sr-light-form select, .swipe .sr-light-form textarea { border-radius: 14px; border: 1px solid var(--line); background: var(--bg); }
.swipe .sr-light-form input:focus, .swipe .sr-light-form select:focus, .swipe .sr-light-form textarea:focus { border-color: var(--pop); }
.swipe .sr-check { border-radius: 16px; background: var(--soft); color: var(--ink); }
.swipe .sr-modal a { color: var(--pop); }

/* trust spots */
.swipe .tr { background: var(--bg); padding: 88px 40px; }
.swipe .tr__kicker { color: var(--pop); letter-spacing: .16em; }
.swipe .tr__title { font-family: var(--head); font-weight: 700; color: var(--ink); }
.swipe .tr__google, .swipe .tr__badge { border-radius: 24px; border-color: var(--line); }
.swipe .tr__score b { font-family: var(--head); }
.swipe .tr__review { border-radius: 16px; }
.swipe .tr__stars-fill svg { fill: var(--pop); }
.swipe .tr__icon { border-radius: 50%; background: var(--soft); color: var(--pop); }
.swipe .tr-chip { border-radius: 999px; }

/* phone + tablet menu, mobile bar */
@media (max-width: 1199px) {
  body.swipe .l-nav { display: none !important; }
  body.swipe .tm-btn { color: var(--ink); border-radius: 999px; border-width: 1px; }
  body.swipe .tm-panel { background: var(--card); color: var(--ink); }
  body.swipe .tm-panel a, body.swipe .tm-panel__phone a, body.swipe .tm-panel__phone span { color: var(--ink); font-family: var(--head); }
  body.swipe .l-header .l-phone { display: none; }
}
@media (max-width: 767px) {
  body.swipe { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .swipe .mbar { background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); }
  .swipe .mbar__btn { border-radius: 999px; }
  .swipe .mbar__btn--main { background: var(--pop); color: var(--on-pop); }
}

/* responsive: phone first means the deck comes right under the headline */
@media (max-width: 900px) {
  .sw-hero { grid-template-columns: minmax(0, 1fr); padding: 28px 20px 48px; row-gap: 20px; }
  .sw-copy { justify-self: stretch; max-width: none; gap: 14px; }
  .sw-phone { justify-self: center; }
  .sw-hint { grid-column: 1; justify-self: center; }
  .l-tiles.type-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .l-steps ol { grid-template-columns: minmax(0, 1fr); }
  .l-visit { grid-template-columns: minmax(0, 1fr); }
  .l-visit iframe { min-height: 300px; }
}
@media (max-width: 640px) {
  .l-header { padding: 0 14px; gap: 10px; height: 60px; }
  .l-nav, .l-phone { display: none; }
  .l-header__right { margin-left: auto; }
  .swipe .sr-mono span { display: none; }
  .sw-hero { padding: 22px 16px 40px; }
  /* phone order: headline, then the deck, then the copy and buttons */
  .sw-copy { display: contents; }
  .sw-kicker { order: 0; } .sw-title { order: 1; } .sw-phone { order: 2; } .sw-hint { order: 3; } .sw-status { order: 3; }
  .sw-hero > .sw-copy > .l-hero__sub { order: 4; } .sw-hero > .sw-copy > .l-hero__cta { order: 5; } .sw-garage { order: 6; }
  .sw-hero { row-gap: 14px; }
  .l-hero__cta .l-btn, .l-hero__cta .sw-pill { flex: 1 1 auto; }
  .sw-title { font-size: clamp(38px, 11vw, 52px); }
  .l-hero__sub { font-size: 16px; }
  /* on a phone the page IS the phone: drop the frame, keep the deck */
  .sw-phone { max-width: none; padding: 0; background: none; box-shadow: none; border-radius: 0; }
  .sw-screen { background: none; border-radius: 0; overflow: visible; }
  .sw-top { padding: 0 4px 8px; }
  .sw-deck { margin: 2px 2px 0; }
  .sw-top { font-size: 13px; padding-bottom: 6px; }
  body:has(.ck-exp) .sw-hero { padding-top: 54px; }
  .sw-card__photo { height: min(190px, 46vw); }
  .sw-card__body { padding: 12px 16px; gap: 4px; }
  .sw-back { padding: 18px 16px; gap: 10px; }
  .sw-ctrl { padding: 12px 0 4px; gap: 18px; }
  .sw-btn { width: 58px; height: 58px; }
  .sw-title { font-size: clamp(34px, 10vw, 48px); }
  .sw-card__title { font-size: 21px; }
  .sw-card__price { font-size: 25px; }
  .sw-garage { padding: 18px 14px; }
  .l-section, .swipe .financing-section, .swipe .tr { padding: 60px 16px; }
  .l-search { grid-template-columns: minmax(0, 1fr); }
  .l-tiles.type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .l-visit__info { padding: 56px 16px; }
  .l-footer { padding: 32px 16px 20px; }
  .l-footer__base { flex-direction: column; align-items: flex-start; }
}

body:has(.ck-exp) .sw-hero { padding-top: 64px; }

@media (prefers-reduced-motion: reduce) {
  .sw-card, .sw-card__inner, .sw-btn, .l-btn { transition: none !important; }
  .is-bump, .is-bump b { animation: none; }
  /* flip without 3D: swap faces */
  .sw-card.is-flipped .sw-card__inner { transform: none; }
  .sw-card.is-flipped .sw-front { visibility: hidden; }
  .sw-back { transform: none; visibility: hidden; }
  .sw-card.is-flipped .sw-back { visibility: visible; }
}

/* ---------- hero action (look-f-hero, Nov 23 2026). Only transform, translate, rotate and opacity move. ---------- */
/* 4. background: soft light shapes in the F palette (white, pink-lavender, blue-lavender, all lighter than the page
   color so text contrast never drops). One fixed layer, moved with transform only; no filters. */
body.swipe::before { content: ''; position: fixed; z-index: -1; inset: -12vmax; pointer-events: none;
  background:
    radial-gradient(34vmax 30vmax at 24% 26%, #ffffff 0%, rgba(255, 255, 255, 0) 68%),
    radial-gradient(30vmax 34vmax at 78% 34%, #fbe6ff 0%, rgba(251, 230, 255, 0) 70%),
    radial-gradient(38vmax 30vmax at 58% 80%, #e2efff 0%, rgba(226, 239, 255, 0) 70%),
    radial-gradient(24vmax 24vmax at 8% 82%, #ffffff 0%, rgba(255, 255, 255, 0) 70%); }
/* the fly-to-garage thumbnail (made by swipe.js) */
.sw-fly { position: fixed; left: 0; top: 0; z-index: 90; width: 72px; height: 54px; border-radius: 12px; object-fit: cover; pointer-events: none; box-shadow: 0 8px 18px rgba(23, 20, 43, .28); border: 2px solid #fff; }
/* the "swipe me" hand (phones, first visit only) */
.sw-hand { position: absolute; left: 50%; top: 38%; z-index: 20; display: grid; place-items: center; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--ink); pointer-events: none; opacity: 0; }
.sw-hand svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
  body.swipe::before { animation: sw-drift 28s ease-in-out infinite alternate; }
  @keyframes sw-drift { from { transform: translate3d(-5vmax, -3vmax, 0) rotate(-2deg); } to { transform: translate3d(5vmax, 4vmax, 0) rotate(3deg); } }
  /* 1. the deck deals itself in: back cards first, the top card last, each lands with a small bounce.
     The server-drawn first card waits hidden so the deal starts from an empty table (shown after 3 s if the script never runs). */
  html.js .sw-card--static { visibility: hidden; animation: sw-show 0s 3s forwards; }
  @keyframes sw-show { to { visibility: visible; } }
  .sw-deck.is-deal .sw-card { animation: sw-deal .72s cubic-bezier(.22, .8, .3, 1) both; animation-delay: calc(.12s + (2 - var(--n, 0)) * .15s); }
  @keyframes sw-deal {
    0% { translate: 118% -8%; rotate: 18deg; opacity: 0; }
    18% { opacity: 1; }
    60% { translate: -4.5% 0; rotate: -3deg; }
    80% { translate: 1.6% 0; rotate: 1deg; }
    100% { translate: 0 0; rotate: 0deg; opacity: 1; }
  }
  /* 2. one "swipe me" wiggle on the top card */
  .sw-card.is-wiggle { animation: sw-wiggle 1s ease-in-out 1; }
  @keyframes sw-wiggle {
    0%, 100% { translate: 0 0; rotate: 0deg; }
    28% { translate: -7% 0; rotate: -7deg; }
    66% { translate: 7% 0; rotate: 7deg; }
  }
  .sw-hand { animation: sw-hand 1.5s ease-in-out 1 both; }
  @keyframes sw-hand {
    0% { opacity: 0; transform: translate3d(0, 10px, 0); }
    18% { opacity: .6; transform: none; }
    42% { opacity: .6; transform: translate3d(-34px, 0, 0) rotate(-10deg); }
    72% { opacity: .6; transform: translate3d(34px, 0, 0) rotate(10deg); }
    100% { opacity: 0; transform: none; }
  }
}

/* ---------- no pills in this look (RR-RULES 3): chips and count bubbles become plain text. Buttons keep their shape. ---------- */
.swipe .filter-bar { gap: 4px 22px; }
.swipe .filter-btn, .swipe .filter-btn.active { min-height: 44px; padding: 0; border: 0; border-radius: 0; background: none; }
.swipe .filter-btn { color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 7px; transition: none; }
.swipe .filter-btn:hover { color: var(--pop); }
.swipe .filter-btn.active { color: var(--pop); text-decoration-color: currentColor; }
.swipe .tr-chips { gap: 4px 14px; }
.swipe .tr-chip, .swipe .tr-chip--hist, .swipe .tr-chips--vdp .tr-chip { padding: 0; border: 0; border-radius: 0; background: none; }
.swipe .tr__sample { padding: 0; border: 0; border-radius: 0; }
.swipe .vdp-feats { gap: 10px 22px; }
.swipe .vdp-feats li { padding: 0; border: 0; border-radius: 0; background: none; font-size: 14px; }
.swipe .l-num { display: block; width: auto; height: auto; margin-bottom: 10px; border-radius: 0; background: none; color: var(--pop); font: 700 34px/1 var(--head); }
.sw-g__rm { min-height: 44px; padding: 0 4px; border: 0; border-radius: 0; background: none; text-decoration: underline; text-underline-offset: 4px; }
.sw-g__rm:hover { color: var(--skip); }
/* fonts: everything in the skin's two faces (Space Grotesk + Inter) */
.swipe .skip-link, .swipe .l-footer, .swipe .l-footer * { font-family: 'Inter', sans-serif; }
.swipe .l-footer .l-footer__name { font-family: var(--head); }
.swipe .vdp-keys .spec--vin dd { font-family: 'Inter', sans-serif; letter-spacing: .02em; }

/* looks-fixes: Your Garage holds 2 cars. Trying a 3rd shows this short note (swipe.js). */
.sw-full { position: fixed; left: 50%; bottom: 96px; z-index: 90; width: max-content; max-width: min(92vw, 420px); margin: 0; padding: 12px 18px; border-radius: 14px;
  background: var(--ink); color: #fff; font: 600 15px/1.35 'Inter', system-ui, sans-serif; text-align: center; box-shadow: 0 14px 36px rgba(23, 20, 43, .35);
  opacity: 0; transform: translate(-50%, 12px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.sw-full.is-on { opacity: 1; transform: translate(-50%, 0); }
