/* İndirimdeki Ürünler Bölümü */
.discounted-products-section {
    padding: 80px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.discounted-products-section .container {
    position: relative;
    z-index: 1;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    padding: 0 20px;
}

.header-content {
    flex: 1;
}

.section-title-large {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    font-weight: 500;
}

.view-all-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.view-all-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.view-all-btn .arrow {
    transition: transform 0.3s ease;
}

.view-all-btn:hover .arrow {
    transform: translateX(5px);
}

/* Grid Container */
.products-grid-container {
    position: relative;
    padding: 20px 0;
}

.products-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0;
    align-items: stretch;
}

/* Ürün Kartı */
.discount-product-card {
    width: 100%;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--border-color);
    min-height: 0;
}

.discount-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.1);
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: var(--bg-light);
    flex-shrink: 0;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.discount-product-card:hover .product-img {
    transform: scale(1.05);
}

.product-placeholder-gradient {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    position: relative;
}

.product-icon {
    font-size: 80px;
    opacity: 0.3;
    position: relative;
    z-index: 1;
}


/* Product Info */
.product-info-wrapper {
    padding: 8px 10px 10px;
    background: var(--white);
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
    border-top: none;
    min-height: 0;
    justify-content: space-between;
}

/* Ürün Adı (İndirim Kartı) */
.discount-product-title {
    font-size: 18px;
    font-weight: 500;
    color: #4b5563;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 0 6px 0;
    letter-spacing: 0.01em;
    font-family: "Inter", "Segoe UI", "SF Pro Text", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
    text-transform: none;
    min-height: 48px;
    max-height: 48px;
}

/* Fiyat Bölümü */
.price-section {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 12px;
    border: none;
    padding: 0;
    margin: 0;
}

.price-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.old-price {
    font-size: 11px;
    color: #95a5a6;
    text-decoration: line-through;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.new-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.new-price,
.old-price {
    white-space: nowrap;
}

.new-price {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.3px;
}

/* İndirim Yüzdesi (Fiyatın Yanında) */
.discount-percent-inline {
    background: var(--discount-color);
    color: white;
    font-size: 9px;
    font-weight: 600;
    padding: 3px 7px;
    border-radius: 4px;
    white-space: nowrap;
    line-height: 1.2;
    letter-spacing: 0.2px;
    flex-shrink: 0;
}

/* Toplu Alım İndirimi Kutusu (Sağ) */
.price-right {
    flex-shrink: 0;
}

.bulk-discount-box {
    background: var(--bg-light);
    border-radius: 6px;
    padding: 7px 9px;
    text-align: center;
    min-width: 75px;
    border: 1px solid var(--border-color);
}

.bulk-text {
    font-size: 9px;
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 2px;
    letter-spacing: 0.2px;
}

.bulk-price {
    font-size: 11px;
    color: #212529;
    font-weight: 700;
    letter-spacing: -0.2px;
}


.savings-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
}

/* Contact button kaldırıldı - resimdeki tasarımda yok */

.savings-icon {
    font-size: 16px;
}

.savings-text {
    flex: 1;
}

/* Responsive */
@media (max-width: 992px) {
    .products-grid-wrapper {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
        align-items: stretch;
    }
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .section-title-large {
        font-size: 32px;
    }
    
    .products-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        align-items: stretch;
    }
    
    .product-image-wrapper {
        height: 350px;
    }
    
    .product-info-wrapper {
        padding: 8px 10px 10px;
    }
    
    .discount-product-title {
        font-size: 16px;
        min-height: 43px;
        max-height: 43px;
    }
    
    .new-price {
        font-size: 17px;
    }
    
    .discount-percent-inline {
        font-size: 9px;
        padding: 3px 7px;
    }
    
    .bulk-discount-box {
        padding: 8px 10px;
        min-width: 75px;
    }
}

@media (max-width: 480px) {
    .discounted-products-section {
        padding: 60px 0;
    }
    
    .section-title-large {
        font-size: 28px;
    }
    
    .products-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        align-items: stretch;
    }
    
    .product-image-wrapper {
        height: 300px;
    }
    
    .product-info-wrapper {
        padding: 6px 8px 8px;
    }
    
    .discount-product-title {
        font-size: 14px;
        min-height: 38px;
        max-height: 38px;
    }
    
    .new-price {
        font-size: 16px;
    }

    .new-price-row {
        gap: 6px;
    }
    
    .old-price {
        font-size: 11px;
    }
    
    .discount-percent-inline {
        font-size: 9px;
        padding: 3px 6px;
    }
    
    .bulk-discount-box {
        padding: 7px 9px;
        min-width: 70px;
    }
    
    .bulk-text {
        font-size: 9px;
    }
    
    .bulk-price {
        font-size: 12px;
    }
}

