/* ================= WD WOL B2B — müşteri arayüzü ================= */
:root {
  --n950: #050b16; --n900: #081224; --n850: #0b1830; --n800: #0f203d; --n700: #16305a;
  --blue: #1673e6; --blue2: #3a93ff; --gold: #c9a24a; --gold2: #ecd08a;
  --ink: #0e1726; --ink2: #334155; --muted: #6b7a90; --line: #e2e8f0; --line2: #edf1f6;
  --bg: #f1f4f9; --card: #ffffff; --green: #0f9d58; --red: #e5484d; --amber: #e08a00;
  --r: 14px; --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px rgba(15, 23, 42, .07);
  --font: 'Manrope', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; font-size: 14px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.num, td.r, .money { font-variant-numeric: tabular-nums; }
.w100 { width: 100%; }

/* ---------- butonlar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 700; font-size: 13.5px; letter-spacing: .01em; transition: transform .12s, box-shadow .2s, background .2s, opacity .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-lg { height: 50px; font-size: 15px; border-radius: 12px; }
.btn-sm { height: 32px; padding: 0 11px; font-size: 12.5px; border-radius: 8px; }
.btn-blue { background: linear-gradient(180deg, #2a86f4, #1260cc); color: #fff; box-shadow: 0 6px 16px rgba(22, 115, 230, .3), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-blue:hover { box-shadow: 0 10px 22px rgba(22, 115, 230, .38), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-gold { background: linear-gradient(180deg, #e9cd84, #b8892f); color: #1d1405; box-shadow: 0 8px 22px rgba(201, 162, 74, .35), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-gold:hover { box-shadow: 0 12px 28px rgba(201, 162, 74, .45), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-dark { background: var(--n850); color: #fff; }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink2); }
.btn-ghost:hover { border-color: #cbd5e1; background: #f8fafc; }
.btn-danger { background: #fff; border-color: #f3c5c7; color: var(--red); }
.btn-green { background: linear-gradient(180deg, #19b46a, #0c8a4c); color: #fff; box-shadow: 0 6px 16px rgba(15, 157, 88, .3); }

/* ---------- form alanları ---------- */
.fld { display: block; margin-bottom: 14px; }
.fld > span { display: block; font-size: 12px; font-weight: 700; color: var(--ink2); margin-bottom: 6px; letter-spacing: .02em; }
.input, .fld input, .fld select, .fld textarea {
  width: 100%; height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid #d5dce6; background: #fff; outline: none; transition: border .15s, box-shadow .15s; }
.fld textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; }
.input:focus, .fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(22, 115, 230, .12); }

/* ================= YÜKLEME EKRANI ================= */
.loader { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  background: radial-gradient(1200px 700px at 50% 42%, #12305e 0%, #0a1a35 40%, #050b16 100%); color: #fff; overflow: hidden; transition: opacity .7s ease, visibility .7s; }
.loader.done { opacity: 0; visibility: hidden; }
.ld-aurora { position: absolute; inset: -20%; background:
  conic-gradient(from 0deg at 50% 50%, transparent 0 20%, rgba(58, 147, 255, .18) 30%, transparent 40% 60%, rgba(201, 162, 74, .14) 70%, transparent 80%);
  animation: wd-spin 18s linear infinite; filter: blur(40px); }
.ld-stage { position: relative; width: 470px; height: 470px; --orb: 84px; --r: 205px; }
.ld-ring { position: absolute; inset: 0; margin: auto; border-radius: 50%; }
.ld-ring.r1 { width: 410px; height: 410px; border: 1px solid rgba(255, 255, 255, .1); box-shadow: inset 0 0 60px rgba(58, 147, 255, .12); }
.ld-ring.r2 { width: 300px; height: 300px; border: 1.5px dashed rgba(201, 162, 74, .35); animation: wd-spin 30s linear infinite reverse; }
.ld-ring.r3 { width: 440px; height: 440px; border: 2px solid transparent; border-top-color: rgba(58, 147, 255, .7); border-right-color: rgba(58, 147, 255, .15); animation: wd-spin 2.4s linear infinite; }
.ld-core { position: absolute; inset: 0; margin: auto; width: 270px; height: 270px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, .12), rgba(255, 255, 255, .02) 60%, transparent 70%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 80px rgba(0, 0, 0, .45), inset 0 0 40px rgba(58, 147, 255, .15); backdrop-filter: blur(6px); }
.ld-core img { width: 210px; filter: drop-shadow(0 6px 22px rgba(58, 147, 255, .45)); animation: ld-pulse 2.4s ease-in-out infinite; }
@keyframes ld-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
.ld-bar { position: relative; width: 240px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.ld-bar i { position: absolute; inset: 0; width: 0; background: linear-gradient(90deg, var(--blue2), var(--gold2)); border-radius: 3px; animation: ld-fill 2.5s cubic-bezier(.6, .1, .2, 1) forwards; }
@keyframes ld-fill { to { width: 100%; } }
.ld-text { font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
@media (max-width: 540px) { .ld-stage { transform: scale(.68); margin: -75px 0; } }

/* ================= GİRİŞ ================= */
.login { position: fixed; inset: 0; display: grid; grid-template-columns: 1.45fr 1fr; background: var(--n950); color: #fff; animation: fade-in .6s ease both; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.lg-hero { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(900px 600px at 45% 40%, #14366b 0%, #0a1b38 45%, #050b16 100%); }
.lg-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 45% 45%, #000 20%, transparent 70%); }
.lg-beam { position: absolute; width: 140%; height: 2px; left: -20%; background: linear-gradient(90deg, transparent, rgba(58, 147, 255, .7), transparent); filter: blur(.5px); opacity: .55; }
.lg-beam.b1 { top: 26%; transform: rotate(-8deg); animation: beam 7s ease-in-out infinite; }
.lg-beam.b2 { top: 70%; transform: rotate(6deg); background: linear-gradient(90deg, transparent, rgba(201, 162, 74, .7), transparent); animation: beam 9s ease-in-out infinite reverse; }
@keyframes beam { 0%, 100% { translate: -15% 0; opacity: .2; } 50% { translate: 15% 0; opacity: .7; } }
.lg-hero-inner { position: relative; z-index: 2; text-align: center; padding: 40px 40px 150px; }
.lg-logo-wrap { position: relative; display: inline-block; margin-bottom: 30px; }
.lg-halo { position: absolute; inset: -40% -12%; background: radial-gradient(closest-side, rgba(58, 147, 255, .28), transparent); filter: blur(10px); animation: halo 5s ease-in-out infinite; }
@keyframes halo { 0%, 100% { opacity: .6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
.lg-logo { position: relative; width: min(520px, 70%); min-width: 260px; filter: drop-shadow(0 10px 40px rgba(0, 0, 0, .5)); }
.lg-tag { font-size: clamp(22px, 2.3vw, 34px); line-height: 1.25; font-weight: 800; margin: 0; letter-spacing: -.015em; }
.lg-tag span { background: linear-gradient(90deg, var(--gold2), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lg-sub { margin: 14px 0 0; color: rgba(255, 255, 255, .6); letter-spacing: .16em; font-size: 12.5px; text-transform: uppercase; font-weight: 600; }
.lg-belt { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 2; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.lg-belt-track { display: flex; gap: 26px; width: max-content; animation: belt 28s linear infinite; padding: 10px 0; }
.lg-belt:hover .lg-belt-track { animation-play-state: paused; }
@keyframes belt { to { transform: translateX(-50%); } }
.belt-card { width: 168px; height: 74px; flex: none; border-radius: 16px; display: grid; place-items: center; padding: 10px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .97), rgba(232, 238, 246, .95)); box-shadow: 0 12px 30px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .7);
  animation: wd-bob 3.4s ease-in-out infinite; }
.belt-card:nth-child(even) { animation-delay: -1.7s; }

.lg-side { display: grid; place-items: center; padding: 30px; background: linear-gradient(180deg, #0b1830, #070f1e); border-left: 1px solid rgba(255, 255, 255, .06); position: relative; }
.lg-card { width: min(410px, 100%); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); border-radius: 22px; padding: 34px 32px 26px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06); backdrop-filter: blur(14px); animation: card-in .8s .15s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.lg-card-logo { display: none; height: 34px; margin-bottom: 16px; }
.lg-card h2 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
.lg-hint { margin: 6px 0 24px; color: rgba(255, 255, 255, .58); font-size: 13.5px; line-height: 1.5; }
.lg-card .fld > span { color: rgba(255, 255, 255, .72); }
.inp { position: relative; }
.inp::before { content: ''; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); background: rgba(255, 255, 255, .5);
  -webkit-mask: var(--i) center/contain no-repeat; mask: var(--i) center/contain no-repeat; }
.inp.ic-user::before { --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><circle cx='12' cy='8' r='4'/><path d='M4 21a8 8 0 0 1 16 0'/></svg>"); }
.inp.ic-lock::before { --i: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><rect x='4' y='11' width='16' height='10' rx='2'/><path d='M8 11V7a4 4 0 0 1 8 0v4'/></svg>"); }
.lg-card .inp input { height: 50px; padding-left: 44px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: #fff; border-radius: 12px; font-size: 15px; }
.lg-card .inp input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201, 162, 74, .16); background: rgba(255, 255, 255, .09); }
.lg-card input:-webkit-autofill { -webkit-text-fill-color: #fff; -webkit-box-shadow: 0 0 0 40px #13223e inset; caret-color: #fff; }
.eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: transparent; border-radius: 8px; }
.eye::after { content: ''; position: absolute; inset: 9px; background: rgba(255, 255, 255, .55);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/><circle cx='12' cy='12' r='3'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/><circle cx='12' cy='12' r='3'/></svg>") center/contain no-repeat; }
.eye.on::after { background: var(--gold2); }
.lg-err { min-height: 20px; color: #ff8a8e; font-size: 13px; font-weight: 600; margin: -2px 0 10px; }
.lg-card.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.lg-forgot { display: block; margin: 14px auto 0; background: none; border: 0; color: rgba(255, 255, 255, .6); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.lg-forgot:hover { color: var(--gold2); }
.lg-forgot-box { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(201, 162, 74, .1); border: 1px solid rgba(201, 162, 74, .3); font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, .85); }
.lg-secure { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .45); font-size: 11.5px; text-align: center; }
.lg-secure .i-lock { color: var(--gold); }
.btn.loading span { opacity: 0; } .btn.loading { position: relative; }
.btn.loading::after { content: ''; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(0, 0, 0, .25); border-top-color: currentColor; animation: wd-spin .7s linear infinite; }

@media (max-width: 980px) {
  .login { grid-template-columns: 1fr; overflow-y: auto; position: fixed; }
  .lg-hero { min-height: 330px; }
  .lg-hero-inner { padding: 30px 20px 120px; }
  .lg-logo { width: 300px; min-width: 0; }
  .lg-tag { font-size: 20px; }
  .lg-side { border-left: 0; padding: 26px 16px 40px; }
}

/* ================= UYGULAMA ÇERÇEVESİ ================= */
.app { min-height: 100vh; display: flex; flex-direction: column; animation: fade-in .5s ease both; }
.top { position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: minmax(800px, 1fr) minmax(0, 1fr); gap: 16px; padding: 12px 16px;
  background: radial-gradient(900px 300px at 15% -40%, #1a3d75 0%, transparent 70%), linear-gradient(180deg, #0c1a33, #081224);
  box-shadow: 0 10px 30px rgba(5, 11, 22, .35); border-bottom: 1px solid rgba(201, 162, 74, .35); }
.top-left { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.top-row1 { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand { flex: none; display: flex; align-items: center; padding: 4px 10px 4px 2px; border-right: 1px solid rgba(255, 255, 255, .1); }
.brand img { height: 50px; display: block; filter: drop-shadow(0 4px 14px rgba(58, 147, 255, .25)); }
.mainnav { display: flex; gap: 4px; flex: none; flex-wrap: nowrap; }
.mainnav a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 66px; height: 62px; padding: 0 8px; white-space: nowrap;
  border-radius: 12px; color: rgba(255, 255, 255, .72); text-decoration: none; font-weight: 700; font-size: 12px; letter-spacing: .02em;
  border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.mainnav a i { width: 22px; height: 22px; }
.mainnav a:hover { color: #fff; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .08); }
.mainnav a.on { color: #fff; background: linear-gradient(180deg, rgba(58, 147, 255, .28), rgba(22, 115, 230, .12)); border-color: rgba(58, 147, 255, .45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 6px 16px rgba(22, 115, 230, .25); }
.mainnav a.on::after { content: ''; position: absolute; bottom: -1px; left: 26%; right: 26%; height: 2px; border-radius: 2px; background: var(--gold2); }
.nb { position: absolute; top: 5px; right: 12px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: linear-gradient(180deg, #ff5a5f, #d92d33);
  color: #fff; font-size: 11px; display: grid; place-items: center; box-shadow: 0 0 0 2px #0c1a33; }
.nb.pop { animation: pop .45s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes pop { 0% { transform: scale(.4); } 100% { transform: scale(1); } }

.search { position: relative; display: flex; align-items: center; height: 54px; border-radius: 14px; background: #fff; padding: 0 6px 0 16px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .15), 0 10px 30px rgba(0, 0, 0, .3); }
.search:focus-within { box-shadow: 0 0 0 3px rgba(201, 162, 74, .7), 0 10px 30px rgba(0, 0, 0, .3); }
.s-ic { color: var(--blue); width: 22px; height: 22px; }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; padding: 0 12px; font-size: 16px; font-weight: 600; color: var(--ink); background: transparent; }
.search input::placeholder { color: #94a3b8; font-weight: 500; }
.s-clear { width: 30px; height: 30px; border: 0; border-radius: 50%; background: #eef2f7; color: #64748b; font-size: 18px; line-height: 1; }
.s-clock { padding: 0 12px; text-align: right; font-size: 11px; color: #94a3b8; line-height: 1.3; font-variant-numeric: tabular-nums; white-space: nowrap; }
.s-clock b { display: block; color: var(--ink2); font-size: 13px; }
.s-go { width: 46px; height: 42px; border: 0; border-radius: 10px; color: #fff; background: linear-gradient(180deg, #2a86f4, #1260cc); display: grid; place-items: center; }
.s-go i { width: 20px; height: 20px; }

.top-right { min-width: 0; display: flex; }
.adbox { position: relative; flex: 1; min-height: 132px; border-radius: 16px; overflow: hidden; background: #0a1324;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 16px 34px rgba(0, 0, 0, .35); }
.ad-track { position: absolute; inset: 0; }
.ad-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.ad-slide.is-active { opacity: 1; visibility: visible; }
.ad-slide > a, .ad-slide > .ad-img { position: absolute; inset: 0; display: block; }
.ad-slide img.ad-pic { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.04); transition: transform 7s ease; }
.ad-slide.is-active img.ad-pic { transform: scale(1); }
.ad-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 32px; height: 32px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .16); color: #fff; font-size: 22px; line-height: 1; backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s, background .2s; }
.adbox:hover .ad-nav { opacity: 1; } .ad-nav:hover { background: rgba(255, 255, 255, .3); }
.ad-nav.prev { left: 8px; } .ad-nav.next { right: 8px; }
.ad-dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 5; }
.ad-dots button { width: 7px; height: 7px; border-radius: 4px; border: 0; padding: 0; background: rgba(255, 255, 255, .4); transition: width .3s, background .3s; }
.ad-dots button.on { width: 22px; background: var(--gold2); }

.main { flex: 1; padding: 18px 16px 28px; width: 100%; max-width: 1920px; margin: 0 auto; }
.status { position: sticky; bottom: 0; z-index: 40; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 14px;
  background: #0a1426; color: rgba(255, 255, 255, .75); font-size: 12.5px; border-top: 1px solid rgba(201, 162, 74, .3); }
.st-l { display: flex; align-items: center; gap: 10px; } .st-l img { height: 20px; }
.st-r { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.st-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.st-chip.strong { color: #fff; font-weight: 700; }
.st-out { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 8px; border: 1px solid rgba(255, 99, 105, .35); background: rgba(229, 72, 77, .12); color: #ffb3b6; font-weight: 700; }
.st-out:hover { background: rgba(229, 72, 77, .25); color: #fff; }

@media (max-width: 1280px) {
  .top { grid-template-columns: 1fr; position: relative; }
  .mainnav { flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .adbox { min-height: 120px; aspect-ratio: 6 / 1; }
}
@media (max-width: 700px) {
  .brand img { height: 36px; }
  .mainnav a { min-width: 62px; height: 54px; font-size: 11px; }
  .s-clock { display: none; }
  .adbox { aspect-ratio: 3.2 / 1; }
  .status { position: static; flex-direction: column; }
}

/* ================= ORTAK BLOKLAR ================= */
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); border: 1px solid rgba(15, 23, 42, .04); }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line2); }
.card-h h3 { margin: 0; font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.card-b { padding: 18px; }
.page-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.page-h h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.page-h p { margin: 4px 0 0; color: var(--muted); }
.view-in { animation: view-in .35s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes view-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.tbl-wrap { overflow: auto; border-radius: var(--r); }
table.tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; }
.tbl thead th { position: sticky; top: 0; z-index: 2; background: #f7f9fc; color: #475569; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 800;
  text-align: left; padding: 12px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl tbody td { padding: 11px 12px; border-bottom: 1px solid var(--line2); vertical-align: middle; }
.tbl tbody tr { transition: background .15s; }
.tbl tbody tr:hover td { background: #f5f9ff; }
.tbl .r { text-align: right; } .tbl .c { text-align: center; }
.tbl tfoot td { padding: 12px; font-weight: 800; background: #f7f9fc; border-top: 1px solid var(--line); }
.code { font-weight: 800; color: var(--n800); letter-spacing: .01em; }
.oem { color: #475569; font-size: 12.5px; }
.pname { font-weight: 700; color: var(--ink); }
.brand-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .04em; padding: 3px 8px; border-radius: 6px; background: #eef3fb; color: #24467a; white-space: nowrap; }
.price { font-weight: 800; white-space: nowrap; }
.price.vat { color: var(--blue); }
.muted { color: var(--muted); }
.small { font-size: 12px; }

.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.stock::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 20%, transparent); }
.stock.ok { color: var(--green); } .stock.low { color: var(--amber); } .stock.no { color: #94a3b8; }

.cam { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line); background: #fff; color: var(--blue); display: inline-grid; place-items: center; transition: all .15s; }
.cam i { width: 19px; height: 19px; }
.cam:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: scale(1.06); box-shadow: 0 6px 14px rgba(22, 115, 230, .35); }
.cam.none { color: #cbd5e1; cursor: default; } .cam.none:hover { background: #fff; color: #cbd5e1; border-color: var(--line); transform: none; box-shadow: none; }

.qty { display: inline-flex; align-items: center; height: 34px; border: 1px solid #d5dce6; border-radius: 9px; overflow: hidden; background: #fff; }
.qty button { width: 30px; height: 100%; border: 0; background: #f4f7fb; color: #475569; display: grid; place-items: center; }
.qty button:hover { background: #e6edf7; color: var(--blue); }
.qty button i { width: 13px; height: 13px; }
.qty input { width: 46px; height: 100%; border: 0; text-align: center; font-weight: 800; outline: none; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.add-btn { height: 34px; padding: 0 12px; border-radius: 9px; border: 0; background: linear-gradient(180deg, #2a86f4, #1260cc); color: #fff; font-weight: 800; font-size: 12.5px;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; box-shadow: 0 4px 10px rgba(22, 115, 230, .25); transition: transform .12s, box-shadow .2s; }
.add-btn:hover { box-shadow: 0 8px 18px rgba(22, 115, 230, .35); }
.add-btn.done { background: linear-gradient(180deg, #19b46a, #0c8a4c); }
.add-btn i { width: 15px; height: 15px; }

.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; padding: 4px 10px; border-radius: 20px; white-space: nowrap; }
.st-beklemede { background: #fff4e0; color: #a35f00; } .st-onaylandi { background: #e6f0ff; color: #1252b0; } .st-hazirlaniyor { background: #f1e9ff; color: #6a35c2; }
.st-kargoda { background: #e3f6fb; color: #0b7894; } .st-teslim { background: #e3f7ec; color: #0b7a43; } .st-iptal { background: #fde8e8; color: #b42318; }
.st-success { background: #e3f7ec; color: #0b7a43; } .st-failed { background: #fde8e8; color: #b42318; } .st-pending { background: #fff4e0; color: #a35f00; }

.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty .em-ic { width: 76px; height: 76px; border-radius: 22px; margin: 0 auto 16px; display: grid; place-items: center; background: linear-gradient(180deg, #eaf2ff, #f6f9ff); color: var(--blue); box-shadow: inset 0 0 0 1px #dbe7fb; }
.empty .em-ic i { width: 34px; height: 34px; }
.empty h3 { color: var(--ink); margin: 0 0 6px; font-size: 18px; }

/* ================= ARAMA ================= */
.search-hero { position: relative; overflow: hidden; padding: 56px 24px; text-align: center; }
.search-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 220px at 50% 0%, rgba(22, 115, 230, .08), transparent 70%); }
.search-hero h2 { position: relative; margin: 0 0 8px; font-size: 26px; font-weight: 800; letter-spacing: -.015em; }
.search-hero p { position: relative; margin: 0 auto; color: var(--muted); max-width: 640px; line-height: 1.6; }
.sh-ic { position: relative; width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 24px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, #2a86f4, #0d3f8c); box-shadow: 0 18px 40px rgba(22, 115, 230, .35); animation: wd-bob 3s ease-in-out infinite; }
.sh-ic i { width: 38px; height: 38px; }
.tips { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.tip { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: #f6f9fd; border: 1px solid var(--line2); color: var(--ink2); font-size: 13px; }
.tip b { color: var(--blue); }
.recent { position: relative; margin-top: 24px; }
.recent .lbl { font-size: 11.5px; font-weight: 800; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; margin: 3px; border-radius: 20px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: 12.5px; color: var(--ink2); }
.chip:hover { border-color: var(--blue); color: var(--blue); }

.res-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line2); flex-wrap: wrap; }
.res-bar h3 { margin: 0; font-size: 15px; font-weight: 800; }
.res-bar h3 span { color: var(--blue); }
.seg { display: inline-flex; padding: 3px; border-radius: 10px; background: #eef2f7; }
.seg button { border: 0; background: transparent; padding: 6px 12px; border-radius: 8px; font-weight: 700; font-size: 12.5px; color: #64748b; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.res-tbl tbody td { padding: 9px 12px; }
.res-tbl .pname { max-width: 380px; }
tr.flash td { animation: flash 1s ease; }
@keyframes flash { 0% { background: #dff5e9; } 100% { background: transparent; } }

/* görsel önizleme (kamera üzerine gelince) */
.img-pop { position: fixed; z-index: 400; width: 300px; padding: 8px; border-radius: 14px; background: #fff; pointer-events: none;
  box-shadow: 0 24px 60px rgba(8, 18, 36, .32), 0 0 0 1px rgba(15, 23, 42, .06); opacity: 0; transform: scale(.94) translateY(6px); transform-origin: left center;
  transition: opacity .16s ease, transform .16s ease; }
.img-pop.show { opacity: 1; transform: none; }
.img-pop img { width: 100%; height: 220px; object-fit: contain; border-radius: 9px; background: #f4f7fb; display: block; }
.img-pop .ip-cap { padding: 8px 4px 2px; font-size: 12px; font-weight: 700; color: var(--ink2); }
.img-pop .ip-cap small { display: block; color: var(--muted); font-weight: 600; margin-top: 2px; }

/* ================= MODAL ================= */
.modal-bg { position: fixed; inset: 0; z-index: 500; background: rgba(5, 11, 22, .55); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px;
  animation: fade-in .2s ease both; }
.modal { width: min(560px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; background: #fff; border-radius: 18px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .4); overflow: hidden; animation: modal-in .28s cubic-bezier(.2, .9, .3, 1.1) both; }
.modal.lg { width: min(880px, 100%); } .modal.xl { width: min(1100px, 100%); }
.modal.invoice { width: min(900px, 100%); height: min(88vh, 1000px); }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.modal-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line2); }
.modal-h h3 { margin: 0; font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.modal-h .acts { display: flex; gap: 8px; align-items: center; }
.x-btn { width: 36px; height: 36px; border-radius: 10px; border: 0; background: #f1f5f9; color: #475569; display: grid; place-items: center; }
.x-btn:hover { background: #e2e8f0; color: var(--ink); }
.modal-b { padding: 20px; overflow: auto; }
.modal-f { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--line2); background: #fafbfd; }
.modal.invoice .modal-b { padding: 0; flex: 1; background: #e9edf3; }
.modal.invoice iframe { width: 100%; height: 100%; border: 0; display: block; }
.inv-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); }

.lightbox { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; }
.lightbox .lb-img { background: radial-gradient(circle at 50% 40%, #fff, #e8edf4); display: grid; place-items: center; min-height: 440px; padding: 20px; }
.lightbox .lb-img img { max-width: 100%; max-height: 70vh; object-fit: contain; border-radius: 10px; animation: zoom-in .35s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes zoom-in { from { transform: scale(.92); opacity: 0; } to { transform: none; opacity: 1; } }
.lightbox .lb-info { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.lb-info h4 { margin: 0; font-size: 19px; line-height: 1.3; }
.lb-kv { display: grid; grid-template-columns: 110px 1fr; gap: 8px 10px; font-size: 13px; }
.lb-kv span { color: var(--muted); } .lb-kv b { font-weight: 800; }
.lb-price { padding: 14px; border-radius: 12px; background: #f5f9ff; border: 1px solid #dfeafb; }
.lb-price .big { font-size: 24px; font-weight: 800; color: var(--blue); }
@media (max-width: 760px) { .lightbox { grid-template-columns: 1fr; } .lightbox .lb-img { min-height: 260px; } }

/* ================= SEPET ================= */
.cart-grid { display: grid; grid-template-columns: 1fr 360px; gap: 16px; align-items: start; }
.summary { position: sticky; top: 196px; }
.sum-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.sum-row.total { border: 0; border-top: 2px solid var(--ink); margin-top: 6px; padding-top: 14px; font-size: 20px; font-weight: 800; }
.sum-row.total b { color: var(--blue); }
.cart-thumb { width: 44px; height: 44px; border-radius: 9px; object-fit: cover; background: #f1f5f9; border: 1px solid var(--line2); display: block; cursor: zoom-in; }
.icon-btn { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: #94a3b8; display: inline-grid; place-items: center; }
.icon-btn:hover { color: var(--red); border-color: #f3c5c7; background: #fff5f5; }
.icon-btn i { width: 16px; height: 16px; }
@media (max-width: 1100px) { .cart-grid { grid-template-columns: 1fr; } .summary { position: static; } }

/* ================= BAKİYE ================= */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px; }
.kpi { position: relative; overflow: hidden; padding: 18px 18px 16px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); }
.kpi .k-l { font-size: 12px; font-weight: 800; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.kpi .k-l i { width: 18px; height: 18px; color: var(--blue); }
.kpi .k-v { font-size: 26px; font-weight: 800; margin-top: 10px; letter-spacing: -.01em; }
.kpi .k-s { font-size: 12px; color: var(--muted); margin-top: 2px; }
.kpi.hero { background: linear-gradient(140deg, #0f2c59, #081429); color: #fff; }
.kpi.hero .k-l { color: rgba(255, 255, 255, .7); } .kpi.hero .k-l i { color: var(--gold2); }
.kpi.hero .k-v { color: var(--gold2); } .kpi.hero .k-s { color: rgba(255, 255, 255, .6); }
.kpi.hero::after { content: ''; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(58, 147, 255, .35), transparent); }
.kpi.hero .btn { margin-top: 12px; }
.tabs { display: flex; gap: 4px; padding: 0 12px; border-bottom: 1px solid var(--line2); }
.tabs button { position: relative; border: 0; background: none; padding: 14px 14px; font-weight: 800; color: var(--muted); font-size: 13.5px; }
.tabs button.on { color: var(--ink); }
.tabs button.on::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2.5px; border-radius: 2px; background: var(--blue); }
.tabs button .cnt { margin-left: 6px; padding: 1px 7px; border-radius: 10px; background: #eef2f7; font-size: 11px; }
.pdf-btn { position: relative; width: 38px; height: 38px; border-radius: 10px; border: 1px solid #f6d0d2; background: linear-gradient(180deg, #fff, #fff4f4); color: #d42f35;
  display: inline-grid; place-items: center; transition: all .15s; }
.pdf-btn i { width: 19px; height: 19px; }
.pdf-btn::after { content: 'PDF'; position: absolute; bottom: -3px; right: -5px; font-size: 8.5px; font-weight: 800; padding: 1px 4px; border-radius: 4px; background: #d42f35; color: #fff; letter-spacing: .04em; }
.pdf-btn:hover { background: #d42f35; color: #fff; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(212, 47, 53, .3); }
.pdf-btn.has-file::before { content: ''; position: absolute; top: -3px; left: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 2px #fff; }
@media (max-width: 1100px) { .kpis { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .kpis { grid-template-columns: 1fr; } }

/* ================= ÖDEME (POS) ================= */
.pos-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.cc-wrap { perspective: 1200px; margin: 4px auto 22px; width: min(400px, 100%); }
.cc { position: relative; width: 100%; aspect-ratio: 1.586; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3, .8, .3, 1); }
.cc.flip { transform: rotateY(180deg); }
.cc-face { position: absolute; inset: 0; border-radius: 18px; padding: 22px 24px; color: #fff; backface-visibility: hidden; overflow: hidden;
  background: radial-gradient(400px 220px at 85% 0%, rgba(58, 147, 255, .55), transparent 60%), radial-gradient(300px 200px at 0% 100%, rgba(201, 162, 74, .45), transparent 60%), linear-gradient(135deg, #10284f, #060d1b);
  box-shadow: 0 26px 50px rgba(8, 18, 36, .4), inset 0 1px 0 rgba(255, 255, 255, .15); }
.cc-face::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .12) 50%, transparent 60%); animation: sheen 5s ease-in-out infinite; }
@keyframes sheen { 0%, 100% { transform: translateX(-60%); } 50% { transform: translateX(60%); } }
.cc-back { transform: rotateY(180deg); padding: 0; }
.cc-chip { width: 46px; height: 34px; border-radius: 7px; background: linear-gradient(135deg, #f3dd9c, #b98c33); position: relative; }
.cc-chip::before { content: ''; position: absolute; inset: 7px 0; border-top: 1px solid rgba(0, 0, 0, .25); border-bottom: 1px solid rgba(0, 0, 0, .25); }
.cc-top { display: flex; justify-content: space-between; align-items: center; }
.cc-top img { height: 22px; opacity: .95; }
.cc-num { font-size: clamp(17px, 2.1vw, 23px); letter-spacing: .12em; font-weight: 700; margin: 26px 0 18px; font-family: 'Courier New', monospace; text-shadow: 0 2px 4px rgba(0, 0, 0, .4); white-space: nowrap; }
.cc-bot { display: flex; justify-content: space-between; align-items: flex-end; font-size: 11px; }
.cc-bot small { display: block; opacity: .6; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 3px; }
.cc-bot b { font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.cc-brand { font-weight: 900; font-style: italic; font-size: 20px; letter-spacing: .02em; }
.cc-stripe { height: 46px; background: #050a14; margin-top: 26px; }
.cc-cvv { margin: 18px 24px 0; height: 38px; border-radius: 6px; background: repeating-linear-gradient(90deg, #f3f3f3 0 8px, #e6e6e6 8px 16px); display: flex; align-items: center; justify-content: flex-end;
  padding: 0 14px; color: #111; font-family: 'Courier New', monospace; font-weight: 700; font-size: 17px; letter-spacing: .2em; }
.pos-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vk-field { position: relative; }
.vk-field input { cursor: pointer; padding-right: 44px !important; letter-spacing: .08em; font-weight: 700; }
.vk-field .vk-ic { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--blue); width: 20px; height: 20px; pointer-events: none; }
.exp { display: flex; gap: 8px; }
.inst-list { display: grid; gap: 8px; }
.inst { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--line); cursor: pointer; transition: all .15s; background: #fff; }
.inst:hover { border-color: #b9cdea; }
.inst.on { border-color: var(--blue); background: #f4f8ff; box-shadow: 0 0 0 4px rgba(22, 115, 230, .08); }
.inst input { accent-color: var(--blue); width: 17px; height: 17px; margin: 0; }
.inst .t { font-weight: 800; } .inst .t small { display: block; color: var(--muted); font-weight: 600; font-size: 12px; }
.inst .v { text-align: right; font-weight: 800; } .inst .v small { display: block; color: var(--muted); font-weight: 600; font-size: 11.5px; }
.zero { display: inline-block; font-size: 10.5px; font-weight: 800; padding: 2px 7px; border-radius: 6px; background: #e3f7ec; color: var(--green); margin-left: 6px; }
.agree { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #f8fafc; border: 1px solid var(--line2); margin: 16px 0; font-size: 13.5px; line-height: 1.5; }
.agree input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--blue); flex: none; }
.agree a { color: var(--blue); font-weight: 800; cursor: pointer; }
.balance-card { background: linear-gradient(140deg, #0f2c59, #081429); color: #fff; border-radius: var(--r); padding: 22px; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.balance-card .l { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .65); font-weight: 800; }
.balance-card .v { font-size: 32px; font-weight: 800; color: var(--gold2); margin-top: 8px; }
.balance-card::after { content: ''; position: absolute; right: -50px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; border: 30px solid rgba(255, 255, 255, .04); }
.sec-list { display: grid; gap: 12px; }
.sec { display: flex; gap: 12px; align-items: flex-start; }
.sec i { width: 24px; height: 24px; margin: 2px 6px 0 2px; color: var(--blue); flex: none; }
.sec b { display: block; font-size: 13.5px; } .sec span { color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.cards-acc { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.cards-acc span { padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line); font-weight: 900; font-style: italic; font-size: 13px; background: #fff; }
.cards-acc .visa { color: #1a1f71; } .cards-acc .mc { color: #eb001b; } .cards-acc .troy { color: #00a3ad; } .cards-acc .amex { color: #2e77bb; }
.inst-tbl td, .inst-tbl th { padding: 9px 12px !important; }
.notice { padding: 12px 14px; border-radius: 12px; background: #fffaf0; border: 1px solid #f3dfb2; color: #7a5300; font-size: 13px; line-height: 1.55; display: flex; gap: 10px; }
.notice i { flex: none; margin-top: 2px; }
.demo-flag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 20px; background: #fff4e0; color: #a35f00; font-size: 11.5px; font-weight: 800; }
.contract { white-space: pre-wrap; line-height: 1.7; font-size: 13.5px; color: var(--ink2); }
.contract-firm { margin-top: 16px; padding: 14px; border-radius: 12px; background: #f6f9fd; font-size: 13px; line-height: 1.6; }
@media (max-width: 1100px) { .pos-grid { grid-template-columns: 1fr; } }

/* sanal klavye */
.vkb { position: fixed; z-index: 600; width: 260px; padding: 12px; border-radius: 16px; background: #0c1a33; box-shadow: 0 30px 70px rgba(5, 11, 22, .5), 0 0 0 1px rgba(255, 255, 255, .08);
  animation: modal-in .2s ease both; }
.vkb-h { display: flex; justify-content: space-between; align-items: center; color: rgba(255, 255, 255, .7); font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.vkb-h .i-shield { color: var(--gold2); }
.vkb-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.vkb button { height: 46px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .07); color: #fff; font-size: 19px; font-weight: 800; transition: background .12s, transform .08s; }
.vkb button:hover { background: rgba(255, 255, 255, .15); }
.vkb button:active { transform: scale(.94); background: var(--blue); }
.vkb button.fn { font-size: 12.5px; font-weight: 800; }
.vkb button.ok { background: linear-gradient(180deg, #e9cd84, #b8892f); color: #1d1405; border: 0; }

/* ================= İLETİŞİM ================= */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; align-items: start; }
.firm-card { background: linear-gradient(160deg, #0f2c59, #081429); color: #fff; border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); }
.firm-card img { height: 54px; margin-bottom: 18px; }
.firm-card .row { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; line-height: 1.5; }
.firm-card .row i { color: var(--gold2); margin-top: 2px; }
.firm-card a { color: #fff; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ================= BİLDİRİMLER ================= */
.toasts { position: fixed; right: 18px; bottom: 60px; z-index: 900; display: flex; flex-direction: column; gap: 10px; }
.toast { display: flex; align-items: center; gap: 10px; min-width: 260px; max-width: 380px; padding: 12px 16px; border-radius: 12px; background: #0c1a33; color: #fff; font-weight: 700; font-size: 13.5px;
  box-shadow: 0 18px 40px rgba(5, 11, 22, .35); animation: toast-in .35s cubic-bezier(.2, .9, .3, 1.2) both; border-left: 4px solid var(--blue2); }
.toast.ok { border-left-color: #22c55e; } .toast.err { border-left-color: #ff5a5f; }
.toast.out { animation: toast-out .3s ease forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateX(30px); } }
.fly { position: fixed; z-index: 950; width: 46px; height: 46px; border-radius: 12px; background: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .3); pointer-events: none; object-fit: cover;
  transition: transform .7s cubic-bezier(.5, -0.3, .3, 1), opacity .7s; }

.result-ic { width: 84px; height: 84px; border-radius: 50%; margin: 6px auto 16px; display: grid; place-items: center; color: #fff; }
.result-ic.ok { background: linear-gradient(180deg, #22c55e, #0f9d58); box-shadow: 0 16px 36px rgba(15, 157, 88, .35); }
.result-ic.err { background: linear-gradient(180deg, #ff6b6f, #d92d33); box-shadow: 0 16px 36px rgba(217, 45, 51, .35); }
.result-ic i { width: 40px; height: 40px; }
.center { text-align: center; }

/* ================= YENİ BİLEŞENLER ================= */
.nb.gold { background: linear-gradient(180deg, #f3d88f, #c39432); color: #1d1405; }
.st-odeme_bekliyor { background: #fff1f0; color: #c2410c; } .st-tedarik { background: #fef9c3; color: #854d0e; }

/* sesli arama */
.s-mic { width: 34px; height: 34px; border: 0; border-radius: 50%; margin-left: 6px; background: #eef4ff; color: var(--blue); display: grid; place-items: center; }
.s-mic i { width: 18px; height: 18px; }
.s-mic.on { background: #e5484d; color: #fff; animation: mic 1s ease-in-out infinite; }
@keyframes mic { 50% { box-shadow: 0 0 0 7px rgba(229, 72, 77, .18); } }

/* alt bar: kayan marka logoları */
.st-marquee { flex: 1; min-width: 0; height: 30px; overflow: hidden; position: relative; margin: 0 8px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.st-mq-track { display: flex; align-items: center; gap: 34px; width: max-content; height: 100%; animation: mq 38s linear infinite; }
.st-marquee:hover .st-mq-track { animation-play-state: paused; }
.mq-item { flex: none; height: 26px; display: flex; align-items: center; opacity: .85; transition: opacity .2s; }
.mq-item:hover { opacity: 1; }
.mq-item .bm { height: 26px; width: auto; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .st-mq-track { animation-duration: 120s; } }
@media (max-width: 700px) { .st-marquee { width: 100%; flex: none; margin: 4px 0; } }

/* WhatsApp butonu */
.wa-fab { position: fixed; right: 18px; bottom: 58px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; text-decoration: none; box-shadow: 0 10px 26px rgba(37, 211, 102, .45), 0 2px 6px rgba(0, 0, 0, .2); transition: transform .2s; }
.wa-fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: wa-ring 2.4s ease-out infinite; }
@keyframes wa-ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.55); opacity: 0; } }
.wa-fab:hover { transform: scale(1.07); }
.wa-fab i { width: 30px; height: 30px; }
.wa-tip { position: absolute; right: 70px; top: 50%; transform: translateY(-50%) translateX(8px); white-space: nowrap; background: #fff; color: var(--ink); padding: 8px 12px;
  border-radius: 10px; font-size: 12.5px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.wa-tip b { display: block; font-size: 13px; }
.wa-fab:hover .wa-tip { opacity: 1; transform: translateY(-50%); }
.btn-wa { background: #25d366; color: #fff; box-shadow: 0 6px 16px rgba(37, 211, 102, .35); text-decoration: none; }
.btn-wa:hover { background: #1fbe5b; }
@media (max-width: 700px) { .wa-fab { bottom: 16px; right: 14px; } .wa-tip { display: none; } }

/* favori yıldızı */
.fav { width: 32px; height: 32px; border: 0; border-radius: 9px; background: transparent; color: #b6c0cf; display: inline-grid; place-items: center; transition: color .15s, background .15s, transform .15s; }
.fav:hover { background: #fff7e0; color: var(--gold); }
.fav.on { color: #e3a91a; }
.fav i { width: 19px; height: 19px; }
.fav[data-lbl] { width: auto; padding: 0 12px; gap: 6px; display: inline-flex; align-items: center; border: 1px solid var(--line); font-weight: 700; font-size: 12.5px; color: var(--ink2); }
.fav[data-lbl].on { border-color: #f1d58b; background: #fffaeb; color: #a16207; }
.fav.burst { animation: burst .5s cubic-bezier(.2, 1.8, .4, 1); }
@keyframes burst { 0% { transform: scale(.6); } 60% { transform: scale(1.35); } 100% { transform: scale(1); } }
.alt.small { color: #7c8aa0; margin-top: 2px; font-family: inherit; }

/* arama yardımcıları */
.res-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.veh-sel { height: 36px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; background: #fff; font-weight: 700; font-size: 13px; }
.didyou, .partial { margin: 0 16px 12px; padding: 10px 14px; border-radius: 10px; background: #f4f8ff; border: 1px solid #dbe7fb; color: var(--ink2); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13.5px; }
.partial { background: #fffaeb; border-color: #f5e3a8; }
.didyou .chip { margin: 0; }
.empty.slim { padding: 40px 20px 18px; }
.help-box { display: flex; gap: 20px; align-items: flex-start; padding: 22px 24px; border-radius: 16px; text-align: left;
  background: linear-gradient(135deg, #0f2c59, #0a1830); color: #fff; box-shadow: 0 14px 34px rgba(8, 20, 41, .25); position: relative; overflow: hidden; }
.help-box::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(236, 208, 138, .22), transparent); pointer-events: none; }
.hb-ic { flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(180deg, #ecd08a, #b8892f); color: #1d1405; }
.hb-ic i { width: 28px; height: 28px; }
.hb-txt h3 { margin: 0 0 6px; font-size: 18px; color: #fff; }
.hb-txt p { margin: 0 0 14px; color: rgba(255, 255, 255, .75); line-height: 1.6; max-width: 760px; }
.hb-contact { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; position: relative; z-index: 1; }
.hb-phone { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.hb-phone i { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: #e8f7ee; color: var(--green); }
.hb-phone b { display: block; font-size: 17px; letter-spacing: .02em; } .hb-phone small { display: block; color: var(--muted); font-weight: 700; font-size: 11.5px; letter-spacing: .06em; }
.hb-contact .btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .2); }
@media (max-width: 640px) { .help-box { flex-direction: column; } }
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px auto 0; max-width: 900px; text-align: left; }
.tool { display: flex; gap: 12px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .15s; }
.tool:hover { border-color: #bcd4f6; box-shadow: 0 8px 20px rgba(22, 115, 230, .12); transform: translateY(-1px); }
.tool > i { flex: none; width: 38px; height: 38px; padding: 9px; border-radius: 11px; background: #eef4ff; color: var(--blue); }
.tool b { display: block; font-size: 14px; } .tool span { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.45; margin-top: 2px; }
@media (max-width: 800px) { .tools { grid-template-columns: 1fr; } }

/* ürün detayı: muadiller */
.alts h4 { margin: 18px 0 8px; display: flex; gap: 8px; align-items: center; }
.alt-list { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.alt-row { display: grid; grid-template-columns: auto 1fr auto auto auto; gap: 12px; align-items: center; padding: 9px 12px; border-top: 1px solid var(--line2); }
.alt-row:first-child { border-top: 0; }
.alt-row .nm small { display: block; color: var(--muted); font-size: 11.5px; }
.alt-row .add-btn { padding: 0 10px; }

/* sepet */
.urgent { display: flex; gap: 10px; align-items: center; padding: 10px 12px; margin-bottom: 12px; border: 1px dashed #f2b8b5; border-radius: 10px; background: #fff7f6; cursor: pointer; }
.urgent input { width: 18px; height: 18px; accent-color: #e5484d; }
.urgent b { display: block; color: #b42318; font-size: 13.5px; } .urgent small { color: var(--muted); font-size: 12px; }
.sg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; padding: 0 16px 16px; }
.sg-card { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.sg-card img, .sg-noimg { width: 100%; height: 90px; object-fit: contain; border-radius: 8px; background: #f6f8fb; display: grid; place-items: center; color: #b6c0cf; }
.sg-t b { display: block; font-size: 13px; margin-top: 3px; } .sg-t small { color: var(--muted); }
.sg-b { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }

/* bakiye */
.bal-hero { padding-bottom: 64px; }
.pay-corner { position: absolute; right: 16px; bottom: 16px; z-index: 2; height: 40px; }
.btn-ghost-light { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .25); text-decoration: none; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .18); }
.kpi.hero .btn.pay-corner { margin-top: 0; text-decoration: none; }
.overdue { display: flex; gap: 14px; align-items: center; padding: 14px 18px; margin-bottom: 16px; border-radius: 14px; background: #fff4f2; border: 1px solid #f7c4bd; }
.overdue > i { flex: none; width: 34px; height: 34px; color: #d92d20; }
.overdue b { display: block; color: #b42318; } .overdue span { color: var(--ink2); font-size: 13.5px; line-height: 1.5; }
.overdue .btn { margin-left: auto; flex: none; text-decoration: none; }
@media (max-width: 700px) { .overdue { flex-wrap: wrap; } }

/* iletişim: temsilci kartı */
.firm-card .person { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); margin-bottom: 12px; }
.firm-card .av { width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 18px; background: linear-gradient(180deg, #ecd08a, #b8892f); color: #1d1405; }
.firm-card .person small { display: block; color: rgba(255, 255, 255, .55); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; }
.firm-card .person b { display: block; font-size: 17px; } .firm-card .person span { color: var(--gold2); font-weight: 700; letter-spacing: .03em; }
.call-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.call-acts .btn { text-decoration: none; color: #1d1405; } .call-acts .btn-wa { color: #fff; }
.call-acts .btn:only-child { grid-column: 1 / -1; }

/* siparişlerim */
.ocard { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 16px 18px; margin-bottom: 12px; border-left: 4px solid #cbd5e1; }
.ocard.beklemede { border-left-color: #f59e0b; } .ocard.onaylandi { border-left-color: var(--blue); } .ocard.tedarik { border-left-color: #eab308; }
.ocard.hazirlaniyor { border-left-color: #7c3aed; } .ocard.kargoda { border-left-color: #0891b2; } .ocard.teslim { border-left-color: var(--green); }
.ocard.iptal { opacity: .7; border-left-color: #ef4444; } .ocard.odeme_bekliyor { border-left-color: #ea580c; }
.oc-h { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.oc-r { display: flex; gap: 10px; align-items: center; } .oc-r .price { font-size: 17px; }
.urg { margin-left: 8px; padding: 2px 7px; border-radius: 6px; background: #e5484d; color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; }
.steps { display: flex; margin: 16px 0 6px; }
.stp { flex: 1; position: relative; text-align: center; font-size: 11.5px; color: #94a3b8; font-weight: 700; }
.stp i { display: block; width: 14px; height: 14px; margin: 0 auto 6px; border-radius: 50%; background: #e2e8f0; position: relative; z-index: 1; }
.stp::before { content: ""; position: absolute; top: 6px; left: -50%; right: 50%; height: 2px; background: #e2e8f0; }
.stp:first-child::before { display: none; }
.stp.done, .stp.cur { color: var(--ink2); }
.stp.done i, .stp.done::before, .stp.cur::before { background: var(--green); }
.stp.cur i { background: var(--blue); box-shadow: 0 0 0 4px rgba(22, 115, 230, .18); }
.stp.cur span { color: var(--blue); }
@media (max-width: 700px) { .stp span { display: none; } .stp.cur span { display: block; } }
.cargo { margin-top: 8px; font-size: 13px; color: #0b7894; }
.oc-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.oc-acts .btn { text-decoration: none; }
.btn.danger { color: #b42318; }
.timeline { border-left: 2px solid var(--line); margin-left: 6px; padding-left: 16px; }
.tl { position: relative; padding: 0 0 12px; }
.tl > i { position: absolute; left: -23px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px #fff; }
.tl b { display: block; } .tl span { display: block; color: var(--ink2); font-size: 13px; } .tl small { color: var(--muted); }

/* araçlarım */
.garage { display: grid; grid-template-columns: 420px 1fr; gap: 16px; align-items: start; }
.veh-list { display: grid; gap: 10px; }
.veh-card { display: flex; gap: 16px; align-items: center; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 14px 16px; }
.vc-brand { width: 110px; flex: none; display: grid; place-items: center; } .vc-brand .bm { width: 100%; height: auto; }
.vc-t { flex: 1; min-width: 0; } .vc-t b { display: block; font-size: 15px; } .vc-t span { color: var(--ink2); font-size: 13px; } .vc-t small { display: block; color: var(--muted); }
.vc-a { display: flex; gap: 6px; align-items: center; }
@media (max-width: 900px) { .garage { grid-template-columns: 1fr; } .veh-card { flex-wrap: wrap; } }

/* hızlı sipariş */
.bulk { display: grid; grid-template-columns: 380px 1fr; gap: 16px; align-items: start; }
.bk-in { min-height: 300px; font-family: Consolas, "Courier New", monospace; font-size: 13px; }
.bk-qty { width: 72px; height: 34px; text-align: center; border: 1px solid var(--line); border-radius: 8px; }
tr.miss td { background: #fffafa; }
@media (max-width: 1000px) { .bulk { grid-template-columns: 1fr; } }

/* sistem bildirimi penceresi */
.sys-bg { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: 16px; background: rgba(5, 11, 22, .62); backdrop-filter: blur(5px); animation: fade-in .25s both; }
.sys-bg.out { opacity: 0; transition: opacity .25s; }
.sys-card { width: min(460px, 100%); background: #fff; border-radius: 20px; overflow: hidden; text-align: center; box-shadow: 0 40px 100px rgba(0, 0, 0, .45); animation: modal-in .35s both; }
.sys-top { display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: #0c1a33; color: rgba(255, 255, 255, .8); font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.sys-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgba(52, 211, 153, .25); }
.sys-time { margin-left: auto; letter-spacing: 0; font-weight: 600; color: rgba(255, 255, 255, .55); }
.sys-time .muted { color: inherit; }
.sys-ic { width: 70px; height: 70px; margin: 24px auto 10px; border-radius: 22px; display: grid; place-items: center; background: #eef4ff; color: var(--blue); }
.sys-ic i { width: 34px; height: 34px; }
.sys-card.k-debt .sys-ic { background: #fff4e5; color: #c2410c; } .sys-card.k-warning .sys-ic { background: #fff1f0; color: #d92d20; }
.sys-card.k-campaign .sys-ic { background: #fdf6e3; color: #a16207; }
.sys-card h3 { margin: 0 24px 8px; font-size: 19px; }
.sys-card p { margin: 0 26px 20px; color: var(--ink2); line-height: 1.65; white-space: pre-wrap; }
.sys-acts { display: flex; gap: 10px; justify-content: center; padding: 0 24px 18px; flex-wrap: wrap; }
.sys-foot { padding: 10px 16px; background: #f6f8fb; color: var(--muted); font-size: 11.5px; border-top: 1px solid var(--line2); }
.sys-foot i { width: 13px; height: 13px; }

/* sipariş durum bildirimi (sağ alt) */
.otoast { display: flex; gap: 12px; align-items: flex-start; width: min(380px, calc(100vw - 32px)); padding: 14px 14px 14px 16px; border-radius: 14px; background: #0c1a33; color: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35); cursor: pointer; animation: modal-in .35s both; border-left: 4px solid var(--gold2); transition: opacity .4s, transform .4s; pointer-events: auto; }
.otoast.out { opacity: 0; transform: translateX(30px); }
.otoast > i { flex: none; width: 24px; height: 24px; color: var(--gold2); margin-top: 2px; }
.otoast b { display: block; font-size: 14px; } .otoast span { display: block; color: rgba(255, 255, 255, .72); font-size: 12.5px; margin-top: 2px; line-height: 1.45; }
.otoast button { margin-left: auto; border: 0; background: none; color: rgba(255, 255, 255, .5); font-size: 20px; line-height: 1; }
body:has(#wa-fab:not([hidden])) .toasts { bottom: 130px; }

/* ---- "Beni hatırla" ---- */
.lg-remember { display: flex; align-items: center; gap: 10px; margin: 2px 0 12px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink2, #334155); user-select: none; }
.lg-remember input { width: 18px; height: 18px; accent-color: #1673e6; flex: none; cursor: pointer; }
.lg-remember small { font-weight: 500; color: #94a3b8; }

/* ---- fiyat: imleç üzerine gelince KDV hariç / KDV dahil penceresi ---- */
.pz { cursor: help; border-bottom: 1px dotted rgba(100, 116, 139, .55); padding-bottom: 1px; outline: none; }
.price-tip { position: fixed; z-index: 400; width: 250px; padding: 12px 14px; border-radius: 12px; background: #0c1a33; color: #fff;
  border: 1px solid rgba(201, 162, 74, .5); box-shadow: 0 14px 36px rgba(5, 11, 22, .45); pointer-events: none;
  opacity: 0; transform: translateY(4px); transition: opacity .12s, transform .12s; }
.price-tip.show { opacity: 1; transform: none; }
.price-tip .pt-r { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13px; padding: 3px 0; }
.price-tip .pt-r span { color: rgba(255, 255, 255, .75); }
.price-tip .pt-r b { font-size: 15px; font-variant-numeric: tabular-nums; }
.price-tip .pt-r.hi { margin-top: 4px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .14); }
.price-tip .pt-r.hi b { color: #ecd08a; font-size: 17px; }
