/* ==================================================================
   Abonelik & Bayi Portalı — tek dosya tasarım sistemi (derleme gerekmez)
   ================================================================== */

:root {
    --teal-50:  #eefbfb;
    --teal-100: #d3f3f4;
    --teal-300: #7fd4d8;
    --teal-500: #35a4ab;
    --teal-600: #2b8b92;
    --teal-700: #22717a;

    --ink-900: #0f1e26;
    --ink-700: #33474f;
    --ink-500: #63767d;
    --ink-300: #9aa9ae;
    --line:    #e2e8ea;
    --bg:      #f4f7f8;
    --card:    #ffffff;

    --green:   #148f52;
    --green-bg:#e6f7ee;
    --amber:   #b3730a;
    --amber-bg:#fdf3e2;
    --red:     #c0392f;
    --red-bg:  #fdecea;
    --blue:    #1f6fbf;
    --blue-bg: #eaf2fc;
    --violet:  #6b46c1;
    --violet-bg:#f1ecfd;

    --radius:  12px;
    --radius-sm: 8px;
    --shadow:  0 1px 2px rgba(15, 30, 38, .06), 0 4px 16px rgba(15, 30, 38, .05);
    --shadow-lg: 0 10px 40px rgba(15, 30, 38, .16);
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
    font-family: var(--font);
    font-size: 14px;
    line-height: 1.55;
    color: var(--ink-900);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--teal-600); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { margin: 0 0 .5rem; line-height: 1.25; font-weight: 700; }
h1 { font-size: 1.6rem; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.05rem; }
p  { margin: 0 0 .75rem; }

.muted { color: var(--ink-500); }
.small { font-size: 12px; }
.tiny  { font-size: 11px; }
.strong { font-weight: 700; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.right { text-align: right; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.hide { display: none !important; }

/* ---------------- Üst menü ---------------- */
.topbar {
    background: linear-gradient(97deg, var(--teal-700) 0%, var(--teal-500) 55%, var(--teal-300) 130%);
    color: #fff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 40;
}
.topbar-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    height: 62px;
    display: flex;
    align-items: center;
    gap: 18px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 800;
    letter-spacing: .06em;
    font-size: 15px;
    text-transform: uppercase;
}
.brand:hover { text-decoration: none; }
.brand-mark {
    width: 32px; height: 32px;
    border-radius: 9px;
    background: rgba(255,255,255,.2);
    display: grid; place-items: center;
    font-size: 15px;
}
.brand-sub {
    font-size: 12px;
    font-weight: 600;
    opacity: .85;
    text-transform: none;
    letter-spacing: 0;
    padding-left: 10px;
    margin-left: 4px;
    border-left: 1px solid rgba(255,255,255,.25);
}

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav-link {
    color: rgba(255,255,255,.92);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.nav-link:hover { background: rgba(255,255,255,.14); text-decoration: none; }
.nav-link.active { background: rgba(255,255,255,.22); color: #fff; }

.dropdown { position: relative; }
.dropdown > summary {
    list-style: none;
    cursor: pointer;
    color: rgba(255,255,255,.92);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.dropdown > summary::-webkit-details-marker { display: none; }
.dropdown > summary::after { content: "▾"; font-size: 10px; opacity: .8; }
.dropdown > summary:hover { background: rgba(255,255,255,.14); }
.dropdown[open] > summary { background: rgba(255,255,255,.22); }
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 232px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 6px;
    z-index: 50;
}
.dropdown-menu.to-right { left: auto; right: 0; }
.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 11px;
    border-radius: var(--radius-sm);
    color: var(--ink-700);
    font-weight: 600;
    font-size: 13px;
}
.dropdown-menu a:hover { background: var(--teal-50); color: var(--teal-700); text-decoration: none; }
.dropdown-divider { height: 1px; background: var(--line); margin: 6px 4px; }

.user-chip {
    display: flex; align-items: center; gap: 9px;
    background: rgba(255,255,255,.16);
    padding: 6px 12px;
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
}
.user-chip .avatar {
    width: 26px; height: 26px; border-radius: 50%;
    background: #fff; color: var(--teal-700);
    display: grid; place-items: center;
    font-weight: 800; font-size: 12px;
}
.user-chip small { display: block; opacity: .8; font-size: 11px; line-height: 1.1; }

.lang-switch { display: flex; gap: 4px; }
.lang-switch a {
    color: #fff; font-size: 11px; font-weight: 700;
    padding: 5px 9px; border-radius: 6px;
    background: rgba(255,255,255,.14);
}
.lang-switch a.active { background: #fff; color: var(--teal-700); }
.lang-switch a:hover { text-decoration: none; background: rgba(255,255,255,.3); }

/* ---------------- Sayfa iskeleti ---------------- */
.page { max-width: 1440px; margin: 0 auto; padding: 26px 20px 60px; }
.page-head {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 16px; flex-wrap: wrap; margin-bottom: 20px;
}
.page-head h1 { color: var(--teal-600); margin: 0; }
.page-head .sub { color: var(--ink-500); font-size: 13px; margin-top: 2px; }
.page-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------------- Kartlar ---------------- */
.card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
}
.card + .card { margin-top: 18px; }
.card-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; flex-wrap: wrap;
    padding-bottom: 14px; margin-bottom: 16px;
    border-bottom: 1px solid var(--line);
}
.card-head h2, .card-head h3 { margin: 0; color: var(--teal-600); }
.card-flush { padding: 0; overflow: hidden; }
.card-flush .card-head { padding: 18px 20px 14px; margin-bottom: 0; }

/* KPI kartları */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}
.kpi {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px 20px;
    border-left: 4px solid var(--teal-500);
    display: flex; gap: 14px; align-items: flex-start;
}
.kpi.green  { border-left-color: var(--green); }
.kpi.amber  { border-left-color: var(--amber); }
.kpi.blue   { border-left-color: var(--blue); }
.kpi.violet { border-left-color: var(--violet); }
.kpi.red    { border-left-color: var(--red); }
.kpi-icon {
    width: 44px; height: 44px; border-radius: 12px;
    display: grid; place-items: center; font-size: 20px;
    background: var(--teal-50); color: var(--teal-600); flex: 0 0 auto;
}
.kpi.green .kpi-icon  { background: var(--green-bg); color: var(--green); }
.kpi.amber .kpi-icon  { background: var(--amber-bg); color: var(--amber); }
.kpi.blue .kpi-icon   { background: var(--blue-bg);  color: var(--blue); }
.kpi.violet .kpi-icon { background: var(--violet-bg); color: var(--violet); }
.kpi.red .kpi-icon    { background: var(--red-bg);   color: var(--red); }
.kpi-value { font-size: 1.6rem; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.kpi-label { font-size: 12px; color: var(--ink-500); font-weight: 600; }
.kpi-note  { font-size: 11px; color: var(--ink-300); }

/* Ödeme yöntemi mini kartları */
.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}
.method-card {
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 15px 16px;
}
.method-card .top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.method-card .name { font-size: 12px; font-weight: 700; color: var(--ink-700); }
.method-card .amt { font-size: 1.25rem; font-weight: 800; color: var(--teal-600); }
.method-card .cnt { font-size: 11px; color: var(--ink-300); }

/* Hızlı erişim kutuları */
.tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}
.tile {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 18px; border-radius: var(--radius);
    border: 1px solid var(--line); background: #fff;
    transition: .15s ease;
}
.tile:hover { border-color: var(--teal-300); box-shadow: var(--shadow); text-decoration: none; transform: translateY(-1px); }
.tile-icon {
    width: 42px; height: 42px; border-radius: 12px; flex: 0 0 auto;
    display: grid; place-items: center; font-size: 19px;
    background: var(--teal-50); color: var(--teal-600);
}
.tile-title { font-size: 1rem; font-weight: 700; color: var(--ink-900); }
.tile-desc  { font-size: 12px; color: var(--ink-500); }

/* ---------------- Etiketler ---------------- */
.badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 9px; border-radius: 999px;
    font-size: 11px; font-weight: 700; white-space: nowrap;
    background: var(--bg); color: var(--ink-700);
}
.badge.green  { background: var(--green-bg);  color: var(--green); }
.badge.amber  { background: var(--amber-bg);  color: var(--amber); }
.badge.red    { background: var(--red-bg);    color: var(--red); }
.badge.blue   { background: var(--blue-bg);   color: var(--blue); }
.badge.violet { background: var(--violet-bg); color: var(--violet); }
.badge.teal   { background: var(--teal-100);  color: var(--teal-700); }
.badge.dark   { background: var(--ink-700);   color: #fff; }

/* ---------------- Butonlar ---------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    padding: 9px 16px; border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font-family: inherit; font-size: 13px; font-weight: 700;
    cursor: pointer; background: var(--teal-500); color: #fff;
    transition: .15s ease; white-space: nowrap; text-decoration: none;
}
.btn:hover { background: var(--teal-600); text-decoration: none; color: #fff; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-outline { background: #fff; color: var(--teal-600); border-color: var(--teal-300); }
.btn-outline:hover { background: var(--teal-50); color: var(--teal-700); }
.btn-ghost { background: transparent; color: var(--ink-700); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg); color: var(--ink-900); }
.btn-danger { background: var(--red); }
.btn-danger:hover { background: #a5322a; }
.btn-danger-outline { background: #fff; color: var(--red); border-color: #f3c7c3; }
.btn-danger-outline:hover { background: var(--red-bg); color: var(--red); }
.btn-success { background: var(--green); }
.btn-success:hover { background: #0f7343; }
.btn-sm { padding: 6px 11px; font-size: 12px; }
.btn-xs { padding: 4px 9px; font-size: 11px; border-radius: 6px; }
.btn-block { width: 100%; }
.btn-wa { background: #25d366; }
.btn-wa:hover { background: #1eb556; }

/* ---------------- Formlar ---------------- */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.form-grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.span-2 { grid-column: span 2; }
.field > label { font-size: 12px; font-weight: 700; color: var(--ink-700); }
.field .req { color: var(--red); }
.field .help { font-size: 11px; color: var(--ink-300); }
.field .err  { font-size: 11px; color: var(--red); font-weight: 600; }

input[type=text], input[type=email], input[type=tel], input[type=password],
input[type=number], input[type=date], input[type=search], select, textarea {
    font-family: inherit; font-size: 13px;
    padding: 9px 11px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff; color: var(--ink-900);
    width: 100%;
    transition: .15s ease;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--teal-300);
    box-shadow: 0 0 0 3px rgba(53,164,171,.14);
}
input.invalid, select.invalid { border-color: #eab4ae; }
textarea { resize: vertical; min-height: 84px; }
select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' stroke='%2363767d' stroke-width='1.6' fill='none' stroke-linecap='round'/></svg>"); background-repeat: no-repeat; background-position: right 11px center; padding-right: 30px; }

.check { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; cursor: pointer; }
.check input { width: 16px; height: 16px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--teal-500); }

.input-group { display: flex; gap: 8px; }
.input-group select { flex: 0 0 118px; }

.section-title {
    font-size: 1.05rem; font-weight: 700; color: var(--teal-600);
    padding-bottom: 10px; margin: 26px 0 16px;
    border-bottom: 1px solid var(--line);
}
.section-title:first-child { margin-top: 0; }

.form-footer {
    display: flex; justify-content: flex-end; gap: 10px;
    margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line);
}

/* Filtre çubuğu */
.filters {
    display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end;
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 14px 16px; margin-bottom: 16px;
}
.filters .field { min-width: 150px; flex: 1 1 150px; gap: 4px; }
.filters .field > label { font-size: 11px; }

/* ---------------- Tablolar ---------------- */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 13px; }
table.data thead th {
    background: var(--teal-50);
    color: var(--teal-700);
    font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
    text-align: left; padding: 11px 14px; white-space: nowrap;
    border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 1;
}
table.data tbody td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data tbody tr:hover { background: #fbfdfd; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tfoot td { padding: 11px 14px; font-weight: 800; background: var(--bg); border-top: 2px solid var(--line); }
table.data .actions { display: flex; gap: 5px; justify-content: flex-end; }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }

.empty { padding: 46px 20px; text-align: center; color: var(--ink-300); }
.empty .icon { font-size: 34px; margin-bottom: 10px; opacity: .5; }

/* ---------------- İlerleme çubuğu ---------------- */
.progress { height: 7px; border-radius: 99px; background: var(--line); overflow: hidden; }
.progress > span { display: block; height: 100%; border-radius: 99px; background: var(--teal-500); }
.progress.green > span { background: var(--green); }
.progress.amber > span { background: var(--amber); }
.progress.red > span   { background: var(--red); }

/* ---------------- Uyarı mesajları ---------------- */
.alert {
    display: flex; gap: 10px; align-items: flex-start;
    padding: 12px 15px; border-radius: var(--radius-sm);
    font-size: 13px; margin-bottom: 14px; font-weight: 500;
    border: 1px solid transparent;
}
.alert-success { background: var(--green-bg); color: #0d6b3d; border-color: #b9e6cd; }
.alert-error   { background: var(--red-bg);   color: #8f2b23; border-color: #f2c4bf; }
.alert-warning { background: var(--amber-bg); color: #8a5806; border-color: #f3ddb4; }
.alert-info    { background: var(--blue-bg);  color: #17558f; border-color: #c3daf4; }

/* ---------------- Sayfalama ---------------- */
.pagination { display: flex; gap: 5px; align-items: center; justify-content: center; padding: 16px; flex-wrap: wrap; }
.pagination a, .pagination span {
    min-width: 34px; height: 34px; padding: 0 9px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm); font-size: 13px; font-weight: 600;
    border: 1px solid var(--line); background: #fff; color: var(--ink-700);
}
.pagination a:hover { border-color: var(--teal-300); color: var(--teal-600); text-decoration: none; }
.pagination .current { background: var(--teal-500); border-color: var(--teal-500); color: #fff; }
.pagination .gap { border: 0; background: transparent; }

/* ---------------- Diyalog (modal) ---------------- */
dialog {
    border: 0; border-radius: var(--radius);
    padding: 0; max-width: 640px; width: calc(100% - 32px);
    box-shadow: var(--shadow-lg);
    color: var(--ink-900);
}
dialog::backdrop { background: rgba(15,30,38,.45); backdrop-filter: blur(2px); }
.dialog-head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 17px 20px; border-bottom: 1px solid var(--line);
}
.dialog-head h3 { margin: 0; color: var(--teal-600); }
.dialog-body { padding: 20px; max-height: 66vh; overflow-y: auto; }
.dialog-foot { display: flex; justify-content: flex-end; gap: 9px; padding: 15px 20px; border-top: 1px solid var(--line); background: var(--bg); }
.dialog-close { background: none; border: 0; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink-300); }
.dialog-close:hover { color: var(--ink-700); }

/* ---------------- Ürün seçimi (abonelik formu / vitrin) ---------------- */
.accordion { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; }
.accordion > summary {
    list-style: none; cursor: pointer;
    padding: 13px 18px; font-weight: 700; font-size: 14px;
    background: linear-gradient(97deg, var(--teal-600), var(--teal-500));
    color: #fff;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.accordion > summary::-webkit-details-marker { display: none; }
.accordion > summary::after { content: "⌄"; font-size: 18px; line-height: 1; }
.accordion[open] > summary::after { content: "⌃"; }
.accordion-body { padding: 18px; background: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(216px, 1fr)); gap: 14px; }
.product {
    border: 1px solid var(--line); border-radius: var(--radius);
    background: #fff; overflow: hidden; transition: .15s ease;
    display: flex; flex-direction: column;
}
.product:hover { border-color: var(--teal-300); box-shadow: var(--shadow); }
.product.selected { border-color: var(--teal-500); box-shadow: 0 0 0 3px rgba(53,164,171,.16); }
.product-cover {
    height: 88px;
    background: linear-gradient(140deg, var(--teal-50), #eef4f5);
    display: grid; place-items: center;
    color: var(--teal-300); font-size: 26px;
}
.product-body { padding: 13px 14px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.product-name { font-weight: 700; font-size: 13px; text-align: center; }
.product-lang { align-self: center; }
.product-prices { font-size: 12px; display: flex; flex-direction: column; gap: 3px; }
.product-prices .row { display: flex; justify-content: space-between; gap: 8px; }
.product-prices .row span:first-child { color: var(--ink-500); }
.product-prices .m { color: var(--blue); font-weight: 700; }
.product-prices .y { color: var(--green); font-weight: 700; }
.product-pick { border-top: 1px solid var(--line); padding: 10px 14px; display: flex; flex-direction: column; gap: 8px; }
.product-opts { display: none; gap: 8px; }
.product.selected .product-opts { display: flex; }
.product-opts select, .product-opts input { font-size: 12px; padding: 6px 8px; }
.product-opts input { flex: 0 0 62px; }

/* ---------------- Vitrin (satış sitesi) ---------------- */
.shop-hero {
    background: linear-gradient(112deg, var(--teal-700), var(--teal-500) 70%, var(--teal-300));
    color: #fff; padding: 54px 20px 60px; text-align: center;
}
.shop-hero h1 { font-size: 2.1rem; margin-bottom: 10px; }
.shop-hero p { max-width: 620px; margin: 0 auto; opacity: .92; font-size: 15px; }
.shop-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: -26px auto 26px; max-width: 1200px; padding: 0 20px; }
.shop-tabs a {
    background: #fff; box-shadow: var(--shadow);
    padding: 11px 20px; border-radius: 99px;
    font-weight: 700; font-size: 13px; color: var(--ink-700);
}
.shop-tabs a.active, .shop-tabs a:hover { background: var(--teal-600); color: #fff; text-decoration: none; }

.shop-section { max-width: 1200px; margin: 0 auto 40px; padding: 0 20px; }
.shop-section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.shop-section-head h2 { margin: 0; color: var(--teal-700); font-size: 1.2rem; letter-spacing: .04em; text-transform: uppercase; }
.shop-section-head .line { flex: 1; height: 1px; background: var(--line); }

.shop-card {
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
    overflow: hidden; display: flex; flex-direction: column;
}
.shop-card .cover {
    height: 148px;
    background: linear-gradient(140deg, var(--teal-100), #eef4f5);
    display: grid; place-items: center; font-size: 40px; color: var(--teal-300);
}
.shop-card .body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.shop-card .title { font-weight: 700; font-size: 15px; }
.shop-card form { display: flex; flex-direction: column; gap: 9px; margin-top: auto; }

.cart-line { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-thumb { width: 54px; height: 54px; border-radius: var(--radius-sm); background: var(--teal-50); display: grid; place-items: center; font-size: 22px; color: var(--teal-300); flex: 0 0 auto; }
.cart-line .grow { flex: 1; min-width: 0; }
.cart-total { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; margin-top: 8px; border-top: 2px solid var(--line); font-size: 1.15rem; font-weight: 800; }

.summary-list { display: flex; flex-direction: column; gap: 9px; font-size: 13px; }
.summary-list .row { display: flex; justify-content: space-between; gap: 12px; }
.summary-list .row.total { border-top: 1px solid var(--line); padding-top: 10px; font-weight: 800; font-size: 1.05rem; }

.pay-methods { display: flex; flex-direction: column; gap: 10px; }
.pay-option {
    display: flex; align-items: center; gap: 12px;
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    padding: 13px 15px; cursor: pointer; transition: .15s ease;
}
.pay-option:hover { border-color: var(--teal-300); background: var(--teal-50); }
.pay-option input { accent-color: var(--teal-500); width: 17px; height: 17px; }
.pay-option .label { font-weight: 700; font-size: 13px; }
.pay-option .desc { font-size: 11px; color: var(--ink-500); }

.bank-box { background: var(--bg); border-radius: var(--radius-sm); padding: 15px; font-size: 13px; }
.bank-box .row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.bank-box .row:last-child { border-bottom: 0; }
.bank-box .val { font-weight: 700; font-family: ui-monospace, Menlo, monospace; }

/* ---------------- Abone alanı ---------------- */
.account-layout { display: grid; grid-template-columns: 232px 1fr; gap: 22px; max-width: 1100px; margin: 26px auto; padding: 0 20px 60px; }
.account-nav { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; height: fit-content; }
.account-nav a { display: block; padding: 10px 13px; border-radius: var(--radius-sm); font-weight: 600; font-size: 13px; color: var(--ink-700); }
.account-nav a:hover { background: var(--teal-50); text-decoration: none; }
.account-nav a.active { background: var(--teal-500); color: #fff; }

/* ---------------- Giriş sayfası ---------------- */
.auth-wrap {
    min-height: 100vh; display: grid; place-items: center; padding: 24px;
    background: linear-gradient(140deg, var(--teal-700), var(--teal-500) 60%, var(--teal-300));
}
.auth-card { width: 100%; max-width: 408px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 34px 32px; }
.auth-logo { text-align: center; margin-bottom: 22px; }
.auth-logo .mark {
    width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 12px;
    background: linear-gradient(140deg, var(--teal-600), var(--teal-300));
    display: grid; place-items: center; color: #fff; font-size: 24px; font-weight: 800;
}
.auth-logo h1 { font-size: 1.3rem; margin: 0; color: var(--ink-900); }
.auth-logo p { font-size: 13px; color: var(--ink-500); margin: 4px 0 0; }
.auth-card .field + .field { margin-top: 14px; }
.auth-card .btn { margin-top: 20px; }
.auth-foot { text-align: center; font-size: 12px; color: var(--ink-300); margin-top: 20px; }

/* ---------------- Hata sayfası ---------------- */
.error-wrap { min-height: 70vh; display: grid; place-items: center; padding: 40px 20px; text-align: center; }
.error-code { font-size: 4.5rem; font-weight: 800; color: var(--teal-300); line-height: 1; }

/* ---------------- Alt bilgi ---------------- */
.footer { border-top: 1px solid var(--line); background: #fff; padding: 22px 20px; text-align: center; color: var(--ink-300); font-size: 12px; }

/* ---------------- Yazdırma ---------------- */
@media print {
    .topbar, .page-actions, .filters, .pagination, .footer { display: none !important; }
    body { background: #fff; }
    .card { box-shadow: none; border: 1px solid var(--line); }
}

/* ---------------- Duyarlı ---------------- */
@media (max-width: 980px) {
    .account-layout { grid-template-columns: 1fr; }
    .topbar-inner { height: auto; padding: 10px 16px; flex-wrap: wrap; }
    .nav { width: 100%; margin-left: 0; }
    .field.span-2 { grid-column: span 1; }
}
@media (max-width: 640px) {
    .page { padding: 18px 14px 48px; }
    .card { padding: 16px; }
    .kpi-value { font-size: 1.35rem; }
    .brand-sub { display: none; }
    .shop-hero h1 { font-size: 1.6rem; }
}
