/* ── Ace Honda Model Pages CSS ── */

/* Full-width hero banner */
.city-fullhero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--ace-navy);
}
.cfh-img {
  width: 100%;
  display: block;
  max-height: 92vh;
  object-fit: cover;
  object-position: center;
}

/* Model Subnav */
.model-subnav {
  background: white;
  border-bottom: 1px solid var(--ace-border);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  transform: translateY(-100%);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s;
}
.model-subnav.scrolled {
  transform: translateY(0);
  box-shadow: var(--shadow-md);
}
.msn-inner {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0 32px;
  display: flex;
  align-items: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.msn-inner::-webkit-scrollbar {
  display: none;
}
.msn-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px 16px 0;
  border-right: 1px solid var(--ace-border);
  margin-right: 8px;
  flex-shrink: 0;
}
.msn-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ace-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 900;
  color: white;
}
.msn-name {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ace-navy);
  white-space: nowrap;
}
.msn-link {
  padding: 18px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ace-gray);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: var(--transition);
  flex-shrink: 0;
}
.msn-link:hover,
.msn-link.active {
  color: var(--ace-navy);
  border-bottom-color: var(--ace-red);
}
.msn-btns {
  margin-left: auto;
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  padding: 8px 0;
}
.msn-btn-outline {
  padding: 8px 18px;
  background: none;
  border: 2px solid var(--ace-navy);
  color: var(--ace-navy);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  white-space: nowrap;
}
.msn-btn-outline:hover {
  background: var(--ace-navy);
  color: white;
}
.msn-btn-fill {
  padding: 8px 18px;
  background: var(--ace-red);
  border: 2px solid var(--ace-red);
  color: white;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  white-space: nowrap;
}
.msn-btn-fill:hover {
  background: var(--ace-red-dark);
  border-color: var(--ace-red-dark);
}

/* Model Hero (Amaze-style) */
.model-hero {
  background: var(--ace-off-white);
  padding: 48px 0 32px;
}
.hero-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}
.h-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ace-red);
  margin-bottom: 8px;
}
.h-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  color: var(--ace-navy);
  line-height: 1.1;
  margin-bottom: 10px;
}
.h-sub {
  font-size: 0.88rem;
  color: var(--ace-text-muted);
  margin-bottom: 18px;
}
.h-price-lbl {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ace-text-muted);
}
.h-price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--ace-navy);
  line-height: 1.1;
  margin-bottom: 22px;
}
.h-price sup {
  font-size: 1.2rem;
  vertical-align: super;
}
.h-price small {
  font-size: 1rem;
  font-weight: 400;
  color: var(--ace-text-muted);
}
.h-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.car-main-img {
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 48px rgba(12, 31, 63, 0.18));
  transition: transform 0.4s ease;
}
.hero-img-area:hover .car-main-img {
  transform: scale(1.03);
}

/* Color Bar */
.color-bar {
  max-width: 1280px;
  margin: 0 auto 8px;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background: white;
  border-top: 1px solid var(--ace-border);
}
.c-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ace-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.c-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  outline: 2px solid transparent;
  outline-offset: 3px;
}
.c-swatch.active,
.c-swatch:hover {
  outline-color: var(--ace-navy);
}
.c-name {
  font-size: 0.82rem;
  color: var(--ace-gray-dark);
  font-weight: 600;
  margin-left: 6px;
}

/* Spec ticker */
.spec-ticker {
  background: var(--ace-navy);
}
.spec-ticker-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
}
.st-item {
  flex: 1;
  text-align: center;
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.st-item:last-child {
  border-right: none;
}
.st-val {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  line-height: 1;
}
.st-key {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Experience section */
.exp-section {
  padding: 60px 0;
  background: var(--ace-off-white);
}
.exp-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--ace-border);
  margin-bottom: 32px;
}
.exp-tab {
  padding: 13px 28px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ace-gray);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: -1px;
}
.exp-tab.active {
  color: var(--ace-navy);
  border-bottom-color: var(--ace-red);
}
.exp-panel {
  display: none;
}
.exp-panel.active {
  display: block;
}

/* Image slider */
.img-slider {
  overflow: hidden;
  border-radius: var(--radius);
}
.slides-track {
  display: flex;
  transition: transform 0.4s ease;
}
.slide-item {
  flex-shrink: 0;
  width: 100%;
}
.slide-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.slide-caption {
  padding: 14px 20px;
  background: white;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ace-navy);
  border-top: 2px solid var(--ace-red);
}
.slider-ctrl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 0;
}
.s-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--ace-border);
  background: white;
  color: var(--ace-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  transition: var(--transition);
}
.s-btn:hover {
  background: var(--ace-navy);
  color: white;
  border-color: var(--ace-navy);
}
.s-dots {
  display: flex;
  gap: 8px;
}
.s-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ace-border);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.s-dot.active {
  width: 22px;
  border-radius: 4px;
  background: var(--ace-red);
}

/* Reasons to Buy */
.rtb-section {
  padding: 60px 0;
  background: white;
}
.rtb-hd-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}
.rtb-nav-btns {
  display: flex;
  gap: 10px;
}
.rtb-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--ace-border);
  background: white;
  color: var(--ace-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  transition: var(--transition);
}
.rtb-arrow:hover {
  background: var(--ace-navy);
  color: white;
  border-color: var(--ace-navy);
}
.rtb-slider-outer {
  overflow: hidden;
  border-radius: var(--radius);
}
.rtb-track {
  display: flex;
  transition: transform 0.4s ease;
}
.rtb-slide {
  flex-shrink: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}
.rtb-slide-img {
  position: relative;
  overflow: hidden;
  background: var(--ace-navy);
}
.rtb-slide-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.rtb-slide-num {
  position: absolute;
  top: 20px;
  left: 24px;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.15);
  line-height: 1;
}
.rtb-slide-body {
  padding: 40px 36px;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.rtb-slide-cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ace-red);
  margin-bottom: 10px;
}
.rtb-slide-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ace-navy);
  margin-bottom: 14px;
  line-height: 1.2;
}
.rtb-slide-desc {
  font-size: 0.88rem;
  color: var(--ace-text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.rtb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.rtb-tags span {
  padding: 4px 12px;
  background: var(--ace-off-white);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ace-navy);
  border: 1px solid var(--ace-border);
}
.rtb-mileage-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  text-align: right;
  background: rgba(12, 31, 63, 0.75);
  color: white;
  padding: 8px 14px;
  border-radius: 8px;
}
.rtb-mileage-badge {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}
.rtb-mileage-badge span {
  font-size: 0.8rem;
  font-weight: 400;
  opacity: 0.8;
  display: block;
}
.rtb-stars-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(12, 31, 63, 0.8);
  padding: 10px 14px;
  border-radius: 8px;
}
.rtb-stars-label {
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.rtb-stars {
  color: var(--ace-gold);
  font-size: 0.9rem;
}

/* Honda Sensing section */
.sensing-section {
  background: var(--ace-navy);
  padding: 0;
  overflow: hidden;
}
.sensing-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.sensing-eyebrow span {
  color: var(--ace-gold) !important;
}
.sensing-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin-bottom: 16px;
}
.sensing-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  margin-bottom: 24px;
}
.sensing-features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.sensing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
}
.sensing-features li i {
  color: var(--ace-gold);
  margin-top: 2px;
  flex-shrink: 0;
}
.sensing-scene {
  position: relative;
}
.sensing-car {
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 60px rgba(245, 166, 35, 0.3));
}
.sensing-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.s-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(245, 166, 35, 0.2);
  animation: pulse 3s ease-in-out infinite;
}
.s-ring.r1 {
  width: 60%;
  height: 60%;
  animation-delay: 0s;
}
.s-ring.r2 {
  width: 80%;
  height: 80%;
  animation-delay: 0.5s;
}
.s-ring.r3 {
  width: 100%;
  height: 100%;
  animation-delay: 1s;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.03);
  }
}
.sensing-speed-badge {
  position: absolute;
  top: 20%;
  right: 5%;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 10px 14px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.sb-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ace-navy);
  display: block;
  line-height: 1;
}
.sb-unit {
  font-size: 0.7rem;
  color: var(--ace-text-muted);
}
.sensing-caption {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 12px;
}
.sensing-btn {
  background: var(--ace-gold);
  color: var(--ace-navy);
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sensing-btn:hover {
  background: var(--ace-gold-light);
  transform: translateY(-2px);
}

/* Design section */
.design-section {
  padding: 60px 0;
  background: white;
}
.design-slider-wrap {
  position: relative;
  margin-top: 32px;
}
.design-slide {
  flex-shrink: 0;
  width: 100%;
  position: relative;
}
.design-slide img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.design-slide-cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 32px 24px;
  background: linear-gradient(transparent, rgba(12, 31, 63, 0.7));
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
}
.design-ctrl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  background: var(--ace-off-white);
}
.design-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--ace-border);
  background: white;
  color: var(--ace-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  transition: var(--transition);
}
.design-arrow:hover {
  background: var(--ace-navy);
  color: white;
  border-color: var(--ace-navy);
}
.design-dots {
}

/* Technology section */
.tech-section {
  padding: 60px 0;
  background: var(--ace-off-white);
}
.tech-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--ace-border);
  margin-bottom: 36px;
}
.tech-tab {
  padding: 13px 28px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ace-gray);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: -1px;
}
.tech-tab.active {
  color: var(--ace-navy);
  border-bottom-color: var(--ace-red);
}
.tech-panel {
  display: none;
}
.tech-panel.active {
  display: block;
}
.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.tech-desc {
  font-size: 0.9rem;
  color: var(--ace-text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}
.tech-specs {
  list-style: none;
  padding: 0;
  margin-bottom: 28px;
}
.tsr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--ace-border);
}
.tsr:first-child {
  border-top: 1px solid var(--ace-border);
}
.tk {
  font-size: 0.82rem;
  color: var(--ace-text-muted);
}
.tv {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ace-navy);
}
.tech-nums {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.tn {
  text-align: center;
  padding: 16px 10px;
  background: white;
  border-radius: var(--radius-sm);
  border: 1px solid var(--ace-border);
}
.tn-val {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ace-navy);
}
.tn-lbl {
  font-size: 0.68rem;
  color: var(--ace-text-muted);
  margin-top: 3px;
}
.tech-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ace-off-white);
}
.tech-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* Accessories section */
.acc-section {
  padding: 60px 0;
  background: white;
}
.acc-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.acc-tab {
  padding: 8px 18px;
  border: 2px solid var(--ace-border);
  border-radius: var(--radius-pill);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ace-gray-dark);
  transition: var(--transition);
}
.acc-tab.active {
  background: var(--ace-navy);
  border-color: var(--ace-navy);
  color: white;
}
.acc-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.acc-slider-outer {
  flex: 1;
  overflow: hidden;
}
.acc-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
}
.acc-card {
  flex-shrink: 0;
  /* must match _accPV() in the page script: 4 / 2 / 1 cards per view, 20px gap */
  width: calc((100% - 60px) / 4);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--ace-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
@media (max-width: 1023px) {
  .acc-card {
    width: calc((100% - 20px) / 2);
  }
}
@media (max-width: 559px) {
  .acc-card {
    width: 100%;
  }
}
.acc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.acc-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: var(--ace-off-white);
  padding: 12px;
}
.acc-card-body {
  padding: 14px 16px;
}
.acc-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ace-navy);
  margin-bottom: 4px;
}
.acc-price {
  font-size: 0.75rem;
  color: var(--ace-text-muted);
}
.acc-arr {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid var(--ace-border);
  background: white;
  color: var(--ace-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  transition: var(--transition);
}
.acc-arr:hover:not(:disabled) {
  background: var(--ace-navy);
  color: white;
  border-color: var(--ace-navy);
}
.acc-arr:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Moments section */
.moments-section {
  padding: 60px 0;
  background: var(--ace-off-white);
}
.moments-eyebrow span {
  color: var(--ace-red) !important;
}
.moments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.moment-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.moment-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.moment-card:hover img {
  transform: scale(1.05);
}
.moment-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 31, 63, 0.3);
}
.moment-play i {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ace-red);
  font-size: 1.1rem;
  transition: var(--transition);
}
.moment-card:hover .moment-play i {
  background: var(--ace-red);
  color: white;
  transform: scale(1.1);
}
.moment-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 16px 14px;
  background: linear-gradient(transparent, rgba(12, 31, 63, 0.8));
  font-size: 0.82rem;
  font-weight: 600;
  color: white;
}

/* FAQ section */
.faq-section {
  padding: 60px 0;
  background: white;
}
.faq-item {
  border-bottom: 1px solid var(--ace-border);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ace-navy);
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
}
.faq-q i {
  flex-shrink: 0;
  font-size: 0.8rem;
  color: var(--ace-red);
  transition: transform 0.3s ease;
}
.faq-q:hover {
  color: var(--ace-red);
}
.faq-a {
  display: none;
  padding: 0 4px 18px;
  font-size: 0.88rem;
  color: var(--ace-text-muted);
  line-height: 1.75;
}
.faq-item.open .faq-a {
  display: block;
}
.faq-item.open .faq-q {
  color: var(--ace-red);
}
.faq-item.open .faq-q i {
  transform: rotate(180deg);
}

/* Other models */
.oc-btns {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

@media (max-width: 1024px) {
  .hero-wrap {
    grid-template-columns: 1fr;
  }
  .rtb-slide {
    grid-template-columns: 1fr;
    align-content: start; /* don't stretch the image row to the tallest slide */
  }
  .rtb-slide-img img {
    height: auto;
    display: block;
  }
  .sensing-inner {
    grid-template-columns: 1fr;
  }
  .tech-grid {
    grid-template-columns: 1fr;
  }
  .tech-nums {
    grid-template-columns: repeat(2, 1fr);
  }
  .moments-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .tech-img {
    height: auto;
  }
  .slide-item img {
    height: auto;
  }
  .rtb-hd-row {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
  }
  .rtb-slide-body {
    padding: 24px 16px;
  }

  /* Accessories: tabs in one swipeable row, arrows over the card */
  .acc-section {
    overflow: hidden;
  }
  .acc-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
    padding-bottom: 2px;
  }
  .acc-tabs::-webkit-scrollbar {
    display: none;
  }
  .acc-tab {
    flex-shrink: 0;
    white-space: nowrap;
  }
  .acc-slider-wrap {
    gap: 0;
  }
  .acc-arr {
    position: absolute;
    top: 100px;
    transform: translateY(-50%);
    z-index: 2;
    box-shadow: var(--shadow-sm);
  }
  .acc-arr-l {
    left: 8px;
  }
  .acc-arr-r {
    right: 8px;
  }
  .acc-arr:disabled {
    opacity: 0;
    pointer-events: none;
  }
}
@media (max-width: 640px) {
  .spec-ticker-inner {
    flex-wrap: wrap;
  }
  .st-item {
    flex: 0 0 50%;
  }
  .moments-grid {
    grid-template-columns: 1fr;
  }
  .color-bar {
    padding: 16px;
  }
  .msn-inner {
    padding: 0 16px;
  }
  .tech-nums {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 960px) {
  .msn-inner {
    padding: 0 16px;
  }
  .msn-brand {
    padding: 14px 14px 14px 0;
  }
  .msn-name {
    font-size: 0.8rem;
  }
  .msn-link {
    padding: 14px 9px;
    font-size: 0.72rem;
  }
}

/* ── Mobile type scale for all model pages (desktop untouched) ──
   !important: car-city.html has inline styles and car-*.css / samara.css load after this file */
@media (max-width: 768px) {
  /* Big numbers */
  .rtb-slide-num { font-size: clamp(1.6rem, 8vw, 2.4rem) !important; }
  .h-price { font-size: clamp(1.5rem, 7vw, 2rem) !important; }
  .h-price sup { font-size: 0.55em !important; }
  .csb-val { font-size: clamp(1.4rem, 6.2vw, 1.9rem) !important; }
  .cps-val { font-size: clamp(1.25rem, 5.5vw, 1.7rem) !important; }
  .rtb-mileage-badge, .sb-num, .esb-val { font-size: clamp(1.1rem, 5vw, 1.4rem) !important; }
  .st-val { font-size: clamp(1rem, 4.6vw, 1.25rem) !important; }
  .tn-val { font-size: 1rem !important; }

  /* Hero + section headings */
  .h-title { font-size: clamp(1.4rem, 6.2vw, 1.8rem) !important; }
  .city-vibe { font-size: clamp(1.4rem, 6.4vw, 1.9rem) !important; }
  .city-sec-title-lg { font-size: clamp(1.4rem, 6.2vw, 1.9rem) !important; }
  .sec-title, .sensing-title, .city-sec-title, .elv-sec-title h2,
  .zpres-title, .zehev-title, .zs-title, .zacc-title, .zfaq-title {
    font-size: clamp(1.3rem, 5.6vw, 1.7rem) !important;
  }
  .rtb-slide-title { font-size: clamp(1.1rem, 5vw, 1.35rem) !important; }
  .csn-brand { font-size: 1rem !important; }
  .zehev-mode-name, .elv-sensing-cap-name { font-size: 0.95rem !important; }
  .faq-q, .elv-faq-q, .zfaq-q { font-size: 0.88rem !important; }

  /* Body copy & captions */
  .sec-sub, .h-sub, .tech-desc, .rtb-slide-desc, .sensing-desc, .elv-sec-desc,
  .zehev-mode-desc, .zacc-desc, .city-acc-desc {
    font-size: 0.84rem !important;
  }
  .design-slide-cap, .city-img-cap, .city-sensing-cap, .elv-design-cap-name,
  .zpres-caption, .slide-caption, .sensing-caption {
    font-size: 0.82rem !important;
  }
}
