.showrooms {
  --showrooms-red: #d71920;
  --showrooms-dark: #111;
  --showrooms-muted: #5f6368;
  --showrooms-border: #e5e7eb;
  --showrooms-bg: #fff;
  overflow-x: clip;
  padding: clamp(56px, 8vw, 96px) 24px clamp(40px, 5vw, 56px);
  background: var(--showrooms-bg);
}

.showrooms__container {
  width: min(100%, 1200px);
  margin: 0 auto;
}

.showrooms__heading {
  margin-bottom: clamp(28px, 4vw, 44px);
  text-align: center;
}

.showrooms__eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--showrooms-red);
  font: 700 clamp(15px, 1.3vw, 18px)/1.2 Oswald, sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.showrooms__heading h2 {
  margin: 0;
  color: var(--showrooms-dark);
  font: 700 clamp(32px, 4.2vw, 52px)/1.05 Oswald, Impact, sans-serif;
  text-transform: uppercase;
}

.showrooms__accent {
  display: block;
  width: 60px;
  height: 3px;
  margin: 18px auto;
  border-radius: 2px;
  background: var(--showrooms-red);
}

.showrooms__heading p {
  margin: 0;
  color: var(--showrooms-muted);
  font: 400 clamp(15px, 1.4vw, 17px)/1.65 Oxygen, Arial, sans-serif;
}

.showrooms__layout {
  display: grid;
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  align-items: stretch;
  gap: 24px;
}

.showrooms__cards {
  display: grid;
  min-width: 0;
  min-height: 520px;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.showrooms__card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--showrooms-border);
  border-left: 3px solid transparent;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(17, 17, 17, .04);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.showrooms__card.is-active {
  border-left-color: var(--showrooms-dark);
  box-shadow: 0 8px 24px rgba(17, 17, 17, .08);
}

.showrooms__card:hover {
  transform: translateY(-4px);
  border-left-color: #6b7280;
  box-shadow: 0 14px 30px rgba(17, 17, 17, .11);
}

.showrooms__tab {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--showrooms-dark);
  cursor: pointer;
  text-align: left;
}

.showrooms__tab:focus-visible,
.showrooms__map:focus-visible,
.showrooms__button:focus-visible,
.showrooms__phone:focus-visible {
  outline: 3px solid var(--showrooms-red);
  outline-offset: 3px;
}

.showrooms__pin-tile {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border-radius: 4px;
  background: #f3f4f6;
  color: var(--showrooms-dark);
}

.showrooms__pin-tile svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.showrooms__tab-label {
  font: 700 clamp(19px, 1.8vw, 22px)/1.2 Oswald, Impact, sans-serif;
  text-transform: uppercase;
}

.showrooms__details {
  display: grid;
  gap: 9px;
  margin-top: 12px;
  color: var(--showrooms-muted);
  font: 400 14px/1.5 Oxygen, Arial, sans-serif;
}

.showrooms__address {
  margin: 0;
}

.showrooms__phone {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: var(--showrooms-dark);
  font-weight: 700;
  text-decoration: none;
}

.showrooms__phone:hover {
  color: #4b5563;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.showrooms__phone svg,
.showrooms__hours svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: none;
  stroke: #6b7280;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.showrooms__hours {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.showrooms__hours svg {
  margin-top: 1px;
}

.showrooms__status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #edf7ef;
  color: #176b2c;
  font-size: 12px;
  font-weight: 700;
}

.showrooms__status[data-open="false"] {
  background: #f0f1f2;
  color: #4b5563;
}

.showrooms__status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #168a39;
  animation: showroom-status-pulse 1.8s ease-out infinite;
}

.showrooms__status[data-open="false"] .showrooms__status-dot {
  background: #6b7280;
  animation: none;
}

@keyframes showroom-status-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22, 138, 57, .3); }
  50% { box-shadow: 0 0 0 5px rgba(22, 138, 57, 0); }
}

.showrooms__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 2px;
}

.showrooms__button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid var(--showrooms-dark);
  border-radius: 4px;
  background: var(--showrooms-dark);
  color: #fff;
  font: 700 12px/1.2 Oxygen, Arial, sans-serif;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.showrooms__button:hover {
  border-color: #4b5563;
  background: #4b5563;
  color: #fff;
  text-decoration: none;
}

.showrooms__button--primary {
  border-color: var(--showrooms-dark);
  background: var(--showrooms-dark);
}

.showrooms__button--primary:hover {
  border-color: #4b5563;
  background: #4b5563;
}

.showrooms__button--outline {
  border-color: #d1d5db;
  background: #fff;
  color: var(--showrooms-dark);
}

.showrooms__button--outline:hover {
  border-color: #9ca3af;
  background: #f3f4f6;
  color: var(--showrooms-dark);
}

.showrooms__button svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.showrooms__map {
  position: relative;
  min-width: 0;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--showrooms-border);
  border-radius: 4px;
  background: #e8e8e5;
  box-shadow: 0 10px 28px rgba(17, 17, 17, .08);
}

.showrooms__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  opacity: 1;
  transition: opacity .25s ease;
}

.showrooms__map-placeholder {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 1;
  display: grid;
  max-width: min(80%, 340px);
  gap: 6px;
  padding: 18px 22px;
  border: 1px solid var(--showrooms-border);
  border-radius: 4px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 6px 20px rgba(17, 17, 17, .08);
  color: var(--showrooms-dark);
  font: 400 13px/1.5 Oxygen, Arial, sans-serif;
  text-align: center;
  transform: translate(-50%, -50%);
}

.showrooms__map-placeholder[hidden] {
  display: none;
}

.showrooms__map-placeholder strong {
  font-size: 15px;
}

.showrooms__map.is-changing iframe {
  opacity: .15;
}

.showrooms__map-label {
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(17, 17, 17, .08);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(17, 17, 17, .12);
  color: var(--showrooms-dark);
  font: 700 13px/1.3 Oxygen, Arial, sans-serif;
}

.showrooms__map-label svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #6b7280;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.showrooms.is-prepared .showrooms__card,
.showrooms.is-prepared .showrooms__map {
  opacity: 0;
  transition: opacity .65s ease, transform .65s ease, box-shadow .22s ease, border-color .22s ease;
}

.showrooms.is-prepared .showrooms__card {
  transform: translateX(-20px);
}

.showrooms.is-prepared .showrooms__map {
  transform: translateX(20px);
}

.showrooms.is-visible .showrooms__card,
.showrooms.is-visible .showrooms__map {
  opacity: 1;
  transform: translateX(0);
}

.showrooms.is-visible .showrooms__card:nth-child(2) {
  transition-delay: 100ms;
}

@media (max-width: 899px) {
  .showrooms__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .showrooms__cards {
    min-height: 0;
    grid-template-rows: none;
  }

  .showrooms__card {
    min-height: 0;
  }

  .showrooms__map,
  .showrooms__map iframe {
    height: 320px;
    min-height: 320px;
  }
}

@media (max-width: 599px) {
  .showrooms {
    padding-right: 16px;
    padding-left: 16px;
  }

  .showrooms__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 8px;
  }

  .showrooms__card {
    display: contents;
  }

  .showrooms__tab {
    grid-row: 1;
    justify-content: center;
    gap: 7px;
    min-height: 48px;
    padding: 7px 5px;
    border: 1px solid var(--showrooms-border);
    border-radius: 4px;
    background: #fff;
  }

  .showrooms__card:nth-child(1) .showrooms__tab {
    grid-column: 1;
  }

  .showrooms__card:nth-child(2) .showrooms__tab {
    grid-column: 2;
  }

  .showrooms__card.is-active .showrooms__tab {
    border-color: #6b7280;
    box-shadow: 0 4px 14px rgba(17, 17, 17, .08);
    color: var(--showrooms-dark);
  }

  .showrooms__pin-tile {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .showrooms__pin-tile svg {
    width: 17px;
    height: 17px;
  }

  .showrooms__tab-label {
    font-size: clamp(15px, 4vw, 18px);
  }

  .showrooms__details {
    grid-row: 2;
    grid-column: 1 / -1;
    padding: 16px;
    border: 1px solid var(--showrooms-border);
    border-left: 3px solid #6b7280;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(17, 17, 17, .05);
  }

  .showrooms__card:not(.is-active) .showrooms__details {
    display: none;
  }

  .showrooms__map,
  .showrooms__map iframe {
    height: 320px;
    min-height: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .showrooms__card,
  .showrooms__map,
  .showrooms__map iframe,
  .showrooms__status-dot {
    animation: none !important;
    transition: none !important;
  }

  .showrooms.is-prepared .showrooms__card,
  .showrooms.is-prepared .showrooms__map {
    opacity: 1;
    transform: none;
  }

  .showrooms__card:hover {
    transform: none;
  }
}
