/* =====================================================================
   TEDPAR — ziyaretçi sitesi
   Sabit (hareketsiz) lacivert sahne, yüzen cam üst bant, metalik başlıklar,
   cam model kartları, camgöbeği neon düğmeler, kavisli alt bilgi.
   ===================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-top:    #0d1b30;
  --bg:        #0a1526;
  --bg-deep:   #070f1c;
  --glass:     rgba(255, 255, 255, .055);
  --glass-2:   rgba(255, 255, 255, .03);
  --edge:      rgba(255, 255, 255, .14);
  --edge-soft: rgba(255, 255, 255, .08);
  --text:      #eef3f8;
  --muted:     #aab7c6;
  --dim:       #7d8ea1;
  --cyan:      56, 214, 255;
  --cyan-hi:   #7fe6ff;
  --blue-1:    #74c3ff;
  --blue-2:    #2f86ef;
  --amber:     #e9a85b;
  --footer:    #191d24;
  --font: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --chrome: linear-gradient(180deg, #ffffff 0%, #e9eef3 38%, #a9b3be 52%, #dfe5eb 70%, #f7f9fb 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
html.has-dialog { overflow: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(70% 45% at 50% 0%, rgba(42, 92, 158, .45) 0%, rgba(13, 27, 48, 0) 70%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 40%, var(--bg-deep) 100%);
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings: "kern", "lnum";
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--cyan-hi); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: rgb(var(--cyan)); color: #04121f; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Neon düğmeler ---------- */
.btn-neon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid rgba(var(--cyan), .85);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(23, 120, 150, .55), rgba(9, 58, 82, .75));
  color: #effbff;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow:
    0 0 0 3px rgba(var(--cyan), .12),
    0 0 22px -4px rgba(var(--cyan), .75),
    inset 0 0 14px rgba(var(--cyan), .35),
    inset 0 1px 0 rgba(255, 255, 255, .25);
  text-shadow: 0 0 10px rgba(var(--cyan), .6);
  transition: background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn-neon:hover {
  background: linear-gradient(180deg, rgba(36, 160, 196, .7), rgba(12, 82, 112, .85));
  box-shadow:
    0 0 0 3px rgba(var(--cyan), .2),
    0 0 30px -2px rgba(var(--cyan), .95),
    inset 0 0 16px rgba(var(--cyan), .45),
    inset 0 1px 0 rgba(255, 255, 255, .3);
}
.btn-neon--solid {
  border-color: transparent;
  border-radius: 999px;
  background: linear-gradient(180deg, #6ff0ff 0%, #22c3f2 55%, #109bd8 100%);
  color: #04121f;
  text-shadow: none;
}
.btn-neon--solid:hover { background: linear-gradient(180deg, #96f5ff 0%, #3cd2fa 55%, #18aee8 100%); }
.btn-neon .icon { width: 18px; height: 18px; }

/* =====================================================================
   Üst bant (yüzen cam)
   ===================================================================== */
.site-header { position: relative; z-index: 30; padding-top: 14px; }
.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
  padding: 10px 14px 10px 28px;
  border: 1px solid var(--edge);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .03));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 20px 40px -24px rgba(0, 0, 0, .8);
}
.site-header__inner::after {
  content: "";
  position: absolute;
  left: 30%;
  right: 30%;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(var(--cyan), 0), rgba(var(--cyan), .8), rgba(var(--cyan), 0));
  box-shadow: 0 0 14px rgba(var(--cyan), .7);
  pointer-events: none;
}
.brand { display: flex; align-items: center; gap: 18px; min-width: 0; text-decoration: none; }
.brand__name {
  font-stretch: 125%;
  font-weight: 800;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: .05em;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .55));
}
.brand__logo { max-height: 44px; width: auto; }
.brand__tagline {
  max-width: 7.5em;
  padding-left: 18px;
  border-left: 2px solid rgba(var(--cyan), .65);
  color: #d7e2ee;
  font-size: .92rem;
  line-height: 1.25;
}
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav__link { color: #d9e3ee; font-weight: 500; text-decoration: none; transition: color .2s; }
.site-nav__link:hover, .site-nav__link[aria-current="true"] { color: var(--cyan-hi); }

/* ---------- Bize Ulaşın kutusu ---------- */
.cpop { position: relative; }
.cpop__panel {
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 40;
  width: 340px;
  padding-top: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
@media (hover: hover) {
  .cpop:hover .cpop__panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}
.cpop.is-open .cpop__panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.cpop__box {
  padding: 18px 18px 16px;
  border: 1px solid rgba(var(--cyan), .4);
  border-radius: 16px;
  background: #0c192b;
  box-shadow: 0 0 30px -8px rgba(var(--cyan), .55), 0 26px 50px -20px rgba(0, 0, 0, .8);
  color: var(--text);
}
.cpop__title { font-weight: 700; font-size: 1.02rem; margin-bottom: 6px; }
.cpop__list { display: grid; }
.cpop__row { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--edge-soft); }
.cpop__row:first-child { border-top: 0; }
.cpop__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(var(--cyan), .12);
  color: var(--cyan-hi);
}
.cpop__icon .icon { width: 18px; height: 18px; }
.cpop__text { display: flex; flex-direction: column; min-width: 0; }
.cpop__label { color: var(--muted); font-size: .8rem; }
.cpop__value { color: #fff; font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
a.cpop__value:hover { color: var(--cyan-hi); }
.cpop__multi { font-weight: 500; white-space: pre-line; line-height: 1.5; }
.cpop__map { margin-top: 4px; color: var(--cyan-hi); font-size: .85rem; font-weight: 600; }
.cpop__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  min-height: 44px;
  border-radius: 999px;
  background: linear-gradient(180deg, #6ff0ff 0%, #22c3f2 55%, #109bd8 100%);
  color: #04121f;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 0 20px -4px rgba(var(--cyan), .8);
}

/* =====================================================================
   Başlık
   ===================================================================== */
.stage { position: relative; }
.hero__inner { text-align: center; padding-block: clamp(44px, 6vw, 70px) clamp(36px, 4.5vw, 52px); }
.hero .hero__title {
  margin: 0;
  font-size: clamp(2.1rem, 4.6vw, 3.7rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.012em;
  text-wrap: balance;
}
.hero__line1, .hero__line2 {
  display: block;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .5));
}
.hero__line1 { background-image: linear-gradient(180deg, #ffffff 0%, #e6ebf0 45%, #9ea9b5 58%, #d9e0e7 100%); }
.hero__line2 { background-image: linear-gradient(180deg, #8fd2ff 0%, #4aa6ff 50%, #1f6fe0 100%); }
.hero .hero__text,
.hero .hero__notice {
  max-width: 34rem;
  margin: 20px auto 0;
  color: #d4dde7;
  font-size: 1rem;
  line-height: 1.55;
  text-wrap: pretty;
}

/* =====================================================================
   Model kartları
   ===================================================================== */
.main { position: relative; z-index: 1; flex: 1 0 auto; padding-bottom: clamp(70px, 9vw, 120px); }
.main__empty { padding: 40px 0; text-align: center; color: var(--muted); }

.model-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 24px);
  max-width: 880px;
  margin: 0 auto;
}
.model-cards[data-count="1"] { grid-template-columns: minmax(0, 440px); justify-content: center; }
.model-cards[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: var(--wrap); }

.model-card {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 16 / 10;
  padding: 7% 7% 6%;
  container-type: inline-size;
  border: 1px solid var(--edge);
  border-radius: 18px;
  overflow: hidden;
  color: var(--text);
  text-decoration: none;
  background:
    radial-gradient(80% 60% at 50% 30%, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0) 70%),
    linear-gradient(160deg, rgba(74, 88, 110, .55) 0%, rgba(40, 50, 68, .7) 45%, rgba(24, 31, 44, .85) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .12),
    inset 0 0 0 1px rgba(255, 255, 255, .03),
    0 30px 50px -28px rgba(0, 0, 0, .9);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.model-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--cyan), .55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .14),
    0 0 0 1px rgba(var(--cyan), .2),
    0 0 34px -10px rgba(var(--cyan), .6),
    0 34px 56px -28px rgba(0, 0, 0, .95);
}
.model-card:focus-visible { outline: 2px solid var(--cyan-hi); outline-offset: 4px; border-radius: 18px; }
.model-card.is-selected {
  border-color: rgba(var(--cyan), .85);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .14),
    0 0 0 1px rgba(var(--cyan), .35),
    0 0 40px -8px rgba(var(--cyan), .7),
    0 34px 56px -28px rgba(0, 0, 0, .95);
}
.model-cards.has-selection .model-card:not(.is-selected) { opacity: .62; }
.model-cards.has-selection .model-card:not(.is-selected):hover { opacity: 1; }

.model-card__head { position: relative; z-index: 1; display: flex; flex-direction: column; }
.model-card__brand {
  color: var(--amber);
  font-size: 1.15rem;
  font-size: max(.95rem, 4.6cqi);
  font-weight: 400;
  line-height: 1.1;
}
.model-card__name {
  margin-top: .08em;
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(1.6rem, 4.2vw, 3.4rem);
  /* 86cqi: kartın iç genişliği; harf başına ~0.84em. Kısa adlar 14.5cqi'de kalır, uzun adlar küçülür */
  font-size: min(14.5cqi, calc(86cqi / (var(--chars, 7) * 0.84)));
  line-height: .98;
  letter-spacing: .015em;
  text-transform: uppercase;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-wrap: balance;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .6));
}

/* Araç: adın önünde, kartın ortasında */
.model-card__media {
  position: absolute;
  z-index: 2;
  left: 10%;
  right: 10%;
  top: 27%;
  bottom: 23%;
  pointer-events: none;
}
/* Görsel kutuyu doldurur, oranı korunur: yatay ya da önden çekilmiş her fotoğraf kutunun içinde kalır */
.model-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 100%;
  filter: drop-shadow(0 16px 12px rgba(0, 0, 0, .5));
  transition: transform .5s var(--ease);
}
/* Arka planı kaldırılmış fotoğraf: en alttaki gölge / zemin kalıntısı yumuşakça kaybolur */
.model-card--cutout .model-card__media img {
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 84%, rgba(0, 0, 0, .35) 93%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 84%, rgba(0, 0, 0, .35) 93%, transparent 100%);
}
.model-card:hover .model-card__media img { transform: scale(1.035); }

/* Arka planlı normal fotoğraf: kartın tamamını kaplar, yazılar üstünde okunur */
.model-card--photo .model-card__media { inset: 0; z-index: 0; }
.model-card--photo .model-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
  filter: none;
}
.model-card--photo .model-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(7, 15, 28, .82) 0%,
    rgba(7, 15, 28, .45) 24%,
    rgba(7, 15, 28, 0) 44%,
    rgba(7, 15, 28, 0) 58%,
    rgba(7, 15, 28, .55) 78%,
    rgba(7, 15, 28, .9) 100%);
}
.model-card--photo .model-card__head,
.model-card--photo .model-card__foot { position: relative; z-index: 3; }
.model-card--photo .model-card__meta { color: #e8eef4; text-shadow: 0 1px 6px rgba(0, 0, 0, .7); }
.model-card--photo .model-card__brand { text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }

/* Fotoğraf yoksa: açık çizgili çizim */
.model-card__drawing {
  width: 100%;
  height: 100%;
  color: #e6edf4;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45));
}
.model-card__drawing .ln-soft { opacity: .5; }
.model-card__drawing .lights { stroke: var(--amber); }
.model-card__drawing .acc { fill: none; }
.model-card__drawing circle.acc { fill: var(--amber); stroke: none; }
.model-card__drawing .ground { opacity: .35; }

.model-card__foot {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  margin-top: auto;
}
.model-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0 14px;
  color: #d3dce6;
  font-size: .98rem;
  font-variant-numeric: tabular-nums;
}
.model-card__go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px 0 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, #6ff0ff 0%, #22c3f2 55%, #109bd8 100%);
  color: #04121f;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow:
    0 0 0 3px rgba(var(--cyan), .14),
    0 0 22px -2px rgba(var(--cyan), .75),
    inset 0 1px 0 rgba(255, 255, 255, .55);
  transition: box-shadow .25s var(--ease), background .25s var(--ease);
}
.model-card__go .icon { width: 17px; height: 17px; stroke-width: 2.2; transition: transform .25s var(--ease); }
.model-card:hover .model-card__go {
  background: linear-gradient(180deg, #96f5ff 0%, #3cd2fa 55%, #18aee8 100%);
  box-shadow: 0 0 0 3px rgba(var(--cyan), .22), 0 0 30px 0 rgba(var(--cyan), .9), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.model-card:hover .model-card__go .icon { transform: translateX(3px); }

/* Fotoğraf yoksa çizgi çizimi bir kez çizilir (tek seferlik açılış) */
@media (prefers-reduced-motion: no-preference) {
  .model-card__drawing .ln {
    stroke-dasharray: 1 1.1;
    stroke-dashoffset: 1.05;
    animation: draw-line 1.6s cubic-bezier(.65, 0, .35, 1) .2s forwards;
  }
  .model-card__drawing .wheels .ln { animation-delay: .6s; animation-duration: 1.1s; }
  @keyframes draw-line { to { stroke-dashoffset: 0; } }
}

/* =====================================================================
   Parça kataloğu
   ===================================================================== */
.catalog { margin-top: clamp(40px, 5vw, 60px); scroll-margin-top: 0; }
.catalog__bar {
  position: sticky;
  top: 0;
  z-index: 8;
  background: rgba(10, 21, 38, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-block: 1px solid var(--edge-soft);
  box-shadow: 0 12px 30px -20px rgba(0, 0, 0, .9);
}
.catalog__bar-inner {
  display: grid;
  grid-template-columns: auto minmax(220px, 380px) auto;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  min-height: 76px;
  padding-block: 12px;
}
.catalog__title { display: flex; align-items: baseline; gap: 14px; min-width: 0; }
.catalog__title .catalog__heading { margin: 0; font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 700; white-space: nowrap; }
.catalog__count { color: var(--muted); font-size: .92rem; white-space: nowrap; font-variant-numeric: tabular-nums; }

.search { position: relative; display: block; width: 100%; }
.search .icon { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input {
  width: 100%;
  height: 46px;
  padding: 0 18px 0 46px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--edge);
  border-radius: 999px;
  color: #fff;
  font-size: 1rem;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.search input::placeholder { color: var(--dim); }
.search input:focus { outline: none; border-color: rgba(var(--cyan), .9); box-shadow: 0 0 18px -4px rgba(var(--cyan), .7); }

.segmented {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  justify-self: end;
}
.segmented a {
  padding: 7px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s, background-color .2s, box-shadow .2s;
}
.segmented a:hover { color: #fff; }
.segmented a[aria-current="true"] {
  background: linear-gradient(180deg, #6ff0ff 0%, #22c3f2 55%, #109bd8 100%);
  color: #04121f;
  box-shadow: 0 0 16px -2px rgba(var(--cyan), .8);
}

.catalog__body { padding-top: clamp(24px, 3vw, 34px); }
.parts__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: clamp(14px, 1.8vw, 20px); }
.part { min-width: 0; }
.part__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 8px;
  border: 1px solid var(--edge);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(74, 88, 110, .38) 0%, rgba(30, 39, 55, .7) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  text-decoration: none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.part__link:hover {
  border-color: rgba(var(--cyan), .6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 26px -10px rgba(var(--cyan), .7);
  transform: translateY(-2px);
}
.part__media {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  background: #e9eef3;
  overflow: hidden;
}
.part__media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; mix-blend-mode: multiply; }
.part__placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: #b4c0cc; }
.part__placeholder .icon { width: 30%; height: auto; max-width: 80px; }
.part__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 10px 10px; flex: 1 1 auto; }
.part__code { color: var(--dim); font-size: .8rem; font-weight: 500; letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.part__name {
  color: #fff;
  font-size: 1.04rem;
  font-weight: 650;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.part__desc {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.part__fits { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px; }
.part__fits span {
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(var(--cyan), .12);
  color: var(--cyan-hi);
  font-size: .72rem;
  font-weight: 650;
}
.part__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 10px;
  padding: 12px 0 8px;
  border-top: 1px solid var(--edge-soft);
}
.part__price { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.part__price--ask { color: var(--muted); font-size: .85rem; font-weight: 500; }
.part__more { display: inline-flex; align-items: center; gap: 4px; flex: none; color: var(--cyan-hi); font-size: .86rem; font-weight: 700; }
.part__more .icon { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.part__link:hover .part__more .icon { transform: translateX(3px); }

.catalog__empty { max-width: 34rem; padding: clamp(28px, 5vw, 52px) 0; }
.catalog__empty h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.catalog__empty p { color: var(--muted); }

/* ---------- Parça detay penceresi ---------- */
.part-dialog {
  width: min(920px, calc(100% - 32px));
  max-height: calc(100% - 48px);
  padding: 0;
  border: 1px solid rgba(var(--cyan), .35);
  border-radius: 18px;
  background: #0c192b;
  color: var(--text);
  box-shadow: 0 0 40px -10px rgba(var(--cyan), .55), 0 30px 80px rgba(0, 0, 0, .6);
  overflow: auto;
}
.part-dialog::backdrop { background: rgba(4, 10, 20, .72); }
.part-dialog__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.part-dialog__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  cursor: pointer;
}
.part-dialog__close:hover { border-color: rgb(var(--cyan)); }
.part-dialog__media { display: grid; place-items: center; min-height: 320px; background: #e9eef3; }
.part-dialog__media img { width: 100%; height: 100%; max-height: 520px; object-fit: contain; padding: 24px; mix-blend-mode: multiply; }
.part-dialog__body { display: flex; flex-direction: column; gap: 12px; padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 40px); }
.part-dialog__code { color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
.part-dialog__name { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; line-height: 1.2; padding-right: 36px; text-wrap: balance; }
.part-dialog__fits { color: var(--muted); font-size: .92rem; }
.part-dialog__desc { white-space: pre-line; line-height: 1.65; padding-top: 12px; border-top: 1px solid var(--edge-soft); color: #d3dfe9; }
.part-dialog__price { font-size: 1.55rem; font-weight: 700; font-variant-numeric: tabular-nums; color: #fff; }
.part-dialog__price.is-ask { font-size: 1rem; font-weight: 500; color: var(--muted); }
.part-dialog__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 12px; }

.hero .hero__notice {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid rgba(var(--cyan), .45);
  border-radius: 12px;
  background: rgba(var(--cyan), .08);
  color: #e6f7ff;
}

/* ---------- Tanıtım yazısı ---------- */
.about { margin-top: clamp(48px, 6vw, 72px); }
.about__box {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(22px, 3vw, 34px) clamp(22px, 3.4vw, 40px);
  border: 1px solid var(--edge-soft);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(74, 88, 110, .22) 0%, rgba(24, 31, 44, .5) 100%);
}
.about__box h2 {
  margin-bottom: 10px;
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  font-weight: 700;
  color: #f1f5f9;
}
.about__box p { max-width: 70ch; color: var(--muted); font-size: .96rem; line-height: 1.7; }
.about__box p + p { margin-top: 10px; }

/* =====================================================================
   Alt bilgi (kavisli geçiş)
   ===================================================================== */
.site-footer {
  position: relative;
  flex: none;
  overflow: hidden;
  background: linear-gradient(180deg, #1f242c 0%, var(--footer) 60%, #14171d 100%);
  color: var(--muted);
  font-size: .86rem;
}
.site-footer::before {
  content: "";
  position: absolute;
  left: -15%;
  right: -15%;
  top: -1px;
  height: clamp(28px, 4vw, 54px);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  background: var(--bg-deep);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.site-footer__inner {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 12px 36px;
  padding-block: calc(clamp(28px, 4vw, 54px) + 22px) 20px;
}
.site-footer__brand {
  font-stretch: 125%;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .05em;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.site-footer__note { max-width: 46rem; line-height: 1.55; }
.site-footer__copy { white-space: nowrap; }
.site-footer__credit { border-top: 1px solid rgba(255, 255, 255, .06); }
.site-footer__credit-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
  padding-block: 14px;
  font-size: .82rem;
  color: var(--dim);
}
.site-footer__credit a { color: var(--cyan-hi); font-weight: 600; text-decoration: none; }
.site-footer__credit a:hover { text-decoration: underline; text-underline-offset: 3px; }

.quick-bar { display: none; }

/* =====================================================================
   Duyarlı yerleşim
   ===================================================================== */
@media (max-width: 1080px) {
  .catalog__bar-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .catalog__bar-inner .search { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 900px) {
  .model-cards, .model-cards[data-count="3"] { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
}
@media (max-width: 760px) {
  .site-header { padding-top: 10px; }
  .site-header__inner { min-height: 60px; padding: 8px 8px 8px 16px; gap: 10px; border-radius: 14px; }
  .brand { gap: 12px; }
  .brand__name { font-size: 1.3rem; }
  .brand__name--long { font-size: 1.08rem; letter-spacing: .03em; white-space: nowrap; }
  .brand__tagline { display: none; }
  .site-nav { gap: 16px; }
  .btn-neon.cpop__toggle { min-height: 40px; padding: 0 14px; font-size: .9rem; }
  .cpop { position: static; }
  .cpop__panel { left: 0; right: 0; width: auto; }
  .hero__inner { padding-top: 36px; }
  .catalog__title { flex-direction: column; gap: 0; }
  .part-dialog__inner { grid-template-columns: minmax(0, 1fr); }
  .part-dialog__media { min-height: 220px; }
  .part-dialog__media img { max-height: 300px; }
  .site-footer__inner { grid-template-columns: minmax(0, 1fr); }

  body:has(.quick-bar) { padding-bottom: 58px; }
  .quick-bar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 20;
    display: flex;
    background: rgba(10, 21, 38, .97);
    border-top: 1px solid rgba(var(--cyan), .3);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .quick-bar a {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 56px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
  }
  .quick-bar a + a { border-left: 1px solid var(--edge-soft); }
  .quick-bar .icon { color: var(--cyan-hi); }
}
@media (max-width: 380px) {
  .brand__name--long { font-size: .98rem; }
  .site-nav { gap: 12px; }
}
@media (max-width: 520px) {
  .hero .hero__title { font-size: clamp(1.4rem, 6.3vw, 2.1rem); }
  .hero .hero__text, .hero .hero__notice { font-size: .95rem; }
  .site-nav__link { font-size: .92rem; }
  .model-card { aspect-ratio: 4 / 3.1; }
  .model-card__media { top: 29%; bottom: 25%; }
  .model-card__meta { font-size: .9rem; }
  .model-card__go { min-height: 38px; padding: 0 14px 0 16px; font-size: .76rem; }
  .segmented a { padding: 7px 12px; }
  .catalog__bar-inner { grid-template-columns: minmax(0, 1fr); }
  .catalog__bar-inner .search { grid-column: 1; grid-row: auto; }
  .catalog__title { flex-direction: row; align-items: baseline; gap: 10px; }
  .catalog__title .catalog__heading { white-space: normal; }
  .segmented { justify-self: stretch; }
  .segmented a { flex: 1 1 0; text-align: center; }
  .parts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .part__link { padding: 6px; border-radius: 14px; }
  .part__body { padding: 10px 6px 8px; }
  .part__foot { margin: 0 6px; padding: 10px 0 6px; }
  .part__desc, .part__more { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  html { scroll-behavior: auto; }
}
