/* Страница «Доставка, оплата и возврат» */

.page-delivery {
  background: #ffffff;
  color: #16233B;
}

.dlv-wrap {
  max-width: var(--container, 1440px);
  margin: 0 auto;
  padding: 0 40px;
}

.dlv-hero {
  position: relative;
  min-height: 520px;
  padding: calc(var(--site-chrome-h, 72px) + 36px) 40px 48px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #011532;
}

.dlv-hero__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 36%;
  z-index: 0;
}

.dlv-hero__media picture,
.dlv-hero__media img {
  width: 100%;
  height: 100%;
}

.dlv-hero__media img {
  object-fit: cover;
  object-position: 18% 52%;
}

.dlv-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg,
      #011532 0%,
      #011532 38%,
      rgba(1, 21, 50, 0.82) 48%,
      rgba(1, 21, 50, 0.28) 62%,
      rgba(1, 21, 50, 0) 76%);
  pointer-events: none;
}

.dlv-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container, 1440px);
  margin: 0 auto;
  width: 100%;
}

.dlv-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.dlv-crumb a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.dlv-crumb a:hover {
  color: #ffffff;
}

.dlv-crumb svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

.dlv-hero h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  background: none;
  margin: 0 0 10px;
  max-width: 720px;
}

.dlv-hero__lead {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 14px;
}

.dlv-hero__text {
  max-width: 640px;
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.dlv-hero__feats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 860px;
}

.dlv-hero__feat {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 10px 12px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  background: rgba(8, 28, 62, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  backdrop-filter: blur(6px);
}

.dlv-hero__feat b {
  font-weight: 600;
}

.dlv-hero__feat span {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0;
}

.dlv-hero__feat svg {
  width: 22px;
  height: 22px;
  stroke: #ffffff;
  fill: none;
}

.dlv-section {
  padding: 72px 0;
}

.dlv-section--alt {
  background: #F3F7FD;
}

.dlv-section h2,
.dlv-panel h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #16233B;
  margin: 0 0 14px;
}

.dlv-intro {
  max-width: 820px;
  margin: 0 0 32px;
  font-size: 15px;
  line-height: 1.7;
  color: #5B6B84;
}

.dlv-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.dlv-card {
  background: #ffffff;
  border: 1px solid #E4EDFB;
  border-radius: 16px;
  padding: 22px 20px 24px;
  box-shadow: 0 8px 20px rgba(15, 61, 140, 0.05);
  min-width: 0;
}

.dlv-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EAF1FC;
  border-radius: 50%;
  color: #1D5FD1;
  margin-bottom: 16px;
}

.dlv-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
}

.dlv-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  color: #16233B;
}

.dlv-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #5B6B84;
}

.dlv-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.dlv-step {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.dlv-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 22px;
  left: calc(50% + 28px);
  right: calc(-50% + 28px);
  height: 2px;
  background: #D6E4F7;
}

.dlv-step__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1D5FD1;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.dlv-step p {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: #16233B;
}

.dlv-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  align-items: stretch;
}

.dlv-panel {
  background: #ffffff;
  border: 1px solid #E4EDFB;
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 8px 20px rgba(15, 61, 140, 0.05);
  min-width: 0;
}

.dlv-panel--soft {
  background: #F3F7FD;
  border: none;
  box-shadow: none;
}

.dlv-panel__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.dlv-panel__head h2 {
  margin: 0;
}

.dlv-panel__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #EAF1FC;
  color: #1D5FD1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dlv-panel__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
}

.dlv-section--tight {
  padding-top: 0;
}

.dlv-uz {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr);
  gap: 40px 48px;
  align-items: center;
  background: #ffffff;
  border: 1px solid #D6E4F7;
  border-radius: 18px;
  padding: 36px 40px;
  box-shadow: 0 8px 20px rgba(15, 61, 140, 0.04);
}

.dlv-uz__copy h2 {
  margin: 0 0 18px;
  font-size: clamp(26px, 3vw, 32px);
}

.dlv-uz__copy h2::after {
  content: '';
  display: block;
  width: 88px;
  height: 3px;
  margin-top: 10px;
  background: #1D5FD1;
  border-radius: 2px;
}

.dlv-uz__copy p {
  margin: 0 0 14px;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.7;
  color: #4A5D78;
}

.dlv-uz__copy p:last-child {
  margin-bottom: 0;
}

.dlv-uz__map {
  min-width: 0;
}

.dlv-uz__map img {
  display: block;
  width: 100%;
  height: auto;
}

.dlv-pay {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

.dlv-pay__item {
  background: #F3F7FD;
  border-radius: 14px;
  padding: 16px;
}

.dlv-pay__item span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  color: #1D5FD1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.dlv-pay__item svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
}

.dlv-pay__item h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 800;
}

.dlv-pay__item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #5B6B84;
}

.dlv-order {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dlv-order__row {
  display: grid;
  grid-template-columns: 42px 36px 1fr;
  gap: 12px;
  align-items: center;
  background: #F3F7FD;
  border-radius: 14px;
  padding: 14px 16px;
}

.dlv-order__num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #1D5FD1;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

.dlv-order__ico {
  color: #1D5FD1;
  display: flex;
}

.dlv-order__ico svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
}

.dlv-order__row p {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #16233B;
}

.dlv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1.5px solid #1D5FD1;
  background: #ffffff;
  color: #1D5FD1;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}

.dlv-btn:hover {
  background: #1D5FD1;
  color: #ffffff;
}

.dlv-btn svg {
  width: 16px;
  height: 16px;
}

.dlv-faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.dlv-faq details {
  background: #ffffff;
  border: 1px solid #E4EDFB;
  border-radius: 12px;
  padding: 0 16px;
}

.dlv-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  font-size: 14px;
  font-weight: 700;
  color: #16233B;
}

.dlv-faq summary::-webkit-details-marker {
  display: none;
}

.dlv-faq summary::after {
  content: '+';
  flex-shrink: 0;
  width: 22px;
  text-align: center;
  color: #1D5FD1;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}

.dlv-faq details[open] summary::after {
  content: '−';
}

.dlv-faq p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
  color: #5B6B84;
}

.dlv-cta {
  position: relative;
  overflow: hidden;
  background: #0B1830;
  padding: 72px 40px;
}

.dlv-cta__media {
  position: absolute;
  inset: 0;
}

.dlv-cta__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.dlv-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 38, 0.78);
}

.dlv-cta__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container, 1440px);
  margin: 0 auto;
  text-align: center;
}

.dlv-cta h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px;
}

.dlv-cta p {
  max-width: 560px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 1.6;
}

.dlv-cta__btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.dlv-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.dlv-cta__btn svg {
  width: 18px;
  height: 18px;
}

.dlv-cta__btn--blue {
  background: #1D5FD1;
  color: #ffffff;
}

.dlv-cta__btn--blue:hover {
  background: #0F3D8C;
}

.dlv-cta__btn--green {
  background: #16a34a;
  color: #ffffff;
}

.dlv-cta__btn--green:hover {
  background: #15803d;
}

@media (max-width: 1100px) {
  .dlv-hero__media {
    left: 28%;
  }

  .dlv-hero::after {
    background:
      linear-gradient(90deg,
        #011532 0%,
        #011532 32%,
        rgba(1, 21, 50, 0.78) 44%,
        rgba(1, 21, 50, 0.2) 62%,
        rgba(1, 21, 50, 0) 78%);
  }

  .dlv-cards,
  .dlv-hero__feats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dlv-split,
  .dlv-uz {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .dlv-hero,
  .dlv-cta,
  .dlv-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .dlv-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding-top: calc(var(--site-chrome-h, 72px) + 20px);
    padding-bottom: 0;
  }

  .dlv-hero__inner {
    padding-bottom: 24px;
  }

  .dlv-hero__media {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: calc(100% + 32px);
    margin-left: -16px;
    height: 220px;
    order: 2;
  }

  .dlv-hero__media::after {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 48px;
    background: linear-gradient(180deg, #011532 0%, rgba(1, 21, 50, 0) 100%);
    pointer-events: none;
  }

  .dlv-hero__media img {
    object-position: 30% 55%;
  }

  .dlv-hero::after {
    display: none;
  }

  .dlv-section {
    padding: 48px 0;
  }

  .dlv-steps {
    flex-direction: column;
    gap: 16px;
  }

  .dlv-step {
    flex-direction: row;
    text-align: left;
    gap: 12px;
  }

  .dlv-step:not(:last-child)::after {
    display: none;
  }

  .dlv-step__num {
    margin-bottom: 0;
  }

  .dlv-cards,
  .dlv-hero__feats,
  .dlv-pay {
    grid-template-columns: 1fr;
  }

  .dlv-panel,
  .dlv-uz {
    padding: 20px 16px;
  }

  .dlv-cta {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}
