/* Bölümler arası boşluğu artırmak ve diğer stil düzeltmeleri için ek CSS */
.bestsellers-sec.deal-product h3 {
    font-size: 9px;
    margin: 0;
    font-weight: 600;
    color: #333;
    background: none;
    text-align: center;
    padding: 0;
    min-height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
}oducts-section,
.category-grid {
    padding: 80px 0; /* Dikey padding artırıldı */
    margin-bottom: 60px; /* Alt marjin eklendi */
    background-color: #fff; /* Arka plan rengi beyaz olarak ayarlandı */
}

/* Ürün kartları için ek stiller */
.product-card .product-image img {
    width: 100%;
    height: 150px;
    object-fit: cover !important; /* Önemli: Resmin kartı tamamen doldurması için */
    margin-bottom: 10px;
    border-radius: 10px;
    background: #fff;
}

/* Haftanın Fırsatları bölümü için özel stiller */
.deals-box {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    background-color: #fff;
    position: relative;
}

.deals-box h3 {
    background-color: #e74c3c; /* Kırmızı başlık arka planı */
    color: #fff;
    text-align: center;
    padding: 8px;
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.deals-carousel {
    padding: 0;
    display: flex;
    justify-content: center;
    position: relative;
}

.deal-product {
    width: 100%;
    max-width: 230px;
    margin: 0 5px;
    background: #fff;
    border-radius: 8px;
    position: relative;
}

.deal-product .product-card-inner {
    display: flex;
    flex-direction: column;
    padding: 0;
    height: 100%;
}

.deal-product .product-image {
    width: 100%;
    height: 120px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.deal-product .product-image img {
    width: auto;
    max-width: 100%;
    height: 120px;
    object-fit: contain !important;
    background-color: #fff !important;
    margin: 0 auto;
    display: block;
    border-radius: 5px;
}

/* Fix for static fallback product images */
.product-card.deal-product .product-image img {
    width: auto;
    max-width: 100%;
    height: 120px;
    object-fit: contain !important;
    background-color: #fff !important;
    margin: 0 auto;
    display: block;
    border-radius: 5px;
}

/* No products message */
.no-products-message {
    padding: 30px 10px;
    text-align: center;
}

.no-products-message p {
    color: #777;
    font-size: 14px;
    margin: 0;
}

.deal-product .product-info {
    width: 100%;
    padding: 0 10px 10px;
    text-align: center;
}

.deal-product h3 {
    font-size: 11px;
    margin: 0;
    font-weight: 600;
    color: #333;
    background: none;
    text-align: center;
    padding: 0;
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.deal-product .product-info {
    padding-top: 0;
}

.deal-product .product-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2px;
}

.deal-product .old-price {
    font-size: 8px;
    color: #999;
    text-decoration: line-through;
    line-height: 1;
}

.deal-product .price {
    font-size: 11px;
    color: #e74c3c;
    font-weight: 600;
    line-height: 1;
}

.deal-product .add-to-cart {
    font-size: 10px;
    padding: 4px 2px;
    background-color: #ffcc00;
    border: none;
    border-radius: 4px;
    color: #333;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    text-align: center;
}

/* İndirim etiketi */
.discount-badge {
    position: absolute;
    top: -3px;
    left: 0;
    right: 0;
    width: 70%;
    margin: 0 auto;
    background-color: #e74c3c;
    color: white;
    text-align: center;
    padding: 3px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 5px;
    z-index: 2;
}

/* Carousel navigation arrows */
.deals-carousel .owl-nav {
    position: absolute;
    width: 110%;
    left: -5%;
    top: 40%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.deals-carousel .owl-prev,
.deals-carousel .owl-next {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.9) !important;
    border-radius: 50% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    font-size: 20px !important;
    color: #333 !important;
    pointer-events: auto;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .deals-carousel {
        padding: 10px;
    }
    
    .deal-product {
        max-width: 100%;
    }
    
    .deal-product .product-image img {
        height: 150px;
    }
}

/* Desktop adjustments */
@media (min-width: 992px) {
    .deals-carousel {
        padding: 0;
    }
    
    .deal-product {
        margin: 0;
    }
    
    .deal-product .product-image img {
        height: 80px;
        object-fit: cover !important;
        background-color: #fff !important;
    }
    
    .deal-product h3 {
        min-height: 20px;
        margin-top: 0;
        font-size: 9px;
    }
    
    /* Adjust for desktop to prevent overflow */
    .deals-box {
        max-height: 240px;
        overflow: hidden;
    }
    
    .discount-badge {
        width: 65%;
        top: -3px;
    }
    
    .deal-product .add-to-cart {
        padding: 5px;
        font-size: 12px;
    }
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .deals-carousel {
        justify-content: center;
    }
    
    .deal-product {
        width: 90%;
        margin: 0 auto 15px;
    }
}
