:root {
  --ab2-text: #101419;
  --ab2-muted: #75808e;
  --ab2-line: #dde3ea;
  --ab2-soft: #f3f5f7;
  --ab2-accent: #48BCD3;
  --ab2-accent-hover: #35A9C0;
  --ab2-accent-rgb: 72, 188, 211;
  --ab2-card: #ffffff;
}

.ab2-catalog-shell,
.ab2-catalog-shell *,
.ab2-showcase-shell,
.ab2-showcase-shell *,
.ab2-modal,
.ab2-modal * {
  box-sizing: border-box;
}

.ab2-catalog-shell {
  width: 100%;
  max-width: none;
  color: var(--ab2-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  padding: 36px 0 72px;
  overflow-x: clip;
}

/*
 * Выводит каталог из узкого контейнера темы WordPress и центрирует его
 * относительно окна браузера. Здесь намеренно нет left/transform и JS-расчётов:
 * они давали двойное смещение вправо в темах с ограниченным content-контейнером.
 */
.ab2-catalog-shell.ab2-breakout {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

.ab2-catalog-inner {
  width: min(1400px, calc(100vw - 48px));
  max-width: 1400px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0;
}

.ab2-filter {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 132px;
  gap: 14px;
  align-items: end;
  background: #fff;
  border: 1px solid var(--ab2-line);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 10px 34px rgba(18, 32, 49, 0.06);
}

.ab2-filter-field,
.ab2-filter label {
  display: grid;
  min-width: 0;
  gap: 8px;
  margin: 0;
  font-size: 12px;
  line-height: 1.2;
  color: var(--ab2-muted);
}

.ab2-filter-label,
.ab2-filter label > span:first-child:not(.ab2-select-wrap) {
  display: block;
  min-width: 0;
  padding-left: 2px;
  overflow: hidden;
  color: #768293;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ab2-select-wrap {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
}

/* Собственная стрелка не зависит от браузера и не уезжает за край поля. */
.ab2-select-wrap::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 18px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #17202b;
  border-bottom: 2px solid #17202b;
  pointer-events: none;
  transform: translateY(-68%) rotate(45deg);
  transform-origin: 60% 60%;
}

.ab2-filter select,
.ab2-filter button {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  margin: 0;
  border: 1px solid #d8e0e8;
  border-radius: 13px;
  background-color: #fff;
  color: var(--ab2-text);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  box-shadow: none;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease, transform .18s ease;
}

.ab2-filter select {
  display: block;
  height: 52px;
  padding: 0 52px 0 16px;
  overflow: hidden;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none !important;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  color-scheme: light;
}

.ab2-filter select::-ms-expand {
  display: none;
}

.ab2-filter select:hover {
  border-color: #b9c5d1;
  background-color: #fbfcfe;
}

.ab2-filter select:focus,
.ab2-filter select:focus-visible {
  border-color: var(--ab2-accent);
  outline: none;
  box-shadow: 0 0 0 4px rgba(var(--ab2-accent-rgb), 0.16);
}

.ab2-select-wrap:focus-within::after {
  border-color: var(--ab2-accent);
}

.ab2-filter select option {
  color: #101419;
  background: #fff;
  font: inherit;
}

.ab2-filter button {
  min-width: 0;
  padding: 0 20px;
  color: #283342;
  background: #f7f9fb;
  cursor: pointer;
  white-space: nowrap;
}

.ab2-filter button:hover {
  border-color: #b9c5d1;
  background: #eef3f8;
}

.ab2-filter button:focus-visible {
  border-color: var(--ab2-accent);
  outline: none;
  box-shadow: 0 0 0 4px rgba(var(--ab2-accent-rgb), 0.16);
}

.ab2-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  align-items: stretch;
}

.ab2-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--ab2-card);
  border: 1px solid var(--ab2-line);
  border-radius: 22px;
  box-shadow: 0 16px 42px rgba(18, 32, 49, 0.09);
}

.ab2-card[hidden] {
  display: none !important;
}

.ab2-card-photo {
  appearance: none;
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0;
  background: #e9edf1;
  cursor: pointer;
}

.ab2-card-photo > .ab2-card-image {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.001);
  transition: opacity .18s ease, transform .35s ease;
}

.ab2-card-photo > .ab2-card-image.is-loaded {
  opacity: 1;
}

.ab2-card:hover .ab2-card-photo > .ab2-card-image.is-loaded {
  transform: scale(1.025);
}

.ab2-card-photo > .ab2-photo-placeholder {
  position: absolute;
  z-index: 1;
  inset: 0;
}

.ab2-photo-placeholder,
.ab2-detail-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--ab2-muted);
  background: #e9edf1;
  font-size: 14px;
}

.ab2-photo-count {
  position: absolute;
  z-index: 3;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(16, 20, 25, .62);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  opacity: 0;
  transition: opacity .18s ease;
  backdrop-filter: blur(6px);
}
.ab2-card-photo.ab2-image-loaded .ab2-photo-count {
  opacity: 1;
}


.ab2-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 23px 22px 22px;
}

.ab2-card-make,
.ab2-detail-make {
  margin-bottom: 5px;
  color: var(--ab2-muted);
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ab2-card h3 {
  margin: 0 0 10px;
  color: var(--ab2-text);
  font-size: clamp(24px, 1.7vw, 29px);
  line-height: 1.12;
  font-weight: 700;
}

.ab2-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.ab2-card-specs span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--ab2-soft);
  color: #536171;
  font-size: 14px;
}

.ab2-card-price {
  margin-top: auto;
  color: var(--ab2-text);
  font-size: clamp(24px, 1.65vw, 29px);
  line-height: 1.2;
  font-weight: 800;
}

.ab2-card-delivery {
  min-height: 23px;
  margin: 8px 0 13px;
  color: var(--ab2-muted);
  font-size: 16px;
}

.ab2-card-more,
.ab2-cta,
.ab2-lead-form button[type="submit"] {
  appearance: none;
  width: 100%;
  min-height: 44px;
  border: 1px solid #d5dce5;
  border-radius: 11px;
  background: #fff;
  color: var(--ab2-accent);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: .2s ease;
}

.ab2-card-more:hover {
  border-color: var(--ab2-accent);
  background: rgba(var(--ab2-accent-rgb), .08);
}

.ab2-empty,
.ab2-no-results {
  padding: 50px 24px;
  border: 1px dashed var(--ab2-line);
  border-radius: 18px;
  text-align: center;
  color: var(--ab2-muted);
  background: #fff;
}

.ab2-no-results {
  max-width: 760px;
  margin: 28px auto 0;
  box-shadow: 0 16px 42px rgba(18, 32, 49, 0.06);
}

.ab2-no-results h3 {
  margin: 0 0 10px;
  color: var(--ab2-text);
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.15;
}

.ab2-no-results p {
  max-width: 620px;
  margin: 0 auto 22px;
  color: var(--ab2-muted);
  font-size: 16px;
  line-height: 1.55;
}

.ab2-no-results-cta {
  appearance: none;
  min-width: 220px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--ab2-accent);
  border-radius: 11px;
  background: var(--ab2-accent);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: .2s ease;
}

.ab2-no-results-cta:hover {
  border-color: var(--ab2-accent-hover);
  background: var(--ab2-accent-hover);
}

/* Detail */
.ab2-single-page {
  width: min(1400px, calc(100% - 48px));
  margin: 40px auto 70px;
}

.ab2-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr);
  gap: 30px;
  color: var(--ab2-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.ab2-detail.is-modal {
  padding: 0;
}

.ab2-detail-gallery {
  min-width: 0;
  overflow: hidden;
  border-radius: 17px;
  background: #eef1f4;
}

.ab2-main-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eef1f4;
}

.ab2-main-photo-wrap > .ab2-detail-placeholder {
  position: absolute;
  z-index: 1;
  inset: 0;
  min-height: 0;
  aspect-ratio: auto;
}

.ab2-main-photo {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .18s ease;
}

.ab2-main-photo.is-loaded {
  opacity: 1;
}

.ab2-thumbs {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 10px;
  scrollbar-width: thin;
  background: #f4f6f8;
}

.ab2-thumb {
  appearance: none;
  flex: 0 0 98px;
  width: 98px;
  height: 66px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 9px;
  background: #e5e9ed;
  cursor: pointer;
}

.ab2-thumb.is-active {
  border-color: var(--ab2-accent);
}

.ab2-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ab2-detail-content {
  align-self: start;
  padding: 10px 0;
}

.ab2-detail h1 {
  margin: 0 0 4px;
  color: var(--ab2-text);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.03;
  font-weight: 700;
}

.ab2-detail-subtitle {
  color: var(--ab2-muted);
  font-size: 14px;
}

.ab2-detail-price {
  margin: 24px 0 20px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1;
  font-weight: 800;
}

.ab2-detail-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ab2-detail-specs > div {
  display: grid;
  gap: 4px;
  min-height: 72px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--ab2-soft);
}

.ab2-detail-specs span {
  color: var(--ab2-muted);
  font-size: 14px;
}

.ab2-detail-specs strong {
  color: var(--ab2-text);
  font-size: 15px;
}

.ab2-cta {
  margin-top: 16px;
  border-color: var(--ab2-accent);
  background: var(--ab2-accent);
  color: #fff;
}

.ab2-cta:hover,
.ab2-lead-form button[type="submit"]:hover {
  border-color: var(--ab2-accent-hover);
  background: var(--ab2-accent-hover);
}

.ab2-description {
  grid-column: 1 / -1;
  padding-top: 26px;
  font-size: 16px;
  line-height: 1.65;
}

/* Modals */
body.ab2-modal-open {
  overflow: hidden;
}

.ab2-modal[hidden] {
  display: none !important;
}

.ab2-modal {
  position: fixed;
  z-index: 1000000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.ab2-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 18, .72);
  backdrop-filter: blur(3px);
}

/* В карточке автомобиля фон страницы остаётся обычным: без затемнения и размытия. */
.ab2-detail-modal .ab2-backdrop {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.ab2-detail-dialog,
.ab2-form-dialog {
  position: relative;
  z-index: 1;
  width: min(1400px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .3);
}

.ab2-detail-dialog {
  padding: 24px;
}

.ab2-form-dialog {
  width: min(520px, 100%);
  padding: 28px;
}

.ab2-close {
  appearance: none;
  position: sticky;
  z-index: 8;
  top: 8px;
  float: right;
  width: 38px;
  height: 38px;
  margin: -8px -8px 4px 8px;
  border: 0;
  border-radius: 50%;
  background: #101419;
  color: #fff;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.ab2-loading {
  padding: 80px 20px;
  text-align: center;
  color: var(--ab2-muted);
}

.ab2-form-dialog h3 {
  margin: 0 0 6px;
  font-size: 29px;
  color: var(--ab2-text);
}

.ab2-form-car {
  margin: 0 0 20px;
  color: var(--ab2-muted);
}

.ab2-lead-form {
  display: grid;
  gap: 13px;
}

.ab2-desired-model-row[hidden] {
  display: none !important;
}

.ab2-lead-form label {
  display: grid;
  gap: 6px;
  margin: 0;
  color: var(--ab2-text);
  font-size: 14px;
}

.ab2-lead-form input,
.ab2-lead-form textarea {
  width: 100%;
  margin: 0;
  border: 1px solid var(--ab2-line);
  border-radius: 10px;
  background: #fff;
  color: var(--ab2-text);
  font: inherit;
  padding: 11px 12px;
  box-shadow: none;
}

.ab2-lead-form input {
  min-height: 44px;
}

.ab2-consent {
  grid-template-columns: auto 1fr !important;
  align-items: start;
}

.ab2-consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 1px;
}

.ab2-lead-form button[type="submit"] {
  border-color: var(--ab2-accent);
  background: var(--ab2-accent);
  color: #fff;
}

.ab2-form-message {
  min-height: 20px;
  color: #246b38;
  font-size: 14px;
}

.ab2-form-message.is-error {
  color: #bd1f2d;
}

.ab2-hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 1100px) {
  .ab2-catalog-inner {
    width: min(1400px, calc(100vw - 36px));
  }
  .ab2-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ab2-detail {
    grid-template-columns: 1fr;
  }
  .ab2-detail-content {
    padding: 0;
  }
}

@media (max-width: 720px) {
  .ab2-catalog-shell {
    padding: 18px 0 42px;
  }
  .ab2-catalog-inner {
    width: min(1400px, calc(100vw - 24px));
  }
  .ab2-filter {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }
  .ab2-filter button {
    grid-column: 1 / -1;
    width: 100%;
  }
  .ab2-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ab2-card h3 {
    font-size: 23px;
  }
  .ab2-detail-dialog {
    padding: 14px;
  }
  .ab2-detail-specs {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .ab2-filter {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    border-radius: 17px;
  }
  .ab2-filter button {
    grid-column: auto;
  }
  .ab2-filter select,
  .ab2-filter button {
    min-height: 54px;
    font-size: 16px; /* Не даёт iOS увеличивать страницу при фокусе. */
  }
  .ab2-filter select {
    height: 54px;
    padding-right: 50px;
  }
  .ab2-detail-specs {
    grid-template-columns: 1fr;
  }
  .ab2-thumb {
    flex-basis: 82px;
    width: 82px;
    height: 58px;
  }
}


/* AutoBar placeholder for genuinely photo-less positions. */
.ab2-photo-placeholder,
.ab2-detail-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px;
  color: #111820;
  text-align: center;
  background: linear-gradient(145deg, #fff 0%, #f5f8fa 100%);
}
.ab2-detail-placeholder { aspect-ratio: 16 / 10; min-height: 430px; }
.ab2-photo-coming { position: relative; overflow: hidden; isolation: isolate; }
.ab2-photo-coming::after {
  content: ""; position: absolute; right: 10%; bottom: 0; left: 10%; height: 2px;
  background: linear-gradient(90deg, transparent, #48BCD3, transparent);
  box-shadow: 0 0 15px rgba(var(--ab2-accent-rgb), .35);
}
.ab2-placeholder-logo-image {
  position: relative;
  z-index: 1;
  display: block;
  width: min(72%, 360px);
  height: auto;
  max-height: 150px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.ab2-card-photo .ab2-placeholder-logo-image { width: min(74%, 250px); max-height: 105px; }
.ab2-photo-coming > strong { color: #111820; font-size: clamp(16px,1.5vw,22px); line-height: 1.2; }
.ab2-photo-coming > small { max-width: 390px; color: #6d7783; font-size: 12px; line-height: 1.45; }
.ab2-card-photo .ab2-photo-coming > small { max-width: 270px; font-size: 11px; }
@media (max-width:700px) {
  .ab2-detail-placeholder { min-height:300px; }
  .ab2-photo-placeholder { padding:20px; gap:9px; }
  .ab2-card-photo .ab2-photo-coming > small { display:none; }
}



/* Instant local loading surface: visible before any remote request completes. */
.ab2-card-photo > .ab2-photo-placeholder,
.ab2-main-photo-wrap > .ab2-detail-placeholder {
  background:
    radial-gradient(circle at 22% 18%, rgba(var(--ab2-accent-rgb), .10), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #f2f6f8 100%);
}
.ab2-card-photo > .ab2-photo-placeholder::before,
.ab2-main-photo-wrap > .ab2-detail-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 36%, rgba(255,255,255,.72) 48%, transparent 60%);
  transform: translateX(-120%);
  animation: ab2InstantPlaceholder 1.35s ease-in-out infinite;
  pointer-events: none;
}
.ab2-image-loaded > .ab2-photo-placeholder::before,
.ab2-image-loaded > .ab2-detail-placeholder::before,
.ab2-image-failed > .ab2-photo-placeholder::before,
.ab2-image-failed > .ab2-detail-placeholder::before {
  animation: none;
  display: none;
}
@keyframes ab2InstantPlaceholder {
  to { transform: translateX(120%); }
}
@media (prefers-reduced-motion: reduce) {
  .ab2-card-photo > .ab2-photo-placeholder::before,
  .ab2-main-photo-wrap > .ab2-detail-placeholder::before { animation: none; display: none; }
}

/* Карусель последних/выбранных автомобилей на главной. */
.ab2-showcase-shell {
  width: 100%;
  max-width: none;
  padding: 72px 0 78px;
  overflow-x: clip;
  color: var(--ab2-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: linear-gradient(180deg, rgba(244,247,250,.72), rgba(255,255,255,0));
}
.ab2-showcase-shell.ab2-breakout {
  position: relative !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}
.ab2-showcase-inner {
  width: min(1400px, calc(100vw - 48px));
  max-width: 1400px;
  margin: 0 auto;
}
.ab2-showcase-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}
.ab2-showcase-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--ab2-accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.ab2-showcase-header h2 {
  margin: 0;
  color: var(--ab2-text);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -.045em;
}
.ab2-showcase-nav { display: flex; gap: 10px; }
.ab2-carousel-arrow {
  appearance: none;
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid var(--ab2-line);
  border-radius: 50%;
  background: #fff;
  color: var(--ab2-text);
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(18,32,49,.08);
  transition: transform .18s ease, color .18s ease, border-color .18s ease, opacity .18s ease;
}
.ab2-carousel-arrow:hover:not(:disabled) { transform: translateY(-2px); color: #fff; border-color: var(--ab2-accent); background: var(--ab2-accent); }
.ab2-carousel-arrow:focus-visible { outline: 3px solid rgba(var(--ab2-accent-rgb), .24); outline-offset: 2px; }
.ab2-carousel-arrow:disabled { opacity: .35; cursor: default; box-shadow: none; }
.ab2-carousel-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  outline: none;
}
.ab2-carousel-viewport::-webkit-scrollbar { display: none; }
.ab2-carousel-track {
  display: flex;
  align-items: stretch;
  gap: 28px;
  padding: 6px 2px 28px;
}
.ab2-carousel-track .ab2-card {
  flex: 0 0 calc((100% - 56px) / 3);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  box-shadow: 0 15px 38px rgba(18,32,49,.085);
}
.ab2-carousel-dots {
  display: flex;
  min-height: 18px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 2px;
}
.ab2-carousel-dot {
  appearance: none;
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #cbd3dc;
  cursor: pointer;
  transition: width .2s ease, background-color .2s ease;
}
.ab2-carousel-dot.is-active { width: 28px; background: var(--ab2-accent); }
.ab2-showcase-footer { display: flex; justify-content: center; margin-top: 30px; }
.ab2-showcase-all {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 30px;
  border: 1px solid var(--ab2-accent);
  border-radius: 14px;
  background: var(--ab2-accent);
  color: #fff !important;
  font-size: 16px;
  font-weight: 650;
  text-decoration: none !important;
  box-shadow: 0 14px 30px rgba(var(--ab2-accent-rgb), .24);
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.ab2-showcase-all:hover { transform: translateY(-2px); background: var(--ab2-accent-hover); box-shadow: 0 18px 34px rgba(var(--ab2-accent-rgb), .31); }
.ab2-showcase-all span { font-size: 20px; transition: transform .18s ease; }
.ab2-showcase-all:hover span { transform: translateX(3px); }

@media (max-width: 1050px) {
  .ab2-carousel-track .ab2-card { flex-basis: calc((100% - 22px) / 2); }
  .ab2-carousel-track { gap: 22px; }
}
@media (max-width: 680px) {
  .ab2-showcase-shell { padding: 48px 0 54px; }
  .ab2-showcase-inner { width: calc(100vw - 24px); }
  .ab2-showcase-header { align-items: center; margin-bottom: 20px; }
  .ab2-showcase-header h2 { font-size: clamp(30px, 10vw, 42px); }
  .ab2-showcase-kicker { font-size: 10px; }
  .ab2-showcase-nav { gap: 7px; }
  .ab2-carousel-arrow { width: 44px; height: 44px; }
  .ab2-carousel-track { gap: 14px; padding-bottom: 22px; }
  .ab2-carousel-track .ab2-card { flex-basis: 100%; }
  .ab2-showcase-all { width: 100%; }
}
