:root {
  --unit-red: #DA2735;
  --unit-red-dark: #B51E2B;
  --ink: #121212;
  --ink-2: #212121;
  --muted: #666666;
  --line: #D8D8D8;
  --line-soft: #E9E9E9;
  --bg: #FFFFFF;
  --panel: #F1F1F1;
  --tby-sky: #35C5FF;
  --tby-dark: #0E1116;
  --font-head: "Russo One", sans-serif;
  --font-body: "Roboto Slab", serif;
  --maxw: 1200px;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(18, 18, 18, .06), 0 10px 28px rgba(18, 18, 18, .1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding-top: 64px;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

#navbar, #iletisim, #mobile-menu, #teklif-modal, #teklif-toast {
  font-family: var(--font-body);
  font-weight: 500;
}

#navbar .nav-link,
#navbar button,
#navbar a[href*="tbyelektrikonline"],
#mobile-menu .mobile-link,
#mobile-menu a[href*="tbyelektrikonline"],
#iletisim a[href*="tbyelektrikonline"],
#iletisim h3,
#teklif-modal h2,
#teklif-modal button,
#teklif-toast p {
  font-family: var(--font-head);
  font-weight: 400;
}

#iletisim .text-slate-400,
#iletisim .text-slate-500,
#iletisim li,
#iletisim p {
  font-weight: 400;
}

.cta-gradient { background: linear-gradient(135deg, #35C5FF, #0EA5E9); }

img { max-width: 100%; display: block; }

a { color: inherit; }

:focus-visible { outline: 2px solid var(--unit-red); outline-offset: 2px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.crumbs {
  background: #fff;
  border-bottom: 2px solid var(--tby-sky);
}

.crumbs .wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--muted);
  flex-wrap: wrap;
}

.crumbs a { color: var(--muted); text-decoration: none; font-weight: 400; }

.crumbs a:hover { color: var(--ink); }

.crumbs .sep { color: var(--line); }

.crumbs .here { color: var(--ink-2); font-weight: 500; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hub-hero {
  background: var(--unit-red);
  color: #fff;
  padding: 56px 0 48px;
}

.hub-hero .eyebrow { color: rgba(255, 255, 255, .78); }

.hub-hero h1 {
  margin: 12px 0 12px;
  font-family: var(--font-head);
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.15;
  color: #fff;
}

.hub-hero p {
  margin: 0;
  max-width: 720px;
  color: rgba(255, 255, 255, .88);
  font-size: 15.5px;
  font-weight: 500;
}

.hero-stats {
  display: flex;
  gap: 44px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-stats div { display: flex; flex-direction: column; }

.hero-stats b {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
}

.hero-stats span {
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
}

.section { padding: 42px 0 6px; }

.section-head { margin-bottom: 20px; }

.section-head h2 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 400;
  color: var(--ink);
  padding-left: 14px;
  border-left: 4px solid var(--unit-red);
  line-height: 1.35;
}

main .grid {
  display: grid;
  gap: 18px;
  margin-bottom: 38px;
}

.cat-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.p-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

.cat-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}

.cat-card:hover {
  border-color: var(--unit-red);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.cat-card .ph {
  background: var(--panel);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow: hidden;
}

.cat-card .ph img {
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.cat-card .body {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 1;
}

.cat-card b {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.4;
}

.badge {
  background: var(--unit-red);
  color: #fff;
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 400;
  padding: 3px 10px;
  border-radius: 99px;
  white-space: nowrap;
}

.cat-head {
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
  padding: 40px 0 30px;
}

.cat-head-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cat-head h1 {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--ink);
  line-height: 1.2;
}

.count-badge {
  background: var(--unit-red);
  color: #fff;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 400;
  padding: 5px 14px;
  border-radius: 99px;
  white-space: nowrap;
}

.cat-head p {
  margin: 10px 0 0;
  max-width: 720px;
  color: var(--muted);
  font-weight: 500;
}

.p-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: border-color .15s, box-shadow .15s;
}

.p-card:hover {
  border-color: var(--unit-red);
  box-shadow: var(--shadow);
}

.p-card .ph {
  background: var(--panel);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
}

.p-card .ph img {
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .25s;
}

.p-card:hover .ph img { transform: scale(1.05); }

.p-card .body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.model {
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 400;
  color: var(--unit-red);
  letter-spacing: .04em;
}

.p-card h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.45;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: .01em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}

.btn-red {
  background: var(--unit-red);
  border-color: var(--unit-red);
  color: #fff;
}

.btn-red:hover {
  background: var(--unit-red-dark);
  border-color: var(--unit-red-dark);
}

.btn-outline {
  background: #fff;
  color: var(--unit-red);
  border-color: var(--unit-red);
}

.btn-outline:hover {
  background: var(--unit-red);
  color: #fff;
}

.product-top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 44px;
  padding-top: 40px;
  padding-bottom: 10px;
}

.gallery { display: flex; flex-direction: column; gap: 12px; min-width: 0; }

.gallery .main {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.gallery .main img { max-height: 100%; object-fit: contain; }

.gallery .main.empty {
  background: var(--panel);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.gallery .thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.gallery .thumbs img {
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 6px;
  cursor: pointer;
  transition: border-color .15s;
}

.gallery .thumbs img:hover { border-color: var(--line); }

.gallery .thumbs img.active { border-color: var(--unit-red); }

.p-info { min-width: 0; }

.p-info .model { font-size: 13.5px; }

.p-info h1 {
  margin: 10px 0 14px;
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 31px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -.01em;
}

.p-info .lead { color: var(--muted); margin: 0 0 24px; font-weight: 500; }

.p-local {
  margin: 0 0 28px;
  max-width: 620px;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--muted);
}

.p-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.kv {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.kv td {
  padding: 9px 12px;
  border: 1px solid var(--line-soft);
  vertical-align: top;
  font-weight: 500;
}

.kv td:first-child {
  width: 42%;
  color: var(--ink-2);
  background: var(--panel);
}

.kv td:last-child { font-size: 12.5px; }

.p-tabs { padding-top: 34px; }

.tab-nav {
  display: flex;
  gap: 2px;
  border-bottom: 2px solid var(--line-soft);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tab-nav a {
  padding: 12px 20px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color .15s, border-color .15s;
}

.tab-nav a:hover { color: var(--ink); }

.tab-nav a.active {
  color: var(--ink);
  border-bottom-color: var(--unit-red);
}

.tab-panel { padding: 28px 0 10px; }

.tab-panel h2 {
  margin: 0 0 18px;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 400;
  color: var(--ink);
  padding-left: 14px;
  border-left: 4px solid var(--unit-red);
}

.p-tabs.js .tab-panel { display: none; }

.p-tabs.js .tab-panel.active { display: block; }

.p-tabs.js .tab-panel h2 { display: none; }

.prose p { margin: 0 0 14px; max-width: 860px; font-weight: 500; }

.features {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: feat;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px 30px;
}

.features li {
  counter-increment: feat;
  position: relative;
  padding-left: 40px;
  font-size: 14px;
  font-weight: 500;
}

.features li::before {
  content: counter(feat, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 400;
  color: var(--unit-red);
}

.features li::after {
  content: "";
  position: absolute;
  left: 24px;
  top: 10px;
  width: 8px;
  height: 2px;
  background: var(--line);
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  -webkit-overflow-scrolling: touch;
}

.table-scroll + .table-scroll { margin-top: 18px; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  min-width: 560px;
}

.spec-table th {
  background: var(--unit-red);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  text-align: left;
  padding: 10px 12px;
}

.spec-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  color: var(--ink-2);
}

.spec-table tbody tr:nth-child(even) td { background: var(--panel); }

.spec-table td:first-child { font-size: 12.5px; }

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.app-grid img {
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.doc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 720px;
}

.doc-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--panel);
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  border: 1px solid transparent;
  transition: border-color .15s, color .15s;
}

.doc-list a:hover { border-color: var(--unit-red); color: var(--unit-red); }

.doc-list .doc-label { flex: 1; }

.doc-list svg { flex: 0 0 auto; color: var(--muted); }

.doc-list a:hover svg { color: var(--unit-red); }

.doc-list .tag {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 400;
  background: var(--unit-red);
  color: #fff;
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: .06em;
}

.p-section { padding: 34px 20px 6px; }

.p-section h2 {
  margin: 0 0 18px;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 400;
  color: var(--ink);
  padding-left: 14px;
  border-left: 4px solid var(--unit-red);
}

#iletisim { margin-top: 56px; border-top: 3px solid var(--tby-sky); }

.notice {
  font-size: 11.5px;
  font-weight: 400;
  color: var(--muted);
  padding-top: 18px;
  padding-bottom: 4px;
}

@media (min-width: 1024px) {
  body { padding-top: 80px; }
}

@media (max-width: 900px) {
  .product-top { grid-template-columns: 1fr; gap: 28px; padding-top: 26px; }
  .hub-hero { padding: 40px 0 34px; }
  .hero-stats { gap: 30px; }
  .cat-head { padding: 28px 0 22px; }
}

@media (max-width: 560px) {
  .cat-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .p-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .p-card .ph { padding: 12px; }
  .cat-card .body { flex-direction: column; align-items: flex-start; gap: 6px; }
  .tab-nav a { padding: 11px 14px; font-size: 13px; }
  .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cat-card, .p-card, .p-card .ph img { transition: none; }
}
