/* ============================================
   BAĞIŞ LİSTESİ - MOBİL UI
   ============================================ */

/* Scope: Hem /bagis-listesi hem de bagis_yap mobil bölümü için */
.bagis-listesi-page,
.bagis-listesi-wrapper .bagis-listesi-page {
    background: #f8fafc;
    min-height: 100vh;
}

@media (max-width: 991px) {
    .bagis-listesi-page,
    .bagis-listesi-wrapper .bagis-listesi-page {
        padding-bottom: calc(var(--bottom-nav-h, 75px) + env(safe-area-inset-bottom)) !important; /* Bottom nav için boşluk */
        margin-bottom: 0 !important;
    }
    
    /* Mobilde alt bar görünür olmalı */
    .cart-actions--bottom {
        display: block !important;
    }
    
    /* Fixed bar için spacer - minimal yükseklik */
    .donation-actions-bar-spacer {
        display: none;
    }
    
    /* Footer ile arasındaki boşluğu kaldır */
    .bagis-listesi-page + footer,
    .bagis-listesi-page ~ footer,
    .bagis-listesi-page + .site-footer,
    .bagis-listesi-page ~ .site-footer,
    .bagis-listesi-wrapper + footer,
    .bagis-listesi-wrapper ~ footer,
    .bagis-listesi-wrapper + .site-footer,
    .bagis-listesi-wrapper ~ .site-footer {
        margin-top: 0 !important;
    }
    
    /* Eğer footer'ın padding-top'u varsa azalt */
    .page-wrapper > footer.site-footer,
    .page-wrapper > .site-footer {
        padding-top: 20px !important;
    }
    
    /* Mobilde sticky/fixed alt bar - toplam meblağ alanına bitişik */
    .cart-actions--bottom {
        display: block !important;
        position: relative !important; /* Fixed yerine relative, toplam meblağ alanının hemen altında */
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        z-index: 10 !important;
        background: #ffffff !important;
        box-shadow: none !important; /* Toplam meblağ alanı ile birleşik görünsün */
        border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
        width: 100% !important;
        margin-top: 0 !important;
    }
    
    /* Sayfa içeriği - bottom nav için padding */
    .bagis-listesi-page {
        padding-bottom: calc(var(--bottom-nav-h, 75px) + env(safe-area-inset-bottom)) !important; /* Bottom nav için */
    }
    
    /* Mobilde toplam alanını gizle */
    .cart-actions__total {
        display: none !important;
    }
    
    /* Mobilde butonları biraz küçült */
    .cart-actions__row {
        padding: 10px 0;
        gap: 10px;
        grid-template-columns: auto auto; /* Toplam alanı olmadan iki buton yan yana */
        justify-content: space-between; /* Butonlar arası boşluk */
    }
    
    .cart-actions .btn {
        font-size: 12px;
        padding: 8px 16px;
        min-height: 36px;
    }
}

/* Desktop'ta alt barı göster */
@media (min-width: 577px) {
    .cart-actions--bottom {
        position: relative;
    }
}

/* Mobil bagis_yap sayfasında section yönetimi */
/* Mobilde accordion başlangıçta görünür, sepet gizli */
@media (max-width: 991px) {
    #donationSelectSection.is-hidden {
        display: none !important;
    }
    
    #donationCartSection {
        display: none !important;
    }
    
    #donationCartSection.is-visible {
        display: block !important;
        animation: fadeInUp 0.4s ease;
    }
    
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Desktop'ta mobil davranışı: başlangıçta sadece bağış listesi görünür, sepet gizli */
@media (min-width: 769px) {
    #donationSelectSection {
        display: block !important;
    }
    
    #donationSelectSection.is-hidden {
        display: none !important;
    }
    
    #donationCartSection {
        display: none !important;
    }
    
    #donationCartSection.is-visible {
        display: block !important;
    }
    
    /* Desktop'ta "Bağışları Düzenle" butonu görünür ve modern stil */
    #editDonationsBtn,
    .donation-edit-btn {
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
        height: 36px !important;
        padding: 0 12px !important;
        border-radius: 12px !important;
        border: 1px solid rgba(0, 0, 0, 0.14) !important;
        background: rgba(0, 0, 0, 0.02) !important;
        color: rgba(0, 0, 0, 0.75) !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        box-shadow: none !important;
        transition: all 0.2s ease !important;
    }
    
    #editDonationsBtn:hover,
    .donation-edit-btn:hover {
        background: rgba(0, 0, 0, 0.05) !important;
        border-color: rgba(0, 0, 0, 0.20) !important;
        color: rgba(0, 0, 0, 0.85) !important;
    }
    
    #editDonationsBtn i,
    .donation-edit-btn i {
        font-size: 16px !important;
        opacity: 0.85 !important;
        line-height: 1 !important;
    }
    
    .bagis-yap-mobile-selection {
        display: block !important;
    }
    
    .bagis-yap-mobile-selection.is-hidden {
        display: none !important;
    }
}

/* Mobil Toplam Meblağ Barı (Üst ve Alt) */
.bagis-listesi-total-bar,
.bagis-listesi-total-bar-bottom {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 20px 16px;
    border-bottom: 1px solid rgba(54, 167, 150, 0.15);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    z-index: 101;
    transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.3s ease, padding 0.3s ease, margin 0.3s ease;
}

.bagis-listesi-total-bar {
    position: sticky;
    top: 0;
}

.bagis-listesi-total-bar.hidden {
    opacity: 0;
    transform: translateY(-100%);
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
    box-shadow: none;
}

.bagis-listesi-total-bar-bottom {
    border-top: 1px solid rgba(54, 167, 150, 0.15);
    border-bottom: none;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
}

/* Mobilde toplam meblağ alanı ile buton alanı bitişik olmalı */
@media (max-width: 991px) {
    .bagis-listesi-total-bar-bottom {
        border-bottom: none !important;
        margin-bottom: 0 !important;
        padding-bottom: 16px !important; /* Biraz azalt */
    }
    
    .cart-actions--bottom {
        margin-top: 0 !important;
        border-top: none !important; /* Toplam meblağ alanı ile arasındaki border'ı kaldır */
        box-shadow: none !important;
    }
    
    /* Bottom nav ile arasında boşluk için */
    .bagis-listesi-page {
        padding-bottom: calc(var(--bottom-nav-h, 75px) + env(safe-area-inset-bottom)) !important; /* Bottom nav için */
    }
}

.total-amount-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(54, 167, 150, 0.1);
    backdrop-filter: blur(10px);
}

.total-label {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.total-amount {
    font-size: 24px;
    font-weight: 700;
    color: #36a796;
    letter-spacing: -0.5px;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 1px 2px rgba(54, 167, 150, 0.1);
}

/* Yeni Cart Actions Bar - Üst ve Alt */
.cart-actions {
    width: 100%;
    background: #ffffff;
}

.cart-actions__row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}

/* Orta toplam alanı */
.cart-actions__total {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    text-align: center;
    white-space: nowrap;
}

.cart-actions__total-label {
    font-size: 14px;
    opacity: 0.7;
    color: #666;
    font-weight: 500;
}

.cart-actions__total-value {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

/* Üst barın altına ince çizgi */
.cart-actions--top {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Alt sticky bar */
.cart-actions--bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Buton Stilleri - Cart Actions Bar için */
.cart-actions .btn {
    font-size: 13px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.cart-actions .btn-outline-secondary {
    border: 2px solid #d1d5db;
    color: #6b7280;
    background: #ffffff;
}

.cart-actions .btn-outline-secondary:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.cart-actions .btn-primary {
    background-color: #37a797 !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 700;
}

.cart-actions .btn-primary:hover {
    background-color: #2d8f82 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(55, 167, 151, 0.3);
}

.cart-actions .btn-primary:disabled,
.cart-actions .btn-primary.disabled {
    background-color: #cccccc !important;
    color: #666666 !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

/* Eski donation-actions-bar class'ı için uyumluluk (geriye dönük) */
.donation-actions-bar {
    background: #ffffff;
    padding: 14px 16px;
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    min-height: 54px;
    display: flex;
    align-items: center;
}

/* Üst Bar - Sticky (toplam bar'ın altında) */
.bagis-listesi-total-bar + .donation-actions-bar {
    position: sticky;
    top: 65px; /* Toplam bar yüksekliği kadar */
    border-bottom: 1px solid #e5e7eb;
    z-index: 100;
    backdrop-filter: blur(10px);
    transition: top 0.3s ease;
}

/* Üst bar toplam bar gizlendiğinde yukarı çıksın */
.bagis-listesi-total-bar.hidden + .donation-actions-bar,
.bagis-listesi-total-bar[style*="display: none"] + .donation-actions-bar {
    top: 0;
}

/* Eğer toplam bar yoksa üst bar sticky olacak (bagis-listesi sayfası için) */
.bagis-listesi-page > .donation-actions-bar:first-child {
    position: sticky;
    top: 0;
    border-bottom: 1px solid #e5e7eb;
    z-index: 100;
    backdrop-filter: blur(10px);
}

/* Buton Stilleri - Tüm Bar'larda Aynı */
.donation-actions-bar .btn {
    font-size: 13px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.donation-actions-bar .btn-outline-secondary {
    border: 2px solid #d1d5db;
    color: #6b7280;
    background: #ffffff;
}

.donation-actions-bar .btn-outline-secondary:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.donation-actions-bar .btn-primary {
    background-color: #37a797 !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 700;
}

.donation-actions-bar .btn-primary:hover {
    background-color: #2d8f82 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(55, 167, 151, 0.3);
}

.donation-actions-bar .btn-primary:disabled,
.donation-actions-bar .btn-primary.disabled {
    background-color: #cccccc !important;
    color: #666666 !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

/* Desktop Layout: 2 kolon (sepet + sidebar) - Sadece bagis-yap sayfasında */
@media (min-width: 992px) {
    /* Grid: solda liste, sağda summary (ikisi aynı satırdan başlasın) */
    #donationCartSection .cart-layout,
    .bagis-yap-donation-list-section .cart-layout {
        display: grid;
        grid-template-columns: 1fr 360px;
        gap: 28px;
        align-items: start;
    }
    
    /* Summary kutusu, ilk kartla aynı üst hizadan başlasın */
    #donationCartSection .cart-summary,
    .bagis-yap-donation-list-section .cart-summary {
        align-self: start;
        position: relative;
    }
    
    /* Parent'larda overflow sorunlarını önle (sticky için kritik) */
    #donationCartSection,
    .bagis-yap-donation-list-section {
        overflow: visible !important;
    }
    
    #donationCartSection .container,
    .bagis-yap-donation-list-section .container {
        overflow: visible !important;
    }
    
    /* Grid layout ve diğer parent'lar için overflow kontrolü */
    #donationCartSection .cart-layout,
    .bagis-yap-donation-list-section .cart-layout {
        overflow: visible !important;
    }
    
    #donationCartSection .cart-main,
    .bagis-yap-donation-list-section .cart-main {
        overflow: visible !important;
    }
    
    /* Sticky: scroll ile kayıp görünür kalsın */
    #donationCartSection .cart-summary__inner,
    .bagis-yap-donation-list-section .cart-summary__inner {
        position: sticky !important;
        top: 120px !important; /* header yüksekliğine göre ayarla */
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 16px;
        background: #fff;
        padding: 18px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
        overflow: visible;
        z-index: 10;
    }
    
    /* Header: Toplam label ve value */
    #donationCartSection .cart-summary__header,
    .bagis-yap-donation-list-section .cart-summary__header {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        margin-bottom: 12px;
    }
    
    #donationCartSection .cart-summary__label,
    .bagis-yap-donation-list-section .cart-summary__label {
        font-size: 13px;
        color: rgba(0, 0, 0, 0.55);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }
    
    #donationCartSection .cart-summary__value,
    .bagis-yap-donation-list-section .cart-summary__value {
        font-size: 26px;
        font-weight: 800;
        letter-spacing: -0.3px;
        white-space: nowrap;
        color: #1a1a1a;
    }
    
    /* Divider */
    #donationCartSection .cart-summary__divider,
    .bagis-yap-donation-list-section .cart-summary__divider {
        height: 1px;
        background: rgba(0, 0, 0, 0.06);
        margin: 12px 0 14px;
    }
    
    /* Ödeme Butonu */
    #donationCartSection .cart-summary__pay,
    .bagis-yap-donation-list-section .cart-summary__pay {
        width: 100%;
        height: 48px;
        border-radius: 14px;
        font-weight: 800;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #37a797 !important;
        border: none !important;
        color: #ffffff !important;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    #donationCartSection .cart-summary__pay:hover,
    .bagis-yap-donation-list-section .cart-summary__pay:hover {
        background-color: #2d8f82 !important;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(55, 167, 151, 0.3);
        color: #ffffff !important;
        text-decoration: none;
    }
    
    #donationCartSection .cart-summary__pay:disabled,
    #donationCartSection .cart-summary__pay.disabled,
    .bagis-yap-donation-list-section .cart-summary__pay:disabled,
    .bagis-yap-donation-list-section .cart-summary__pay.disabled {
        background-color: #cccccc !important;
        color: #666666 !important;
        cursor: not-allowed !important;
        opacity: 0.6;
    }
    
    #donationCartSection .cart-summary__back,
    .bagis-yap-donation-list-section .cart-summary__back {
        width: 100%;
        height: 48px;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        font-size: 14px;
        text-decoration: none;
        transition: all 0.3s ease;
        margin-top: 12px;
    }
    
    /* Eski toplam yapısı için uyumluluk (geriye dönük) */
    #donationCartSection .cart-summary__total,
    .bagis-yap-donation-list-section .cart-summary__total {
        display: none; /* Yeni header yapısı kullanılıyor */
    }
    
    /* Desktop'ta eski ödeme alanını gizle */
    #donationCartSection .special-donation-btn-wrap,
    .bagis-yap-donation-list-section .special-donation-btn-wrap {
        display: none !important;
    }
}

/* Mobil Ödeme Alanı (Formun Altında) */
@media (max-width: 991px) {
    .cart-summary-mobile {
        margin-top: 24px;
        padding: 0;
    }
    
    .cart-summary-mobile__inner {
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 16px;
        background: #fff;
        padding: 18px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }
    
    .cart-summary-mobile__header {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        margin-bottom: 12px;
    }
    
    .cart-summary-mobile__label {
        font-size: 13px;
        color: rgba(0, 0, 0, 0.55);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }
    
    .cart-summary-mobile__value {
        font-size: 26px;
        font-weight: 800;
        letter-spacing: -0.3px;
        white-space: nowrap;
        color: #1a1a1a;
    }
    
    .cart-summary-mobile__divider {
        height: 1px;
        background: rgba(0, 0, 0, 0.06);
        margin: 12px 0 14px;
    }
    
    .cart-summary-mobile__pay {
        width: 100%;
        height: 48px;
        border-radius: 14px;
        font-weight: 800;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #37a797 !important;
        border: none !important;
        color: #ffffff !important;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .cart-summary-mobile__pay:hover {
        background-color: #2d8f82 !important;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(55, 167, 151, 0.3);
        color: #ffffff !important;
        text-decoration: none;
    }
    
    .cart-summary-mobile__pay:disabled,
    .cart-summary-mobile__pay.disabled {
        background-color: #cccccc !important;
        color: #666666 !important;
        cursor: not-allowed !important;
        opacity: 0.6;
    }
    
    .cart-summary-mobile__back {
        width: 100%;
        height: 48px;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        font-size: 14px;
        text-decoration: none;
        transition: all 0.3s ease;
        margin-top: 12px;
    }
    
    /* Tablet/mobilde sidebar kapat, eski ödeme alanını göster */
    #donationCartSection .cart-summary,
    .bagis-yap-donation-list-section .cart-summary {
        display: none;
    }
    
    #donationCartSection .cart-layout,
    .bagis-yap-donation-list-section .cart-layout {
        display: block;
    }
    
    #donationCartSection .special-donation-btn-wrap,
    .bagis-yap-donation-list-section .special-donation-btn-wrap {
        display: block !important;
    }
}

/* Kategori Accordion */
.category-accordion {
    margin-bottom: 12px;
    background: #ffffff;
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

@media (max-width: 768px) {
    .category-accordion {
        border-radius: 10px;
        margin-bottom: 10px;
    }
}

.category-accordion:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: #ffffff;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.category-header:hover::before {
    /* Hover animasyonu kaldırıldı */
    display: none;
}

.category-header:hover {
    /* Hover efekti kaldırıldı */
}

.category-header.active {
    background: #36a796 !important;
}

.category-header.active:hover {
    background: #36a796 !important;
}

.category-header-left {
    display: flex;
    align-items: center;
    flex: 1;
}

.category-name {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-total {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.category-arrow {
    font-size: 13px;
    transition: transform 0.3s ease;
    color: #ffffff;
    margin-left: 10px;
}

.category-arrow.rotated,
.category-header[aria-expanded="true"] .category-arrow {
    transform: rotate(180deg);
}

/* Kategori İçeriği */
.category-content {
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    overflow: hidden;
    padding: 0;
    display: block;
    opacity: 0;
    transition: opacity 0.18s ease;
    will-change: opacity;
}

/* Bootstrap collapse show durumu */
.category-content.show,
.category-content.collapsing {
    display: block;
}

.category-content.show,
.category-content.collapse.show {
    opacity: 1;
    border: 1px solid #d7d3d3;
}

.category-content.collapsing {
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Collapsing sırasında içeriği gizle */
.category-content.collapsing .category-content-inner {
    opacity: 0;
}

/* Kapanırken hemen gizle */
.category-content:not(.show):not(.collapsing) {
    display: none;
    opacity: 0;
}

/* İçerik için wrapper - padding burada */
.category-content-inner {
    padding: 0px 0px 0px 0;
    transition: opacity 0.15s ease;
    opacity: 1;
}

/* Collapsing sırasında içeriği hemen gizle */
.category-content.collapsing .category-content-inner {
    opacity: 0;
}

.donation-item {
    padding: 16px 20px;
    margin: 0;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s ease;
    overflow: visible;
}

/* Mobilde padding ayarı */
@media (max-width: 768px) {
    .donation-item {
        padding: 12px 8px;
        overflow: visible;
    }
}

.donation-item:hover {
    background: #f8fafc;
}

.donation-item:last-child {
    border-bottom: none;
}

/* Ana satır - Desktop: Flex, Mobil: Grid sabit kolonlar */
.donation-item-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    width: 100%;
}

/* Mobilde CSS Grid - esnek kolonlar, tutar kesinlikle sığacak */
@media (max-width: 768px) {
    .donation-item-row {
        display: grid;
        grid-template-columns: 
            20px
            minmax(110px, 1fr)
            minmax(52px, auto)
            minmax(84px, auto)
            minmax(64px, auto);
        align-items: stretch;
        column-gap: 6px;
        row-gap: 0;
        width: 100%;
        padding-right: 8px;
        overflow: visible;
        box-sizing: border-box;
    }
}

/* Name wrapper - Info + bağış adı birlikte */
.donation-item-name-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
}

/* Mobilde grid kolon olarak */
@media (max-width: 768px) {
    .donation-item-name-wrapper {
        grid-column: 1 / 3;
        display: flex;
        align-items: flex-start;
        gap: 6px;
        min-width: 0;
        overflow: hidden;
        align-self: stretch;
        box-sizing: border-box;
    }
}

/* Info butonu - Sabit genişlik */
.donation-item-info {
    flex-shrink: 0;
    width: 32px;
    display: flex;
    align-items: center;
    align-items: anchor-center;
    align-self: anchor-center;
    justify-content: flex-start;
}

/* Mobilde grid içinde */
@media (max-width: 768px) {
    .donation-item-info {
        width: auto;
        flex-shrink: 0;
        align-items: anchor-center;
        align-self: anchor-center;
    }
}


.btn-info-icon {
    background: none;
    border: none;
    color: #6b7280;
    padding: 6px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    transition: all 0.3s ease;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    flex-shrink: 0;
}

.btn-info-icon:hover {
    color: #374151;
    background: #f3f4f6;
}

.btn-info-icon.active {
    color: #dc2626;
    background: #fee2e2;
}

.btn-info-icon.active i.fa-info-circle {
    display: none;
}

.btn-info-icon.active i.fa-times {
    display: inline-block;
}

.btn-info-icon i.fa-times {
    display: none;
}

/* Bağış adı - Flex ile genişleyen */
.donation-item-name {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    align-items: anchor-center;
    overflow: hidden;
}

.donation-name {
    font-size: 14px;
    font-weight: normal;
    color: #111827;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

/* Mobilde bağış adı 3 satıra kadar, düzgün sarılır (kelime kırılmaz) */
@media (max-width: 768px) {
    .donation-item-name {
        flex: 1;
        min-width: 0;
        max-width: 100%;
        align-items: flex-start;
        align-items: anchor-center;
        align-self: stretch;
        overflow: hidden;
    }

    .donation-name {
        width: 100%;
        min-width: 0;
        white-space: normal;
        word-break: normal;
        overflow-wrap: anywhere;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
        font-size: 13px;
        line-height: 1.2;
    }
}


/* Fiyat (fiyatlı bağışlar için) - Sabit genişlik */
.donation-item-price {
    flex: 0 0 auto;
    width: 90px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.donation-unit-price {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
}

/* Mobilde grid kolon - esnek genişlik, ayırıcı çizgi, nowrap, ellipsis yok */
@media (max-width: 768px) {
    .donation-item-price {
        grid-column: 3;
        width: 100%;
        text-align: center;
        white-space: nowrap;
        justify-content: center;
        padding-left: 6px;
        border-left: 1px solid rgba(0, 0, 0, 0.08);
        display: flex;
        align-items: center;
        justify-content: center;
        justify-self: stretch;
        align-self: center;
        flex-shrink: 0;
        overflow: visible;
        min-width: 52px;
        height: 100%;
    }

    .donation-unit-price {
        font-size: 13px;
        font-weight: 300;
        white-space: nowrap;
        overflow: visible;
        font-variant-numeric: tabular-nums;
        text-align: right;
    }
}

/* Adet kontrolü - Sabit genişlik, nowrap */
.donation-item-quantity {
    flex: 0 1 auto;
    min-width: 100px;
    max-width: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    overflow: hidden;
}

/* Mobilde grid kolon - esnek genişlik, ayırıcı çizgi, nowrap, büyütülmüş */
@media (max-width: 768px) {
    .donation-item-quantity {
        grid-column: 4;
        width: 100%;
        white-space: nowrap;
        padding-left: 6px;
        border-left: 1px solid rgba(0, 0, 0, 0.08);
        display: flex;
        align-items: center;
        justify-content: center;
        justify-self: stretch;
        align-self: center;
        flex-shrink: 0;
        min-width: 84px;
        box-sizing: border-box;
        height: 100%;
    }
}

.quantity-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #f3f4f6;
    border-radius: 8px;
    padding: 4px 6px;
    width: 100%;
    min-width: 0;
    white-space: nowrap;
    flex-shrink: 1;
}


.quantity-btn {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #111827;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
    padding: 0;
    flex-shrink: 0;
}


.quantity-btn:hover {
    background: #f9fafb;
    border-color: #c40000;
    color: #c40000;
}

.quantity-btn:active {
    transform: scale(0.95);
}

.quantity-btn i {
    font-size: 11px;
}

.quantity-value {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    min-width: 24px;
    text-align: center;
    flex-shrink: 0;
}

/* Quantity input (count > 1 olan durumlar için) */
.quantity-value.quantity-input {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #ffffff;
    padding: 4px 6px;
    min-width: 40px;
    max-width: 60px;
    width: auto;
    flex: 0 1 auto;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.quantity-value.quantity-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.quantity-value.quantity-input:hover {
    border-color: #9ca3af;
}

/* Mobilde quantity stepper - şık ve büyük tasarım (576px ve altı) */
@media (max-width: 576px) {
    .quantity-control {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        height: 43px;
        min-width: 120px;
        padding: 4px 8px;
        border-radius: 12px;
        width: 100%;
        white-space: nowrap;
        transform: scale(0.78);
        transform-origin: center;
    }

    .quantity-control .quantity-btn {
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        padding: 0;
        min-width: 35px;
        min-height: 35px;
    }

    .quantity-control .quantity-btn i,
    .quantity-control .quantity-btn svg {
        font-size: 18px;
        line-height: 1;
    }

    .quantity-control .quantity-value {
        min-width: 24px;
        text-align: center;
        font-size: 16px;
        font-weight: 600;
        line-height: 1;
    }
    
    .quantity-control .quantity-value.quantity-input {
        min-width: 35px;
        max-width: 50px;
        padding: 4px 4px;
        font-size: 16px;
    }
}

/* Tutar girişi (fiyatsız bağışlar için) - Flex ile genişleyen */
.donation-item-price-custom {
    flex: 1;
    min-width: 0;
    max-width: 250px;
}

/* Mobilde grid kolon - fiyatsız bağışlar için */
@media (max-width: 768px) {
    .donation-item-price-custom {
        grid-column: 3 / 5;
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }
    
    .donation-item-price-custom .custom-amount-wrapper {
        width: 100%;
        min-width: 0;
    }
}

/* Toplam - Sabit genişlik, sağa hizalı - HER ZAMAN GÖRÜNÜR */
.donation-item-total {
    flex: 0 0 auto;
    width: 100px;
    text-align: right;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center;
    justify-content: flex-end;
    white-space: nowrap;
    overflow: visible;
}

.donation-row-total {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
}

/* Mobilde grid kolon - esnek genişlik, sağa hizalı, ayırıcı çizgi, KESINLIKLE GÖRÜNÜR, nowrap, ellipsis yok */
@media (max-width: 768px) {
    .donation-item-total {
        grid-column: 5 !important;
        width: 100% !important;
        min-width: 52px !important;
        max-width: none !important;
        text-align: right;
        justify-content: flex-end;
        justify-self: stretch;
        white-space: nowrap;
        margin-left: 0 !important;
        padding-left: 6px;
        border-left: 1px solid rgba(0, 0, 0, 0.08);
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        align-items: center;
        align-self: center;
        flex-shrink: 0 !important;
        overflow: visible !important;
        position: relative;
        z-index: 1;
        box-sizing: border-box;
        height: 100%;
    }

    .donation-row-total {
        font-size: 12px !important;
        font-weight: 300;
        white-space: nowrap !important;
        overflow: visible !important;
        font-variant-numeric: tabular-nums;
        text-align: right;
        color: #111827 !important;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: auto !important;
        min-width: auto !important;
    }
}

.btn-info-icon {
    background: none;
    border: none;
    color: #6b7280;
    padding: 6px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    transition: all 0.3s ease;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.btn-info-icon:hover {
    color: #374151;
    background: #f3f4f6;
}

.btn-info-icon.active {
    color: #dc2626;
    background: #fee2e2;
}

.btn-info-icon.active i.fa-info-circle {
    display: none;
}

.btn-info-icon.active i.fa-times {
    display: inline-block;
}

.btn-info-icon i.fa-times {
    display: none;
}

.donation-image {
    margin-bottom: 12px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin-bottom 0.4s ease;
}

.donation-image.expanded {
    max-height: 300px;
    opacity: 1;
    margin-bottom: 12px;
}

.donation-image img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Fiyatsız Bağışlar - Custom Amount */

.custom-amount-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 8px 8px 12px;
    transition: all 0.3s ease;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}

.custom-amount-wrapper:hover {
    border-color: #c40000;
    box-shadow: 0 0 0 3px rgba(196, 0, 0, 0.05);
}

.custom-amount-wrapper:focus-within {
    border-color: #c40000;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(196, 0, 0, 0.12);
}

.custom-amount-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    padding: 0;
    outline: none;
    text-align: left;
    min-width: 0;
}

.custom-amount-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.currency-symbol {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    flex-shrink: 0;
}

.custom-amount-add-btn {
    background: #c40000;
    border: none;
    border-radius: 6px;
    color: #ffffff;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    padding: 0;
}

.custom-amount-add-btn:hover {
    background: #a00000;
    transform: scale(1.05);
}

.custom-amount-add-btn:active {
    transform: scale(0.95);
}

.custom-amount-add-btn i {
    font-size: 12px;
}


/* Eklenen Bağışlar Listesi */
.custom-amount-list {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.custom-amount-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 10px 12px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.list-item-amount {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.list-item-delete {
    background: #ef4444;
    border: none;
    border-radius: 4px;
    color: #ffffff;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    flex-shrink: 0;
}

.list-item-delete:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.list-item-delete:active {
    transform: scale(0.95);
}

.list-item-delete i {
    font-size: 12px;
}

/* Alt Bar */
/* İçerik Altındaki Bar (Orta Bar) */
.donation-actions-bar-bottom {
    margin-top: 20px;
    margin-bottom: 20px;
}

@media (max-width: 991px) {
    .donation-actions-bar-bottom {
        position: sticky;
        bottom: 0;
        left: 0;
        right: 0;
        margin-top: 20px;
        margin-bottom: 0;
        padding-bottom: calc(14px + env(safe-area-inset-bottom));
        border-radius: 12px 12px 0 0;
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
        z-index: 99;
        backdrop-filter: blur(10px);
    }
    
    /* İçeriğin alt barın altında kalmaması için padding - minimal */
    .bagis-listesi-content {
		padding-top: 8px;
        padding-bottom: 0;
        margin-bottom: 0;
    }
}

/* En Alt Bar - Fixed (Mobilde) */
.donation-actions-bar-fixed {
    border-top: 1px solid #e5e7eb;
}

@media (max-width: 991px) {
    .donation-actions-bar-fixed {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        padding-bottom: calc(14px + env(safe-area-inset-bottom));
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
        z-index: 100 !important;
        backdrop-filter: blur(10px);
        margin: 0 !important;
        border-radius: 0 !important;
    }
    
    /* Alt fixed bar için minimal spacer - footer'a kadar boşluk yok */
    .bagis-listesi-page {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
    
    /* Fixed bar sonrası footer ile arası boşluk yok */
    .bagis-listesi-page + .site-footer,
    .bagis-listesi-page ~ .site-footer {
        margin-top: 0 !important;
        padding-top: 20px !important;
    }
}


/* Desktop görünümü */
@media (min-width: 992px) {
    .bagis-listesi-page {
        padding-bottom: 60px;
        background: #f8fafc;
    }
    
    /* Desktop'ta kategori isimleri 20px */
    .category-name {
        font-size: 20px !important;
    }
    
    /* Desktop'ta mobil alt bar gizli */
    .cart-actions--bottom {
        display: none !important;
    }
    
    /* Desktop'ta mobil ödeme alanı gizli */
    .cart-summary-mobile {
        display: none !important;
    }
    
    /* Desktop'ta bağış listesi altındaki buton alanı - üst alan ile birebir aynı */
    .donation-list-actions {
        margin-top: 0;
        padding: 0;
    }
    
    .donation-list-actions .cart-actions {
        background: #ffffff;
        border: none;
        box-shadow: none;
        padding: 0;
        width: 100%;
    }
    
    .donation-list-actions .cart-actions__row {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 12px;
        padding: 12px 0;
        max-width: 100%;
        margin: 0;
    }
    
    .donation-list-actions .cart-actions__total {
        display: flex;
        align-items: baseline;
        justify-content: center;
        gap: 8px;
        text-align: center;
        white-space: nowrap;
    }
    
    .donation-list-actions .cart-actions__total-label {
        font-size: 14px;
        opacity: 0.7;
        color: #666;
        font-weight: 500;
    }
    
    .donation-list-actions .cart-actions__total-value {
        font-size: 18px;
        font-weight: 700;
        color: #1a1a1a;
    }
    
    .donation-list-actions .cart-actions__clear,
    .donation-list-actions .cart-actions__next {
        font-size: 13px;
        font-weight: 600;
        padding: 10px 20px;
        border-radius: 8px;
        transition: all 0.3s ease;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        min-height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }
    
    .donation-list-actions .cart-actions .btn-outline-secondary {
        border: 2px solid #d1d5db;
        color: #6b7280;
        background: #ffffff;
    }
    
    .donation-list-actions .cart-actions .btn-outline-secondary:hover {
        background: #f3f4f6;
        border-color: #9ca3af;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }
    
    .donation-list-actions .cart-actions .btn-primary {
        background-color: #37a797 !important;
        border: none !important;
        color: #ffffff !important;
        font-weight: 700;
    }
    
    .donation-list-actions .cart-actions .btn-primary:hover {
        background-color: #2d8f82 !important;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(55, 167, 151, 0.3);
    }
    
    /* Desktop'ta list-bottom için üst border (üst alanın alt border'ı gibi) */
    .donation-list-actions .cart-actions--list-bottom {
        display: block !important;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
    }
    
    /* Desktop'ta toplam alanı görünür */
    .cart-actions__total {
        display: flex !important;
    }
    
    /* Desktop'ta grid layout'u 3 kolon yap (SEPETİ SİL - Toplam - DEVAM) */
    .cart-actions__row {
        grid-template-columns: auto 1fr auto;
    }

    .bagis-listesi-content {
        padding: 20px 0;
        padding-bottom: 40px;
    }
    
    .donation-actions-bar-bottom {
        position: relative;
        margin-top: 30px;
        margin-bottom: 0;
    }

    .donation-actions-bar-fixed {
        position: relative;
        margin-top: 40px;
        border-radius: 0;
    }
    
    .bagis-listesi-page {
        padding-bottom: 0;
    }

    .donation-item {
        padding: 20px;
    }

    .donation-name {
        font-size: 16px;
    }

    .donation-unit-price,
    .donation-row-total {
        font-size: 16px;
    }

    /* Bu media query başka bir amaç için, kategori header buraya eklenmeyecek */

    .custom-amount-input {
        font-size: 18px;
    }

    .currency-symbol {
        font-size: 18px;
    }

    .quick-amount-btn {
        font-size: 14px;
        padding: 10px 16px;
    }
}

/* Mobil için özel düzenlemeler */
@media (max-width: 768px) {
    /* Kategori Accordion Header - Mobil İnce Düzen */
    .category-header {
        padding: 10px 14px;
        min-height: auto;
    }

    .category-name {
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 0.3px;
        line-height: 1.3;
    }

    .category-total {
        font-size: 14px;
        font-weight: 700;
        line-height: 1.3;
    }

    .category-header-right {
        gap: 8px;
    }

    .category-arrow {
        font-size: 12px;
        margin-left: 6px;
    }

    .category-header-left {
        min-width: 0;
        overflow: hidden;
        flex: 1;
    }

    .category-name {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
    }

    .category-total {
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Donation Items - Flex tek satır (öncelik), wrap izni var */
    .donation-item {
        padding: 14px 12px;
    }

    /* Grid düzeni yukarıda tanımlandı, burada sadece detay ayarları */
    .donation-item {
        padding: 12px 10px;
    }

    .quantity-value {
        font-size: 12px;
        min-width: 18px;
        flex-shrink: 0;
    }

    .donation-item-price-custom {
        max-width: 200px;
    }

    .custom-amount-wrapper {
        padding: 10px 8px 10px 12px;
        gap: 8px;
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .custom-amount-input {
        font-size: 14px;
        min-width: 0;
        flex: 1 1 0%;
        width: 100%;
    }
    
    .custom-amount-input::placeholder {
        font-size: 13px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .currency-symbol {
        font-size: 13px;
        flex-shrink: 0;
        margin: 0;
        padding: 0 2px;
    }

    .custom-amount-add-btn {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
        min-width: 32px;
    }

    .custom-amount-add-btn i {
        font-size: 12px;
    }
}

@media (max-width: 575px) {
    /* Kategori Accordion Header - Küçük Mobil Daha İnce */
    .category-header {
        padding: 8px 12px;
        min-height: auto;
    }

    .category-header-left {
        min-width: 0;
    }

    .category-name {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 13px;
        letter-spacing: 0.2px;
    }

    .category-total {
        font-size: 13px;
    }

    .category-header-right {
        gap: 6px;
    }

    .category-arrow {
        font-size: 11px;
        margin-left: 4px;
    }

    /* Çok dar ekranlar - grid kolon genişliklerini küçült ama isim için minimum alan koru */
    .donation-item-row {
        grid-template-columns: 
            20px
            minmax(110px, 1fr)
            minmax(48px, auto)
            minmax(78px, auto)
            minmax(60px, auto);
        column-gap: 4px;
        padding-right: 6px;
    }

    .donation-item {
        padding: 10px 8px;
    }

    .donation-item-name-wrapper {
        gap: 5px;
    }

    .btn-info-icon {
        width: 20px;
        height: 20px;
        font-size: 12px;
        padding: 4px;
    }

    .donation-name {
        font-size: 16px;
        line-height: 1.2;
    }

    .donation-item-price,
    .donation-item-quantity,
    .donation-item-total {
        padding-left: 6px;
        border-left-color: rgba(0, 0, 0, 0.08);
    }

    .donation-item-price {
        min-width: 48px;
        padding-left: 4px;
    }

    .donation-unit-price {
        font-size: 16px;
        overflow: visible;
        font-variant-numeric: tabular-nums;
    }

    .donation-item-quantity {
        min-width: 78px;
        padding-left: 5px;
        padding-right: 1px;
    }

    .quantity-control {
        padding: 2px 2px;
        gap: 3px;
    }

    .quantity-btn {
        width: 22px;
        height: 22px;
    }

    .quantity-value {
        font-size: 11px;
        min-width: 18px;
    }
    
    .quantity-value.quantity-input {
        min-width: 30px;
        max-width: 45px;
        padding: 2px 4px;
        font-size: 11px;
    }

    .donation-item-total {
        min-width: 52px !important;
        padding-left: 4px;
    }

    .donation-row-total {
        font-size: 16px !important;
        overflow: visible;
        font-variant-numeric: tabular-nums;
    }

    .donation-row-total {
        font-size: 12px;
    }

    .donation-item-price-custom {
        max-width: 100%;
        width: 100%;
    }
    
    .custom-amount-wrapper {
        padding: 8px 6px 8px 10px;
        gap: 6px;
    }
    
    .custom-amount-input {
        font-size: 13px;
    }
    
    .custom-amount-input::placeholder {
        font-size: 12px;
    }
    
    .currency-symbol {
        font-size: 12px;
    }
    
    .custom-amount-add-btn {
        width: 28px;
        height: 28px;
        min-width: 28px;
    }
    
    .custom-amount-add-btn i {
        font-size: 11px;
    }
}

/* Çok dar ekranlar - grid ve font küçült ama ellipsis yok */
/* Çok dar ekranlar - grid ve font küçült ama ellipsis yok */
@media (max-width: 360px) {
    .donation-item-row {
        grid-template-columns: 
            20px
            minmax(100px, 1fr)
            minmax(45px, auto)
            minmax(75px, auto)
            minmax(58px, auto);
        column-gap: 4px;
        padding-right: 4px;
    }

    .donation-item-price {
        min-width: 45px;
    }

    .donation-unit-price {
        font-size: 11px;
    }

    .donation-item-quantity {
        min-width: 75px;
    }

    .quantity-btn {
        width: 20px;
        height: 20px;
    }

    .quantity-value {
        font-size: 10px;
        min-width: 16px;
    }

    .quantity-control {
        padding: 2px 3px;
        gap: 3px;
    }

    .quantity-btn {
        width: 24px;
        height: 24px;
    }

    .quantity-btn i {
        font-size: 9px;
    }

    .quantity-value {
        font-size: 11px;
        min-width: 16px;
    }

    .donation-item-total {
        min-width: 58px !important;
    }

    .donation-row-total {
        font-size: 11px !important;
    }
}

/* Safe area support for iOS */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
}


