/**
 * Siparis Sayfasi CSS
 * @package Cicekci
 */

/* ========================================
   SIPARIS DEGISKENLERI
   ======================================== */
:root {
    --siparis-primary: #1f2937;
    --siparis-primary-dark: #111827;
    --siparis-gradient: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    --siparis-success: #1f2937;
    --siparis-success-light: #374151;
    --siparis-success-gradient: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    --siparis-danger: #dc3545;
    --siparis-warning: #f39c12;
    --siparis-text: #1f2937;
    --siparis-text-light: #4b5563;
    --siparis-text-muted: #9ca3af;
    --siparis-border: #e5e7eb;
    --siparis-bg: #fafafa;
    --siparis-radius: 12px;
    --siparis-radius-sm: 10px;
    --siparis-green: #00C853;
    --siparis-green-dark: #00a844;
}

/* ========================================
   GENEL STILLER
   ======================================== */

.siparis-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px;
    background: #fafafa;
    border-radius: 16px;
}

.siteye-don {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #696969;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 20px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.2s;
}

.siteye-don:hover {
    color: #2d3436;
    background: #eee;
    text-decoration: none;
}

/* ========================================
   SECTION CARDS
   ======================================== */

.section-card {
    background: #fff;
    border-radius: var(--siparis-radius);
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid var(--siparis-border);
}

.section-header {
    background: #fff;
    color: var(--siparis-text);
    padding: 18px 22px;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--siparis-border);
    position: relative;
    overflow: visible;
}

.section-header::before {
    display: none;
}

.section-header::after {
    display: none;
}

@keyframes headerShimmer {
    0% { left: -60%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.section-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--siparis-text);
    text-transform: none;
    white-space: nowrap;
}

.section-header .bi {
    font-size: 22px;
    color: var(--siparis-text-light);
    flex-shrink: 0;
}

.kayitli-adres-header-sec {
    margin-left: auto;
    padding: 6px 28px 6px 12px;
    font-size: 12px;
    background: #f9fafb;
    color: var(--siparis-primary);
    border: 1px solid var(--siparis-border);
    border-radius: 8px;
    cursor: pointer;
    max-width: 200px;
    flex-shrink: 0;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%239ca3af'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    text-overflow: ellipsis;
    z-index: 1;
    position: relative;
    font-weight: 500;
    transition: border-color 0.2s;
}
.kayitli-adres-header-sec:focus {
    outline: none;
    border-color: var(--siparis-primary);
}
.kayitli-adres-header-sec option {
    color: #333;
    background: #fff;
}

.kayitli-adres-edit-sec {
    margin-left: auto;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 400;
    color: #6366f1;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    cursor: pointer;
    max-width: 180px;
    background: #f9fafb;
    flex-shrink: 0;
}
.kayitli-adres-edit-sec:focus {
    outline: none;
    border-color: #6366f1;
}

.section-header.green,
.sepet-header {
    background: #fff;
    color: var(--siparis-text);
    border-bottom: 1px solid var(--siparis-border);
}

.section-body {
    padding: 22px;
}

/* ========================================
   FORM STILLERI
   ======================================== */

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--siparis-text-light);
    margin-bottom: 6px;
}

.form-group label .bi {
    color: var(--siparis-text-muted);
    margin-right: 4px;
}

.siparis-container .form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--siparis-border);
    border-radius: var(--siparis-radius-sm);
    font-size: 14px;
    background: #f9fafb;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.siparis-container .form-control:focus {
    outline: none;
    border-color: var(--siparis-primary);
    box-shadow: 0 0 0 3px rgba(31, 41, 55, 0.1);
    background: #fff;
}

textarea.form-control {
    resize: vertical;
    min-height: 60px;
}

/* ========================================
   INPUT IKON WRAP
   ======================================== */
.input-ikon-wrap {
    position: relative;
    display: flex;
    align-items: stretch;
}
.input-ikon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: #9ca3af;
    z-index: 2;
    pointer-events: none;
    transition: color 0.2s;
}
.input-ikon-textarea .input-ikon {
    top: 16px;
    transform: none;
}
.input-ikon-wrap .form-control.has-ikon {
    padding-left: 40px;
}
.input-ikon-wrap:focus-within .input-ikon {
    color: var(--siparis-primary, #1f2937);
}

/* ========================================
   SWITCH TOGGLE
   ======================================== */

.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
}

input:checked + .slider {
    background-color: var(--siparis-primary);
}

input:checked + .slider:before {
    transform: translateX(20px);
}

.slider.round {
    border-radius: 24px;
}

.slider.round:before {
    border-radius: 50%;
}

/* ========================================
   SEPET
   ======================================== */

.sepet-container {
    position: static;
}

.sepet-header {
    display: flex;
    align-items: center;
}

.sepet-badge {
    background: var(--siparis-primary);
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    margin-left: 10px;
}

.sepet-temizle-btn {
    margin-left: auto;
    background: #f3f4f6;
    border: 1px solid var(--siparis-border);
    color: #6b7280;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

.sepet-temizle-btn:hover {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
}

.sepet-body {
    max-height: none;
    overflow-y: visible;
    padding: 4px !important;
}

/* Sepet Urunu */
.sepet-item {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    position: relative;
}

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

.sepet-item img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.sepet-item-info {
    flex: 1;
    min-width: 0;
}

.sepet-item-name {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sepet-item-price {
    display: block;
    color: var(--siparis-primary);
    font-weight: 700;
    font-size: 15px;
}

.sepet-item-tarih {
    font-size: 11px;
    color: #888;
    margin-top: 5px;
}

.sepet-item-tarih .bi {
    font-size: 10px;
    margin-right: 2px;
}

.sepet-item-controls {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

.sepet-qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.sepet-qty-btn:hover {
    background: #e8e8e8;
}

.sepet-qty-input {
    width: 40px;
    height: 36px;
    text-align: center;
    border: none;
    font-weight: 600;
    font-size: 13px;
}

.sepet-item-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #ff6b6b;
    cursor: pointer;
    font-size: 18px;
    background: none;
    border: none;
    padding: 5px;
    line-height: 1;
}

.sepet-item-remove:hover {
    color: #ff4757;
}

/* Sepet Bos */
.sepet-bos-mesaj {
    text-align: center;
    padding: 40px 20px;
}

.sepet-bos-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.sepet-bos-mesaj p {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.sepet-bos-mesaj small {
    color: #888;
    display: block;
    margin-bottom: 20px;
}

.btn-siteye-don {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--siparis-primary);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
}

.btn-siteye-don:hover {
    color: white;
    text-decoration: none;
    opacity: 0.9;
}

/* ========================================
   FIYAT OZETI - MODERN 2x2 GRID TASARIM
   ======================================== */

.fiyat-ozeti-body {
    padding: 14px 20px !important;
}

/* Fiyat Ozeti kartina ust accent cizgi */
#fiyat-ozeti-card {
    border-top: 3px solid var(--siparis-primary);
}

/* Fiyat toplam degeri koyu renkte kalsin */
.fiyat-toplam-deger {
    color: var(--siparis-text) !important;
}

/* Fiyat Ozeti - Kompakt Liste */
.fiyat-grid {
    display: flex;
    flex-direction: column;
}

.fiyat-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid #dfe2e6;
}

.fiyat-box:last-child {
    border-bottom: none;
}

.fiyat-box-icon {
    font-size: 14px;
    color: #696969;
    margin-right: 8px;
}

.fiyat-box-label {
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    flex: 1;
}

.fiyat-box-value {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    text-align: right;
}

/* Ikili Satir (Teslimat + Ek Urunler yan yana) */
.fiyat-box-ikili {
    display: flex;
    align-items: center;
    padding: 0;
    gap: 0;
}
.fiyat-ikili-item {
    display: flex;
    align-items: center;
    flex: 1;
    padding: 9px 0;
}
.fiyat-ikili-ayirici {
    width: 1px;
    height: 20px;
    background: #d4d8dd;
    margin: 0 14px;
    flex-shrink: 0;
}

/* Indirim Satiri */
.fiyat-box-indirim .fiyat-box-label { color: #e53e3e; }
.fiyat-box-indirim .fiyat-box-icon { color: #e53e3e; }
.fiyat-indirim-deger { color: #e53e3e !important; }

/* Toplam + Kupon yan yana */
.fiyat-toplam-kupon {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 6px;
    padding-top: 10px;
    border-top: 2px solid #c5cbd3;
}
.fiyat-toplam-sol {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.fiyat-saat-ek {
    font-size: 11px;
    font-weight: 600;
    color: #d97706;
    background: #fffbeb;
    border: 1px solid #fde68a;
    padding: 2px 8px;
    border-radius: 6px;
    white-space: nowrap;
}
.fiyat-saat-ek i {
    font-size: 10px;
    margin-right: 2px;
}
.fiyat-toplam-label {
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
}
.fiyat-toplam-deger {
    font-size: 18px;
    font-weight: 700;
    color: var(--siparis-primary);
    white-space: nowrap;
}
.fiyat-kupon-sag {
    flex: 1;
    min-width: 0;
}
.fiyat-kupon-sag .kupon-mesaj {
    margin-top: 4px;
    font-size: 12px;
}

@media (max-width: 480px) {
    .fiyat-toplam-kupon {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .fiyat-toplam-sol {
        justify-content: space-between;
    }
    .fiyat-ikili-ayirici {
        margin: 0 8px;
    }
}

.kupon-input-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.kupon-input-group input {
    flex: 1;
    min-width: 0;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 13px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.kupon-input-group input:focus {
    outline: none;
    border-color: var(--siparis-primary);
    box-shadow: 0 0 0 3px rgba(31, 41, 55, 0.1);
}

.kupon-input-group input::placeholder {
    color: #a0aec0;
}

.kupon-input-group button {
    padding: 9px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.kod_uygula {
    background: #f3f4f6;
    color: #4b5563;
    border-color: #d1d5db;
}

.kod_uygula:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
    color: #1f2937;
}

.kod_iptal {
    background: #fef2f2;
    color: #ef4444;
    border-color: #fca5a5;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.kod_iptal:hover {
    background: #fee2e2;
    border-color: #f87171;
    color: #dc2626;
}

.kod_iptal i {
    font-size: 14px;
}

/* Kupon uygulandi durumu */
.kupon-uygulandi {
    background: #f3f4f6 !important;
    border-color: var(--siparis-primary) !important;
    color: var(--siparis-primary) !important;
    font-weight: 600;
}

.kupon-mesaj {
    margin-top: 10px;
    font-size: 13px;
}

.kupon-mesaj .text-success {
    color: var(--siparis-primary) !important;
}

.kupon-mesaj .text-danger {
    color: #e53e3e !important;
}

.kupon-mesaj .text-muted {
    color: #718096 !important;
}

/* Eski fiyat-satir stilleri (geriye uyumluluk) */
.fiyat-satir {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
}

.fiyat-satir.toplam {
    font-weight: 700;
    font-size: 16px;
    color: var(--siparis-primary);
    padding-top: 12px;
}

.fiyat-satir.indirim {
    color: #e74c3c;
}

/* ========================================
   ODEME SECENEKLERI
   ======================================== */

.odeme-select {
    padding: 14px 16px;
    border: 1px solid var(--siparis-border);
    border-radius: var(--siparis-radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--siparis-text);
    background: #f9fafb;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}
.odeme-select:focus {
    border-color: var(--siparis-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(31, 41, 55, 0.1);
    background: #fff;
}

/* ========================================
   SIPARIS OZETI - ALT BOLUMLER
   (Odeme Yontemi + Sozlesme, tek "Sipariş Özeti" karti icinde)
   ======================================== */
.ozet-bolum {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #dfe2e6;
}
.ozet-bolum-baslik {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--siparis-text);
    margin-bottom: 10px;
}
.ozet-bolum-baslik .bi {
    font-size: 16px;
    color: var(--siparis-text-light);
}
.ozet-sozlesme {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ========================================
   SOZLESME CHECKBOX
   ======================================== */

.sozlesme-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 11px 16px;
    border: 1px solid var(--siparis-border);
    border-radius: var(--siparis-radius-sm);
    transition: all .15s;
    background: #fff;
}

.sozlesme-checkbox:hover {
    border-color: var(--siparis-primary);
    background: #f3f4f6;
}

.sozlesme-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--siparis-primary);
    flex-shrink: 0;
    cursor: pointer;
    border-radius: 4px;
}

.sozlesme-checkbox span {
    font-size: 13px;
    color: #475569;
    line-height: 1.4;
}

.sozlesme-checkbox a {
    color: var(--siparis-primary);
    font-weight: 600;
    text-decoration: none;
}

.sozlesme-checkbox a:hover {
    text-decoration: underline;
}

/* ========================================
   SIPARIS BUTONU
   ======================================== */

.siparis-btn {
    width: 100%;
    padding: 16px 24px;
    background: var(--siparis-green);
    color: white;
    border: none;
    border-radius: var(--siparis-radius-sm);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 30px;
    transition: all 0.2s ease;
    box-shadow: none;
    letter-spacing: 0.3px;
}

.siparis-btn:hover:not(:disabled) {
    background: var(--siparis-green-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 200, 83, 0.3);
}

.siparis-btn:disabled {
    background: #d1d5db;
    cursor: not-allowed;
}

.spinning {
    animation: spin 1s linear infinite;
}

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

/* ========================================
   EK URUNLER
   ======================================== */

/* Full Width Ek Urunler (row disinda) */
.ek-urunler-fullwidth {
    width: 100%;
    margin-top: 25px;
    margin-bottom: 20px;
}

.ek-urunler-fullwidth .section-body {
    padding: 20px 25px;
}

.ek-urunler-fullwidth .ek-urunler-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    justify-items: stretch;
}

.ek-urunler-fullwidth .product-item {
    max-width: none;
    width: 100%;
}

/* Responsive: Tablet */
@media (max-width: 1200px) {
    .ek-urunler-fullwidth .ek-urunler-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 992px) {
    .ek-urunler-fullwidth .ek-urunler-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 576px) {
    .ek-urunler-fullwidth .ek-urunler-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .ek-urunler-fullwidth .section-body {
        padding: 15px;
    }
}

.ek-urunler-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
    justify-items: center;
}

.product-item {
    border: 2px solid #e8ecef;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 180px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.product-item:hover {
    border-color: var(--siparis-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(31, 41, 55, 0.12);
}

.product-item.selected {
    border-color: var(--siparis-primary);
    background: #f3f4f6;
    box-shadow: 0 2px 8px rgba(31, 41, 55, 0.15);
}

.product-item img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 auto 10px;
    display: block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.product-name {
    font-size: 13px;
    color: #2d3748;
    margin-bottom: 6px;
    font-weight: 600;
    line-height: 1.3;
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-price {
    font-size: 16px;
    color: var(--siparis-primary);
    font-weight: 700;
    margin-bottom: 10px;
}

.product-checkbox {
    display: none;
}

.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 8px;
}

.quantity-controls button {
    width: 36px;
    height: 36px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.quantity-controls input {
    width: 42px;
    height: 36px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
}

/* ========================================
   HAZIR KART NOTLARI
   ======================================== */

.hazir-notlar-container {
    margin-bottom: 20px;
}

/* Baslik: diger form etiketleriyle AYNI kucuk/minimal stil (eskiden buyuk+koyu, dagiiktir) */
.hazir-notlar-container > label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--siparis-text-light);
}

/* Kategoriler: cok satira dagilmak yerine TEK SATIR yatay kaydirilir (simetrik + minimal) */
.kategori-butonlari {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    margin-bottom: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;            /* Firefox: ince cizgi gizle */
    scroll-snap-type: x proximity;
    padding-bottom: 2px;
}
.kategori-butonlari::-webkit-scrollbar { display: none; } /* Chrome/Safari */

.kategori-btn {
    flex: 0 0 auto;                   /* kaydirma seridinde daralmasin */
    white-space: nowrap;
    scroll-snap-align: start;
    padding: 6px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    background: white;
    font-size: 12px;
    color: var(--siparis-text-light);
    cursor: pointer;
    transition: all 0.2s;
}

.kategori-btn:hover,
.kategori-btn.active {
    background: var(--siparis-primary);
    color: white;
    border-color: var(--siparis-primary);
}

/* Kategori seridi kaydirma gostergesi (JS: kategori-scroll.js sarar).
   Oklar seridin YANINDA durur (ustune BINMEZ); serit oklarin ARASINDA kayar.
   DOM/flex sirasi: [sol ok] [kaydirilan serit] [sag ok]. */
.kategori-scroll {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.kategori-scroll > .kategori-butonlari {
    flex: 1 1 auto;
    min-width: 0;        /* serit oklar arasinda kalir, tasmaz */
    margin-bottom: 0;    /* bosluk artik sarmalayicida */
}

/* Ok butonlari — BELIRGIN ve BUYUK; overlap yok, ayri yer kaplarlar */
.kategori-ok {
    flex: 0 0 auto;
    display: none;       /* kaydirma yoksa hic yer kaplamaz */
    width: 38px;
    height: 38px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #d7dbe0;
    background: #fff;
    color: var(--siparis-text);
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
    cursor: pointer;
    font-size: 19px;
    line-height: 1;
    transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
}
.kategori-ok:hover { background: var(--siparis-primary); color: #fff; border-color: var(--siparis-primary); }
.kategori-ok:active { transform: scale(0.92); }

/* Kaydirilabiliyorsa iki ok slotu da YER AYIRIR → kayarken serit genisligi sabit (ziplama yok);
   yalniz o yone gidilebiliyorsa arrow GORUNUR olur. */
.kategori-scroll.scrollable .kategori-ok { display: inline-flex; visibility: hidden; }
.kategori-scroll.has-sol .kategori-ok-sol { visibility: visible; }
.kategori-scroll.has-sag .kategori-ok-sag { visibility: visible; }

/* Hazir Kart Notlari kartı.
   NOT: ".slider-btn" adi style.css'teki ANASAYFA slider butonlariyla cakisiyordu
   (genis koyu pill'lere sebep oluyordu). Burada cakismayan "hn-" onekli scoped
   siniflar kullanilir; .slider-btn / .not-item-display artik bu sayfada kullanilmaz. */
.hn-card {
    background: #fff;
    border: 1px solid #e6e8eb;
    border-radius: 12px;
    padding: 14px;
}

.hn-not-metni {
    font-size: 14px;
    line-height: 1.5;
    color: #1f2937;
    background: #f8f9fa;
    border: 1px solid #eef0f2;
    border-radius: 8px;
    padding: 13px 15px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow-wrap: anywhere;
    word-break: break-word;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.hn-not-metni:hover { background: #f1f3f5; border-color: #e2e5e8; }
.hn-not-metni.hn-bos {
    color: #9aa0a6;
    font-style: italic;
    cursor: default;
    background: #fafbfc;
}
.hn-not-metni.hn-bos:hover { background: #fafbfc; border-color: #eef0f2; }

.hn-alt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}

.hn-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.hn-nav-btn {
    width: 32px;
    height: 32px;
    min-width: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e3e7;
    background: #fff;
    color: #4b5563;
    border-radius: 50%;
    cursor: pointer;
    font-size: 15px;
    line-height: 1;
    transition: all 0.15s;
}
.hn-nav-btn:hover:not(:disabled) {
    background: var(--siparis-primary);
    color: #fff;
    border-color: var(--siparis-primary);
}
.hn-nav-btn:disabled { opacity: 0.3; cursor: default; }

.hn-sayac {
    font-size: 12.5px;
    color: #9aa0a6;
    min-width: 36px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.hn-sec-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 18px;
    border: none;
    border-radius: 8px;
    background: var(--siparis-primary);
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}
.hn-sec-btn:hover { background: var(--siparis-primary-dark); }
.hn-sec-btn:active { transform: scale(0.98); }
.hn-sec-btn.hn-secildi { background: #16a34a; }

.note-card.hn-vurgu {
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.25) !important;
    border-radius: 8px;
}

.note-card {
    background: #ffe4e8;
    border: none;
}

.note-card:focus {
    background: #ffe4e8;
}

.kart-not-karakter-sayisi {
    text-align: right;
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

/* ========================================
   ACCORDION
   ======================================== */

.accordion-section {
    background: #fff;
    border-radius: var(--siparis-radius);
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid var(--siparis-border);
}

.accordion-header {
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--siparis-text);
    border-bottom: 1px solid var(--siparis-border);
    font-weight: 600;
    transition: background 0.15s;
}

.accordion-header:hover {
    background: #f9fafb;
}

.accordion-header h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

.kayitli-fatura-sec {
    margin-left: auto;
    padding: 4px 24px 4px 8px;
    font-size: 11px;
    color: #555;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    max-width: 170px;
    flex-shrink: 0;
    background: #f9fafb;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
}
.kayitli-fatura-sec:focus {
    outline: none;
    border-color: #6366f1;
}

.accordion-icon {
    margin-left: 8px;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.accordion-icon.rotated {
    transform: rotate(180deg);
}

.accordion-body {
    display: none;
    padding: 20px;
}

/* ========================================
   TAKVIM
   ======================================== */

.siparis-takvim {
    position: relative;
}

.siparis-takvim .hello-week {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-radius: 8px;
    display: none;
}

.siparis-takvim.active .hello-week {
    display: block;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 992px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    /* Gönderen + Alıcı Bilgileri mobilde 2 sütun kalsın */
    #gonderen-card .form-row,
    #genel-alici-bilgileri-card .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    #gonderen-card .form-group,
    #genel-alici-bilgileri-card .form-group {
        margin-bottom: 0;
    }

    .sepet-container {
        position: static;
    }
}

@media (max-width: 768px) {
    .siparis-container {
        /* 12px = Bootstrap row gutter'inin yarisi; daha az olursa (8px) .row negatif
           margin'i (-12px) container'i 4px tasirir ve mobilde yatay kaydirma olusur. */
        padding: 12px;
    }

    .section-card {
        border-radius: 10px !important;
    }

    #satici-not-card .section-header {
        display: none;
    }

    .section-header {
        padding: 14px 16px;
        font-size: 14px;
        border-radius: 10px 10px 0 0 !important;
    }

    .section-header h3 {
        font-size: 14px;
    }

    .section-body {
        padding: 16px;
    }

    .siparis-container .form-control {
        padding: 12px 14px;
        font-size: 14px;
    }

    .siparis-container .form-control.has-ikon {
        padding-left: 36px;
    }

    .input-ikon {
        font-size: 13px;
        left: 12px;
    }

    .input-ikon-textarea .input-ikon {
        top: 14px;
    }

    .siparis-btn {
        padding: 14px 20px;
        font-size: 15px;
        border-radius: 10px !important;
    }

    .ek-urunler-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ek-urunler-fullwidth .ek-urunler-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Mobil: daha minimal — baslik + cipler + kart kucuk, cipler tek satir kayar */
    .hazir-notlar-container > label { font-size: 12.5px; margin-bottom: 7px; }
    .kategori-btn { font-size: 11.5px; padding: 5px 11px; }
    .hn-card { padding: 12px; }
    .hn-not-metni { font-size: 13.5px; padding: 12px 14px; min-height: 44px; }

    .hn-alt {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .hn-nav { justify-content: center; }
    .hn-nav-btn { width: 34px; height: 34px; min-width: 34px; }
    .hn-sec-btn { width: 100%; padding: 10px 16px; }

    .fiyat-toplam-kupon {
        flex-direction: column;
        gap: 12px;
    }

    .accordion-header {
        padding: 14px 16px;
    }

    .accordion-section {
        border-radius: 10px !important;
    }

    .sepet-temizle-btn {
        padding: 5px 10px;
        font-size: 12px;
    }
}

/* ========================================
   SEPET BOS DURUMUNDA
   ======================================== */

html.sepet-bos #form-column,
html.sepet-bos #fiyat-ozeti-card,
html.sepet-bos #ek-urunler-card,
html.sepet-bos #kart-mesaji-card,
html.sepet-bos .accordion-section,
html.sepet-bos .siparis-btn {
    display: none !important;
}

html.sepet-bos .sepet-container {
    max-width: 500px;
    margin: 40px auto;
}

/* ========================================
   FARKLI ALICI TOGGLE
   ======================================== */

.farkli-alici-toggle-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: #f9fafb;
    border: 1px solid #d4d8dd;
    border-radius: 10px;
    margin-bottom: 16px;
}
.farkli-alici-toggle-wrapper {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.3);
    transition: 0.3s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: rgba(255,255,255,0.6);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(20px);
}

.toggle-label {
    font-size: 12px;
    font-weight: 500;
}

/* Kilitli Toggle - Farkli teslimat varsa */
.toggle-locked {
    position: relative;
}

.toggle-locked .toggle-switch {
    cursor: not-allowed;
    opacity: 0.7;
}

.toggle-locked .toggle-switch input {
    cursor: not-allowed;
}

.toggle-locked .toggle-slider {
    background-color: rgba(255,255,255,0.5) !important;
}

.toggle-locked .toggle-label {
    color: rgba(255,255,255,0.8);
}

.toggle-lock-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-left: 6px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    color: #fbbf24;
    font-size: 11px;
    cursor: help;
    transition: all 0.2s;
}

.toggle-lock-info:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

/* Kilit uyari banner (sayfa ustu) */
.toggle-lock-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}
.toggle-lock-banner.show {
    transform: translateY(0);
}
.toggle-lock-banner-icerik {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-bottom: 2px solid #f59e0b;
    font-size: 15px;
    font-weight: 600;
    color: #92400e;
    line-height: 1.5;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.toggle-lock-banner-icerik > .bi {
    font-size: 24px;
    color: #f59e0b;
    flex-shrink: 0;
}
.toggle-lock-banner-icerik > span {
    flex: 1;
}
.toggle-lock-banner-kapat {
    background: none;
    border: none;
    color: #92400e;
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    opacity: 0.6;
    flex-shrink: 0;
    transition: opacity 0.2s;
}
.toggle-lock-banner-kapat:hover {
    opacity: 1;
}

/* ========================================
   CART ITEM - YENI TASARIM
   ======================================== */

.cart-item {
    position: relative;
    margin: 12px;
    padding: 18px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
    transition: all 0.2s;
}

.cart-item:hover {
    border-color: #d0d0d0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

/* Sil Butonu - Sag Ust */
.cart-remove {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffebee;
    border: none;
    border-radius: 50%;
    color: #e57373;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s;
}

.cart-remove:hover {
    background: #ef5350;
    color: white;
}

/* Ust Kisim */
.cart-top {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

/* Urun Resmi */
.cart-img {
    width: 90px;
    height: 90px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

/* Urun Bilgi */
.cart-info {
    flex: 1;
    min-width: 0;
    padding-right: 40px;
}

.cart-name {
    margin: 0 0 6px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
}

.cart-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--siparis-primary);
    margin-bottom: 0;
}

.cart-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: #666;
}

.cart-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.cart-meta i {
    font-size: 13px;
    color: #999;
}

/* Fiyat + Adet ayni satir */
.cart-fiyat-adet {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

/* Adet Kontrolu */
.cart-qty {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.qty-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    font-size: 20px;
    font-weight: 400;
    color: #555;
    transition: all 0.15s;
}

.qty-btn:first-child {
    border-radius: 8px 0 0 8px;
}

.qty-btn:last-child {
    border-radius: 0 8px 8px 0;
}

.qty-btn:hover {
    background: #f5f5f5;
    color: #222;
}

.qty-num {
    min-width: 42px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 15px;
    color: #222;
    background: white;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

/* ========================================
   ALICI BILGILERI ALANI
   ======================================== */

.cart-alici {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

/* Alici Uyari - Pembe */
.alici-uyari {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffebee;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #ffcdd2;
    font-size: 14px;
    color: #e53935;
    margin-bottom: 12px;
}

.alici-uyari i {
    font-size: 18px;
    color: #ef5350;
}

/* Alici Tamam - Yesil */
.alici-tamam {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f3f4f6;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 14px;
    color: #1f2937;
    margin-bottom: 12px;
}

.alici-tamam i {
    font-size: 18px;
    color: #374151;
}

/* Alici Duzenle Butonu */
.alici-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: var(--siparis-primary);
    color: white;
    border: none;
    border-radius: var(--siparis-radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.alici-btn:hover {
    background: var(--siparis-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(31, 41, 55, 0.3);
}

.alici-btn i {
    font-size: 16px;
}

/* Eski class icin fallback */
.alici-giriniz-btn,
.alici-ekle-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--siparis-primary);
    color: white;
    border: none;
    border-radius: var(--siparis-radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

@keyframes pulse-btn {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(31, 41, 55, 0.35);
    }
    50% {
        box-shadow: 0 6px 25px rgba(31, 41, 55, 0.55);
    }
}

@keyframes icon-wiggle {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-5deg);
    }
    75% {
        transform: rotate(5deg);
    }
}

/* ========================================
   ALICI BILGILERI DUZENLEME FORMU (TAM GENISLIK)
   ======================================== */

.alici-edit-card {
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    animation: slideDown 0.25s ease-out;
    margin-top: 16px;
}

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

.alici-edit-header {
    background: #fff;
    position: relative;
    padding: 14px 20px;
    border-bottom: 1px solid var(--siparis-border);
}

.alici-edit-header h3 {
    flex: 1;
    font-size: 15px;
    font-weight: 700;
    color: var(--siparis-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.alici-edit-header h3 .bi {
    font-size: 16px;
    color: var(--siparis-text-light);
}

.edit-kapat-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: #f3f4f6;
    border: none;
    color: #6b7280;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 14px;
}

.edit-kapat-btn:hover {
    background: #e5e7eb;
    color: var(--siparis-text);
}

.alici-edit-body {
    padding: 20px;
    background: #f8fafc;
}

/* Urun Bilgi Basligi */
.edit-urun-bilgi {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: white;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #e5e7eb;
}

.edit-urun-bilgi img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #eee;
}

.edit-urun-detay {
    flex: 1;
    /* NOT (10.09.2026, olculdu): bu kutu 360/768/992px'te ebeveynini 6-11px asiyor
       (flex `min-width:auto` tuzagi) - bu kusur BU TURDAN ONCE DE AYNEN VARDI.
       `min-width:0` denendi: 3 genislikten yalnizca 992px'i cozuyor, buna karsilik
       saat kutusunu 166 -> 146px daraltip ek ucretli slot etiketinin sigma marjini
       yiyor. Yarim cozum + yan etki oldugu icin UYGULANMADI; ayri bir tur konusu. */
}

.edit-urun-ad {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--siparis-text);
    margin-bottom: 6px;
}

.edit-teslimat-bilgi {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: #64748b;
}

.edit-teslimat-bilgi .bi {
    color: #94a3b8;
    margin-right: 3px;
}

/* Form Grid - Alt Alta */
.edit-form-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.edit-form-column {
    background: white;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #e5e7eb;
}

.edit-section-title {
    font-weight: 600;
    font-size: 14px;
    color: #1f2937;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 8px;
}

.edit-section-title .bi {
    color: #6366f1;
    font-size: 16px;
}

.edit-opsiyonel-badge {
    font-size: 11px;
    font-weight: 500;
    color: #9ca3af;
    font-style: italic;
}

/* Acilir/kapanir baslik */
.edit-collapse-toggle {
    cursor: pointer;
    user-select: none;
    justify-content: flex-start;
    transition: color 0.2s;
}
.edit-collapse-toggle:hover {
    color: var(--siparis-primary);
}
.edit-collapse-arrow {
    margin-left: auto;
    font-size: 14px;
    color: #9ca3af;
    transition: transform 0.3s ease;
}
.edit-collapse-toggle.open .edit-collapse-arrow {
    transform: rotate(180deg);
}

.edit-form-row {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.edit-form-group {
    margin-bottom: 0;
}

.edit-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

.edit-form-group label .bi {
    color: #6366f1;
    margin-right: 5px;
    font-size: 12px;
}

.edit-form-group .form-control {
    padding: 11px 14px;
    font-size: 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    transition: all 0.2s;
    background: #fff;
    width: 100%;
}

.edit-form-group .form-control:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    outline: none;
}

textarea.form-control {
    resize: vertical;
    min-height: 70px;
}

.edit-kart-mesaj-input {
    background: #fef7f8;
    border-color: #fecdd3 !important;
}

.edit-kart-mesaj-input:focus {
    border-color: #fb7185 !important;
    box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.1) !important;
}

.edit-karakter-sayaci {
    text-align: right;
    font-size: 11px;
    color: #9ca3af;
    margin-top: 4px;
}

/* Ek Urunler Section */
.edit-ek-urunler-section {
    background: white;
    border-radius: 10px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    margin-bottom: 20px;
}

.edit-ek-urunler-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.edit-ek-urun-item {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
    position: relative;
}

.edit-ek-urun-item:hover {
    border-color: #6366f1;
    background: #f5f3ff;
}

.edit-ek-urun-item.selected {
    border-color: #d1d5db;
    background: #f3f4f6;
}

.edit-ek-urun-item img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
    border: 1px solid #eee;
}

.edit-ek-urun-info {
    flex: 1;
}

.edit-ek-urun-isim {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 4px;
}

.edit-ek-urun-fiyat {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
}

.edit-ek-urun-checkbox {
    position: absolute;
    top: 8px;
    right: 8px;
}

.edit-ek-urun-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: #1f2937;
    cursor: pointer;
}

/* Form Actions */
.edit-form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-top: 8px;
}

.btn-edit-kaydet {
    padding: 10px 24px;
    background: #1f2937;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-edit-kaydet:hover:not(:disabled) {
    background: #111827;
}

.btn-edit-kaydet:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-edit-iptal {
    padding: 10px 20px;
    background: white;
    color: #6b7280;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-edit-iptal:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

/* Notification */
.edit-notification {
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 13px;
    animation: slideIn 0.25s ease-out;
}

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

.edit-notif-success {
    background: #f3f4f6;
    color: #1f2937;
    border: 1px solid #e5e7eb;
}

.edit-notif-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.edit-notif-warning {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

.edit-notif-info {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

/* Fixed Notification - Sayfa ustunde */
.edit-notif-fixed {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    min-width: min(300px, 90vw);
    max-width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    animation: notifSlideDown 0.3s ease;
}

@keyframes notifSlideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .alici-edit-body {
        padding: 12px;
    }

    .edit-urun-bilgi {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .edit-teslimat-bilgi {
        justify-content: center;
    }

    .edit-form-actions {
        flex-direction: column;
    }

    .btn-edit-kaydet,
    .btn-edit-iptal {
        width: 100%;
        justify-content: center;
    }

    .edit-ek-urunler-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Cart Item Mobile */
    .cart-item {
        padding: 14px;
        margin: 10px;
    }

    .cart-top {
        display: flex;
        align-items: flex-start;
        gap: 12px;
    }

    .cart-img {
        width: 68px;
        height: 68px;
        border-radius: 10px;
        flex-shrink: 0;
    }

    .cart-info {
        flex: 1;
        min-width: 0;
        padding-right: 30px;
    }

    .cart-name {
        font-size: 14px;
    }

    .cart-meta {
        gap: 10px;
        font-size: 12px;
    }

    /* Renkli kurumsal ikonlar */
    .cart-meta i { color: inherit; }
    .cart-meta .bi-calendar3 { color: #3b82f6; }
    .cart-meta .bi-clock { color: #f59e0b; }
    .cart-meta .bi-truck { color: #10b981; }

    .alici-btn {
        padding: 12px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .cart-item {
        padding: 12px;
        margin: 8px;
    }

    .cart-top {
        gap: 10px;
    }

    .cart-img {
        width: 56px;
        height: 56px;
        border-radius: 8px;
    }

    .cart-info {
        padding-right: 24px;
    }

    .cart-name {
        font-size: 13px;
        margin-bottom: 3px;
    }

    .cart-price {
        font-size: 13px;
    }

    .cart-meta {
        font-size: 10.5px;
        gap: 6px;
    }

    .cart-remove {
        width: 22px;
        height: 22px;
        font-size: 14px;
        top: 8px;
        right: 8px;
    }

    .qty-btn {
        width: 28px;
        height: 28px;
        font-size: 15px;
    }

    .qty-num {
        min-width: 30px;
        height: 28px;
        font-size: 12px;
    }

    .alici-uyari,
    .alici-tamam {
        padding: 10px 12px;
        font-size: 13px;
    }

    .alici-btn {
        padding: 11px 14px;
        font-size: 12px;
    }

    .sepet-adet-deger {
        min-width: 28px;
        height: 30px;
        font-size: 13px;
    }

    .sepet-sil-btn {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .alici-ekle-btn {
        padding: 12px 16px;
        font-size: 13px;
    }

    .alici-dolu {
        padding: 10px 14px;
        font-size: 13px;
    }
}

/* ========================================
   SEPET BOS UYARI
   ======================================== */

.sepet-bos-uyari {
    max-width: 500px;
    margin: 40px auto;
    text-align: center;
    padding: 40px 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.sepet-bos-uyari .sepet-bos-icon {
    font-size: 60px;
    margin-bottom: 15px;
    color: #f0ad4e;
}

.sepet-bos-uyari .bi-cart-x {
    font-size: 60px;
}

.sepet-bos-uyari p {
    color: #666;
    margin-bottom: 20px;
}

.sepet-bos-uyari .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 600;
}

/* ========================================
   SEPET BOS - YENI ANIMASYONLU TASARIM
   ======================================== */

.sepet-bos-container {
    position: relative;
    max-width: 600px;
    margin: 40px auto;
    padding: 60px 40px;
    background: linear-gradient(135deg, #fff5f5 0%, #fff 50%, #f3f4f6 100%);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    animation: containerFadeIn 0.6s ease-out;
}

@keyframes containerFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Arka plan parcaciklari */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    font-size: 20px;
    opacity: 0.15;
    animation: floatParticle 15s infinite ease-in-out;
}

.particle i {
    display: block;
}

.particle-1 { top: 10%; left: 5%; color: #ec4899; animation-delay: 0s; font-size: 24px; }
.particle-2 { top: 20%; right: 10%; color: #f97316; animation-delay: -2s; font-size: 18px; }
.particle-3 { top: 60%; left: 8%; color: #a855f7; animation-delay: -4s; font-size: 22px; }
.particle-4 { top: 75%; right: 15%; color: #ef4444; animation-delay: -6s; font-size: 16px; }
.particle-5 { top: 15%; left: 70%; color: #eab308; animation-delay: -8s; font-size: 20px; }
.particle-6 { top: 85%; left: 25%; color: #ec4899; animation-delay: -10s; font-size: 18px; }
.particle-7 { top: 45%; right: 5%; color: #6b7280; animation-delay: -12s; font-size: 24px; }
.particle-8 { top: 5%; left: 40%; color: #f43f5e; animation-delay: -14s; font-size: 14px; }

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.15;
    }
    25% {
        transform: translate(15px, -20px) rotate(90deg) scale(1.1);
        opacity: 0.25;
    }
    50% {
        transform: translate(-10px, -30px) rotate(180deg) scale(1);
        opacity: 0.2;
    }
    75% {
        transform: translate(20px, -15px) rotate(270deg) scale(1.15);
        opacity: 0.25;
    }
}

/* Ana icerik */
.sepet-bos-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

/* Icon wrapper */
.sepet-bos-icon-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 30px;
}

.icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #fecdd3 0%, #fce7f3 100%);
    border-radius: 50%;
    animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.3;
    }
}

.icon-main {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, #f43f5e 0%, #ec4899 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(244, 63, 94, 0.3);
    animation: bounceIcon 2s infinite ease-in-out;
}

.icon-main i {
    font-size: 48px;
    color: white;
}

@keyframes bounceIcon {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-8px);
    }
}

.icon-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(31, 41, 55, 0.4);
    animation: wiggleBadge 3s infinite ease-in-out;
}

.icon-badge i {
    font-size: 22px;
    color: white;
}

@keyframes wiggleBadge {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-15deg);
    }
    75% {
        transform: rotate(15deg);
    }
}

/* Baslik ve aciklama */
.sepet-bos-title {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 12px 0;
    animation: slideUp 0.6s ease-out 0.2s both;
}

.sepet-bos-desc {
    font-size: 16px;
    color: #6b7280;
    margin: 0 0 30px 0;
    line-height: 1.6;
    animation: slideUp 0.6s ease-out 0.3s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ozellikler */
.sepet-bos-features {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 35px;
    animation: slideUp 0.6s ease-out 0.4s both;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-item i {
    font-size: 26px;
    color: #1f2937;
}

.feature-item span {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

/* Buton */
.sepet-bos-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(31, 41, 55, 0.35);
    transition: all 0.3s ease;
    animation: slideUp 0.6s ease-out 0.5s both;
    overflow: hidden;
    position: relative;
}

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

.sepet-bos-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(31, 41, 55, 0.45);
    color: white;
    text-decoration: none;
}

.sepet-bos-btn:hover::before {
    left: 100%;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotateIcon 4s linear infinite;
}

.btn-icon i {
    font-size: 20px;
}

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

.btn-text {
    position: relative;
}

.btn-arrow {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.btn-arrow i {
    font-size: 18px;
}

.sepet-bos-btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sepet-bos-container {
        margin: 20px 15px;
        padding: 40px 25px;
        border-radius: 20px;
    }

    .sepet-bos-icon-wrapper {
        width: 120px;
        height: 120px;
    }

    .icon-bg {
        width: 120px;
        height: 120px;
    }

    .icon-main {
        width: 95px;
        height: 95px;
    }

    .icon-main i {
        font-size: 40px;
    }

    .icon-badge {
        width: 38px;
        height: 38px;
    }

    .icon-badge i {
        font-size: 18px;
    }

    .sepet-bos-title {
        font-size: 24px;
    }

    .sepet-bos-desc {
        font-size: 14px;
        padding: 0 10px;
    }

    .sepet-bos-features {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .feature-item {
        flex-direction: row;
        width: 100%;
        max-width: 280px;
        padding: 14px 20px;
        gap: 12px;
    }

    .feature-item i {
        font-size: 22px;
    }

    .sepet-bos-btn {
        padding: 14px 28px;
        font-size: 15px;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .particle {
        font-size: 16px;
    }

    .particle-1, .particle-7 { font-size: 20px; }
}

@media (max-width: 480px) {
    .sepet-bos-container {
        margin: 15px 10px;
        padding: 35px 20px;
    }

    .sepet-bos-icon-wrapper {
        width: 100px;
        height: 100px;
        margin-bottom: 25px;
    }

    .icon-bg {
        width: 100px;
        height: 100px;
    }

    .icon-main {
        width: 80px;
        height: 80px;
    }

    .icon-main i {
        font-size: 34px;
    }

    .icon-badge {
        width: 32px;
        height: 32px;
        top: 0;
        right: 0;
    }

    .icon-badge i {
        font-size: 16px;
    }

    .sepet-bos-title {
        font-size: 20px;
    }

    .sepet-bos-desc {
        font-size: 13px;
        margin-bottom: 25px;
    }

    .feature-item {
        padding: 12px 16px;
    }

    .feature-item span {
        font-size: 12px;
    }

    .sepet-bos-btn {
        padding: 12px 24px;
        font-size: 14px;
        gap: 10px;
    }

    .btn-icon i {
        font-size: 18px;
    }

    .particle {
        display: none;
    }

    .particle-1, .particle-3, .particle-5 {
        display: block;
        font-size: 16px;
    }
}

/* ========================================
   TESLIMAT BILGISI DUZENLEME - PREMIUM V2
   Bolge ustte, Tarih+Saat yan yana altta
   ======================================== */

/* Gosterim Modu - Dikey Kart */
.teslimat-info-display {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    margin-top: 12px;
    cursor: pointer;
    position: relative;
    transition: all 0.25s ease;
}

.teslimat-info-display::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
    border-radius: 12px 0 0 12px;
    opacity: 0;
    transition: opacity 0.25s;
}

.teslimat-info-display:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 20px rgba(31, 41, 55, 0.15);
}

.teslimat-info-display:hover::before {
    opacity: 1;
}

.teslimat-info-display:hover .teslimat-edit-hint {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    transform: scale(1.05);
}

/* Satir - Bolge ve Zaman icin */
.teslimat-info-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Bolge satiri - saga yaslama */
.teslimat-row-bolge {
    justify-content: space-between;
}

/* Zaman satiri - ortalama */
.teslimat-row-zaman {
    justify-content: flex-start;
}

/* Badge Itemler */
.teslimat-info-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
    transition: all 0.2s;
}

.teslimat-info-item i {
    font-size: 14px;
}

/* Bolge Badge - Yesil */
.teslimat-info-item.teslimat-bolge {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-color: #d1d5db;
    color: #1f2937;
    flex: 1;
}

.teslimat-info-item.teslimat-bolge i {
    color: #1f2937;
}

/* Tarih Badge - Mavi */
.teslimat-info-item.teslimat-tarih {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.teslimat-info-item.teslimat-tarih i {
    color: #3b82f6;
}

/* Saat Badge - Mor */
.teslimat-info-item.teslimat-saat {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    border-color: #ddd6fe;
    color: #6d28d9;
}

.teslimat-info-item.teslimat-saat i {
    color: #8b5cf6;
}

/* Duzenleme Ikonu */
.teslimat-edit-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-radius: 10px;
    color: white;
    font-size: 16px;
    transition: all 0.25s;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.teslimat-edit-hint i {
    line-height: 1;
}

/* ========== DUZENLEME MODU ========== */
.teslimat-info-edit {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    margin-top: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.teslimat-edit-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.teslimat-edit-header span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.3px;
}

.teslimat-edit-header span i {
    font-size: 18px;
    color: #a5b4fc;
}

.teslimat-edit-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.teslimat-edit-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Grid - Tek Sutun */
.teslimat-edit-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

/* Bolge Alani - Tam Genislik */
.teslimat-field-bolge {
    width: 100%;
}

/* Tarih+Saat Satiri - Yan Yana */
/* 10.09.2026: saat kutusu ek ucretli slotta DAHA UZUN metin tasiyor
   ("17:00-23:00 (+1250 TL)" = 165px). 1fr 1fr ile ic genislik 137px kaliyordu ve
   native <select> ucu noktasiz kirpiyordu. Tarih alani "09/10/2026" + takvim
   ikonu icin 1fr'de fazlasiyla yeterli. minmax(0,...) SART: sabit bir min deger
   dar ekranda izin kucuLMESINI engelleyip sayfayi tasirir (projede kayitli tuzak). */
.teslimat-edit-row-zaman {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    gap: 14px;
}

.teslimat-edit-field {
    position: relative;
}

.teslimat-edit-field label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.teslimat-edit-field label i {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #fff;
    font-size: 11px;
}

/* Farkli Label Renkleri */
.teslimat-field-bolge label i {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

.teslimat-field-tarih label i {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.teslimat-field-saat label i {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.teslimat-edit-field .form-control {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    background: #fff;
    transition: all 0.2s;
}

.teslimat-edit-field .form-control:hover {
    border-color: #cbd5e1;
}

.teslimat-edit-field .form-control:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.teslimat-edit-field select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%236366f1' d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    /* Ok ikonu 16px + sagdan 14px = gercekte 30px yer kapliyor; 44px gereksiz
       genisti ve metne ayrilan alani daraltiyordu. 36px hala 6px pay birakir. */
    padding-right: 36px;
}

.teslimat-edit-field input[type="date"] {
    cursor: pointer;
}

/* Butonlar */
.teslimat-edit-actions {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.btn-teslimat-kaydet {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 4px 15px rgba(31, 41, 55, 0.3);
}

.btn-teslimat-kaydet:hover {
    background: linear-gradient(135deg, #111827 0%, #0f172a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(31, 41, 55, 0.4);
}

.btn-teslimat-kaydet:active {
    transform: translateY(0);
}

.btn-teslimat-kaydet:disabled {
    background: #cbd5e1;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.btn-teslimat-iptal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 13px 24px;
    background: #fff;
    color: #64748b;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-teslimat-iptal:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #475569;
}

/* ========== RESPONSIVE ========== */

/* Mobil */
@media (max-width: 575px) {
    .teslimat-info-display {
        padding: 12px 14px;
        gap: 8px;
    }

    .teslimat-info-item {
        font-size: 12px;
        padding: 7px 12px;
    }

    .teslimat-edit-hint {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .teslimat-edit-grid {
        padding: 16px;
        gap: 14px;
    }

    .teslimat-edit-row-zaman {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .teslimat-edit-field .form-control {
        padding: 11px 12px;
    }

    .teslimat-edit-actions {
        flex-direction: column-reverse;
        padding: 14px 16px;
        gap: 10px;
    }

    .btn-teslimat-kaydet,
    .btn-teslimat-iptal {
        width: 100%;
        padding: 12px 20px;
    }
}

/* ========================================
   EK URUN ADET SECICI
   ======================================== */

/* Ana sayfa ek urun adet wrapper */
.ek-urun-adet-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 10px auto;
    background: #f5f7fa;
    border-radius: 10px;
    padding: 6px 8px;
    width: fit-content;
}

.ek-urun-adet-wrapper button {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: var(--siparis-primary);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.ek-urun-adet-wrapper button:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(31, 41, 55, 0.4);
}

.ek-urun-adet-wrapper button:active {
    transform: scale(0.95);
}

.ek_urun_adet {
    width: 44px;
    height: 32px;
    text-align: center;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    color: #333;
    background: white;
    padding: 0;
    margin: 0;
    /* Number input spinner'ları kaldır */
    -moz-appearance: textfield;
    -webkit-appearance: none;
    appearance: none;
}

/* Chrome/Safari/Edge spinner'ları kaldır */
.ek_urun_adet::-webkit-outer-spin-button,
.ek_urun_adet::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.ek_urun_adet:focus {
    outline: none;
    border-color: var(--siparis-primary);
    box-shadow: 0 0 0 2px rgba(31, 41, 55, 0.15);
}

/* Edit modal ek urun adet wrapper */
.edit-ek-urun-adet-wrapper {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-right: 10px;
}

.edit-ek-adet-btn {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 5px;
    background: var(--siparis-primary);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.2s;
}

.edit-ek-adet-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 6px rgba(31, 41, 55, 0.4);
}

.edit-ek-urun-adet {
    width: 32px;
    height: 24px;
    text-align: center;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    background: white;
}

/* Edit modal item layout update */
.edit-ek-urun-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.2s;
    cursor: pointer;
}

.edit-ek-urun-item:hover {
    border-color: var(--siparis-primary);
    background: #f0f4ff;
}

.edit-ek-urun-item.selected {
    border-color: var(--siparis-primary);
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.1) 0%, rgba(17, 24, 39, 0.1) 100%);
}

.edit-ek-urun-item img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 8px;
}

.edit-ek-urun-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.edit-ek-urun-isim {
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

.edit-ek-urun-fiyat {
    font-size: 12px;
    font-weight: 600;
    color: var(--siparis-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .ek-urun-adet-wrapper {
        padding: 5px 6px;
        gap: 5px;
    }

    .ek-urun-adet-wrapper button {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .ek_urun_adet {
        width: 40px;
        height: 30px;
        font-size: 14px;
    }

    .edit-ek-urun-adet-wrapper {
        margin-right: 6px;
    }

    /* Fiyat Grid Mobil */
    .fiyat-box {
        padding: 6px 0;
    }

    .fiyat-box-label {
        font-size: 12px;
    }

    .fiyat-box-value {
        font-size: 13px;
    }

    .fiyat-box-toplam .fiyat-box-value {
        font-size: 15px;
    }

    /* Kupon Box Mobil */
    .kupon-input-group input {
        padding: 9px 12px;
        font-size: 12px;
    }

    .kupon-input-group button {
        padding: 8px 12px;
        font-size: 11px;
    }

    /* Siparis Butonu Mobil */
    .siparis-btn {
        padding: 16px 20px;
        font-size: 15px;
        margin-bottom: 25px;
    }
}

@media (max-width: 480px) {
    .ek-urun-adet-wrapper {
        padding: 4px 5px;
        gap: 4px;
    }

    .ek-urun-adet-wrapper button {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }

    .ek_urun_adet {
        width: 38px;
        height: 28px;
        font-size: 13px;
    }

    /* Fiyat Grid Mobil Kucuk Ekran */
    .fiyat-box {
        padding: 5px 0;
    }

    .fiyat-box-label {
        font-size: 12px;
    }

    .fiyat-box-value {
        font-size: 13px;
    }

    .fiyat-box-toplam .fiyat-box-value {
        font-size: 15px;
    }

    /* Indirim Satiri Mobil */
    .indirim-satir {
        padding: 10px 12px;
        margin-top: 10px;
    }

    .indirim-label {
        font-size: 13px;
    }

    .indirim-value {
        font-size: 14px;
    }
}

/* =====================================================
   EMOJI BAR - Basit Satir Ici Emoji Secici
   ===================================================== */
.emoji-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 12px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 10px;
}

.emoji-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: white;
    border-radius: 10px;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Android Emoji", "EmojiSymbols", sans-serif;
}

.emoji-btn:hover {
    transform: scale(1.2);
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1;
}

.emoji-btn:active {
    transform: scale(1.05);
}

/* Emoji Bar Mobil */
@media (max-width: 768px) {
    .emoji-bar {
        gap: 5px;
        padding: 8px 10px;
    }

    .emoji-btn {
        width: 32px;
        height: 32px;
        font-size: 18px;
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .emoji-bar {
        gap: 4px;
        padding: 6px 8px;
    }

    .emoji-btn {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}

/* ========================================
   GENIS EKRAN (1200px+)
   ======================================== */
@media (min-width: 1200px) {
    .siparis-container {
        max-width: 1220px;
    }

    /* Masaustu — orantili font buyutme */
    .form-group label {
        font-size: 17px;
    }

    .siparis-container .form-control {
        font-size: 16px;
    }

    .input-ikon {
        font-size: 17px;
    }

    .sepet-item-name {
        font-size: 16px;
    }

    .sepet-item-price {
        font-size: 17px;
    }

    .sepet-item-tarih {
        font-size: 13px;
    }

    .fiyat-box-label {
        font-size: 15px;
    }

    .fiyat-box-value {
        font-size: 16px;
    }
}

@media (min-width: 1400px) {
    .siparis-container {
        max-width: 1280px;
    }
}

/* ========================================
   PRINT STILI
   ======================================== */
@media print {
    .siparis-container {
        max-width: 100%;
        padding: 0;
    }

    .section-header {
        background: #fff !important;
        color: #1f2937 !important;
        border-bottom: 1px solid #d1d5db !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .section-header::before,
    .section-header::after {
        display: none !important;
    }

    .siteye-don,
    .siparis-btn,
    .no-print {
        display: none !important;
    }

    .section-card {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
}

/* ========================================
   BOLGE SECİCİ - Arama Destekli Dropdown
   (siparis-container scope ile header'daki
    bolge-secici-wrapper'i etkilemez)
   ======================================== */

/* Dropdown'un section-card disina tasabilmesi icin overflow acilir.
   ID fallback: :has() desteklenmeyen tarayicilar icin */
#genel-alici-bilgileri-card,
#alici-edit-card,
.siparis-container .section-card:has(.bolge-secici-wrapper) {
    overflow: visible;
}

#genel-alici-bilgileri-card > .section-header,
#alici-edit-card > .section-header,
.siparis-container .section-card:has(.bolge-secici-wrapper) > .section-header {
    border-radius: 13px 13px 0 0;
    overflow: hidden;
}

.siparis-container .bolge-secici-wrapper {
    position: relative;
}

.siparis-container .bolge-secici-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: var(--siparis-radius-sm);
    color: var(--siparis-text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.siparis-container .bolge-secici-btn:hover {
    border-color: var(--siparis-primary);
    box-shadow: 0 0 0 3px rgba(31, 41, 55, 0.08);
}

.siparis-container .bolge-secici-btn.active {
    border-color: var(--siparis-primary);
    border-radius: var(--siparis-radius-sm) var(--siparis-radius-sm) 0 0;
    box-shadow: 0 0 0 3px rgba(31, 41, 55, 0.1);
}

.siparis-container .bolge-secici-btn.secildi {
    border-color: var(--siparis-primary);
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.04) 0%, #fff 100%);
}

.siparis-container .bolge-secici-btn .bolge-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--siparis-primary) 0%, var(--siparis-primary-dark) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    flex-shrink: 0;
}

.siparis-container .bolge-secici-btn .bolge-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
}

.siparis-container .bolge-secici-btn .bolge-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--siparis-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.siparis-container .bolge-secici-btn .bolge-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--siparis-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.siparis-container .bolge-secici-btn.secildi .bolge-value {
    color: var(--siparis-primary-dark);
}

.siparis-container .bolge-secici-btn .bolge-arrow {
    font-size: 14px;
    color: var(--siparis-text-muted);
    transition: transform 0.2s;
    flex-shrink: 0;
}

.siparis-container .bolge-secici-btn.active .bolge-arrow {
    transform: rotate(180deg);
    color: var(--siparis-primary);
}

/* Dropdown */
.siparis-container .bolge-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 2px solid var(--siparis-primary);
    border-top: none;
    border-radius: 0 0 var(--siparis-radius-sm) var(--siparis-radius-sm);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s;
    max-height: 380px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.siparis-container .bolge-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.siparis-container .bolge-dropdown-header {
    padding: 14px 16px;
    border-bottom: 1px solid #f3f4f6;
    background: #f9fafb;
    flex-shrink: 0;
}

.siparis-container .bolge-dropdown-header h6 {
    font-size: 12px;
    font-weight: 700;
    color: #374151;
    margin: 0 0 10px;
}

.siparis-container .bolge-search {
    position: relative;
}

.siparis-container .bolge-search input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
    background: #fff;
    color: var(--siparis-text);
}

.siparis-container .bolge-search input:focus {
    outline: none;
    border-color: var(--siparis-primary);
    box-shadow: 0 0 0 3px rgba(31, 41, 55, 0.1);
}

.siparis-container .bolge-search i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 13px;
}

/* Liste */
.siparis-container .bolge-dropdown-list {
    max-height: 280px;
    overflow-y: auto;
    padding: 6px;
    flex: 1;
}

.siparis-container .bolge-dropdown-list::-webkit-scrollbar {
    width: 5px;
}

.siparis-container .bolge-dropdown-list::-webkit-scrollbar-track {
    background: transparent;
}

.siparis-container .bolge-dropdown-list::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.siparis-container .bolge-dropdown-list::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.siparis-container .bolge-loading {
    text-align: center;
    padding: 24px;
    color: #9ca3af;
    font-size: 13px;
}

.siparis-container .bolge-no-result {
    text-align: center;
    padding: 24px;
    color: #9ca3af;
}

.siparis-container .bolge-no-result i {
    font-size: 24px;
    display: block;
    margin-bottom: 6px;
}

.siparis-container .bolge-no-result p {
    margin: 0;
    font-size: 13px;
}

/* Item */
.siparis-container .bolge-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
    color: #374151;
    cursor: pointer;
    transition: all 0.15s;
    margin-bottom: 2px;
}

.siparis-container .bolge-item:hover {
    background: #f3f4f6;
    color: #15803d;
}

.siparis-container .bolge-item.active {
    background: var(--siparis-primary);
    color: #fff;
}

.siparis-container .bolge-item .bolge-item-name {
    font-weight: 600;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.siparis-container .bolge-item .bolge-item-price {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    margin-left: 8px;
    flex-shrink: 0;
}

.siparis-container .bolge-item .bolge-item-price.ucretsiz {
    color: var(--siparis-primary);
}

.siparis-container .bolge-item.active .bolge-item-price {
    color: rgba(255, 255, 255, 0.85);
}

/* Edit modu icinde z-index ayari */
.siparis-container .bolge-secici-edit .bolge-dropdown-menu {
    z-index: 1060;
}

/* Responsive */
@media (max-width: 576px) {
    .siparis-container .bolge-secici-btn {
        padding: 10px 14px;
        gap: 10px;
    }

    .siparis-container .bolge-secici-btn .bolge-icon {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }

    .siparis-container .bolge-secici-btn .bolge-value {
        font-size: 13px;
    }

    .siparis-container .bolge-dropdown-menu {
        max-height: 320px;
    }

    .siparis-container .bolge-dropdown-list {
        max-height: 220px;
    }
}

/* Gönderen + Alıcı: cok kucuk ekranlarda tek sutuna dus */
@media (max-width: 359px) {
    #gonderen-card .form-row,
    #genel-alici-bilgileri-card .form-row {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   SİPARİŞ (ÖDEME) SAYFASI — SADE CHECKOUT
   Dikkat dağıtan site öğelerini gizle. KAPSAM: body.odeme-sayfasi — frontend siparis/index.php
   root header.php'de bu sınıfı basar. NOT: css/siparis.css'i panel/siparis/index.php DE yükler,
   AMA o panel/header.php (düz <body>) kullanır → orada .odeme-sayfasi YOKTUR, bu kurallar eşleşmez
   (admin panel footer'ı ETKİLENMEZ). Sağ sabit sosyal butonlar (.float-buttons) KORUNUR — istek.
   Gizlenen: footer + Haftanın Fırsatı sekme/panel + CANLI DESTEK popup + AI chatbot launcher.
   Tüm cihazlarda geçerli (display:none). Header + checkout içeriği + checkout butonları kalır.
   ===================================================== */
.odeme-sayfasi .site-footer,
.odeme-sayfasi #hfTab,
.odeme-sayfasi #hfPanel,
.odeme-sayfasi #canliDestek,
.odeme-sayfasi #asis-launcher { display: none !important; }

/* =====================================================
   EK ÜRÜNLER — SAĞ KOLON: MİNİMAL / KOMPAKT (≤6 ek ürün)
   Ek ürün sayısı ≤6 iken kartlar sağ kolondaki boş alana konur (siparis/index.php $_ek_urun_sag).
   Bu blok YALNIZ sağ kolon versiyonunu (.ek-urunler-sag) küçültür/minimalleştirir; alt tam-genişlik
   versiyon (.ek-urunler-fullwidth ama .ek-urunler-sag YOK) DOKUNULMAZ. İki-sınıf seçici (≥0,3,0) →
   base kuralları (0,1,0 / 0,2,0) güvenle ezer, !important gerekmez. HTML/JS/id/class değişmez.
   ===================================================== */
.ek-urunler-fullwidth.ek-urunler-sag { margin-top: 18px; }

/* Grid: masaüstü 3 kolon (6 kart = 2×3 simetrik), tablet/mobil 2 kolon */
.ek-urunler-fullwidth.ek-urunler-sag .ek-urunler-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }

/* Başlık: KOMPAKT (küçük padding + küçük h3 + küçük ikon → yükseklik azalır) */
.ek-urunler-fullwidth.ek-urunler-sag .section-header { padding: 10px 14px; gap: 8px; }
.ek-urunler-fullwidth.ek-urunler-sag .section-header h3 { font-size: 14px; }
.ek-urunler-fullwidth.ek-urunler-sag .section-header .bi { font-size: 16px; }

/* Gövde: dar boşluk */
.ek-urunler-fullwidth.ek-urunler-sag .section-body { padding: 12px 14px; }

/* Kart: kompakt (küçük padding/görsel/yazı; sabit 34px name min-height kaldırıldı → yükseklik düşer) */
.ek-urunler-fullwidth.ek-urunler-sag .product-item { padding: 10px 9px; border-width: 1.5px; border-radius: 10px; max-width: none; }
.ek-urunler-fullwidth.ek-urunler-sag .product-item img { width: 58px; height: 58px; border-radius: 8px; margin: 0 auto 7px; }
.ek-urunler-fullwidth.ek-urunler-sag .product-name { font-size: 12px; font-weight: 600; min-height: 0; margin-bottom: 3px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ek-urunler-fullwidth.ek-urunler-sag .product-price { font-size: 13.5px; margin-bottom: 7px; }

/* Adet seçici: MİNİMAL — pill zemin, küçük yuvarlak butonlar, çerçevesiz sade sayı */
.ek-urunler-fullwidth.ek-urunler-sag .ek-urun-adet-wrapper { gap: 3px; margin: 0 auto; padding: 3px; border-radius: 999px; background: #f1f5f9; width: fit-content; }
.ek-urunler-fullwidth.ek-urunler-sag .ek-urun-adet-wrapper button { width: 26px; height: 26px; border-radius: 50%; font-size: 14px; }
.ek-urunler-fullwidth.ek-urunler-sag .ek_urun_adet { width: 28px; height: 26px; font-size: 13px; border: none; background: transparent; box-shadow: none; color: #1f2937; }
.ek-urunler-fullwidth.ek-urunler-sag .ek_urun_adet:focus { border: none; box-shadow: none; }

@media (max-width: 1200px) {
    .ek-urunler-fullwidth.ek-urunler-sag .ek-urunler-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .ek-urunler-fullwidth.ek-urunler-sag .ek-urunler-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .ek-urunler-fullwidth.ek-urunler-sag .section-body { padding: 12px; }
    .ek-urunler-fullwidth.ek-urunler-sag .product-item img { width: 52px; height: 52px; }
}
