/* ================================================================ */
/* Hesabım paneli — Münire Hanım renkleri                          */
/* ================================================================ */
/*
 * Atakan: "Hesabım paneli UI ları da münire hanım renklerine uygun
 * şekilde düzenlenebilirdi."
 *
 * Haklıydı: bu dosya jenerik bir şablon paletiyle geliyordu —
 * lacivert (#2c3e50), parlak kırmızı (#e74c3c), mavi (#2980b9) ve
 * soğuk gri tonları (#64748b, #f8fafc). Sitenin geri kalanı ise ceviz
 * kahvesi ve krem: MH Engage'in kendi CSS'i (front.css) ve yönetim
 * paneli (mh-admin.css) zaten bu paleti kullanıyordu. Yani Hesabım
 * sayfası sitenin içinde yabancı duruyordu.
 *
 * ⚠️ SİPARİŞ DURUMU ROZETLERİNE DOKUNULMADI. Onların renkleri anlam
 *    taşıyor (yeşil = tamamlandı, kırmızı = başarısız, mavi = kargoda)
 *    ve MH Core'daki durum ayarlarıyla aynı mantığı izliyor. Değişen
 *    şey yalnızca çerçeve: arka planlar, kenarlıklar, metin tonları,
 *    düğmeler, sekmeler ve odak halkaları.
 */
:root {
    /* Marka paleti — mh-admin.css ve front.css ile birebir aynı */
    --mhe-primary:#8B5E3C;      /* ceviz  */
    --mhe-primary-dark:#5A3A22; /* koyu ceviz — hover */
    --mhe-accent:#AE4438;       /* kök boya kırmızısı */
    --mhe-gold:#C9A882;         /* altın vurgusu */
    --mhe-success:#3F7D5A;
    --mhe-warning:#B07620;
    --mhe-blue:#3A5568;         /* bilgi tonu — soğuk mavi değil */
    --mhe-border:#E8DFD6;
    --mhe-bg:#FAF7F4;
    --mhe-surface-2:#F4F0EB;
    --mhe-text:#2F2A26;
    --mhe-muted:#7A706A;
    --mhe-faint:#A2988F;
    --mhe-radius:10px;--mhe-shadow:0 1px 2px rgba(47,42,38,.05),0 6px 20px rgba(47,42,38,.06);
    --mhe-font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
}
/*
 * Kutu sınırı TAMAMEN kaldırıldı.
 *
 * Atakan: "bu hesabım menüsü de bi box içinde sınırlandırılması gereksiz
 * diye düşünüyorum" — sonra 1440 pikselde hâlâ kutulu göründüğünü bildirdi.
 * Sipariş kartları, kargo çizelgesi ve iade formu geniş ekranda daha rahat
 * okunuyor; sağda boşluk bırakmaya gerek yok.
 *
 * Okunabilirlik zaten iç bölümlerde korunuyor: `.mhe-totals` 320px,
 * `.mhe-iade-wrap` 780px, misafir sorgu formu 540px ile sınırlı.
 */
.mhe-wrap{max-width:none;margin:0 auto 48px;font-family:var(--mhe-font);color:var(--mhe-text);font-size:15px}
.mhe-topbar{display:flex;justify-content:space-between;align-items:center;padding:10px 0;margin-bottom:6px;border-bottom:1px solid var(--mhe-border)}
.mhe-topbar-name{font-size:14px;font-weight:600;color:var(--mhe-muted)}
.mhe-logout-btn{padding:6px 14px;background:var(--mhe-surface-2);border:1.5px solid var(--mhe-border);border-radius:6px;font-size:13px;font-weight:600;color:var(--mhe-primary);cursor:pointer;text-decoration:none;transition:all .2s}
.mhe-logout-btn:hover{background:#F7E9E6;border-color:#E5C3BC;color:#8E3428}
/* Tabs */
.mhe-tabs{display:flex;gap:4px;border-bottom:2px solid var(--mhe-border);margin-bottom:28px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.mhe-tabs::-webkit-scrollbar{display:none}
.mhe-tab{flex-shrink:0;display:flex;align-items:center;gap:6px;padding:12px 20px;border:none;background:none;cursor:pointer;font-size:14px;font-weight:600;color:var(--mhe-muted);border-bottom:3px solid transparent;margin-bottom:-2px;border-radius:6px 6px 0 0;transition:all .2s;white-space:nowrap}
@media(max-width:640px){
    .mhe-tabs{
        display:grid;
        grid-template-columns:repeat(2,1fr);
        overflow-x:visible;
        border-bottom:none;
        gap:6px;
        margin-bottom:20px;
        padding:0;
    }
    .mhe-tab{
        flex-shrink:unset;
        padding:10px 8px;
        font-size:12px;
        gap:4px;
        background:var(--mhe-bg);
        border:1.5px solid var(--mhe-border);
        border-radius:8px;
        border-bottom:1.5px solid var(--mhe-border);
        margin-bottom:0;
        white-space:nowrap;
        overflow:hidden;
        text-overflow:ellipsis;
        justify-content:center;
    }
    .mhe-tab-active{
        background:var(--mhe-primary) !important;
        color:#fff !important;
        border-color:var(--mhe-primary) !important;
        border-bottom-color:var(--mhe-primary) !important;
    }
    .mhe-tab span{display:inline}
    .mhe-tab:last-child:nth-child(odd){
        grid-column:1 / -1;
    }
}
.mhe-tab:hover{color:var(--mhe-primary);background:var(--mhe-surface-2)}
.mhe-tab-active{color:var(--mhe-primary);border-bottom-color:var(--mhe-primary)}
/* Cards */
.mhe-orders-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}
.mhe-order-card{background:#fff;border:1.5px solid var(--mhe-border);border-radius:var(--mhe-radius);padding:18px;cursor:pointer;transition:border-color .2s,box-shadow .2s,transform .15s;box-shadow:var(--mhe-shadow)}
.mhe-order-card:hover{border-color:var(--mhe-blue);box-shadow:0 4px 16px rgba(139,94,60,.14);transform:translateY(-2px)}
.mhe-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.mhe-card-number{font-weight:700;font-size:16px;color:var(--mhe-primary)}
.mhe-card-meta{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:13px;color:var(--mhe-muted);margin-bottom:14px}
.mhe-card-total{font-weight:700;color:var(--mhe-primary);margin-left:auto}
.mhe-card-actions{display:flex;gap:8px;flex-wrap:wrap}
.mhe-card-btn{display:inline-flex;align-items:center;gap:4px;padding:6px 12px;border-radius:6px;font-size:12px;font-weight:600;border:none;cursor:pointer;text-decoration:none;transition:all .2s}
.mhe-cb-fatura{background:var(--mhe-surface-2);color:var(--mhe-primary-dark)}.mhe-cb-fatura:hover{background:var(--mhe-border);color:var(--mhe-primary-dark)}
.mhe-cb-kargo{background:#EAF2ED;color:#2F6B4F}.mhe-cb-kargo:hover{background:#D9E9E0;color:#2F6B4F}
.mhe-cb-pay{background:#F8EFDF;color:#8A5A16}.mhe-cb-pay:hover{background:#EBD7B4;color:#8A5A16}
.mhe-cb-detail{background:var(--mhe-primary);color:#fff;margin-left:auto}.mhe-cb-detail:hover{background:var(--mhe-primary-dark);color:#fff}
/* Status badges */
.mhe-card-status,.mhe-status-badge{display:inline-block;padding:3px 10px;border-radius:20px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.mhe-status-completed,.mhe-status-tamamlandi-fatura,.mhe-status-2026{background:#d1fae5;color:#065f46}
.mhe-status-processing{background:#fef3c7;color:#92400e}
.mhe-status-on-hold{background:#e0e7ff;color:#3730a3}
.mhe-status-pending,.mhe-status-failed{background:#fee2e2;color:#991b1b}
.mhe-status-kargoya-verildi,.mhe-status-kargoya-verildi1{background:#cffafe;color:#155e75}
.mhe-status-eksik-bilgi{background:#fce7f3;color:#9d174d}
.mhe-status-cancelled,.mhe-status-refunded{background:var(--mhe-surface-2);color:var(--mhe-muted)}
.mhe-status-iade-talebi{background:#fce7f3;color:#9d174d}
/* Order detail */
.mhe-back-btn{display:inline-flex;align-items:center;gap:6px;background:none;border:1.5px solid var(--mhe-border);border-radius:8px;padding:8px 16px;cursor:pointer;font-size:14px;font-weight:600;color:var(--mhe-muted);margin-bottom:20px;transition:all .2s}
.mhe-back-btn:hover{border-color:var(--mhe-primary);color:var(--mhe-primary)}
.mhe-order-detail{background:#fff;border:1.5px solid var(--mhe-border);border-radius:var(--mhe-radius);overflow:hidden;box-shadow:var(--mhe-shadow)}
.mhe-detail-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;background:var(--mhe-bg);border-bottom:1px solid var(--mhe-border);flex-wrap:wrap;gap:10px}
.mhe-detail-header-left{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.mhe-detail-number{font-size:18px;font-weight:700;color:var(--mhe-primary)}
.mhe-detail-date{font-size:13px;color:var(--mhe-muted)}
.mhe-detail-actions{display:flex;gap:10px;flex-wrap:wrap;padding:16px 24px;border-bottom:1px solid var(--mhe-border)}
.mhe-action-btn{display:inline-flex;align-items:center;gap:6px;padding:9px 18px;border-radius:8px;font-size:14px;font-weight:600;text-decoration:none;transition:all .2s;border:1.5px solid transparent;cursor:pointer}
.mhe-btn-fatura{background:var(--mhe-surface-2);color:var(--mhe-primary-dark);border-color:var(--mhe-border)}.mhe-btn-fatura:hover{background:var(--mhe-border)}
.mhe-btn-kargo{background:#EAF2ED;color:#2F6B4F;border-color:#C9DED3}.mhe-btn-kargo:hover{background:#D9E9E0}
.mhe-btn-iade{background:#F8EFDF;color:#8A5A16;border-color:#EBD7B4}.mhe-btn-iade:hover{background:#EBD7B4}
.mhe-btn-pay{background:#F7E9E6;color:#8E3428;border-color:#E5C3BC}.mhe-btn-pay:hover{background:#EFD8D3;color:#8E3428}
.mhe-btn-bank{background:#E9EFF3;color:#2E4557;border-color:#C8D6DF}.mhe-btn-bank:hover{background:#D8E3EA}
.mhe-btn-wa{background:#E7F4EC;color:#2F6B4F;border-color:#C9DED3}.mhe-btn-wa:hover{background:#D9E9E0}
.mhe-btn-review{background:#F6EEE1;color:#7A5518;border-color:var(--mhe-gold)}.mhe-btn-review:hover{background:#EFE2CC}
.mhe-btn-reviewed{background:#EAF2ED;color:#2F6B4F;border-color:#C9DED3;cursor:default}
.mhe-cb-review{background:#F6EEE1 !important;color:#7A5518 !important}
/* Timeline */
.mhe-timeline{display:flex;align-items:center;padding:20px 24px;background:var(--mhe-bg);border-bottom:1px solid var(--mhe-border);overflow-x:auto}
.mhe-tl-step{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:76px;flex-shrink:0}
.mhe-tl-icon{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:17px;border:2px solid var(--mhe-border);background:#fff;transition:all .2s}
.mhe-tl-done .mhe-tl-icon{background:var(--mhe-success);border-color:var(--mhe-success)}
.mhe-tl-active .mhe-tl-icon{background:var(--mhe-blue);border-color:var(--mhe-blue);box-shadow:0 0 0 4px rgba(139,94,60,.2)}
.mhe-tl-label{font-size:10px;font-weight:600;color:var(--mhe-faint);text-align:center;white-space:nowrap}
.mhe-tl-done .mhe-tl-label,.mhe-tl-active .mhe-tl-label{color:var(--mhe-primary)}
.mhe-tl-line{flex:1;height:3px;min-width:20px;background:var(--mhe-border);border-radius:2px}
.mhe-tl-line-done{background:var(--mhe-success)}
/* Cargo info */
.mhe-cargo-info{margin:16px 24px;padding:14px 18px;background:#EAF2ED;border:1px solid #C9DED3;border-radius:var(--mhe-radius)}
.mhe-cargo-est{font-size:14px;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.mhe-est-date{font-weight:700;color:var(--mhe-primary)}
.mhe-cargo-note{font-size:12px;color:var(--mhe-muted)}
.mhe-cargo-delivered{margin:16px 24px;padding:12px 18px;background:#E7F4EC;border:1px solid #A9CEBB;border-radius:var(--mhe-radius);font-size:14px;color:#2F6B4F}
.mhe-cargo-mask-note{display:block;font-size:11px;color:var(--mhe-faint);margin-top:4px}
.mhe-info-bar{margin:16px 24px;padding:12px 18px;background:#F8EFDF;border-left:4px solid var(--mhe-warning);border-radius:var(--mhe-radius);font-size:14px;color:#8A5A16}
.mhe-info-bar--warning{background:#F8EFDF;border-color:var(--mhe-warning)}
.mhe-info-bar--error{background:#F7E9E6;border-color:var(--mhe-accent);color:#8E3428}
.mhe-inline-link{color:inherit;font-weight:700;text-decoration:underline}
/* Detail sections */
.mhe-detail-section{padding:20px 24px;border-bottom:1px solid var(--mhe-border)}
.mhe-detail-section:last-child{border-bottom:none}
.mhe-section-title{margin:0 0 14px;font-size:13px;font-weight:700;color:var(--mhe-muted);text-transform:uppercase;letter-spacing:.06em}
.mhe-items-list{display:flex;flex-direction:column;gap:12px}
.mhe-item-row{display:flex;align-items:center;gap:14px}
.mhe-item-img img{width:56px;height:56px;object-fit:cover;border-radius:8px;border:1px solid var(--mhe-border)}
.mhe-item-info{flex:1}
.mhe-item-name{font-weight:600;font-size:14px;margin-bottom:3px}
.mhe-item-meta{font-size:12px;color:var(--mhe-muted)}
.mhe-item-qty{color:var(--mhe-muted);font-weight:600;font-size:13px;white-space:nowrap}
.mhe-item-price{font-weight:700;font-size:15px;white-space:nowrap;margin-left:8px}
.mhe-totals{max-width:320px;margin-left:auto}
.mhe-total-row{display:flex;justify-content:space-between;padding:6px 0;font-size:14px;border-bottom:1px dashed var(--mhe-border)}
.mhe-total-row:last-child{border-bottom:none}
.mhe-total-grand{font-weight:700;font-size:16px;padding-top:10px}
address{font-style:normal;font-size:14px;line-height:1.8;color:var(--mhe-muted)}
.mhe-addr-warn{font-size:13px;color:var(--mhe-muted);margin-top:10px;padding:10px 14px;background:var(--mhe-bg);border-radius:6px;border:1px solid var(--mhe-border)}
.mhe-addr-warn a{color:var(--mhe-blue)}
/* Guest */
/*
 * Misafir sorgu formu genişletildi.
 *
 * Atakan: "misafir sorgu formu 540px bunu da genişletsek güzel durmuyor".
 * 540 piksel tek bir telefon alanı için mantıklıydı ama sorgu SONUCU da
 * aynı kabın içinde çiziliyor — sipariş kartları, kargo çizelgesi ve iade
 * formu o dar kutuya sıkışıyordu.
 */
.mhe-guest-wrap{max-width:900px;margin:0 auto}

/* Sorgu/giriş formları dar kalsın — tek alanlık form geniş olunca kötü duruyor. */
.mhe-guest-wrap .mhe-guest-section{max-width:540px;margin-left:auto;margin-right:auto}
.mhe-guest-section{background:#fff;border:1.5px solid var(--mhe-border);border-radius:var(--mhe-radius);padding:28px;margin-bottom:4px;box-shadow:var(--mhe-shadow)}
.mhe-guest-section h3{margin:0 0 16px;font-size:17px;color:var(--mhe-primary)}
.mhe-guest-divider{text-align:center;margin:16px 0;position:relative}
.mhe-guest-divider::before{content:'';position:absolute;left:0;top:50%;width:100%;height:1px;background:var(--mhe-border)}
.mhe-guest-divider span{background:var(--mhe-bg);padding:0 16px;position:relative;font-size:13px;color:var(--mhe-faint);font-weight:600}
.mhe-detect-hint{display:block;font-size:13px;color:var(--mhe-blue);margin-top:5px;min-height:18px;font-weight:500}
/* Forms */
.mhe-form{background:#fff;border:1.5px solid var(--mhe-border);border-radius:var(--mhe-radius);padding:28px;box-shadow:var(--mhe-shadow)}
.mhe-form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.mhe-field{margin-bottom:16px}
.mhe-field label{display:block;font-weight:600;font-size:13px;color:var(--mhe-muted);margin-bottom:6px}
.mhe-field input,.mhe-field select,.mhe-field textarea{width:100%;padding:10px 13px;border:1.5px solid var(--mhe-border);border-radius:8px;font-size:15px;box-sizing:border-box;transition:border-color .2s,box-shadow .2s;background:#fff;font-family:var(--mhe-font)}
.mhe-field input:focus,.mhe-field select:focus,.mhe-field textarea:focus{outline:none;border-color:var(--mhe-blue);box-shadow:0 0 0 3px rgba(139,94,60,.12)}
.mhe-divider{border:none;border-top:1.5px solid var(--mhe-border);margin:20px 0}
.mhe-sub-title{font-size:15px;font-weight:700;color:var(--mhe-primary);margin:0 0 6px}
.mhe-desc,.mhe-hint{font-size:13px;color:var(--mhe-muted);margin-bottom:10px;display:block}
/* Buttons */
.mhe-btn{display:inline-flex;align-items:center;gap:6px;padding:11px 24px;border-radius:8px;font-size:14px;font-weight:700;cursor:pointer;border:none;text-decoration:none;transition:all .2s;letter-spacing:.01em}
.mhe-btn:active{transform:translateY(1px)}
.mhe-btn-primary{background:var(--mhe-primary);color:#fff;box-shadow:0 2px 6px rgba(139,94,60,.22)}.mhe-btn-primary:hover{background:var(--mhe-primary-dark);color:#fff}
.mhe-btn-secondary{background:var(--mhe-surface-2);color:var(--mhe-primary)}.mhe-btn-secondary:hover{background:var(--mhe-border)}
.mhe-btn-danger{background:#F7E9E6;color:#8E3428}.mhe-btn-danger:hover{background:#EFD8D3}
.mhe-btn-sm{padding:7px 14px;font-size:12px}
.mhe-btn:disabled{opacity:.55;cursor:default}
.mhe-link{background:none;border:none;color:var(--mhe-blue);cursor:pointer;font-size:14px;text-decoration:underline;padding:0;display:inline-block;margin-top:8px}
.mhe-wa-link{color:var(--mhe-success);font-weight:600}
/* Iade form */
.mhe-iade-wrap{max-width:1000px}
.mhe-iade-wrap h2{font-size:20px;color:var(--mhe-primary);margin-bottom:20px}
.mhe-talep-tipi-wrap{display:flex;gap:16px;margin-bottom:20px}
.mhe-talep-opt{display:flex;align-items:center;gap:8px;cursor:pointer;padding:12px 18px;border:2px solid var(--mhe-border);border-radius:var(--mhe-radius);transition:all .2s;flex:1;justify-content:center}
.mhe-talep-opt:has(input:checked){border-color:var(--mhe-primary);background:var(--mhe-surface-2)}
.mhe-talep-opt input{accent-color:var(--mhe-primary)}
.mhe-talep-label{font-weight:600;font-size:15px}
.mhe-products{margin-bottom:20px}
.mhe-product-row{border:1.5px solid var(--mhe-border);border-radius:var(--mhe-radius);padding:14px 16px;margin-bottom:10px;background:#fff;transition:border-color .2s,box-shadow .2s}
.mhe-product-row.mhe-selected{border-color:var(--mhe-blue);box-shadow:0 0 0 3px rgba(139,94,60,.1)}
.mhe-product-row.mhe-blocked{background:#FBF3F1;border-color:#E3C4BE}
.mhe-product-label{display:flex;align-items:center;gap:12px;cursor:pointer;font-weight:500;user-select:none}
.mhe-product-row.mhe-blocked .mhe-product-label{cursor:default;color:var(--mhe-faint)}
.mhe-product-label input[type=checkbox]{appearance:none;-webkit-appearance:none;width:20px;height:20px;border:2px solid var(--mhe-border);border-radius:5px;flex-shrink:0;cursor:pointer;transition:all .15s;position:relative}
.mhe-product-label input[type=checkbox]:checked{background:var(--mhe-primary);border-color:var(--mhe-primary)}
.mhe-product-label input[type=checkbox]:checked::after{content:'';position:absolute;left:5px;top:2px;width:7px;height:11px;border:2px solid #fff;border-top:none;border-left:none;transform:rotate(45deg)}
.mhe-product-label input[type=checkbox]:disabled{opacity:.4;cursor:default}
.mhe-thumb img{width:52px;height:52px;object-fit:cover;border-radius:6px;border:1px solid var(--mhe-border)}
.mhe-product-name{flex:1;font-size:14px}
.mhe-product-qty{color:var(--mhe-faint);font-size:13px;white-space:nowrap}
.mhe-blocked-reason{margin:8px 0 0 32px;font-size:13px;color:var(--mhe-accent);font-style:italic}
/* Stepper */
.mhe-qty-wrap{margin-top:12px;padding:12px 16px;background:linear-gradient(135deg,var(--mhe-bg),var(--mhe-surface-2));border-radius:var(--mhe-radius);border:1px solid var(--mhe-border)}
.mhe-qty-stepper{display:flex;align-items:center;gap:14px}
.mhe-qty-label{font-size:13px;color:var(--mhe-muted);font-weight:600;text-transform:uppercase;letter-spacing:.02em;white-space:nowrap}
.mhe-stepper-ctrl{display:flex;align-items:center;background:#fff;border:2px solid var(--mhe-border);border-radius:50px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.06);transition:all .2s}
.mhe-stepper-ctrl:focus-within{border-color:var(--mhe-primary);box-shadow:0 0 0 3px rgba(139,94,60,.12)}
.mhe-stepper-btn{background:transparent;border:none;width:40px;height:40px;font-size:20px;font-weight:300;cursor:pointer;color:var(--mhe-primary);display:flex;align-items:center;justify-content:center;transition:background .15s;flex-shrink:0}
.mhe-stepper-btn:hover{background:var(--mhe-surface-2)}
.mhe-stepper-input{width:52px;text-align:center;border:none;border-left:1.5px solid var(--mhe-border);border-right:1.5px solid var(--mhe-border);font-size:16px;font-weight:700;color:var(--mhe-primary);padding:0;height:40px;background:#fff;-moz-appearance:textfield;outline:none}
.mhe-stepper-input::-webkit-inner-spin-button,.mhe-stepper-input::-webkit-outer-spin-button{-webkit-appearance:none}
.mhe-stepper-max{font-size:12px;color:var(--mhe-faint);font-weight:500;white-space:nowrap;margin-left:2px}
/* Policy */
.mhe-policy-inline{background:var(--mhe-bg);border:1px solid var(--mhe-border);border-radius:var(--mhe-radius) var(--mhe-radius) 0 0;padding:16px 20px 14px;font-size:13px;line-height:1.65}
.mhe-policy-inline h4{margin:0 0 10px;font-size:14px;color:var(--mhe-primary);font-weight:700}
.mhe-policy-scroll{max-height:200px;overflow-y:auto;padding-right:4px}
.mhe-policy-scroll p{margin:0 0 7px;color:var(--mhe-muted)}
.mhe-policy-scroll::-webkit-scrollbar{width:4px}
.mhe-policy-scroll::-webkit-scrollbar-thumb{background:var(--mhe-border);border-radius:4px}
.mhe-policy-accept{background:#fff;border:1px solid var(--mhe-border);border-top:none;border-radius:0 0 var(--mhe-radius) var(--mhe-radius);padding:14px 20px;margin-bottom:24px}
.mhe-policy-accept-label{display:flex;align-items:center;gap:10px;cursor:pointer;font-size:14px;font-weight:600;color:var(--mhe-primary)}
.mhe-policy-accept-label input[type=checkbox]{appearance:none;-webkit-appearance:none;width:20px;height:20px;border:2px solid var(--mhe-border);border-radius:5px;flex-shrink:0;cursor:pointer;transition:all .15s;position:relative}
.mhe-policy-accept-label input[type=checkbox]:checked{background:var(--mhe-success);border-color:var(--mhe-success)}
.mhe-policy-accept-label input[type=checkbox]:checked::after{content:'';position:absolute;left:5px;top:2px;width:7px;height:11px;border:2px solid #fff;border-top:none;border-left:none;transform:rotate(45deg)}
/* Photo upload */
.mhe-file-label{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:2px dashed var(--mhe-border);border-radius:var(--mhe-radius);padding:24px;cursor:pointer;transition:all .2s;background:var(--mhe-bg);margin-top:6px}
.mhe-file-label:hover{border-color:var(--mhe-blue);background:var(--mhe-surface-2)}
.mhe-file-icon{font-size:30px}.mhe-file-text{font-weight:600;color:var(--mhe-primary);font-size:14px}.mhe-file-sub{font-size:12px;color:var(--mhe-faint)}
.mhe-foto-preview{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.mhe-foto-thumb{position:relative;width:80px;height:80px;border-radius:var(--mhe-radius);overflow:hidden;border:2px solid var(--mhe-border)}
.mhe-foto-thumb img{width:100%;height:100%;object-fit:cover}
.mhe-foto-remove{position:absolute;top:3px;right:3px;background:rgba(0,0,0,.65);color:#fff;border:none;border-radius:50%;width:20px;height:20px;font-size:13px;cursor:pointer;line-height:20px;text-align:center;padding:0}
.mhe-iban-wrap{background:#FBF6EC;border:1.5px solid var(--mhe-gold);border-radius:var(--mhe-radius);padding:16px 20px;margin-bottom:18px}
.mhe-form-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
/* Msgs */
.mhe-msg{padding:12px 16px;border-radius:8px;margin-bottom:16px;font-weight:500;font-size:14px;display:none}
.mhe-msg-ok{background:#E7F4EC;color:#2F6B4F;border-left:4px solid var(--mhe-success)}
.mhe-msg-error{background:#F7E9E6;color:#8E3428;border-left:4px solid var(--mhe-accent)}
.mhe-error{color:#8E3428;background:#F7E9E6;padding:12px 16px;border-radius:8px;border-left:4px solid var(--mhe-accent);margin-bottom:16px}
.mhe-empty{text-align:center;padding:48px 24px;color:var(--mhe-muted)}
.mhe-empty-icon{display:block;font-size:48px;margin-bottom:12px}
.mhe-section-header h2{font-size:22px;color:var(--mhe-primary);margin:0 0 20px}
/* Waitlist */
.mhe-waitlist-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px}
.mhe-waitlist-card{background:#fff;border:1.5px solid var(--mhe-border);border-radius:var(--mhe-radius);overflow:hidden;box-shadow:var(--mhe-shadow);display:flex;flex-direction:column}
.mhe-wl-img img{width:100%;height:160px;object-fit:cover;display:block}
.mhe-wl-info{padding:14px 16px;flex:1}
.mhe-wl-name{font-weight:700;font-size:14px;color:var(--mhe-primary);text-decoration:none;display:block;margin-bottom:6px}
.mhe-wl-price{font-size:15px;font-weight:700;color:var(--mhe-accent);margin-bottom:4px}
.mhe-wl-date{font-size:12px;color:var(--mhe-faint)}
.mhe-wl-stock{font-size:12px;font-weight:600;margin-top:4px}
.mhe-wl-oos{color:var(--mhe-muted)}
.mhe-wl-actions{display:flex;gap:8px;padding:12px 16px;border-top:1px solid var(--mhe-border);flex-wrap:wrap}
/* İade onay bilgi kutusu */
.mhe-iade-onay-section{background:#FBF6EC;border-top:1px solid var(--mhe-border)}
.mhe-iade-onay-box{background:#F8EFDF;border:1.5px solid var(--mhe-gold);border-radius:var(--mhe-radius);padding:16px 20px;font-size:14px;line-height:1.8;color:#6B4A12;white-space:pre-line}
/* 6-step iade timeline - smaller steps to fit */
.mhe-timeline-iade .mhe-tl-step{min-width:62px}
.mhe-timeline-iade .mhe-tl-icon{width:36px;height:36px;font-size:15px}
.mhe-timeline-iade .mhe-tl-label{font-size:9px}
/* Iade onay banner — timeline üstünde */
.mhe-iade-onay-banner{margin:0;padding:18px 24px;background:linear-gradient(135deg,#FBF6EC,#F8EFDF);border-bottom:1px solid #EBD7B4}
.mhe-iade-onay-title{font-weight:700;font-size:15px;color:#8A5A16;margin-bottom:10px}
.mhe-iade-onay-body{font-size:13px;line-height:1.75;color:#6B4A12;white-space:pre-line}
/* Spinner */
.mhe-spinner{display:inline-block;width:32px;height:32px;border:3px solid var(--mhe-border);border-top-color:var(--mhe-blue);border-radius:50%;animation:mhe-spin .7s linear infinite}
@keyframes mhe-spin{to{transform:rotate(360deg)}}
.mhe-loading{text-align:center;padding:40px}
/* Popup */
.mhe-popup-overlay{position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:99999;display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box}
.mhe-popup-box{background:#fff;border-radius:var(--mhe-radius);width:100%;max-width:780px;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 60px rgba(0,0,0,.3);position:relative;overflow:hidden}
.mhe-popup-close{position:absolute;top:12px;right:12px;background:rgba(0,0,0,.1);border:none;border-radius:50%;width:32px;height:32px;font-size:18px;cursor:pointer;z-index:1;transition:background .2s}
.mhe-popup-close:hover{background:rgba(0,0,0,.2)}
.mhe-popup-title{padding:16px 50px 16px 20px;font-weight:700;font-size:16px;border-bottom:1px solid var(--mhe-border)}
.mhe-popup-frame{flex:1;border:none;min-height:400px}
/* Bank popup */
.mhe-bank-popup{max-width:420px}
.mhe-bank-popup h3{padding:20px 20px 0;margin:0 0 16px;font-size:18px;color:var(--mhe-primary)}
.mhe-bank-row{display:flex;align-items:center;gap:12px;padding:12px 20px;border-bottom:1px solid var(--mhe-border)}
.mhe-bank-label{font-size:12px;font-weight:700;color:var(--mhe-muted);width:70px;flex-shrink:0;text-transform:uppercase}
.mhe-bank-value{flex:1;font-size:15px;font-weight:600;color:var(--mhe-primary);word-break:break-all}
.mhe-copy-btn{padding:5px 10px;background:var(--mhe-bg);border:1px solid var(--mhe-border);border-radius:6px;font-size:12px;font-weight:600;cursor:pointer;white-space:nowrap;transition:all .2s;flex-shrink:0}
.mhe-copy-btn:hover{background:var(--mhe-primary);color:#fff;border-color:var(--mhe-primary)}
.mhe-copy-btn.copied{background:var(--mhe-success);color:#fff;border-color:var(--mhe-success)}
.mhe-bank-note{padding:16px 20px;font-size:13px;color:var(--mhe-muted);margin:0}
/* Mobile */
@media(max-width:640px){
    .mhe-orders-grid{grid-template-columns:1fr}
    .mhe-form-row{grid-template-columns:1fr}
    .mhe-detail-header{flex-direction:column;align-items:flex-start}
    .mhe-guest-section{padding:20px 16px}
    .mhe-form{padding:18px 16px}
    .mhe-waitlist-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
    .mhe-totals{max-width:100%}
    .mhe-talep-tipi-wrap{flex-direction:column}
    .mhe-timeline{padding:16px 12px}
    .mhe-tl-step{min-width:60px}
}

/* İade onay notu kutusu */
.mhe-iade-onay-section{background:#FBF6EC}
.mhe-iade-onay-box{background:#F8EFDF;border:1.5px solid var(--mhe-gold);border-radius:8px;padding:16px 20px;font-size:14px;line-height:1.8;color:#8A5A16;white-space:pre-line}
