/* =========================================================
   SCO Gear Industry - Ürün detay sayfası
   Referans: prdouct-detail/ürün_tekli.psd.png (1440 px genişlik)
   Ortak parçalar (topbar, header, footer) style.css içinde
   ========================================================= */

@font-face { font-family: 'Roboto'; font-weight: 400; font-display: swap; src: url(../fonts/roboto-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Roboto'; font-weight: 400; font-display: swap; src: url(../fonts/roboto-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --d-navy: #023e84;
  --d-bg: #f4f7fd;
  --d-panel: #e6eefd;
  --d-soft: #dfe9fd;
  --d-muted: #9caec5;
  --d-line: #e3eaf4;
}

body.page-detail { background: var(--d-bg); overflow-x: hidden; position: relative; }

/* ---------- Arka plan lekeleri (1440 düzenine göre ortalanır) ---------- */
.detail-bg {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2096px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.detail-bg__stage { position: absolute; top: 0; left: 50%; width: 1440px; height: 100%; margin-left: -720px; }
.detail-bg__blob { position: absolute; max-width: none; }
.detail-bg__blob--1 { left: -758px; top: 70px; width: 960px; height: 758px; }
.detail-bg__blob--2 { left: 674px; top: 453px; width: 755px; height: 973px; }
.detail-bg__blob--3 { left: -275px; top: 1398px; width: 755px; height: 973px; }

.page-detail .topbar { position: relative; z-index: 2; background: #a4aeb3; height: 36px; }
.page-detail .topbar__inner { height: 36px; padding-right: 28px; }

/* ---------- Header (açık zemin) ---------- */
.header--detail { background: transparent; }
.header--detail .header__inner { height: 100px; padding-top: 14px; }
.header--detail .header__logo { margin-top: -13px; }
.header--detail .nav a { height: 86px; }
.header--detail .nav a.is-active { color: var(--d-navy); }
.header--detail .nav a.is-active::after { background: var(--d-navy); bottom: 21px; height: 4px; left: 12px; right: 12px; }
.header--detail .search { background: #fff; }
.header--detail .search svg { visibility: hidden; }
.header--detail .lang { font-size: 17px; color: #054085; }

/* ---------- Breadcrumb + hızlı arama ---------- */
.crumbbar {
  position: relative;
  z-index: 1;
  height: 79px;
  background: #fff;
  display: flex;
  align-items: center;
}
.crumbs {
  padding-left: max(24px, calc(50% - 619px));
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 9.1px;
  color: #000;
  white-space: nowrap;
}
.crumbs a:hover { color: var(--d-navy); }

.quick {
  margin-left: auto;
  align-self: flex-start;
  margin-top: 8px;
  height: 62px;
  width: calc(50% - 6px);
  display: flex;
}
.quick__icon {
  width: 62px;
  flex: none;
  border: 0;
  border-radius: 6px;
  background: var(--d-soft);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.quick__icon svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; }
.quick__input {
  width: 294px;
  flex: none;
  margin-left: 1px;
  padding: 0 13px;
  border: 0;
  border-radius: 6px 0 0 6px;
  background: var(--d-panel);
  font: 300 13px 'Sora', sans-serif;
  color: #111;
  outline: none;
}
.quick__input::placeholder { color: #6f6f6e; }
.quick__adv {
  flex: 1;
  margin-left: 0;
  display: flex;
  align-items: center;
  padding-left: 51px;
  background: var(--d-navy);
  border-radius: 6px 0 0 6px;
  font-size: 13px;
  font-weight: 300;
  color: #fff;
  transition: background-color .2s;
}
.quick__adv:hover { background: #01336d; }

/* ---------- Ana gövde ---------- */
.detail {
  position: relative;
  z-index: 1;
  max-width: 1194px;
  margin: 0 auto;
  padding-top: 19px;
}

/* Gelişmiş arama paneli */
.finder {
  height: 300px;
  padding: 59px 74px 0 78px;
  background: var(--d-panel);
}
.finder__title { font-size: 21.4px; line-height: 28px; font-weight: 400; color: var(--d-navy); }
.finder__text { margin-top: 20px; font-size: 12px; color: var(--d-muted); }
.finder__form {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 253px);
  gap: 10px;
  margin-left: -3px;
}
.finder__form input {
  height: 44px;
  padding: 0 9px;
  border: 0;
  border-radius: 2px;
  background: #fff;
  font: 400 12.4px 'Sora', sans-serif;
  color: #111;
  outline: none;
}
.finder__form input::placeholder { color: var(--d-muted); }
.finder__form input:focus { box-shadow: 0 0 0 2px rgba(2, 62, 132, .25); }
.finder__form button {
  height: 44px;
  border: 0;
  border-radius: 2px;
  background: var(--d-navy);
  color: #fff;
  font: 700 12.4px 'Sora', sans-serif;
  cursor: pointer;
  transition: background-color .2s;
}
.finder__form button:hover { background: #01336d; }

/* Ürün bilgisi */
.product-main {
  margin: 24px 2px 0;
  display: grid;
  grid-template-columns: 588px 588px;
  gap: 14px;
  align-items: stretch;
}
.product-main__media,
.product-main__info {
  min-height: 480px;
  height: auto;
  background: #fff;
  border-radius: 6px;
  box-sizing: border-box;
}
.product-main__media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.product-main__media img { max-width: 362px; max-height: 362px; width: auto; height: auto; object-fit: contain; }

.product-main__info {
  padding: 34px 30px 28px 30px;
  display: flex;
  flex-direction: column;
}
.pinfo__code { font-size: 18.2px; line-height: 23px; color: #e30613; }
.pinfo__name {
  margin-top: 16px;
  padding: 14px 0 18px;
  border-top: 2px solid var(--d-line);
  border-bottom: 2px solid var(--d-line);
  font-size: 32px;
  line-height: 40px;
  font-weight: 400;
  color: var(--d-navy);
}
.pinfo__specs {
  margin: 10px 0 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eef4ff;
  color: #1c4586;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #bfdbfe;
  align-self: flex-start;
}
.pinfo__oem { padding: 12px 0 14px 1px; border-bottom: 2px solid var(--d-line); }
.pinfo__oem span { display: block; font-size: 16px; font-weight: 300; line-height: 20px; }
.pinfo__oem strong { display: block; margin-top: 6px; font-size: 19px; line-height: 25px; font-weight: 400; }
.pinfo__actions { margin-top: 18px; display: grid; grid-template-columns: 262px 262px; gap: 8px; }
.pbtn {
  height: 39px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 300;
  transition: background-color .2s;
}
.pbtn--light { background: var(--d-soft); color: #000; }
.pbtn--light:hover { background: #d0def8; }
.pbtn--dark { background: var(--d-navy); color: #fff; }
.pbtn--dark:hover { background: #01336d; }
.pinfo__share { margin-top: 22px; font-size: 13px; font-weight: 300; padding-left: 1px; }
.pinfo__social { margin-top: 10px; display: flex; gap: 16px; padding-left: 4px; align-items: center; }
.pinfo__social a { opacity: .9; transition: opacity .2s; display: inline-flex; align-items: center; }
.pinfo__social a:hover { opacity: .5; }

/* Açıklama */
.desc { margin: 21px 2px 0; }
.desc__tabs { display: flex; }
.desc__tab {
  position: relative;
  width: 231px;
  height: 56px;
  border: 0;
  background: #fff;
  font: 400 16px 'Sora', sans-serif;
  color: var(--d-navy);
  text-align: left;
  padding: 0 0 0 28px;
  cursor: pointer;
}
.desc__tab.is-active::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 206px;
  height: 2px;
  background: linear-gradient(to right, var(--d-navy) 30%, #bcccde 80%, rgba(188, 204, 222, 0));
}
.desc__card {
  height: 547px;
  padding: 81px 74px 0 75px;
  background: #fff;
  border-radius: 0 42px 42px 42px;
}
.desc__grid { display: grid; grid-template-columns: repeat(4, 237px); justify-content: space-between; }
.tile {
  height: 312px;
  padding: 51px 20px 0 32px;
  background: var(--d-panel);
  border-radius: 10px;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 19px;
}
.tile__icon { display: block; height: 44px; width: auto; object-fit: none; object-position: left top; }
.tile h3 { margin-top: 33px; font-size: 16px; font-weight: 400; line-height: 19px; }
.tile p { margin-top: 19px; }

.desc__foot { margin-top: 47px; display: flex; align-items: center; justify-content: space-between; }
.tile:nth-child(n+3) { padding-left: 21px; }
.desc__foot p { font-size: 12.9px; line-height: 16px; }
.desc__catalog {
  width: 238px;
  height: 47px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background: var(--d-navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  transition: background-color .2s;
}
.desc__catalog:hover { background: #01336d; }

/* Benzer ürünler */
.related {
  position: relative;
  margin: 40px 0 25px;
  padding: 0 66px;
}
.related__viewport {
  overflow: hidden;
  padding: 10px 4px 18px;
  margin: -10px -4px -18px;
}
.related__track {
  display: flex;
  gap: 18px;
  transition: transform .4s ease;
  scroll-behavior: smooth;
}
.rcard {
  position: relative;
  width: 253px;
  min-height: 320px;
  height: 320px;
  flex: none;
  padding: 18px 16px 16px 16px;
  background: #fff;
  border: 1px solid #e4e8f2;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  box-sizing: border-box;
  transition: box-shadow .25s, transform .25s;
}
.rcard:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(2, 62, 132, .14); }
.rcard__img {
  width: 140px;
  height: 140px;
  margin: 0 auto;
  object-fit: contain;
  display: block;
}
.rcard__code {
  margin-top: 14px;
  font-size: 11px;
  line-height: 15px;
  color: #7b7d7f;
  display: block;
}
.rcard__name {
  margin-top: 4px;
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  color: var(--d-navy);
  min-height: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rcard__go {
  margin-top: auto;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  align-self: flex-start;
}
.related__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  z-index: 5;
  transition: opacity .2s;
}
.related__nav:hover { opacity: .6; }
.related__nav--prev { left: 16px; }
.related__nav--next { right: 16px; }

/* Kayan yazı */
.ticker {
  margin: 45px 0 0;
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  height: 38px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.ticker__track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  padding-left: 5px;
  will-change: transform;
  animation: ticker 32s linear infinite;
}
.ticker span { font-size: 12.9px; font-weight: 300; color: #4b5563; }
.ticker span::after { content: 'I'; margin: 0 9px 0 11px; }
@keyframes ticker {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.page-detail .footer { position: relative; z-index: 1; margin-top: 30px; }

/* =========================================================
   Duyarlı düzen
   ========================================================= */
@media (max-width: 1240px) {
  .detail { padding-left: 24px; padding-right: 24px; }
  .finder { height: auto; padding: 40px 32px; }
  .finder__form { grid-template-columns: repeat(4, 1fr); margin-left: 0; }
  .product-main { grid-template-columns: 1fr 1fr; }
  .product-main__media { padding: 24px; display: grid; place-items: center; }
  .product-main__media img { width: 100%; max-width: 362px; height: auto; }
  .pinfo__actions { grid-template-columns: 1fr 1fr; }
  .desc__card { height: auto; padding: 48px 32px 40px; }
  .desc__grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .tile { height: auto; padding: 32px 18px 28px; }
  .tile p br, .tile h3 br { display: none; }
}

@media (max-width: 1100px) {
  .crumbbar { height: auto; flex-direction: column; align-items: stretch; }
  .crumbs { padding: 18px 24px; flex-wrap: wrap; }
  .quick { width: 100%; max-width: none; margin: 0; height: 52px; }
  .quick__input { flex: 1; width: auto; min-width: 0; }
  .quick__adv { flex: none; margin-left: 0; padding: 0 22px; border-radius: 0; }
  .desc__grid { grid-template-columns: repeat(2, 1fr); }
  .desc__foot { flex-direction: column; align-items: flex-start; gap: 20px; }
  .desc__foot br { display: none; }
}

@media (max-width: 768px) {
  .header--detail .header__inner { height: 76px; padding-top: 0; }
  .header--detail .header__logo { margin-top: 0; }
  .header--detail .nav a { height: 52px; }
  .header--detail .nav { background: #fff; }

  .finder__title { font-size: 18px; line-height: 24px; }
  .finder__form { grid-template-columns: 1fr 1fr; }
  .product-main { grid-template-columns: 1fr; }
  .product-main__media, .product-main__info { height: auto; }
  .product-main__info { padding: 28px 22px 26px; }
  .pinfo__name { font-size: 28px; line-height: 36px; }
  .pinfo__actions { grid-template-columns: 1fr; }
  .related { padding: 0 34px; }
  .related__nav { top: 127px; }
}

@media (max-width: 560px) {
  .finder__form { grid-template-columns: 1fr; }
  .desc__grid { grid-template-columns: 1fr; }
  .desc__card { border-radius: 0 24px 24px 24px; padding: 32px 18px; }
  .desc__tab { width: auto; padding: 0 24px; }
  .quick__adv { padding: 0 14px; font-size: 12px; }
  .quick__icon { width: 52px; }
  .related { padding: 0 30px; }
  .rcard { width: calc(100vw - 108px); max-width: 253px; }
  .rcard__img { margin: 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation-duration: 80s; }
}
