.urbn-locations-shell,
.urbn-locations-shell *,
.urbn-locations-shell *::before,
.urbn-locations-shell *::after {
  box-sizing: border-box;
}

.urbn-locations-shell {
  --urbn-text: #171717;
  --urbn-muted: #6b6b6b;
  --urbn-line: #dcdcdc;
  --urbn-line-soft: #ececec;
  --urbn-primary: #43a2ee;
  --urbn-primary-strong: #2f94e4;
  --urbn-bg: #ffffff;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 22px 18px;
  color: var(--urbn-text);
  font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.urbn-locations-shell button,
.urbn-locations-shell input,
.urbn-locations-shell textarea,
.urbn-locations-shell select {
  font: inherit;
  letter-spacing: normal !important;
  text-transform: none !important;
}

.urbn-locations-shell button {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  box-shadow: none;
  text-shadow: none;
}

.urbn-locations-shell a {
  text-decoration: none;
  box-shadow: none;
}

.urbn-locations-frame {
  background: var(--urbn-bg);
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  overflow: visible;
}

.urbn-locations-frame::before {
  display: none;
}

.urbn-locations-head,
.urbn-locations-tools,
.urbn-locations-layout {
  position: relative;
}

.urbn-locations-head {
  display: grid;
  grid-template-columns: minmax(260px, 390px) auto;
  gap: 34px;
  align-items: start;
  margin-bottom: 30px;
}

.urbn-locations-copy {
  max-width: 350px;
}

.urbn-locations-eyebrow {
  display: none;
}

.urbn-locations-copy h2 {
  margin: 0 0 10px;
  color: #111;
  font-size: clamp(2.4rem, 3vw, 3.45rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.urbn-locations-copy h2 strong,
.urbn-locations-copy h2 b {
  font-weight: 700;
}

.urbn-locations-copy p {
  margin: 0;
  color: #333;
  font-size: 0.97rem;
  line-height: 1.55;
}

.urbn-locations-tabs {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding-top: 6px;
}

.urbn-tab {
  min-width: 236px;
  min-height: 72px;
  padding: 0 40px;
  border: 2px solid var(--urbn-primary) !important;
  border-radius: 999px;
  background: #fff !important;
  color: var(--urbn-primary) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.urbn-tab.is-active,
.urbn-tab:hover {
  background: var(--urbn-primary) !important;
  color: #fff !important;
  border-color: var(--urbn-primary) !important;
}

.urbn-locations-tools {
  display: grid;
  grid-template-columns: minmax(300px, 1.65fr) minmax(220px, auto);
  gap: 14px;
  max-width: 680px;
  margin: 0 0 24px;
}

.urbn-locations-tools input,
.urbn-locations-geolocate {
  min-height: 60px;
  border: 1px solid var(--urbn-line) !important;
  border-radius: 18px;
  background: #fff !important;
  color: #171717 !important;
}

.urbn-locations-tools input {
  width: 100%;
  min-height: 60px;
  padding: 0 20px;
  font-size: 1.06rem;
}

.urbn-locations-geolocate {
  min-height: 60px;
  padding: 0 30px;
  border-radius: 999px;
  font-size: 1.04rem;
  font-weight: 600;
  cursor: pointer;
}

.urbn-locations-layout {
  display: grid;
  grid-template-columns: minmax(320px, 600px) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
}

.urbn-locations-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.urbn-location-card {
  background: #fff;
  border: 1px solid var(--urbn-line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.025);
  transform: none;
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

.urbn-location-card:hover,
.urbn-location-card.is-open {
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.04);
}

.urbn-location-card:not(.is-open):hover {
  background: var(--urbn-primary);
  box-shadow: 0 16px 28px rgba(67, 162, 238, 0.18);
  outline: none !important;
}

.urbn-location-card:not(.is-open):hover .urbn-location-card__header {
  background: var(--urbn-primary) !important;
}

.urbn-location-card:not(.is-open):hover .urbn-location-card__title,
.urbn-location-card:not(.is-open):hover .urbn-location-card__address,
.urbn-location-card:not(.is-open):hover .urbn-location-card__chevron {
  color: #ffffff !important;
}

.urbn-location-card__header {
  width: 100%;
  min-height: 92px;
  padding: 0 28px;
  background: #fff !important;
  color: var(--urbn-text) !important;
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto 20px;
  gap: 14px;
  align-items: center;
  text-align: left;
  cursor: pointer;
}

.urbn-location-card__title {
  color: #111 !important;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.2;
}

.urbn-location-card__address {
  color: #5f5f5f !important;
  font-size: 0.825rem;
  font-weight: 400;
  line-height: 1.3;
  text-align: right;
  white-space: nowrap;
}

.urbn-location-card__chevron {
  color: #575757 !important;
  font-size: 2rem;
  line-height: 1;
  justify-self: end;
  transform: translateY(-1px);
}

.urbn-location-card.is-open .urbn-location-card__chevron {
  transform: rotate(90deg);
}

.urbn-location-card__body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 28px;
  transition:
    max-height 0.3s ease,
    opacity 0.3s ease,
    padding-bottom 0.3s ease;
}

.urbn-location-card.is-open .urbn-location-card__body {
  max-height: 680px;
  opacity: 1;
  padding-bottom: 28px;
}

.urbn-location-card__panel {
  border-top: 1px solid var(--urbn-line-soft);
  padding-top: 24px;
}

.urbn-location-card__panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.urbn-location-card__panel-title {
  margin: 0;
  max-width: 430px;
  color: #111111 !important;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  background: transparent !important;
  text-shadow: none !important;
}

.urbn-location-card__panel-title,
.urbn-location-card__panel-title * {
  color: #111111 !important;
}

.urbn-location-card__panel-chevron {
  color: #3c3c3c;
  font-size: 2rem;
  line-height: 1;
}

.urbn-location-card__panel-grid {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px 28px;
  align-items: start;
}

.urbn-location-card__media img,
.urbn-location-card__media--placeholder {
  width: 100%;
  height: 238px;
  border-radius: 18px;
}

.urbn-location-card__media img {
  display: block;
  object-fit: cover;
  background: #eef5fb;
}

.urbn-location-card__media--placeholder {
  display: grid;
  place-items: center;
  padding: 20px;
  background: linear-gradient(135deg, #eef5fb, #dfeefb);
  color: #2f94e4;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
}

.urbn-location-card__content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 4px;
}

.urbn-location-card__detail {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.urbn-location-card__icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid #79bff5;
  color: #4aa8ef;
  display: grid;
  place-items: center;
}

.urbn-location-card__icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.urbn-location-card__detail-copy {
  color: #3c3c3c;
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.55;
}

.urbn-location-card__phone {
  color: inherit !important;
  text-decoration: none !important;
}

.urbn-location-card__phone:hover {
  color: var(--urbn-primary-strong) !important;
}

.urbn-location-card__detail-copy--stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.urbn-location-card__actions {
  margin-top: 6px;
}

.urbn-location-card__cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 166px;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--urbn-primary) !important;
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

.urbn-locations-map-wrap {
  position: relative;
  min-height: 980px;
}

.urbn-locations-map,
.urbn-locations-map__empty {
  min-height: 980px;
  height: 100%;
  border-radius: 26px;
  overflow: hidden;
}

.urbn-locations-map {
  border: 1px solid #efefef;
  background: #f8f8f8;
}

.urbn-locations-map__empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 32px;
  background: #fafafa;
  color: var(--urbn-muted);
  text-align: center;
}

.urbn-empty-state {
  padding: 24px 18px;
  border: 1px dashed var(--urbn-line);
  border-radius: 18px;
  color: var(--urbn-muted);
  text-align: center;
}

.urbn-map-infowindow strong {
  display: block;
  margin-bottom: 5px;
  font-size: 0.94rem;
}

.urbn-map-infowindow p {
  margin: 0;
  color: #565656;
  font-size: 0.82rem;
}

.urbn-map-infowindow {
  max-width: 348px;
  padding: 2px 0;
}

.urbn-map-infowindow__layout {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.urbn-map-infowindow__media,
.urbn-map-infowindow__media img,
.urbn-map-infowindow__media--placeholder {
  width: 104px;
  min-height: 136px;
  border-radius: 12px;
}

.urbn-map-infowindow__media img {
  display: block;
  width: 104px;
  height: 100%;
  object-fit: cover;
}

.urbn-map-infowindow__media--placeholder {
  display: grid;
  place-items: center;
  width: 104px;
  height: 100%;
  background: linear-gradient(135deg, #eef5fb, #dfeefb);
  color: #2f94e4;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  padding: 8px;
}

.urbn-map-infowindow__content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  justify-content: flex-start;
}

.urbn-map-infowindow__title {
  margin: 0 !important;
  color: #161616;
  font-size: 1rem !important;
  font-weight: 600;
  line-height: 1.25;
}

.urbn-map-infowindow__address {
  margin: 0 !important;
  color: #555;
  font-size: 0.84rem !important;
  line-height: 1.4;
}

.urbn-map-infowindow__directions {
  color: #2f94e4 !important;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none !important;
}

.urbn-map-infowindow__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--urbn-primary) !important;
  color: #fff !important;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase !important;
}

@media (max-width: 1180px) {
  .urbn-locations-layout {
    grid-template-columns: minmax(320px, 480px) minmax(0, 1fr);
  }

  .urbn-location-card__header {
    grid-template-columns: minmax(120px, 1fr) auto 20px;
  }

  .urbn-location-card__address {
    font-size: 0.88rem;
  }
}

@media (max-width: 960px) {
  .urbn-locations-shell {
    padding: 16px;
  }

  .urbn-locations-head {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 24px;
  }

  .urbn-locations-copy {
    max-width: 460px;
  }

  .urbn-locations-tabs {
    justify-content: flex-start;
    gap: 14px;
  }

  .urbn-tab {
    min-width: 188px;
    min-height: 62px;
  }

  .urbn-locations-layout {
    grid-template-columns: 1fr;
  }

  .urbn-locations-shell[data-mobile-map-position="top"]
    .urbn-locations-map-wrap {
    order: -1;
  }

  .urbn-locations-map-wrap,
  .urbn-locations-map,
  .urbn-locations-map__empty {
    min-height: 460px;
  }
}

@media (max-width: 680px) {
  .urbn-locations-shell {
    padding: 10px;
  }

  .urbn-locations-copy h2 {
    font-size: 2.3rem;
  }

  .urbn-locations-tools {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .urbn-locations-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .urbn-tab {
    min-width: 0;
    width: 100%;
    min-height: 56px;
    font-size: 1rem;
  }

  .urbn-location-card {
    border-radius: 22px;
  }

  .urbn-location-card__header {
    min-height: 78px;
    padding: 0 20px;
    grid-template-columns: 1fr 16px;
    gap: 8px 10px;
  }

  .urbn-location-card__title {
    font-size: 1rem;
  }

  .urbn-location-card__address {
    grid-column: 1 / -1;
    text-align: left;
    white-space: normal;
    font-size: 0.88rem;
  }

  .urbn-location-card__body {
    padding: 0 20px;
  }

  .urbn-location-card.is-open .urbn-location-card__body {
    padding-bottom: 22px;
  }

  .urbn-location-card__panel-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .urbn-location-card__media img,
  .urbn-location-card__media--placeholder {
    height: 220px;
  }
}
