﻿/* ============================================================
   siemensportal.com — Tasarım sistemi
   Endüstriyel otomasyon · Mühendislik mavisi · teknik
   ============================================================ */

:root {
  /* Renkler */
  --brand: #00767d;
  --brand-bright: #009999;
  --brand-dark: #005a60;
  --brand-soft: #e6f4f4;
  --navy: #000028;
  --ink: #0c1a30;
  --ink-2: #33415c;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: #e2e8f1;
  --line-2: #eef2f8;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --ok: #15a34a;
  --ok-soft: #e8f6ec;
  --warn: #c2710c;
  --warn-soft: #fbf1e0;
  --danger: #dc2626;
  --accent: #0891b2;

  /* Tipografi */
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Code', Consolas, monospace;

  /* Şekil (teknik: daha keskin) */
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 14px;
  --r-xl: 18px;

  --sh-sm: 0 1px 2px rgba(12,26,48,.06), 0 1px 3px rgba(12,26,48,.05);
  --sh: 0 4px 14px rgba(12,26,48,.08);
  --sh-lg: 0 14px 36px rgba(12,26,48,.14);

  --container: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { display: block; max-width: 100%; }
input, select, textarea { font-family: inherit; font-size: inherit; }
ul { list-style: none; }
h1, h2 { font-family: var(--font-display); letter-spacing: -.02em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding-top: 44px; padding-bottom: 44px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 20px; gap: 16px; }
.section-head h2 { font-size: 23px; font-weight: 700; }
.section-head a { color: var(--brand); font-weight: 600; font-size: 14px; }
.section-head a:hover { text-decoration: underline; }
.head-l { display: flex; flex-direction: column; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin-bottom: 7px; }
.eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--brand); }

.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }
.price-strike { color: var(--muted-2); text-decoration: line-through; font-weight: 500; }
.page-title { font-family: var(--font-display); font-size: 27px; font-weight: 700; letter-spacing: -.02em; margin: 6px 0 6px; }
.page-sub { color: var(--muted); margin-bottom: 22px; }

/* ---------- Butonlar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: var(--r-sm); font-weight: 600; font-size: 14px; transition: transform .08s, background .15s, box-shadow .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(0,153,153,.26); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn-ghost { background: var(--brand-soft); color: var(--brand-dark); }
.btn-ghost:hover { background: #e0eaff; }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { background: #eef3ff; }
.btn-block { width: 100%; }
.btn-lg { padding: 15px 26px; font-size: 15px; }

/* ============================================================
   HEADER
   ============================================================ */
.topbar { background: var(--navy); color: #aab6c9; font-size: 12.5px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.topbar a { color: #cdd6e4; transition: color .15s; }
.topbar a:hover { color: #fff; }
.topbar-left { display: flex; align-items: center; gap: 8px; }
.topbar-left b { color: #fff; font-family: var(--font-mono); letter-spacing: .02em; }
.topbar-links { display: flex; gap: 18px; align-items: center; }
.topbar-links .sep { opacity: .3; }

.header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-main { display: flex; align-items: center; gap: 24px; height: 78px; }

.logo { font-family: var(--font-display); display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.logo .mark { width: 38px; height: 38px; border-radius: 9px; background: linear-gradient(135deg, var(--brand), #00c4c4); display: grid; place-items: center; color: #fff; flex-shrink: 0; box-shadow: 0 4px 10px rgba(0,153,153,.3); }
.logo .mark svg { width: 22px; height: 22px; }
.logo .txt { display: flex; flex-direction: column; line-height: 1.05; }
.logo .txt b { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.logo .txt span { font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.search { flex: 1; position: relative; max-width: 660px; }
.search input { width: 100%; height: 48px; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 0 54px 0 16px; font-size: 14.5px; background: #fafbfd; transition: border-color .15s, background .15s; }
.search input:focus { outline: none; border-color: var(--brand); background: #fff; }
.search button { position: absolute; right: 6px; top: 6px; height: 36px; width: 44px; border-radius: var(--r-sm); background: var(--brand); color: #fff; display: grid; place-items: center; }
.search button:hover { background: var(--brand-dark); }
.search button svg { width: 19px; height: 19px; }

.header-actions { display: flex; align-items: center; gap: 4px; }
.h-action { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: var(--r-sm); color: var(--ink-2); transition: background .15s; position: relative; }
.h-action:hover { background: var(--line-2); }
.h-action .ic { width: 24px; height: 24px; color: var(--ink); }
.h-action .lbl { display: flex; flex-direction: column; line-height: 1.15; }
.h-action .lbl b { font-size: 13.5px; font-weight: 700; }
.h-action .lbl span { font-size: 11.5px; color: var(--muted); }
.badge-count { position: absolute; top: 3px; left: 28px; min-width: 19px; height: 19px; padding: 0 5px; color: #fff; font-size: 11px; font-weight: 800; border-radius: 999px; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; }
.cart-badge { background: var(--brand); }
.quote-badge { background: var(--warn); }

.menu-btn { display: none; width: 42px; height: 42px; border-radius: var(--r-sm); place-items: center; color: var(--ink); }
.menu-btn svg { width: 26px; height: 26px; }

/* Kategori navigasyonu + mega */
.catnav { background: var(--surface); border-bottom: 1px solid var(--line); }
.catnav .container { display: flex; align-items: center; gap: 4px; height: 50px; position: relative; }
.cat-strip { display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.cat-strip::-webkit-scrollbar { display: none; }
.catnav a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--r-sm); font-size: 13.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; transition: background .15s, color .15s; }
.catnav a:hover { background: var(--brand-soft); color: var(--brand-dark); }
.catnav a.all { color: var(--brand-dark); font-weight: 700; }
.catnav .cic { width: 18px; height: 18px; color: var(--brand); }
.catnav a:hover .cic { color: var(--brand-dark); }

.cat-trigger { position: static; }
.mega { position: absolute; top: calc(100% + 1px); left: 0; right: 0; background: var(--surface); border: 1px solid var(--line); border-top: none; border-radius: 0 0 var(--r-lg) var(--r-lg); box-shadow: var(--sh-lg); padding: 24px 26px; z-index: 60; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s, transform .18s, visibility .18s; }
.cat-trigger:hover .mega, .cat-trigger:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 30px; }
.mega-col .mega-head { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 700; font-size: 14px; margin-bottom: 11px; padding-bottom: 9px; border-bottom: 1px solid var(--line-2); }
.mega-col .mega-head svg { width: 18px; height: 18px; color: var(--brand); }
.mega-col .mega-head:hover { color: var(--brand-dark); }
.mega-col ul li { margin-bottom: 8px; }
.mega-col ul a { font-size: 13px; color: var(--ink-2); transition: color .12s; }
.mega-col ul a:hover { color: var(--brand-dark); }

/* ============================================================
   HERO (blueprint)
   ============================================================ */
.hero { padding-top: 22px; }
.hero-main {
  position: relative; overflow: hidden; border-radius: var(--r-xl); color: #fff; padding: 46px 48px;
  display: grid; grid-template-columns: 1.45fr .85fr; gap: 36px; align-items: center;
  background:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 30px 30px,
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 30px 30px,
    linear-gradient(125deg, #000026 0%, #00343d 55%, #00767d 100%);
}
.hero-main::after { content: ''; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(0,153,153,.5), transparent 65%); }
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .05em; color: #74e0d6; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero-content h1 { font-size: 40px; line-height: 1.1; font-weight: 700; margin-bottom: 14px; letter-spacing: -.03em; }
.hero-content h1 .hl { color: #5fd6cc; }
.hero-content p { font-size: 16px; color: #c5d2e6; margin-bottom: 22px; max-width: 520px; }
.hero-search { position: relative; max-width: 540px; margin-bottom: 18px; }
.hero-search input { width: 100%; height: 54px; border: none; border-radius: var(--r); padding: 0 130px 0 18px; font-size: 15px; font-family: var(--font-mono); background: #fff; color: var(--ink); }
.hero-search input:focus { outline: 2px solid #5fd6cc; }
.hero-search button { position: absolute; right: 6px; top: 6px; height: 42px; padding: 0 20px; border-radius: var(--r-sm); background: var(--brand); color: #fff; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.hero-search button:hover { background: var(--brand-dark); }
.hero-search button svg { width: 17px; height: 17px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: #c5d2e6; }
.hero-trust svg { width: 16px; height: 16px; color: #5fd6cc; }

.hero-card { position: relative; z-index: 1; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-lg); padding: 22px; backdrop-filter: blur(6px); }
.hero-card h3 { font-family: var(--font-display); font-size: 15px; font-weight: 700; margin-bottom: 14px; color: #fff; }
.hero-card .hc-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.hero-card .hc-row:last-child { border-bottom: none; }
.hero-card .hc-ic { width: 36px; height: 36px; border-radius: 9px; background: rgba(0,188,188,.2); display: grid; place-items: center; flex-shrink: 0; }
.hero-card .hc-ic svg { width: 19px; height: 19px; color: #74e0d6; }
.hero-card .hc-tx b { display: block; font-size: 13.5px; color: #fff; }
.hero-card .hc-tx span { font-size: 12px; color: #aab9d2; }

/* ============================================================
   KATEGORİ KARTLARI
   ============================================================ */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat-card { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; transition: transform .12s, box-shadow .15s, border-color .15s; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--sh); border-color: var(--brand); }
.cat-ic { width: 50px; height: 50px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; }
.cat-ic svg { width: 27px; height: 27px; color: var(--brand); }
.cat-card .ct b { display: block; font-size: 14.5px; font-weight: 700; }
.cat-card .ct span { font-size: 12px; color: var(--muted); }

/* ============================================================
   ÜRÜN KARTI (spec-forward)
   ============================================================ */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; position: relative; transition: transform .12s, box-shadow .18s, border-color .15s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: var(--brand); }
.card-media { display: block; position: relative; aspect-ratio: 4/3; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line-2); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card:hover .card-media img { transform: scale(1.03); }
.card-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; z-index: 2; }
.badge { font-size: 10.5px; font-weight: 800; padding: 4px 8px; border-radius: 5px; color: #fff; letter-spacing: .02em; }
.badge.disc { background: var(--danger); }
.badge.new { background: var(--brand); }

.card-body { padding: 14px; display: flex; flex-direction: column; flex: 1; }
.card-brand { font-size: 11px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 5px; }
.card-title { font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 37px; }
.card-title:hover { color: var(--brand-dark); }
.sku { display: inline-block; font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-2); background: var(--line-2); padding: 2px 7px; border-radius: 5px; margin: 9px 0 8px; }
.spec-line { font-size: 12px; color: var(--muted); margin-bottom: 10px; line-height: 1.4; min-height: 17px; }
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; margin-bottom: 12px; }
.stock::before { content: ''; width: 8px; height: 8px; border-radius: 50%; }
.stock.in { color: var(--ok); }
.stock.in::before { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.stock.lead { color: var(--warn); }
.stock.lead::before { background: var(--warn); box-shadow: 0 0 0 3px var(--warn-soft); }

.card-price { margin-top: auto; }
.card-price .old { font-size: 12px; }
.card-price .now { font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.card-price .now.deal { color: var(--danger); }
.card-price .vat { font-size: 11px; color: var(--muted-2); margin-left: 4px; font-weight: 500; }
.card-actions { display: flex; gap: 8px; margin-top: 12px; }
.card-actions button { flex: 1; padding: 9px 6px; border-radius: var(--r-sm); font-weight: 600; font-size: 12.5px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: background .15s, color .15s, border-color .15s; }
.card-actions svg { width: 16px; height: 16px; }
.card-add { background: var(--brand); color: #fff; }
.card-add:hover { background: var(--brand-dark); }
.card-quote { border: 1.5px solid var(--line); color: var(--ink-2); }
.card-quote:hover { border-color: var(--brand); color: var(--brand-dark); }

/* ============================================================
   MARKA ŞERİDİ + AVANTAJLAR
   ============================================================ */
.brand-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.brand-chip { display: grid; place-items: center; height: 64px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink-2); letter-spacing: -.01em; transition: border-color .15s, color .15s; text-align: center; padding: 0 8px; }
.brand-chip:hover { border-color: var(--brand); color: var(--brand-dark); }

.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.perk { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: flex; align-items: flex-start; gap: 14px; }
.perk .ic { width: 46px; height: 46px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.perk .ic svg { width: 24px; height: 24px; }
.perk b { display: block; font-size: 14.5px; margin-bottom: 3px; }
.perk span { font-size: 12.5px; color: var(--muted); line-height: 1.45; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy); color: #aab6c9; margin-top: 52px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; gap: 32px; padding-top: 48px; padding-bottom: 36px; }
.footer h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { font-size: 13.5px; transition: color .15s; }
.footer ul a:hover { color: #fff; }
.footer .about .logo { color: #fff; margin-bottom: 14px; }
.footer .about .logo .txt b { color: #fff; }
.footer .about .logo .txt span { color: #8a97ad; }
.footer .about p { font-size: 13.5px; line-height: 1.6; margin-bottom: 16px; max-width: 290px; }
.contact-row { display: flex; align-items: center; gap: 9px; font-size: 13px; margin-bottom: 10px; }
.contact-row svg { width: 16px; height: 16px; color: #5fd6cc; flex-shrink: 0; }
.contact-row b { color: #fff; font-family: var(--font-mono); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; padding-bottom: 18px; display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; gap: 12px; flex-wrap: wrap; }
.pay-icons { display: flex; gap: 8px; }
.pay-icons span { background: rgba(255,255,255,.92); color: var(--navy); font-weight: 800; font-size: 10.5px; padding: 4px 8px; border-radius: 5px; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding: 16px 0; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .cur { color: var(--ink); font-weight: 600; }
/* Yapı: <nav class="breadcrumb" aria-label="Sayfa yolu"><ol><li>…</li></ol></nav> — ayraç CSS'ten gelir (ekran okuyucu okumaz).
   Varsayılan ayraç "/", .bc-chev ile "›". İkinci content satırı boş alternatif metin verir; tanımayan tarayıcı ilkini kullanır.
   Ayraç öğenin SONUNDA durur (satır kırılınca eskisi gibi üst satırın sonunda kalır). */
.breadcrumb > ol { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; list-style: none; }
.breadcrumb > ol > li { display: flex; align-items: center; gap: 8px; }
.breadcrumb > ol > li:not(:last-child)::after { content: "/"; content: "/" / ""; opacity: .5; }
.breadcrumb.bc-chev > ol > li:not(:last-child)::after { content: "\203A"; content: "\203A" / ""; }

/* ============================================================
   ÜRÜN LİSTELEME
   ============================================================ */
.shop-layout { display: grid; grid-template-columns: 264px 1fr; gap: 24px; align-items: start; padding-bottom: 44px; }
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); position: sticky; top: 96px; overflow: hidden; }
.filter-block { padding: 18px; border-bottom: 1px solid var(--line-2); }
.filter-block:last-child { border-bottom: none; }
.filter-block h4 { font-size: 13px; font-weight: 700; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); }
.filter-list { display: flex; flex-direction: column; gap: 11px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--brand); cursor: pointer; flex-shrink: 0; }
.check .num { margin-left: auto; color: var(--muted-2); font-size: 12px; }
.check:hover { color: var(--ink); }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range input { width: 100%; height: 40px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 12px; font-size: 13.5px; }
.price-range input:focus { outline: none; border-color: var(--brand); }
.price-range span { color: var(--muted-2); }

.shop-main { min-width: 0; }
.shop-toolbar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 12px; flex-wrap: wrap; }
.shop-toolbar .res { font-size: 14px; }
.shop-toolbar .res b { font-weight: 800; }
.sort-wrap { display: flex; align-items: center; gap: 10px; }
.sort-wrap label { font-size: 13px; color: var(--muted); }
.sort-wrap select { height: 40px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 34px 0 14px; font-size: 13.5px; font-weight: 600; background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") no-repeat right 12px center; appearance: none; cursor: pointer; }
.sort-wrap select:focus { outline: none; border-color: var(--brand); }

.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--brand-soft); color: var(--brand-dark); font-size: 12.5px; font-weight: 600; padding: 6px 10px; border-radius: var(--r-sm); }
.chip button { color: var(--brand-dark); display: grid; place-items: center; }
.chip button svg { width: 13px; height: 13px; }
.chip-clear { background: none; color: var(--muted); font-weight: 600; font-size: 12.5px; text-decoration: underline; }

.empty-state { text-align: center; padding: 70px 20px; color: var(--muted); grid-column: 1/-1; }
.empty-state .emo { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--brand-soft); display: grid; place-items: center; }
.empty-state .emo svg { width: 32px; height: 32px; color: var(--brand); }
.empty-state h3 { color: var(--ink); font-size: 18px; margin-bottom: 6px; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.pagination a { min-width: 40px; height: 40px; padding: 0 12px; border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff; display: grid; place-items: center; font-weight: 600; font-size: 14px; transition: all .15s; }
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination a.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.pagination a.disabled { opacity: .4; pointer-events: none; }

/* ============================================================
   ÜRÜN DETAY
   ============================================================ */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 24px; }
.pd-gallery { position: sticky; top: 96px; }
.pd-main-img { aspect-ratio: 4/3; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; margin-bottom: 14px; }
.pd-main-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 12px; }
.pd-thumb { width: 84px; height: 64px; border-radius: var(--r-sm); border: 2px solid var(--line); overflow: hidden; cursor: pointer; transition: border-color .15s; background: #fff; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb.active { border-color: var(--brand); }

.pd-info .pd-brand { font-size: 13px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .06em; }
.pd-info h1 { font-size: 26px; font-weight: 700; line-height: 1.25; margin: 8px 0 12px; }
.pd-meta { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; flex-wrap: wrap; }
.pd-sku { font-family: var(--font-mono); font-size: 13px; color: var(--ink-2); background: var(--line-2); padding: 5px 10px; border-radius: var(--r-sm); }
.pd-stock { font-size: 13.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 7px; }
.pd-stock::before { content: ''; width: 9px; height: 9px; border-radius: 50%; }
.pd-stock.in { color: var(--ok); } .pd-stock.in::before { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.pd-stock.lead { color: var(--warn); } .pd-stock.lead::before { background: var(--warn); box-shadow: 0 0 0 3px var(--warn-soft); }

.pd-price { background: var(--bg); border-radius: var(--r); padding: 18px; margin-bottom: 20px; }
.pd-price .row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pd-price .now { font-size: 32px; font-weight: 800; letter-spacing: -.02em; }
.pd-price .now.deal { color: var(--danger); }
.pd-price .old { font-size: 17px; }
.pd-price .save { background: var(--danger); color: #fff; font-size: 12.5px; font-weight: 800; padding: 4px 10px; border-radius: var(--r-sm); }
.pd-price .vat { font-size: 12.5px; color: var(--muted); margin-top: 6px; }

.pd-buy { display: flex; gap: 12px; align-items: stretch; margin-bottom: 14px; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.qty button { width: 44px; font-size: 20px; color: var(--ink-2); transition: background .15s; }
.qty button:hover { background: var(--line-2); }
.qty input { width: 48px; text-align: center; border: none; font-size: 16px; font-weight: 700; font-family: var(--font-mono); }
.qty input:focus { outline: none; }
.qty input:focus-visible { outline: 2px solid var(--brand); outline-offset: -3px; }
.pd-buy .btn-primary { flex: 1; }
.pd-buy2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }

.pd-assure { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.assure { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 11px 13px; }
.assure svg { width: 20px; height: 20px; color: var(--brand); flex-shrink: 0; }

.datasheet { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; padding: 11px 14px; border: 1.5px dashed var(--line); border-radius: var(--r-sm); font-size: 13px; font-weight: 600; color: var(--brand-dark); transition: border-color .15s, background .15s; }
.datasheet:hover { border-color: var(--brand); background: var(--brand-soft); }
.datasheet svg { width: 18px; height: 18px; }

/* Sekmeler */
.tabs { margin-top: 44px; }
.tab-nav { display: flex; gap: 4px; border-bottom: 2px solid var(--line); margin-bottom: 24px; flex-wrap: wrap; }
.tab-nav button { padding: 13px 20px; font-size: 14.5px; font-weight: 700; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color .15s, border-color .15s; }
.tab-nav button.active { color: var(--brand-dark); border-color: var(--brand); }
.tab-panel { display: none; max-width: 860px; }
.tab-panel.active { display: block; animation: fade .25s; }
.tab-panel p { color: var(--ink-2); line-height: 1.7; margin-bottom: 12px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--line-2); }
.spec-table td { padding: 13px 14px; font-size: 14px; }
.spec-table td:first-child { color: var(--muted); width: 240px; font-weight: 600; }
.spec-table td:last-child { font-family: var(--font-mono); color: var(--ink); }
.spec-table tr:nth-child(even) { background: var(--bg); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ============================================================
   SEPET & TEKLİF (ortak)
   ============================================================ */
.two-col { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; padding-bottom: 44px; }
.col-main { min-width: 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 16px; overflow: hidden; }
.panel-head { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.panel-head .n { width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.panel-head h3 { font-size: 16px; font-weight: 700; }

.line-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--line-2); align-items: center; }
.line-item:last-child { border-bottom: none; }
.li-img { width: 84px; height: 64px; border-radius: var(--r-sm); border: 1px solid var(--line); overflow: hidden; }
.li-img img { width: 100%; height: 100%; object-fit: cover; }
.li-info .li-brand { font-size: 11px; color: var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.li-info .li-name { font-size: 14.5px; font-weight: 600; margin: 3px 0 6px; }
.li-info .li-name:hover { color: var(--brand-dark); }
.li-info .li-sku { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
.li-info .li-stock { font-size: 12px; font-weight: 700; margin-top: 6px; display: inline-flex; align-items: center; gap: 5px; }
.li-info .li-stock.in { color: var(--ok); } .li-info .li-stock.lead { color: var(--warn); }
.li-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.li-price .now { font-size: 16px; font-weight: 800; }
.li-price .vat { font-size: 11px; color: var(--muted-2); }
.li-actions { display: flex; align-items: center; gap: 12px; }
.qty.sm button { width: 34px; height: 34px; font-size: 17px; }
.qty.sm input { width: 40px; }
.li-remove { color: var(--muted-2); display: grid; place-items: center; padding: 6px; border-radius: 6px; transition: color .15s, background .15s; }
.li-remove:hover { color: var(--danger); background: #fdeaea; }
.li-remove svg { width: 18px; height: 18px; }

.empty-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-align: center; padding: 70px 20px; }
.empty-box .emo { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; background: var(--brand-soft); display: grid; place-items: center; }
.empty-box .emo svg { width: 36px; height: 36px; color: var(--brand); }
.empty-box h2 { font-size: 22px; margin-bottom: 8px; }
.empty-box p { color: var(--muted); margin-bottom: 24px; }

.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; position: sticky; top: 96px; }
.summary h3 { font-size: 17px; font-weight: 700; margin-bottom: 18px; }
.sum-row { display: flex; align-items: center; justify-content: space-between; font-size: 14px; margin-bottom: 13px; color: var(--ink-2); }
.sum-row .green { color: var(--ok); font-weight: 700; }
.sum-total { display: flex; align-items: baseline; justify-content: space-between; padding-top: 16px; border-top: 1px dashed var(--line); margin-top: 8px; margin-bottom: 18px; }
.sum-total .lbl { font-size: 15px; font-weight: 700; }
.sum-total .val { font-size: 26px; font-weight: 800; letter-spacing: -.01em; color: var(--brand-dark); }
.summary .secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--muted); margin-top: 14px; }
.summary .secure svg { width: 15px; height: 15px; }
.note-bar { background: var(--brand-soft); border-radius: var(--r-sm); padding: 11px 14px; font-size: 12.5px; color: var(--brand-dark); font-weight: 500; margin-bottom: 16px; display: flex; gap: 9px; align-items: flex-start; }
.note-bar svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; }

/* Formlar */
.form-grid { padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea { border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; font-size: 14px; background: #fff; transition: border-color .15s; }
.field input, .field select { height: 46px; }
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); }
.pay-methods { display: flex; gap: 12px; padding: 0 20px 20px; }
.pay-method { flex: 1; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 14px; display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 13.5px; font-weight: 600; transition: all .15s; }
.pay-method.active { border-color: var(--brand); background: var(--brand-soft); }
.pay-method svg { width: 22px; height: 22px; color: var(--ink-2); }

/* ============================================================
   TOAST & MODAL
   ============================================================ */
.toast-wrap { position: fixed; bottom: 24px; right: 24px; z-index: 100; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--navy); color: #fff; padding: 14px 18px; border-radius: var(--r); box-shadow: var(--sh-lg); display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; min-width: 280px; animation: toastIn .3s cubic-bezier(.2,.8,.2,1); }
.toast .ic { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.toast .ic.cart { background: var(--brand); } .toast .ic.quote { background: var(--warn); } .toast .ic.ok { background: var(--ok); }
.toast .ic svg { width: 17px; height: 17px; color: #fff; }
.toast.out { animation: toastOut .3s ease forwards; }
@keyframes toastIn { from { transform: translateX(120%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes toastOut { to { transform: translateX(120%); opacity: 0; } }

.modal-overlay { position: fixed; inset: 0; background: rgba(12,26,48,.6); backdrop-filter: blur(3px); z-index: 200; display: none; place-items: center; padding: 20px; }
.modal-overlay.open { display: grid; animation: fade .2s; }
.modal { background: #fff; border-radius: var(--r-xl); max-width: 460px; width: 100%; padding: 40px; text-align: center; animation: modalIn .3s cubic-bezier(.2,.8,.2,1); }
.modal .check-ic { width: 80px; height: 80px; border-radius: 50%; background: var(--ok-soft); display: grid; place-items: center; margin: 0 auto 22px; }
.modal .check-ic svg { width: 44px; height: 44px; color: var(--ok); }
.modal h2 { font-size: 23px; font-weight: 700; margin-bottom: 10px; }
.modal p { color: var(--muted); margin-bottom: 8px; }
.modal .order-no { font-weight: 800; color: var(--ink); font-family: var(--font-mono); }
.modal .btn { margin-top: 22px; }
@keyframes modalIn { from { transform: scale(.92) translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ============================================================
   ERİŞİLEBİLİRLİK & HAREKET
   ============================================================ */
.btn:focus-visible, .card-add:focus-visible, .card-quote:focus-visible, .h-action:focus-visible,
.catnav a:focus-visible, .pagination a:focus-visible, .qty button:focus-visible, .pay-method:focus-visible,
.chip button:focus-visible, .menu-btn:focus-visible, .tab-nav button:focus-visible, .li-remove:focus-visible,
.card-title:focus-visible, .li-name:focus-visible, .logo:focus-visible, .cat-card:focus-visible,
.card-media:focus-visible, .brand-chip:focus-visible, .datasheet:focus-visible,
.mega-col .mega-head:focus-visible, .mega-col ul a:focus-visible {
  outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px;
}
.search input:focus-visible, .field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible,
.price-range input:focus-visible, .sort-wrap select:focus-visible, .hero-search input:focus-visible {
  outline: 2px solid var(--brand); outline-offset: 1px;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-content > * { animation: heroIn .6s cubic-bezier(.2,.8,.2,1) backwards; }
  .hero-content > *:nth-child(1) { animation-delay: .04s; }
  .hero-content > *:nth-child(2) { animation-delay: .10s; }
  .hero-content > *:nth-child(3) { animation-delay: .16s; }
  .hero-content > *:nth-child(4) { animation-delay: .22s; }
  .hero-content > *:nth-child(5) { animation-delay: .28s; }
  .reveal { opacity: 0; transform: translateY(18px); }
  .reveal.in { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s cubic-bezier(.2,.8,.2,1); }
}
@keyframes heroIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .product-grid.cols-4 { grid-template-columns: repeat(3, 1fr); }
  .brand-strip { grid-template-columns: repeat(4, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero-main { grid-template-columns: 1fr; }
  .hero-card { display: none; }
}
@media (max-width: 880px) {
  .header-main { gap: 14px; height: auto; flex-wrap: wrap; padding: 12px 0; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .h-action .lbl { display: none; }
  .catnav { display: none; }
  .catnav.open { display: block; }
  .catnav.open .container { height: auto; flex-wrap: wrap; gap: 6px; padding: 10px 14px; }
  .catnav.open .cat-strip { overflow: visible; flex-wrap: wrap; }
  .catnav.open .mega { display: none; }
  .menu-btn { display: grid; }
  .hero-content h1 { font-size: 31px; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .pd { grid-template-columns: 1fr; gap: 24px; }
  .pd-gallery { position: static; }
  .two-col { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 620px) {
  .container { padding: 0 14px; }
  .cat-grid { grid-template-columns: 1fr; }
  .product-grid, .product-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .perks { grid-template-columns: 1fr 1fr; }
  .brand-strip { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .pd-assure, .pd-buy2 { grid-template-columns: 1fr; }
  .hero-main { padding: 32px 22px; }
  .hero-content h1 { font-size: 26px; }
  .hero-search input { padding-right: 56px; font-size: 13px; }
  .hero-search button { padding: 0; width: 42px; }
  .hero-search button span { display: none; }
  .card-actions { flex-direction: column; }
  .line-item { grid-template-columns: 70px 1fr; }
  .li-img { width: 70px; height: 56px; }
  .li-right { grid-column: 2; align-items: flex-start; text-align: left; }
  .toast-wrap { left: 14px; right: 14px; bottom: 14px; }
  .toast { min-width: 0; }
}


/* Siemens re-skin ek stiller */
.li-price .unit{display:block;font-size:11.5px;color:var(--muted);font-weight:500;}
.stock svg,.li-stock svg,.pd-stock svg{width:13px;height:13px;vertical-align:-2px;}
.pd-stock svg{width:15px;height:15px;}
.stock.lead::before,.pd-stock.lead::before{display:none;}

/* Ana sayfa 5'li ızgara (2026-10-24): Kategoriler + Çok Tercih Edilenler + Fırsatlar yalnız geniş ekranda 5 sütun;
   tablet/mobil mevcut kırılımlar (3/2/1) aynen. Katalog sayfası .product-grid etkilenmez. */
@media (min-width: 1101px) {
  .cat-grid.home5, .product-grid.home5 { grid-template-columns: repeat(5, 1fr); }
}
