/* ============================================
   DESKTOP-ONLY
   ============================================ */

/*  (1024px and above) */
@media (min-width: 1024px) {
    
    .category-header {
        display: none !important;
    }
    
    /* ========== NAVIGATION ON DESKTOP ========== */
    .mobile-nav {
        display: flex !important; 
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto; /* Override any top positioning */
        height: auto;
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
        border-top: 3px solid var(--accent);
        border-bottom: none;
        box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
        z-index: 2000;
        padding: 0;
        border-radius: 0;
        width: 100%;
        max-width: 100%;
        transform: none !important; 
        animation: none; 
    }
    
    .mobile-nav::before,
    .mobile-nav::after {
        display: none; 
    }
    
    .nav-items {
        max-width: 100%;
        width: 100%;
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0;
        padding: 0;
    }
    
    .nav-item {
        flex: 1;
        max-width: 200px;
        flex-direction: column;
        gap: 8px;
        padding: 16px 20px;
        background: transparent;
        border-radius: 0;
        transition: all 0.3s ease;
        border: none;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-item:last-child {
        border-right: none;
    }
    
    .nav-item::before {
        display: none;
    }
    
    .nav-item:hover {
        background: rgba(255, 178, 0, 0.1);
        transform: none;
    }
    
    .nav-item.active {
        background: rgba(255, 178, 0, 0.15);
        border: none;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: none;
        transform: none;
    }
    
    .nav-item.active:last-child {
        border-right: none;
    }
    
    .nav-icon-container {
        position: relative;
        margin-bottom: 0;
    }
    
    .nav-icon {
        font-size: 1.4rem;
        color: rgba(255, 255, 255, 0.8);
    }
    
    .nav-item.active .nav-icon {
        color: var(--accent);
        transform: none;
    }
    
    .nav-item:hover .nav-icon {
        color: var(--accent);
        transform: none;
    }
    
    .nav-label {
        font-size: 0.9rem;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.8);
        opacity: 1;
        -webkit-text-fill-color: rgba(255, 255, 255, 0.8);
    }
    
    .nav-item.active .nav-label {
        color: var(--accent);
        -webkit-text-fill-color: var(--accent);
        font-weight: 700;
        transform: none;
    }
    
    .nav-item.active::after {
        display: none; 
    }
    
    .cart-count {
        position: absolute;
        top: -8px;
        right: -8px;
    }
    
    
    body {
        padding-top: 0;
        padding-bottom: 0 !important;
    }
    
    /* ==========  OFFER CAROUSEL INFINITE LOOP  ========== */
    .offer-carousel-container {
        overflow: hidden;
        position: relative;
    }
    
    .offer-carousel {
        overflow: visible;
    }
    
    .offer-track {
        display: flex;
        gap: 25px;
        transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 20px 0;
    }
    
    .offer-slide {
        flex: 0 0 calc(33.333% - 17px);
        min-width: calc(33.333% - 17px);
    }
    
    
    .offer-slide .luxury-card {
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(0, 0, 0, 0.05);
    }
   
    .carousel-nav {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        display: flex;
        justify-content: space-between;
        pointer-events: none;
        z-index: 20;
        padding: 0 20px;
    }
    
    .carousel-arrow {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--accent), var(--accent-light));
        border: none;
        color: white;
        font-size: 1.2rem;
        cursor: pointer;
        pointer-events: all;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(255, 178, 0, 0.3);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .carousel-arrow:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(255, 178, 0, 0.5);
    }
    
    .carousel-arrow:active {
        transform: scale(0.95);
    }
    
    .search-container {
        max-width: 500px; 
        margin: 30px auto;
        padding: 0 40px;
    }
    
    .search-box-wrapper {
        max-width: 100%;
    }
    
    .search-box {
        padding: 14px 24px; 
        height: 46px; 
    }
    
    .search-input {
        font-size: 0.95rem; 
        padding: 0 12px;
    }
    
    .search-icon {
        font-size: 1.1rem;
    }
    
    .search-filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .search-microphone {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    
    /* ========== ADD TO CART RESPONSIVENESS ON DESKTOP ========== */
    .add-btn-container {
        min-width: 140px;
    }
    
    .add-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
        gap: 6px;
        transition: all 0.3s ease;
    }
    
    .add-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 178, 0, 0.3);
    }
    
    .add-btn:active {
        transform: translateY(0);
    }
    
    /* Quantity controls styling for desktop */
    .quantity-controls {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 6px 12px;
        background: white;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border: 2px solid var(--accent);
    }
    
    .quantity-btn {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        background: linear-gradient(135deg, var(--accent), var(--accent-light));
        border: none;
        color: white;
        font-size: 1.1rem;
        font-weight: bold;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(255, 178, 0, 0.2);
    }
    
    .quantity-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(255, 178, 0, 0.4);
    }
    
    .quantity-btn:active {
        transform: scale(0.95);
    }
    
    .quantity-value {
        min-width: 32px;
        text-align: center;
        font-weight: 700;
        font-size: 1.05rem;
        color: var(--primary);
    }
    
    /* ========== RATING ========== */
    .product-rating {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 8px;
    }
    
    .rating-stars {
        display: flex;
        gap: 2px;
    }
    
    .rating-stars i {
        font-size: 0.85rem;
        color: #ffa500;
    }
    
    .rating-stars i.far {
        color: #d1d5db;
    }
    
    .rating-value {
        font-size: 0.85rem;
        font-weight: 600;
        color: #1f2937;
        padding: 2px 8px;
        background: linear-gradient(135deg, #f0fdf4, #dcfce7);
        border-radius: 6px;
        display: flex;
        align-items: center;
        gap: 3px;
    }
    
    .rating-count {
        font-size: 0.8rem;
        color: #6b7280;
        font-weight: 500;
    }
    
    /* Adjust product content spacing for rating */
    .product-content {
        padding: 16px;
    }
    
    .product-header {
        margin-bottom: 4px;
    }
}


@media (max-width: 1023px) {
    
    .mobile-nav {
       
    }
    
    .category-header {
       
    }

   
    .product-rating {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 8px;
    }

    .rating-value {
        font-size: 0.85rem;
        font-weight: 600;
        color: #1f2937;
        padding: 2px 8px;
        background: linear-gradient(135deg, #f0fdf4, #dcfce7);
        border-radius: 6px;
        display: flex;
        align-items: center;
        gap: 3px;
    }

    .rating-count {
        font-size: 0.8rem;
        color: #6b7280;
        font-weight: 500;
    }
}
