/* ==========================================================================
   Gezenekip teması: ÜYE PANELİ (hesabim/*)
   - hesabim/header.php kendi <head>'ini kurar ve bu dosyayı theme-new.css'ten
     SONRA bağlar; <body class="qm-hesabim qm-hesabim-<sayfa>">.
   - tema/*.css dosyalarının hepsi site sayfalarında da yüklendiği için buradaki
     HER kural "body.qm-hesabim" ile başlar; başka sayfayı etkilemez.
   - Renk/ölçü: theme-new.css'teki --gz-* tokenları (ana sayfa ile aynı dil):
     beyaz zemin, ince çizgili yuvarlak kartlar, hap (pill) butonlar, Inter.
     Büyük başlıklar ana sayfadaki gibi serif marka yazısını korur.
   ========================================================================== */

/* ---------- Zemin ve yazı ---------- */
body.qm-hesabim {
    background: var(--gz-bg);
    color: var(--gz-ink-2);
    font-family: var(--gz-font);
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: -0.003em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
body.qm-hesabim h2,
body.qm-hesabim h3 { color: var(--gz-ink); letter-spacing: -0.025em; }
body.qm-hesabim a { transition: color .2s, border-color .2s, background-color .2s; }
body.qm-hesabim ::selection { background: var(--gz-ink); color: #fff; }

/* ---------- Üst bar (site-topbar görünümü + panel etiketi) ---------- */
/* Header .site-topbar sınıfını taşıdığı için buzlu beyaz zemin, 72px yükseklik,
   logo ve yuvarlak ikon butonları theme-new.css'ten gelir; burada yalnızca
   menu.php'nin satır içi stillerinde kalan parçalar tamamlanıyor. */
body.qm-hesabim .hesabim-bar .nav-container { justify-content: flex-start; }
body.qm-hesabim .hesabim-bar-etiket {
    display: inline-flex; align-items: center; height: 28px; padding: 0 12px;
    border-radius: var(--gz-pill); background: var(--gz-soft); color: var(--gz-muted);
    font-family: var(--gz-font); font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; white-space: nowrap;
}
body.qm-hesabim .hesabim-bar .nav-actions { margin-left: auto; }
body.qm-hesabim .hesabim-bar .lang-switch {
    display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px;
    border: 1px solid var(--gz-line); border-radius: var(--gz-pill); background: #fff;
    font-family: var(--gz-font); font-size: 12px; letter-spacing: .02em; color: var(--gz-muted); white-space: nowrap;
}
body.qm-hesabim .hesabim-bar .lang-switch strong { color: var(--gz-ink); font-weight: 600; }
body.qm-hesabim .hesabim-bar .lang-switch a { color: var(--gz-muted); text-decoration: none; }
body.qm-hesabim .hesabim-bar .lang-switch a:hover { color: var(--gz-ink); }
body.qm-hesabim .hesabim-bar .lang-switch .lang-sep { color: var(--gz-line-2); }
body.qm-hesabim .hesabim-bar .nav-icon { text-decoration: none; }
body.qm-hesabim .hesabim-bar .nav-icon svg { display: block; }
body.qm-hesabim .hesabim-bar-cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 18px;
    border-radius: var(--gz-pill); background: var(--gz-ink); color: #fff !important;
    font-family: var(--gz-font); font-size: 13px; font-weight: 500; letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
    transition: transform .2s var(--gz-ease), background-color .2s;
}
body.qm-hesabim .hesabim-bar-cta .fa { font-size: 11px; }
body.qm-hesabim .hesabim-bar-cta:hover { background: #26262a; transform: translateY(-1px); }
body.qm-hesabim .hesabim-bar-cta:focus-visible,
body.qm-hesabim .hesabim-bar .nav-icon:focus-visible { outline: 2px solid var(--gz-ink); outline-offset: 3px; }

/* ---------- İskelet: yan menü + içerik ---------- */
body.qm-hesabim .account-shell {
    max-width: calc(var(--gz-container) + var(--gz-gutter) * 2);
    padding: calc(72px + clamp(24px, 4vw, 48px)) var(--gz-gutter) clamp(56px, 7vw, 96px);
    grid-template-columns: 272px minmax(0, 1fr);
    gap: clamp(24px, 3.4vw, 48px);
}

/* Yan menü: ince çizgili, yuvarlak beyaz kart (masaüstünde yapışkan) */
body.qm-hesabim .account-nav {
    position: sticky; top: calc(72px + 20px);
    background: #fff; border: 1px solid var(--gz-line); border-radius: var(--gz-radius-lg);
    padding: 14px; font-family: var(--gz-font);
}
body.qm-hesabim .account-nav .account-user {
    display: flex; align-items: center; gap: 12px;
    margin: 0 0 10px; padding: 12px; border: 0; border-radius: var(--gz-radius); background: var(--gz-soft);
}
body.qm-hesabim .account-avatar {
    flex: none; display: inline-grid; place-items: center; width: 42px; height: 42px; overflow: hidden;
    border-radius: 50%; background: var(--gz-ink); color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .02em;
}
body.qm-hesabim .account-avatar img { width: 100%; height: 100%; object-fit: cover; }
body.qm-hesabim .account-user-metin { min-width: 0; display: grid; }
body.qm-hesabim .account-nav .account-user strong {
    font-family: var(--gz-font); font-size: 14px; font-weight: 600; letter-spacing: -0.01em; color: var(--gz-ink);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
body.qm-hesabim .account-user-mail { font-size: 12px; color: var(--gz-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.qm-hesabim .account-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
body.qm-hesabim .account-nav ul li a {
    display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 0; border-radius: 12px;
    color: var(--gz-muted); font-size: 13.5px; font-weight: 400; letter-spacing: -0.005em; text-decoration: none;
}
body.qm-hesabim .account-nav ul li a .fa { width: 16px; text-align: center; font-size: 13px; color: var(--gz-muted-2); transition: color .2s; }
body.qm-hesabim .account-nav ul li a:hover { background: var(--gz-soft-2); color: var(--gz-ink); }
body.qm-hesabim .account-nav ul li a:hover .fa { color: var(--gz-ink); }
body.qm-hesabim .account-nav ul li a.active { background: var(--gz-soft); color: var(--gz-ink); font-weight: 500; }
body.qm-hesabim .account-nav ul li a.active .fa { color: var(--gz-ink); }
body.qm-hesabim .account-nav ul li a .status-badge { margin-left: auto; }
body.qm-hesabim .account-nav .account-nav-cikis { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--gz-line); }

/* İçerik alanı: kutusuz, beyaz zemin; bölümler kendi kartlarını taşır */
body.qm-hesabim .account-content { background: transparent; border: 0; padding: 0; min-height: 400px; min-width: 0; }
body.qm-hesabim .account-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.03em;
    color: var(--gz-ink); margin: 0 0 20px;
}
body.qm-hesabim .account-content h3 { font-size: 1.25rem; line-height: 1.25; }
body.qm-hesabim .hesabim-bolum-baslik { margin: clamp(32px, 4vw, 48px) 0 16px; scroll-margin-top: 96px; }
body.qm-hesabim .hesabim-alt-metin { font-size: 14px; color: var(--gz-muted); margin: 0; }
body.qm-hesabim .hesabim-giris-metin { margin: -8px 0 24px; max-width: 640px; }
body.qm-hesabim .hesabim-etiket {
    display: inline-block; margin-bottom: 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #b45309;
}
body.qm-hesabim .hesabim-baslik-satir { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
body.qm-hesabim .hesabim-baslik-satir h2 { margin: 0 0 6px; }
body.qm-hesabim .hesabim-btn-grup { display: flex; flex-wrap: wrap; gap: 8px; }
body.qm-hesabim .hesabim-satir-ici { display: inline-flex; margin: 0; }

/* Kırıntı (gezenekip .breadcrumbs) */
body.qm-hesabim .hesabim-kirinti { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; font-size: 12px; color: var(--gz-muted); }
body.qm-hesabim .hesabim-kirinti a { color: var(--gz-muted); text-decoration: none; }
body.qm-hesabim .hesabim-kirinti a:hover { color: var(--gz-ink); }
body.qm-hesabim .hesabim-kirinti span { color: var(--gz-line-2); }
body.qm-hesabim .hesabim-kirinti [aria-current] { color: var(--gz-ink); }

/* Genel kart (gezenekip .form-card / .aside-card) */
body.qm-hesabim .hesabim-kart { background: #fff; border: 1px solid var(--gz-line); border-radius: var(--gz-radius-lg); padding: clamp(20px, 3vw, 32px); }
body.qm-hesabim .hesabim-kart-baslik {
    display: flex; align-items: center; gap: 10px; margin: 0 0 18px;
    font-family: var(--gz-font) !important; font-size: 16px !important; font-weight: 500; letter-spacing: -0.015em; color: var(--gz-ink);
}
body.qm-hesabim .hesabim-kart-baslik .fa { color: var(--gz-muted); font-size: 14px; }

/* ---------- Butonlar (gezenekip .btn: hap, 44px) ---------- */
body.qm-hesabim .btn,
body.qm-hesabim .hesabim-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 44px; padding: 0 22px; border-radius: var(--gz-pill); border: 1px solid transparent;
    font-family: var(--gz-font); font-size: 13.5px; font-weight: 500; letter-spacing: -0.005em; line-height: 1;
    text-transform: none; text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: none;
    transition: transform .2s var(--gz-ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
body.qm-hesabim .btn:hover,
body.qm-hesabim .hesabim-btn:hover { transform: translateY(-1px); }
body.qm-hesabim .btn:active,
body.qm-hesabim .hesabim-btn:active { transform: none; }
body.qm-hesabim .btn:focus-visible,
body.qm-hesabim .hesabim-btn:focus-visible { outline: 2px solid var(--gz-ink); outline-offset: 3px; }
body.qm-hesabim .btn .fa,
body.qm-hesabim .hesabim-btn .fa { font-size: 12px; margin: 0; }
/* Koyu (birincil) */
body.qm-hesabim .btn-primary,
body.qm-hesabim .btn-primary:focus,
body.qm-hesabim .btn-primary:active,
body.qm-hesabim .btn-success,
body.qm-hesabim .btn-success:focus,
body.qm-hesabim .hesabim-btn-koyu,
body.qm-hesabim .hesabim-btn-koyu:visited { background: var(--gz-ink); border-color: var(--gz-ink); color: #fff; }
body.qm-hesabim .btn-primary:hover,
body.qm-hesabim .btn-success:hover,
body.qm-hesabim .hesabim-btn-koyu:hover { background: #26262a; border-color: #26262a; color: #fff; }
/* Çizgili (ikincil) */
body.qm-hesabim .btn-outline,
body.qm-hesabim .btn-outline:focus,
body.qm-hesabim .btn-warning,
body.qm-hesabim .btn-warning:focus,
body.qm-hesabim .hesabim-btn-cizgi,
body.qm-hesabim .hesabim-btn-cizgi:visited { background: #fff; border-color: var(--gz-line-2); color: var(--gz-ink); }
body.qm-hesabim .btn-outline:hover,
body.qm-hesabim .btn-warning:hover,
body.qm-hesabim .hesabim-btn-cizgi:hover { background: #fff; border-color: var(--gz-ink); color: var(--gz-ink); }
/* Açık (yumuşak gri zemin üstünde beyaz) */
body.qm-hesabim .hesabim-btn-acik,
body.qm-hesabim .hesabim-btn-acik:visited { background: #fff; color: var(--gz-ink); border-color: #fff; }
body.qm-hesabim .hesabim-btn-acik:hover { color: var(--gz-ink); box-shadow: 0 8px 24px -10px rgba(0,0,0,.25); }
/* Tehlike (talep kapat / sil) */
body.qm-hesabim .btn-danger,
body.qm-hesabim .hesabim-btn-tehlike { background: #fff; border-color: #f6d3cf; color: #b42318; }
body.qm-hesabim .btn-danger:hover,
body.qm-hesabim .hesabim-btn-tehlike:hover { background: #fdf0ef; border-color: #b42318; color: #b42318; }
body.qm-hesabim .btn-block { width: 100%; }
body.qm-hesabim .hesabim-btn-kucuk { height: 34px; padding: 0 14px; font-size: 12.5px; }
body.qm-hesabim .btn[disabled],
body.qm-hesabim .btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
body.qm-hesabim .hesabim-metin-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; font-weight: 500; color: var(--gz-ink); text-decoration: none; border-bottom: 1px solid transparent; }
body.qm-hesabim .hesabim-metin-link:hover { color: var(--gz-ink); border-color: currentColor; }
body.qm-hesabim .hesabim-metin-link .fa { font-size: 11px; }

/* ---------- Formlar (gezenekip .field) ---------- */
body.qm-hesabim .form-group { margin-bottom: 18px; }
body.qm-hesabim .form-group > label,
body.qm-hesabim .account-content label {
    display: block; margin-bottom: 7px; font-family: var(--gz-font); font-size: 12.5px; font-weight: 500;
    letter-spacing: 0; text-transform: none; color: var(--gz-ink-2);
}
body.qm-hesabim .form-control,
body.qm-hesabim .modal .form-control {
    width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid var(--gz-line-2); border-radius: 14px;
    background: var(--gz-soft-2); color: var(--gz-ink); font-family: var(--gz-font); font-size: 14px; line-height: 1.4;
    box-shadow: none; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
body.qm-hesabim textarea.form-control { min-height: 110px; resize: vertical; line-height: 1.55; }
body.qm-hesabim select.form-control {
    -webkit-appearance: none; appearance: none; padding-right: 40px; height: 48px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center;
}
body.qm-hesabim input[type="file"].form-control { padding: 10px 12px; font-size: 13px; }
body.qm-hesabim .form-control::placeholder { color: #a1a1a6; }
body.qm-hesabim .form-control:focus { outline: none; border-color: var(--gz-ink); background: #fff; box-shadow: 0 0 0 4px rgba(11,11,12,.06); }
body.qm-hesabim .form-control[readonly] { background: var(--gz-soft); color: var(--gz-muted); }
body.qm-hesabim .hesabim-ipucu { display: block; margin-top: 6px; font-size: 12px; color: var(--gz-muted); letter-spacing: 0; text-transform: none; }
body.qm-hesabim .form-note { font-size: 13px; line-height: 1.6; color: var(--gz-muted); margin: 0; }
body.qm-hesabim .form-note strong { color: var(--gz-ink-2); font-weight: 600; }
body.qm-hesabim .hesabim-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
body.qm-hesabim .hesabim-form-grid .hesabim-tam { grid-column: 1 / -1; }
body.qm-hesabim .g-recaptcha { margin: 6px 0 18px; }
body.qm-hesabim .g-recaptcha.text-center > div { margin: 0 auto; }

/* Uyarı kutuları (gezenekip .alert) */
body.qm-hesabim .form-alert,
body.qm-hesabim .alert-msg {
    padding: 14px 18px; margin-bottom: 24px; border-radius: 14px; border: 1px solid var(--gz-line);
    background: var(--gz-soft-2); color: var(--gz-ink-2); font-size: 13.5px; line-height: 1.55;
}
body.qm-hesabim .form-alert a,
body.qm-hesabim .alert-msg a { color: inherit; font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
body.qm-hesabim .form-alert.error,
body.qm-hesabim .alert-msg.alert-error,
body.qm-hesabim .hesabim-hata { background: #fdf0ef; border-color: #f6d3cf; color: #8f251d; }
body.qm-hesabim .form-alert.success,
body.qm-hesabim .alert-msg.alert-success { background: #edf7f0; border-color: #cfe9d8; color: #17603a; }
body.qm-hesabim .hesabim-bilgi,
body.qm-hesabim .alert-msg.alert-info { background: #fff8eb; border-color: #fde3b5; color: #6b4200; }

/* ---------- Durum rozetleri (gezenekip .badge: noktalı hap) ---------- */
body.qm-hesabim .status-badge {
    display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: var(--gz-pill);
    background: #f1f1f3; color: #3a3a3c; font-family: var(--gz-font); font-size: 12px; font-weight: 500; letter-spacing: 0;
    line-height: 1; white-space: nowrap; text-decoration: none; vertical-align: middle;
}
body.qm-hesabim .status-badge::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
body.qm-hesabim .status-badge .fa { font-size: 10px; }
body.qm-hesabim .status-badge:has(.fa)::before { display: none; }
body.qm-hesabim .status-badge.ok { background: #e7f6ec; color: #17733a; }
body.qm-hesabim .status-badge.bekliyor { background: #fff4e0; color: #9a5800; }
body.qm-hesabim .status-badge.iptal { background: #fde9e7; color: #b42318; }
body.qm-hesabim .status-badge.bilgi { background: #e8f0fe; color: #1a56c4; }
/* Destek yanıtlarında yetkili etiketi: hata kırmızısı yerine nötr koyu */
body.qm-hesabim .status-badge.yetkili { background: var(--gz-ink); color: #fff; }
body.qm-hesabim a.status-badge:hover { filter: brightness(.97); }
/* Yan menüdeki okunmamış sayısı: küçük koyu hap */
body.qm-hesabim .account-nav .status-badge { height: 20px; min-width: 20px; padding: 0 7px; justify-content: center; background: var(--gz-ink); color: #fff; font-size: 11px; }
body.qm-hesabim .account-nav .status-badge::before { display: none; }

/* ---------- Tablolar: yuvarlak kap, yumuşak başlık, ince çizgi ---------- */
body.qm-hesabim .hesabim-tablo-kap { border: 1px solid var(--gz-line); border-radius: var(--gz-radius-lg); overflow: hidden; background: #fff; }
body.qm-hesabim .account-table { width: 100%; border-collapse: collapse; font-family: var(--gz-font); min-width: 0; }
body.qm-hesabim .account-table th {
    padding: 12px 16px; background: var(--gz-soft-2); border-bottom: 1px solid var(--gz-line);
    font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--gz-muted); text-align: left; white-space: nowrap;
}
body.qm-hesabim .account-table td { padding: 14px 16px; border-bottom: 1px solid var(--gz-line); font-size: 13.5px; color: var(--gz-ink-2); vertical-align: middle; }
body.qm-hesabim .account-table tbody tr:last-child td { border-bottom: 0; }
body.qm-hesabim .account-table tbody tr { transition: background-color .2s; }
body.qm-hesabim .account-table tbody tr:hover td { background: var(--gz-soft-2); }
body.qm-hesabim .account-table .text-right { text-align: right; }
body.qm-hesabim .account-table .text-center { text-align: center; }
body.qm-hesabim .account-table .hesabim-guclu { color: var(--gz-ink); font-weight: 500; }
body.qm-hesabim .account-table .hesabim-islem { text-align: right; white-space: nowrap; }
body.qm-hesabim .account-table .hesabim-okunmamis td { font-weight: 600; color: var(--gz-ink); }
body.qm-hesabim .account-table details summary { cursor: pointer; color: var(--gz-ink); list-style-position: inside; }
body.qm-hesabim .account-table details summary:hover { text-decoration: underline; text-underline-offset: 2px; }
body.qm-hesabim .hesabim-duyuru-detay { margin-top: 10px; color: var(--gz-muted); font-size: 13.5px; }
body.qm-hesabim .hesabim-varyasyon { font-size: 12.5px; color: var(--gz-muted); margin-top: 2px; }
body.qm-hesabim .hesabim-kod { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 8px; background: var(--gz-soft); color: var(--gz-ink); font-size: 12.5px; font-weight: 600; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
/* Boş durum: ortalı ikon + mesaj + çağrı butonu */
body.qm-hesabim .account-table .hesabim-bos td { padding: 44px 20px; text-align: center; color: var(--gz-muted); }
body.qm-hesabim .account-table .hesabim-bos:hover td { background: transparent; }
body.qm-hesabim .hesabim-bos .fa { display: block; margin: 0 auto 12px; font-size: 22px; color: var(--gz-muted-2); }
body.qm-hesabim .hesabim-bos strong { display: block; margin-bottom: 16px; font-weight: 500; color: var(--gz-ink-2); }

/* ---------- İstatistik kartları ---------- */
body.qm-hesabim .account-stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 28px; }
body.qm-hesabim .account-stat { background: #fff; border: 1px solid var(--gz-line); border-radius: var(--gz-radius); padding: 18px 20px; text-align: left; }
body.qm-hesabim .account-stat .num { font-family: var(--gz-font); font-size: 30px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; color: var(--gz-ink); font-variant-numeric: tabular-nums; }
body.qm-hesabim .account-stat .label { margin-top: 6px; font-size: 12.5px; letter-spacing: 0; text-transform: none; color: var(--gz-muted); }
/* Sipariş detayı: üç özet kutusu, değerler daha küçük */
body.qm-hesabim .hesabim-ozet-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.qm-hesabim .hesabim-ozet-grid .num { font-size: 18px; letter-spacing: -0.015em; word-break: break-word; }

/* ---------- Panel anasayfa: karşılama kartı + indirim ---------- */
body.qm-hesabim .hesabim-hos {
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px;
    margin-bottom: 20px; padding: clamp(24px, 4vw, 44px); border-radius: var(--gz-radius-xl); background: var(--gz-soft);
}
body.qm-hesabim .hesabim-hos h2 { margin: 0 0 10px; }
body.qm-hesabim .hesabim-hos p { margin: 0; max-width: 520px; font-size: 14.5px; line-height: 1.65; color: var(--gz-muted); }
body.qm-hesabim .hesabim-hizli { display: flex; flex-wrap: wrap; gap: 8px; }
body.qm-hesabim .hesabim-hos .hesabim-btn-cizgi { background: transparent; }
body.qm-hesabim .hesabim-indirim {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
    margin-bottom: 20px; padding: 22px 26px; border-radius: var(--gz-radius-lg); background: var(--gz-dark); color: #fff;
}
body.qm-hesabim .hesabim-indirim strong { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: #fff; }
body.qm-hesabim .hesabim-indirim p { margin: 4px 0 0; font-size: 13px; color: rgba(255,255,255,.7); }
body.qm-hesabim .hesabim-indirim-kod {
    display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: var(--gz-pill);
    background: #fff; color: var(--gz-ink); font-size: 14px; font-weight: 600; letter-spacing: .08em; user-select: all;
}

/* ---------- Sipariş takip çizgisi (siparis-detay; gezenekip .timeline) ---------- */
body.qm-hesabim .order-tracker { display: flex; margin: 8px 0 28px; padding: 24px 12px 20px; border: 1px solid var(--gz-line); border-radius: var(--gz-radius-lg); }
body.qm-hesabim .order-step { flex: 1; position: relative; text-align: center; padding-top: 28px; }
body.qm-hesabim .order-step-line { position: absolute; top: 7px; left: -50%; width: 100%; height: 2px; background: var(--gz-line-2); }
body.qm-hesabim .order-step.done .order-step-line,
body.qm-hesabim .order-step.active .order-step-line { background: var(--gz-ink); }
body.qm-hesabim .order-step-dot { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 16px; height: 16px; border-radius: 50%; background: #c7c7cc; border: 0; box-shadow: 0 0 0 4px #fff; z-index: 1; }
body.qm-hesabim .order-step.done .order-step-dot { background: var(--gz-ink); }
body.qm-hesabim .order-step.active .order-step-dot { background: #f59e0b; box-shadow: 0 0 0 4px #fff, 0 0 0 7px rgba(245,158,11,.22); }
body.qm-hesabim .order-step-label { font-size: 13px; font-weight: 500; color: var(--gz-ink); }
body.qm-hesabim .order-step.pending .order-step-label { color: var(--gz-muted); font-weight: 400; }
body.qm-hesabim .order-step-date { font-size: 12px; color: var(--gz-muted); margin-top: 2px; }
body.qm-hesabim .order-step-extra { font-size: 12px; color: var(--gz-muted); margin-top: 6px; padding: 0 8px; }
body.qm-hesabim .order-step-extra a { color: var(--gz-ink); text-decoration: underline; text-underline-offset: 2px; }
body.qm-hesabim .hesabim-not { padding: 14px 18px; margin: 0 0 20px; border-radius: 14px; background: var(--gz-soft); font-size: 13.5px; color: var(--gz-ink-2); }
body.qm-hesabim .hesabim-destek-form { margin: 0 0 24px; }

/* ---------- Tutar özeti (gezenekip yumuşak gri kart) ---------- */
body.qm-hesabim .cart-summary { background: var(--gz-soft); border-radius: var(--gz-radius-lg); padding: 22px 24px; font-family: var(--gz-font); }
body.qm-hesabim .hesabim-ozet { margin: 24px 0 0 auto; max-width: 380px; }
body.qm-hesabim .cart-summary-row { padding: 10px 0; border-bottom: 1px solid var(--gz-line-2); font-size: 13.5px; color: var(--gz-muted); gap: 12px; }
body.qm-hesabim .cart-summary-row span:last-child { color: var(--gz-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
body.qm-hesabim .cart-summary-row.total { padding-top: 14px; border-bottom: 0; font-size: 16px; font-weight: 600; color: var(--gz-ink); }
body.qm-hesabim .cart-summary-row.hesabim-indirim-satir,
body.qm-hesabim .cart-summary-row.hesabim-indirim-satir span:last-child { color: #17733a; }
body.qm-hesabim .hesabim-odeme-form { margin-top: 28px; max-width: 460px; }
body.qm-hesabim .hesabim-guven { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 12.5px; color: var(--gz-muted); }
body.qm-hesabim .hesabim-guven .fa { color: var(--gz-ink); font-size: 12px; }

/* ---------- Destek: yeni talep düzeni + mesajlaşma ---------- */
body.qm-hesabim .hesabim-form-duzen { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
body.qm-hesabim .hesabim-yan-kart { position: sticky; top: calc(72px + 20px); background: var(--gz-soft); border-color: var(--gz-soft); }
body.qm-hesabim .hesabim-mesajlar { display: flex; flex-direction: column; gap: 18px; }
body.qm-hesabim .hesabim-mesaj { display: flex; align-items: flex-start; gap: 12px; max-width: 82%; }
body.qm-hesabim .hesabim-mesaj-musteri { margin-left: auto; flex-direction: row-reverse; }
body.qm-hesabim .hesabim-mesaj-avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--gz-soft); }
body.qm-hesabim .hesabim-mesaj-balon { flex: 1; min-width: 0; padding: 16px 18px; border-radius: 20px; font-size: 14px; }
body.qm-hesabim .hesabim-mesaj-yetkili .hesabim-mesaj-balon { background: var(--gz-soft); border-top-left-radius: 6px; }
body.qm-hesabim .hesabim-mesaj-musteri .hesabim-mesaj-balon { background: #fff; border: 1px solid var(--gz-line); border-top-right-radius: 6px; }
body.qm-hesabim .hesabim-mesaj-balon strong { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--gz-ink); }
body.qm-hesabim .hesabim-mesaj-metin { margin: 8px 0; line-height: 1.6; color: var(--gz-ink-2); white-space: pre-line; word-break: break-word; }
body.qm-hesabim .hesabim-mesaj-tarih { margin-top: 6px; font-size: 12px; color: var(--gz-muted); }

/* ---------- Modal (destek cevabı, satış sözleşmesi) ---------- */
body.qm-hesabim .modal .modal-content { border: 1px solid var(--gz-line); border-radius: var(--gz-radius-xl); box-shadow: var(--gz-shadow); overflow: hidden; font-family: var(--gz-font); }
body.qm-hesabim .modal .modal-header { padding: 20px 26px; border-bottom: 1px solid var(--gz-line); align-items: center; }
body.qm-hesabim .modal .modal-title { font-family: var(--gz-font); font-size: 17px; font-weight: 500; letter-spacing: -0.015em; color: var(--gz-ink); }
body.qm-hesabim .modal .modal-header .close { order: 2; margin-left: auto; width: 36px; height: 36px; padding: 0; border-radius: var(--gz-pill); border: 1px solid var(--gz-line); background: #fff; opacity: 1; font-size: 18px; line-height: 1; color: var(--gz-ink); text-shadow: none; }
body.qm-hesabim .modal .modal-header .close:hover { border-color: var(--gz-ink); }
body.qm-hesabim .modal .modal-body { padding: 22px 26px 26px; }
body.qm-hesabim .modal .modal-body form .btn { margin: 4px 8px 0 0; }
body.qm-hesabim .hesabim-modal-metin { max-height: 60vh; overflow-y: auto; font-size: 13.5px; line-height: 1.65; color: var(--gz-ink-2); }
body.qm-hesabim .hesabim-modal-alt { margin-top: 20px; }
body.qm-hesabim .modal-backdrop.show,
body.qm-hesabim .modal-backdrop.in { background: #0b0b0c; opacity: .45; }

/* ---------- Hesap ayarları ---------- */
body.qm-hesabim .hesabim-ayar-duzen { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 20px; align-items: start; }
body.qm-hesabim .hesabim-foto-kart { padding: 24px; }
body.qm-hesabim .hesabim-foto-kart .fileinput-new,
body.qm-hesabim .hesabim-foto-kart .fileinput-exists { text-align: center; }
body.qm-hesabim .fileinput-preview {
    display: grid; place-items: center; width: 140px; height: 140px; margin: 0 auto 16px; overflow: hidden;
    border-radius: 50%; background: var(--gz-soft); border: 1px solid var(--gz-line); cursor: pointer;
}
body.qm-hesabim .fileinput-preview img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
body.qm-hesabim .hesabim-foto-butonlar { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
/* jasny-bootstrap fileinput: CSS'i yüklenmediği için gerekli kurallar burada */
body.qm-hesabim .btn-file { position: relative; overflow: hidden; vertical-align: middle; }
body.qm-hesabim .btn-file > input { position: absolute; top: 0; right: 0; width: 100%; height: 100%; margin: 0; font-size: 23px; cursor: pointer; opacity: 0; direction: ltr; }
body.qm-hesabim .fileinput-exists .fileinput-new,
body.qm-hesabim .fileinput-new .fileinput-exists { display: none; }
body.qm-hesabim .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Eski "card" düzenli sayfalar (yeni-sifre, uye-onay): aynı kart görünümü */
body.qm-hesabim .account-content .main-content.container { width: auto; max-width: none; padding: 0; margin: 0; }
body.qm-hesabim .account-content .page-header { margin: 0; padding: 0; border: 0; }
body.qm-hesabim .account-content .row { margin-left: -8px; margin-right: -8px; }
body.qm-hesabim .account-content .row > [class*="col-"] { padding-left: 8px; padding-right: 8px; }
body.qm-hesabim .account-content .card { margin-bottom: 20px; background: #fff; border: 1px solid var(--gz-line); border-radius: var(--gz-radius-lg); box-shadow: none; overflow: hidden; }
body.qm-hesabim .account-content .card-heading { padding: 18px 24px; border-bottom: 1px solid var(--gz-line); background: var(--gz-soft-2); font-size: 15px; font-weight: 500; letter-spacing: -0.01em; color: var(--gz-ink); }
body.qm-hesabim .account-content .card-block { padding: clamp(20px, 3vw, 28px); }
body.qm-hesabim .account-content .card-block hr { display: none; }
body.qm-hesabim .account-content .card-block > small { display: block; margin-top: 14px; font-size: 12.5px; }

/* ---------- Ürün ekle (karekod) ---------- */
body.qm-hesabim .hesabim-qr-adimlar { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 24px; padding: 0; }
body.qm-hesabim .hesabim-qr-adimlar li { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: var(--gz-radius); background: var(--gz-soft); }
body.qm-hesabim .hesabim-qr-no { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--gz-ink); font-size: 12px; font-weight: 600; }
body.qm-hesabim .hesabim-qr-adimlar strong { display: block; font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--gz-ink); }
body.qm-hesabim .hesabim-qr-adimlar span:not(.hesabim-qr-no) { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.5; color: var(--gz-muted); }
body.qm-hesabim .hesabim-qr-form { max-width: 560px; margin-bottom: 8px; }
body.qm-hesabim .hesabim-qr-giris { display: flex; gap: 8px; }
body.qm-hesabim .hesabim-qr-giris .form-control { flex: 1; min-width: 0; height: 48px; border-radius: var(--gz-pill); padding: 0 20px; font-size: 15px; letter-spacing: .04em; }
body.qm-hesabim .hesabim-qr-giris .btn { flex: none; height: 48px; }
body.qm-hesabim .hesabim-kamera { margin: 4px 0 18px; padding: 16px; border-radius: var(--gz-radius); background: var(--gz-soft); text-align: center; }
body.qm-hesabim .hesabim-kamera video { display: block; width: 100%; height: auto; max-width: 360px; margin: 0 auto; border-radius: var(--gz-radius); background: #000; }
body.qm-hesabim .hesabim-kamera p { margin: 10px 0 10px; font-size: 13px; color: var(--gz-muted); }

/* ---------- Satın al / ödeme ---------- */
/* Adım göstergesi: Sepet -> Sipariş -> Ödeme */
body.qm-hesabim .hesabim-adimlar { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 22px; padding: 0; counter-reset: none; }
body.qm-hesabim .hesabim-adimlar li { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gz-muted); }
body.qm-hesabim .hesabim-adimlar li + li::before { content: ""; width: clamp(14px, 3vw, 36px); height: 1px; background: var(--gz-line-2); margin-right: 2px; }
body.qm-hesabim .hesabim-adimlar a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
body.qm-hesabim .hesabim-adimlar a:hover { color: var(--gz-ink); }
body.qm-hesabim .hesabim-adim-no { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gz-soft); color: var(--gz-muted); font-size: 11.5px; font-weight: 600; }
body.qm-hesabim .hesabim-adim-no .fa { font-size: 10px; }
body.qm-hesabim .hesabim-adimlar li.tamam { color: var(--gz-ink-2); }
body.qm-hesabim .hesabim-adimlar li.tamam .hesabim-adim-no { background: var(--gz-ink); color: #fff; }
body.qm-hesabim .hesabim-adimlar li.aktif { color: var(--gz-ink); font-weight: 500; }
body.qm-hesabim .hesabim-adimlar li.aktif .hesabim-adim-no { background: #fff; color: var(--gz-ink); box-shadow: inset 0 0 0 1.5px var(--gz-ink); }

body.qm-hesabim .hesabim-odeme-duzen { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
body.qm-hesabim .hesabim-odeme-duzen .hesabim-odeme-form { max-width: none; margin-top: 20px; }
body.qm-hesabim .hesabim-odeme-yan { position: sticky; top: calc(72px + 20px); display: grid; gap: 14px; }
body.qm-hesabim .hesabim-odeme-yan .hesabim-ozet { margin: 0; max-width: none; }
body.qm-hesabim .hesabim-ozet .hesabim-kart-baslik { margin-bottom: 8px; }
body.qm-hesabim .hesabim-sepet-urun { display: flex; align-items: center; gap: 14px; }
body.qm-hesabim .hesabim-sepet-urun img { display: block; width: 56px; height: 56px; object-fit: cover; border-radius: 12px; background: var(--gz-soft); }
body.qm-hesabim .hesabim-sepet-ad { color: var(--gz-ink); font-weight: 500; text-decoration: none; }
body.qm-hesabim .hesabim-sepet-ad:hover { color: var(--gz-ink); text-decoration: underline; text-underline-offset: 2px; }
body.qm-hesabim .hesabim-sepet-tablo td.text-right { font-weight: 500; color: var(--gz-ink); white-space: nowrap; }

/* Ödeme yöntemi seçim kartları (aynı name="siparis_odeme" radyoları) */
body.qm-hesabim .hesabim-odeme-secim { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
body.qm-hesabim .hesabim-odeme-secim legend { margin-bottom: 10px; font-size: 16px; font-weight: 500; letter-spacing: -0.015em; color: var(--gz-ink); }
body.qm-hesabim .hesabim-odeme-secenek { position: relative; display: block; margin: 0 0 8px; cursor: pointer; font-weight: 400; }
body.qm-hesabim .hesabim-odeme-secenek input { position: absolute; opacity: 0; width: 1px; height: 1px; top: 50%; left: 18px; }
body.qm-hesabim .hesabim-odeme-kutu {
    display: flex; align-items: center; gap: 14px; padding: 14px 16px 14px 48px; border: 1px solid var(--gz-line-2); border-radius: var(--gz-radius);
    background: #fff; transition: border-color .2s, background-color .2s, box-shadow .2s; position: relative;
}
body.qm-hesabim .hesabim-odeme-kutu::before { content: ""; position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 1.5px solid var(--gz-line-2); background: #fff; transition: border-color .2s, box-shadow .2s; }
body.qm-hesabim .hesabim-odeme-kutu > .fa { flex: none; width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: 10px; background: var(--gz-soft); color: var(--gz-ink); font-size: 14px; }
body.qm-hesabim .hesabim-odeme-kutu strong { display: block; font-size: 14px; font-weight: 500; color: var(--gz-ink); }
body.qm-hesabim .hesabim-odeme-kutu small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.45; color: var(--gz-muted); }
body.qm-hesabim .hesabim-odeme-secenek:hover .hesabim-odeme-kutu { border-color: #c7c7cc; }
body.qm-hesabim .hesabim-odeme-secenek input:checked + .hesabim-odeme-kutu { border-color: var(--gz-ink); background: var(--gz-soft-2); box-shadow: 0 0 0 1px var(--gz-ink); }
body.qm-hesabim .hesabim-odeme-secenek input:checked + .hesabim-odeme-kutu::before { border-color: var(--gz-ink); box-shadow: inset 0 0 0 4px #fff; background: var(--gz-ink); }
body.qm-hesabim .hesabim-odeme-secenek input:focus-visible + .hesabim-odeme-kutu { outline: 2px solid var(--gz-ink); outline-offset: 2px; }

/* Sözleşme onayı (gezenekip .check) */
body.qm-hesabim .hesabim-onay { display: flex; align-items: flex-start; gap: 12px; padding-top: 16px; border-top: 1px solid var(--gz-line); }
body.qm-hesabim .hesabim-onay input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--gz-ink); cursor: pointer; }
body.qm-hesabim .account-content .hesabim-onay label { margin: 0; font-size: 13px; font-weight: 400; line-height: 1.55; color: var(--gz-ink-2); cursor: pointer; }
body.qm-hesabim .hesabim-onay a { color: var(--gz-ink); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }

/* Gönder butonu üstündeki ödenecek tutar satırı */
body.qm-hesabim .hesabim-form-toplam { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 12px; font-size: 13.5px; color: var(--gz-muted); }
body.qm-hesabim .hesabim-form-toplam strong { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; color: var(--gz-ink); font-variant-numeric: tabular-nums; }

/* Güven notları */
body.qm-hesabim .hesabim-guven-liste { list-style: none; margin: 0; padding: 18px 20px; display: grid; gap: 10px; border: 1px solid var(--gz-line); border-radius: var(--gz-radius-lg); }
body.qm-hesabim .hesabim-guven-liste li { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; line-height: 1.5; color: var(--gz-muted); }
body.qm-hesabim .hesabim-guven-liste .fa { flex: none; width: 16px; margin-top: 2px; text-align: center; color: var(--gz-ink); font-size: 12px; }

/* Kart ödeme sayfası: sipariş bandı + iyzico formu */
body.qm-hesabim .hesabim-odeme-bant { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; margin-bottom: 20px; padding: 18px 22px; border-radius: var(--gz-radius-lg); background: var(--gz-soft); }
body.qm-hesabim .hesabim-odeme-bant > div:not(.hesabim-odeme-bant-guven) span { display: block; font-size: 12px; color: var(--gz-muted); }
body.qm-hesabim .hesabim-odeme-bant strong { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; color: var(--gz-ink); font-variant-numeric: tabular-nums; }
body.qm-hesabim .hesabim-odeme-bant-guven { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--gz-muted); }
body.qm-hesabim .hesabim-odeme-bant-guven .fa { color: var(--gz-ink); }
body.qm-hesabim .hesabim-iyzico-kap { padding: clamp(12px, 2vw, 20px); }

/* ---------- Alt bilgi ---------- */
body.qm-hesabim .hesabim-footer { border-top: 1px solid var(--gz-line); font-family: var(--gz-font); }
body.qm-hesabim .hesabim-footer-ic {
    max-width: calc(var(--gz-container) + var(--gz-gutter) * 2); margin: 0 auto; padding: 22px var(--gz-gutter) 28px;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; font-size: 12.5px; color: var(--gz-muted);
}
body.qm-hesabim .hesabim-footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
body.qm-hesabim .hesabim-footer a { color: var(--gz-muted); text-decoration: none; }
body.qm-hesabim .hesabim-footer a:hover { color: var(--gz-ink); }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
    body.qm-hesabim .account-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.qm-hesabim .hesabim-ozet-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    body.qm-hesabim .hesabim-odeme-duzen { grid-template-columns: minmax(0, 1fr); }
    body.qm-hesabim .hesabim-odeme-yan { position: static; }
}
@media (max-width: 1024px) {
    /* Yan menü üstte yatay kaydırılabilir hap satırı */
    body.qm-hesabim .account-shell { grid-template-columns: minmax(0, 1fr); padding-top: calc(72px + 20px); gap: 20px; }
    body.qm-hesabim .account-nav { position: static; padding: 6px; border-radius: var(--gz-pill); }
    body.qm-hesabim .account-nav .account-user { display: none; }
    body.qm-hesabim .account-nav ul { display: flex; gap: 4px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    body.qm-hesabim .account-nav ul li { flex-shrink: 0; }
    body.qm-hesabim .account-nav ul li a { padding: 0 14px; height: 38px; border-radius: var(--gz-pill); white-space: nowrap; font-size: 13px; }
    body.qm-hesabim .account-nav .account-nav-cikis { margin: 0; padding: 0; border: 0; }
    body.qm-hesabim .hesabim-form-duzen,
    body.qm-hesabim .hesabim-ayar-duzen { grid-template-columns: minmax(0, 1fr); }
    body.qm-hesabim .hesabim-yan-kart { position: static; }
}

/* ---------- Mobil ---------- */
@media (max-width: 768px) {
    body.qm-hesabim { font-size: 14.5px; }
    body.qm-hesabim .account-shell { padding: calc(70px + 16px) var(--gz-gutter) 56px; }
    body.qm-hesabim .account-content { padding: 0; overflow: visible; }
    body.qm-hesabim .hesabim-bar-etiket { display: none; }
    body.qm-hesabim .hesabim-bar .nav-container { flex-wrap: nowrap; }
    body.qm-hesabim .hesabim-bar .lang-switch { height: 36px; padding: 0 11px; }
    body.qm-hesabim .hesabim-bar .nav-icon { width: 38px; height: 38px; border-radius: var(--gz-pill); }
    body.qm-hesabim .hesabim-bar-cta { position: relative; width: 38px; padding: 0; }
    body.qm-hesabim .hesabim-bar-cta span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
    body.qm-hesabim .account-stat { padding: 14px 16px; }
    body.qm-hesabim .account-stat .num { font-size: 24px; }
    body.qm-hesabim .account-stat .label { font-size: 12px; }
    body.qm-hesabim .hesabim-ozet-grid { grid-template-columns: minmax(0, 1fr); }
    body.qm-hesabim .hesabim-qr-adimlar { grid-template-columns: minmax(0, 1fr); }
    body.qm-hesabim .hesabim-form-grid { grid-template-columns: minmax(0, 1fr); }
    body.qm-hesabim .hesabim-ozet { max-width: none; }
    body.qm-hesabim .hesabim-mesaj { max-width: 100%; }
    body.qm-hesabim .hesabim-odeme-bant-guven { margin-left: 0; flex-basis: 100%; }

    /* Tablolar: dar ekranda her satır bir kart, hücre etiketleri data-label'dan */
    body.qm-hesabim .account-table { min-width: 0; }
    body.qm-hesabim .hesabim-kart-tablo thead { display: none; }
    body.qm-hesabim .hesabim-kart-tablo,
    body.qm-hesabim .hesabim-kart-tablo tbody,
    body.qm-hesabim .hesabim-kart-tablo tr,
    body.qm-hesabim .hesabim-kart-tablo td { display: block; width: 100%; }
    body.qm-hesabim .hesabim-kart-tablo tr { padding: 14px 16px; border-bottom: 1px solid var(--gz-line); }
    body.qm-hesabim .hesabim-kart-tablo tbody tr:last-child { border-bottom: 0; }
    body.qm-hesabim .hesabim-kart-tablo tbody tr:hover td { background: transparent; }
    body.qm-hesabim .hesabim-kart-tablo td { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 5px 0; border: 0; text-align: right; }
    body.qm-hesabim .hesabim-kart-tablo td[data-label]::before { content: attr(data-label); flex: none; font-size: 12px; font-weight: 400; color: var(--gz-muted); text-align: left; }
    body.qm-hesabim .hesabim-kart-tablo td.hesabim-islem { justify-content: flex-end; padding-top: 10px; }
    body.qm-hesabim .hesabim-kart-tablo td details { text-align: left; min-width: 0; }
    body.qm-hesabim .hesabim-kart-tablo .hesabim-bos td { display: block; text-align: center; padding: 28px 8px; }
    /* Sepet özeti tablosu: üç sütun dar ekrana sığıyor */
    body.qm-hesabim .hesabim-sepet-tablo th,
    body.qm-hesabim .hesabim-sepet-tablo td { padding: 12px; }
    body.qm-hesabim .hesabim-sepet-urun { gap: 10px; }
    body.qm-hesabim .hesabim-sepet-urun img { width: 44px; height: 44px; }

    body.qm-hesabim .hesabim-qr-giris { flex-wrap: wrap; }
    body.qm-hesabim .hesabim-qr-giris .btn { flex: 1 1 100%; }
    body.qm-hesabim .hesabim-footer-ic { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
    /* Dil seçimi telefonda da görünür kalır; panelde başka dil bağlantısı yok */
    body.qm-hesabim .hesabim-bar .lang-switch { height: 32px; padding: 0 9px; gap: 4px; font-size: 11.5px; }
    body.qm-hesabim .hesabim-bar .nav-actions { gap: 6px; }
    body.qm-hesabim .hesabim-baslik-satir { align-items: flex-start; }
    body.qm-hesabim .hesabim-hizli .hesabim-btn { flex: 1 1 100%; }
    body.qm-hesabim .hesabim-adimlar li { font-size: 12px; }
    body.qm-hesabim .hesabim-adimlar li:not(.aktif) { font-size: 0; gap: 0; }
    body.qm-hesabim .hesabim-adimlar li:not(.aktif) .hesabim-adim-no { font-size: 11.5px; }
}

/* ==========================================================================
   Mobil / tablet ince ayar (dokunma hedefleri >= 44px, iOS zoom'suz 16px
   girişler, kayan menüde kenar gölgesi, kart tablolar, modal sığması)
   ========================================================================== */
body.qm-hesabim .hesabim-not,
body.qm-hesabim .order-step-extra,
body.qm-hesabim .hesabim-ozet-grid .num { overflow-wrap: anywhere; }
body.qm-hesabim .hesabim-modal-metin h1,
body.qm-hesabim .hesabim-modal-metin h2 { font-size: 1.375rem; line-height: 1.25; margin: 1.1em 0 .5em; }
body.qm-hesabim .hesabim-modal-metin h3,
body.qm-hesabim .hesabim-modal-metin h4 { font-size: 1.0625rem; line-height: 1.3; margin: 1em 0 .4em; }
body.qm-hesabim .hesabim-modal-metin > :first-child { margin-top: 0; }
body.qm-hesabim .hesabim-modal-metin { padding-right: 10px; overflow-wrap: anywhere; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
body.qm-hesabim .modal .modal-header .close { display: inline-grid; place-items: center; }

@media (max-width: 1024px) {
    /* Yatay kayan hap menü: 44px dokunma hedefi + kaydırılabilen kenarda solma */
    body.qm-hesabim .account-nav { position: relative; top: auto; overflow: hidden; }
    body.qm-hesabim .account-nav ul { scroll-padding-inline: 8px; overscroll-behavior-x: contain; }
    body.qm-hesabim .account-nav ul::-webkit-scrollbar { display: none; }
    body.qm-hesabim .account-nav ul li a { height: 44px; padding: 0 16px; }
    body.qm-hesabim .account-nav::before,
    body.qm-hesabim .account-nav::after {
        content: ""; position: absolute; top: 1px; bottom: 1px; width: 36px; z-index: 2; pointer-events: none;
        opacity: 0; transition: opacity .2s;
    }
    body.qm-hesabim .account-nav::before { left: 1px; border-radius: var(--gz-pill) 0 0 var(--gz-pill); background: linear-gradient(90deg, #fff 25%, rgba(255,255,255,0)); }
    body.qm-hesabim .account-nav::after { right: 1px; border-radius: 0 var(--gz-pill) var(--gz-pill) 0; background: linear-gradient(270deg, #fff 25%, rgba(255,255,255,0)); }
    body.qm-hesabim .account-nav.kayar-sol::before,
    body.qm-hesabim .account-nav.kayar-sag::after { opacity: 1; }
}
@media (max-width: 1100px) {
    /* Ödeme: tek sütunda sıra sepet -> özet -> ödeme formu */
    body.qm-hesabim .hesabim-odeme-ana { display: contents; }
    body.qm-hesabim .hesabim-odeme-ana > .hesabim-tablo-kap { order: 0; }
    body.qm-hesabim .hesabim-odeme-yan { display: contents; }
    body.qm-hesabim .hesabim-odeme-yan > .hesabim-ozet { order: 1; }
    body.qm-hesabim .hesabim-odeme-ana > .hesabim-odeme-form { order: 2; margin-top: 0; }
    body.qm-hesabim .hesabim-odeme-yan > .hesabim-guven-liste { order: 3; }
}
@media (min-width: 769px) and (max-width: 1024px) {
    /* Tablet: iki sütunlu kartlar, ödeme özeti yan yana iki kutu */
    body.qm-hesabim .account-stat-grid:not(.hesabim-ozet-grid) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    /* Üst bar: 42px yuvarlak ikonlar, dil bağlantılarının dokunma alanı büyük */
    body.qm-hesabim .hesabim-bar .logo-sticker-badge { display: inline-flex; align-items: center; min-height: 44px; }
    body.qm-hesabim .hesabim-bar .nav-icon,
    body.qm-hesabim .hesabim-bar-cta { width: 42px; height: 42px; }
    body.qm-hesabim .hesabim-bar .lang-switch { height: 42px; padding: 0 6px; gap: 0; }
    body.qm-hesabim .hesabim-bar .lang-switch a,
    body.qm-hesabim .hesabim-bar .lang-switch strong { display: inline-grid; place-items: center; min-width: 32px; height: 40px; }

    /* Başlıklar telefonda ölçülü */
    body.qm-hesabim .account-content h2 { font-size: clamp(1.5rem, 6.4vw, 1.875rem); line-height: 1.2; overflow-wrap: anywhere; }
    body.qm-hesabim .hesabim-baslik-satir { margin-bottom: 20px; gap: 12px; }
    body.qm-hesabim .hesabim-kirinti { margin: -10px 0 4px; }
    body.qm-hesabim .hesabim-kirinti a { display: inline-flex; align-items: center; min-height: 40px; }
    body.qm-hesabim .hesabim-kirinti span { display: inline-flex; align-items: center; }

    /* Girişler: 16px (iOS odak zoom'unu önler) */
    body.qm-hesabim .form-control,
    body.qm-hesabim .modal .form-control,
    body.qm-hesabim input[type="file"].form-control,
    body.qm-hesabim .hesabim-qr-giris .form-control { font-size: 16px; }

    /* Butonlar: küçük butonlar da 40px+, metin bağlantıları dokunulabilir */
    body.qm-hesabim .hesabim-btn-kucuk { height: 40px; }
    body.qm-hesabim .hesabim-metin-link { min-height: 40px; margin-top: 4px; }
    body.qm-hesabim .hesabim-btn-grup > *,
    body.qm-hesabim .hesabim-btn-grup > .hesabim-satir-ici .hesabim-btn { flex: 1 1 auto; }
    body.qm-hesabim .hesabim-satir-ici { display: flex; }
    body.qm-hesabim .hesabim-kart form > .btn-success,
    body.qm-hesabim .account-content .card-block .hesabim-btn-grup .btn { width: 100%; }

    /* Kart tablolar: işlem butonu tam genişlik, uzun değerler sarar */
    body.qm-hesabim .hesabim-kart-tablo td { overflow-wrap: anywhere; min-height: 32px; }
    body.qm-hesabim .hesabim-kart-tablo td.hesabim-islem > .hesabim-btn,
    body.qm-hesabim .hesabim-kart-tablo td.hesabim-islem > .status-badge { flex: 1 1 100%; height: 44px; justify-content: center; }
    body.qm-hesabim .hesabim-kart-tablo a.status-badge { height: 36px; padding: 0 14px; }
    body.qm-hesabim .hesabim-kart-tablo td.hesabim-hucre-blok { display: block; text-align: left; }
    body.qm-hesabim .hesabim-kart-tablo td.hesabim-hucre-blok::before { display: block; margin-bottom: 2px; }
    body.qm-hesabim .account-table details summary { display: list-item; padding: 9px 0; }
    body.qm-hesabim .hesabim-urun-hucre { min-width: 0; text-align: right; }

    body.qm-hesabim .order-step-extra a { display: inline-block; padding: 6px 0; }

    /* Sipariş özeti kutuları: 2 + 1 düzen, değerler küçük */
    body.qm-hesabim .hesabim-ozet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.qm-hesabim .hesabim-ozet-grid .account-stat:last-child { grid-column: 1 / -1; }
    body.qm-hesabim .hesabim-ozet-grid .num { font-size: 17px; }

    /* Destek mesajları: küçük avatar, balon tam genişliğe yakın */
    body.qm-hesabim .hesabim-mesaj { gap: 8px; }
    body.qm-hesabim .hesabim-mesaj-avatar { width: 32px; height: 32px; }
    body.qm-hesabim .hesabim-mesaj-balon { padding: 14px 16px; }

    /* Modal: ekrana sığar, kapat düğmesi 44px, butonlar alt alta */
    body.qm-hesabim .modal .modal-dialog { margin: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom)); max-width: none; }
    body.qm-hesabim .modal .modal-header { padding: 14px 16px 14px 20px; }
    body.qm-hesabim .modal .modal-header .close { width: 44px; height: 44px; margin: -4px -4px -4px auto; font-size: 22px; }
    body.qm-hesabim .modal .modal-body { padding: 18px 20px 20px; }
    body.qm-hesabim .hesabim-modal-metin { max-height: calc(100vh - 230px); max-height: calc(100dvh - 230px); }
    body.qm-hesabim .modal .modal-body form .btn,
    body.qm-hesabim .hesabim-modal-alt .btn { width: 100%; margin: 10px 0 0; }

    /* Karekod: adımlar sıkı, kamera kare çerçeve */
    body.qm-hesabim .hesabim-qr-adimlar { gap: 8px; }
    body.qm-hesabim .hesabim-qr-adimlar li { padding: 12px 14px; }
    body.qm-hesabim .hesabim-kamera { padding: 12px; }
    body.qm-hesabim .hesabim-kamera video { width: 100%; height: auto; max-width: 320px; aspect-ratio: 1 / 1; object-fit: cover; }
    body.qm-hesabim .hesabim-kamera .btn { width: 100%; }

    /* Ödeme: adım bağlantısı ve sözleşme onayı dokunulabilir */
    body.qm-hesabim .hesabim-adimlar a { min-height: 40px; }
    body.qm-hesabim .hesabim-onay input { width: 22px; height: 22px; }
    body.qm-hesabim .account-content .hesabim-onay label { font-size: 14px; }
    body.qm-hesabim .hesabim-onay a { display: inline-block; padding: 2px 0; }
    body.qm-hesabim .hesabim-odeme-kutu { padding: 14px 14px 14px 46px; gap: 12px; }

    /* Alt bilgi: bağlantılar 40px, iPhone alt boşluğu */
    body.qm-hesabim .hesabim-footer-ic { padding-bottom: calc(20px + env(safe-area-inset-bottom)); gap: 4px; }
    body.qm-hesabim .hesabim-footer nav { gap: 0 18px; }
    body.qm-hesabim .hesabim-footer nav a { display: inline-flex; align-items: center; min-height: 40px; }
}
@media (min-width: 600px) and (max-width: 768px) {
    /* Tablet dikey: kart satırlar iki sütunlu ızgara (uzatılmış telefon görünümü yerine) */
    body.qm-hesabim .hesabim-tablo-kap:has(> .hesabim-kart-tablo) { border: 0; border-radius: 0; overflow: visible; background: transparent; }
    body.qm-hesabim .hesabim-kart-tablo tbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    body.qm-hesabim .hesabim-kart-tablo tbody tr,
    body.qm-hesabim .hesabim-kart-tablo tbody tr:last-child { border: 1px solid var(--gz-line); border-radius: var(--gz-radius-lg); background: #fff; }
    body.qm-hesabim .hesabim-kart-tablo tbody tr:only-child,
    body.qm-hesabim .hesabim-kart-tablo .hesabim-bos { grid-column: 1 / -1; }
    body.qm-hesabim .account-stat-grid:not(.hesabim-ozet-grid) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    body.qm-hesabim .hesabim-ozet-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    body.qm-hesabim .hesabim-ozet-grid .account-stat:last-child { grid-column: auto; }
    body.qm-hesabim .hesabim-form-duzen .hesabim-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 600px) and (max-width: 1024px) {
    /* Tablet: profil fotoğrafı kartı yatay (önizleme solda, reCAPTCHA + buton sağda) */
    body.qm-hesabim .hesabim-foto-kart form { display: grid; grid-template-columns: 180px minmax(0, 1fr); column-gap: 28px; align-items: center; }
    body.qm-hesabim .hesabim-foto-kart form > .form-group { grid-column: 2; margin-bottom: 12px; }
    body.qm-hesabim .hesabim-foto-kart form > .form-group:first-of-type { grid-column: 1; grid-row: 1 / span 2; margin: 0; }
    body.qm-hesabim .hesabim-foto-kart form > .form-group.text-center { text-align: left; }
    body.qm-hesabim .hesabim-foto-kart .g-recaptcha.text-center > div { margin: 0; }
}
@media (max-width: 599px) {
    /* Sipariş takip telefonda dikey; çizgi bir sonraki noktaya kesintisiz uzar */
    body.qm-hesabim .order-tracker { flex-direction: column; gap: 18px; padding: 20px; }
    body.qm-hesabim .order-step { padding: 0 0 0 30px; text-align: left; }
    body.qm-hesabim .order-step-dot { top: 2px; left: 0; transform: none; }
    body.qm-hesabim .order-step-extra { padding: 0; }
    body.qm-hesabim .order-step-line { display: none; }
    body.qm-hesabim .order-step:not(:last-child)::after {
        content: ""; position: absolute; left: 7px; top: 18px; bottom: -20px; width: 2px; background: var(--gz-line-2);
    }
    body.qm-hesabim .order-step:has(+ .order-step.done)::after,
    body.qm-hesabim .order-step:has(+ .order-step.active)::after { background: var(--gz-ink); }
}
@media (max-width: 420px) {
    body.qm-hesabim .hesabim-kart { padding: 18px 16px; }
    body.qm-hesabim .hesabim-bar .lang-switch { height: 40px; padding: 0 4px; }
    body.qm-hesabim .hesabim-bar .lang-switch a,
    body.qm-hesabim .hesabim-bar .lang-switch strong { min-width: 30px; height: 38px; }
    body.qm-hesabim .hesabim-adimlar li:not(.aktif) a { min-width: 40px; justify-content: center; }
}
@media (max-width: 359px) {
    /* Çok dar telefonlar: reCAPTCHA (304px) kutuya sığsın */
    body.qm-hesabim .g-recaptcha { transform: scale(.88); transform-origin: left top; height: 70px; }
    body.qm-hesabim .hesabim-bar .logo-sticker-badge img { max-width: 104px; height: auto; }
}

/* ---------- Yazdırma (sipariş detayı "Yazdır") ---------- */
@media print {
    body.qm-hesabim .hesabim-bar,
    body.qm-hesabim .account-nav,
    body.qm-hesabim .hesabim-footer,
    body.qm-hesabim .hesabim-btn-grup,
    body.qm-hesabim .hesabim-destek-form,
    body.qm-hesabim .hesabim-odeme-form { display: none !important; }
    body.qm-hesabim .account-shell { display: block; padding: 0; }
}
