.delivery-map {
  background: var(--default);
  padding-top: 56px;
  padding-bottom: 56px;
  width: 100%;
}

.delivery-map__content {
  display: grid;
  grid-template-columns: minmax(320px, 430px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.delivery-map__heading {
  margin-bottom: 32px;
}

.delivery-map__title {
  margin: 0 0 20px;
  font-family: "EuropeExtBold", sans-serif;
  font-size: 30px;
  line-height: 1.2;
  text-transform: uppercase;
}

.delivery-map__description {
  color: var(--descriptions-color);
  font-weight: 500;
  line-height: 1.6;
}

.delivery-map__description p {
  margin: 0;
}

.delivery-map__description p + p {
  margin-top: 12px;
}

.delivery-map__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.delivery-map__details {
  margin-top: 16px;
  padding: 16px 18px;
  border-left: 4px solid var(--base-color);
  background: #fff;
  color: var(--descriptions-color);
  line-height: 1.6;
  box-shadow: 0 10px 24px rgba(17, 33, 53, 0.08);
}

.delivery-map__details[hidden] {
  display: none;
}

.delivery-map__details p {
  margin: 0;
}

.delivery-map__details p + p {
  margin-top: 10px;
}

.delivery-map__tab {
  border: 0;
  padding: 11px 16px;
  background: var(--company-color);
  color: #fff;
  font: inherit;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.delivery-map__tab:hover,
.delivery-map__tab:focus-visible {
  background: #244f82;
  outline: none;
}

.delivery-map__tab.active {
  background: var(--base-color);
}

.delivery-map__tab:active {
  transform: translateY(1px);
}

.delivery-map__map {
  min-width: 0;
}

.delivery-map__canvas {
  height: 420px;
  min-height: 420px;
  width: 100%;
  background: #dfe7f1;
  overflow: hidden;
}

.delivery-map__marker {
  display: block;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translate(-50%, -100%);
  transition: transform 0.2s ease;
}

.delivery-map__marker::after {
  content: none;
}

.delivery-map__marker:hover,
.delivery-map__marker:focus-visible {
  outline: none;
  transform: translate(-50%, -100%) scale(1.04);
}

.delivery-map__marker.active {
  transform: translate(-50%, -100%) scale(1.08);
}

.delivery-map__marker-image {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 10px 20px rgba(17, 33, 53, 0.2));
}

@media (max-width: 1024px) {
  .delivery-map__content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .delivery-map__title,
  .delivery-map__description {
    text-align: center;
  }

  .delivery-map__tabs {
    justify-content: center;
  }

  .delivery-map__details {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .delivery-map {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .delivery-map__heading {
    margin-bottom: 24px;
  }

  .delivery-map__title {
    font-size: 19px;
    text-align: left;
  }

  .delivery-map__description p{
    font-size: 14px;
    text-align: left;
  }
  .delivery-map__tab {
    width: 100%;
    text-align: center;
  }

  .delivery-map__canvas {
    height: 320px;
    min-height: 320px;
  }
}
