/* Infinix Modal Styles */
.infinix-modal .modal-dialog {
    max-width: 1000px;
    margin: 20px auto;
}

.infinix-modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    position: relative;
}

.infinix-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.1) 0%, rgba(255, 0, 255, 0.1) 100%);
    pointer-events: none;
    z-index: 1;
}

.infinix-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.infinix-close-btn:hover {
    background: rgba(255, 59, 92, 0.8);
    transform: rotate(90deg) scale(1.1);
    border-color: #ff3b5c;
}

.infinix-modal-body {
    padding: 0;
    position: relative;
    z-index: 2;
}

/* Image Section */
.infinix-image-section {
    background: linear-gradient(45deg, #000428 0%, #004e92 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 500px;
}

.infinix-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.infinix-brand-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
}

.infinix-logo {
    height: 30px;
    filter: brightness(0) invert(1);
}

.infinix-product-image {
    max-width: 80%;
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 255, 255, 0.3));
    transition: all 0.5s ease;
    z-index: 5;
    position: relative;
}

.infinix-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.infinix-glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: pulse 3s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

/* Details Section */
.infinix-details-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
}

.infinix-content {
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.infinix-category-badge {
    margin-bottom: 15px;
}

.category-link {
    background: rgba(255, 255, 255, 0.2);
    color: #00f5ff;
    padding: 5px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(0, 245, 255, 0.3);
    transition: all 0.3s ease;
}

.category-link:hover {
    background: #00f5ff;
    color: #1a1a2e;
    transform: translateY(-2px);
}

.styled-close-btn {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.styled-close-btn:hover {
    color: #ff3b30; /* red on hover */
    transform: scale(1.2);
}


.infinix-product-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

/* Rating */
.infinix-rating-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.infinix-stars {
    display: flex;
    gap: 2px;
}

.infinix-stars .star {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.infinix-rating-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* Price Section */
.infinix-price-section {
    margin-bottom: 30px;
}

.infinix-current-price {
    font-size: 2.5rem;
    font-weight: 900;
    color: #00f5ff;
    text-shadow: 0 0 20px rgba(0, 245, 255, 0.5);
    margin-bottom: 5px;
}

.infinix-price-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.infinix-old-price {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
}

.infinix-discount-badge {
    background: linear-gradient(45deg, #ff3b5c, #ff6b9d);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 59, 92, 0.4);
}

/* Features */
.infinix-features {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.infinix-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.infinix-feature-item i {
    color: #00f5ff;
}

/* Action Buttons */
.infinix-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.infinix-btn {
    position: relative;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.infinix-btn-primary {
    background: linear-gradient(45deg, #00f5ff, #0080ff);
    color: #1a1a2e;
    box-shadow: 0 8px 25px rgba(0, 245, 255, 0.4);
}

.infinix-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 245, 255, 0.6);
    color: #1a1a2e;
}

.infinix-btn-whatsapp {
    background: linear-gradient(45deg, #25d366, #128c7e);
    color: white;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.infinix-btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
    color: white;
}

.infinix-btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
}

.infinix-btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    transition: all 0.6s ease;
    pointer-events: none;
}

.infinix-btn-primary:hover .infinix-btn-glow {
    width: 300px;
    height: 300px;
}

/* Quick Actions */
.infinix-quick-actions {
    display: flex;
    gap: 10px;
}

.infinix-quick-btn {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.infinix-quick-btn:hover {
    background: rgba(0, 245, 255, 0.3);
    border-color: #00f5ff;
    color: #00f5ff;
    transform: translateY(-3px) scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .infinix-modal .modal-dialog {
        margin: 10px;
        max-width: none;
    }
    
    .infinix-image-section {
        min-height: 300px;
    }
    
    .infinix-content {
        padding: 20px;
    }
    
    .infinix-product-title {
        font-size: 1.5rem;
    }
    
    .infinix-current-price {
        font-size: 2rem;
    }
    
    .infinix-features {
        justify-content: center;
    }
    
    .infinix-actions {
        justify-content: center;
    }
    
    .infinix-btn {
        flex: 1;
        justify-content: center;
        min-width: 140px;
    }
}

/* Animation for modal appearance */
.infinix-modal.fade:not(.show) .modal-dialog {
    transform: scale(0.8) rotateY(15deg);
    opacity: 0;
}

.infinix-modal.fade.show .modal-dialog {
    transform: scale(1) rotateY(0deg);
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

  body {
            font-family: 'Arial', sans-serif;
            background: #000;
            color: #fff;
        }

       

        .mt-60 {
            margin-top: 60px;
        }

        h2 {
            font-size: 2rem;
            font-weight: bold;
            text-align: left;
            margin-bottom: 30px;
            color: #fff;
        }

        .highlight {
            color: #25c72d !important;
        }

        .innix-wrapper {
            position: relative;
            padding: 0 60px;
        }

        .innix-row {
            display: flex;
            overflow-x: auto;
            overflow-y: hidden;
            scroll-behavior: smooth;
            gap: 20px;
            padding: 20px 0;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        .innix-row::-webkit-scrollbar {
            display: none;
        }

        .ingio {
            flex: 0 0 180px;
            text-align: center;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 15px;
            padding: 20px 15px;
            transition: all 0.3s ease;
            cursor: pointer;
            border: 2px solid transparent;
        }

        .ingio:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateY(-5px);
            border-color: #25c72d;
        }

        .ingio img {
            width: 80px;
            height: 80px;
            object-fit: contain;
            border-radius: 10px;
            margin-bottom: 15px;
            transition: transform 0.3s ease;
        }

        .ingio:hover img {
            transform: scale(1.1);
        }

        .ingio span {
            display: block;
            color: #fff;
            font-weight: 600;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .ingio .arrow {
            margin-top: 8px;
            color: #25c72d;
            font-size: 1.2rem;
            transition: transform 0.3s ease;
        }

        .ingio:hover .arrow {
            transform: translateX(5px);
        }

        .cat-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: linear-gradient(135deg, #25c72d, #1ea025);
            color: #fff;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer;
            z-index: 10;
            font-size: 1.2rem;
            font-weight: bold;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(37, 199, 45, 0.3);
        }

        .cat-btn:hover {
            background: linear-gradient(135deg, #1ea025, #25c72d);
            transform: translateY(-50%) scale(1.1);
            box-shadow: 0 6px 20px rgba(37, 199, 45, 0.4);
        }

        .prev-btn {
            left: 10px;
        }

        .next-btn {
            right: 10px;
        }

        /* Mobile responsiveness */
        @media (max-width: 768px) {
            .container-fluid {
                padding: 0 15px;
            }

            h2 {
                font-size: 1.5rem;
                margin-bottom: 20px;
            }

            .innix-wrapper {
                padding: 0 50px;
            }

            .ingio {
                flex: 0 0 140px;
                padding: 15px 10px;
            }

            .ingio img {
                width: 60px;
                height: 60px;
            }

            .ingio span {
                font-size: 0.8rem;
            }

            .innix-row {
                gap: 15px;
            }

            .cat-btn {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }

            .prev-btn {
                left: 5px;
            }

            .next-btn {
                right: 5px;
            }
        }

        @media (max-width: 480px) {
            .innix-wrapper {
                padding: 0 45px;
            }

            .ingio {
                flex: 0 0 120px;
                padding: 12px 8px;
            }

            .ingio img {
                width: 50px;
                height: 50px;
            }

            .ingio span {
                font-size: 0.75rem;
            }

            .innix-row {
                gap: 12px;
            }
        }