/* static/css/delivery.css */

/* --- Общие настройки --- */
.delivery-page-wrapper {
    padding: 60px 0 100px;
    background-color: var(--color-bg); /* Светлый фон всего сайта */
}

/* --- Заголовок --- */
.delivery-header {
    text-align: center;
    margin-bottom: 70px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-title {
    font-family: var(--font-serif); /* Playfair Display */
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.page-subtitle {
    font-family: var(--font-sans); /* Manrope */
    font-size: 1.1rem;
    color: #888;
    font-weight: 300;
}

/* --- Сетка доставки (Карточки) --- */
.delivery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.info-card {
    text-align: center;
    padding: 20px;
    /* Убрали фон и рамки, оставили только воздух */
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px); /* Легкое всплытие при наведении */
}

/* --- Иконки (Heroicons) --- */
.icon-wrapper {
    margin-bottom: 25px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.hero-icon {
    width: 64px;
    height: 64px;
    color: var(--color-gold); /* Золотой цвет иконки */
    stroke-width: 1px; /* Тонкие линии для премиальности */
}

/* --- Тексты карточек --- */
.card-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.card-text {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.6;
}

.highlight-gold {
    color: var(--color-gold);
    font-weight: 700;
    margin-top: 5px;
    display: block;
}

.sub-text {
    font-size: 0.9rem;
    color: #999;
}

/* --- Разделитель --- */
.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(21, 64, 51, 0.1), transparent);
    width: 80%;
    margin: 0 auto 80px;
}

/* --- Секция оплаты --- */
.payment-section {
    max-width: 900px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 50px;
}

.payment-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.payment-item {
    display: flex;
    align-items: flex-start;
    padding: 25px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft); /* Легкая тень для отделения от фона */
    border: 1px solid rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.payment-item:hover {
    box-shadow: var(--shadow-hover);
    border-color: rgba(198, 166, 116, 0.3); /* Золотая рамка при наведении */
}

.check-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    color: var(--color-primary);
    margin-right: 20px;
    margin-top: 2px;
}

.payment-content h4 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.payment-content p {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: #555;
    margin: 0;
}

/* --- Адаптив --- */
@media (max-width: 991px) {
    .delivery-grid {
        grid-template-columns: 1fr; /* Одна колонка на мобильном */
        gap: 50px;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .info-card {
        padding: 0;
    }
}