/*
 * Vehicle detail page, lead dialogs, toasts, opening hours and the standalone
 * "sell your vehicle" surface — the one stylesheet for everything the detail
 * stack renders. Same editorial system as the listing (assets/dist/widget.css):
 * off-white paper, hairline rules, mono micro-labels, black primary actions,
 * glass only on floating layers. Tokens come from the dealer's three choices
 * (accent, light/dark, radius), emitted inline by the server as --ca-*.
 */

/* ---------- tokens ---------- */
.ca-v2,
.ca-hours-standalone,
.ca-sale-standalone {
  --ca-accent: #1860f0;
  --ca-accent-ink: #ffffff;
  --ca-radius: 22px;
  --ca-sans: Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ca-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ca-ease: cubic-bezier(.22, 1, .36, 1);
  --ca-paper: #ffffff;
  --ca-paper-2: #faf9f5;
  --ca-paper-3: #f1f1f0;
  --ca-ink: #0b0b0c;
  --ca-ink-2: #57585c;
  --ca-ink-3: #8a8b8f;
  --ca-rule: rgba(11, 11, 12, .13);
  --ca-rule-2: rgba(11, 11, 12, .08);
  --ca-glass: linear-gradient(170deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .62));
  --ca-glass-border: rgba(255, 255, 255, .8);
  --ca-glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 1px 0 rgba(11, 11, 12, .045), 0 34px 74px -44px rgba(11, 11, 12, .42);
  --ca-control: rgba(255, 255, 255, .7);
  --ca-primary: #0b0b0c;
  --ca-on-primary: #ffffff;
  --ca-ok: #1b7f4b;
  --ca-bad: #b3261e;
}

.ca-v2--dark,
.ca-hours-standalone--dark,
.ca-sale-standalone--dark {
  color-scheme: dark;
  --ca-paper: #0b0b0c;
  --ca-paper-2: #111214;
  --ca-paper-3: #17191c;
  --ca-ink: #f2f3f5;
  --ca-ink-2: rgba(242, 243, 245, .66);
  --ca-ink-3: rgba(242, 243, 245, .46);
  --ca-rule: rgba(255, 255, 255, .16);
  --ca-rule-2: rgba(255, 255, 255, .09);
  --ca-glass: linear-gradient(170deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04));
  --ca-glass-border: rgba(255, 255, 255, .15);
  --ca-glass-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 34px 74px -44px rgba(0, 0, 0, .8);
  --ca-control: rgba(255, 255, 255, .06);
  --ca-primary: #f7f7f5;
  --ca-on-primary: #0b0b0c;
  --ca-ok: #5cc98a;
  --ca-bad: #f07a72;
}

/* ---------- root ---------- */
.ca-v2 *, .ca-v2 *::before, .ca-v2 *::after,
.ca-dialog *, .ca-dialog *::before, .ca-dialog *::after { box-sizing: border-box; }

.ca-v2 {
  width: var(--ca-viewport-width, calc(100vw - 17px));
  max-width: var(--ca-viewport-width, calc(100vw - 17px));
  margin-left: calc(50% - var(--ca-viewport-width, calc(100vw - 17px)) / 2);
  padding: clamp(30px, 4vw, 48px) max(18px, calc((100vw - 1320px) / 2)) clamp(72px, 8vw, 124px);
  overflow: clip;
  color: var(--ca-ink);
  background: var(--ca-paper);
  font-family: var(--ca-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.ca-v2 h1, .ca-v2 h2, .ca-v2 h3, .ca-v2 p, .ca-v2 ul, .ca-v2 dl, .ca-v2 dd { margin: 0; }
.ca-v2 h1, .ca-v2 h2, .ca-v2 h3, .ca-dialog h3, .ca-hours__title { color: inherit; font-family: inherit; }
.ca-v2 ul { padding: 0; list-style: none; }
.ca-v2 img { display: block; max-width: 100%; height: auto; }
.ca-v2 a { color: inherit; text-decoration: none; }
.ca-v2 button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.ca-v2 svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.ca-visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

/* Mono micro-label. */
.ca-v2-kicker,
.ca-v2-crumb,
.ca-v2-specline,
.ca-v2-specs dt,
.ca-v2-slider__head > span:first-child,
.ca-v2-calc__facts dt,
.ca-v2-gallery__count,
.ca-v2-lease,
.ca-dialog__kicker,
.ca-hours__time {
  font-family: var(--ca-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ca-ink-3);
}

/* ---------- top bar ---------- */
.ca-v2-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: clamp(22px, 3vw, 34px); }
.ca-v2-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
/* Neutralise host-theme button styling before the component rules add their own. */
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) :is(button, [type="button"], [type="submit"], summary) { margin: 0; padding: 0; color: inherit; border: 1px solid transparent; border-radius: 0; background: transparent; box-shadow: none; font: inherit; letter-spacing: inherit; text-transform: none; text-shadow: none; cursor: pointer; }
.ca-v2-actions { display: grid; gap: 10px; margin-top: 24px; }
.ca-v2-actions > div { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-crumb a:hover, :is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-crumb [aria-current] { color: var(--ca-ink-2); }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-top__actions { display: flex; gap: 8px; }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-tool {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 18px;
  color: var(--ca-ink-2);
  border: 1px solid var(--ca-rule);
  border-radius: 999px;
  background: var(--ca-control);
  font-size: 13.5px;
  font-weight: 500;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: color .25s var(--ca-ease), border-color .25s var(--ca-ease), background-color .25s var(--ca-ease), transform .25s var(--ca-ease);
}
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-tool:hover { color: var(--ca-ink); border-color: var(--ca-ink); transform: translateY(-1px); }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-tool.is-active, :is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-tool[aria-pressed="true"] { color: var(--ca-on-primary); border-color: var(--ca-primary); background: var(--ca-primary); }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-tool svg { width: 14px; height: 14px; }

/* ---------- layout ---------- */
.ca-v2-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); gap: clamp(26px, 3.4vw, 54px); align-items: start; }
.ca-v2-main { min-width: 0; }

/* ---------- gallery ---------- */
.ca-v2-gallery__main { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--ca-radius); background: var(--ca-paper-3); }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-gallery__main > a { display: block; width: 100%; height: 100%; }
.ca-v2-gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ca-ease); }
.ca-v2-gallery__main:hover img { transform: scale(1.02); }
.ca-v2-gallery__placeholder { display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--ca-ink-3); background: repeating-linear-gradient(135deg, rgba(128, 128, 128, .07) 0 10px, transparent 10px 20px), var(--ca-paper-3); }
.ca-v2-gallery__placeholder span { font-family: var(--ca-mono); font-size: 9px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.ca-v2-silhouette { width: min(50%, 200px); height: auto; stroke-width: 1.4; opacity: .55; }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #0b0b0c;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .54));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 14px 34px -20px rgba(11, 11, 12, .55);
  transform: translateY(-50%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  transition: transform .3s var(--ca-ease), background-color .3s, color .3s;
}
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-gallery__nav--prev { left: 16px; }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-gallery__nav--next { right: 16px; }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-gallery__nav:hover { color: #fff; background: #0b0b0c; transform: translateY(-50%) scale(1.06); }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-gallery__nav svg { width: 16px; height: 16px; }
.ca-v2-gallery__reserved { position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; padding: 8px 14px; color: #0b0b0c; border: 1px solid rgba(255, 255, 255, .8); border-radius: 999px; background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .72)); font-family: var(--ca-mono); font-size: 10px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%); }
.ca-v2-gallery__count { position: absolute; right: 14px; bottom: 14px; z-index: 2; padding: 8px 14px; color: #fff; border: 1px solid rgba(255, 255, 255, .24); border-radius: 999px; background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .08)), rgba(12, 13, 15, .34); -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%); }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-gallery__thumbs { display: flex; gap: 10px; padding-top: 10px; overflow-x: auto; scrollbar-width: none; }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-gallery__thumbs::-webkit-scrollbar { display: none; }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-gallery__thumbs button { flex: none; width: 104px; height: 66px; padding: 0; overflow: hidden; border-radius: calc(var(--ca-radius) * .5); background: var(--ca-paper-3); opacity: .5; transition: opacity .35s var(--ca-ease), transform .35s var(--ca-ease), box-shadow .35s var(--ca-ease); }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-gallery__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-gallery__thumbs button:hover { opacity: 1; transform: translateY(-2px); }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-gallery__thumbs button.is-active { opacity: 1; box-shadow: 0 0 0 1.5px var(--ca-ink); }

/* ---------- tabs ---------- */
.ca-v2-content { margin-top: clamp(32px, 4vw, 56px); }
.ca-v2-tabs {
  display: inline-flex;
  max-width: 100%;
  gap: 4px;
  padding: 4px;
  overflow-x: auto;
  border: 1px solid var(--ca-rule-2);
  border-radius: 999px;
  background: var(--ca-control);
  scrollbar-width: none;
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
}
.ca-v2-tabs::-webkit-scrollbar { display: none; }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-tabs a { display: inline-flex; flex: none; align-items: center; gap: 7px; padding: 9px 18px; color: var(--ca-ink-3); border-radius: 999px; font-size: 14px; font-weight: 500; white-space: nowrap; transition: color .35s var(--ca-ease), background-color .35s var(--ca-ease), box-shadow .35s var(--ca-ease); }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-tabs a:hover { color: var(--ca-ink-2); }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-tabs a.is-active { color: var(--ca-ink); background: var(--ca-paper); box-shadow: 0 6px 16px -10px rgba(11, 11, 12, .5); }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-tabs a span { font-family: var(--ca-mono); font-size: 10px; color: var(--ca-ink-3); }
.ca-v2-panel { padding-top: 26px; }
.ca-v2-content.is-enhanced .ca-v2-panel:not(.is-active) { display: none; }
.ca-v2-panel.is-active { animation: ca-pane .45s var(--ca-ease); }
@keyframes ca-pane { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.ca-v2-equipment + .ca-v2-equipment { margin-top: 28px; }
.ca-v2-equipment .ca-v2-kicker { margin-bottom: 6px; }
.ca-v2-equipment ul { columns: 3; column-gap: 30px; }
.ca-v2-equipment li { display: block; break-inside: avoid; padding: 9px 0; border-bottom: 1px solid var(--ca-rule-2); color: var(--ca-ink-2); font-size: 14px; }
.ca-v2-empty { display: flex; align-items: center; gap: 14px; width: min(100%, 620px); padding: 16px 18px; color: var(--ca-ink-2); border: 1px solid var(--ca-rule); border-radius: calc(var(--ca-radius) * .7); font-size: 13.5px; }

.ca-v2-specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ca-rule); }
.ca-v2-specs > div { min-width: 0; padding: 16px 20px 18px 0; border-bottom: 1px solid var(--ca-rule-2); }
.ca-v2-specs dt { margin-bottom: 6px; font-size: 9px; letter-spacing: .18em; }
.ca-v2-specs dd { font-size: 14.5px; font-weight: 500; overflow-wrap: anywhere; }

/* ---------- leasing calculator ---------- */
.ca-v2-calc { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(26px, 3.4vw, 48px); align-items: start; }
.ca-v2-slider { display: block; }
.ca-v2-slider__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ca-v2-slider__head output { font-size: 20px; font-weight: 500; letter-spacing: -.02em; color: var(--ca-ink); font-variant-numeric: tabular-nums; }
.ca-v2-slider__head output small { margin-left: 4px; color: var(--ca-ink-3); font-size: 12px; }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-slider input[type="range"] { width: 100%; height: 1px; margin: 14px 0 26px; background: linear-gradient(90deg, var(--ca-ink) var(--ca-fill, 30%), var(--ca-rule) var(--ca-fill, 30%)); outline: 0; appearance: none; -webkit-appearance: none; }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-slider input[type="range"]::-webkit-slider-thumb { width: 14px; height: 14px; margin-top: -6.5px; border: 0; border-radius: 50%; background: var(--ca-ink); cursor: grab; appearance: none; -webkit-appearance: none; transition: transform .25s; }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-slider input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: var(--ca-ink); cursor: grab; }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-slider input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.18); }
.ca-v2-calc__facts { margin-top: 4px; }
.ca-v2-calc__facts div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--ca-rule-2); font-size: 13.5px; color: var(--ca-ink-2); }
.ca-v2-calc__facts dt { font-family: var(--ca-sans); font-size: 13.5px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ca-ink-2); }
.ca-v2-calc__facts dd { font-weight: 500; color: var(--ca-ink); font-variant-numeric: tabular-nums; }
.ca-v2-calc__result { display: grid; gap: 10px; padding: 26px; border: 1px solid var(--ca-ink); border-radius: calc(var(--ca-radius) * .8); }
.ca-v2-calc__result strong { font-size: 34px; font-weight: 400; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.ca-v2-calc__result small { display: block; padding-top: 14px; border-top: 1px solid var(--ca-rule-2); color: var(--ca-ink-3); font-size: 11.5px; line-height: 1.6; }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-calc__result .ca-v2-button { margin-top: 6px; }

/* ---------- description / energy ---------- */
.ca-v2-sections { display: grid; gap: 32px; margin-top: clamp(36px, 5vw, 56px); padding-top: 32px; border-top: 1px solid var(--ca-rule); }
.ca-v2-sections .ca-v2-kicker { margin-bottom: 14px; }
.ca-v2-prose { max-width: 70ch; color: var(--ca-ink-2); font-size: 15px; line-height: 1.7; }
.ca-v2-prose p + p { margin-top: 12px; }

/* ---------- buy panel (glass) ---------- */
.ca-v2-buy {
  position: sticky;
  top: calc(24px + var(--wp-admin--admin-bar--height, 0px));
  padding: clamp(22px, 2.2vw, 30px);
  border: 1px solid var(--ca-glass-border);
  border-radius: var(--ca-radius);
  background: var(--ca-glass);
  box-shadow: var(--ca-glass-shadow);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  backdrop-filter: blur(26px) saturate(180%);
}
.ca-v2-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.ca-v2-badges:empty { display: none; }
.ca-v2-badge { display: inline-flex; align-items: center; padding: 7px 13px; border: 1px solid var(--ca-rule); border-radius: 999px; color: var(--ca-ink); font-family: var(--ca-mono); font-size: 9px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.ca-v2-badge--new, .ca-v2-badge--featured { color: var(--ca-accent-ink); border-color: transparent; background: var(--ca-accent); }
.ca-v2-badge--warranty, .ca-v2-badge--reserved { color: var(--ca-on-primary); border-color: var(--ca-primary); background: var(--ca-primary); }
.ca-v2-buy h1 { font-size: clamp(24px, 2.7vw, 34px); font-weight: 500; letter-spacing: -.035em; line-height: 1.14; text-wrap: balance; }
.ca-v2-specline { margin-top: 10px; font-size: 10.5px; }
.ca-v2-price { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 16px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--ca-rule); }
.ca-v2-price .ca-v2-kicker { display: block; font-size: 9.5px; }
.ca-v2-price strong { display: block; margin-top: 6px; font-size: clamp(28px, 3vw, 36px); font-weight: 400; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.ca-v2-price__was { text-align: right; }
.ca-v2-price__was s { display: block; margin-top: 5px; color: var(--ca-ink-3); font-size: 13px; font-variant-numeric: tabular-nums; }
.ca-v2-lease { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 14px; margin: 18px 0 0; padding: 14px 0; border-top: 1px solid var(--ca-rule-2); border-bottom: 1px solid var(--ca-rule-2); color: var(--ca-ink-2); font-size: 11.5px; letter-spacing: .04em; text-transform: none; }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-button,
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 0 20px;
  color: var(--ca-on-primary);
  border: 1px solid var(--ca-primary);
  border-radius: calc(var(--ca-radius) * .55);
  background: var(--ca-primary);
  font-family: var(--ca-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .3s var(--ca-ease), color .3s var(--ca-ease), border-color .3s var(--ca-ease), transform .3s var(--ca-ease);
}
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-button:hover, :is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-button:hover { color: var(--ca-accent-ink); border-color: var(--ca-accent); background: var(--ca-accent); }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-button:active, :is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-button:active { transform: translateY(1px); }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-button svg, :is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-button svg { width: 14px; height: 14px; transition: transform .3s var(--ca-ease); }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-button--primary svg { margin-left: auto; }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-button:hover svg, :is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-button:hover svg { transform: translateX(4px); }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-button--outline, :is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-button--ghost { color: var(--ca-ink-2); border-color: var(--ca-rule); background: transparent; }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-button--outline:hover, :is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-button--ghost:hover { color: var(--ca-ink); border-color: var(--ca-ink); background: transparent; }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-button { width: auto; }

.ca-v2-seller { display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--ca-rule); }
.ca-v2-seller__avatar { display: grid; flex: none; width: 42px; height: 42px; place-items: center; overflow: hidden; color: var(--ca-ink-2); border-radius: calc(var(--ca-radius) * .4); background: var(--ca-paper-3); font-family: var(--ca-mono); font-size: 12px; font-weight: 600; }
.ca-v2-seller__avatar img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.ca-v2-seller__body { min-width: 0; flex: 1; font-size: 13px; line-height: 1.6; color: var(--ca-ink-2); }
.ca-v2-seller__body strong { display: block; font-size: 14.5px; font-weight: 500; color: var(--ca-ink); }
.ca-v2-seller__contact { display: flex; flex-wrap: wrap; gap: 4px 14px; }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-seller__contact a { color: var(--ca-accent); }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-seller__contact a:hover { text-decoration: underline; }
.ca-v2-hours { margin-top: 10px; }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-hours summary { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; list-style: none; cursor: pointer; }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-hours summary::-webkit-details-marker { display: none; }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-hours summary .ca-hours { display: contents; }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-hours summary .ca-hours__rows { display: none; }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-hours[open] summary .ca-hours__rows { display: block; width: 100%; margin-top: 10px; }
.ca-v2-hours__toggle { font-size: 12px; color: var(--ca-ink-3); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- similar ---------- */
.ca-v2-similar { margin-top: clamp(56px, 7vw, 96px); }
.ca-v2-similar > header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--ca-rule); }
.ca-v2-similar h2 { font-size: clamp(22px, 2.6vw, 32px); font-weight: 500; letter-spacing: -.03em; }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-similar > header a { display: inline-flex; align-items: center; gap: 9px; color: var(--ca-accent); font-size: 14.5px; font-weight: 500; transition: gap .3s var(--ca-ease); }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-similar > header a:hover { gap: 14px; }
.ca-v2-similar car-listing { background: transparent; }
.ca-v2-similar .cl-widget--embed { padding: 0; }

.ca-v2-error { max-width: 760px; margin: 70px auto; padding: 32px; color: var(--ca-bad, #b3261e); border: 1px solid currentColor; border-radius: 18px; font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif; text-align: center; }

/* ---------- opening hours (shared block) ---------- */
.ca-hours { color: var(--ca-ink); }
.ca-hours__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--ca-rule); }
.ca-hours__title { font-size: 24px; font-weight: 500; letter-spacing: -.035em; }
.ca-hours__badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border: 1px solid var(--ca-rule); border-radius: 999px; background: var(--ca-control); font-family: var(--ca-mono); font-size: 9px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.ca-hours__badge::before { width: 6px; height: 6px; content: ""; border-radius: 50%; background: currentColor; }
.ca-hours__badge--open { color: var(--ca-ok); }
.ca-hours__badge--closed { color: var(--ca-ink-3); }
.ca-hours__row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--ca-rule-2); font-size: 13px; }
.ca-hours__row:last-child { border-bottom: 0; }
.ca-hours__row.is-today .ca-hours__day { color: var(--ca-ink); font-weight: 500; }
.ca-hours__day { color: var(--ca-ink-2); }
.ca-hours__row--closed .ca-hours__time { color: var(--ca-ink-3); }
.ca-hours-standalone { width: min(100%, 620px); margin: 0 auto; padding: 28px; color: var(--ca-ink); border: 1px solid var(--ca-rule); border-radius: var(--ca-radius); background: var(--ca-paper); font-family: var(--ca-sans); }

/* ---------- sell-your-vehicle standalone ---------- */
.ca-sale-standalone { display: grid; min-height: 180px; place-items: center; padding: 36px; color: var(--ca-ink); background: var(--ca-paper); font-family: var(--ca-sans); }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-sale-standalone__cta { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; color: var(--ca-on-primary); border: 0; border-radius: calc(var(--ca-radius) * .55); background: var(--ca-primary); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color .3s var(--ca-ease), color .3s var(--ca-ease), transform .3s var(--ca-ease); }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-sale-standalone__cta:hover { color: var(--ca-accent-ink); background: var(--ca-accent); transform: translateY(-2px); }

/* ---------- lead dialogs ---------- */
.ca-dialog { position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center; padding: 20px; font-family: var(--ca-sans, Inter, sans-serif); color: var(--ca-ink, #0b0b0c); }
.ca-dialog[hidden] { display: none; }
.ca-dialog__backdrop { position: absolute; inset: 0; background: rgba(8, 9, 10, .46); -webkit-backdrop-filter: blur(14px) saturate(120%); backdrop-filter: blur(14px) saturate(120%); }
.ca-dialog__panel {
  position: relative;
  width: min(560px, 100%);
  max-height: 88vh;
  overflow: auto;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--ca-glass-border, rgba(255, 255, 255, .8));
  border-radius: var(--ca-radius, 22px);
  background: var(--ca-paper, #fff);
  box-shadow: 0 44px 110px -40px rgba(11, 11, 12, .5);
  animation: ca-dialog-in .42s var(--ca-ease, ease);
}
@keyframes ca-dialog-in { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.ca-dialog__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--ca-rule); }
.ca-dialog__head h3 { margin: 0; font-size: 21px; font-weight: 500; letter-spacing: -.025em; }
.ca-dialog__kicker { margin: 9px 0 0; }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-dialog__close { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 32px; height: 32px; margin: 0; padding: 0; color: var(--ca-ink-2); border: 1px solid var(--ca-rule); border-radius: 50%; background: none; box-shadow: none; cursor: pointer; line-height: 0; transition: transform .4s var(--ca-ease), background-color .25s, color .25s; }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-dialog__close:hover { color: var(--ca-on-primary); border-color: var(--ca-primary); background: var(--ca-primary); transform: rotate(90deg); }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-dialog__close svg { display: block; width: 12px; height: 12px; margin: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.ca-wizard__progress { display: flex; margin-bottom: 26px; border-top: 1px solid var(--ca-rule); }
.ca-wizard__progress i { flex: 1; height: 2px; margin-top: -1px; background: transparent; transition: background-color .3s; }
.ca-wizard__progress i.is-on { background: var(--ca-ink); }
.ca-wizard__step { margin: 0; padding: 0; border: 0; min-width: 0; }
.ca-wizard__step[hidden] { display: none; }
.ca-wizard__fields { display: grid; gap: 18px 20px; }
.ca-wizard__fields--2 { grid-template-columns: 1fr 1fr; }
.ca-field { display: block; min-width: 0; }
.ca-field--span { grid-column: 1 / -1; }
.ca-field--note { margin: 0; padding: 12px 14px; border: 1px dashed var(--ca-rule); border-radius: calc(var(--ca-radius, 22px) / 2); color: var(--ca-ink-2); font-size: 13px; line-height: 1.5; }
.ca-field--heading { margin: 6px 0 -6px; padding-top: 14px; border-top: 1px solid var(--ca-rule); font-family: var(--ca-mono); font-size: 9.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ca-ink-3); }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-field input[type="date"], :is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-field input[type="datetime-local"] { color-scheme: light; }
.ca-v2--dark .ca-field input[type="date"], .ca-v2--dark .ca-field input[type="datetime-local"] { color-scheme: dark; }
.ca-field > label { display: block; margin-bottom: 8px; font-family: var(--ca-mono); font-size: 9.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ca-ink-3); }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-field input:not([type="checkbox"]), :is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-field select, :is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 0;
  color: var(--ca-ink);
  border: 0;
  border-bottom: 1px solid var(--ca-rule);
  border-radius: 0;
  background: none;
  font: inherit;
  font-size: 15.5px;
  outline: 0;
  box-shadow: none;
  transition: border-color .25s;
}
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-field textarea { min-height: 84px; resize: vertical; }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-field input:focus, :is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-field select:focus, :is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-field textarea:focus { border-bottom-color: var(--ca-ink); }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-field.is-invalid input, :is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-field.is-invalid select, :is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-field.is-invalid textarea { border-bottom-color: var(--ca-bad); }
.ca-field__error { display: none; margin: 7px 0 0; color: var(--ca-bad); font-size: 12px; }
.ca-field.is-invalid .ca-field__error { display: block; }
.ca-field--consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 4px; color: var(--ca-ink-2); font-size: 13px; line-height: 1.6; cursor: pointer; }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-field--consent input { flex: none; width: 16px; height: 16px; margin: 4px 0 0; accent-color: var(--ca-ink); }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-field--consent a { color: var(--ca-accent); text-decoration: underline; text-underline-offset: 2px; }
.ca-field--consent.is-invalid { color: var(--ca-bad); }
.ca-field__hint { margin: 6px 0 0; color: var(--ca-ink-3); font-size: 12px; line-height: 1.5; }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-field input[type="file"] { padding: 10px 0 6px; border: 0; color: var(--ca-ink-2); font-size: 13px; }
.ca-photo-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.ca-photo-thumbs[hidden] { display: none; }
.ca-photo-thumbs figure { position: relative; width: 64px; height: 64px; margin: 0; overflow: hidden; border-radius: calc(var(--ca-radius, 22px) / 2.5); background: var(--ca-paper-3); }
.ca-photo-thumbs img { width: 100%; height: 100%; object-fit: cover; }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-photo-thumbs button { position: absolute; top: 3px; right: 3px; display: grid; place-items: center; width: 20px; height: 20px; padding: 0; color: #fff; border-radius: 50%; background: rgba(11, 11, 12, .62); cursor: pointer; }
.ca-photo-thumbs button svg { width: 10px; height: 10px; }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-wizard__nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 24px; }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-wizard__nav .ca-wizard__next, :is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-wizard__nav .ca-wizard__submit { margin-left: auto; }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-wizard__nav [hidden] { display: none; }
.ca-wizard.is-sending { opacity: .6; pointer-events: none; }
.ca-wizard.is-shaking { animation: ca-shake .4s ease; }
@keyframes ca-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.ca-wizard__success { display: grid; justify-items: center; gap: 10px; padding: 30px 6px; text-align: center; }
.ca-wizard__success[hidden] { display: none; }
.ca-wizard__success svg { width: 34px; height: 34px; color: var(--ca-ok); fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ca-wizard__success h3 { margin: 8px 0 0; font-size: 22px; font-weight: 500; letter-spacing: -.025em; }
.ca-wizard__success p { max-width: 32em; margin: 0; color: var(--ca-ink-2); line-height: 1.65; }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-wizard__success .ca-button { margin-top: 16px; }

/* ---------- toasts ---------- */
.ca-toast-container { position: fixed; top: 24px; right: 24px; z-index: 999999; display: flex; flex-direction: column; gap: 10px; width: min(400px, calc(100vw - 48px)); pointer-events: none; font-family: Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif; }
.ca-toast { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 14px 40px 14px 14px; overflow: hidden; color: #0b0b0c; border: 1px solid rgba(11, 11, 12, .1); border-radius: 16px; background: rgba(255, 255, 255, .96); box-shadow: 0 24px 60px -34px rgba(11, 11, 12, .62); pointer-events: auto; opacity: 0; transform: translateY(-10px); transition: opacity .3s ease, transform .3s ease; }
.ca-toast--visible { opacity: 1; transform: none; }
.ca-toast--dismissing { opacity: 0; transform: translateY(-10px); }
.ca-toast-icon-wrap { display: grid; flex: none; width: 32px; height: 32px; place-items: center; border-radius: 50%; }
.ca-toast-icon { width: 16px; height: 16px; }
.ca-toast--success .ca-toast-icon-wrap { color: #1b7f4b; background: rgba(27, 127, 75, .1); }
.ca-toast--error .ca-toast-icon-wrap { color: #b3261e; background: rgba(179, 38, 30, .1); }
.ca-toast--info .ca-toast-icon-wrap, .ca-toast--warning .ca-toast-icon-wrap { color: #57585c; background: rgba(11, 11, 12, .06); }
.ca-toast-body { min-width: 0; flex: 1; }
.ca-toast-title { margin: 0; font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.ca-toast-message { margin: 2px 0 0; color: #57585c; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.ca-toast-close { position: absolute; top: 10px; right: 10px; display: grid; width: 28px; height: 28px; place-items: center; padding: 0; color: #8a8b8f; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.ca-toast-close:hover { color: #0b0b0c; background: rgba(11, 11, 12, .06); }
.ca-toast-progress { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: rgba(11, 11, 12, .06); }
.ca-toast-progress-bar { height: 100%; background: #0b0b0c; transform-origin: left; animation: ca-toast-progress linear forwards; }
@keyframes ca-toast-progress { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.ca-toast:hover .ca-toast-progress-bar { animation-play-state: paused; }
#mainPageAlert { display: none; }

.ca-v2-teaser { margin: 6px 0 0; color: var(--ca-ink-2); font-size: 14px; line-height: 1.5; }
.ca-v2-flags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.ca-v2-flags li { padding: 6px 11px; border: 1px solid var(--ca-rule); border-radius: 999px; font-size: 12.5px; color: var(--ca-ink-2); background: var(--ca-paper-2); }
.ca-v2-flags li.is-warn { border-color: color-mix(in srgb, var(--ca-bad) 40%, transparent); color: var(--ca-bad); }
.ca-v2-warranty { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--ca-rule); }
.ca-v2-warranty .ca-v2-prose { margin-top: 12px; }
.ca-v2-video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--ca-radius, 22px); background: #000; }
.ca-v2-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- host-theme guard ----------
   WordPress themes (Elementor kits in particular) style button/a :hover and
   :focus with brand colours at (0,2,1). Every control state is re-asserted here
   at higher specificity so nothing turns theme-coloured. */
.ca-v2 .ca-v2-button--outline:is(:hover, :focus, :focus-visible, :active),
.ca-dialog .ca-button--ghost:is(:hover, :focus, :focus-visible, :active),
.ca-v2 .ca-button--ghost:is(:hover, :focus, :focus-visible, :active) { color: var(--ca-ink); border-color: var(--ca-ink); background: transparent; box-shadow: none; }
.ca-v2 .ca-v2-button--primary:is(:focus, :focus-visible, :active),
.ca-dialog .ca-button:not(.ca-button--ghost):is(:focus, :focus-visible, :active),
.ca-v2 .ca-button:not(.ca-button--ghost):is(:focus, :focus-visible, :active),
.ca-sale-standalone .ca-sale-standalone__cta:is(:focus, :focus-visible, :active) { color: var(--ca-on-primary); border-color: var(--ca-primary); background: var(--ca-primary); box-shadow: none; }
.ca-v2 .ca-v2-button--primary:hover,
.ca-dialog .ca-button:not(.ca-button--ghost):hover,
.ca-v2 .ca-button:not(.ca-button--ghost):hover { color: var(--ca-accent-ink); border-color: var(--ca-accent); background: var(--ca-accent); }
.ca-v2 .ca-v2-tool:is(:focus, :focus-visible, :active) { color: var(--ca-ink); border-color: var(--ca-ink); background: var(--ca-control); box-shadow: none; }
.ca-v2 .ca-v2-tool.is-active:is(:hover, :focus, :focus-visible, :active) { color: var(--ca-on-primary); border-color: var(--ca-primary); background: var(--ca-primary); }
.ca-v2 .ca-v2-tabs a:is(:hover, :focus, :focus-visible) { background: transparent; box-shadow: none; text-decoration: none; }
.ca-v2 .ca-v2-tabs a.is-active:is(:hover, :focus, :focus-visible) { background: var(--ca-paper); }
.ca-v2 .ca-v2-gallery__nav:is(:focus, :focus-visible, :active) { color: #0b0b0c; background: linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .54)); }
.ca-v2 .ca-v2-gallery__thumbs button:is(:focus, :focus-visible, :active) { background: var(--ca-paper-3); }
.ca-dialog .ca-dialog__close:is(:focus, :focus-visible, :active) { color: var(--ca-ink-2); border-color: var(--ca-rule); background: none; box-shadow: none; }
.ca-dialog .ca-dialog__close:hover { color: var(--ca-on-primary); border-color: var(--ca-primary); background: var(--ca-primary); }
.ca-v2 .ca-v2-calc__result .ca-v2-button,
.ca-v2 .ca-v2-actions .ca-v2-button { text-decoration: none; }
.ca-dialog .ca-wizard__nav button { margin: 0; }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) :is(a, button):hover { text-decoration: none; }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) :is(a, a:hover, a:focus) { color: inherit; }
:is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) :is(button, select, input, textarea):focus:not(:focus-visible) { outline: none; box-shadow: none; }

/* ---------- focus ---------- */
:is(.ca-v2, .ca-dialog, .ca-hours-standalone, .ca-sale-standalone) :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--ca-ink, #0b0b0c); outline-offset: 3px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .ca-v2-grid { grid-template-columns: 1fr; }
  .ca-v2-buy { position: static; }
  .ca-v2-calc { grid-template-columns: 1fr; }
  .ca-v2-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ca-v2-equipment ul { columns: 2; }
}
@media (max-width: 640px) {
  .ca-v2 { padding-inline: 16px; }
  .ca-v2-top { align-items: flex-start; flex-direction: column; }
  .ca-v2-actions > div, .ca-v2-specs { grid-template-columns: 1fr; }
  .ca-v2-equipment ul { columns: 1; }
  :is(.ca-v2, .ca-dialog, .ca-sale-standalone, .ca-hours-standalone) .ca-v2-gallery__thumbs button { width: 84px; height: 54px; }
  .ca-wizard__fields--2 { grid-template-columns: 1fr; }
  .ca-dialog { padding: 0; align-items: end; }
  .ca-dialog__panel { max-height: 92vh; border-radius: var(--ca-radius, 22px) var(--ca-radius, 22px) 0 0; }
  .ca-toast-container { top: 12px; right: 12px; left: 12px; width: auto; }
}
@media (hover: none) {
  .ca-v2-gallery__main:hover img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ca-v2 *, .ca-dialog *, .ca-toast { transition: none !important; animation: none !important; }
}
