/* Vesa Payment Methods — pairs with templates/payment-methods.php */

.page-payment {
    color: #1a1a1a;
}

.page-payment .container-lg {
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* ── Hero ────────────────────────────────────────────── */
.payment-hero {
    padding: 64px 0 40px;
    text-align: center;
    border-bottom: 1px solid #ececec;
}

.payment-hero__title {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: -.01em;
    line-height: 1.1;
}

.payment-hero__lead {
    margin: 0 auto;
    max-width: 720px;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

/* ── Top grid of 4 payment cards ─────────────────────── */
.payment-options {
    padding: 56px 0 24px;
}

.payment-options__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 1100px;
}

.payment-card {
    margin: 0;
    list-style: none;
}

.payment-card__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 32px 16px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
    color: #1a1a1a;
    text-decoration: none;
    text-align: center;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
    min-height: 160px;
}

.payment-card__link:hover {
    border-color: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
}

.payment-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: #fafafa;
    border-radius: 50%;
    color: #1a1a1a;
    transition: background .18s ease, color .18s ease;
}

.payment-card__icon svg {
    width: 26px;
    height: 26px;
}

.payment-card__link:hover .payment-card__icon {
    background: #1a1a1a;
    color: #fff;
}

.payment-card__label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #1a1a1a;
    line-height: 1.4;
}

/* ── Detail sections ─────────────────────────────────── */
.payment-details {
    padding: 32px 0 80px;
}

.payment-details .container-lg {
    max-width: 920px;
}

.payment-detail {
    padding: 48px 0;
    border-bottom: 1px solid #ececec;
    scroll-margin-top: 100px; /* anchor link offset for sticky header */
}

.payment-detail:last-child {
    border-bottom: 0;
}

.payment-detail__head {
    display: flex;
    align-items: baseline;
    gap: 18px;
    margin-bottom: 20px;
}

.payment-detail__num {
    font-size: 13px;
    font-weight: 500;
    color: #aaa;
    letter-spacing: .12em;
    font-variant-numeric: tabular-nums;
}

.payment-detail__title {
    margin: 0;
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.01em;
}

.payment-detail__body {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

.payment-detail__body p {
    margin: 0 0 16px;
}

.payment-detail__body p:last-child {
    margin-bottom: 0;
}

.payment-detail__intro {
    font-size: 16px;
    color: #1a1a1a;
    font-weight: 500;
}

.payment-detail__list {
    list-style: none;
    margin: 16px 0;
    padding: 0;
}

.payment-detail__list li {
    position: relative;
    padding: 0 0 14px 22px;
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: #555;
}

.payment-detail__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: #1a1a1a;
    border-radius: 50%;
}

.payment-detail__list strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* ── Card brand logos ────────────────────────────────── */
.payment-brands {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 20px 0 24px;
}

.payment-brands__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 6px;
    min-height: 56px;
    min-width: 84px;
}

.payment-brands__badge img {
    display: block;
    max-height: 32px;
    width: auto;
}

/* ── Callout (Important to know) ─────────────────────── */
.payment-callout {
    display: flex !important;
    align-items: flex-start;
    gap: 12px;
    margin: 20px 0 0 !important;
    padding: 16px 20px;
    background: #fafafa;
    border-left: 3px solid #214af1;
    border-radius: 0 6px 6px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #1a1a1a;
}

.payment-callout__icon {
    display: inline-flex;
    flex-shrink: 0;
    color: #214af1;
    margin-top: 1px;
}

.payment-callout strong {
    font-weight: 600;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 990px) {
    .payment-options__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .payment-detail {
        padding: 36px 0;
    }
}

@media (max-width: 600px) {
    .payment-hero {
        padding: 48px 0 28px;
    }

    .payment-options {
        padding: 40px 0 16px;
    }

    .payment-options__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .payment-card__link {
        padding: 24px 12px;
        min-height: 140px;
    }

    .payment-card__icon {
        width: 48px;
        height: 48px;
    }

    .payment-card__icon svg {
        width: 22px;
        height: 22px;
    }

    .payment-detail__head {
        gap: 12px;
        flex-direction: column;
        align-items: flex-start;
    }
}
