.delivery-services {
  margin-top: 32px;
  padding: 24px;
  border: 1px solid #f2f2f2;
  border-radius: 20px;
  background: linear-gradient(135deg, #f8fbff 0%, #fff 55%, #f8fffb 100%);
}

.delivery-services__intro {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.delivery-services__title {
  font-size: 20px;
  font-weight: 600;
  color: #1b1b1b;
}

.delivery-services__text {
  max-width: 560px;
  font-size: 14px;
  color: #686868;
}

.delivery-services__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.delivery-service {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 94px;
  padding: 18px;
  color: inherit;
  text-decoration: none;
  border: 1px solid #e9edf3;
  border-radius: 14px;
  background: #fff;
  transition: border-color .2s ease-in-out, box-shadow .2s ease-in-out, transform .2s ease-in-out;
}

a.delivery-service:hover {
  color: inherit;
  border-color: #d9e2ef;
  box-shadow: 0 8px 22px rgba(25, 52, 89, .08);
  transform: translateY(-1px);
}

.delivery-service__logo {
  display: block;
  width: auto;
  max-width: 150px;
  height: 26px;
  object-fit: contain;
  object-position: left center;
}

.delivery-service__logo_yandex {
  max-width: 164px;
}

.delivery-service__logo_cdek {
  height: 29px;
}

.delivery-service__description {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.3;
  color: #686868;
}

.delivery-service__status {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 7px;
  color: #46556a;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .03em;
  border-radius: 999px;
  background: #edf1f7;
}

.delivery-service_soon {
  border-style: dashed;
  background: rgba(255, 255, 255, .72);
}

.delivery-services_compact {
  margin-top: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.delivery-services_compact .delivery-services__list {
  display: flex;
  flex-flow: row wrap;
  gap: 6px;
}

.delivery-services_compact .delivery-service {
  flex: 0 1 auto;
  min-height: 0;
  padding: 7px 9px;
  border-radius: 9px;
}

.delivery-services_compact .delivery-service__logo {
  max-width: 76px;
  height: 15px;
}

.delivery-services_compact .delivery-service__logo_yandex {
  max-width: 86px;
}

.delivery-services_compact .delivery-service__logo_cdek {
  height: 17px;
}

.delivery-services_compact .delivery-service__status {
  top: -7px;
  right: -5px;
  padding: 2px 5px;
  font-size: 8px;
}

@media (max-width: 767px) {
  .delivery-services {
    margin-top: 24px;
    padding: 18px;
  }

  .delivery-services__intro {
    display: block;
  }

  .delivery-services__text {
    margin-top: 6px;
  }

  .delivery-services__list {
    grid-template-columns: 1fr;
  }

  .delivery-service {
    min-height: 82px;
  }

  .delivery-services_compact {
    margin-top: 10px;
    padding: 0;
  }

  .delivery-services_compact .delivery-services__list {
    display: flex;
  }

  .delivery-services_compact .delivery-service {
    min-height: 0;
  }
}
