/* Price Carousel Styles */
.price-carousel-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    max-height: 50%;
}

.price-carousel {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 250px;
    perspective: 1000px;
}

/* Price Card Base Styles */
.price-card {
    position: absolute;
    width: 280px;
    padding: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    pointer-events: none;
    transform-style: preserve-3d;
    overflow: hidden;
}

.price-amount {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin: 10px 0 5px 0;
    text-align: center;
}

.price-note {
    font-size: 12px;
    color: #333;
    text-align: center;
    text-decoration: italic;
}

.price-terms {
    font-size: 11px;
    color: #666;
    text-decoration: underline;
    text-align: center;
    cursor: pointer;
}

.price-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 30px 20px 30px;
}

.price-details {
    background-color: #04254D;
    color: #fff;
    padding: 10px 20px;
    margin: 0;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin: 8px 0;
    color: #fff;
}

.detail-icon {
    font-size: 16px;
    flex-shrink: 0;
}

/* Carousel Positioning States */
.price-card.center {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1) translateZ(0);
    z-index: 3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.price-card.left-1 {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50px) scale(0.85) translateZ(-100px);
    z-index: 2;
}

.price-card.right-1 {
    opacity: 0.5;
    pointer-events: none;
    transform: translateX(80px) scale(0.85) translateZ(-100px);
    z-index: 2;
}

.price-card.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(0) scale(0.7) translateZ(-200px);
    z-index: 1;
}

/* Navigation Buttons */
.price-carousel-prev,
.price-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-carousel-prev:hover,
.price-carousel-next:hover {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
    transform: translateY(-50%) scale(1.1);
}

.price-carousel-prev:active,
.price-carousel-next:active {
    transform: translateY(-50%) scale(0.95);
}

.price-carousel-prev {
    left: 0;
}

.price-carousel-next {
    right: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .price-carousel-container {
        padding: 30px 50px;
    }

    .price-card {
        width: 240px;
        padding: 25px;
    }

    .price-card.left-1 {
        transform: translateX(-280px) scale(0.8) translateZ(-100px);
    }

    .price-card.right-1 {
        transform: translateX(280px) scale(0.8) translateZ(-100px);
    }

    .price-title {
        font-size: 16px;
    }

    .price-amount {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .price-carousel-container {
        padding: 20px 40px;
    }

    .price-card {
        width: 200px;
        padding: 20px;
    }

    .price-card.left-1,
    .price-card.right-1 {
        opacity: 0;
        transform: translateX(0) scale(0.7) translateZ(-200px);
    }

    .price-carousel-prev,
    .price-carousel-next {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}
