  @media (max-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
}
/* Next button */
.swiper-button-next {
    color: #f1990c !important; 
}

/* Prev button */
.swiper-button-prev {
    color: #f1990c !important; 
}

.slider-container {
    position: relative;
    width: 100%;
    padding: 20px 0;
    overflow: hidden;
    
}

.slider-wrapper {
    width: 100%;
    overflow: hidden;
 
}

.slider {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 20px;
   
}


.card {
    flex: 0 0 calc(25% - 15px);
    min-width: calc(25% - 15px);
    margin: 0;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    background: white;
   
   
    position: relative;
    transition: transform 0.2s ease-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);

}
.slider{
    padding-top: 5px;
}

.product-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    pointer-events: none;
   
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.product-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65%;
    height: 65%;
    object-fit: contain;
    pointer-events: none;
  
}

.discount-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff6b00;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.compare.active i {
    color: #ff6b00; /* narıncı rəng */
}

.product-actions {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 15px;
    right: 1px;
    
    gap: 0;
    pointer-events: auto;
    padding: 1px;
    z-index: 10;
}

.product-actions button {
    background: transparent;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-actions button:hover {
    transform: translateY(-2px);
}

.product-actions button i {
    font-size: 1.34rem;
    color: #c2c5ca;
}

/* Kalp ikonu için hover rengi */
.product-actions button:has(.fa-heart):hover i {
    color: #ff0000;
}

/* Terazi ikonu için hover rengi */
.product-actions button:has(.fa-scale-balanced):hover i {
    color: #ff6b00;
}

/* Sepet ikonu için hover rengi */
.product-actions button:has(.fa-cart-shopping):hover i {
    color: #0056b3;
}
.favorite.active i {
    color: #ff0000;
}
.card-body {
    padding: 15px;
   
   
}
.rating {
            color: #ffc107;
            font-size: 0.9rem;
            margin: 5px 0;
        }
        .rating .fa-star {
            margin: 0 1px;
        }

.product-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0;
    line-height: 1.4;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}
.product-brandname{
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0;
    line-height: 1.4;
    height: 1.5em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 20px;
    gap: 10px;
}

.price {
    font-size: 1.1rem;
    font-weight: 900;
    color: #2c3e50;
}

.add-to-cart {
    width: 100%;
    height: 36px;
    border-radius: 18px;
    border: none;
    background: #ff6b00;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    pointer-events: auto;
    gap: 8px;
}
@media (max-width: 768px) {
            
            .rating {
                font-size: 0.8rem;
                margin: 3px 0;
            }
            
        }
        @media (max-width: 576px) {
            
            
            .rating {
                font-size: 0.75rem;
            }
        }

.add-to-cart i {
    font-size: 1.1rem;
}

.add-to-cart:hover {
    background: #e05e00;
}

/* Tablet ve küçük ekranlar */
@media (max-width: 1024px) {
    .card {
        flex: 0 0 calc(33.333% - 14px);
        min-width: calc(33.333% - 14px);
    }
    
    .product-image {
        padding-top: 110%;
    }
    
    .product-title {
        font-size: 0.9rem;
    }
    
    .price {
        font-size: 1rem;
    }
    
    .product-image img {
        width: 70%;
        height: 70%;
    }
    
    .discount-badge {
        padding: 5px 10px;
        font-size: 0.85rem;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .card {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }
    
    .product-image {
        padding-top: 115%;
    }
    
    .action-btn {
        width: 28px;
        height: 28px;
    }
    
    .action-btn i {
        font-size: 0.9rem;
    }
    
    .add-to-cart {
        height: 32px;
    }
    
    .add-to-cart i {
        font-size: 1rem;
    }
    
    .product-actions {
        top: 12px;
        right: 2px;
        gap: 10px;
    }
    
    .product-actions button {
        width: 40px;
        height: 40px;
    }
    
    .product-actions button i {
        font-size: 1.3rem;
    }
    
    .product-image img {
        width: 75%;
        height: 75%;
    }
    
    .discount-badge {
        padding: 4px 8px;
        font-size: 0.8rem;
        top: 12px;
        left: 12px;
    }
}

/* Mobil */
@media (max-width: 480px) {
    .slider-container {
        padding: 10px 0;
    }
    
    .slider {
        gap: 10px;
    }
    
    .card {
        flex: 0 0 calc(50% - 5px);
        min-width: calc(50% - 5px);
    }
    
    .product-image {
        padding-top: 120%;
    }
    
    .card-body {
        padding: 10px;
    }
    
    .product-title {
        font-size: 0.85rem;
        height: 2.6em;
        margin-bottom: 8px;
    }
    
    .price {
        font-size: 0.95rem;
    }
    
    .action-btn {
        width: 26px;
        height: 26px;
    }
    
    .action-btn i {
        font-size: 0.8rem;
    }
    
    .add-to-cart {
        height: 30px;
    }
    
    .add-to-cart i {
        font-size: 0.9rem;
    }
    
    .product-actions {
        top: 10px;
        right: 2px;
        gap: 5px;
    }
    
    .product-actions button {
        width: 35px;
        height: 35px;
    }
    
    .product-actions button i {
        font-size: 1.2rem;
    }
    
    .product-image img {
        width: 80%;
        height: 80%;
    }
    
    .discount-badge {
        padding: 3px 6px;
        font-size: 0.75rem;
        top: 10px;
        left: 10px;
    }
}

.fa-duotone {
    opacity: 1 !important;
}

.fa-duotone::after {
    opacity: 1 !important;
} 

.notification {
    color: #fff;
    padding: 12px 20px;
    margin-top: 10px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

/* Favorit normal - açıq qırmızı */
#notification-container-favorite .notification.normal {
    background-color: #ff5252;
}

/* Compare normal - narıncı */
#notification-container-compare .notification.normal {
    background-color: #ff9800;
}

/* Limit aşımı hər ikisi üçün tünd qırmızı */
.notification.limit {
    background-color: #b71c1c;
}

/* Container mövqeyi */
#notification-container-favorite,
#notification-container-compare {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}
#notification-container-compare {
    top: 80px; /* biraz aşağıda göstərək */
}

@media (max-width: 768px) {
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}