.store-location {
  position: relative;
  display: grid;
  width: var(--shell);
  min-height: 410px;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
  margin: 34px auto 52px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--secondary) 18%, var(--line));
  border-radius: 13px 36px 13px 36px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.store-location-copy {
  position: relative;
  z-index: 2;
  display: flex;
  padding: 38px;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 15% 5%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 26%),
    linear-gradient(150deg, color-mix(in srgb, var(--surface) 94%, var(--surface-soft)), var(--surface));
}

.store-location-copy::after {
  position: absolute;
  right: -42px;
  bottom: -55px;
  width: 150px;
  height: 150px;
  border: 25px solid color-mix(in srgb, var(--primary) 9%, transparent);
  border-radius: 50%;
  content: "";
}

.store-location-copy h2 {
  max-width: 440px;
  margin: 5px 0 10px;
  color: var(--ink);
  font-family: "Fredoka Pelangi", "Trebuchet MS", sans-serif;
  font-size: clamp(31px, 3.3vw, 47px);
  font-weight: 630;
  line-height: 1.04;
  letter-spacing: -.03em;
}

.store-location-copy > p {
  max-width: 430px;
  margin: 0 0 25px;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.65;
}

.store-location-address {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.store-location-address > span {
  display: grid;
  width: 47px;
  height: 47px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 16px 6px 16px 6px;
  color: #fff;
  background: var(--secondary);
  box-shadow: 0 10px 20px color-mix(in srgb, var(--secondary) 24%, transparent);
}

.store-location-address svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.store-location-address div { display: flex; min-width: 0; flex-direction: column; }
.store-location-address small { color: var(--secondary); font-size: 9px; font-weight: 950; letter-spacing: .13em; }
.store-location-address strong { color: var(--ink); font-size: 13px; line-height: 1.45; }

.store-map-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: fit-content;
  min-height: 46px;
  align-items: center;
  gap: 16px;
  padding: 0 8px 0 17px;
  border-radius: 15px 5px 15px 5px;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 12px 22px color-mix(in srgb, var(--primary) 23%, transparent);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.store-map-link b {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 11px 4px 11px 4px;
  background: rgba(255, 255, 255, .17);
  font-size: 15px;
}

.store-map-link:hover,
.store-map-link:focus-visible { transform: translateY(-2px); filter: saturate(1.12); }

.store-map-frame {
  position: relative;
  min-width: 0;
  min-height: 410px;
  overflow: hidden;
  background: var(--surface-soft);
}

.store-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 410px;
  border: 0;
  filter: saturate(.92) contrast(1.02);
}

.store-map-badge {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  display: inline-flex;
  min-height: 35px;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 13px 5px 13px 5px;
  color: #233044;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 22px rgba(25, 42, 61, .18);
  font-size: 11px;
  font-weight: 950;
  backdrop-filter: blur(10px);
}

.store-map-badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-4);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-4) 18%, transparent);
}

@media (max-width: 780px) {
  .store-location {
    width: calc(100% - 20px);
    min-height: 0;
    grid-template-columns: 1fr;
    margin: 27px auto 35px;
    border-radius: 10px 27px 10px 27px;
  }

  .store-location-copy { padding: 27px 20px 25px; }
  .store-location-copy h2 { font-size: 32px; }
  .store-location-copy > p { margin-bottom: 20px; font-size: 13px; }
  .store-map-frame,
  .store-map-frame iframe { min-height: 310px; }
}

@media (max-height: 520px) and (orientation: landscape) {
  .store-location { grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); }
  .store-location-copy { padding: 24px; }
  .store-location-copy h2 { font-size: 30px; }
  .store-map-frame,
  .store-map-frame iframe { min-height: 330px; }
}

@media (prefers-reduced-motion: reduce) {
  .store-map-link { transition: none; }
}
