﻿/* =========================================
    ShipTickets Payment Section
    All classes use st-pay- prefix
    ========================================= */

.st-pay-section {
    padding: 75px 0;
    background: linear-gradient(180deg, #f2f8ff 0%, #ffffff 100%);
    overflow: hidden;
}

.st-pay-heading {
    max-width: 760px;
    margin: 0 auto 38px;
    text-align: center;
}

.st-pay-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    margin-bottom: 17px;
    border: 1px solid #d9eaff;
    border-radius: 50px;
    background: #ffffff;
    color: #0878cf;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.st-pay-heading h2 {
    margin: 0 0 14px;
    color: #102a43;
    font-size: clamp(27px, 3.5vw, 39px);
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -0.8px;
}

.st-pay-heading p {
    max-width: 620px;
    margin: 0 auto;
    color: #62758a;
    font-size: 15px;
    line-height: 1.8;
}

.st-pay-card {
    max-width: 1040px;
    margin: 0 auto;
    padding: 34px;
    border: 1px solid #e5edf5;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 55px rgba(24, 69, 110, 0.09);
}

.st-pay-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 28px;
    text-align: left;
}

.st-pay-lock {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    background: #eaf5ff;
    color: #0878cf;
    font-size: 21px;
}

.st-pay-top h3 {
    margin: 0 0 5px;
    color: #18334d;
    font-size: 19px;
    font-weight: 750;
}

.st-pay-top p {
    margin: 0;
    color: #8190a2;
    font-size: 13px;
}

.st-pay-methods {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 13px;
}

.st-pay-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 0;
    min-height: 130px;
    padding: 17px 8px;
    border: 1px solid #e8eef5;
    border-radius: 17px;
    background: #ffffff;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

    .st-pay-method:hover {
        transform: translateY(-5px);
        border-color: #a8d5ff;
        background: #f8fbff;
        box-shadow: 0 10px 24px rgba(16, 94, 160, 0.09);
    }

    .st-pay-method img {
        display: block;
        width: 57px;
        height: 57px;
        max-width: 100%;
        object-fit: contain;
        transition: transform 0.25s ease;
    }

    .st-pay-method:hover img {
        transform: scale(1.07);
    }

    .st-pay-method span {
        color: #344a60;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.4;
        text-align: center;
        overflow-wrap: anywhere;
    }

.st-pay-security {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 28px;
    padding: 19px 22px;
    border: 1px solid #dcefe6;
    border-radius: 16px;
    background: #f5fcf8;
}

.st-pay-security-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 43px;
    width: 43px;
    height: 43px;
    border-radius: 13px;
    background: #dcf7e9;
    color: #138653;
    font-size: 21px;
}

.st-pay-security-text {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
}

    .st-pay-security-text strong {
        color: #176543;
        font-size: 14px;
        font-weight: 800;
    }

    .st-pay-security-text span {
        color: #668477;
        font-size: 12px;
        line-height: 1.5;
    }

.st-pay-security-check {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #188451;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

    .st-pay-security-check i {
        font-size: 16px;
    }

.st-pay-footer {
    margin-top: 24px;
    color: #6c8093;
    font-size: 13px;
    line-height: 1.7;
    text-align: center;
}

    .st-pay-footer i {
        margin-right: 6px;
        color: #159763;
    }

/* Tablet */
@media (max-width: 991px) {
    .st-pay-section {
        padding: 60px 0;
    }

    .st-pay-card {
        padding: 26px;
    }

    .st-pay-methods {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .st-pay-method {
        min-height: 125px;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .st-pay-section {
        padding: 45px 0;
    }

    .st-pay-heading {
        margin-bottom: 27px;
        padding: 0 8px;
    }

        .st-pay-heading h2 {
            font-size: 27px;
            letter-spacing: -0.5px;
        }

        .st-pay-heading p {
            font-size: 13px;
            line-height: 1.7;
        }

    .st-pay-eyebrow {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .st-pay-card {
        padding: 19px 13px;
        border-radius: 19px;
    }

    .st-pay-top {
        justify-content: flex-start;
        gap: 11px;
        margin-bottom: 22px;
    }

    .st-pay-lock {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }

    .st-pay-top h3 {
        font-size: 16px;
    }

    .st-pay-top p {
        font-size: 12px;
        line-height: 1.5;
    }

    .st-pay-methods {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 9px;
    }

    .st-pay-method {
        min-height: 110px;
        gap: 9px;
        padding: 13px 5px;
        border-radius: 13px;
    }

        .st-pay-method img {
            width: 46px;
            height: 46px;
        }

        .st-pay-method span {
            font-size: 11px;
        }

    .st-pay-security {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 20px;
        padding: 15px 12px;
    }

    .st-pay-security-icon {
        flex-basis: 37px;
        width: 37px;
        height: 37px;
        font-size: 18px;
    }

    .st-pay-security-text {
        min-width: 0;
        padding-top: 2px;
    }

        .st-pay-security-text strong {
            font-size: 12px;
        }

        .st-pay-security-text span {
            font-size: 11px;
        }

    .st-pay-security-check {
        width: 100%;
        padding-left: 47px;
        font-size: 11px;
    }

    .st-pay-footer {
        padding: 0 10px;
        font-size: 12px;
    }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    .st-pay-method,
    .st-pay-method img {
        transition: none;
    }

        .st-pay-method:hover,
        .st-pay-method:hover img {
            transform: none;
        }
}
