/* Carousel Wrapper */
.pricing-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
    /* Space for buttons */
}

/* Updated Grid to Flex Carousel */
.pricing-cards-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding-bottom: 2rem;
    /* Space for scrollbar if visible/shadows */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */

    /* Reset Grid props */
    grid-template-columns: unset;
    justify-items: unset;
}

.pricing-cards-grid::-webkit-scrollbar {
    display: none;
    /* WebKit */
}

/* Card Updates for Carousel */
.pricing-card-enhanced {
    flex: 0 0 calc(33.333% - 1.33rem);
    /* Show 3 at a time minus gap */
    scroll-snap-align: center;
    width: auto;
    max-width: none;
}

/* Navigation Buttons */
.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #4b5563;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.carousel-nav-btn:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.2);
}

.carousel-nav-btn.prev {
    left: 0;
}

.carousel-nav-btn.next {
    right: 0;
}

.carousel-nav-btn i {
    font-size: 1.2rem;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .pricing-card-enhanced {
        flex: 0 0 calc(50% - 1rem);
        /* Show 2 */
    }
}

@media (max-width: 768px) {
    .pricing-carousel-wrapper {
        padding: 0 2.5rem;
    }

    .pricing-card-enhanced {
        flex: 0 0 100%;
        /* Show 1 full width */
    }

    .carousel-nav-btn {
        display: flex;
        /* Show buttons */
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .carousel-nav-btn i {
        font-size: 1rem;
    }

    .pricing-cards-grid {
        padding-left: 0;
        padding-right: 0;
    }
}