   /* Color dots and info styles */
.color-dots {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}

.color-dots span {
    transition: transform 0.2s ease;
    cursor: pointer;
}

.color-dots span:hover {
    transform: scale(1.15);
}


.sold-color-tag{
    display:flex;
    align-items:center;
    gap:6px;
    margin:6px 0;
    padding:4px 8px;
    border-radius:20px;
    background:rgba(0,111,205,.15);
    width:fit-content;
}

.sold-color-dot{
    width:12px;
    height:12px;
    border-radius:50%;
    border:1px solid rgba(255,255,255,.3);
}

.sold-color-name{
    color:var(--ps-blue);
    font-size:.7rem;
    font-weight:600;
}

.color-count {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    margin-left: 4px;
}

.color-thumb{

    width:18px;

    height:18px;

    border-radius:50%;

    object-fit:cover;

    border:2px solid rgba(255,255,255,.15);

    background:#222;

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;

    cursor:pointer;

}
.color-thumb:hover{

    transform:scale(1.15);

    border-color:var(--ps-blue);

    box-shadow:
        0 0 12px rgba(0,111,205,.45);

}

#hero-particles{
    position:absolute;
    inset:0;
    z-index:2;
    pointer-events:none;
}

.hero-content{
    z-index:5;
}

.color-thumb-more{

    width:18px;

    height:18px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    border:1px solid rgba(255,255,255,.15);

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:10px;

    font-weight:700;

    color:#fff;

    flex-shrink:0;

}
    
    /* Color Selection Popup Styles */
.color-selection-popup {
    border-radius: 20px !important;
    max-width: 500px !important;
}

.color-selection-title {
    font-family: var(--font-heading) !important;
    font-size: 1.3rem !important;
    color: white !important;
}

.color-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
    max-height: 350px;
    overflow-y: auto;
    padding: 10px 0;
}

.color-option {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    padding: 12px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.color-option:hover {
    border-color: var(--ps-blue);
    background: rgba(0, 111, 205, 0.1);
    transform: translateY(-2px);
}

.color-option.selected {
    border-color: var(--ps-blue);
    background: rgba(0, 111, 205, 0.2);
    box-shadow: 0 0 15px rgba(0, 111, 205, 0.3);
}

.color-option-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.color-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 auto 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.color-name-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.color-price {
    font-size: 0.75rem;
    color: var(--ps-blue);
    font-weight: 600;
}

.color-stock {
    font-size: 0.65rem;
    margin-top: 4px;
}

.color-stock.in {
    color: #10b981;
}

.color-stock.out {
    color: #ef4444;
}



/*out of stock*/


.product-card.out-of-stock {
    opacity: 0.7;
}

/* امنع الضغط على اللينك والصورة */
.product-card.out-of-stock a {
    pointer-events: none;
}

/* امنع زرار Add to cart */
.product-card.out-of-stock .btn-quick-cart {
    pointer-events: none;
    opacity: 0.4;
    cursor: not-allowed;
}

/* خلى favorite شغال عادي */
.product-card.out-of-stock .btn-favorite {
    pointer-events: auto;
    opacity: 1;
    cursor: pointer;
    z-index: 10;
    position: relative;
}
.product-card.out-of-stock .btn-favorite {
    background: rgba(255,255,255,0.15);
    border-color: #ff4757;
}
.product-card.out-of-stock .card-img-top {
    filter: grayscale(100%);
    opacity: 0.6;
}

.product-card.out-of-stock {
    position: relative;
}

.product-card.out-of-stock::after {
    content: "Out of Stock";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    color: white;
    font-weight: bold;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

/* SweetAlert2 custom styles for dark theme */
.swal2-popup {
    background: #16162a !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.swal2-title {
    color: white !important;
}

.swal2-html-container {
    color: rgba(255, 255, 255, 0.8) !important;
}

.swal2-confirm {
    background: linear-gradient(135deg, #006fcd, #0056b3) !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
}

.swal2-cancel {
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    color: white !important;
}

@media (max-width: 576px) {
    .color-selection-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 8px;
        max-height: 280px;
    }
    
    .color-circle {
        width: 32px;
        height: 32px;
    }
    
    .color-name-text {
        font-size: 0.7rem;
    }
}
        /* ============================================
           MODERN GAMING THEME 2026 - Touch & Mobile Optimized
           Colors: PS Blue (#006fcd), Xbox Green (#107C10), Dark BG (#0a0a14)
           ============================================ */

        :root {
            --ps-blue: #006fcd;
            --ps-blue-dark: #0056b3;
            --ps-blue-light: #3a8fd9;
            --xbox-green: #107C10;
            --xbox-green-dark: #0a5c0a;
            --xbox-green-light: #2e9c2e;
            --nintendo-red: #E70012;
            --dark-bg: #0a0a14;
            --dark-surface: #11111f;
            --dark-card: #16162a;
            --dark-elevated: #1c1c32;
            --glass-bg: rgba(255, 255, 255, 0.03);
            --glass-border: rgba(255, 255, 255, 0.08);
            --glass-border-hover: rgba(255, 255, 255, 0.15);
            --gradient-primary: linear-gradient(135deg, var(--ps-blue), var(--ps-blue-dark));
            --gradient-xbox: linear-gradient(135deg, var(--xbox-green), var(--xbox-green-dark));
            --gradient-hero: linear-gradient(135deg, #0a0a14 0%, #1a1a2e 100%);
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
            --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
            --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);
            --shadow-glow: 0 0 30px rgba(0, 111, 205, 0.3);
            --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --font-heading: 'Oxanium', 'Segoe UI', sans-serif;
            --font-body: 'Rajdhani', 'Segoe UI', sans-serif;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
        body {
            background: var(--dark-bg);
            color: #ffffff;
            font-family: var(--font-body);
            overflow-x: hidden;
            line-height: 1.5;
            position: relative;
        }
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                repeating-linear-gradient(45deg, rgba(0,111,205,0.02) 0px, rgba(0,111,205,0.02) 2px, transparent 2px, transparent 8px),
                radial-gradient(circle at 20% 30%, rgba(0,111,205,0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(16,124,16,0.05) 0%, transparent 50%);
            pointer-events: none;
            z-index: -1;
            animation: backgroundShift 20s ease-in-out infinite;
        }
        @keyframes backgroundShift { 0%,100% { opacity: 0.5; transform: scale(1); } 50% { opacity: 0.8; transform: scale(1.02); } }
        ::-webkit-scrollbar { width: 6px; height: 6px; }
        ::-webkit-scrollbar-track { background: var(--dark-surface); }
        ::-webkit-scrollbar-thumb { background: var(--ps-blue); border-radius: 10px; }
        ::selection { background: var(--ps-blue); color: white; }

        /* Hero Section - No Overlay, Just Images */
        /* =========================================================
   HERO SECTION
========================================================= */

.hero-section{
    position:relative;
    height:92vh;
    overflow:hidden;
    background:#050816;
}

.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item{
    height:100%;
}

.hero-carousel .carousel-item{
    position:relative;
    overflow:hidden;
}

/* IMAGE */
.hero-carousel img{
    width:100%;
    height:100%;
    object-fit:cover;

    transform:scale(1.08);

    animation:heroZoom 10s linear infinite alternate;

    filter:
        brightness(.45)
        saturate(1.15)
        contrast(1.05);
}

/* DARK OVERLAY */
.hero-carousel .carousel-item::before{
    content:'';
    position:absolute;
    inset:0;

    background:
        linear-gradient(
            to right,
            rgba(0,0,0,.88) 5%,
            rgba(0,0,0,.55) 35%,
            rgba(0,0,0,.15) 100%
        );

    z-index:1;
}

/* BLUE GLOW */
.hero-carousel .carousel-item::after{
    content:'';

    position:absolute;

    width:900px;
    height:900px;

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            rgba(0,111,205,.35),
            transparent 70%
        );

    top:-20%;
    right:-10%;

    z-index:1;

    animation:heroGlow 8s ease infinite;
}

/* CONTENT */
.hero-content{
    position:absolute;

    z-index:5;

    top:50%;
    left:8%;

    transform:translateY(-50%);

    max-width:650px;

    animation:heroContentIn 1s ease;
}

/* KICKER */
.hero-kicker{
    display:inline-flex;
    align-items:center;
    gap:10px;

    padding:10px 18px;

    border-radius:50px;

    background:rgba(255,255,255,.08);

    border:1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(12px);

    font-size:.8rem;
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;

    color:#fff;

    margin-bottom:24px;
}

/* TITLE */
.hero-title{
    font-size:clamp(3rem,8vw,7rem);

    font-weight:900;

    line-height:.9;

    margin-bottom:22px;

    color:white;

    text-shadow:
        0 10px 40px rgba(0,0,0,.5);

    letter-spacing:-3px;
}

/* DESCRIPTION */
.hero-description{
    font-size:1.15rem;

    line-height:1.8;

    color:rgba(255,255,255,.75);

    max-width:560px;

    margin-bottom:35px;
}

/* ACTIONS */
.hero-actions{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
}

/* BUTTON */
.hero-btn{
    position:relative;

    display:inline-flex;
    align-items:center;
    gap:10px;

    padding:15px 28px;

    border-radius:16px;

    font-weight:700;

    text-decoration:none;

    overflow:hidden;

    transition:.35s ease;
}

/* PRIMARY */
.hero-btn-primary{
    background:linear-gradient(
        135deg,
        #006fcd,
        #00a6ff
    );

    color:white;

    box-shadow:
        0 10px 35px rgba(0,111,205,.45);
}

/* SECONDARY */
.hero-btn-secondary{
    background:rgba(255,255,255,.08);

    border:1px solid rgba(255,255,255,.1);

    backdrop-filter:blur(10px);

    color:white;
}

.hero-btn:hover{
    transform:translateY(-4px) scale(1.03);
}

/* INDICATORS */
.carousel-indicators{
    bottom:35px;
    gap:10px;
}

.carousel-indicators button{
    width:12px !important;
    height:12px !important;

    border-radius:50%;

    background:rgba(255,255,255,.4) !important;

    border:none !important;

    transition:.3s ease;
}

.carousel-indicators .active{
    width:40px !important;

    border-radius:20px;

    background:#00a6ff !important;
}

/* ARROWS */
.carousel-control-prev,
.carousel-control-next{
    width:8%;
    opacity:1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon{
    width:58px;
    height:58px;

    border-radius:50%;

    background-color:rgba(255,255,255,.08);

    backdrop-filter:blur(10px);

    background-size:45%;

    transition:.3s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon{
    transform:scale(1.1);
    background-color:rgba(255,255,255,.18);
}

/* ANIMATIONS */
@keyframes heroZoom{
    from{
        transform:scale(1.05);
    }

    to{
        transform:scale(1.15);
    }
}

@keyframes heroGlow{
    0%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(40px);
    }

    100%{
        transform:translateY(0px);
    }
}

@keyframes heroContentIn{
    from{
        opacity:0;
        transform:
            translateY(-50%)
            translateX(-50px);
    }

    to{
        opacity:1;
        transform:
            translateY(-50%)
            translateX(0);
    }
}

/* MOBILE */
@media(max-width:768px){

    .hero-section{
        height:82vh;
    }

    .hero-content{
        left:20px;
        right:20px;
    }

    .hero-title{
        font-size:3rem;
    }

    .hero-description{
        font-size:.95rem;
    }

    .hero-actions{
        flex-direction:column;
    }

    .hero-btn{
        justify-content:center;
    }
}
        /* Platform Cards */
        .platform-cards { margin: 2rem 0; position: relative; }
        .platform-card {
            background: var(--dark-card);
            border: 1px solid var(--glass-border);
            border-radius: 20px;
            padding: 1.5rem 1rem;
            text-decoration: none;
            color: white;
            transition: var(--transition-base);
            display: block;
            height: 100%;
            position: relative;
            overflow: hidden;
        }
        .platform-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--ps-blue), var(--xbox-green)); transform: scaleX(0); transition: var(--transition-base); }
        .platform-card:hover::before { transform: scaleX(1); }
        .platform-card:active { transform: scale(0.98); }
        .platform-card:hover { transform: translateY(-5px); border-color: var(--glass-border-hover); box-shadow: var(--shadow-md); }
        .platform-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; transition: var(--transition-base); }
        .platform-card:active .platform-icon { transform: scale(0.95); }
        .platform-card.ps5 .platform-icon { color: var(--ps-blue); }
        .platform-card.ps4 .platform-icon { color: var(--ps-blue-light); }
        .platform-card.xbox .platform-icon { color: var(--xbox-green); }
        .platform-card.nintendo .platform-icon { color: var(--nintendo-red); }
        .platform-card.accessories .platform-icon { color: #ff6b6b; }
        .platform-card h3 { font-size: 1.3rem; font-weight: 700; font-family: var(--font-heading); margin-bottom: 0.5rem; }
        .platform-card p { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin-bottom: 0.75rem; }
        .platform-stats { display: flex; justify-content: space-between; align-items: center; margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--glass-border); }
        .platform-count { background: rgba(255,255,255,0.1); padding: 0.3rem 0.6rem; border-radius: 20px; font-size: 0.7rem; font-weight: 600; color: var(--ps-blue); }
        .platform-arrow { opacity: 0; transform: translateX(-5px); transition: var(--transition-base); }
        .platform-card:hover .platform-arrow { opacity: 1; transform: translateX(0); }

        /* Section Headers */
        .section-header {
            margin: 2rem 0 1.2rem;
            position: relative;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }
        .section-header h1 {
            font-size: 1.6rem;
            font-weight: 800;
            font-family: var(--font-heading);
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            background: linear-gradient(135deg, #ffffff, var(--ps-blue-light));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .section-header h1 i {
            background: linear-gradient(135deg, var(--ps-blue), var(--xbox-green));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            font-size: 1.4rem;
        }
        .section-header .view-all { color: var(--ps-blue); text-decoration: none; font-weight: 600; transition: var(--transition-base); display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
        .section-header .view-all:active { transform: scale(0.95); }

        /* Carousel Styles - Touch Optimized */
        .products-carousel, .categories-carousel {
            position: relative;
            margin-bottom: 1.5rem;
            padding: 0 35px;
        }
        .carousel-container {
            overflow-x: auto;
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
            scroll-snap-type: x mandatory;
            scrollbar-width: thin;
            padding: 0.5rem 0 1rem 0;
            cursor: grab;
        }
        .carousel-container:active {
            cursor: grabbing;
        }
        .carousel-container::-webkit-scrollbar {
            height: 4px;
        }
        .carousel-track {
            display: flex;
            gap: 1rem;
            scroll-snap-type: x mandatory;
        }
        .carousel-item-card {
            flex: 0 0 260px;
            width: 260px;
            scroll-snap-align: start;
        }
        .category-carousel-item {
            flex: 0 0 280px;
            width: 280px;
            scroll-snap-align: start;
        }
        .carousel-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            background: rgba(0,0,0,0.7);
            backdrop-filter: blur(8px);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10;
            transition: var(--transition-base);
            border: 1px solid var(--glass-border);
            color: white;
            font-size: 1rem;
        }
        .carousel-nav:active { transform: translateY(-50%) scale(0.95); }
        .carousel-nav.prev { left: 0; }
        .carousel-nav.next { right: 0; }
        
        /* Touch hint for mobile */
        .carousel-container::after {
            content: '← swipe →';
            display: none;
            text-align: center;
            font-size: 0.7rem;
            color: rgba(255,255,255,0.4);
            margin-top: 0.5rem;
        }
        @media (max-width: 768px) {
            .carousel-container::after { display: block; }
            .carousel-nav { display: none; }
        }
        @media (min-width: 769px) {
            .carousel-container::after { display: none; }
        }

        /* Category Banner Styles */
        .category-banner {
            position: relative;
            height: 160px;
            border-radius: 15px;
            overflow: hidden;
            cursor: pointer;
            background-size: cover;
            background-position: center;
            transition: 0.3s;
        }
        .category-banner::before {
            content: "";
            position: absolute;
            inset: 0;
            background: inherit;
            filter: blur(1px);
            transform: scale(1.1);
        }
        .category-banner .overlay {
            position: absolute;
            inset: 0;
            background: rgba(0,0,0,0.5);
        }
        .category-banner .content {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2;
        }
        .category-banner h3 { color: #fff; font-size: 1.2rem; font-weight: bold; text-align: center; padding: 0 0.5rem; }
        .category-banner:active { transform: scale(0.98); }
        
        .category-banners {
            position: relative;
            height: 160px;
            border-radius: 15px;
            overflow: hidden;
            cursor: pointer;
            background-size: cover;
            background-position: center;
            transition: 0.3s;
        }
        .category-banners::before {
            content: "";
            position: absolute;
            inset: 0;
            background: inherit;
            filter: blur(1px);
            transform: scale(1.1);
        }
        .category-banners .overlay {
            position: absolute;
            inset: 0;
            background: rgba(0,0,0,0.5);
        }
        .category-banners .content {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2;
        }
        .category-banners h3 { color: #fff; font-size: 1.2rem; font-weight: bold; text-align: center; }

        /* Product Cards - Touch Optimized */
        .product-card {
            background: var(--dark-card);
            border: 1px solid var(--glass-border);
            border-radius: 16px;
            overflow: hidden;
            transition: var(--transition-base);
            position: relative;
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        .product-card:active { transform: scale(0.98); }
        .image-container {
            height: 200px;
            position: relative;
            background: var(--dark-surface);
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .card-img-top {
            width: 100%;
            height: 100%;
            object-fit: contain;
            padding: 0.8rem;
            transition: transform 0.3s ease;
        }
        .product-badge {
            position: absolute;
            top: 8px;
            left: 8px;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-weight: 700;
            font-size: 0.65rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            z-index: 2;
            backdrop-filter: blur(8px);
        }
        .product-badge.new { background: linear-gradient(135deg, var(--ps-blue), var(--ps-blue-dark)); color: white; }
        .product-badge.used { background: linear-gradient(135deg, #6c757d, #495057); color: white; }
        .product-badge.outofstock { background: linear-gradient(135deg, #dc3545, #a71d2a); color: white; left: auto; right: 8px; }
        .product-badge.sale { background: linear-gradient(135deg, #ff4757, #ff3838); color: white; left: auto; right: 8px; animation: pulse 2s infinite; }
        @keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.8; } }
        .card-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
        .card-title { font-size: 0.9rem; font-weight: 700; font-family: var(--font-heading); margin-bottom: 0.4rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.4em; }
        .card-title a { color: white; text-decoration: none; }
        .studio-name { color: rgba(255,255,255,0.6); font-size: 0.7rem; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.3rem; }
        .studio-name i { font-size: 0.6rem; color: var(--ps-blue); }
        .price-tag { font-size: 1.1rem; font-weight: 800; color: var(--ps-blue); margin-top: auto; }
        .price-tag del { color: rgba(255,255,255,0.4); font-size: 0.8rem; font-weight: 400; margin-right: 0.4rem; }
        .product-rating { margin: 0.5rem 0; display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
        .stars { display: flex; gap: 2px; }
        .stars i { font-size: 0.7rem; color: #ffc107; }
        .rating-count { font-size: 0.65rem; color: rgba(255,255,255,0.5); }
        .product-actions { display: flex; gap: 0.5rem; margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--glass-border); }
        .btn-quick-cart {
            flex: 1;
            background: rgba(255,255,255,0.05);
            border: 1px solid var(--glass-border);
            border-radius: 10px;
            padding: 0.5rem;
            color: white;
            font-size: 0.75rem;
            font-weight: 600;
            transition: var(--transition-base);
            cursor: pointer;
            text-align: center;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.4rem;
        }
        .btn-quick-cart:active { transform: scale(0.96); background: var(--gradient-primary); }
        .btn-favorite {
            background: rgba(255,255,255,0.05);
            border: 1px solid var(--glass-border);
            border-radius: 10px;
            padding: 0.5rem 0.7rem;
            color: rgba(255,255,255,0.7);
            transition: var(--transition-base);
            cursor: pointer;
        }
        .btn-favorite:active { transform: scale(0.96); }
        .btn-favorite.active { color: #ff4757; }

        /* Stats Section */
        .stats-section {
            background: linear-gradient(135deg, var(--dark-surface), var(--dark-card));
            border-radius: 24px;
            padding: 2rem 1rem;
            margin: 2rem 0;
            border: 1px solid var(--glass-border);
        }
        .stat-item { text-align: center; }
        .stat-number { font-size: 2rem; font-weight: 800; font-family: var(--font-heading); color: var(--ps-blue); margin-bottom: 0.3rem; }
        .stat-label { color: rgba(255,255,255,0.7); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }

        /* Promo Banner */
        .promo-banner {
            background: linear-gradient(135deg, #006fcd, #004c8c);
            border-radius: 24px;
            padding: 2rem 1.5rem;
            margin: 2rem 0;
            position: relative;
            overflow: hidden;
        }
        .promo-banner::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 200px;
            height: 200px;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            border-radius: 50%;
        }
        .promo-banner h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; }
        .promo-banner p { font-size: 0.85rem; }
        .promo-banner .btn-shop-now {
            background: white;
            color: var(--ps-blue);
            padding: 0.6rem 1.5rem;
            border-radius: 40px;
            font-weight: 700;
            text-decoration: none;
            display: inline-block;
            margin-top: 0.75rem;
            transition: var(--transition-base);
            font-size: 0.9rem;
        }
        .promo-banner .btn-shop-now:active { transform: scale(0.96); }

        /* Loading & Skeleton */
        .loading-spinner { text-align: center; padding: 2rem; }
        .spinner { width: 40px; height: 40px; border: 3px solid var(--glass-border); border-top-color: var(--ps-blue); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto 1rem; }
        @keyframes spin { to { transform: rotate(360deg); } }
        .no-results-message { text-align: center; padding: 2rem; color: rgba(255,255,255,0.7); }
        .no-results-message i { font-size: 2.5rem; margin-bottom: 0.8rem; display: block; color: rgba(255,255,255,0.3); }

        /* Products Grid */
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        /* Responsive */
        .col-lg-2-4 { flex: 0 0 auto; width: 20%; }
        @media (max-width: 1200px) {
            .section-header h1 { font-size: 1.4rem; }
            .col-lg-2-4 { width: 25%; }
            .carousel-item-card { flex: 0 0 240px; width: 240px; }
            .category-carousel-item { flex: 0 0 260px; width: 260px; }
        }
        @media (max-width: 992px) {
            .platform-card { padding: 1rem; }
            .platform-icon { font-size: 2rem; }
            .platform-card h3 { font-size: 1.1rem; }
            .stat-number { font-size: 1.6rem; }
            .promo-banner h3 { font-size: 1.3rem; }
            .col-lg-2-4 { width: 33.333%; }
            .carousel-item-card { flex: 0 0 220px; width: 220px; }
            .category-carousel-item { flex: 0 0 240px; width: 240px; }
            .products-carousel, .categories-carousel { padding: 0 30px; }
        }
        @media (max-width: 768px) {
            .hero-carousel img { max-height: 300px; }
            .section-header { margin: 1.5rem 0 1rem; flex-direction: column; align-items: flex-start; gap: 0.3rem; }
            .section-header h1 { font-size: 1.2rem; }
            .image-container { height: 170px; }
            .stats-section { padding: 1.5rem 0.5rem; }
            .promo-banner { padding: 1.5rem; text-align: center; }
            .col-lg-2-4 { width: 50%; }
            .carousel-item-card { flex: 0 0 200px; width: 200px; }
            .category-carousel-item { flex: 0 0 220px; width: 220px; }
            .products-carousel, .categories-carousel { padding: 0 25px; }
            .carousel-nav { width: 32px; height: 32px; font-size: 0.9rem; }
            .category-banner, .category-banners { height: 130px; }
            .category-banner h3, .category-banners h3 { font-size: 1rem; }
            .products-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.8rem; }
        }
        @media (max-width: 576px) {
            .hero-carousel img { max-height: 250px; }
            .hero-carousel .carousel-control-prev, 
            .hero-carousel .carousel-control-next { width: 32px; height: 32px; }
            .platform-card { margin-bottom: 0.8rem; }
            .platform-icon { font-size: 1.8rem; }
            .platform-card h3 { font-size: 1rem; }
            .card-title { font-size: 0.85rem; }
            .btn-quick-cart { width: 100%; }
            .product-actions { flex-direction: column; gap: 0.4rem; }
            .col-lg-2-4 { width: 100%; }
            .carousel-item-card { flex: 0 0 180px; width: 180px; }
            .category-carousel-item { flex: 0 0 200px; width: 200px; }
            .products-carousel, .categories-carousel { padding: 0 20px; }
            .products-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
        }
        
        @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
        .fade-in-up { animation: fadeInUp 0.5s ease-out; }
        
        /* Swipe instruction */
        .swipe-hint {
            text-align: center;
            font-size: 0.7rem;
            color: rgba(255,255,255,0.4);
            margin-top: -0.5rem;
            margin-bottom: 0.5rem;
            display: none;
        }
        @media (max-width: 768px) {
            .swipe-hint { display: block; }
        }
        
        #installBtn {
          display: none;
          position: fixed;
          bottom: 20px;
          right: 20px;
          padding: 12px 18px;
          background: linear-gradient(135deg, #6366f1, #8b5cf6);
          color: white;
          border: none;
          border-radius: 50px;
          font-size: 14px;
          font-weight: bold;
          cursor: pointer;
          z-index: 9999;
          box-shadow: 0 8px 20px rgba(0,0,0,0.2);
        }
        
        #installBtn:hover {
          transform: scale(1.05);
        }
        
        
        .color-options-grid{
            display:grid;
            grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
            gap:15px;
        }
        
        .color-option-card{
            background:rgba(255,255,255,0.05);
            border:1px solid rgba(255,255,255,0.08);
            border-radius:18px;
            overflow:hidden;
            transition:.25s;
        }
        
        .color-option-card:hover{
            transform:translateY(-4px);
            border-color:#006fcd;
        }
        
        .color-option-image{
            aspect-ratio:1/1;
            overflow:hidden;
            background:#0f172a;
        }
        
        .color-option-image img{
            width:100%;
            height:100%;
            object-fit:cover;
        }
        
        .color-option-info{
            padding:12px;
        }
        
        .color-option-info h6{
            color:#fff;
            font-size:14px;
            margin-bottom:10px;
            text-align:center;
        }
        
        .color-thumb{
            width:16px;
            height:16px;
            border-radius:50%;
            object-fit:cover;
            border:1px solid rgba(255,255,255,.3);
        }
        
        .color-thumb-more{
            width:16px;
            height:16px;
            border-radius:50%;
            background:rgba(255,255,255,.1);
            border:1px solid rgba(255,255,255,.2);
            display:flex;
            align-items:center;
            justify-content:center;
            font-size:.5rem;
            color:white;
        }
        
        
        
        .modern-range-price {

            display: flex;
            flex-direction: column;
        
            gap: 2px;
        
        }
        
        .price-from {
        
            font-size: .7rem;
        
            text-transform: uppercase;
        
            letter-spacing: 1px;
        
            color: rgba(255,255,255,.45);
        
        }
        
        .range-price {
        
            font-size: 1.15rem;
        
            font-weight: 800;
        
            background:
                linear-gradient(
                    135deg,
                    #00d2ff,
                    #3a7bd5
                );
        
            -webkit-background-clip: text;
        
            -webkit-text-fill-color: transparent;
        
        }