/* =========================================================
   Hisar Otomotiv B2B — tasarım sistemi
   Yüzey: Apple gri tonları · Vurgu: Hisar turuncusu · İmza: 61 plaka çipi
   ========================================================= */

:root {
  --bg: #F5F5F7;
  --surface: #FFFFFF;
  --surface-2: #FAFAFB;
  --surface-3: #F0F0F3;
  --line: rgba(0, 0, 0, .08);
  --line-strong: rgba(0, 0, 0, .14);
  --text: #1D1D1F;          /* 16.8:1 */
  --text-2: #424245;        /* 10.1:1 */
  --text-3: #6E6E73;        /* 5.0:1 */
  --accent: #D9480F;        /* beyaz metin 4.6:1 */
  --accent-hover: #C2410C;
  --accent-ink: #B63D0A;    /* metin olarak 5.6:1 */
  --accent-soft: #FFF1E8;
  --accent-vivid: #F26B1D;  /* marka turuncusu, dekoratif */
  --green: #1A7F37;  --green-soft: #E8F5EC;
  --amber: #8A5300;  --amber-soft: #FFF4DB;
  --red: #C62828;    --red-soft: #FDECEC;
  --blue: #0060DF;   --blue-soft: #E8F0FE;
  --plate-blue: #003399;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .04), 0 1px 1px rgba(0, 0, 0, .03);
  --shadow-2: 0 4px 24px rgba(0, 0, 0, .06), 0 1px 3px rgba(0, 0, 0, .04);
  --shadow-3: 0 24px 60px rgba(0, 0, 0, .18);
  --r-sm: 8px; --r: 12px; --r-lg: 18px; --r-xl: 24px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Inter, Roboto, sans-serif;
  --mono: "SF Mono", ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, Menlo, monospace;
  --header-h: 64px;
  --glass: rgba(255, 255, 255, .78);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #1C1C1E;
    --surface-2: #232325;
    --surface-3: #2C2C2E;
    --line: rgba(255, 255, 255, .09);
    --line-strong: rgba(255, 255, 255, .16);
    --text: #F5F5F7;
    --text-2: #D1D1D6;
    --text-3: #98989D;     /* #1C1C1E üzerinde 6.3:1 */
    --accent: #E8590C;
    --accent-hover: #F26B1D;
    --accent-ink: #FF9F5A;
    --accent-soft: rgba(242, 107, 29, .16);
    --green: #30D158;  --green-soft: rgba(48, 209, 88, .14);
    --amber: #FFD60A;  --amber-soft: rgba(255, 214, 10, .14);
    --red: #FF6961;    --red-soft: rgba(255, 69, 58, .15);
    --blue: #64A8FF;   --blue-soft: rgba(10, 132, 255, .16);
    --shadow-1: none;
    --shadow-2: 0 0 0 1px rgba(255, 255, 255, .06);
    --shadow-3: 0 24px 60px rgba(0, 0, 0, .6);
    --glass: rgba(22, 22, 23, .78);
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.02em; line-height: 1.15; margin: 0; color: var(--text); }
h1 { font-size: 28px; font-weight: 700; }
h2 { font-size: 20px; font-weight: 650; }
h3 { font-size: 17px; font-weight: 600; }
p { margin: 0 0 .6em; }
small { font-size: 12.5px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent-vivid) 55%, transparent); outline-offset: 2px; border-radius: 6px; }
.ic { flex: none; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.page { padding-top: 28px; padding-bottom: 64px; }
.muted { color: var(--text-3); }
.small { font-size: 13px; }
.center { text-align: center; }
.block { display: block; }
.strong { font-weight: 600; color: var(--text); }
.flex1 { flex: 1; }
.mt { margin-top: 12px; }
.pad { padding: 16px 20px; }
.pad-x { padding: 0 20px; }
.pre { white-space: pre-line; }
.hp { position: absolute; left: -5000px; }
.danger { color: var(--red) !important; }
.warn-txt { color: var(--amber); font-size: 12.5px; font-weight: 600; }
.show-sm, .show-sm-only, .show-md-only { display: none !important; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack-lg { display: flex; flex-direction: column; gap: 20px; }

/* ---------- Marka ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none !important; flex: none; }
.brand-mark { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -.035em; line-height: 1; display: inline-flex; gap: 4px; color: var(--text); }
.brand-mark b { color: var(--accent-vivid); font-weight: 800; }
.brand-mark.on-dark span { color: #fff; }
.brand-mark-md { font-size: 24px; margin-bottom: 18px; }
.brand-mark-lg { font-size: 28px; }
.brand-tag { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); border: 1px solid var(--line-strong); padding: 3px 7px; border-radius: 6px; }

/* İmza: Türk plakası çipi */
.plate {
  display: inline-flex; align-items: stretch; height: 24px; border-radius: 5px; overflow: hidden; flex: none;
  border: 1.5px solid #1D1D1F; background: #fff; color: #111; font-family: var(--font-display); vertical-align: middle;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6);
}
.plate-tr { background: var(--plate-blue); color: #fff; font-size: 8.5px; font-weight: 700; letter-spacing: .02em; display: grid; place-items: end center; padding: 0 3px 3px; width: 15px; }
.plate-no { font-weight: 800; font-size: 14px; letter-spacing: .02em; display: grid; place-items: center; padding: 0 7px; }
.plate-sm { height: 20px; } .plate-sm .plate-no { font-size: 12px; padding: 0 5px; } .plate-sm .plate-tr { width: 12px; font-size: 7px; }
.plate-lg { height: 40px; border-width: 2px; border-radius: 7px; } .plate-lg .plate-no { font-size: 24px; padding: 0 12px; } .plate-lg .plate-tr { width: 22px; font-size: 11px; padding-bottom: 5px; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 15px; line-height: 1;
  text-decoration: none !important; white-space: nowrap; transition: background .15s, border-color .15s, transform .08s, color .15s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--surface-3); }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--surface-3); }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: 13.5px; gap: 6px; }
.btn-lg { min-height: 50px; padding: 0 24px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-tone-green { background: var(--green-soft); color: var(--green); }
.btn-tone-amber { background: var(--amber-soft); color: var(--amber); }
.btn-tone-red { background: var(--red-soft); color: var(--red); }
.btn-tone-gray { background: var(--surface-3); color: var(--text-2); }
.btn-tone-blue { background: var(--blue-soft); color: var(--blue); }
.btn.is-current:disabled { opacity: 1; }
.icon-btn {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; border: 0; background: transparent;
  color: var(--text-3); transition: background .15s, color .15s; flex: none;
}
.icon-btn:hover { background: var(--surface-3); color: var(--text); }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.btn-row form { display: contents; }
.btn-col { display: flex; flex-direction: column; gap: 8px; }
.link-more { display: inline-flex; align-items: center; gap: 2px; font-weight: 600; font-size: 14px; }

/* ---------- Form ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field > span:first-child, .field legend { font-size: 13px; font-weight: 600; color: var(--text-2); padding: 0; }
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea {
  width: 100%; min-height: 44px; padding: 10px 14px; border-radius: var(--r); border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--text); outline: none; transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 0; resize: vertical; line-height: 1.45; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-vivid) 18%, transparent); }
input::placeholder, textarea::placeholder { color: var(--text-3); opacity: .8; }
select { appearance: none; padding-right: 36px; 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.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.input-sm { min-height: 34px !important; padding: 6px 10px !important; border-radius: var(--r-sm) !important; font-size: 14px; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.mono, .mono-area { font-family: var(--mono); font-size: 13px; }
.mono-area { background: var(--surface-2) !important; }
.is-missing { border-color: color-mix(in srgb, var(--accent-vivid) 55%, transparent) !important; background: var(--accent-soft) !important; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-inline { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
.field-inline > span:first-child { flex: 1; }
.field-inline input, .field-inline .input-affix { max-width: 140px; }
.input-affix { position: relative; display: block; }
.input-affix i { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--text-3); font-size: 13px; pointer-events: none; }
.input-affix input { padding-right: 30px !important; }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 48px !important; }
.pw-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: none; color: var(--text-3); border-radius: 10px; display: grid; place-items: center; }
.check { display: flex; gap: 10px; align-items: center; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 4px; }
.inline-form { display: flex; gap: 10px; }
.file-btn { position: relative; overflow: hidden; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* Anahtar (switch) */
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; font-weight: 500; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-ui { width: 42px; height: 26px; border-radius: 999px; background: var(--line-strong); position: relative; flex: none; transition: background .2s; }
.switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.switch input:checked + .switch-ui { background: var(--green); }
.switch input:checked + .switch-ui::after { transform: translateX(16px); }
.switch input:focus-visible + .switch-ui { outline: 3px solid color-mix(in srgb, var(--accent-vivid) 55%, transparent); outline-offset: 2px; }
.toggles { display: flex; gap: 24px; flex-wrap: wrap; }

.radio-cards { display: grid; gap: 8px; }
.radio-cards label { position: relative; cursor: pointer; }
.radio-cards input { position: absolute; opacity: 0; }
.radio-cards span { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: var(--r); border: 1px solid var(--line-strong); background: var(--surface); font-size: 14px; transition: border-color .15s, background .15s; }
.radio-cards span:has(.ic) { flex-direction: row; align-items: center; gap: 10px; }
.radio-cards small { color: var(--text-3); font-size: 12.5px; }
.radio-cards input:checked + span { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.radio-cards input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--accent-vivid) 55%, transparent); outline-offset: 2px; }

/* ---------- Uyarılar, rozetler ---------- */
.alert { padding: 12px 16px; border-radius: var(--r); margin-bottom: 16px; font-size: 14px; border: 1px solid transparent; }
.alert-error { background: var(--red-soft); color: var(--red); }
.alert-success { background: var(--green-soft); color: var(--green); }
.alert-info { background: var(--blue-soft); color: var(--blue); }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; vertical-align: middle; }
.badge-blue { background: var(--blue-soft); color: var(--blue); }
.badge-amber { background: var(--amber-soft); color: var(--amber); }
.badge-green { background: var(--green-soft); color: var(--green); }
.badge-red { background: var(--red-soft); color: var(--red); }
.badge-gray { background: var(--surface-3); color: var(--text-2); }
.pill { display: inline-flex; align-items: center; height: 19px; padding: 0 7px; border-radius: 5px; font-size: 10.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; vertical-align: 1px; }
.pill-camp { background: var(--green-soft); color: var(--green); }
.pill-promo { background: var(--accent-soft); color: var(--accent-ink); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line-strong); color: var(--text); font-size: 14px; font-weight: 500; text-decoration: none !important; white-space: nowrap;
}
.chip small { color: var(--text-3); font-size: 12px; }
.chip:hover { background: var(--surface-3); }
.chip.is-on { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip.is-on small { color: inherit; opacity: .7; }
.code { font-family: var(--mono); font-size: 12.5px; letter-spacing: -.01em; color: var(--text-2); }
.code-oem { color: var(--text-3); }
.code-link { color: var(--accent-ink); }
kbd { font-family: var(--mono); font-size: 11px; color: var(--text-3); border: 1px solid var(--line-strong); border-radius: 5px; padding: 1px 6px; }

/* ---------- Üst bar ---------- */
.topbar { position: sticky; top: 0; z-index: 40; background: var(--glass); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
@media (prefers-reduced-transparency: reduce) { .topbar { background: var(--surface); backdrop-filter: none; } }
.topbar-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.topsearch { flex: 1; max-width: 620px; position: relative; display: flex; align-items: center; }
.topsearch > .ic { position: absolute; left: 14px; color: var(--text-3); pointer-events: none; }
.topsearch input { min-height: 42px !important; border-radius: 999px !important; padding-left: 42px !important; padding-right: 44px !important; background: var(--surface-3) !important; border-color: transparent !important; }
.topsearch input:focus { background: var(--surface) !important; border-color: var(--accent) !important; }
.topsearch kbd { position: absolute; right: 14px; }
.top-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.rates { display: flex; gap: 12px; font-size: 13px; color: var(--text-3); padding-right: 6px; font-variant-numeric: tabular-nums; }
.rates b { color: var(--text-2); font-weight: 600; }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--text); color: var(--bg); font-weight: 600; text-decoration: none !important; }
.cart-btn:hover { opacity: .9; }
.cart-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent-vivid); color: #fff; font-size: 12px; font-weight: 700; display: inline-grid; place-items: center; font-variant-numeric: tabular-nums; }
.cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; font-size: 15px; }
.menu-pop { position: absolute; right: 0; top: calc(100% + 10px); min-width: 240px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-3); border: 1px solid var(--line); padding: 6px; z-index: 50; }
.menu-pop a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--text); text-decoration: none; font-size: 14.5px; }
.menu-pop a:hover { background: var(--surface-3); }
.menu-head { padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; display: flex; flex-direction: column; }
.menu-head small { color: var(--text-3); }
.subnav { display: flex; align-items: center; gap: 4px; height: 46px; overflow-x: auto; scrollbar-width: none; }
.subnav::-webkit-scrollbar { display: none; }
.subnav a { padding: 7px 14px; border-radius: 999px; color: var(--text-2); font-size: 14px; font-weight: 500; white-space: nowrap; text-decoration: none; }
.subnav a:hover { background: var(--surface-3); color: var(--text); }
.subnav a.is-active { background: var(--text); color: var(--bg); }
.subnav-spacer { flex: 1; }
.subnav-info { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-3); white-space: nowrap; }
.announce { background: var(--accent-soft); color: var(--accent-ink); font-size: 14px; font-weight: 500; }
.announce .wrap { display: flex; align-items: center; gap: 8px; padding-top: 10px; padding-bottom: 10px; }

/* ---------- Giriş ---------- */
.body-auth { background: var(--bg); }
.auth { display: grid; grid-template-columns: minmax(380px, 46%) 1fr; min-height: 100vh; }
.auth-side { position: relative; background: #111113; color: #fff; overflow: hidden; display: flex; align-items: flex-end; padding: 56px; }
.auth-side::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(242, 107, 29, .42) 0%, rgba(242, 107, 29, 0) 55%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 22px);
}
.auth-side-inner { position: relative; max-width: 460px; }
.auth-title { color: #fff; font-size: clamp(40px, 5vw, 64px); font-weight: 800; letter-spacing: -.045em; line-height: .98; margin: 40px 0 20px; }
.auth-title em { font-style: normal; color: var(--accent-vivid); }
.auth-lead { color: rgba(255, 255, 255, .72); font-size: 17px; max-width: 380px; }
.auth-points { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.auth-points li { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .85); font-size: 14.5px; }
.dot-ic { width: 32px; height: 24px; display: grid; place-items: center; border-radius: 6px; background: rgba(255, 255, 255, .1); }
.auth-main { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 40px 24px; }
.auth-card { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 16px; }
.auth-card.wide { max-width: 640px; background: var(--surface); padding: 36px; border-radius: var(--r-xl); box-shadow: var(--shadow-2); }
.auth-card h2 { font-size: 30px; font-weight: 700; letter-spacing: -.03em; }
.auth-card > .muted { margin-top: -8px; }
.auth-help { font-size: 13.5px; color: var(--text-3); text-align: center; margin: 0; }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--text-3); font-size: 13px; margin: 8px 0 -4px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.auth-foot { color: var(--text-3); font-size: 12.5px; margin-top: 40px; text-align: center; }
.success-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--green); font-size: 30px; font-weight: 700; margin: 0 auto; }
.auth-card.center { text-align: center; align-items: stretch; }
.req { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: 13.5px; }
.req .ok { color: var(--green); } .req .bad { color: var(--red); font-weight: 600; }
.install { grid-template-columns: 1fr; }

/* ---------- Ana sayfa ---------- */
.hero { padding: 36px 0 28px; display: grid; gap: 22px; }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--accent-ink); margin-bottom: 8px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.hero-search { display: flex; align-items: center; gap: 8px; position: relative; max-width: 820px; background: var(--surface); border-radius: 999px; padding: 7px 7px 7px 56px; box-shadow: var(--shadow-2); border: 1px solid var(--line); }
.hero-search:focus-within { box-shadow: var(--shadow-2), 0 0 0 4px color-mix(in srgb, var(--accent-vivid) 22%, transparent); }
.hero-search > .ic { position: absolute; left: 22px; color: var(--text-3); }
.hero-search input { border: 0 !important; box-shadow: none !important; background: transparent !important; font-size: 18px; min-height: 50px !important; padding: 0 !important; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; }
.hero-depot { display: inline-flex; align-items: center; gap: 14px; }
.hero-depot div { display: flex; flex-direction: column; line-height: 1.3; }
.hero-depot b { font-size: 16px; }
.hero-depot .muted { font-size: 13.5px; }
.notice-card { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--r-lg); background: var(--blue-soft); color: var(--blue); text-decoration: none !important; margin-bottom: 28px; }
.notice-card span:nth-child(2) { flex: 1; }
.notice-ic { width: 36px; height: 36px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; }

.carousel { position: relative; margin-bottom: 40px; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r-xl); }
.carousel-track::-webkit-scrollbar { display: none; }
.slide { scroll-snap-align: start; position: relative; min-height: 200px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px 44px; border-radius: var(--r-xl); text-decoration: none !important; overflow: hidden; }
.slide-dark { background: #111113; color: #fff; }
.slide-dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 120% at 100% 50%, rgba(242,107,29,.35), transparent 60%); }
.slide-orange { background: linear-gradient(135deg, #F26B1D, #D9480F); color: #fff; }
.slide-light { background: var(--surface); color: var(--text); box-shadow: var(--shadow-2); }
.slide-text { position: relative; max-width: 560px; }
.slide h2 { color: inherit; font-size: clamp(24px, 3.2vw, 36px); font-weight: 800; letter-spacing: -.035em; }
.slide p { opacity: .82; margin: 10px 0 18px; font-size: 16px; }
.slide-cta { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.16); }
.slide-light .slide-cta { background: var(--text); color: var(--bg); }
.slide img { position: relative; max-height: 170px; width: auto; object-fit: contain; }
.carousel-dots { display: flex; gap: 6px; justify-content: center; margin-top: 12px; }
.carousel-dots button { width: 8px; height: 8px; border-radius: 99px; border: 0; background: var(--line-strong); padding: 0; transition: width .25s, background .25s; }
.carousel-dots button.is-on { width: 22px; background: var(--text); }

.section { margin-bottom: 44px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.section-head h2 { font-size: 24px; font-weight: 700; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.pcard { display: flex; flex-direction: column; gap: 4px; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px 12px 14px; box-shadow: var(--shadow-1); transition: transform .15s, box-shadow .15s; }
.pcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.pcard-img { position: relative; aspect-ratio: 4/3; border-radius: var(--r); background: var(--surface-2); display: grid; place-items: center; overflow: hidden; margin-bottom: 8px; }
.pcard-img img { width: 100%; height: 100%; object-fit: contain; }
.pcard-disc { position: absolute; top: 8px; left: 8px; background: var(--accent); color: #fff; font-weight: 700; font-size: 12.5px; padding: 3px 8px; border-radius: 6px; }
.pcard-name { font-size: 14px; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.pcard-price { font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; }
.pcard-price small { color: var(--text-3); font-weight: 500; font-size: 11.5px; }
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.brand-tile { display: flex; flex-direction: column; padding: 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none !important; transition: background .15s; }
.brand-tile:hover { background: var(--surface-3); }
.brand-tile b { font-family: var(--font-display); letter-spacing: -.01em; font-size: 15px; }
.brand-tile small { color: var(--text-3); }
.help-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 32px 36px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); }
.help-cta h2 { font-size: 26px; font-weight: 750; letter-spacing: -.03em; }
.help-cta p { color: var(--text-3); margin: 6px 0 0; }
.help-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Arama sonucu ---------- */
.results-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.h-results { font-size: 32px; font-weight: 750; letter-spacing: -.035em; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.results-head .muted { margin: 4px 0 0; }
.toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.toolbar select { min-height: 38px; padding-top: 6px; padding-bottom: 6px; border-radius: 999px; font-size: 14px; width: auto; }
.chips-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; scrollbar-width: thin; }

.ptable-wrap { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-1); border: 1px solid var(--line); overflow: hidden; }
.ptable { width: 100%; border-collapse: collapse; }
.ptable th { text-align: left; font-size: 12px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .04em; padding: 12px 12px; border-bottom: 1px solid var(--line); background: var(--surface-2); white-space: nowrap; }
.ptable th small { text-transform: none; letter-spacing: 0; font-weight: 500; }
.ptable td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ptable tbody tr:last-child td { border-bottom: 0; }
.ptable tbody tr { transition: background .12s; }
.ptable tbody tr:hover { background: var(--surface-2); }
.ptable tr.is-out .c-prod, .ptable tr.is-out .c-img { opacity: .62; }
.c-img { width: 72px; padding-left: 16px !important; }
.c-num { text-align: right !important; white-space: nowrap; font-variant-numeric: tabular-nums; }
.c-stock { width: 110px; text-align: center !important; }
.c-act { text-align: right !important; white-space: nowrap; }
.c-net b { font-size: 15.5px; }
.c-vat { color: var(--text-2); }
.thumb { width: 52px; height: 52px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; padding: 0; flex: none; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb-sm { width: 40px; height: 40px; border-radius: 8px; }
.thumb-ph { font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: -.02em; color: var(--text-3); }
.pcard-img .thumb-ph { font-size: 28px; opacity: .5; }
.p-brand { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-3); }
span.p-brand, small.p-brand { display: inline-flex; }
.p-name { display: block; text-align: left; background: none; border: 0; padding: 2px 0; font-weight: 600; font-size: 14.5px; line-height: 1.35; color: var(--text); }
.p-name:hover { color: var(--accent-ink); }
.p-codes { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 2px; }
.eq-link { display: inline-flex; align-items: center; gap: 4px; border: 0; background: var(--blue-soft); color: var(--blue); font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.stock { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 32px; height: 28px; padding: 0 8px; border-radius: 999px; font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; }
.stock-in { background: var(--green-soft); color: var(--green); }
.stock-low { background: var(--amber-soft); color: var(--amber); }
.stock-out { background: var(--surface-3); color: var(--text-3); }
.stock-txt { display: none; }
.stock-mini { height: 22px; min-width: 0; font-size: 11.5px; font-weight: 600; }
.unit { display: block; color: var(--text-3); margin-top: 4px; font-size: 11.5px; }
.strike { color: var(--text-3); text-decoration: line-through; text-decoration-thickness: 1px; }
.disc { color: var(--green); font-weight: 700; }
.ask { color: var(--accent-ink); font-weight: 600; font-size: 13.5px; }
.act { display: inline-flex; align-items: center; gap: 8px; }
.fav.is-on { color: var(--red); }
.fav.is-on .ic { fill: currentColor; }
.stepper { display: inline-flex; align-items: center; height: 36px; border-radius: 999px; background: var(--surface-3); padding: 2px; }
.stepper button { width: 32px; height: 32px; border-radius: 999px; border: 0; background: transparent; display: grid; place-items: center; color: var(--text-2); }
.stepper button:hover { background: var(--surface); }
.stepper input { width: 44px !important; min-height: 32px !important; padding: 0 !important; border: 0 !important; background: transparent !important; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; box-shadow: none !important; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.add-btn { min-width: 96px; }
.add-btn.is-added { background: #1A7F37; color: #fff; }
.add-btn.is-added:hover { background: #166B2F; }

.empty { text-align: center; padding: 72px 20px; max-width: 520px; margin: 0 auto; }
.empty-ic { width: 72px; height: 72px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-2); display: grid; place-items: center; margin: 0 auto 20px; color: var(--text-3); }
.empty h1, .empty h2 { margin-bottom: 8px; }
.empty p { color: var(--text-3); }
.empty-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 24px; flex-wrap: wrap; }
.pg { min-width: 38px; height: 38px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text); font-size: 14px; font-weight: 500; text-decoration: none !important; }
.pg:hover { background: var(--surface-3); }
.pg.is-cur { background: var(--text); color: var(--bg); border-color: var(--text); }
.pg.is-dis { opacity: .4; }
.pg-gap { align-self: center; color: var(--text-3); }

/* ---------- Ürün detayı (sheet) ---------- */
.sheet { border: 0; padding: 0; width: min(760px, calc(100vw - 32px)); max-height: min(86vh, 900px); border-radius: var(--r-xl); background: var(--surface); color: var(--text); box-shadow: var(--shadow-3); overflow: hidden; }
.sheet::backdrop { background: rgba(0, 0, 0, .38); backdrop-filter: blur(4px); }
.sheet[open] { animation: sheet-in .22s cubic-bezier(.2, .9, .3, 1); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.sheet-body { max-height: inherit; overflow-y: auto; overscroll-behavior: contain; }
.sheet-loading { padding: 80px; text-align: center; color: var(--text-3); }
.pd { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 20px; }
.pd-page .pd { background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--shadow-1); max-width: 820px; margin: 0 auto; }
.pd-page .sheet-close { display: none; }
.pd-head { display: flex; gap: 18px; align-items: flex-start; }
.pd-img { width: 96px; height: 96px; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; flex: none; }
.pd-img img { width: 100%; height: 100%; object-fit: contain; }
.pd-img .thumb-ph { font-size: 22px; }
.pd-title { flex: 1; min-width: 0; }
.pd-title h2 { font-size: 21px; font-weight: 700; margin: 4px 0 6px; line-height: 1.25; }
.sheet-close { margin: -4px -8px 0 0; background: var(--surface-3); }
.pd-buy { display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; padding: 16px 18px; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--line); }
.pd-price { display: flex; flex-direction: column; flex: 1; min-width: 180px; }
.pd-price b { font-size: 28px; font-weight: 750; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pd-price small { color: var(--text-3); }
.pd-stock { display: flex; align-items: center; gap: 8px; }
.pd-stock .stock-txt { display: inline; }
.pd-stock .stock { padding: 0 12px; }
.seg { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--surface-3); gap: 2px; align-self: flex-start; }
.seg > button, .seg > a { border: 0; background: transparent; padding: 7px 16px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--text-2); text-decoration: none !important; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.seg small { color: var(--text-3); font-size: 12px; }
.seg > [aria-selected="true"], .seg > .is-on { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.1); font-weight: 600; }
.specs { margin: 0; display: grid; gap: 0; }
.specs > div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.specs > div:last-child { border-bottom: 0; }
.specs dt { color: var(--text-3); }
.specs dd { margin: 0; word-break: break-word; }
.pd-sub { font-size: 14px; color: var(--text-3); font-weight: 600; margin: 16px 0 6px; text-transform: uppercase; letter-spacing: .04em; }
.eq-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.eq-row { width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; padding: 12px 14px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); color: var(--text-3); }
.eq-row:hover { background: var(--surface-2); }
.eq-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.eq-name { color: var(--text); font-weight: 500; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eq-price { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Sepet ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }
.cart-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.cart-line { display: grid; grid-template-columns: 52px 1fr auto 120px; gap: 16px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-line.is-unavailable { opacity: .55; }
.cl-unit { font-size: 13px; margin-top: 4px; }
.cl-qty { display: flex; align-items: center; gap: 4px; }
.cl-total { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.summary { position: sticky; top: calc(var(--header-h) + 62px); background: var(--surface); border-radius: var(--r-lg); padding: 22px; border: 1px solid var(--line); box-shadow: var(--shadow-2); display: flex; flex-direction: column; gap: 16px; }
.sum-rows { margin: 0; display: grid; gap: 8px; }
.sum-rows > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.sum-rows dt { color: var(--text-2); }
.sum-rows dt small { color: var(--text-3); }
.sum-rows dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 500; }
.sum-total { padding-top: 10px; border-top: 1px solid var(--line); }
.sum-total dt { color: var(--text); font-weight: 650; font-size: 16px; }
.sum-total dd { font-size: 22px; font-weight: 750; letter-spacing: -.02em; }
.sum-inline { max-width: 360px; margin-left: auto; padding: 16px 20px; }
.sum-note { display: flex; gap: 8px; font-size: 13.5px; color: var(--accent-ink); background: var(--accent-soft); padding: 10px 12px; border-radius: var(--r); margin: 0; }

/* ---------- Siparişler ---------- */
.order-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; }
.order-list.compact { border: 0; border-radius: 0; background: transparent; }
.order-row { display: grid; grid-template-columns: 1fr auto 140px 120px 20px; gap: 16px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); color: var(--text-3); text-decoration: none !important; }
.compact .order-row { grid-template-columns: 1fr auto 120px 110px; padding: 12px 0; }
.order-list li:last-child .order-row { border-bottom: 0; }
.order-row:hover { background: var(--surface-2); }
.compact .order-row:hover { background: transparent; }
.compact .order-row:hover b { color: var(--accent-ink); }
.order-row.is-new b::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-vivid); margin-right: 8px; vertical-align: 1px; }
.or-no { display: flex; flex-direction: column; min-width: 0; }
.or-no b { color: var(--text); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.or-total { text-align: right; color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.or-total small { display: block; color: var(--amber); font-weight: 500; font-size: 11.5px; }
.order-row .badge { justify-self: end; }
.order-done { display: flex; gap: 20px; align-items: center; padding: 24px 28px; border-radius: var(--r-xl); background: var(--green-soft); margin-bottom: 28px; }
.order-done .success-ic { margin: 0; background: var(--green); color: #fff; flex: none; }
.order-done h1 { font-size: 26px; margin-bottom: 6px; }
.order-done p { margin: 0; color: var(--text-2); }
.back { display: inline-flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 500; color: var(--text-3); margin-bottom: 10px; }
.steps { list-style: none; display: flex; padding: 0; margin: 0 0 24px; max-width: 560px; }
.steps li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; color: var(--text-3); position: relative; text-align: center; }
.steps li::before { content: ""; position: absolute; top: 13px; left: -50%; right: 50%; height: 2px; background: var(--line-strong); }
.steps li:first-child::before { display: none; }
.steps li.is-done::before, .steps li.is-cur::before { background: var(--green); }
.step-dot { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line-strong); display: grid; place-items: center; color: #fff; }
.steps .is-done .step-dot, .steps .is-cur .step-dot { background: var(--green); border-color: var(--green); }
.steps .is-cur { color: var(--text); font-weight: 600; }
.card { background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-1); padding: 20px; min-width: 0; }
.card.flush { padding: 0; overflow: hidden; }
.card-title { font-size: 17px; font-weight: 650; display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.card-head.pad { margin-bottom: 0; border-bottom: 1px solid var(--line); }
.card-head .card-title { margin: 0; }
.dtable { width: 100%; border-collapse: collapse; font-size: 14px; }
.dtable th { text-align: left; font-size: 12px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .04em; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); white-space: nowrap; }
.dtable td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.dtable tbody tr:last-child td { border-bottom: 0; }
.dtable-hover tbody tr { cursor: pointer; }
.dtable-hover tbody tr:hover { background: var(--surface-2); }
.dtable tr.is-muted td { opacity: .55; }
.dtable tr.is-unseen td:first-child { box-shadow: inset 3px 0 0 var(--accent-vivid); }
.card > .dtable { margin: -20px -20px 0; width: calc(100% + 40px); }
.card.flush > .dtable, .card.flush > form > .dtable { margin: 0; width: 100%; }
.note-box { display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); font-size: 14px; margin: 14px 0 0; color: var(--text-2); }
.note-shop { background: var(--accent-soft); border-color: transparent; color: var(--text); }
.help-inline { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 24px; color: var(--text-3); font-size: 14px; }

/* ---------- Hesap ---------- */
.grid-2col { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; align-items: start; }
.grid-wide-left { grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr); }
.big-stat { display: flex; align-items: baseline; gap: 10px; margin: 8px 0 12px; }
.big-stat b { font-size: 40px; font-weight: 800; letter-spacing: -.04em; color: var(--green); }
.big-stat span { color: var(--text-3); }
.kv-list { list-style: none; margin: 8px 0 0; padding: 0; }
.kv-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.kv-list li:last-child { border-bottom: 0; }
.kv-list b { font-variant-numeric: tabular-nums; }
.list-nav { display: none; flex-direction: column; background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--line); margin-bottom: 20px; overflow: hidden; }
.list-nav a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: var(--text); border-bottom: 1px solid var(--line); text-decoration: none; }
.list-nav a:last-child { border-bottom: 0; }
.list-nav a .ic:last-child { margin-left: auto; color: var(--text-3); }

/* ---------- Alt bilgi ---------- */
.foot { border-top: 1px solid var(--line); margin-top: auto; padding: 36px 0 28px; background: var(--surface); }
.foot-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-brand p { color: var(--text-3); font-size: 13.5px; margin-top: 10px; max-width: 320px; }
.foot-cols { display: flex; gap: 40px; flex-wrap: wrap; }
.foot-cols div { display: flex; flex-direction: column; gap: 2px; font-size: 14.5px; }
.foot-cols small { color: var(--text-3); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.foot-cols a, .foot-cols span { color: var(--text); font-weight: 500; }
.foot-legal { color: var(--text-3); font-size: 12px; margin-top: 24px; }
.tabbar { display: none; }

/* ---------- Toast ve onay ---------- */
.toasts { position: fixed; z-index: 90; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; background: #1D1D1F; color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 500; box-shadow: var(--shadow-3); pointer-events: auto; animation: toast-in .25s ease; max-width: calc(100vw - 32px); }
.toast a { color: #FFB27A; font-weight: 600; }
.toast.is-error { background: var(--red); }
.toast.out { opacity: 0; transform: translateY(8px); transition: .25s; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }
.confirm { border: 0; border-radius: var(--r-xl); padding: 24px; width: min(400px, calc(100vw - 32px)); background: var(--surface); color: var(--text); box-shadow: var(--shadow-3); }
.confirm::backdrop { background: rgba(0,0,0,.38); }
.confirm p { font-size: 16px; font-weight: 500; margin-bottom: 20px; }
.confirm .btn-row { justify-content: flex-end; }

/* =========================================================
   YÖNETİM PANELİ
   ========================================================= */
.admin { background: var(--bg); }
.admin-shell { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; background: var(--surface); border-right: 1px solid var(--line); padding: 18px 12px; z-index: 60; }
.sb-head { padding: 6px 10px 22px; }
.sb-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; overflow-y: auto; }
.sb-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--text-2); font-size: 14.5px; font-weight: 500; text-decoration: none; }
.sb-nav a:hover { background: var(--surface-3); color: var(--text); }
.sb-nav a.is-active { background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.sb-nav a span:nth-child(2) { flex: 1; }
.sb-badge { min-width: 22px; height: 22px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; padding: 0 7px; }
.sb-foot { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; border-top: 1px solid var(--line); }
.sb-link { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; color: var(--text-3); font-size: 13.5px; text-decoration: none; }
.sb-link:hover { background: var(--surface-3); color: var(--text); }
.sync-pill { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; font-size: 13px; font-weight: 600; text-decoration: none !important; margin-bottom: 6px; }
.sync-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.sync-pill.is-ok { background: var(--green-soft); color: var(--green); }
.sync-pill.is-ok .dot { animation: pulse 2s infinite; }
.sync-pill.is-warn { background: var(--amber-soft); color: var(--amber); }
@keyframes pulse { 50% { opacity: .35; } }
.admin-main { min-width: 0; display: flex; flex-direction: column; }
.admin-top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 32px; background: var(--glass); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.admin-title { font-size: 20px; font-weight: 700; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-top-actions { display: flex; gap: 8px; }
.admin-content { padding: 28px 32px 64px; max-width: 1400px; width: 100%; }
.sb-backdrop { display: none; }
.admin-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.wrap-bar { justify-content: flex-start; }
.wrap-bar .select-wrap select { min-height: 40px; width: auto; max-width: 240px; border-radius: 999px; }
.seg-scroll { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.search-inline { position: relative; display: flex; align-items: center; min-width: 260px; }
.search-inline.grow { flex: 1; max-width: 420px; }
.search-inline .ic { position: absolute; left: 14px; color: var(--text-3); pointer-events: none; }
.search-inline input { min-height: 40px !important; border-radius: 999px !important; padding-left: 38px !important; }
.admin-hint { display: block; font-size: 13.5px; color: var(--text-3); margin: 0 0 16px; padding-left: 24px; text-indent: -24px; }
.admin-hint .ic { vertical-align: -3px; margin-right: 6px; }
.section-title { font-size: 20px; font-weight: 700; margin: 28px 0 14px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin-bottom: 24px; }
.kpi { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); color: var(--text); text-decoration: none !important; transition: transform .15s; }
a.kpi:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.kpi-label { font-size: 13px; color: var(--text-3); font-weight: 600; }
.kpi-val { font-size: 34px; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi-val small { font-size: 15px; font-weight: 600; color: var(--text-3); letter-spacing: 0; }
.kpi-money { font-size: 24px; }
.kpi-small { font-size: 22px; }
.kpi-sub { font-size: 13px; color: var(--text-3); }
.kpi-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.kpi-accent .kpi-label, .kpi-accent .kpi-sub { color: rgba(255,255,255,.85); }
.kpi-warn .kpi-val { color: var(--accent-ink); }
.mini-stats { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--text-3); margin-bottom: 16px; }
.mini-stats b { color: var(--text); font-variant-numeric: tabular-nums; }
.mini-stats .warn-txt b { color: inherit; }
.order-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 16px; }
.oh-top { display: flex; align-items: center; gap: 12px; }
.oh-top h2 { font-size: 30px; font-weight: 800; letter-spacing: -.035em; }
.oh-total { text-align: right; display: flex; flex-direction: column; }
.oh-total small { color: var(--text-3); }
.oh-total b { font-size: 30px; font-weight: 800; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.status-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 12px 14px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); margin-bottom: 20px; font-size: 14px; }
.status-bar .muted { margin-right: 4px; }
.mono-area { resize: none; margin-bottom: 10px; }
.timeline { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 12px; font-size: 14px; }
.cred-card { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; padding: 22px 24px; border-radius: var(--r-xl); background: var(--green-soft); margin-bottom: 20px; }
.cred-card .specs > div { grid-template-columns: 120px 1fr; border-color: rgba(0,0,0,.06); }
.big-code { font-size: 20px; font-weight: 700; color: var(--text); letter-spacing: .04em; }
.bd-rows { display: grid; gap: 8px; }
.bd-row { display: grid; grid-template-columns: 1fr 110px 36px; gap: 8px; align-items: center; }
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.app-card { display: flex; flex-direction: column; gap: 10px; }
.app-card.is-muted { opacity: .62; }
.bulk-bar { position: sticky; top: 72px; z-index: 20; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; margin-bottom: 12px; border-radius: var(--r-lg); background: var(--text); color: var(--bg); box-shadow: var(--shadow-3); }
.bulk-bar select { width: auto; min-height: 34px; padding-top: 4px; padding-bottom: 4px; border-radius: 999px; font-size: 14px; }
.bulk-bar input { width: 110px !important; }
.c-check { width: 44px; text-align: center !important; }
.c-check input { width: 18px; height: 18px; accent-color: var(--accent); }
.atable td { padding-top: 10px; padding-bottom: 10px; }
.row-prod { display: flex; gap: 12px; align-items: center; }
.row-prod .p-brand { display: inline-flex; margin-right: 4px; }
.c-price { width: 170px; }
.price-cell input { width: 140px !important; margin-left: auto; }
.price-cell.is-saved input { border-color: var(--green) !important; box-shadow: 0 0 0 3px var(--green-soft) !important; }
.tags { display: flex; gap: 4px; flex-wrap: wrap; }
td.tags { display: table-cell; }
td.tags > * { margin: 1px 2px; }
.img-drop { aspect-ratio: 4/3; border-radius: var(--r); background: var(--surface-2); border: 1px dashed var(--line-strong); display: grid; place-items: center; text-align: center; overflow: hidden; }
.img-drop img { width: 100%; height: 100%; object-fit: contain; }
.sticky-save { position: sticky; bottom: 16px; z-index: 10; }
.settings { display: grid; gap: 20px; max-width: 820px; }
.banner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 16px; }
.slide-preview { min-height: 130px; padding: 22px 24px; border-radius: var(--r-lg); }
.slide-preview h2 { font-size: 22px; }
.slide-preview p { margin-bottom: 0; font-size: 14px; }
.slide-preview img { max-height: 90px; }
.sync-hero { display: flex; align-items: center; gap: 20px; padding: 24px 28px; border-radius: var(--r-xl); margin-bottom: 20px; flex-wrap: wrap; }
.sync-hero.is-ok { background: var(--green-soft); }
.sync-hero.is-warn { background: var(--amber-soft); }
.sync-hero > div:nth-child(2) { flex: 1; min-width: 260px; }
.sync-hero h2 { font-size: 22px; margin-bottom: 4px; }
.sync-hero p { margin: 0; color: var(--text-2); }
.sync-dot { width: 16px; height: 16px; border-radius: 50%; flex: none; }
.is-ok .sync-dot { background: var(--green); box-shadow: 0 0 0 6px color-mix(in srgb, var(--green) 22%, transparent); animation: pulse 2s infinite; }
.is-warn .sync-dot { background: var(--amber); }
.sync-meta { display: flex; flex-direction: column; text-align: right; }
.sync-meta small { color: var(--text-3); }
.howto { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 10px; font-size: 14px; color: var(--text-2); }
.step-n { width: 26px; height: 26px; border-radius: 50%; background: var(--text); color: var(--bg); display: inline-grid; place-items: center; font-size: 13px; font-weight: 700; }

/* Yazdırma */
.print-page { background: #fff; color: #000; padding: 24px; font-size: 13px; display: block; }
.print-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #000; padding-bottom: 12px; margin-bottom: 14px; }
.print-total { text-align: right; margin-top: 14px; font-size: 14px; }
@media print {
  .print-page .dtable th { background: #eee !important; color: #000; }
  .print-page { padding: 0; }
}

/* =========================================================
   Duyarlı
   ========================================================= */
@media (max-width: 1100px) {
  .hide-md { display: none !important; }
  .grid-wide-left { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .admin-shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 280px; transform: translateX(-100%); transition: transform .25s ease; box-shadow: var(--shadow-3); }
  .sidebar.is-open { transform: none; }
  .sb-backdrop.is-open { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 55; }
  .show-md-only { display: inline-grid !important; }
  .admin-top, .admin-content { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 860px) {
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .show-sm { display: inline-flex !important; }
  .ptable thead { display: none; }
  .ptable, .ptable tbody { display: block; }
  .ptable tr {
    display: grid; grid-template-columns: 56px 1fr auto; gap: 8px 12px; padding: 14px; border-bottom: 1px solid var(--line);
    grid-template-areas: "img prod prod" "img stock net" "act act act";
  }
  .ptable tbody tr:last-child { border-bottom: 0; }
  .ptable td { display: block; padding: 0 !important; border: 0 !important; }
  .ptable .c-img { grid-area: img; width: auto; }
  .ptable .c-prod { grid-area: prod; }
  .ptable .c-stock { grid-area: stock; width: auto; text-align: left !important; display: flex; align-items: center; gap: 8px; }
  .ptable .c-stock .stock-txt { display: inline; font-weight: 600; }
  .ptable .c-stock .stock .ic, .ptable .c-stock .stock-short { display: none; }
  .ptable .c-stock .unit { display: inline; margin: 0; }
  .ptable .c-net { grid-area: net; align-self: center; }
  .ptable .c-list, .ptable .c-disc, .ptable .c-vat { display: none; }
  .ptable .c-act { grid-area: act; text-align: left !important; }
  .ptable .act { display: flex; width: 100%; }
  .ptable .act .add-btn { flex: 1; min-height: 40px; }
  .ptable .act .stepper { height: 40px; }
  .ptable .act .btn-secondary { flex: 1; }
  .dtable thead { display: none; }
  .dtable, .dtable tbody, .dtable tr, .dtable td { display: block; width: 100%; }
  .dtable tr { padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .dtable td { border: 0; padding: 4px 0; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  .dtable td::before { content: attr(data-label); color: var(--text-3); font-size: 12.5px; text-align: left; flex: none; }
  .dtable td:not([data-label])::before { display: none; }
  .dtable td[data-label="Ürün"], .dtable td[data-label="Sipariş"], .dtable td[data-label="Firma"], .dtable td[data-label="Arama"] { display: block; text-align: left; }
  .dtable td[data-label="Ürün"]::before, .dtable td[data-label="Sipariş"]::before, .dtable td[data-label="Firma"]::before, .dtable td[data-label="Arama"]::before { display: none; }
  .dtable td.c-act { display: none; }
  .card > .dtable { margin: -20px -20px 0; }
  .card.flush > .dtable { margin: 0; }
  .atable tr { display: grid; grid-template-columns: 32px 1fr; }
  .atable td.c-check { grid-row: span 5; padding-top: 6px; }
  .order-row { grid-template-columns: 1fr auto; grid-template-areas: "no badge" "n total"; gap: 4px 12px; }
  .order-row .or-no { grid-area: no; } .order-row .badge { grid-area: badge; } .order-row .or-n { grid-area: n; } .order-row .or-total { grid-area: total; }
  .order-row > .ic { display: none; }
  .cart-line { grid-template-columns: 52px 1fr; grid-template-areas: "img main" "qty total"; }
  .cart-line > .thumb { grid-area: img; } .cl-main { grid-area: main; } .cl-qty { grid-area: qty; } .cl-total { grid-area: total; align-self: center; }
  .grid2 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --header-h: 58px; }
  body { font-size: 15px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .page { padding-top: 20px; padding-bottom: 100px; }
  .hide-sm { display: none !important; }
  .show-sm-only { display: flex !important; }
  .topbar-inner { gap: 12px; }
  .brand-tag { display: none; }
  .brand-mark { font-size: 17px; }
  .topsearch input { min-height: 38px !important; font-size: 16px; padding-right: 14px !important; }
  .cart-btn, .top-actions > a.btn { display: none; }
  .subnav { display: none; }
  .hero { padding-top: 12px; }
  .hero-search { padding: 5px 5px 5px 46px; }
  .hero-search > .ic { left: 16px; }
  .hero-search input { font-size: 16px; min-height: 44px !important; }
  .hero-search .btn { min-height: 44px; padding: 0 18px; }
  .slide { padding: 26px 24px; min-height: 170px; }
  .slide img { display: none; }
  .help-cta { padding: 24px; }
  .h-results { font-size: 26px; }
  .results-head { align-items: flex-start; }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: var(--glass); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-top: 1px solid var(--line);
  }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10.5px; font-weight: 600; color: var(--text-3); text-decoration: none; padding: 4px 0; min-height: 48px; }
  .tabbar a.is-active { color: var(--accent-ink); }
  .tab-ic { position: relative; }
  .tab-ic .cart-count { position: absolute; top: -6px; right: -12px; }
  .foot { padding-bottom: 110px; }
  .toasts { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .sheet { width: 100vw; max-width: 100vw; max-height: 90vh; margin: auto 0 0; border-radius: var(--r-xl) var(--r-xl) 0 0; }
  .sheet[open] { animation: sheet-up .28s cubic-bezier(.2, .9, .3, 1); }
  @keyframes sheet-up { from { transform: translateY(100%); } }
  .pd { padding: 20px 18px calc(24px + env(safe-area-inset-bottom)); }
  .pd-img { width: 72px; height: 72px; }
  .pd-buy .act { width: 100%; }
  .pd-buy .add-btn { flex: 1; }
  .specs > div { grid-template-columns: 110px 1fr; }
  .order-done { flex-direction: column; text-align: center; }
  .admin-content { padding: 20px 16px 64px; }
  .admin-top { padding: 0 12px; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi { padding: 14px; }
  .kpi-val { font-size: 26px; }
  .search-inline { min-width: 0; width: 100%; }
  .banner-grid { grid-template-columns: 1fr; }
  .oh-total { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.pd-was { display: flex; gap: 8px; font-size: 14px; }
.p-desc { font-size: 12.5px; color: var(--text-3); line-height: 1.35; margin: 1px 0 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 560px; }
