/* Category Pills */
.category-pill {
    color: #fff;
    border-radius: 50px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.category-pill::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 168, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.category-pill:hover::before {
    width: 300px;
    height: 300px;
}

.category-pill:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 168, 255, 0.6);
}

.category-pill.active {
    background: linear-gradient(135deg, #00a8ff, #00d2ff);
    color: #0a0e27;
    border-color: #00a8ff;
    box-shadow: 0 8px 25px rgba(0, 168, 255, 0.4);
}

.category-pill.active i {
    color: #0a0e27;
}

/* Swiper Carousel */
.products-swiper {
    padding: 40px 0;
    overflow: visible !important;
}

.products-swiper .swiper-slide {
    width: 350px;
    height: auto;
}

.swiper-slide {
    transition: all 0.3s ease;
}

/* Product Card */
.product-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 168, 255, 0.1), rgba(0, 210, 255, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 168, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 168, 255, 0.2);
}

.product-card>* {
    position: relative;
    z-index: 1;
}

/* Featured Badge */
.featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ffd700 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow:
        0 4px 20px rgba(255, 107, 53, 0.6),
        0 0 30px rgba(255, 215, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    z-index: 10;
    animation: featured-glow 2s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.featured-badge i {
    font-size: 0.85rem;
    color: #fff;
    filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.8));
    animation: star-pulse 1.5s ease-in-out infinite;
}

@keyframes featured-glow {

    0%,
    100% {
        transform: scale(1);
        box-shadow:
            0 4px 20px rgba(255, 107, 53, 0.6),
            0 0 30px rgba(255, 215, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow:
            0 6px 30px rgba(255, 107, 53, 0.8),
            0 0 40px rgba(255, 215, 0, 0.6),
            inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }
}

@keyframes star-pulse {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.2);
    }
}

/* Product Image */
.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

/* Product Title */
.product-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.product-card:hover .product-title {
    color: #00a8ff;
}

/* Product Price */
.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00a8ff, #00d2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-duration {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Product Description */
.product-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Product Features */
.product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.product-features li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-features li i {
    color: #00a8ff;
    font-size: 0.75rem;
}

/* Product Button */
.product-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #00a8ff, #00d2ff);
    border: none;
    border-radius: 12px;
    color: #0a0e27;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 168, 255, 0.4);
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: #00a8ff !important;
    background: rgba(0, 168, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0, 168, 255, 0.2);
    transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
}

/* Swiper Pagination */
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #00a8ff;
    width: 30px;
    border-radius: 5px;
}

/* Product Modal */
#productModal .modal-content {
    background: linear-gradient(135deg, #1a1f2e 0%, #2d3748 100%);
    border: 1px solid rgba(0, 168, 255, 0.3);
    border-radius: 20px;
}

#productModal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#productModal .modal-title {
    color: #fff;
    font-weight: 700;
}

#productModal .btn-close {
    filter: invert(1);
}

/* Modal Gallery */
.modal-gallery-main {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.modal-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.5rem;
}

.gallery-thumb {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.gallery-thumb:hover {
    border-color: #00a8ff;
    transform: scale(1.05);
}

.gallery-thumb.active {
    border-color: #00a8ff;
    box-shadow: 0 0 15px rgba(0, 168, 255, 0.5);
}

/* Modal Product Info */
.modal-product-price {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00a8ff, #00d2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.modal-product-duration {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.modal-product-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.modal-features-list {
    list-style: none;
    padding: 0;
}

.modal-features-list li {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-features-list li i {
    color: #00a8ff;
}

/* Features Dropdown */
.features-dropdown {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.features-dropdown:hover {
    border-color: rgba(0, 168, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.features-dropdown-toggle {
    width: 100%;
    padding: 15px 20px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.features-dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
}

.features-dropdown-toggle .features-count {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-left: 5px;
    font-weight: 400;
}

.features-dropdown-toggle .toggle-icon {
    font-size: 14px;
    transition: transform 0.3s ease;
    color: rgba(255, 255, 255, 0.6);
}

.features-dropdown-toggle.active .toggle-icon {
    transform: rotate(180deg);
    color: #00a8ff;
}

.features-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.features-dropdown-content.show {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px 20px 20px;
}

/* Custom Scrollbar */
.features-dropdown-content::-webkit-scrollbar {
    width: 6px;
}

.features-dropdown-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin: 5px 0;
}

.features-dropdown-content::-webkit-scrollbar-thumb {
    background: rgba(0, 168, 255, 0.3);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.features-dropdown-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 168, 255, 0.5);
}

/* Features List Inside Dropdown */
.features-dropdown-content .modal-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-dropdown-content .modal-features-list li {
    padding: 12px 0;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.features-dropdown-content .modal-features-list li:last-child {
    border-bottom: none;
}

.features-dropdown-content .modal-features-list li:hover {
    padding-left: 5px;
    color: #fff;
}

.features-dropdown-content .modal-features-list li i {
    color: #00d4ff;
    margin-right: 12px;
    font-size: 14px;
    flex-shrink: 0;
}

/* Loading State */
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(0, 168, 255, 0.1);
    border-top-color: #00a8ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1rem;
}

.empty-state h4 {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .products-swiper .swiper-slide {
        width: 280px;
    }

    .product-card {
        padding: 1rem;
    }

    .price-amount {
        font-size: 1.5rem;
    }

    .modal-gallery-main {
        height: 250px;
    }
}

/* Bundle Product Styles */
.bundle-info {
    background: rgba(0, 168, 255, 0.05);
    border: 1px solid rgba(0, 168, 255, 0.2);
    border-radius: 12px;
    padding: 15px;
}

.bundle-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bundle-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.2s ease;
}

.bundle-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.bundle-item i {
    font-size: 16px;
}

.bundle-item span {
    font-size: 14px;
}

/* Alert Styles */
.alert-warning {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: #ffc107;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
}