/* --- KAPSAYICI (CONTAINER) GÜVENLİĞİ --- */
.mcu-upsell-container {
    background: #ffffff; border-radius: 12px; padding: 20px; margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06); width: 100% !important; font-family: inherit; border: 1px solid #f0f0f0;
    box-sizing: border-box !important; display: block !important; clear: both !important;
    position: relative; height: auto !important; max-height: none !important; overflow: visible !important; 
}
.mcu-upsell-container * { box-sizing: border-box !important; }

/* --- BAŞLIK VE METİNLER --- */
.mcu-upsell-header { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mcu-upsell-header h4 { margin: 0; font-size: 1rem; font-weight: 700; color: #333; line-height: 1.3; word-break: keep-all; }
.mcu-subtitle { font-size: 0.8rem; color: #666; margin: 4px 0 12px 0; display: block !important; }

/* Okların (İleri/Geri) Tasarımı */
.mcu-nav { display: flex; gap: 6px; flex-shrink: 0; }
.mcu-nav span {
    background: #f0f0f0; color: #333; width: 26px; height: 26px; border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; cursor: pointer; 
    font-size: 13px; font-weight: bold; transition: all 0.3s ease; user-select: none;
}
.mcu-nav span:hover { background: #FF6000; color: #fff; transform: scale(1.1); }

/* --- CAROUSEL VE SLIDE --- */
.mcu-carousel { display: block !important; width: 100% !important; min-height: 90px !important; visibility: visible !important; height: auto !important; clear: both !important; }
.mcu-slide { width: 100% !important; height: auto !important; float: none !important; position: relative !important; }

/* --- ÜRÜN KARTI --- */
.mcu-product-card {
    display: flex !important; align-items: stretch; gap: 14px;
    background: #fff; padding: 12px; border-radius: 8px; border: 1px solid #e0e0e0; transition: box-shadow 0.3s ease;
    width: 100% !important; height: auto !important; visibility: visible !important; opacity: 1 !important;
}
.mcu-product-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.05); }

.mcu-img { flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.mcu-img img { border-radius: 6px; width: 75px !important; height: 75px !important; object-fit: cover; border: 1px solid #f5f5f5; display: block !important; max-width: 100% !important; }
.mcu-details { display: flex; flex-direction: column; justify-content: center; flex-grow: 1; min-width: 0; }
.mcu-title { font-size: 0.85rem; font-weight: 600; line-height: 1.3; margin-bottom: 6px; color: #222; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; }

/* --- YENİ EKLENEN ROZET ALANI --- */
.mcu-badges-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.mcu-discount-badge { color: #d32f2f; font-weight: 700; background: #ffebee; padding: 4px 6px; border-radius: 4px; font-size: 0.75rem; display: inline-block !important; line-height: 1; }
.mcu-qty-badge { background: #e8f4fd; color: #0d47a1; padding: 4px 6px; border-radius: 4px; font-size: 0.75rem; font-weight: bold; display: inline-block !important; line-height: 1; }

/* --- FİYAT VE BUTON HİZALAMASI (DÜZELTİLDİ) --- */
.mcu-bottom-row { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 10px; flex-wrap: wrap; }
.mcu-price-col { display: flex; flex-direction: column; flex-grow: 1; min-width: 0; gap: 2px; }

.mcu-regular-price { font-size: 0.8rem; color: #999; line-height: 1; margin: 0 !important; }
.mcu-regular-price del { display: inline-block !important; }
.mcu-final-price { font-size: 1.1rem; font-weight: 700; color: #111; display: block !important; line-height: 1.2; margin: 0 !important; }

/* --- BUTONLAR --- */
html body .woocommerce .mcu-upsell-container button.mcu-add-btn,
html body .mcu-upsell-container button.mcu-add-btn {
    padding: 8px 16px !important; border-radius: 30px !important; margin-left: auto !important;
    font-size: 0.75rem !important; font-weight: 700 !important; cursor: pointer !important;
    transition: all 0.3s ease !important; line-height: 1.2 !important; box-shadow: 0 3px 8px rgba(255, 96, 0, 0.2) !important;
    white-space: nowrap !important; flex-shrink: 0 !important; display: inline-block !important; text-align: center !important;
}
html body .woocommerce .mcu-upsell-container button.mcu-add-btn:hover,
html body .mcu-upsell-container button.mcu-add-btn:hover {
    transform: translateY(-2px) !important; box-shadow: 0 5px 12px rgba(255, 96, 0, 0.3) !important; opacity: 0.9 !important;
}

.mcu-dots { display: flex; justify-content: center; gap: 6px; margin-top: 15px; }
.mcu-dots span { width: 7px; height: 7px; background: #ddd; border-radius: 50%; cursor: pointer; transition: 0.3s; display: block !important; }
.mcu-dots span.active { background: #FF6000; transform: scale(1.3); }

/* --- MOBİL UYUM --- */
@media screen and (max-width: 600px) {
    .mcu-upsell-container { padding: 16px !important; border-radius: 10px !important; margin-bottom: 25px !important; }
    .mcu-upsell-header h4 { font-size: 0.95rem !important; }
    .mcu-subtitle { font-size: 0.75rem !important; margin: 4px 0 10px 0 !important; }
    .mcu-nav span { width: 30px !important; height: 30px !important; font-size: 14px !important; }
    .mcu-product-card { flex-direction: row !important; padding: 10px !important; gap: 10px !important; min-height: 80px !important; }
    .mcu-title { font-size: 0.85rem !important; margin-bottom: 6px !important; }
    .mcu-add-btn { padding: 6px 12px !important; font-size: 0.75rem !important; }
}

@media screen and (max-width: 380px) {
    .mcu-img { display: none !important; }
    .mcu-bottom-row { flex-direction: column !important; align-items: flex-start !important; gap: 10px !important; }
    .mcu-add-btn { width: 100% !important; margin-left: 0 !important; }
}