
/* =====================================
   NC9 — ДОСТАВКА И ОПЛАТА
   ===================================== */

.nc9-delivery {
  --nd-yellow: #ffd400;
  --nd-black: #171717;

  width: 100%;
  max-width: 1460px;
  margin: 0 auto;
  color: #171717;
  font-family: inherit;
}

.nc9-delivery,
.nc9-delivery * {
  box-sizing: border-box;
}

/* ВСТУПЛЕНИЕ */

.nc9-delivery__intro {
  padding: 26px 28px;
  margin-bottom: 20px;
  background: var(--nd-black);
  border-radius: 5px;
}

.nc9-delivery__eyebrow {
  margin-bottom: 9px;
  color: var(--nd-yellow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.nc9-delivery__heading {
  color: #fff;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
}

.nc9-delivery__intro p {
  margin: 8px 0 0;
  color: #ccc;
  font-size: 14px;
  line-height: 1.5;
}

/* РАЗДЕЛЫ */

.nc9-delivery__section {
  margin: 0 0 17px;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 5px;
}

.nc9-delivery__section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 8px 17px;
  background: var(--nd-black);
}

.nc9-delivery__number {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  color: #171717;
  background: var(--nd-yellow);
  border-radius: 3px;
  font-size: 11px;
  font-weight: 800;
}

.nc9-delivery__section-title {
  color: #fff;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
}

/* КАРТОЧКИ ОПЛАТЫ */

.nc9-delivery__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 20px;
}

.nc9-delivery__card {
  min-width: 0;
  padding: 19px;
  background: #f7f7f7;
  border: 1px solid #ededed;
  border-radius: 4px;
}

.nc9-delivery__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  color: #171717;
  background: var(--nd-yellow);
  border-radius: 4px;
  font-size: 18px;
  font-weight: 800;
}

.nc9-delivery__card-title {
  margin-bottom: 6px;
  color: #171717;
  font-size: 16px;
  font-weight: 700;
}

.nc9-delivery__card p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.55;
}

/* ДОСТАВКА */

.nc9-delivery__delivery-list {
  padding: 7px 22px;
}

.nc9-delivery__delivery-item {
  display: grid;
  grid-template-columns: minmax(190px, 0.7fr) 1.3fr;
  gap: 20px;
  align-items: start;
  padding: 15px 0;
  border-bottom: 1px solid #ededed;
}

.nc9-delivery__delivery-item:last-child {
  border-bottom: none;
}

.nc9-delivery__delivery-place {
  color: #171717;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
}

.nc9-delivery__delivery-info {
  color: #666;
  font-size: 14px;
  line-height: 1.55;
}

/* БЕСПЛАТНАЯ ДОСТАВКА */

.nc9-delivery__free {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 20px 20px;
  padding: 14px 16px;
  background: #fff5c7;
  border-radius: 4px;
}

.nc9-delivery__free-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  color: #171717;
  background: var(--nd-yellow);
  border-radius: 50%;
  font-size: 15px;
  font-weight: 800;
}

.nc9-delivery__free strong {
  display: block;
  margin-bottom: 3px;
  color: #171717;
  font-size: 14px;
  font-weight: 700;
}

.nc9-delivery__free p {
  margin: 0;
  color: #555;
  font-size: 13px;
  line-height: 1.5;
}

/* БАНКОВСКИЕ РЕКВИЗИТЫ */

.nc9-delivery__bank {
  margin: 18px 20px 20px;
  padding: 20px;
  background: #f7f7f7;
  border: 1px solid #ededed;
  border-radius: 4px;
}

.nc9-delivery__bank-name {
  margin-bottom: 16px;
  color: #171717;
  font-size: 16px;
  font-weight: 700;
}

.nc9-delivery__bank-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
}

.nc9-delivery__bank-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: 12px 0;
  border-top: 1px solid #e5e5e5;
}

.nc9-delivery__bank-item--wide {
  grid-column: 1 / -1;
}

.nc9-delivery__bank-item span {
  color: #888;
  font-size: 12px;
}

.nc9-delivery__bank-item strong {
  color: #171717;
  font-size: 14px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* МОБИЛЬНАЯ ВЕРСИЯ */

@media (max-width: 700px) {

  .nc9-delivery__intro {
    padding: 21px;
  }

  .nc9-delivery__heading {
    font-size: 27px;
  }

  .nc9-delivery__section-title {
    font-size: 16px;
  }

  .nc9-delivery__cards {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 10px;
  }

  .nc9-delivery__card {
    padding: 16px;
  }

  .nc9-delivery__delivery-list {
    padding: 5px 16px;
  }

  .nc9-delivery__delivery-item {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 13px 0;
  }

  .nc9-delivery__free {
    margin: 0 14px 14px;
  }

  .nc9-delivery__bank {
    margin: 14px;
    padding: 15px;
  }

  .nc9-delivery__bank-grid {
    grid-template-columns: 1fr;
  }

  .nc9-delivery__bank-item--wide {
    grid-column: auto;
  }
}
