/* Products Page Styles */

.page-header {
    padding: 150px 0 80px;
    background: linear-gradient(rgba(26, 26, 26, 0.75), rgba(26, 26, 26, 0.85)), 
                url('../cart-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    margin-top: 80px;
}

.page-header h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.3rem;
    color: var(--text-gray);
}

.products-filter-section {
    padding: 40px 0;
    background: var(--secondary-color);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.filter-bar {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.filter-group label {
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
}

.filter-group select,
.filter-group input[type="text"] {
    padding: 12px 20px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--dark-bg);
    color: var(--text-light);
    font-size: 1rem;
    min-width: 200px;
    transition: var(--transition);
}

.filter-group select {
    padding-right: 35px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b0b0b0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

.filter-group select:focus,
.filter-group input[type="text"]:focus {
    outline: none;
    border-color: var(--accent);
}

.filter-group input[type="text"] {
    padding-right: 45px;
}

.filter-group i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    pointer-events: none;
}

.products-section {
    padding: 80px 0;
    min-height: 60vh;
}

.no-results {
    text-align: center;
    padding: 100px 20px;
    color: var(--text-gray);
}

.no-results i {
    font-size: 5rem;
    color: var(--accent);
    margin-bottom: 2rem;
    opacity: 0.5;
}

.no-results h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 100px;
    right: 30px;
    background: var(--accent);
    color: var(--dark-bg);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 30px var(--accent-rgba-shadow);
    z-index: 10000;
    animation: slideInRight 0.3s ease;
    font-weight: 600;
}

.notification i {
    font-size: 1.3rem;
}

.notification.fade-out {
    animation: slideOutRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .page-header {
        margin-top: 60px;
        padding: 60px 0 40px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .products-filter-section {
        position: static;
        padding: 20px 0;
    }
    
    .products-section {
        padding: 40px 0;
    }
    
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group select,
    .filter-group input[type="text"] {
        width: 100%;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        font-size: 0.9rem;
        top: 70px;
    }
}

/* Product quantity control on products page */
.product-quantity-control {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: transparent;
    padding: 0;
    width: 100%;
    justify-content: center;
}

.product-quantity-control .btn-quantity {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: var(--accent);
    color: var(--dark-bg);
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    pointer-events: auto;
    position: relative;
    z-index: 10;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.product-quantity-control .btn-quantity:hover {
    background: var(--accent-hover);
    transform: scale(1.1);
}

.product-quantity-control .quantity-value {
    min-width: 40px;
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
    user-select: none;
}


    color: var(--accent);

    margin-bottom: 2rem;

    opacity: 0.5;

}



.no-results h2 {

    font-size: 2.5rem;

    margin-bottom: 1rem;

    color: var(--text-light);

}



/* Notification Styles */

.notification {

    position: fixed;

    top: 100px;

    right: 30px;

    background: var(--accent);

    color: var(--dark-bg);

    padding: 1rem 1.5rem;

    border-radius: 10px;

    display: flex;

    align-items: center;

    gap: 0.75rem;

    box-shadow: 0 10px 30px var(--accent-rgba-shadow);
    z-index: 10000;

    animation: slideInRight 0.3s ease;

    font-weight: 600;

}



.notification i {

    font-size: 1.3rem;

}



.notification.fade-out {

    animation: slideOutRight 0.3s ease;

}



@keyframes slideInRight {

    from {

        transform: translateX(400px);

        opacity: 0;

    }

    to {

        transform: translateX(0);

        opacity: 1;

    }

}



@keyframes slideOutRight {

    from {

        transform: translateX(0);

        opacity: 1;

    }

    to {

        transform: translateX(400px);

        opacity: 0;

    }

}



/* Responsive */

@media (max-width: 768px) {

    .page-header h1 {

        font-size: 2.5rem;

    }

    
    .products-filter-section {
        position: static;
    }
    

    .filter-bar {

        flex-direction: column;

        align-items: stretch;

    }

    

    .filter-group {

        flex-direction: column;

        align-items: stretch;

    }

    

    .filter-group select,

    .filter-group input[type="text"] {

        width: 100%;

    }

    

    .notification {

        right: 10px;

        left: 10px;

        font-size: 0.9rem;

    }

}

