/* Küresel B2B — Inter yazı tipi (SIL OFL, fonts/Inter-LICENSE.txt) */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/InterVariable.woff2') format('woff2'); }
:root {
  --brand: #0b3561; --brand-2: #1565c0; --brand-3: #0e4a86; --brand-soft: #e8f1fb; --accent: #f59e0b; --accent-2: #fff4dc;
  --bg: #f3f5f8; --card: #fff; --text: #0f1b2d; --muted: #5b6b80; --line: #e3e8ef; --line-2: #eef2f6;
  --ok: #16a34a; --ok-soft: #e7f6ec; --warn: #c2410c; --warn-soft: #fff1e6; --err: #dc2626; --err-soft: #fdecec;
  --r: 12px; --shadow: 0 1px 2px rgba(15,27,45,.06), 0 1px 3px rgba(15,27,45,.04); --shadow-lg: 0 14px 44px rgba(15,27,45,.18);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; font-feature-settings: 'cv11', 'tnum';
  color: var(--text); font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); }
a { color: var(--brand-2); text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -.015em; }
h1 { font-size: 24px; } h2 { font-size: 19px; } h3 { font-size: 16px; } h4 { font-size: 14px; }
p { margin: 0 0 8px; }
.ic { width: 18px; height: 18px; flex: none; vertical-align: middle; }
.muted { color: var(--muted); } .small { font-size: 13px; } .tiny { font-size: 12px; } .b { font-weight: 600; }
.nowrap { white-space: nowrap; } .right { text-align: right; } .center { text-align: center; }
.row { display: flex; gap: 10px; align-items: center; } .wrap { flex-wrap: wrap; } .grow { flex: 1; min-width: 0; } .between { justify-content: space-between; }
.stack > * + * { margin-top: 12px; } .stack-lg > * + * { margin-top: 22px; }
.hide { display: none !important; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Düğmeler, formlar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--text); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; transition: background .12s, border-color .12s, transform .05s; }
.btn:hover { background: #f7f9fc; border-color: #cfd8e3; } .btn:active { transform: translateY(1px); }
.btn.primary { background: var(--brand-2); border-color: var(--brand-2); color: #fff; } .btn.primary:hover { background: #0f5bb0; }
.btn.accent { background: var(--accent); border-color: var(--accent); color: #1a1205; } .btn.accent:hover { background: #e48f06; }
.btn.danger { color: var(--err); } .btn.ghost { background: transparent; border-color: transparent; } .btn.ghost:hover { background: rgba(15,27,45,.05); }
.btn.sm { height: 32px; padding: 0 11px; font-size: 13px; border-radius: 8px; } .btn.lg { height: 50px; padding: 0 22px; font-size: 16px; border-radius: 12px; }
.btn.block { width: 100%; } .btn[disabled] { opacity: .55; pointer-events: none; }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 0; background: transparent; color: inherit; cursor: pointer; }
.icon-btn:hover { background: rgba(15,27,45,.06); }
label.f { display: block; } label.f > span { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 5px; }
input, select, textarea { font: inherit; color: inherit; }
:where(.in, input:not([type=checkbox], [type=radio], [type=file]), select, textarea) {
  width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; outline: none; transition: border-color .12s, box-shadow .12s; }
:where(textarea) { height: auto; min-height: 90px; padding: 10px 12px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(21,101,192,.14); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.chk { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; font-size: 14px; } .chk input { width: 17px; height: 17px; accent-color: var(--brand-2); }
.seg { display: inline-flex; background: var(--line-2); border-radius: 9px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: transparent; font: inherit; font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 7px; color: var(--muted); cursor: pointer; }
.seg button.on { background: #fff; color: var(--text); box-shadow: var(--shadow); }

/* ---------- Kartlar, rozetler, tablo ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.pad { padding: 18px; } .card-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line-2); } .card-head h3 { flex: 1; }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 20px; background: var(--line-2); color: var(--muted); white-space: nowrap; }
.badge.ok { background: var(--ok-soft); color: var(--ok); } .badge.warn { background: var(--warn-soft); color: var(--warn); } .badge.err { background: var(--err-soft); color: var(--err); } .badge.blue { background: var(--brand-soft); color: var(--brand-2); } .badge.amber { background: var(--accent-2); color: #92400e; }
.st-alindi { background: var(--accent-2); color: #92400e; } .st-onaylandi, .st-hazirlaniyor { background: var(--brand-soft); color: var(--brand-2); } .st-kargoda { background: #ede9fe; color: #6d28d9; } .st-teslim { background: var(--ok-soft); color: var(--ok); } .st-iptal { background: var(--err-soft); color: var(--err); }
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; white-space: nowrap; } .stock i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock.ok { color: var(--ok); } .stock.warn { color: var(--warn); } .stock.muted { color: var(--muted); } .stock.err { color: var(--err); }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fafbfd; white-space: nowrap; }
table.t td { padding: 11px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; } table.t tr:last-child td { border-bottom: 0; }
table.t th.right { text-align: right; } table.t tr.click { cursor: pointer; } table.t tr.click:hover td { background: #f8fafd; }
.tbl-wrap { overflow-x: auto; }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); } .empty .ic { width: 42px; height: 42px; opacity: .45; margin-bottom: 10px; } .empty p { margin-bottom: 14px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.kpi { padding: 16px 18px; } .kpi .v { white-space: nowrap; font-size: 24px; font-weight: 700; letter-spacing: -.02em; } .kpi .l { font-size: 13px; color: var(--muted); font-weight: 500; } .kpi.alert { border-color: #fcd34d; background: #fffbeb; }
a.kpi { color: inherit; } a.kpi:hover { border-color: #cfd8e3; }

/* ---------- Bildirim ve pencere ---------- */
#toasts { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 9px; background: #0f1b2d; color: #fff; padding: 11px 16px; border-radius: 11px; font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg); animation: tin .18s ease-out; transition: opacity .3s, transform .3s; }
.toast.ok .ic { color: #4ade80; } .toast.err { background: #7f1d1d; } .toast.out { opacity: 0; transform: translateY(8px); }
@keyframes tin { from { opacity: 0; transform: translateY(8px); } }
.modal-wrap { position: fixed; inset: 0; background: rgba(15,27,45,.45); z-index: 100; display: grid; place-items: center; padding: 16px; animation: fin .12s; }
@keyframes fin { from { opacity: 0; } }
.modal { background: #fff; border-radius: 16px; width: 100%; max-width: 480px; max-height: calc(100vh - 32px); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.modal.wide { max-width: 760px; }
.modal-head { display: flex; align-items: center; padding: 16px 18px 10px 20px; } .modal-head h3 { flex: 1; font-size: 17px; }
.modal-body { padding: 6px 20px 18px; overflow-y: auto; } .modal-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 20px 18px; border-top: 1px solid var(--line-2); }

/* ================= BAYİ VİTRİNİ ================= */
.shop { min-height: 100vh; display: flex; flex-direction: column; }
.preview-bar { background: var(--accent); color: #1a1205; text-align: center; font-size: 13px; font-weight: 600; padding: 6px 10px; }
.hdr { background: var(--brand); color: #fff; position: sticky; top: 0; z-index: 40; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.hdr-in { max-width: 1320px; margin: 0 auto; display: flex; align-items: center; gap: 22px; padding: 12px 24px; }
.hdr .logo img { height: 34px; display: block; } .hdr .logo { flex: none; }
.sbox { flex: 1; position: relative; max-width: 760px; }
.sbox input { color: var(--text); height: 46px; border-radius: 12px; border: 0; padding: 0 48px 0 46px; font-size: 15px; box-shadow: none; }
.sbox input:focus { box-shadow: 0 0 0 3px rgba(245,158,11,.45); }
.sbox > .ic { position: absolute; left: 15px; top: 14px; color: var(--muted); }
.sbox kbd { position: absolute; right: 12px; top: 12px; font: 600 12px Inter, sans-serif; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; background: #fafbfd; }
.suggest { position: absolute; top: 52px; left: 0; right: 0; background: #fff; color: var(--text); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; z-index: 60; border: 1px solid var(--line); }
.suggest .sg-head { padding: 10px 14px; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line-2); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.sg-item { display: flex; align-items: center; gap: 12px; padding: 9px 14px; cursor: pointer; }
.sg-item:hover, .sg-item.on { background: #f4f8fd; }
.sg-item .pimg { width: 42px; height: 42px; border-radius: 8px; }
.sg-item .nm { font-weight: 600; font-size: 14px; } .sg-item .sub { font-size: 12px; color: var(--muted); }
.sg-item .pr { font-weight: 700; font-size: 14px; white-space: nowrap; text-align: right; }
.sg-all { display: block; padding: 11px 14px; font-weight: 600; font-size: 14px; border-top: 1px solid var(--line-2); background: #fafbfd; }
.hdr-act { display: flex; align-items: center; gap: 6px; flex: none; }
.hbtn { display: flex; align-items: center; gap: 8px; color: #fff; padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: 14px; position: relative; background: none; border: 0; cursor: pointer; font-family: inherit; }
.hbtn:hover { background: rgba(255,255,255,.1); } .hbtn .ic { width: 21px; height: 21px; }
.hbtn small { display: block; font-size: 11px; color: #9fbbe0; font-weight: 500; line-height: 1.1; } .hbtn span.t { line-height: 1.15; text-align: left; }
.hbtn .cnt { position: absolute; top: 2px; left: 24px; background: var(--accent); color: #1a1205; font-size: 11px; font-weight: 800; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; display: grid; place-items: center; }
.curseg { background: rgba(255,255,255,.1); } .curseg button { color: #cfe0f5; } .curseg button.on { background: #fff; color: var(--brand); }
.catbar { background: var(--brand-3); border-top: 1px solid rgba(255,255,255,.06); }
.catbar-in { max-width: 1320px; margin: 0 auto; padding: 0 16px; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.catbar-in::-webkit-scrollbar { display: none; }
.catbar a { color: #dbe8f7; font-size: 13.5px; font-weight: 500; padding: 10px 12px; white-space: nowrap; display: flex; gap: 7px; align-items: center; border-bottom: 2px solid transparent; }
.catbar a:hover { color: #fff; } .catbar a.on { color: #fff; border-bottom-color: var(--accent); } .catbar a .ic { width: 16px; height: 16px; }
.mega { position: absolute; left: 0; right: 0; background: #fff; color: var(--text); box-shadow: var(--shadow-lg); z-index: 50; border-top: 1px solid var(--line); }
.mega-in { max-width: 1320px; margin: 0 auto; padding: 18px 24px 22px; display: grid; grid-template-columns: 260px 1fr; gap: 24px; max-height: 70vh; }
.mega-l { border-right: 1px solid var(--line-2); overflow-y: auto; padding-right: 8px; }
.mega-l a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--text); font-weight: 500; font-size: 14px; }
.mega-l a.on, .mega-l a:hover { background: var(--brand-soft); color: var(--brand-2); } .mega-l a .n { margin-left: auto; font-size: 12px; color: var(--muted); }
.mega-r { columns: 3 200px; column-gap: 24px; overflow-y: auto; }
.mega-r .grp { break-inside: avoid; margin-bottom: 16px; } .mega-r h4 a { color: var(--text); } .mega-r h4 a:hover { color: var(--brand-2); }
.mega-r .grp a.s { display: block; font-size: 13.5px; color: var(--muted); padding: 3px 0; } .mega-r .grp a.s:hover { color: var(--brand-2); }
.wrapc { max-width: 1320px; margin: 0 auto; padding: 22px 24px 70px; width: 100%; flex: 1; }
.foot { border-top: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 13px; }
.foot-in { max-width: 1320px; margin: 0 auto; padding: 18px 24px; display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.crumb { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 12px; } .crumb a { color: var(--muted); } .crumb a:hover { color: var(--brand-2); } .crumb .ic { width: 14px; height: 14px; }

/* Ana sayfa */
.hero { background: linear-gradient(120deg, var(--brand) 0%, #124a85 60%, #1565c0 100%); color: #fff; border-radius: 18px; padding: 28px 30px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.hero h1 { font-size: 26px; } .hero p { color: #cfe0f5; margin: 6px 0 0; }
.hero::after { content: ''; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.06); }
.qa { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.qa a { display: flex; gap: 12px; align-items: center; padding: 16px; color: var(--text); }
.qa a:hover { border-color: #b8cbe2; } .qa .ib { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-2); flex: none; }
.qa b { display: block; font-size: 14.5px; } .qa small { color: var(--muted); font-size: 12.5px; }
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.cats a { display: flex; flex-direction: column; gap: 10px; padding: 16px; color: var(--text); min-height: 112px; }
.cats a:hover { border-color: #b8cbe2; box-shadow: 0 6px 20px rgba(15,27,45,.08); } .cats .ib { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-2); }
.cats b { font-size: 14px; line-height: 1.25; } .cats small { color: var(--muted); font-size: 12px; margin-top: auto; }
.sec-h { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; } .sec-h h2 { flex: 1; } .sec-h a { font-size: 14px; font-weight: 600; }
.camp { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.camp a { padding: 18px; background: linear-gradient(135deg, #fff7e6, #fff); border-color: #fde3a7; color: var(--text); } .camp b { display: block; font-size: 15px; margin-bottom: 4px; } .camp small { color: #92400e; }

/* Ürün kartları (ızgara) */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.pc { display: flex; flex-direction: column; padding: 12px; gap: 8px; color: var(--text); position: relative; }
.pc:hover { border-color: #b8cbe2; box-shadow: 0 6px 20px rgba(15,27,45,.08); }
.pc .pimg { width: 100%; aspect-ratio: 4/3; border-radius: 9px; } .pc .nm { font-weight: 600; font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 36px; }
.pc .br { font-size: 12px; color: var(--muted); } .pc .pr { font-weight: 800; font-size: 17px; letter-spacing: -.01em; margin-top: auto; }
.pimg { object-fit: contain; background: #fff; display: block; }
.pimg.ph { background: linear-gradient(135deg, #f4f7fb, #e9eff7); display: grid; place-items: center; color: #9db2cc; } .pimg.ph .ic { width: 38%; height: 38%; max-width: 54px; max-height: 54px; stroke-width: 1.3; }
.ribbon { position: absolute; top: 18px; left: 18px; background: var(--err); color: #fff; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 6px; letter-spacing: .03em; }

/* Liste sayfası */
.listing { display: grid; grid-template-columns: 260px 1fr; gap: 20px; align-items: start; }
.facets { position: sticky; top: 130px; max-height: calc(100vh - 150px); overflow-y: auto; padding: 4px 4px 4px 0; }
.facet { border-bottom: 1px solid var(--line); padding: 12px 2px; } .facet:first-child { padding-top: 0; }
.facet h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 8px; display: flex; }
.facet h4 a { margin-left: auto; text-transform: none; letter-spacing: 0; font-weight: 500; }
.facet label { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 14px; cursor: pointer; }
.facet label input { width: 16px; height: 16px; accent-color: var(--brand-2); flex: none; } .facet label .n { margin-left: auto; color: var(--muted); font-size: 12px; }
.facet .more { font-size: 13px; font-weight: 600; cursor: pointer; color: var(--brand-2); padding-top: 4px; display: inline-block; }
.catnav a { display: flex; padding: 5px 0; font-size: 14px; color: var(--text); } .catnav a .n { margin-left: auto; color: var(--muted); font-size: 12px; } .catnav a.on { color: var(--brand-2); font-weight: 600; } .catnav a:hover { color: var(--brand-2); }
.catnav .up { color: var(--muted); font-size: 13px; }
.lhead { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.lhead h1 { font-size: 21px; } .lhead .cnt { color: var(--muted); font-size: 14px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 4px 6px 4px 11px; border-radius: 20px; background: var(--brand-soft); color: var(--brand-2); border: 0; cursor: pointer; font-family: inherit; }
.chip .ic { width: 14px; height: 14px; } .chip.ai { background: #f3effe; color: #6d28d9; padding-right: 11px; cursor: default; } .chip.ai .ic { width: 14px; height: 14px; }
.plist { overflow: hidden; }
.pr-row { display: grid; grid-template-columns: 72px 1fr 150px 130px 168px; gap: 16px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
.pr-row:last-child { border-bottom: 0; } .pr-row:hover { background: #fafcff; }
.pr-row .pimg { width: 72px; height: 72px; border-radius: 9px; border: 1px solid var(--line-2); }
.pr-row .nm { font-weight: 600; font-size: 14.5px; color: var(--text); display: block; line-height: 1.3; } .pr-row .nm:hover { color: var(--brand-2); }
.pr-row .meta { font-size: 12.5px; color: var(--muted); margin-top: 3px; } .pr-row .meta b { color: var(--text); font-weight: 600; }
.pr-row .attrs { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 6px; } .pr-row .attrs span { font-size: 11.5px; background: var(--line-2); color: #3d4b5e; padding: 2px 7px; border-radius: 5px; font-weight: 500; }
.price { font-weight: 800; font-size: 17px; letter-spacing: -.01em; white-space: nowrap; } .price small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.askprice { font-size: 13px; color: var(--muted); font-weight: 600; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; height: 40px; background: #fff; overflow: hidden; }
.qty button { width: 32px; height: 100%; border: 0; background: transparent; cursor: pointer; color: var(--muted); display: grid; place-items: center; } .qty button:hover { background: var(--line-2); color: var(--text); }
.qty button .ic { width: 15px; height: 15px; } .qty input { width: 44px; height: 100%; border: 0; text-align: center; padding: 0; border-radius: 0; font-weight: 600; box-shadow: none !important; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { display: none; }
.addrow { display: flex; gap: 6px; justify-content: flex-end; } .addrow .btn { height: 40px; padding: 0 12px; }
.btn.added { background: var(--ok); border-color: var(--ok); color: #fff; }
.pager { display: flex; justify-content: center; gap: 8px; padding: 18px 0 0; }
.lock-note { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); font-size: 13.5px; }
.lock-note.on { background: var(--ok-soft); color: #14532d; }
.fxline { font-size: 12.5px; color: var(--muted); }

/* Ürün sayfası */
.pd { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; align-items: start; }
.pd-img { padding: 18px; } .pd-img .pimg { width: 100%; aspect-ratio: 1; border-radius: 12px; }
.pd h1 { font-size: 24px; margin: 4px 0 8px; } .pd .codes { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); } .pd .codes b { color: var(--text); font-weight: 600; }
.buy { padding: 18px; } .buy .price { font-size: 28px; } .buy .price small { font-size: 13px; }
.spec { width: 100%; border-collapse: collapse; font-size: 14px; } .spec td { padding: 9px 12px; border-bottom: 1px solid var(--line-2); } .spec td:first-child { color: var(--muted); width: 42%; } .spec tr:last-child td { border-bottom: 0; }
.mini { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line-2); } .mini:last-child { border-bottom: 0; } .mini .pimg { width: 52px; height: 52px; border-radius: 8px; border: 1px solid var(--line-2); }
.mini .nm { font-weight: 600; font-size: 13.5px; color: var(--text); line-height: 1.3; } .mini .price { font-size: 14.5px; }

/* Sepet */
.cartg { display: grid; grid-template-columns: 1fr 360px; gap: 20px; align-items: start; }
.ci { display: grid; grid-template-columns: 64px 1fr 120px 130px 36px; gap: 14px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
.ci .pimg { width: 64px; height: 64px; border-radius: 9px; border: 1px solid var(--line-2); } .ci .nm { font-weight: 600; font-size: 14px; color: var(--text); }
.sum { padding: 18px; position: sticky; top: 130px; } .sum .ln { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14.5px; } .sum .tot { font-size: 20px; font-weight: 800; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; }
.payopt { display: flex; flex-direction: column; gap: 8px; } .payopt label { display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: 14px; }
.payopt label:has(input:checked) { border-color: var(--brand-2); background: #f5f9fe; } .payopt input { margin-top: 3px; accent-color: var(--brand-2); } .payopt small { display: block; color: var(--muted); font-size: 12.5px; }
.payopt label.dis { opacity: .55; cursor: not-allowed; }

/* Sipariş zaman çizgisi */
.tl { position: relative; padding-left: 22px; } .tl::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl .e { position: relative; padding-bottom: 14px; } .tl .e::before { content: ''; position: absolute; left: -21px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand-2); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--brand-2); }
.steps { display: flex; gap: 0; } .steps .s { flex: 1; text-align: center; font-size: 12.5px; color: var(--muted); position: relative; padding-top: 30px; font-weight: 500; }
.steps .s::before { content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 16px; height: 16px; border-radius: 50%; background: var(--line); z-index: 1; }
.steps .s::after { content: ''; position: absolute; top: 15px; left: -50%; right: 50%; height: 2px; background: var(--line); } .steps .s:first-child::after { display: none; }
.steps .s.done { color: var(--text); } .steps .s.done::before, .steps .s.done::after { background: var(--brand-2); }

/* Giriş */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-l { background: linear-gradient(150deg, #0b3561, #124a85 55%, #1565c0); color: #fff; padding: 48px; display: flex; flex-direction: column; }
.auth-l img { height: 40px; width: auto; align-self: flex-start; } .auth-l h1 { font-size: 34px; margin-top: auto; letter-spacing: -.02em; } .auth-l p { color: #cfe0f5; font-size: 16px; max-width: 460px; }
.auth-l ul { list-style: none; padding: 0; margin: 22px 0 auto; display: grid; gap: 12px; } .auth-l li { display: flex; gap: 10px; align-items: center; color: #e3eefb; } .auth-l li .ic { color: var(--accent); }
.auth-r { display: grid; place-items: center; padding: 30px; } .auth-box { width: 100%; max-width: 400px; }
.auth-box h2 { font-size: 24px; margin-bottom: 6px; }
.notice { padding: 12px 14px; border-radius: 11px; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; } .notice .ic { margin-top: 1px; }
.notice.info { background: var(--brand-soft); color: var(--brand); } .notice.warn { background: var(--accent-2); color: #78350f; } .notice.ok { background: var(--ok-soft); color: #14532d; }

.qpick { display: flex; align-items: center; gap: 14px; width: 100%; padding: 18px; text-align: left; font: inherit; color: var(--text); cursor: pointer; }
.qpick:hover { border-color: var(--brand-2); box-shadow: 0 6px 20px rgba(21,101,192,.12); } .qpick > span:nth-child(2) { flex: 1; }
.qpick b { display: block; font-size: 17px; } .qpick small { color: var(--muted); font-size: 13px; } .qpick > .ic { color: var(--muted); }
.qpick .ib { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-2); flex: none; } .qpick .ib .ic { width: 24px; height: 24px; }
/* Mobil alt çubuk */
.tabbar { display: none; }

/* ================= YÖNETİM ================= */
.adm { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.side { background: #0a2440; color: #cfe0f5; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; padding: 18px 12px; }
.side .brand { padding: 4px 8px 6px; } .side .brand img { height: 28px; } .side .brand small { display: block; color: #8aa6c8; font-size: 12px; margin-top: 6px; font-weight: 600; letter-spacing: .06em; }
.nav { margin-top: 16px; } .nav a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 9px; color: #cfe0f5; font-weight: 500; font-size: 14.5px; margin-bottom: 2px; }
.nav a:hover { background: rgba(255,255,255,.07); color: #fff; } .nav a.on { background: rgba(255,255,255,.14); color: #fff; }
.nav .count { margin-left: auto; background: var(--accent); color: #111; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 10px; }
.side .me { margin-top: auto; padding: 12px 8px 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; gap: 8px; font-size: 13px; color: #fff; } .side .me span { display: block; color: #8aa6c8; font-size: 12px; }
.side .me .icon-btn { color: #cfe0f5; } .side .me .icon-btn:hover { background: rgba(255,255,255,.08); }
.amain { min-width: 0; } .atop { display: flex; align-items: center; gap: 12px; padding: 14px 28px; background: rgba(243,245,248,.92); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); min-height: 64px; }
.atop h1 { font-size: 20px; flex: 1; } .acontent { padding: 22px 28px 60px; max-width: 1360px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; } .two-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; align-items: start; }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; } .toolbar .in, .toolbar input[type=search] { max-width: 340px; }
.fchips { display: flex; gap: 6px; flex-wrap: wrap; } .fchips a { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 20px; background: #fff; border: 1px solid var(--line); color: var(--muted); }
.fchips a.on { background: var(--brand); border-color: var(--brand); color: #fff; } .fchips a .n { opacity: .7; margin-left: 4px; }
.bulkbar { position: sticky; bottom: 16px; margin-top: 12px; background: #0f1b2d; color: #fff; border-radius: 12px; padding: 10px 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; box-shadow: var(--shadow-lg); }
.bulkbar .btn { height: 34px; } .bulkbar select { height: 34px; width: auto; }
.mt { margin-top: 16px; } .mb { margin-bottom: 16px; }
.dz { border: 2px dashed #c6d3e3; border-radius: 14px; padding: 30px; text-align: center; color: var(--muted); cursor: pointer; background: #fafcff; } .dz:hover, .dz.over { border-color: var(--brand-2); background: var(--brand-soft); }
.dz .ic { width: 34px; height: 34px; color: var(--brand-2); margin-bottom: 6px; }
.pimg.big { width: 100%; aspect-ratio: 4/3; border-radius: 10px; } .thumb { width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--line-2); }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 6px 14px; font-size: 14px; } .kv dt { color: var(--muted); } .kv dd { margin: 0; font-weight: 500; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1100px) {
  .pr-row { grid-template-columns: 64px 1fr 130px 150px; } .pr-row .stk { display: none; }
  .listing { grid-template-columns: 220px 1fr; }
  .qa { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hdr-in { padding: 10px 14px; gap: 10px; flex-wrap: wrap; } .hdr .logo img { height: 26px; } .sbox { order: 3; flex-basis: 100%; max-width: none; } .sbox kbd { display: none; }
  .hbtn span.t, .curseg { display: none; } .hdr-act { margin-left: auto; }
  .catbar { display: none; } .wrapc { padding: 14px 12px 96px; }
  .listing { grid-template-columns: 1fr; } .facets { position: fixed; inset: 0; z-index: 90; background: #fff; max-height: none; padding: 16px; display: none; } .facets.open { display: block; }
  .pr-row { grid-template-columns: 64px 1fr; gap: 10px 12px; padding: 12px; } .pr-row .pcol { grid-column: 2; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
  .pr-row .pimg { width: 64px; height: 64px; }
  .pd, .cartg, .two, .two-1 { grid-template-columns: 1fr; } .sum { position: static; }
  .ci { grid-template-columns: 56px 1fr 36px; } .ci .qcol, .ci .lcol { grid-column: 2; } .ci .pimg { width: 56px; height: 56px; }
  .hero { grid-template-columns: 1fr; padding: 22px; } .hero h1 { font-size: 21px; }
  .auth { grid-template-columns: 1fr; } .auth-l { display: none; }
  .tabbar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); z-index: 45; padding-bottom: env(safe-area-inset-bottom); }
  .tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 2px 7px; font-size: 11px; color: var(--muted); font-weight: 500; position: relative; }
  .tabbar a.on { color: var(--brand-2); } .tabbar a .ic { width: 22px; height: 22px; }
  .tabbar .cnt { position: absolute; top: 3px; left: calc(50% + 4px); background: var(--accent); color: #1a1205; font-size: 10px; font-weight: 800; min-width: 16px; height: 16px; border-radius: 8px; display: grid; place-items: center; padding: 0 4px; }
  .foot { display: none; } .grid2, .grid3 { grid-template-columns: 1fr; }
  .adm { grid-template-columns: 1fr; } .side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 10px; }
  .side .nav { display: flex; overflow-x: auto; margin: 0; width: 100%; } .side .nav a { white-space: nowrap; } .side .me { display: none; }
  .atop { padding: 12px 14px; } .acontent { padding: 14px 12px 60px; }
}
.only-m, .only-mf { display: none !important; } @media (max-width: 900px) { .only-m { display: inline-flex !important; } .only-mf { display: flex !important; } .only-d { display: none !important; } }

/* ================= SADE GÖRÜNÜM ================= */
:root { --brand-2: #0b3561; --bg: #fff; --line: #e6e8ec; --line-2: #f0f1f3; --shadow: none; --r: 8px; }
body { background: #fff; }
.card { box-shadow: none; }
.btn.primary { background: var(--brand); border-color: var(--brand); } .btn.primary:hover { background: #0e4478; }
.btn.accent { background: var(--brand); border-color: var(--brand); color: #fff; } .btn.accent:hover { background: #0e4478; }
.hdr { background: #fff; color: var(--text); box-shadow: none; border-bottom: 1px solid var(--line); position: sticky; }
.hdr-in { padding: 12px 24px; gap: 28px; } .hdr .logo img { height: 30px; }
.sbox input { height: 42px; border: 1px solid #cfd5dd; border-radius: 8px; background: #fff; padding-left: 42px; }
.sbox input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(11,53,97,.1); } .sbox > .ic { top: 12px; }
.sbox kbd { top: 10px; }
.hbtn { color: var(--text); font-weight: 500; padding: 8px 10px; } .hbtn:hover { background: var(--line-2); }
.hbtn.cartb { gap: 6px; } .hbtn .cnt { position: static; background: var(--brand); color: #fff; }
.curseg { background: var(--line-2); } .curseg button { color: var(--muted); } .curseg button.on { background: #fff; color: var(--text); }
.catbar { background: #fff; border-top: 0; border-bottom: 1px solid var(--line); }
.catbar a { color: var(--muted); font-weight: 500; font-size: 13.5px; padding: 10px 11px; } .catbar a:hover, .catbar a.on { color: var(--text); } .catbar a.on { border-bottom-color: var(--brand); }
.facets .facet { border-bottom: 1px solid var(--line-2); } .facet h4 { text-transform: none; letter-spacing: 0; color: var(--text); font-size: 13.5px; }
.chip { background: var(--line-2); color: var(--text); } .chip.ai { background: transparent; color: var(--muted); padding: 0; font-weight: 500; }
.lhead h1 { font-size: 19px; }
.plist { border-top: 1px solid var(--text); }
.pr-row { grid-template-columns: minmax(0,1fr) 110px 140px 70px; padding: 11px 4px; gap: 18px; } .pr-row:hover { background: #fafbfc; }
.pr-row.pr-h { font-size: 12px; color: var(--muted); padding: 7px 4px; } .pr-row.pr-h:hover { background: none; }
.pr-row .nm { font-weight: 500; font-size: 14.5px; } .pr-row .meta { font-size: 12.5px; }
.price { font-weight: 600; font-size: 15px; } .price small { font-weight: 400; }
.stock { font-weight: 500; font-size: 13px; } .stock.warn, .stock.muted { color: var(--muted); }
.home { max-width: 1100px; } .home-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding: 10px 0 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.home-top h1 { font-size: 24px; } .home-top p { margin: 4px 0 0; } .home-top .links { display: flex; gap: 22px; } .home-top .links a { color: var(--text); font-weight: 500; font-size: 14px; border-bottom: 1px solid #c9ced6; }
.lastord { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--text); font-size: 14px; } .lastord:hover { background: #fafbfc; } .lastord .lnk { color: var(--muted); display: flex; align-items: center; gap: 2px; }
h2.sec { font-size: 16px; margin: 26px 0 14px; }
.catlist { columns: 4 220px; column-gap: 28px; } .catlist > div { break-inside: avoid; padding-bottom: 18px; } .catlist a.b { color: var(--text); font-weight: 600; font-size: 14.5px; }
.catlist .subs a { display: block; color: var(--muted); font-size: 13.5px; padding: 2px 0; } .catlist .subs a:hover, .catlist a.b:hover { color: var(--brand-2); text-decoration: underline; }
.foot { background: #fff; }
@media (max-width: 900px) { .pr-row { grid-template-columns: minmax(0,1fr) auto; } .pr-row .stk, .pr-row.pr-h { display: none; } .pr-row .addrow { grid-column: 2; } .pr-row .pcol.right { grid-column: 1; text-align: left; } .home-top .links { gap: 14px; } }

/* Ürün çizimleri ve kare görünüm */
.pimg.ill { background: #f6f7f9; object-fit: contain; }
.pr-row { grid-template-columns: 56px minmax(0,1fr) 110px 140px 70px; } .thumbc .pimg { width: 56px; height: 56px; border-radius: 6px; border: 0; }
.ggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.gc { border: 1px solid var(--line); border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 6px; } .gc:hover { border-color: #c9ced6; }
.gc .gimg { position: relative; display: block; } .gc .gimg .pimg { width: 100%; aspect-ratio: 1; border-radius: 6px; } .gc .ribbon { top: 8px; left: 8px; }
.gc .nm { color: var(--text); font-weight: 500; font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 36px; } .gc .nm:hover { color: var(--brand-2); }
.gc .meta { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gfoot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; }
.seg button .ic { width: 15px; height: 15px; } .seg button { display: inline-flex; align-items: center; gap: 5px; }
@media (max-width: 900px) { .pr-row { grid-template-columns: 56px minmax(0,1fr) auto; } .pr-row .pcol.right { grid-column: 2; } .pr-row .addrow { grid-column: 3; grid-row: 1 / span 2; align-self: center; } .ggrid { grid-template-columns: 1fr 1fr; gap: 10px; } .gc { padding: 9px; } }
.listing > section { min-width: 0; } .ggrid { grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); } .gc { min-width: 0; }
@media (max-width: 900px) { .ggrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lhead .seg button { padding: 5px 8px; } }

.prange { display: flex; align-items: center; gap: 6px; } .prange input { height: 34px; padding: 0 8px; font-size: 13px; min-width: 0; } .prange .btn { flex: none; width: 34px; padding: 0; }
.facet { padding: 14px 2px; } .facet label { font-size: 13.5px; padding: 3px 0; }

/* Özellik grupları ve yandan kayan pencere */
.groups .grow-row { display: flex; align-items: center; gap: 8px; padding: 2px 0; }
.groups .grow-row input { width: 16px; height: 16px; accent-color: var(--brand); flex: none; }
.groups .grow-row a { flex: 1; display: flex; align-items: center; gap: 6px; color: var(--text); font-size: 14px; padding: 7px 4px; border-radius: 6px; }
.groups .grow-row a:hover { background: var(--line-2); } .groups .grow-row a span:first-child { flex: 1; } .groups .grow-row a .ic { width: 15px; height: 15px; color: var(--muted); }
.groups .grow-row .n { color: var(--muted); font-size: 12px; } .groups .grow-row em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--brand); }
.drw-wrap { position: fixed; inset: 0; z-index: 95; background: rgba(15,27,45,0); transition: background .2s; }
.drw-wrap.open { background: rgba(15,27,45,.3); }
.drw { position: absolute; top: 0; bottom: 0; left: 0; width: 400px; max-width: 92vw; background: #fff; display: flex; flex-direction: column; transform: translateX(-100%); transition: transform .2s ease-out; box-shadow: 8px 0 30px rgba(0,0,0,.12); }
.drw-wrap.open .drw { transform: none; } .drw-wrap.now, .drw-wrap.now .drw { transition: none; }
.drw-h { display: flex; align-items: center; padding: 16px 18px 10px 22px; } .drw-h h3 { flex: 1; font-size: 18px; }
.drw-all { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 18px 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.drw-all span { flex-basis: 100%; padding-left: 27px; margin-top: -4px; }
.drw-b { flex: 1; overflow-y: auto; padding: 4px 22px 16px; }
.drw-o { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 14px; cursor: pointer; border-bottom: 1px solid var(--line-2); } .drw-o span:nth-of-type(1) { flex: 1; } .drw-o .n { color: var(--muted); font-size: 12px; }
.drw input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--brand); flex: none; }
.drw-k { margin-top: 10px; } .drw-kh { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; padding: 6px 0 2px; } .drw-k .drw-o { padding-left: 4px; }
.drw-f { display: flex; gap: 8px; padding: 14px 18px; border-top: 1px solid var(--line); }
/* Yönetim: sade */
.side { background: #f7f8fa; color: var(--text); border-right: 1px solid var(--line); } .side .brand small { color: var(--muted); }
.nav a { color: #3b4656; } .nav a:hover { background: #eceff3; color: var(--text); } .nav a.on { background: #fff; color: var(--text); box-shadow: 0 0 0 1px var(--line); font-weight: 600; }
.nav .count { background: var(--brand); color: #fff; } .side .me { border-top-color: var(--line); color: var(--text); } .side .me span { color: var(--muted); } .side .me .icon-btn { color: var(--muted); } .side .me .icon-btn:hover { background: #eceff3; }
.atop { background: rgba(255,255,255,.92); } .kpi.alert { background: #fffaf0; border-color: #f3d38b; }
table.t th { background: #fff; text-transform: none; letter-spacing: 0; font-size: 12.5px; }
.spg { border: 1px solid var(--line); border-radius: 8px; padding: 0 14px; } .spg[open] { padding-bottom: 14px; }
.spg summary { display: flex; gap: 10px; align-items: center; padding: 11px 0; cursor: pointer; list-style: none; } .spg summary b { flex: 1; } .spg summary::-webkit-details-marker { display: none; }
.spgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px 14px; align-items: end; } .spgrid input:not([type=checkbox]) { height: 36px; }
label.busy { opacity: .7; pointer-events: none; }
code { background: var(--line-2); padding: 1px 5px; border-radius: 4px; font-size: 12.5px; }
/* Ürün sayfası ve sepet: sade */
.pd-img { padding: 10px; } .pd h1 { font-size: 22px; font-weight: 600; } .buy .price { font-size: 26px; font-weight: 700; }
.spec td { padding: 8px 12px; } .card-head { border-bottom-color: var(--line); }
.ci { padding: 12px 6px; } .sum .tot { border-top-color: var(--text); }
.hero { background: none; color: var(--text); padding: 0; } .lock-note { background: var(--line-2); color: var(--text); } .lock-note.on { background: var(--ok-soft); }
.steps .s.done::before, .steps .s.done::after { background: var(--brand); }
.spec tr.sg td { background: #f7f8fa; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; padding: 6px 12px; }
.empty .btn .ic { width: 18px; height: 18px; opacity: 1; margin: 0; }

/* Tüm kategoriler menüsü: solda ana kategoriler, sağda seçilenin alt ağacı */
.mega-in { grid-template-columns: 290px 1fr; padding: 0 24px; gap: 0; height: min(72vh, 640px); max-height: none; }
.mega-l { border-right: 1px solid var(--line); padding: 10px 10px 10px 0; overflow-y: auto; }
.mega-l button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; background: none; border-radius: 6px; font: inherit; font-size: 14px; color: var(--text); text-align: left; cursor: pointer; }
.mega-l button span:first-of-type { flex: 1; } .mega-l button .n { font-size: 12px; color: var(--muted); } .mega-l button > .ic:last-child { width: 14px; height: 14px; color: var(--muted); }
.mega-l button:hover { background: var(--line-2); } .mega-l button.on { background: var(--brand); color: #fff; } .mega-l button.on .n, .mega-l button.on .ic { color: #fff; }
.mega-r { padding: 16px 0 16px 26px; overflow-y: auto; columns: auto; }
.mega-rh { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; } .mega-rh h3 { font-size: 18px; }
.mega-cols { columns: 3 210px; column-gap: 28px; } .mega-cols .grp { break-inside: avoid; margin-bottom: 18px; }
.mega-cols h4 a { color: var(--text); font-size: 14px; } .mega-cols h4 a:hover { color: var(--brand-2); text-decoration: underline; }
.mega-cols a.s { display: block; color: var(--muted); font-size: 13.5px; padding: 3px 0; } .mega-cols a.s:hover { color: var(--brand-2); } .mega-cols a.s .tiny { color: #a0a8b4; }
/* Kare görünüm: geniş ekranda yan yana 6 ürün */
@media (min-width: 1200px) { .ggrid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; } .gc { padding: 10px; } .gc .nm { font-size: 13px; min-height: 34px; } .gc .price { font-size: 14px; } .gc .gfoot .btn { padding: 0 9px; } }
@media (min-width: 901px) and (max-width: 1199px) { .ggrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.price .kdv { font-size: 11px; font-weight: 500; color: var(--muted); margin-left: 4px; letter-spacing: 0; }

/* hızlı fiyat */
.qp{display:inline-flex;gap:4px}.qp input,.qp select{height:30px;padding:2px 6px;font-size:13px}tr.saved td{background:#ecfdf3}

/* ---------------- klasik ana sayfa */
.home2 { max-width: 1400px; margin: 0 auto; }
.hbar { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; font-size: 13.5px; padding: 2px 0 14px; }
.hbar a { color: var(--text); display: inline-flex; align-items: center; gap: 6px; } .hbar a:hover { color: var(--brand-2); }
.slider { position: relative; overflow: hidden; border-radius: 14px; aspect-ratio: 1400 / 360; min-height: 180px; background: #0f2747; }
.slider .track { display: flex; height: 100%; transition: transform .5s ease; }
.slide { flex: 0 0 100%; height: 100%; display: flex; align-items: center; padding: 0 6%; color: #fff; background-size: cover; background-position: center; text-decoration: none; }
.slide.c0 { background-image: linear-gradient(115deg, #0f2747 0%, #1d4f91 60%, #2f6fd0 100%); } .slide.c1 { background-image: linear-gradient(115deg, #10302a, #17694f 60%, #27a074); }
.slide.c2 { background-image: linear-gradient(115deg, #3b1d0c, #9a4a12 60%, #e07a1f); } .slide.c3 { background-image: linear-gradient(115deg, #2a1240, #5b2c91 60%, #8d55d6); }
.slide.img .txt { background: rgba(10,20,35,.55); padding: 18px 22px; border-radius: 12px; }
.slide .txt { max-width: 560px; } .slide h2 { font-size: clamp(20px, 2.6vw, 34px); line-height: 1.15; margin: 0 0 8px; color: #fff; } .slide p { margin: 0 0 14px; opacity: .9; font-size: clamp(13px, 1.2vw, 16px); }
.slide .cta { display: inline-flex; align-items: center; gap: 4px; background: #fff; color: #0f2747; font-weight: 600; font-size: 14px; padding: 8px 16px; border-radius: 99px; }
.sarr { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); font-size: 24px; line-height: 1; cursor: pointer; color: #0f2747; } .sarr.l { left: 12px; } .sarr.r { right: 12px; }
.dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 7px; } .dots i { width: 8px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.5); cursor: pointer; transition: width .3s; } .dots i.on { width: 22px; background: #fff; }
.hsec { margin-top: 30px; } .hsec-h { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; } .hsec-h h2 { font-size: 19px; margin: 0; }
.hsec-h a { font-size: 13.5px; color: var(--brand-2); display: inline-flex; align-items: center; gap: 2px; }
.hstrip { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 12px) / 6); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.hstrip > .gc { scroll-snap-align: start; min-width: 0; }
@media (max-width: 1199px) { .hstrip { grid-auto-columns: calc((100% - 3 * 12px) / 4); } } @media (max-width: 700px) { .hstrip { grid-auto-columns: 44%; } .slider { aspect-ratio: auto; height: 190px; } .sarr { display: none; } }
.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.brands a { border: 1px solid var(--line); border-radius: 10px; padding: 16px 12px; text-align: center; color: var(--text); background: #fff; display: flex; flex-direction: column; gap: 3px; transition: border-color .15s, box-shadow .15s; }
.brands a b { font-size: 15px; letter-spacing: .02em; } .brands a span { font-size: 12px; color: var(--muted); } .brands a:hover { border-color: var(--brand-2); box-shadow: 0 2px 10px rgba(15,39,71,.08); }
.cimg img { height: 40px; width: 156px; object-fit: cover; border-radius: 6px; display: block; }
@media (max-width: 700px) { .brands { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; } .brands a { padding: 10px 6px; } .brands a b { font-size: 13px; } }

/* ana sayfa: solda sabit (yapışık) ağaç, sağda içerik */
.hlay { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 20px; align-items: start; }
.hside { position: sticky; top: 126px; z-index: 25; }
.htree { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 6px; max-height: calc(100vh - 146px); overflow-y: auto; }
.htree-h { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; padding: 8px 10px 10px; border-bottom: 1px solid var(--line-2); margin-bottom: 4px; }
.htree button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 10px; border: 0; background: none; border-radius: 8px; font: inherit; font-size: 13.5px; color: var(--text); text-align: left; cursor: pointer; }
.htree button span:first-of-type { flex: 1; } .htree button .n { font-size: 12px; color: var(--muted); } .htree button > .ic:last-child { width: 14px; height: 14px; color: var(--muted); }
.htree button:hover { background: var(--line-2); } .htree button.on { background: var(--brand); color: #fff; } .htree button.on .n, .htree button.on .ic { color: #fff; }
.hfly { position: absolute; left: calc(100% + 12px); top: 0; width: calc(min(100vw, 1320px) - 48px - 272px); max-height: calc(100vh - 146px); min-height: 380px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 18px 24px; overflow-y: auto; }
.hmain { min-width: 0; } .hmain .slider { aspect-ratio: 1040 / 340; min-height: 200px; }
.hmain .hstrip { grid-auto-columns: calc((100% - 4 * 12px) / 5); }
@media (max-width: 1199px) { .hmain .hstrip { grid-auto-columns: calc((100% - 2 * 12px) / 3); } }
@media (max-width: 900px) { .hlay { grid-template-columns: 1fr; } .hside { display: none; } .hmain .hstrip { grid-auto-columns: 44%; } .hmain .slider { aspect-ratio: auto; height: 190px; } }
/* sürüm etiketi */
.hdr .logo { display: flex; flex-direction: column; align-items: flex-start; text-decoration: none; } .hdr .logo .ver { font-size: 10.5px; color: var(--muted); margin-top: 2px; letter-spacing: .02em; }

/* ---------------- favori */
.gc { position: relative; }
.fav { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.92); display: grid; place-items: center; cursor: pointer; color: #9aa3af; transition: color .15s, transform .15s; }
.fav .ic { width: 17px; height: 17px; } .fav:hover { color: #e11d48; transform: scale(1.06); } .fav.on { color: #e11d48; } .fav.on .ic { fill: currentColor; }
.fav.big { position: static; width: auto; height: 40px; border-radius: 10px; padding: 0 14px; display: inline-flex; gap: 8px; font: inherit; font-size: 14px; color: var(--text); background: #fff; } .fav.big.on { color: #e11d48; border-color: #fecdd3; background: #fff1f2; }
/* ---------------- bayi paneli */
.pnl { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; }
.pnl-nav { position: sticky; top: 126px; border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 8px; display: flex; flex-direction: column; }
.pnl-who { padding: 10px 10px 12px; border-bottom: 1px solid var(--line-2); margin-bottom: 6px; display: flex; flex-direction: column; gap: 2px; }
.pnl-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: var(--text); font-size: 14px; }
.pnl-nav a .ic { width: 17px; height: 17px; color: var(--muted); } .pnl-nav a span { flex: 1; } .pnl-nav a:hover { background: var(--line-2); }
.pnl-nav a.on { background: var(--brand); color: #fff; } .pnl-nav a.on .ic { color: #fff; }
.pnl-nav .cnt { font-style: normal; background: #e11d48; color: #fff; font-size: 11px; font-weight: 700; border-radius: 99px; padding: 1px 7px; }
.pnl-body { min-width: 0; }
.qa { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 16px 0; }
.qa a { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fff; color: var(--text); display: flex; flex-direction: column; gap: 3px; }
.qa a .ic { width: 22px; height: 22px; color: var(--brand-2); margin-bottom: 4px; } .qa a span { font-size: 12.5px; color: var(--muted); } .qa a:hover { border-color: var(--brand-2); }
.bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; height: 150px; align-items: end; }
.bars > div { display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; } .bars i { display: block; width: 100%; background: var(--brand-2); border-radius: 4px 4px 0 0; min-height: 2px; opacity: .85; } .bars span { font-size: 11px; color: var(--muted); }
.mini.unread { background: #f4f8fd; } a.mini { color: var(--text); } a.mini:hover { background: #fafbfc; }
.qlogo { width: 160px; height: 56px; border: 1px dashed var(--line); border-radius: 8px; display: grid; place-items: center; overflow: hidden; } .qlogo img { max-width: 100%; max-height: 100%; object-fit: contain; }
@media (max-width: 900px) { .pnl { grid-template-columns: 1fr; } .pnl-nav { position: static; flex-direction: row; overflow-x: auto; } .pnl-who { display: none; } .pnl-nav a { white-space: nowrap; } }
/* ---------------- teklif düzenleyici */
.qed { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.qed aside { position: sticky; top: 126px; }
.qtab td { vertical-align: top; padding: 8px 6px; } .qtab .in { height: 34px; padding: 4px 8px; font-size: 13.5px; } .qtab .in.num { width: 90px; text-align: right; } .qtab .in.sm { width: 64px; }
.qtab td:nth-child(2) { min-width: 240px; } .qtab .cost { background: #fffbeb; }
.qadd { display: flex; gap: 10px; padding: 12px; border-top: 1px solid var(--line-2); align-items: center; flex-wrap: wrap; }
.sbox2 { position: relative; flex: 1; min-width: 240px; } .sbox2 > .ic { position: absolute; left: 12px; top: 10px; color: var(--muted); } .sbox2 input { padding-left: 38px; height: 38px; } .sbox2 .suggest { top: 42px; }
.cost-ln { font-size: 13px !important; color: #92400e; background: #fffbeb; margin: 0 -18px; padding: 5px 18px !important; }
@media (max-width: 1000px) { .qed { grid-template-columns: 1fr; } .qed aside { position: static; } }
/* teklif çıktısı */
.qdoc { background: #fff; max-width: 820px; margin: 0 auto; padding: 40px 44px; border: 1px solid var(--line); border-radius: 6px; color: #111; font-size: 13px; }
.qdoc header { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 18px; border-bottom: 2px solid #111; } .qdoc .ql { max-height: 64px; max-width: 240px; } .qdoc .qn { font-size: 22px; font-weight: 800; }
.qdoc h1 { font-size: 20px; letter-spacing: .12em; margin: 22px 0 14px; text-align: center; }
.qmeta { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 12px; } .qmeta span { color: #666; margin-right: 6px; } .qmeta b { display: block; font-size: 15px; }
.qmeta .right b { display: inline; font-size: 13px; }
.qsub { margin: 6px 0 12px; }
.qitems { width: 100%; border-collapse: collapse; margin: 8px 0 14px; } .qitems th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: #555; border-bottom: 1.5px solid #111; padding: 7px 6px; }
.qitems td { border-bottom: 1px solid #e5e7eb; padding: 8px 6px; vertical-align: middle; } .qitems .qi .pimg { width: 44px; height: 44px; object-fit: contain; }
.qtot { margin-left: auto; width: 300px; } .qtot div { display: flex; justify-content: space-between; padding: 4px 0; } .qtot .g { border-top: 1.5px solid #111; margin-top: 4px; padding-top: 8px; font-size: 16px; }
.qnote { margin: 16px 0; padding: 10px 12px; background: #f6f7f9; border-radius: 6px; white-space: pre-line; }
.qterms { margin: 16px 0; } .qterms ol { margin: 6px 0 0; padding-left: 18px; color: #333; } .qterms li { margin: 2px 0; }
.qdoc footer { margin-top: 28px; }
@media print {
  @page { size: A4; margin: 12mm; }
  body.printing .hdr, body.printing .foot, body.printing .tabbar, body.printing .noprint, body.printing .preview-bar { display: none !important; }
  body.printing { background: #fff; } body.printing .wrapc { padding: 0; max-width: none; } body.printing .qdoc { border: 0; padding: 0; max-width: none; }
  .qitems tr { break-inside: avoid; }
}
/* ---------------- sihirbaz + hesaplayıcılar */
.wiz { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 18px; align-items: start; } .wiz form h3 { font-size: 15px; margin-top: 4px; }
.chks { display: flex; flex-direction: column; gap: 6px; }
.wtab td { vertical-align: top; } .wsel { margin: 6px 0 4px; height: 36px; font-size: 13.5px; } .wtab .in.num { width: 80px; height: 34px; text-align: right; }
.why { margin: 0; padding-left: 18px; line-height: 1.7; }
@media (max-width: 1000px) { .wiz { grid-template-columns: 1fr; } }
.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 16px; }
.tool h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 16px; } .tool h3 .ic { color: var(--brand-2); }
.tool .res { margin-top: 12px; padding: 12px 14px; background: var(--brand-soft); border-radius: 10px; font-size: 15px; line-height: 1.5; }

/* filtre: marka en üstte, özellikler aşağı doğru açılır */
.facet .fo { display: flex; align-items: center; gap: 8px; padding: 4px 2px; font-size: 13.5px; cursor: pointer; }
.facet .fo span:first-of-type { flex: 1; } .facet .fo .n { font-size: 12px; color: var(--muted); } .facet .fo.hide { display: none; }
.facet .fo.all { border-bottom: 1px dashed var(--line); padding-bottom: 7px; margin-bottom: 4px; }
.facet .more { display: inline-block; font-size: 12.5px; color: var(--brand-2); margin-top: 4px; }
.facet h4 a { float: right; font-weight: 500; font-size: 12px; color: var(--brand-2); }
.acc > .grow-row a .ic { transition: transform .15s; } .acc.open > .grow-row a .ic { transform: rotate(90deg); }
.acc-b { padding: 4px 4px 10px 26px; border-bottom: 1px solid var(--line-2); margin-bottom: 4px; }
.acc-k { margin-top: 6px; } .acc-kh { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin: 6px 0 2px; }
/* filtre kutuları: her özellik kendi kaydırmalı kutusunda */
.fboxes { display: flex; flex-direction: column; gap: 14px; }
.fbox-h { display: flex; align-items: baseline; gap: 8px; font-weight: 700; font-size: 13.5px; margin-bottom: 6px; }
.fbox-h span { flex: 1; } .fbox-h em { font-style: normal; font-weight: 500; font-size: 12px; color: var(--brand-2); } .fbox-h a { font-weight: 500; font-size: 12px; color: var(--muted); }
.fbox-b { border: 1px solid var(--line); border-radius: 10px; padding: 4px 10px; max-height: 182px; overflow-y: auto; background: #fff; scrollbar-width: thin; }
.fbox-b .fo { padding: 5px 0; }
.facet .fbox + .fbox { margin-top: 0; }

/* ---------------- liste üst çubuğu */
.ltool { display: flex; align-items: center; gap: 18px; background: #f3f5f8; border: 1px solid var(--line); border-radius: 10px; padding: 7px 12px; margin: 0 0 14px; flex-wrap: wrap; }
.ltool .vw { display: flex; gap: 4px; } .ltool .vw button { width: 34px; height: 34px; border: 0; background: none; border-radius: 8px; display: grid; place-items: center; color: #98a2b3; cursor: pointer; }
.ltool .vw button .ic { width: 22px; height: 22px; } .ltool .vw button.on { color: var(--brand-2); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.ltool select { width: auto; height: 34px; font-size: 13.5px; background-color: #fff; }
.ltool .sorts { display: flex; gap: 20px; } .ltool .sorts a { color: var(--text); font-size: 14px; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.ltool .sorts a:hover { color: var(--brand-2); } .ltool .sorts a.on { color: var(--brand-2); font-weight: 700; } .ltool .sorts .sa { width: 15px; height: 15px; }
.ltool .stk { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; white-space: nowrap; }
.lhead { margin-bottom: 10px; }
@media (max-width: 900px) { .ltool { gap: 10px; } .ltool .grow { display: none; } .ltool .sorts { gap: 12px; overflow-x: auto; width: 100%; order: 5; } }
/* sepet simgesi düğmesi */
.cartbtn { width: 38px; height: 34px; padding: 0; display: inline-grid; place-items: center; } .cartbtn .ic { width: 18px; height: 18px; }
.cartbtn.added { background: #ecfdf3; border-color: #a6f4c5; color: #067647; }
/* ana sayfa kartlarında favori kalbi yok */
.home2 .fav { display: none; }
/* ağaç yazıları ve logo büyük */
.htree button { font-size: 15px; padding: 9px 10px; } .htree button .n { font-size: 12.5px; } .htree-h { font-size: 15px; }
.mega-l a, .mega-l button { font-size: 15px; } .mega-cols .grp h4, .mega-cols .grp h4 a { font-size: 15px; } .mega-cols a.s { font-size: 14.5px; } .hfly .grp h4 { font-size: 15px; }
.hdr .logo img { height: 42px; } .hdr .logo .ver { font-size: 11px; }
@media (max-width: 700px) { .hdr .logo img { height: 32px; } }
/* ---------------- ürün sayfası: kimlik kartı */
.pk { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr) 300px; gap: 22px; align-items: start; }
.pk-img { padding: 14px; } .pk-img .pimg { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 10px; }
.pk-mid .b { font-weight: 600; color: var(--brand-2); } .pk-mid h1 { font-size: 24px; margin: 4px 0 6px; line-height: 1.25; }
.ktiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.kt { border: 1px solid var(--line); border-radius: 12px; padding: 14px 8px; text-align: center; background: #fff; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.kt .ic { width: 26px; height: 26px; color: var(--brand-2); margin-bottom: 4px; } .kt b { font-size: 15.5px; line-height: 1.2; word-break: break-word; } .kt span { font-size: 12px; color: var(--muted); }
.pk-buy { position: sticky; top: 140px; padding: 16px; gap: 10px; }
.pk-buy .tier { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--muted); } .pk-buy .tier s { color: #98a2b3; }
.pk-buy .mine { background: #ecfdf3; border-radius: 10px; padding: 10px 12px; } .pk-buy .mine .l { font-size: 12.5px; color: #067647; }
.pk-buy .mine .v { font-size: 26px; font-weight: 800; color: #05603a; line-height: 1.2; } .pk-buy .mine .v .price { font-size: inherit; color: inherit; } .pk-buy .mine .kdv { font-size: 12px; font-weight: 500; }
.pk-buy .save { align-self: flex-start; background: #fffaeb; color: #b54708; font-size: 12.5px; font-weight: 600; border-radius: 99px; padding: 3px 10px; }
.pk-buy .qty { width: 100%; } .pk-buy .qty input { flex: 1; } .pk-act { gap: 8px; } .pk-act > * { flex: 1; justify-content: center; }
.pk-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin: 28px 0 16px; overflow-x: auto; }
.pk-tabs button { border: 0; background: none; font: inherit; font-size: 15px; padding: 10px 14px; color: var(--muted); border-bottom: 2.5px solid transparent; margin-bottom: -1px; cursor: pointer; white-space: nowrap; }
.pk-tabs button.on { color: var(--brand-2); border-bottom-color: var(--brand-2); font-weight: 700; }
#pkb { max-width: 900px; }
@media (max-width: 1100px) { .pk { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .pk-buy { grid-column: 1 / -1; position: static; } }
@media (max-width: 700px) { .pk { grid-template-columns: 1fr; } .ktiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pk-mid .codes { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--muted); } .pk-mid .codes b { color: var(--text); }
.pk-act .fav.big span { white-space: nowrap; }
.pk-buy > .btn.lg { width: 100%; justify-content: center; }
.pk-act { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .pk-act > * { min-width: 0; padding-left: 8px; padding-right: 8px; font-size: 13.5px; }
.pk-act { grid-template-columns: 1fr !important; }
/* teklif: gruptan seç */
.qpick { border-top: 1px solid var(--line-2); padding: 12px; }
.qp-h { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; margin-bottom: 8px; } .qp-h .ic { color: var(--brand-2); }
.qp-sel { display: flex; flex-wrap: wrap; gap: 8px; } .qp-sel select { width: auto; min-width: 170px; height: 36px; font-size: 13.5px; }
.qp-res { margin-top: 10px; max-height: 360px; overflow-y: auto; border: 1px solid var(--line); border-radius: 10px; } .qp-res:empty { display: none; }
.qp-row { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-bottom: 1px solid var(--line-2); font-size: 13.5px; } .qp-row .pimg { width: 38px; height: 38px; object-fit: contain; }
.qp-row .btn.added { background: #ecfdf3; color: #067647; border-color: #a6f4c5; }
/* sihirbaz: sistem seçimi */
.sysgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.sysgrid a { border: 1px solid var(--line); border-radius: 14px; padding: 22px 16px; background: #fff; color: var(--text); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 15.5px; }
.sysgrid a .ic { width: 30px; height: 30px; color: var(--brand-2); } .sysgrid a:hover { border-color: var(--brand-2); box-shadow: 0 4px 14px rgba(15,39,71,.08); }
h1 .ic { width: 26px; height: 26px; vertical-align: -4px; color: var(--brand-2); }
/* hesaplayıcılar: sade, alt alta */
.calcs { max-width: 980px; display: flex; flex-direction: column; gap: 22px; }
.calcs h2 { display: flex; align-items: center; gap: 8px; font-size: 17px; margin: 0 0 8px; } .calcs h2 .ic { color: var(--brand-2); }
.calc { display: grid; grid-template-columns: 200px minmax(0, 1fr) 260px; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; margin-bottom: 8px; }
.calc .ct { font-weight: 700; font-size: 14px; } .calc .ci { display: flex; flex-wrap: wrap; gap: 10px; }
.calc .ci label { display: flex; flex-direction: column; gap: 2px; font-size: 11.5px; color: var(--muted); } .calc .ci input, .calc .ci select { width: 92px; height: 34px; font-size: 14px; padding: 4px 8px; }
.calc .cr { background: var(--brand-soft); border-radius: 8px; padding: 9px 12px; font-size: 14px; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }

/* =====================================================================
   CANLI GÖRÜNÜM (v0.5.5): gri zemin + belirgin beyaz kartlar, koyu yazılar,
   mavi marka, lacivert fiyat, renkli kategori simgeleri, dolu sepet düğmesi
   ===================================================================== */
:root { --bg: #eef1f6; --text: #101828; --muted: #475467; --line: #cfd6e1; --line-2: #e3e8ef; --brand-2: #1570ef; --brand-soft: #e6eefb;
  --ok: #067647; --warn: #b54708; --card-shadow: 0 1px 2px rgba(16,24,40,.06), 0 2px 8px rgba(16,24,40,.06); }
body { background: var(--bg) !important; color: var(--text); }
.hdr, .catbar { background: #fff; } .catbar { border-bottom: 1px solid var(--line); }
.catbar-in a { color: var(--text); font-weight: 600; } .catbar-in a .ic { color: var(--brand-2); }
.card { background: #fff; border-color: var(--line); box-shadow: var(--card-shadow); }
.muted { color: var(--muted); }
/* ürün kartları ve satırlar */
.gc { background: #fff; border: 1px solid var(--line) !important; box-shadow: var(--card-shadow); transition: box-shadow .15s, border-color .15s, transform .15s; }
.gc:hover { border-color: #98b4dc !important; box-shadow: 0 6px 18px rgba(16,24,40,.12); transform: translateY(-2px); }
.gc .gimg, .gc .gimg .pimg { background: #eaf1fb; }
.gc .nm, .pr-row .nm { color: var(--text) !important; font-weight: 600 !important; }
.gc .meta, .pr-row .meta { color: var(--muted); font-weight: 500; } .brn { color: var(--brand-2); font-weight: 700; }
.plist { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--card-shadow); overflow: hidden; }
.pr-row { padding-left: 14px !important; padding-right: 14px !important; } .pr-row:hover { background: #f5f8fd !important; }
.pr-row.pr-h { background: #f6f8fb; color: var(--muted); font-weight: 600; }
.pr-row .pimg { background: #eaf1fb; border-color: var(--line-2); }
.price { color: #0b3561; font-weight: 800; } .price small { color: var(--muted); font-weight: 600; } .kdv { color: var(--muted); font-weight: 600; }
.stock { font-weight: 700 !important; } .stock.ok { color: #067647 !important; } .stock.warn { color: #b54708 !important; } .stock.muted { color: #475467 !important; } .stock.err { color: #b42318 !important; }
.askprice { color: #475467; font-weight: 600; }
.cartbtn { background: #0b3561 !important; border-color: #0b3561 !important; color: #fff !important; } .cartbtn:hover { background: #134a85 !important; }
.cartbtn.added { background: #079455 !important; border-color: #079455 !important; }
/* ağaç, menü, filtreler */
.htree, .fbox-b, .ltool, .pnl-nav { border-color: var(--line); box-shadow: var(--card-shadow); }
.htree, .fbox-b, .pnl-nav { background: #fff; }
.htree button, .mega-l button, .mega-l a { color: var(--text); font-weight: 600; }
.htree button > .ic:first-child, .mega-l button > .ic:first-child { color: var(--ic, var(--brand-2)); width: 20px; height: 20px; }
.htree button .n, .mega-l .n { color: var(--muted); font-weight: 600; }
.htree button.on, .mega-l button.on { background: #0b3561 !important; color: #fff !important; } .htree button.on > .ic, .mega-l button.on > .ic { color: #fff !important; }
.htree button:hover, .mega-l button:hover { background: #eef3fb; }
.mega-cols .grp h4 a { color: var(--text); font-weight: 700; } .mega-cols a.s { color: #344054; font-weight: 500; } .mega-cols a.s:hover { color: var(--brand-2); }
.facet h4, .fbox-h { color: var(--text); } .facet .fo { color: var(--text); font-weight: 500; } .facet .fo .n { color: var(--muted); font-weight: 600; }
.facet.catnav a { color: var(--text); font-weight: 500; } .facet.catnav a:hover { color: var(--brand-2); }
.ltool { background: #fff; } .ltool .sorts a { font-weight: 600; } .ltool .vw button { color: #667085; }
.lhead h1 { color: var(--text); } .lhead .cnt { color: var(--muted); font-weight: 500; }
.crumb, .crumb a { color: #475467; } .crumb a:hover { color: var(--brand-2); }
/* ana sayfa */
.hsec-h h2 { color: var(--text); font-weight: 800; position: relative; padding-left: 12px; } .hsec-h h2::before { content: ''; position: absolute; left: 0; top: 3px; bottom: 3px; width: 4px; border-radius: 4px; background: var(--brand-2); }
.brands a { border-color: var(--line); box-shadow: var(--card-shadow); } .brands a b { color: #0b3561; } .brands a span { color: var(--muted); font-weight: 500; }
.hbar { color: var(--text); } .hbar a { font-weight: 600; }
/* ürün sayfası */
.kt { border-color: var(--line); box-shadow: var(--card-shadow); } .kt b { color: var(--text); } .kt span { color: var(--muted); font-weight: 500; }
.pk-mid .codes { color: var(--muted); } .pk-tabs button { color: #475467; font-weight: 600; }
.pk-img { background: #fff; } .pk-img .pimg { background: #eaf1fb; }
/* hesaplayıcılar, sihirbaz, panel */
.calc { border-color: var(--line); box-shadow: var(--card-shadow); } .calc .ct { color: var(--text); } .calc .ci label { color: #475467; font-weight: 600; }
.calc .cr { background: #e6eefb; border: 1px solid #b2ccf2; color: #0b3561; font-size: 14.5px; }
.sysgrid a { border-color: var(--line); box-shadow: var(--card-shadow); font-weight: 600; } .sysgrid a .ic { color: var(--brand-2); }
.kpi { box-shadow: var(--card-shadow); } .qa a { border-color: var(--line); box-shadow: var(--card-shadow); font-weight: 600; } .qa a span { font-weight: 400; color: var(--muted); }
.pnl-nav a { color: var(--text); font-weight: 500; } .pnl-nav a .ic { color: var(--brand-2); }
.spec td:first-child { color: #475467; } .spec td { color: var(--text); }
input, select, textarea { border-color: #c4ccd8; color: var(--text); }

/* ===== v0.5.6: ekranı doldur, ağaç ve filtre paneli geniş ===== */
.hdr-in, .catbar-in, .wrapc, .foot-in, .home2, .mega-in { max-width: none !important; }
.hdr-in, .wrapc, .foot-in { padding-left: 28px; padding-right: 28px; } .catbar-in { padding-left: 20px; padding-right: 20px; }
.hlay { grid-template-columns: 320px minmax(0, 1fr); }
.hfly { width: calc(100vw - 56px - 332px - 16px); max-width: 1200px; }
.listing { grid-template-columns: 290px minmax(0, 1fr); gap: 24px; }
.mega-in { grid-template-columns: 330px 1fr; }
@media (min-width: 1600px) { .ggrid { grid-template-columns: repeat(7, minmax(0, 1fr)); } .hmain .hstrip { grid-auto-columns: calc((100% - 5 * 12px) / 6); } }
@media (min-width: 1900px) { .ggrid { grid-template-columns: repeat(8, minmax(0, 1fr)); } .hmain .hstrip { grid-auto-columns: calc((100% - 6 * 12px) / 7); } }
@media (min-width: 901px) and (max-width: 1199px) { .listing { grid-template-columns: 250px minmax(0, 1fr); } .hlay { grid-template-columns: 280px minmax(0, 1fr); } }
/* teklif kalemleri: A grup · B ürün · C adet · D birim · E/F maliyet · G/H satış */
.qed { grid-template-columns: minmax(0, 1fr) 340px !important; }
.qtab { min-width: 1100px; } .qtab td { padding: 6px 6px; vertical-align: middle; }
.qtab .gbtn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 6px; border: 1px solid #c4ccd8; background: #fff; border-radius: 8px; padding: 7px 9px; font: inherit; font-size: 13px; color: var(--text); cursor: pointer; text-align: left; min-height: 36px; }
.qtab .gbtn:hover { border-color: var(--brand-2); } .qtab .gbtn:disabled { background: #f6f8fb; cursor: default; } .qtab .gbtn .ic { width: 14px; height: 14px; color: var(--muted); flex: none; }
.qtab .gbtn b { color: var(--brand-2); }
.qtab .ph { color: #98a2b3; } .qtab .psel { width: 100%; height: 36px; font-size: 13px; } .qtab .pfix { font-size: 13.5px; font-weight: 600; }
.qtab .in.num { width: 100px; } .qtab .in.num.sm { width: 64px; }
.qtab tfoot .qsum td { font-weight: 800; border-top: 2px solid var(--line); background: #f6f8fb; padding: 10px 6px; }
.qtab tfoot .qsum td.cost { background: #fff7e0; }
.qadd { gap: 10px; } .qadd .sbox2 { max-width: 420px; margin-left: auto; }
.mt { margin-top: 16px; }
.hdr .sbox { max-width: 980px; } .hdr .sbox + * { margin-left: auto; }
.qtab th.right, .qtab td.right { text-align: right; }
/* teklif: grup kutusunda basamaklı liste, geniş ürün sütunu */
.qtab { table-layout: fixed; min-width: 1150px; } .qtab .gcell { position: relative; }
.qtab .gbtn { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .qtab .gbtn > :not(.ic) { overflow: hidden; text-overflow: ellipsis; }
.gdd { position: absolute; left: 6px; right: 6px; top: calc(100% - 4px); z-index: 30; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); max-height: 320px; overflow-y: auto; padding: 4px; min-width: 240px; }
.gdd a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 7px; color: var(--text); font-size: 13.5px; cursor: pointer; }
.gdd a span { color: var(--muted); font-size: 12px; } .gdd a:hover { background: #eef3fb; color: var(--brand-2); }
.gdd a.use { font-weight: 700; color: var(--brand-2); } .gdd a[data-reset] { color: var(--muted); border-bottom: 1px solid var(--line-2); border-radius: 0; margin-bottom: 2px; }
.gdd .ddh { font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; padding: 6px 10px 2px; }
.qtab tr.blank td { background: #fafcff; }
.qtab .psel { width: 100%; }
/* teklif: ürün kutusunda arama listesi */
.qtab .pin { width: 100%; height: 36px; font-size: 13.5px; }
.pdd { position: fixed; z-index: 60; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); overflow-y: auto; padding: 4px; }
.pdd a { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; color: var(--text); cursor: pointer; }
.pdd a:hover { background: #eef3fb; } .pdd a .pimg { width: 36px; height: 36px; object-fit: contain; flex: none; }
.pdd a .grow { display: flex; flex-direction: column; min-width: 0; } .pdd a b { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdd a .price { flex: none; }
/* ===== v0.5.10: teklif tablosu sığsın + sihirbaz bölümleri düzenli ===== */
.qtab { min-width: 980px !important; }
.wiz { grid-template-columns: 440px minmax(0, 1fr) !important; }
.wiz form.stack > * + * { margin-top: 12px; }
.wsec { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 14px; background: #fff; box-shadow: var(--card-shadow); }
.wsec-h { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; color: var(--text); padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--line-2); }
.wsec-h .ic { width: 20px; height: 20px; color: var(--brand-2); flex: none; }
.wsec .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.wsec .f { margin: 0; } .wsec .f > span { font-size: 12.5px; font-weight: 600; color: #475467; margin-bottom: 4px; display: block; }
.wsec .f input, .wsec .f select { height: 40px; }
.wsec .chks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.wsec .chks .chk { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; font-size: 13px; font-weight: 600; background: #f8fafc; cursor: pointer; margin: 0; }
.wsec .chks .chk:has(input:checked) { background: #e6eefb; border-color: #9ab8e6; color: #0b3561; }
.wsec .chks .chk input { margin: 0; }
.wsec .chks { flex-direction: row !important; align-items: center; } .wsec .chks .chk { width: auto !important; flex: none; }

/* v0.5.17 — her ekranda yan yana 6 ürün (liste, arama, ana sayfa vitrinleri) */
.ggrid, .pgrid { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; gap: 12px; }
.hstrip, .hmain .hstrip { grid-auto-columns: calc((100% - 5 * 12px) / 6) !important; }
@media (max-width: 900px) {
  .ggrid, .pgrid { gap: 6px !important; }
  .ggrid, .pgrid { gap: 4px !important; }
  .hstrip, .hmain .hstrip { gap: 4px; grid-auto-columns: calc((100% - 5 * 4px) / 6) !important; }
  .gc, .pc { padding: 5px !important; gap: 3px !important; border-radius: 6px; }
  .gc:hover, .pc:hover { transform: none; }
  .gc .nm, .pc .nm { font-size: 11px !important; line-height: 1.25; min-height: 27px !important; }
  .gc .meta, .pc .br { font-size: 9.5px !important; }
  .gc .ribbon, .ribbon { font-size: 8.5px; padding: 1px 4px; top: 4px; left: 4px; }
  .gfoot { flex-direction: column; align-items: stretch; gap: 3px; padding-top: 2px; }
  .gfoot .tiny, .gfoot .tiny * { font-size: 9px !important; }
  .gc .price, .gc .gfoot b, .gc .gfoot strong, .pc .pr { font-size: 11.5px !important; }
  .gc .gfoot del, .gc .gfoot s, .gc .gfoot small { font-size: 9px !important; }
  .gc .price small, .gc .kdv, .gc .askprice { font-size: 9px !important; } .gc .price { white-space: normal; overflow: hidden; } .gc .kdv { display: block; margin-left: 0 !important; }
  .gc .cartbtn { width: 100%; height: 26px; padding: 0 !important; justify-content: center; }
  .gc .cartbtn .ic { width: 14px; height: 14px; }
}
@media (min-width: 901px) { .gc { padding: 10px !important; } .gc .nm { font-size: 13px !important; min-height: 34px !important; } .gc .price { font-size: 15px !important; } .gc .meta { font-size: 11.5px; } }
@media (max-width: 600px) { .gc, .pc { padding: 3px !important; } .gc .nm, .pc .nm { font-size: 9.5px !important; min-height: 24px !important; } .gc .price, .pc .pr { font-size: 9px !important; letter-spacing: -.2px; white-space: normal !important; overflow: visible !important; text-overflow: clip !important; word-break: break-all; line-height: 1.15; } .gc .price * { white-space: normal !important; } .gc .meta, .gc .kdv, .gc .gfoot .tiny { display: none !important; } .gc .cartbtn { height: 22px; } .gc .ribbon, .ribbon { display: none; } }

/* B109 — diğer tedarikçilerde */
.sup-cmp td { padding: 6px 8px; vertical-align: top; }
.sup-cmp tr.cheap td { background: #ecfdf3; }
.sup-cmp tr.cheap td:first-child { box-shadow: inset 3px 0 0 #16a34a; }
.sup-cmp tr.self td b { text-decoration: underline; }

/* B119-B firma teklifleri */
.ofb { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 10px; background: #eef4ff; color: #1849a9; font-size: 11px; font-weight: 600; white-space: nowrap; }
.offers { padding: 0; overflow: hidden; }
.offers .of-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #eaecf0; flex-wrap: wrap; }
.offers .of-r { display: grid; grid-template-columns: minmax(0, 1fr) 130px 150px 190px; gap: 12px; align-items: center; padding: 10px 16px; border-bottom: 1px solid #f2f4f7; }
.offers .of-r:last-child { border-bottom: 0; }
.offers .of-r.cur { background: #f5f8ff; }
.offers .of-n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.offers .of-a { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.ofbest { margin-left: 8px; padding: 1px 7px; border-radius: 10px; background: #dcfae6; color: #067647; font-size: 11px; font-weight: 700; }
@media (max-width: 760px) { .offers .of-r { grid-template-columns: minmax(0, 1fr) auto; } .offers .of-s { grid-column: 1; } .offers .of-p { grid-column: 2; grid-row: 1; } .offers .of-a { grid-column: 2; } }

/* B120 ortak ağaç düzeltme */
.grpw { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 14px; align-items: start; }
.grpl { max-height: 75vh; overflow: auto; padding: 6px 0; }
.grpl a { display: flex; justify-content: space-between; gap: 8px; padding: 5px 12px; color: inherit; text-decoration: none; font-size: 13px; }
.grpl a:hover { background: #f2f4f7; } .grpl a.on { background: #eef4ff; color: #1849a9; }
@media (max-width: 900px) { .grpw { grid-template-columns: 1fr; } .grpl { max-height: 40vh; } }
.grpw td .tiny { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 520px; }
/* 02.12 Servis B131 — seçme modu */
.pickbar { background: #fff7e6; border: 1px solid #fcd9a1; color: #7a4a00; padding: 8px 12px; border-radius: 8px; font-size: 13px; }
.pickbar a { margin-left: 8px; }
.pickbtn { white-space: nowrap; margin-right: 6px; }
/* 02.12 B133 — Firmalar: firma adları ana ağaç gibi alt alta, aynı punto */
.firms { display: flex; flex-direction: column; max-width: 420px; }
.firms .firm { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; background: none; border-radius: 8px; font: inherit; font-size: 15px; color: var(--text); text-align: left; cursor: pointer; }
.firms .firm:hover { background: var(--line-2); }
.firms .firm span:first-child { flex: 1; }
.firms .firm .n { font-size: 12.5px; color: var(--muted); }
.firms .firm > .ic:last-child { width: 14px; height: 14px; color: var(--muted); }
.fmback { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; margin-bottom: 8px; }
