/* ==========================================
   1. RESET & BASE
   ========================================== */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

/* ==========================================
   2. LAYOUT STRUCTURE (Mobile First)
   ========================================== */
 #checkout-main-container, .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0 !important;
    }

.checkout-grid-modern {
    display: grid;
    /* Sol taraf %65, Sağ taraf %35 olacak şekilde tam oran */
    grid-template-columns: 65% 35%; 
    /* İki sütun arasındaki boşluk */
    gap: 50px; 
    /* 1200px dar geldiği için 1300px veya 1400px yapıyoruz */
    max-width: 1200px;
    margin: 40px auto; /* Üstten ve alttan biraz boşluk verdik */
    padding: 0 20px;
    align-items: start;
    box-sizing: border-box;
}

.checkout-main-content {
    width: 100%;
    order: 2;
}

.order-summary-column {
    width: 100%;
    order: 1;
    position: static;
}

/* ==========================================
   3. HEADER & NAVIGATION
   ========================================== */
.checkout-top-bar {
    background-color: #222;
    color: #ffffff;
    padding: 8px 0;
    font-size: 11px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 500;
}

.top-bar-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.top-bar-content i {
    font-size: 12px;
    color: #fbbc05;
}

.custom-minimal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #eee;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -1px;
    text-transform: uppercase;
    color: #000;
    text-decoration: none;
}

.page-title.hidden {
    display: none;
}

.checkout-modern-header {
    width: 100%;
    padding-top: 20px;
    margin-bottom: 20px;
}

.checkout-modern-header h1 {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 15px 0;
}

.full-width-form-border {
    height: 1px;
    background-color: #e0e0e0;
    width: 100%;
    margin: 0;
}

/* ==========================================
   4. EMPTY CART STATE
   ========================================== */
.cart-empty-state {
    text-align: center;
    padding: 30px 15px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #eee;
    margin: 15px auto;
    width: 100%;
    max-width: 500px;
}

.cart-empty-state p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.4;
}

.cart-empty-state a {
    display: inline-block;
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 12px 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 280px;
}

.cart-empty-state a:hover {
    background-color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.cart-empty-state a:active {
    transform: translateY(-1px);
}

/* ============================================================
   3. ÜRÜN LİSTESİ TASARIMI (RESİM SOLDA, 
   ============================================================ */
  .item-divider {
    border: 0;
    border-top: 1px solid #eee; /* Çizginin rengi ve kalınlığı */
    margin: 20px 0 !important;   /* Üstten ve alttan 20px boşluk, sağ-sol 0 */
    opacity: 0.8;                /* Çizgiyi biraz daha soft/hafif yapar */
} 
   
  .total-price-wrapper { 
   display: flex !important;
   flex-direction: column !important;
   align-items: flex-end !important;
  }
   
.summary-product-list {
    background-color: #ffffff !important;
    border-radius: 1px 1px 0 0;
    padding: 20px;
}

/* Din Beställning Başlığı */
.summary-title {
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    padding-bottom: 0px !important;
    margin-left: 20px;
    color: #111;
}

.summary-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 15px !important;
    padding: 0px 0 !important;
}

.item-thumb {
    width: 80px !important;
    height: 110px !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
     
}

/* 2. Detay Alanı: Her şeyi resmin sağında ALT ALTA dizer */
.item-details-wrapper {
    display: flex !important;
    flex-direction: row !important;      /* Bilgiler ve Fiyatı yan yana koy */
    justify-content: space-between !important; /* Bilgileri sola, fiyatı en sağa it */
    align-items: flex-start !important;
    flex: 1 !important;
    gap:10px !important;
}

/* 3. İç Gruplar (İsim, Fiyat vb.): Gereksiz sağa yaslamaları iptal et */
.item-actions {
    display: flex !important;
    flex-direction: column !important;   /* Fiyat ve Butonu alt alta diz */
    align-items: flex-end !important;    /* Hepsini kutunun en sağına yasla */
    justify-content: flex-start !important;
    text-align: right !important;
    min-width: 80px !important; /* Fiyatın sıkışmaması için alan ayır */
    min-height: 150px !important; 
}

.item-name {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    
    /* Kısaltma Mantığı */
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    
    /* KRİTİK DEĞİŞİKLİK: Sabit px yerine genişlik sınırlaması */
    width: 100%;
    max-width: 65vw; /* Ekran genişliğinin %65'inden fazlasını kaplayamaz, resme yer kalır */
}





/* 2. ÜRÜN ÖLÇÜSÜ (Beden vb.) */
.item-size {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #777 !important; /* Biraz daha soluk gri yaparak ismi öne çıkarır */
    margin-top: 2px !important;
    margin-bottom: 30px;
}

.old-price {
    order: 2 !important;
    text-decoration: line-through !important;
    color: #999 !important;
    font-size: 16px !important;
    margin-bottom: 2px !important;
    font-weight: 600 !important;
}

.item-price {
    order: 1 !important;
    color: #e02020 !important; /* İndirimi vurgulamak için kırmızı */
     font-weight: 600 !important;
    font-size: 16px !important;
}

/* Yazım hatası düzeltilmiş hali */
.total-line.savings-row {
    order: 3 !important;
    color: #e63946 !important; /* İndirim olduğu için genelde kırmızı/yeşil vurgulanır */
}


/* 6. SİLME BUTONU (Ta Bort) */
.remove-btn {
    order: 3 !important;
    color: #666 !important;
    font-size: 12px !important;
    text-decoration: underline !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin-top: 35px !important;
    cursor: pointer !important;
}

/* Kompakt Quantity Kutusu */
.quantity-control{
    display: inline-flex !important;
    align-items: center !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 1px !important; /* Daha keskin, modern köşeler */
    background: #fff !important;
    margin-top: 15px !important;
    height: 24px !important; /* Yüksekliği iyice düşürdük */
    overflow: hidden !important;
}


/* Artı/Eksi Butonları */
.qty-btn {
    background: #fafafa !important;
    border: none !important;
    width: 24px !important; /* Genişlik ve yükseklik eşit */
    height: 24px !important;
    cursor: pointer !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #555 !important;
    padding: 0 !important;
    transition: all 0.2s !important;
}

/* Ortadaki Rakam Alanı (Input) Düzenlemesi */
.qty-display {
    width: 30px !important;
    height: 24px !important;    /* Ana kutuyla (24px) birebir aynı yap */
    font-size: 13px !important;
    font-weight: 500 !important;
    text-align: center !important;
    color: #000 !important;      /* Kesin siyah yaptık */
    background-color: #fff !important; /* Arka planın beyaz olduğundan emin olalım */
    
    /* GÖRÜNMEME SORUNUNU ÇÖZEN KRİTİK EKLEMELER: */
    border: none !important;     /* Kendi kenarlıklarını kaldır */
    border-left: 1px solid #e0e0e0 !important;
    border-right: 1px solid #e0e0e0 !important;
    padding: 0 !important;       /* İç boşluğu sıfırla ki rakam sığsın */
    margin: 0 !important;
    display: block !important;
    outline: none !important;    /* Tıklayınca mavi çerçeve çıkmasın */
    -webkit-appearance: none;    /* Tarayıcı stilini devre dışı bırak */
}

.qty-btn:hover {
    background: #f0f0f0 !important;
    color: #000 !important;
}

/* ============================================================
   4. TOPLAM HESAP VE ÖZET ALANI SIRA DÜZENİ
   ============================================================ */
.totals-area {
    display: flex;
    flex-direction: column; /* Order özelliğinin çalışması için şart */
    background-color: #f8f8f8 !important;
    border: 1px solid #eeeeee;
    border-top: none;
    border-radius: 0 0 1px 1px;
    padding: 25px 20px;
}

/* Tüm satırlar için genel Flex ayarı */
.total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

/* --- SIRALAMA (ORDER) AYARLARI --- */

/* 1. SIRA: Ürünler (Varsayılan tüm satırlar) */
.total-line {
    order: 1;
}

/* 2. SIRA: Frakt */
.static-shipping-text {
     font-size: 18px !important;
    font-weight: 500 !important;
    order: 2 !important;
}



/* 4. SIRA: Grand Total (En alt) */
.grand-total {
        font-size: 24px !important;
    font-weight: 500 !important;
    color: #000 !important;
    order: 4 !important;
    border-top: 1px solid #e5e5e5;
    padding-top: 5px;
    margin-top: 5px;
}

/* --- METİN VE RENK STİLLERİ --- */

/* Sol taraf (Etiketler) */
.total-line span:first-child {
    font-size: 18px !important;
    color: #444 !important; /* Bir tık grileşti */
    font-weight: 600 !important;
}

#subtotal-display {
    font-size: 18px !important; /* Rakamın boyutu */
    font-weight: 600 !important; /* Kalınlık */
    color: #000 !important;     /* Renk siyah */
    text-align: right;
}

#savings-display {
    font-size: 18px !important; /* Rakamın boyutu */
    font-weight: 600 !important; /* Kalınlık */
    color: #e02020  !important;     /* Renk siyah */
    text-align: right;
}

#shipping-display {
    font-size: 18px !important; /* Rakamın boyutu */
    font-weight: 600 !important; /* Kalınlık */
    color: #000 !important;     /* Renk siyah */
    text-align: right;
}

/* Ana Fiyat Rakamı */
#grand-total-display {
    font-size: 24px !important; /* Rakam büyük kalsın */
    font-weight: 700 !important;
    color: #000 !important;
    display: block !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    margin-top: 0px;
    padding-top: 25px;
}

/* Vergi Yazısı (Kesin Çözüm) */
.moms-mini-text {
    font-size: 14px !important; /* Çok küçük yaptık */
    font-weight: 500 !important;
    color: #888 !important;
    display: block !important;
    text-align: right !important;
    margin-top: 10px !important; /* Rakamla arasını biraz daralttık */
    text-transform: lowercase !important;
}

.checkout-section-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1px;
    padding: 30px;
    margin-bottom: 24px;
}

/* ==========================================
   7. FORM ELEMENTS
   ========================================== */
.checkout-section-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1px;
    padding: 20px;
    margin-bottom: 20px;
}

.form-row-split {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 16px; /* Prevents zoom on iOS */
}

.form-group input:focus {
    outline: none;
    border-color: #1a1a1a;
}

.form-group input.input-error {
    border: 2px solid #e54d42;
    background-color: #fff8f8;
}

.mb-15 { margin-bottom: 15px; }
.mt-20 { margin-top: 20px; }

/* Checkbox & Terms */
.custom-checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    cursor: pointer;
    margin-top: 20px;
    font-size: 13px;
}

.terms-text { 
    font-size: 13px; 
    line-height: 1.4;
    color: #666;
}

.text-error {
    color: #e54d42;
}

/* Payment Button */
#payment-element {
    margin-top: 20px;
    min-height: 200px;
}

.main-checkout-btn {
    width: 100%;
    padding: 16px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
    transition: background-color 0.2s ease;
    position: relative;
}

.main-checkout-btn:hover {
    background-color: #1a1a1a;
}

.main-checkout-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Stock Error */
.stock-error {
    display: none;
    color: #e54d42;
    font-size: 11px;
    margin-top: 5px;
    font-weight: 500;
}

/* Spinner */
.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid #ffffff;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    animation: rotation 1s linear infinite;
    margin-right: 8px;
}

@keyframes rotation {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ==========================================
   8. FOOTER
   ========================================== */
.custom-checkout-footer {
    background-color: #f9f9f9;
    padding: 40px 15px 30px;
    border-top: 1px solid #eee;
    text-align: center;
    margin-top: 50px;
    width: 100%;
}

.custom-checkout-footer .checkout-container {
    max-width: 900px;
    margin: 0 auto;
}

.checkout-info-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    width: 100%;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    max-width: 120px;
    min-width: 0;
}

.info-item i {
    font-size: 22px;
    color: #333;
    margin-bottom: 8px;
}

.info-title {
    font-size: 12px;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
}

.info-desc {
    font-size: 11px;
    color: #666;
    line-height: 1.3;
}

.footer-help-section {
    margin: 30px 0;
}

.help-text {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.footer-btn-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.footer-outline-btn {
    padding: 12px 25px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-decoration: none;
    color: #444;
    font-size: 13px;
    font-weight: 500;
    background: white;
    transition: all 0.2s ease;
    width: 100%;
    max-width: 280px;
}

.footer-outline-btn:hover {
    background: #f0f0f0;
    border-color: #bbb;
}

.footer-bottom-brand {
    margin-top: 30px;
    padding-bottom: 20px;
    text-align: center;
}

.footer-text-logo {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #333;
    margin-bottom: 15px;
    text-transform: uppercase;
    display: block;
}

.copyright {
    font-size: 11px;
    color: #999;
    margin-top: 10px;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.experience-text {
    font-size: 10px;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0;
}

/* ==========================================
   9. DESKTOP STYLES (min-width: 1024px)
   ========================================== */
@media (min-width: 1024px) {
    /* Layout Grid */
    .checkout-grid-modern {
        display: grid;
        grid-template-columns: 63% 37%;
        gap: 50px;
        padding: 0 20px;
        margin: 40px auto;
    }
    
    .checkout-main-content {
        order: 1;
    }
    
    .order-summary-column {
        order: 2;
        position: sticky;
        top: 40px;
        z-index: 10;
    }
    
    /* Header */
    .custom-minimal-header {
        padding: 30px 80px;
    }
    
    .checkout-modern-header {
        width: 1140px;
        padding-top: 40px;
        margin-bottom: 30px;
    }
    
    .checkout-modern-header h1 {
        font-size: 34px;
        margin: 0 0 15px 90px;
    }
    
    .full-width-form-border {
        width: 63%;
        margin-left: 90px;
    }
    
    /* Cart Empty State */
    .cart-empty-state {
        padding: 60px 20px;
        margin: 40px auto;
    }
    
    .cart-empty-state p {
        font-size: 1.4rem;
    }
    
    .cart-empty-state a {
        padding: 15px 40px;
        font-size: 1rem;
        width: auto;
        max-width: none;
    }
    
    /* Product List */
    .summary-product-list {
        padding: 20px;
        border-left: 1px solid #eee;
        border-right: 1px solid #eee;
        border-top: 1px solid #eee;
        border-bottom: none;
    }
    
    .summary-title {
        font-size: 1.6rem;
        margin-left: 20px;
    }
    
    .summary-item {
        padding: 15px 0;
        border-bottom: 1px solid #eee;
        gap: 20px;
    }
    
    .item-name {
        font-size: 16px;
        max-width: 300px;
    }
    
    .item-actions {
        min-width: 100px;
    }
    
    /* Totals */
    .totals-area {
        padding: 25px 20px;
    }
    
    .grand-total {
        font-size: 24px;
    }
    
    #grand-total-display {
        font-size: 24px;
    }
    
    .total-line span:first-child,
    #subtotal-display,
    #savings-display,
    #shipping-display,
    .static-shipping-text {
        font-size: 18px;
    }
    
    .moms-mini-text {
        font-size: 14px;
        margin-top: 10px;
    }
    
    /* Forms */
    .checkout-section {
        max-width: 100%;
    }
    
    .form-row-split {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    /* Footer */
    .checkout-info-grid {
        gap: 60px;
    }
    
    .info-item {
        max-width: none;
        min-width: 140px;
    }
    
    .info-item i {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .info-title {
        font-size: 14px;
    }
    
    .info-desc {
        font-size: 13px;
    }
    
    .footer-btn-group {
        flex-direction: row;
        justify-content: center;
    }
    
    .footer-outline-btn {
        width: auto;
        max-width: none;
    }
}


/* ============================================================
   TABLET ODAKLI (FORMU GENİŞLETEN) GÜNCELLEME
   ============================================================ */
@media (max-width: 1024px) {
    /* ANA YAPI - Tüm çocuklar tam genişlikte olsun */
    .checkout-grid-modern {
        display: flex !important;
        flex-direction: column !important;
        /* Tüm çocuklar (form ve sepet) yatayda tam genişlikte olsun */
        align-items: stretch !important; /* 👈 BU EKSİK! */
        padding: 0 !important;
        margin: 0 !important;
        gap: 0 !important;
        width: 100% !important;
    }   
    
     .checkout-modern-header h1 {
        margin-left: 0 !important; /* Desktop'taki 90px'i kaldır */
        padding-left: 20px !important; /* Soldan içeri al (15-20px arası) */
        text-align: left !important; /* Sola yasla */
        font-size: 26px !important; /* Tablet için boyut */
    }

    /* CONTAINER padding'i kaldır (tam ekran olsun) */
    #checkout-main-container {
        padding-left: 0 !important; /* 👈 15px'leri kaldır */
        padding-right: 0 !important;
        width: 100% !important;
    }
    
    /* SEPET (Üstte zaten iyi çalışıyor demişsin) */
    .order-summary-column {
        order: -1 !important; 
        width: 100% !important;
        margin-bottom: 20px !important;
        /* align-self: stretch; zaten implicit */
    }

    /* FORM ALANI - Tam genişlikte ve solda boşluk olmadan */
    .checkout-main-content {
        order: 1 !important;
        width: 100% !important;
        max-width: 100% !important; /* Desktop max-width'ini ez */
        /* Başka yerden gelen margin-left/margin-right'i sıfırla */
        margin-left: 0 !important;
        margin-right: 0 !important;
        align-self: stretch !important; /* 👈 Flex içinde tam genişlik */
        padding: 0 15px !important; /* Hafif iç boşluk */
        box-sizing: border-box !important;
    }

    /* FORM KARTLARI - Kenarlara yaslanmış */
    .checkout-section-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 15px 0 !important; /* Sadece alt boşluk */
        padding: 15px !important;
        border-radius: 0 !important; /* Tam ekran görünümü */
    }

    /* Ürün özet kartları zaten iyiymiş ama garanti olsun */
    .summary-product-list, 
    .totals-area {
        width: 100% !important;
        margin: 0 0 15px 0 !important;
        padding: 15px !important;
        border-radius: 0 !important;
    }

    /* Diğer kodların aynen kalabilir... */
    .summary-item {
        display: grid !important;
        grid-template-columns: 80px 1fr auto !important;
        gap: 10px !important;
        align-items: start !important;
        padding: 15px 0 !important;
    }

    .item-thumb {
        width: 80px !important;
        height: 105px !important;
        grid-row: 1 / 3 !important;
    }

    .item-actions {
        grid-column: 3 !important;
        grid-row: 1 / 3 !important;
    }

    .form-row-split {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important; /* 2 eşit sütun */
        gap: 15px !important; /* Arada boşluk */
        margin-bottom: 15px !important;
    }
    
    /* Form grupları tam genişlikte olsun */
    .form-row-split .form-group {
        width: 100% !important;
        margin-bottom: 0 !important; /* Alt boşlukları kaldır, gap halleder */
    }
    
    /* Eğer .flex-half class'ı varsa onu da düzelt */
    .form-row-split .flex-half {
        width: 100% !important;
    }
}

/* 768px Altı Ekstra İnce Ayarlar */
@media (max-width: 768px) {
    .item-name {
        font-size: 14px !important;
        font-weight: 600 !important;
        margin: 0 !important;
        max-width: 10ch !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: block !important;
    }
    
    /* EKSİK: Sağ taraf (Fiyat + Silme butonu) görünür ve konumlu olsun */
    .summary-item {
        display: grid !important;
        grid-template-columns: 80px 1fr auto !important; /* Resim | İsim | Fiyat/Silme */
        gap: 10px !important;
        align-items: start !important;
    }
    
    /* Sağ kolon - Fiyat üstte, Silme butonu altta */
    .item-actions {
        grid-column: 3 !important;
        grid-row: 1 / 3 !important; /* 2 satır kapla */
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important; /* Sağa yasla */
        justify-content: space-between !important; /* Üstte fiyat, altta buton */
        min-width: 70px !important; /* Sıkışmasın */
        height: 100% !important;
    }
    
    .item-price {
        font-size: 15px !important;
        font-weight: 700 !important;
        color: #e02020 !important;
        margin: 0 !important;
    }
    
    .old-price {
        font-size: 15px !important;
        color: #999 !important;
        text-decoration: line-through !important;
    }
    
    .remove-btn {
        font-size: 12px !important;
        color: #666 !important;
        text-decoration: underline !important;
        background: none !important;
        border: none !important;
        padding: 0 !important;
        margin-top: 40px !important; 
    }
}


@media (max-width: 1024px) {
    
    /* Body'ye header icin yer ac */
    body {
        padding-top: 60px !important; /* Header yuksekligi kadar (padding: 15px + elemanlar) */
    }
    
    /* Header - En uste sabitle */
    .custom-minimal-header {
        position: fixed !important; /* Sticky yerine fixed */
        top: 0 !important;          /* En yukari */
        left: 0 !important;         /* En sol */
        right: 0 !important;        /* En sag */
        width: 100% !important;
        margin: 0 !important;       /* Marginleri kaldir */
        padding: 12px 15px !important; /* Hafif padding */
        z-index: 9999 !important;   /* Her seyin ustunde */
        background-color: #fff !important; /* Arkaplan kesin olsun */
        backdrop-filter: none !important; /* Blur'u kapat (performans ve gorunum icin) */
        box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important; /* Hafif golge */
    }
    
    /* Top bar varsa ve gizlemiyorsan onu da duzelt */
    .checkout-top-bar {
        display: none !important; /* Gizli degilse gizle */
    }
    
    /* Logo vs ortadaysa duzelt */
    .custom-minimal-header .logo-text {
        margin: 0 !important;
    }
}

/* Daha dar ekranlarda header yuksekligi ayari */
@media (max-width: 768px) {
    body {
        padding-top: 55px !important; /* Daha kisa header */
    }
    
    .custom-minimal-header {
        padding: 10px 15px !important;
    }
    
     .nav-link span {
        display: none !important; /* Sadece ikonlar kalsın */
    }
}