/**
 * СТРАНИЦА ДОСТАВКИ И ОПЛАТЫ
 */

/* Быстрые ссылки */
.delivery-quick-links {
  padding: 60px 0 40px;
  background: var(--background-secondary, #f8f9fa);
}

/* Вводная секция */
.delivery-intro-section {
  padding: 60px 0 80px;
  background: var(--background-secondary, #f8f9fa);
}

.delivery-intro-section .section-title {
  margin-bottom: 40px;
}

/* Главная информационная карточка */
.intro-card--main {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 30px;
  background: white;
  border-radius: 12px;
  border-left: 4px solid var(--accent-blue, #2196F3);
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.15);
  margin-bottom: 50px;
}

.intro-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-blue, #2196F3) 0%, #1976D2 100%);
  border-radius: 50%;
  color: white;
}

.intro-content {
  flex: 1;
}

.intro-card--main h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--text-primary, #212529);
}

.intro-card--main p {
  font-size: 1rem;
  color: var(--text-secondary, #495057);
  line-height: 1.6;
  margin: 0;
}

.intro-card--main strong {
  color: var(--text-primary, #212529);
  font-weight: 600;
}

/* Сетка информационных пунктов (текстовый формат) */
.delivery-info-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 50px;
}

.info-text-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.info-text-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue, #2196F3);
}

.info-text-content {
  flex: 1;
}

.info-text-content h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--text-primary, #212529);
  font-weight: 600;
}

.info-text-content p {
  font-size: 0.95rem;
  color: var(--text-secondary, #495057);
  line-height: 1.6;
  margin: 0;
}

.info-text-content strong {
  color: var(--text-primary, #212529);
  font-weight: 600;
}

/* Как рассчитать доставку */
.delivery-howto {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: #e3f2fd;
  border-radius: 12px;
  border-left: 4px solid var(--accent-blue, #2196F3);
  margin-bottom: 50px;
}

.howto-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-blue, #2196F3);
  border-radius: 50%;
  color: white;
}

.howto-content h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-primary, #212529);
}

.howto-content p {
  font-size: 0.95rem;
  color: var(--text-secondary, #495057);
  line-height: 1.5;
  margin: 0;
}

/* Баннер бесплатной доставки */
.free-delivery-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px;
  background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
  border-radius: 12px;
  color: white;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.banner-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.banner-content h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: white;
}

.banner-content p {
  font-size: 1rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
}

.banner-content strong {
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
}

/* Самовывоз */
.pickup-info {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 40px 0;
  margin-top: 50px;
}

.pickup-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary, #495057);
}

.pickup-content {
  flex: 1;
}

.pickup-content h4 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text-primary, #212529);
}

.pickup-content > p {
  font-size: 1rem;
  color: var(--text-secondary, #495057);
  line-height: 1.6;
  margin-bottom: 20px;
}

.pickup-addresses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.pickup-address {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--background-secondary, #f8f9fa);
  border-radius: 8px;
}

.pickup-address svg {
  flex-shrink: 0;
  color: var(--accent-blue, #2196F3);
  margin-top: 2px;
}

.pickup-address div {
  flex: 1;
}

.pickup-address strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary, #212529);
  margin-bottom: 4px;
}

.pickup-address span {
  font-size: 0.9rem;
  color: var(--text-secondary, #495057);
}

/* Оплата */
.payment-section {
  padding: 60px 0 80px;
  background: white;
}

.payment-section .section-title {
  margin-bottom: 40px;
}

.payment-info-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 50px;
}

/* Заметка об оплате позже */
.payment-note {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: #fff3cd;
  border-radius: 12px;
  border-left: 4px solid #ffc107;
}

.payment-note-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffc107;
  border-radius: 50%;
  color: white;
}

.payment-note-content h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-primary, #212529);
}

.payment-note-content p {
  font-size: 0.95rem;
  color: var(--text-secondary, #495057);
  line-height: 1.5;
  margin: 0;
}

.payment-note-content strong {
  color: var(--text-primary, #212529);
  font-weight: 600;
}

/* Адаптивность */
@media (max-width: 768px) {
  .intro-card--main {
    flex-direction: column;
    padding: 25px 20px;
  }

  .intro-icon {
    width: 40px;
    height: 40px;
  }

  .intro-card--main h3 {
    font-size: 1.2rem;
  }

  .intro-card--main p {
    font-size: 0.95rem;
  }

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

  .delivery-howto {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .free-delivery-banner {
    flex-direction: column;
    text-align: center;
    padding: 25px 20px;
  }

  .banner-content h3 {
    font-size: 1.2rem;
  }

  .banner-content p {
    font-size: 0.95rem;
  }

  .pickup-info {
    flex-direction: column;
    padding: 20px 0;
  }

  .pickup-addresses {
    grid-template-columns: 1fr;
  }

  .payment-note {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  /* Секции - компактнее */
  .delivery-quick-links {
    padding: 20px 0 10px;
  }
  
  .delivery-intro-section {
    padding: 30px 0;
  }
  
  .payment-section {
    padding: 30px 0;
  }
  
  .delivery-intro-section .section-title,
  .payment-section .section-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  
  /* Главная информационная карточка */
  .intro-card--main {
    padding: 16px;
    margin-bottom: 30px;
  }
  
  .intro-icon {
    width: 36px;
    height: 36px;
  }
  
  .intro-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .intro-card--main h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }
  
  .intro-card--main p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  /* Информационные пункты - как карточки преимуществ */
  .delivery-info-grid,
  .payment-info-grid {
    gap: 10px;
    margin-bottom: 30px;
  }
  
  .info-text-item {
    flex-direction: row;
    align-items: flex-start;
    padding: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 8px;
    gap: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  }
  
  .info-text-icon {
    width: 36px;
    height: 36px;
  }
  
  .info-text-icon svg {
    width: 22px;
    height: 22px;
  }
  
  .info-text-content h4 {
    font-size: 0.9rem;
    margin-bottom: 4px;
    line-height: 1.3;
  }
  
  .info-text-content p {
    font-size: 0.8rem;
    line-height: 1.4;
  }
  
  /* Как рассчитать доставку */
  .delivery-howto {
    padding: 16px;
    gap: 12px;
    margin-bottom: 30px;
  }
  
  .howto-icon {
    width: 40px;
    height: 40px;
  }
  
  .howto-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .howto-content h4 {
    font-size: 0.95rem;
    margin-bottom: 6px;
  }
  
  .howto-content p {
    font-size: 0.85rem;
    line-height: 1.4;
  }
  
  /* Баннер бесплатной доставки */
  .free-delivery-banner {
    padding: 16px;
    gap: 12px;
  }
  
  .banner-icon {
    width: 48px;
    height: 48px;
  }
  
  .banner-icon svg {
    width: 24px;
    height: 24px;
  }
  
  .banner-content h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
  }
  
  .banner-content p {
    font-size: 0.85rem;
    line-height: 1.4;
  }
  
  .banner-content strong {
    font-size: 0.95rem;
  }
  
  /* Самовывоз */
  .pickup-info {
    padding: 30px 0 0;
    margin-top: 30px;
    gap: 12px;
  }
  
  .pickup-icon {
    width: 36px;
    height: 36px;
  }
  
  .pickup-icon svg {
    width: 22px;
    height: 22px;
  }
  
  .pickup-content h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
  
  .pickup-content > p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 16px;
  }
  
  .pickup-addresses {
    gap: 10px;
  }
  
  .pickup-address {
    padding: 12px;
    gap: 10px;
  }
  
  .pickup-address svg {
    width: 18px;
    height: 18px;
  }
  
  .pickup-address strong {
    font-size: 0.9rem;
    margin-bottom: 3px;
  }
  
  .pickup-address span {
    font-size: 0.85rem;
  }
  
  /* Заметка об оплате */
  .payment-note {
    padding: 16px;
    gap: 12px;
    margin-top: 30px;
  }
  
  .payment-note-icon {
    width: 40px;
    height: 40px;
  }
  
  .payment-note-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .payment-note-content h4 {
    font-size: 0.95rem;
    margin-bottom: 6px;
  }
  
  .payment-note-content p {
    font-size: 0.85rem;
    line-height: 1.4;
  }
}
