/* Localized additions: showroom modes, cabin photography and the sixth offer. */
.car-experience {
  min-width: 0;
}
.experience-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 30px 12px;
}
.experience-tabs {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  border: 1px solid #cdd8c2;
  border-radius: 100px;
  background: #e4ecd9;
}
.experience-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 650;
  color: #657854;
  transition:
    color 0.25s,
    background 0.25s,
    box-shadow 0.25s;
}
.experience-tabs button[aria-selected="true"] {
  background: #fbfdf7;
  color: #1c2915;
  box-shadow: 0 2px 8px #18240e10;
}
.experience-tabs button:hover {
  color: #192b10;
}
.experience-tabs .icon {
  width: 18px;
  height: 18px;
}
.experience-aside {
  font-size: 9px;
  letter-spacing: 0.14em;
  color: #80906f;
}
.experience-panel {
  min-width: 0;
}
.experience-label-short {
  display: none;
}
.experience-dark .experience-toolbar {
  padding: 30px 0 22px;
}
.experience-dark .experience-tabs {
  background: #202b1b;
  border-color: #445039;
}
.experience-dark .experience-tabs button {
  color: #b9c6ad;
}
.experience-dark .experience-tabs button[aria-selected="true"] {
  color: #14200d;
  background: var(--lime);
  box-shadow: none;
}
.experience-dark .experience-tabs button:hover {
  color: #fff;
}
.experience-dark .experience-tabs button[aria-selected="true"]:hover {
  color: #14200d;
}
.showroom-view:has(.car-experience) {
  margin-top: 0;
}
.cabin-gallery {
  padding: 12px 30px 22px;
  color: #1c2716;
}
.cabin-stage {
  position: relative;
  isolation: isolate;
  aspect-ratio: 2.15;
  overflow: hidden;
  background: #101610;
  border-radius: 6px;
  cursor: zoom-in;
  touch-action: pan-y;
  outline-offset: 4px;
}
.cabin-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.015);
  transition:
    opacity 0.55s ease,
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.cabin-image.is-active {
  opacity: 1;
  transform: translate(var(--pan-x, 0px), var(--pan-y, 0px)) scale(1);
}
.cabin-frame-index {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  padding: 8px 11px;
  border: 1px solid #ffffff20;
  border-radius: 50px;
  color: white;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  background: #101710b8;
  backdrop-filter: blur(12px);
  pointer-events: none;
}
.cabin-frame-index span {
  color: #b8c5b1;
  margin-left: 4px;
}
.cabin-expand {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff40;
  border-radius: 50%;
  background: #101710b8;
  backdrop-filter: blur(12px);
  color: white;
  transition: background 0.25s;
}
.cabin-expand:hover {
  background: #35402c;
}
.cabin-expand .icon {
  width: 18px;
  height: 18px;
}
.cabin-status {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 15px;
  transform: translateX(-50%);
  max-width: calc(100% - 28px);
  padding: 10px 15px;
  border-radius: 5px;
  background: #101710dd;
  color: #f2f6eb;
  font-size: 12px;
  text-align: center;
}
.cabin-status.is-pending {
  animation: cabin-status-delay 1s both;
}
.cabin-status:empty {
  display: none;
}
.cabin-retry {
  text-decoration: underline;
  min-height: 32px;
  margin-left: 6px;
}
.cabin-caption-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 20px 0;
}
.cabin-caption {
  display: grid;
  gap: 7px;
  min-width: 0;
}
.cabin-caption strong {
  font-weight: 600;
  font-size: clamp(18px, 2vw, 25px);
  letter-spacing: -0.035em;
  line-height: 1.3;
}
.cabin-caption > span {
  font-size: 12px;
  line-height: 1.6;
  color: #748468;
}
.cabin-arrows {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.cabin-arrows button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #c9d4bd;
  background: transparent;
  transition:
    background 0.2s,
    color 0.2s;
}
.cabin-arrows button:hover {
  background: #d9f799;
  color: #182214;
}
.cabin-arrows .icon {
  width: 19px;
  height: 19px;
}
.cabin-thumbnails {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.cabin-thumb {
  min-width: 0;
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  padding: 3px;
  border: 1px solid transparent;
  text-align: left;
  transition:
    border-color 0.25s,
    background 0.25s;
}
.cabin-thumb img {
  width: 100%;
  aspect-ratio: 3.2;
  object-fit: cover;
  display: block;
  border-radius: 2px;
  filter: saturate(0.7);
  opacity: 0.66;
  transition:
    opacity 0.25s,
    filter 0.25s;
}
.cabin-thumb[aria-pressed="true"] {
  border-color: #7b925f;
  background: #dfe9d2;
}
.cabin-thumb[aria-pressed="true"] img,
.cabin-thumb:hover img {
  opacity: 1;
  filter: none;
}
.cabin-thumb > span {
  display: flex;
  gap: 9px;
  align-items: baseline;
  font-size: 11px;
  line-height: 1.5;
  padding: 9px 6px 5px;
}
.cabin-thumb b {
  color: #7e8f71;
  font-size: 10px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.cabin-disclaimer {
  color: #7e8c73;
  font-size: 10px;
  line-height: 1.7;
  margin-top: 17px;
}
.experience-dark .cabin-gallery {
  padding: 0 0 22px;
  color: #f4f7ef;
}
.experience-dark .cabin-caption > span,
.cabin-lightbox .cabin-caption > span {
  color: #a0ae94;
}
.experience-dark .cabin-arrows button,
.cabin-lightbox .cabin-arrows button {
  border-color: #47513f;
}
.experience-dark .cabin-thumb[aria-pressed="true"],
.cabin-lightbox .cabin-thumb[aria-pressed="true"] {
  border-color: #c4e97e;
  background: #26311f;
}
.experience-dark .cabin-thumb b,
.cabin-lightbox .cabin-thumb b {
  color: #b5c4a6;
}
.cabin-lightbox {
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #f5f7ef;
  background: #0e140e;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.cabin-lightbox::backdrop {
  background: #0e140ef2;
  backdrop-filter: blur(12px);
}
.cabin-lightbox-bar {
  position: sticky;
  top: 0;
  z-index: 4;
  background: #0e140ef2;
  backdrop-filter: blur(12px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid #ffffff18;
}
.cabin-lightbox-bar > div {
  display: grid;
  gap: 7px;
}
.cabin-lightbox-bar span {
  color: #91a085;
  font-size: 9px;
  letter-spacing: 0.12em;
}
.cabin-lightbox-bar strong {
  font-size: 17px;
  font-weight: 500;
}
.cabin-lightbox-close {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid #526047;
  display: grid;
  place-items: center;
}
.cabin-lightbox-close:hover {
  background: #26341e;
}
.cabin-lightbox-content {
  max-width: 1600px;
  margin: auto;
}
.cabin-gallery-expanded {
  padding: 20px clamp(20px, 4vw, 64px) 25px;
  color: #f5f7ef;
}
.cabin-gallery-expanded .cabin-stage {
  height: clamp(220px, 58dvh, 800px);
  aspect-ratio: auto;
}
.cabin-gallery-expanded .cabin-image {
  object-fit: contain;
}
.cabin-gallery-expanded .cabin-stage {
  cursor: grab;
}
.cabin-gallery-expanded .cabin-thumbnails {
  max-width: 740px;
  margin-inline: auto;
}
.cabin-gallery-expanded .cabin-disclaimer {
  text-align: center;
}
.cabin-stage.cabin-zoomed {
  cursor: grab;
  touch-action: none;
}
.cabin-zoomed .cabin-image.is-active {
  transform: translate(var(--pan-x, 0px), var(--pan-y, 0px)) scale(1.8);
}
.cabin-stage.is-dragging {
  cursor: grabbing;
}
.is-dragging .cabin-image {
  transition: opacity 0.4s;
}
.credit-note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #657951;
  line-height: 1.6;
  margin-top: 11px;
}
.credit-note .icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.card-price-includes {
  font-size: 11px;
  line-height: 1.65;
  color: #657951;
  margin-top: 7px;
}
.card-interior-link {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 12px;
  color: #5b7049;
  margin-top: 5px;
  border-radius: 5px;
}
.card-interior-link:hover {
  background: #e0ead6;
}
.card-interior-link .icon {
  width: 16px;
  height: 16px;
}
.car-card {
  display: flex;
  flex-direction: column;
}
.car-card .card-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.car-card .card-bottom {
  margin-top: auto;
}
.car-card .car-mood {
  margin-bottom: 20px;
}
@keyframes cabin-status-delay {
  0%,
  70% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@media (max-width: 900px) {
  .experience-aside {
    display: none;
  }
}
@media (max-width: 600px) {
  .experience-toolbar {
    padding: 18px 16px 10px;
  }
  .experience-tabs {
    width: 100%;
    gap: 2px;
  }
  .experience-tabs button {
    padding: 9px 10px;
    font-size: 11px;
    gap: 6px;
    flex: 1;
    white-space: nowrap;
  }
  .experience-tabs .icon {
    width: 16px;
    height: 16px;
  }
  .experience-dark .experience-toolbar {
    padding-top: 25px;
    padding-bottom: 18px;
  }
  .cabin-gallery {
    padding: 8px 16px 18px;
  }
  .cabin-stage {
    aspect-ratio: 1.4;
  }
  .cabin-expand {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }
  .cabin-frame-index {
    top: 13px;
    left: 10px;
    font-size: 10px;
  }
  .cabin-caption-row {
    gap: 12px;
    margin: 16px 0;
  }
  .cabin-caption strong {
    font-size: 18px;
  }
  .cabin-caption > span {
    font-size: 11px;
  }
  .cabin-arrows {
    gap: 5px;
  }
  .cabin-arrows button {
    width: 40px;
    height: 40px;
  }
  .cabin-thumbnails {
    gap: 7px;
  }
  .cabin-thumb img {
    aspect-ratio: 1.7;
  }
  .cabin-thumb > span {
    font-size: 9px;
    line-height: 1.45;
    gap: 4px;
    padding: 8px 2px 3px;
    display: block;
  }
  .cabin-thumb b {
    display: block;
    margin-bottom: 3px;
  }
  .cabin-disclaimer {
    font-size: 9px;
    margin-top: 13px;
  }
  .cabin-lightbox-bar {
    padding: 16px;
  }
  .cabin-lightbox-bar strong {
    font-size: 15px;
  }
  .cabin-lightbox-bar span {
    font-size: 8px;
  }
  .cabin-gallery-expanded {
    padding: 12px 12px 20px;
  }
  .cabin-gallery-expanded .cabin-stage {
    height: 43dvh;
    min-height: 230px;
  }
}
@media (max-width: 420px) {
  .experience-label-long {
    display: none;
  }
  .experience-label-short {
    display: inline;
  }
  .experience-tabs button {
    min-width: 0;
  }
  .cabin-thumb > span {
    font-size: 0;
    line-height: 0;
    padding-block: 7px 4px;
  }
  .cabin-thumb b {
    font-size: 10px;
    line-height: 1;
    text-align: center;
    margin: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cabin-image,
  .experience-tabs button,
  .cabin-thumb {
    transition: none;
  }
  .cabin-status.is-pending {
    animation: none;
  }
}
