/* =========================================================
   SCO Gear Industry - Ürün kategori (seri) sayfası
   Referans: product-categorie/Frame.png (1440 px genişlik)
   Ortak parçalar (topbar, header, footer) style.css içinde
   ========================================================= */

:root {
  --cat-blue: #023e84;
  --cat-bg: #f4f7fd;
  --cat-line: #c9d2e5;
  --cat-muted: #95a1bb;
}

.page-category { background: var(--cat-bg); }
.page-category .topbar { background: #c0c7cd; }
.page-category .topbar__inner { height: 36px; }

/* ---------- Açık header ---------- */
.header--light { background: var(--cat-bg); }
.header--light .header__inner { height: 101px; }
.header--light .header__logo { margin-top: 4px; margin-left: 3px; }
.header--light .header__logo img { width: 167px; }
.header--light .nav { margin-left: 121px; }
.header--light .nav a { height: 101px; padding-top: 10px; }
.header--light .nav a.is-active { color: var(--cat-blue); }
.header--light .nav a.is-active::after { left: 12px; right: 12px; bottom: 23px; height: 4px; background: var(--cat-blue); }
.header--light .search { background: #fff; }
.header--light .search svg { stroke: var(--cat-blue); }
.header--light .lang { color: var(--cat-blue); }

/* ---------- Seri başlığı ---------- */
.cat-hero {
  height: 288px;
  /* 1440'ta tasarımdaki gibi 1477 px; daha geniş ekranda genişliğe göre büyür */
  background: #dfe7f1 url(../images/v266_36.png) -37px 50% / max(1477px, calc(100% + 37px)) auto no-repeat;
}
.cat-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 35px 40px 0 23px;
}
.crumbs { display: flex; align-items: center; font-size: 16px; line-height: 20px; font-weight: 300; letter-spacing: -.012em; color: #3f4651; }
.crumbs a:hover { color: var(--cat-blue); }
.crumbs__sep { margin: 0 8px; }
.cat-hero__title {
  margin-top: 61px;
  font-size: 55.3px;
  line-height: 68px;
  font-weight: 700;
  color: var(--cat-blue);
  letter-spacing: -.005em;
}
.cat-hero__text { margin-top: 0; font-size: 17px; line-height: 21px; font-weight: 300; color: #3f4651; }

/* ---------- Gövde ---------- */
.cat-body { padding: 31px 0 42px; }
.cat-layout {
  max-width: 1196px;
  margin: 0 auto;
  position: relative;
  left: -24px;
  display: grid;
  grid-template-columns: 251px 1fr;
  column-gap: 33px;
  align-items: start;
}

/* Filtre kutusu */
.filters {
  padding: 22px 19px 16px 18px;
  background: #fff;
  border-radius: 6px;
}
.filters__title { font-size: 16px; line-height: 20px; font-weight: 700; color: #000; }
.filters__title--group { margin-top: 17px; }
.filters__title--rule { margin-top: 11px; }

.filters__search {
  margin-top: 8px;
  height: 31px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 7px;
  border: 1px solid #e4e6e8;
  border-radius: 4px;
  cursor: text;
}
.filters__search svg { width: 14px; height: 14px; flex: none; fill: none; stroke: var(--cat-blue); stroke-width: 3; stroke-linecap: round; }
.filters__search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 300 8.6px 'Sora', sans-serif; letter-spacing: -.01em; color: #111; }
.filters__search input::placeholder { color: #717e86; }
.filters__search:focus-within { border-color: var(--cat-blue); }

.checks {
  width: 210px;
  margin-top: 3px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--cat-line);
}
.checks + .filters__title--rule { margin-top: 11px; }
.checks:last-of-type { margin-top: 7px; padding-bottom: 17px; }
.checks li { height: 25px; display: flex; align-items: center; }
.checks label { display: flex; align-items: center; gap: 8px; font-size: 12px; cursor: pointer; }
.checks input {
  appearance: none;
  width: 15px;
  height: 15px;
  margin: 0;
  flex: none;
  border: 1px solid #b8bec2;
  border-radius: 2px;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.checks input:checked { background: var(--cat-blue); border-color: var(--cat-blue); }
.checks input:checked::after { content: ''; width: 4px; height: 8px; margin-top: -2px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.checks input:focus-visible { outline: 2px solid var(--cat-blue); outline-offset: 2px; }
.checks label:hover span { color: var(--cat-blue); }

.filters__clear {
  margin-top: 17px;
  width: 215px;
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding-left: 6px;
  border: 1px solid #809ec1;
  border-radius: 5px;
  background: #fff;
  font: 300 14px 'Sora', sans-serif;
  color: var(--cat-blue);
  cursor: pointer;
  transition: background-color .2s;
}
.filters__clear:hover { background: #eef3fc; }
.filters__clear svg { width: 17px; height: 17px; fill: none; stroke: var(--cat-blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Yardım kutusu */
.help {
  margin-top: 10px;
  min-height: 109px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 15px 8px 12px 10px;
  background: #e6eefd;
  border-radius: 6px;
}
.help__icon {
  width: 38px;
  height: 38px;
  flex: none;
  margin-top: 19px;
  display: grid;
  place-items: center;
  border: 1px solid #7496c0;
  border-radius: 50%;
}
.help__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--cat-blue); stroke-width: 1.4; }
.help__title { font-size: 15px; line-height: 19px; font-weight: 700; color: #000; }
.help__text { margin-top: 3px; font-size: 11px; line-height: 14px; color: #98a1b8; }
.help__link { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; line-height: 16px; color: var(--cat-blue); }
.help__link svg { width: 20px; height: 20px; fill: none; stroke: var(--cat-blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.help__link:hover svg { transform: translateX(3px); }

/* Ürün kartları */
.pgrid {
  display: grid;
  grid-template-columns: repeat(4, 222px);
  gap: 12px 8px;
  align-items: stretch;
}
.pcard {
  display: flex;
  flex-direction: column;
  min-height: 335px;
  height: 100%;
  padding: 14px 16px 16px 16px;
  background: #fff;
  border: 1px solid #e4e8f2;
  border-radius: 4px;
  transition: box-shadow .25s, transform .25s;
  box-sizing: border-box;
}
.pcard:hover { box-shadow: 0 12px 28px rgba(2, 62, 132, .12); transform: translateY(-3px); }
.pcard__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 136px;
  height: 136px;
  margin: 0 auto;
  flex-shrink: 0;
}
.pcard__media img { max-width: 136px; max-height: 136px; object-fit: contain; transition: transform .35s; }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__code {
  margin-top: 14px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--cat-line);
  font-size: 13px;
  line-height: 16px;
  white-space: nowrap;
}
.pcard__code span { color: var(--cat-blue); }
.pcard__code strong { font-weight: 700; color: #000; }
.pcard__name {
  margin-top: 8px;
  font-size: 13px;
  line-height: 16px;
  font-weight: 700;
  color: #000;
  min-height: 32px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcard__name a { color: inherit; text-decoration: none; }
.pcard__name a:hover { color: var(--cat-blue); }
.pcard__specs {
  font-size: 11px;
  line-height: 14px;
  color: #1c4586;
  background: #f0f5ff;
  border: 1px solid #dbeafe;
  padding: 2px 6px;
  border-radius: 3px;
  margin-top: 4px;
  margin-bottom: 2px;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.pcard__oem {
  margin-top: 5px;
  font-size: 12px;
  line-height: 15px;
  font-weight: 300;
  color: var(--cat-muted);
  max-height: 50px;
  overflow-y: auto;
  scrollbar-width: thin;
  margin-bottom: 10px;
}
.pcard__oem::-webkit-scrollbar {
  width: 3px;
}
.pcard__oem::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 2px;
}
.pcard__btn {
  margin-top: auto;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  background: var(--cat-blue);
  font-size: 12px;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  transition: background-color .2s;
  flex-shrink: 0;
}
.pcard__btn:hover { background: #012c5f; }

/* Sayfalama */
.pager {
  margin-top: 27px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 13px;
  color: #6a6b6b;
}
.pager a, .pager span { min-width: 15px; height: 16px; display: grid; place-items: center; }
.pager a:hover { color: var(--cat-blue); }
.pager .is-current { background: var(--cat-blue); color: #fff; border-radius: 2px; }
.pager .is-current:hover { color: #fff; }
.pager__arrow { width: 16px; border: 1px solid #b9bbbe; border-radius: 2px; }
.pager__arrow svg { width: 12px; height: 12px; fill: none; stroke: #555; stroke-width: 2; }
.pager__arrow:first-child { margin-right: 4px; }
.pager__arrow:last-child { margin-left: -1px; }
.pager__gap { letter-spacing: -.5px; margin: 0 3px; }

/* Kayan yazı */
.marquee { height: 44px; display: flex; align-items: center; overflow: hidden; }
.marquee__track {
  display: flex;
  flex: none;
  white-space: nowrap;
  font-size: 12px;
  line-height: 15px;
  font-weight: 300;
  letter-spacing: 3.5px;
  color: #000;
  transform: translateX(-98px);
  animation: marquee 40s linear infinite;
}
.marquee span { padding: 0 0 0 0; }
.marquee i { font-style: normal; margin: 0 12.5px 0 17.5px; }
@keyframes marquee { from { transform: translateX(-98px); } to { transform: translateX(calc(-50% - 98px)); } }

/* =========================================================
   Duyarlı düzen
   ========================================================= */
@media (max-width: 1240px) {
  .cat-layout { left: 0; padding: 0 24px; max-width: none; grid-template-columns: 251px 1fr; }
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  .header--light .header__inner { height: 84px; }
  .header--light .nav { top: 84px; }
  .header--light .nav a { height: 52px; }
  .header--light .nav a.is-active::after { left: 0; right: auto; top: 0; bottom: 0; width: 3px; height: auto; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .header--light .header__inner { height: 76px; }
  .header--light .header__logo img { width: 130px; }
  .header--light .nav { top: 76px; }
  .cat-hero {
    height: auto;
    padding-bottom: 214px;
    background:
      linear-gradient(to bottom, #eef3fa calc(100% - 200px), rgba(238, 243, 250, 0) calc(100% - 130px)),
      url(../images/v266_36.png) 88% 100% / auto 200px no-repeat,
      #dfe7f1;
  }
  .cat-hero__inner { padding: 22px 24px 0; }
  .crumbs { font-size: 14px; }
  .cat-hero__title { margin-top: 26px; font-size: 38px; line-height: 46px; }
  .cat-hero__text { margin-top: 4px; font-size: 15px; color: #2f3640; }
  .cat-layout { grid-template-columns: 1fr; row-gap: 20px; }
  .filters__clear { width: 100%; }
  .checks { width: auto; }
}

@media (max-width: 560px) {
  .cat-hero__text br { display: none; }
  .pgrid { gap: 10px; }
  .pcard { height: auto; padding: 10px 12px 14px; }
  .pcard__media, .pcard__media img { width: 110px; height: 110px; }
  .pcard__code { font-size: 11.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}
