#pricing-section .pricing-flex-container {
    width: 100%;
    display: grid;
    gap: 1.5rem;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(var(--pricing-card-w), 1fr));
}


.pricing-card-container {
    background: #f9f9f9;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 10px rgba(0, 0, 0, .1);
    transition: transform .3s;
    text-align: left;
    margin-bottom: 20px;
    max-width: 330px;
    min-width: 280px;
}

.pricing-card-container:hover {
    transform: translateY(-10px);
}

.pricing-content .plan-type {
    font-size: var(--fs-600);
    font-weight: 700;
    margin-bottom: .5rem;
    text-transform: uppercase;
    color: var(--webpage-main-color);
}

.pricing-content .price {
    font-size: var(--fs-700);
    font-weight: 900;
    margin-bottom: 1rem;
}

.pricing-content .plan-description {
    font-size: var(--font-base);
    color: #898989;
    margin-bottom: 2rem;
}

.pricing-content .features {
    list-style: none;
    text-align: left;
    padding: 0;
    margin-bottom: 1rem;
}

.pricing-content .features li {
    font-size: var(--font-base);
    margin-bottom: .5rem;
    color: #555;
}

.pricing-content .features li.disabled {
    color: lightgray;
}

.fa-solid.fa-check {
    margin-right: .5rem;
}

.pricing-content .buy-btn {
    display: block;
    width: max-content;
    margin: 2rem auto 0;
    background: var(--webpage-main-color);
    color: #fff;
    text-decoration: none;
    padding: .75rem 1.5rem;
    border-radius: 8px;
    transition: background .3s;
}

.pricing-content .buy-btn:hover {
    background: #000;
}

.pricing-card-container .pricing-content {
    display: flex;
    flex-direction: column;
    /* headline → price → list → button */
    height: 100%;
    /* stretch to fill card */
}

/* 2️⃣  push the CTA down by letting it take the “remaining” space */
.pricing-card-container .buy-btn {
    margin-top: auto;
    /* ✨ always sits at bottom edge */
}


@media (max-width: 960px) {

    #pricing-section .pricing-flex-container {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 1rem;

        /* 👇 NEW lines */
        padding-left: 20px;
        padding-right: 20px;
        /* visible space before the first card   */
        scroll-padding-left: 20px;
        /* keep snap-start aligned with that gap */

        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        /* momentum on iOS */
    }

    /* hide scrollbar on touch devices only (unchanged) */
    @media (pointer: coarse) {
        #pricing-section .pricing-flex-container {
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        #pricing-section .pricing-flex-container::-webkit-scrollbar {
            display: none;
        }
    }

    #pricing-section .pricing-card-container {
        flex: 0 0 var(--pricing-card-w);
        scroll-snap-align: start;
    }
}