/* Teklife Ekle Butonlar ve Miktar */
body .olur-add-quote {
    background: #e10613 !important; 
    border: none !important; 
    color: #fff !important; 
    border-radius: 6px !important; 
    font-weight: 700 !important;
    padding: 0 32px !important; 
    font-size: 14px !important; 
    height: 48px !important; 
    display: inline-flex !important; 
    align-items: center !important;
    justify-content: center !important; 
    transition: .2s !important; 
    text-decoration: none !important; 
    cursor: pointer !important;
}
body .olur-add-quote:hover { 
    filter: brightness(1.1) !important; 
}

body .olur-add-quote.olur-added {
    background: #fff !important; 
    color: #e10613 !important;
    border: 1px solid #e10613 !important;
    cursor: default !important; 
    opacity: 1 !important;
}
body .olur-add-quote:disabled {
    background: #999 !important; 
    color: #fff !important;
    border: 1px solid #999 !important;
    cursor: default !important; 
    opacity: 0.7 !important;
}
body .olur-add-quote.olur-loading {
    background: #6c757d !important; 
    cursor: wait !important;
}

body .olur-qty-spinner {
    display: inline-flex !important; 
    align-items: center !important; 
    border: 1px solid #e10613 !important; 
    border-radius: 6px !important; 
    height: 48px !important; 
    overflow: hidden !important;
}
body .olur-qty-btn {
    background-color: #e10613 !important;
    border: none !important; 
    color: #fff !important; 
    cursor: pointer !important;
    font-size: 20px !important; 
    font-weight: 700 !important; 
    height: 100% !important; 
    padding: 0 14px !important; 
    transition: background-color .2s !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
body .olur-qty-btn:hover { 
    background-color: #c1000a !important; 
}
body .olur-qty-btn:disabled { 
    background-color: #999 !important; 
    color: #d1d5db !important; 
    cursor: not-allowed !important; 
}
body .olur-qty-down { 
    border-right: none !important; 
}
body .olur-qty-up { 
    border-left: none !important; 
}

/* Sayı Girişi Düzeltmeleri */
body .olur-qty-inline, 
body .olur-quote-qty-input {
    width: 45px !important; 
    height: 100% !important; 
    text-align: center !important; 
    font-size: 16px !important; 
    color: #111 !important;
    border: none !important; 
    border-left: 1px solid #d1d5db !important;
    border-right: 1px solid #d1d5db !important;
    padding: 0 5px !important; 
    box-sizing: border-box !important; 
    background: #fff !important;
    
    -moz-appearance: textfield !important; 
    appearance: textfield !important; 
}
body .olur-qty-inline::-webkit-outer-spin-button, 
body .olur-qty-inline::-webkit-inner-spin-button,
body .olur-quote-qty-input::-webkit-outer-spin-button, 
body .olur-quote-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none !important; 
    margin: 0 !important;
}

/* Buton Konumlandırma */
body .olur-single-btn .olur-quote-cta,
body .olur-loop-btn.olur-quote-cta { 
    gap: 8px !important; 
    margin-top: 10px !important; 
    display: flex !important;
    align-items: center !important; 
    padding: 0 10px 10px 10px !important;
}
body .olur-single-btn .olur-qty-spinner { 
    margin-right: 8px !important; 
}
body .olur-loop-btn.olur-quote-cta {
    flex-shrink: 1 !important; 
    min-width: 200px !important; 
}
body .olur-loop-btn.olur-quote-cta .olur-qty-spinner { 
    width: auto !important; 
    flex-shrink: 0 !important; 
}
body .olur-loop-btn.olur-quote-cta .olur-qty-inline { 
    width: 45px !important;
    flex: 0 !important; 
}
body .olur-loop-btn.olur-quote-cta .olur-add-quote {
    width: auto !important; 
    flex-grow: 1 !important; 
    padding: 0 10px !important; 
}
body a.olur-loop-btn.olur-view-options {
    height: 40px !important; 
    font-size: 14px !important; 
    padding: 0 10px !important; 
    width: 100% !important;
    margin-top: 10px !important;
    display: flex !important; 
    align-items: center !important; 
    justify-content: center !important; 
    box-sizing: border-box !important;
}


/* Yüzen Buton */
body .olur-quote-fab {
    position: fixed !important; 
    right: 40px !important; 
    top: 70px !important; 
    bottom: auto !important;
    left: auto !important;
    
    z-index: 9999 !important; 
    background: #e10613 !important;
    border: 1px solid #e10613 !important; 
    box-shadow: 0 6px 16px rgba(0,0,0,.15) !important;
    border-radius: 12px !important; 
    padding: 6px 12px !important; 
    display: flex !important; 
    align-items: center !important;
    gap: 6px !important; 
    transition: .2s !important;
}
body .olur-quote-fab:hover { 
    box-shadow: 0 8px 24px rgba(0,0,0,.22) !important; 
    filter: brightness(1.1) !important;
}
body .olur-float-link {
    display: flex !important; 
    align-items: center !important; 
    text-decoration: none !important;
    color: #fff !important; 
    font-weight: 600 !important; 
    gap: 8px !important;
}
body .olur-float-icon { 
    font-size: 18px !important; 
    display: flex !important; 
    align-items: center !important; 
}
body .olur-float-svg {
    width: 22px !important;
    height: 22px !important;
    fill: #fff !important; 
}
body .olur-float-text { 
    white-space: nowrap !important; 
}
body .olur-float-count {
    background: #fff !important; 
    color: #e10613 !important; 
    font-weight: 700 !important; 
    padding: 2px 8px !important;
    border-radius: 8px !important; 
    font-size: 14px !important; 
    min-width: 24px !important; 
    text-align: center !important;
}
@media(max-width:768px) {
    body .olur-quote-fab { 
        right: 20px !important; 
        top: 60px !important; 
        padding: 5px 10px !important; 
    }
    body .olur-float-text { 
        display: none !important; 
    }
}

/* Kısa Kod Sayfası: Liste ve Form */
body .olur-quote-page-container { 
    display: flex !important; 
    flex-wrap: wrap !important; 
    gap: 30px !important; 
}
body .olur-quote-list-wrapper { 
    flex: 6 !important; 
    min-width: 300px !important; 
}
body .olur-quote-form-wrapper {
    flex: 4 !important; 
    min-width: 300px !important; 
    background: #f9fafb !important;
    border: 1px solid #e5e7eb !important; 
    padding: 24px !important; 
    border-radius: 8px !important;
}
@media (max-width:992px) {
    body .olur-quote-page-container { 
        flex-direction: column !important; 
    }
    body .olur-quote-list-wrapper, 
    body .olur-quote-form-wrapper { 
        flex: 1 !important; 
    }
}

/* Liste Tablosu */
body .olur-quote-table {
    width: 100% !important;
    border-collapse: separate !important; 
    border-spacing: 0 !important;
    
    margin-bottom: 30px !important;
    border: 1px solid #e5e7eb !important; 
    box-shadow: 0 2px 8px rgba(0,0,0,.05) !important;
    border-radius: 8px !important; 
    overflow: hidden !important;
}
body .olur-quote-table th, 
body .olur-quote-table td {
    padding: 16px !important; 
    text-align: left !important; 
    vertical-align: middle !important;
    border-bottom: 1px solid #e5e7eb !important;
    background: #fff !important;
}
body .olur-quote-table th { 
    background-color: #f9fafb !important; 
    font-weight: 600 !important; 
}
body .olur-quote-table tbody tr:last-child td { 
    border-bottom: none !important; 
}
body .olur-quote-table .product-thumbnail { 
    width: 80px !important; 
}
body .olur-quote-table .product-thumbnail img {
    width: 60px !important; 
    height: 60px !important; 
    border-radius: 4px !important; 
    object-fit: cover !important;
}
body .olur-quote-table .product-name a { 
    font-weight: bold !important; 
    color: #111 !important; 
    text-decoration: none !important; 
}
body .olur-quote-table .product-name a:hover { 
    color: #e10613 !important; 
}
body .olur-quote-table .product-sku { 
    font-size: 14px !important; 
    color: #666 !important; 
}
body .olur-quote-table .product-remove { 
    text-align: center !important; 
    width: 40px !important; 
}

body .olur-remove-quote-item {
    background: none !important; 
    color: #e10613 !important; 
    border: none !important;
    border-radius: 0 !important; 
    width: auto !important; 
    height: auto !important; 
    font-size: 28px !important; 
    font-weight: 700 !important; 
    line-height: 1 !important; 
    cursor: pointer !important; 
    padding: 0 !important;
    transition: all .2s ease !important;
}
body .olur-remove-quote-item:hover {
    background: none !important; 
    color: #111 !important; 
    border: none !important;
}

/* DÜZELTME v9.3.8: Liste içi spinner ayarları (Baştan Yaratıldı) */
body .olur-quote-table .olur-qty-spinner-list { 
    width: 110px !important; 
    height: 40px !important;
    border: 1px solid #e10613 !important; 
    border-radius: 6px !important;
    overflow: hidden !important;
    display: flex !important; /* Ana konteyner flex oldu */
    align-items: center !important;
    justify-content: center !important;
}
body .olur-quote-table .olur-qty-spinner-list .olur-qty-btn {
    background-color: #e10613 !important;
    color: #fff !important;
    height: 100% !important; /* Yüksekliği %100 yap */
    width: 35px !important; /* Sabit genişlik */
    padding: 0 !important;
    border-radius: 0 !important;
    font-size: 20px !important;
    line-height: 40px !important; /* Dikey ortalama */
    box-sizing: border-box !important;
    flex-shrink: 0 !important; /* Küçülmesin */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
body .olur-quote-table .olur-qty-spinner-list .olur-qty-btn:hover {
    background-color: #c1000a !important;
}
body .olur-quote-table .olur-qty-spinner-list .olur-qty-input { 
    width: 40px !important; /* Sabit genişlik */
    height: 100% !important; /* Yüksekliği %100 yap */
    border: none !important;
    border-left: 1px solid #d1d5db !important;
    border-right: 1px solid #d1d5db !important;
    padding: 0 !important; /* Temanın padding'ini sıfırla */
    margin: 0 !important; /* Temanın margin'ini sıfırla */
    text-align: center !important;
    box-sizing: border-box !important; /* Padding/Border kutuya dahil */
    flex-grow: 1 !important; /* Kalan alanı doldur (opsiyonel) */
}

body .product-variation-details {
    display: block !important; 
    font-size: 0.9em !important; 
    color: #666 !important;
}
body tr.olur-item-removing { 
    opacity: 0.4 !important; 
    transition: opacity 0.3s ease !important; 
}

/* Geri Al (Undo) Bildirimi */
body .olur-undo-notice {
    background: #e10613 !important; 
    color: #fff !important;
    border-left: 4px solid #fff !important; 
    
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    padding: 0 15px !important; 
    transition: all 0.3s ease-in-out !important;

    align-items: center !important; 
    justify-content: space-between !important;
    display: flex !important; 
}
body .olur-undo-notice.is-visible {
    max-height: 100px !important; 
    opacity: 1 !important;
    padding: 15px !important; 
    margin-bottom: 20px !important;
}
body .olur-undo-notice button {
    background: #fff !important; 
    color: #e10613 !important; 
    border: none !important; 
    padding: 5px 10px !important;
    border-radius: 4px !important; 
    cursor: pointer !important; 
    font-weight: bold !important;
}
body .olur-undo-notice button:hover { 
    filter: brightness(0.9) !important; 
}

/* Teklif Formu */
body .olur-quote-form-wrapper h3 { 
    margin-top: 0 !important; 
    margin-bottom: 10px !important; 
}
body .olur-form-field { 
    margin-bottom: 16px !important; 
}
body .olur-form-field label {
    display: block !important; 
    font-weight: 600 !important; 
    margin-bottom: 6px !important; 
    font-size: 14px !important;
}
body .olur-form-field input[type="text"],
body .olur-form-field input[type="email"],
body .olur-form-field textarea {
    width: 100% !important; 
    padding: 12px !important; 
    border: 1px solid #d1d5db !important; 
    border-radius: 6px !important;
    font-size: 16px !important; 
    box-sizing: border-box !important;
    background: #fff !important;
}
body .olur-form-field textarea { 
    height: 120px !important; 
}
body .olur-submit-quote-btn {
    width: 100% !important; 
    background: #e10613 !important; 
    color: #fff !important; 
    padding: 14px 20px !important;
    text-decoration: none !important; 
    border-radius: 6px !important; 
    font-weight: 700 !important; 
    font-size: 16px !important;
    border: none !important; 
    cursor: pointer !important; 
    transition: .2s !important;
}
body .olur-submit-quote-btn:hover { 
    filter: brightness(1.1) !important; 
}
body .olur-submit-quote-btn:disabled { 
    background: #999 !important; 
    cursor: not-allowed !important; 
}

/* Form Hata Mesajları */
body .olur-form-message {
    padding: 15px !important; 
    margin-bottom: 20px !important; 
    border-radius: 6px !important;
    font-weight: 500 !important; 
    display: none !important;
}
body .olur-form-message.error { 
    background: #fbeaea !important; 
    border: 1px solid #e10613 !important; 
    color: #e10613 !important; 
}
body .olur-form-message.success { 
    background: #eaf7eb !important; 
    border: 1px solid #28a745 !important; 
    color: #28a745 !important; 
}