/* ── Container ── */
.showroom__container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}
.showroom__container .section-header-with-underline {
  padding: 0 1.5rem;
}
@media (min-width: 768px) {
  .showroom__container {
    padding: 0 1.5rem;
  }
  .showroom__container .section-header-with-underline {
    padding: 0;
  }
}

/* ── Car model selector (matches old switch-btns style) ── */
.showroom__models {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 6rem;
  padding: 0 1.5rem;
}
.showroom__model-btn {
  background-color: #f8f8f8;
  padding: 9px 18px;
  border: none;
  font-size: 21px;
  line-height: 25px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.showroom__model-btn.active {
  color: #fff;
  background-color: #d50000;
}
.showroom__model-icon {
  display: none;
}
.showroom__model-name {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}
@media screen and (min-width: 768px) {
  .showroom__model-btn {
    padding: 22px 33px;
  }
}

/* ── Content wrapper ── */
.showroom__content {
  position: relative;
}

/* ── View / angle selector (inside slider, right column) ── */
.showroom__views {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  flex-direction: column;
  align-items: center;
  padding: 30px 20px 90px;
}
.showroom__views.active {
  display: flex;
}
.showroom__view-btn {
  width: 80px;
  height: 60px;
  position: relative;
  cursor: pointer;
  margin-bottom: 1.2rem;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #d50000;
  background: none;
  padding: 0;
  display: block;
  flex-shrink: 0;
}
.showroom__view-thumb {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.showroom__view-btn.active {
  border-width: 3px;
  border-color: #d50000;
}

/* ── Slider ── */
.showroom__slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
}
@media (min-width: 768px) {
  .showroom__slider {
    border-radius: 22px;
    overflow: hidden;
  }
}

/* Logo overlay */
.showroom__slider-logo {
  position: absolute;
  top: 32px;
  left: 0;
  padding: 9px 25px 9px 11px;
  background-color: #d50000;
  color: #fff;
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
  z-index: 3;
  font-size: 17px;
  line-height: 21px;
  font-weight: 700;
}
@media (min-width: 768px) {
  .showroom__slider-logo {
    padding: 14px 32px 14px 22px;
    font-size: 28px;
    line-height: 34px;
  }
}

/* Before / After labels */
.showroom__slider-label {
  position: absolute;
  bottom: 20px;
  z-index: 3;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(0, 0, 0, 0.52);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  pointer-events: none;
}
.showroom__slider-label--before {
  left: 16px;
}
.showroom__slider-label--after {
  right: 16px;
}
@media (min-width: 768px) {
  .showroom__slider-label {
    bottom: 28px;
    font-size: 13px;
    padding: 6px 14px;
  }
}

/* Slider panels */
.showroom__slider-after,
.showroom__slider-before {
  width: 100%;
  min-height: 390px;
  aspect-ratio: 3 / 2;
}
.showroom__slider-after img,
.showroom__slider-before img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.showroom__slider-after {
  position: relative;
}
.showroom__slider-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}

/* Range input */
.showroom__slider-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
  margin: 0;
}
.showroom__slider-input::-webkit-slider-thumb {
  width: 48px;
  height: 100%;
  cursor: ew-resize;
  -webkit-appearance: none;
}
.showroom__slider-input::-moz-range-thumb {
  width: 48px;
  height: 100%;
  cursor: ew-resize;
  border: none;
  background: transparent;
}

/* Handle */
.showroom__slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 8px;
  height: 100%;
  background-color: #fff;
  pointer-events: none;
  z-index: 3;
  transform: translate(-50%);
}
.showroom__slider-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  background-color: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
  pointer-events: none;
}
.showroom__slider-input:hover ~ .showroom__slider-handle .showroom__slider-handle-button {
  transform: translate(-50%, -50%) scale(1.2);
}
.showroom__slider-arrow {
  width: 32px;
  height: 32px;
  color: #d50000;
}
.showroom__slider-arrow--left {
  transform: rotate(90deg) translateY(-8px);
}
.showroom__slider-arrow--right {
  transform: rotate(-90deg) translateY(-8px);
}
.showroom__slider-arrow svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ── Backdrop selector ── */
.showroom__backdrops {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  padding: 0 1.5rem;
  overflow-x: auto;
}
@media (min-width: 768px) {
  .showroom__backdrops {
    padding: 0;
    margin-top: 20px;
    gap: 16px;
  }
}
.showroom__backdrop {
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}
.showroom__backdrop img {
  min-width: 126px;
  width: 100%;
  height: 88px;
  object-fit: cover;
  border-radius: 22px;
  border: 3px solid transparent;
  transition: border-color 0.2s;
  display: block;
}
.showroom__backdrop.active img,
.showroom__backdrop:hover img {
  border-color: #d50000;
}
@media (min-width: 768px) {
  .showroom__backdrop img {
    min-width: 260px;
    height: 180px;
  }
}
.showroom__backdrop-badge {
  position: absolute;
  top: 6px;
  right: 12px;
  color: #fff;
  background-color: #d50000;
  padding: 1px 5px;
  border-radius: 22px;
  font-size: 8px;
  line-height: 10px;
}
@media (min-width: 768px) {
  .showroom__backdrop-badge {
    top: 12px;
    padding: 2px 10px;
    font-size: 14px;
    line-height: 20px;
  }
}
.showroom__backdrop-label {
  display: block;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  margin-top: 6px;
  color: #000;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .showroom__backdrop-label {
    font-size: 14px;
    margin-top: 8px;
  }
}
.showroom__backdrops-gallery-link {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  white-space: nowrap;
  color: #000;
  background: #fff;
  padding: 10px 35px;
  font-size: 20px;
  line-height: 25px;
  font-weight: 700;
  border: none;
  text-decoration: none;
}

/* ── Info bar ── */
.showroom__info {
  display: none;
  justify-content: space-between;
  border-radius: 20px;
  background-color: #f8f8f8;
  padding: 16px 24px;
  margin-top: 20px;
}
@media (min-width: 768px) {
  .showroom__info {
    display: flex;
  }
}
.showroom__info a {
  font-size: 24px;
  line-height: 34px;
  color: #d50000;
  text-decoration: none;
}
.showroom__info-text {
  display: inline-block;
  vertical-align: middle;
  color: #000;
  font-size: 24px;
  line-height: 34px;
  margin: 0 auto 0 0;
}
.showroom__info-text svg {
  width: 34px;
  height: 34px;
  vertical-align: middle;
  margin-right: 20px;
}
