/* ==========================================================================
   1. HERO SLIDER  (tam kaplama görsel + üstte yazı)
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 700px;
  background: var(--dark, #111214);
}

/* --- Slayt katmanı --- */
.hero-slides { position: absolute; inset: 0; }

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .7s var(--ease, ease), visibility .7s var(--ease, ease);
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* --- Görsel: en arkada, tamamını kaplar --- */
.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Hafif alt gölge; okunabilirlik yazı bloğunun kendi zemininden geliyor */
.hero-mask {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
              rgba(17,18,20,.28) 0%,
              rgba(17,18,20,.10) 40%,
              rgba(17,18,20,.35) 100%);
}
/* --- Yazı bloğu --- */
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: calc(var(--header-h) + 20px);
  padding-bottom: 200px;   /* alttaki oklara ve kategori şeridine yer */
}
.hero-text { max-width: 640px; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .95rem;
  letter-spacing: .08em;
  color: rgba(255,255,255,.72);
  margin-bottom: 18px;
}
.hero-eyebrow::after {
  content: "";
  width: 54px;
  height: 2px;
  background: var(--brand-red, #E1121A);
}

.hero-title {
  font-size: clamp(2rem, 3.6vw, 3.3rem);
  line-height: 1.15;
  color: #fff;
  margin: 0 0 20px;
}
.hero-desc {
  font-size: 2.02rem;
  line-height: 1.7;
  color: rgba(255,255,255,.85);
  margin: 0 0 32px;
  max-width: 46em;
}

/* --- Oklar: sol altta, görselin üstünde --- */
.hero-nav-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 190px;
  z-index: 3;
}
.hero-nav { display: flex; gap: 18px; justify-content: flex-end; }
.hero-nav .ring-arrow { color: #fff; }
.hero-nav .ring-bg { stroke: rgba(255,255,255,.4); }

/* --------------------------------------------------------------------------
   HERO — TABLET
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .hero { min-height: 640px; }
  .hero-text { max-width: 560px; }
  .hero-nav-wrap { bottom: 180px; }
}

/* --------------------------------------------------------------------------
   HERO — MOBİL
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .hero { min-height: 560px; }
  .hero-mask {
    background: linear-gradient(180deg,
                rgba(17,18,20,.55) 0%,
                rgba(17,18,20,.88) 100%);
  }
  .hero-inner {
    padding-top: calc(var(--header-h) + 16px);
    padding-bottom: 180px;
  }
  .hero-text { max-width: none; }
  .hero-title { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .hero-desc { font-size: .96rem; margin-bottom: 26px; }
  .hero-nav-wrap { bottom: 160px; }
  .hero-nav .ring-arrow { width: 52px; height: 52px; }
  .hero-nav { gap: 14px; }
}
/* --------------------------------------------------------------------------
   4. KATEGORİ ŞERİDİ
   -------------------------------------------------------------------------- */
.cat-strip {
  position: relative; z-index: 5;
  margin-top: -110px;          /* hero'nun alt boşluğuna oturur */
  padding-bottom: 60px;
}

.cat-card {
  position: relative;
  display: flex; align-items: stretch; gap: 4px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 18px 22px;
  overflow: hidden;
}

/* Sol taraftaki dikey "KATEGORİLER" yazısı */
.cat-label {
  flex: 0 0 auto;
  writing-mode: vertical-rl; transform: rotate(180deg);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800;
  font-size: .78rem; letter-spacing: .12em;
  color: var(--brand-red);
  padding: 4px 10px 4px 0;
  user-select: none;
}

/* Kenar solmasının yumuşak geçmesi için (destekleyen tarayıcılarda) */
@property --fade-l { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --fade-r { syntax: "<length>"; inherits: false; initial-value: 0px; }

/* Kaydırılabilir şerit */
.cat-track {
  display: flex; align-items: stretch; gap: 6px;
  overflow-x: auto; overflow-y: hidden;
  scroll-behavior: smooth;
  cursor: grab;
  scrollbar-width: none;              /* Firefox */
  -ms-overflow-style: none;

  /* İki kenarda solma: kayan ilk/son kutular kaybolarak çıkar */
  --fade-l: 0px;
  --fade-r: 0px;
  --fade-size: 56px;
  -webkit-mask-image: linear-gradient(to right,
      transparent 0, #000 var(--fade-l),
      #000 calc(100% - var(--fade-r)), transparent 100%);
  mask-image: linear-gradient(to right,
      transparent 0, #000 var(--fade-l),
      #000 calc(100% - var(--fade-r)), transparent 100%);
  transition: --fade-l .3s var(--ease), --fade-r .3s var(--ease);
}
/* Sadece o yönde kaydırılacak içerik varsa solma açılır */
.cat-track.fade-start { --fade-l: var(--fade-size); }
.cat-track.fade-end   { --fade-r: var(--fade-size); }
.cat-track::-webkit-scrollbar { display: none; }   /* Chrome / Safari */
.cat-track.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.cat-track.is-dragging .cat-item { pointer-events: none; }

/* Tek kategori */
.cat-item {
  position: relative;
  flex: 0 0 158px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  gap: 14px;
  padding: 18px 12px 16px;
  border-radius: 14px;
  text-align: center;
  transition: background var(--t-base);
  -webkit-user-drag: none;
}
.cat-item:hover { background: var(--gray-100); }

.cat-ico {
  font-size: 2rem; line-height: 1;
  color: var(--brand-black-soft);
  transition: color var(--t-base), transform var(--t-base);
}
.cat-item:hover .cat-ico { color: var(--brand-red); transform: translateY(-2px); }

.cat-name {
  font-family: var(--font-display); font-weight: 700; font-size: .88rem;
  line-height: 1.3; color: var(--brand-black);
  transition: color var(--t-base);
}

/* Hover'da sağ üstte çıkan kırmızı ok (6. ekran görüntüsü) */
.cat-badge {
  position: absolute; top: 10px; right: 10px;
  width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 50%; background: var(--brand-red); color: var(--white);
  font-size: .8rem;
  opacity: 0; transform: scale(.5);
  transition: opacity var(--t-base), transform var(--t-base);
}
.cat-item:hover .cat-badge { opacity: 1; transform: scale(1); }

/* Oklar: her ekranda var, ama sadece şerit taşıyorsa görünür.
   Kartın içinde normal akışta duruyorlar, ürünlerin üstünü kapatmıyorlar. */
.cat-arrow {
  flex: 0 0 auto; align-self: center;
  width: 42px; height: 42px; display: grid; place-items: center;
  margin-inline: 4px;
  border: 1px solid var(--gray-300); border-radius: 50%;
  background: var(--white); color: var(--brand-black); font-size: 1rem;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast),
              border-color var(--t-fast), opacity var(--t-fast);
}
.cat-arrow:hover { background: var(--brand-red); color: var(--white); border-color: var(--brand-red); }
.cat-arrow[disabled] { opacity: .28; pointer-events: none; }

/* Tüm kategoriler ekrana sığıyorsa oklar hiç görünmesin */
.cat-card:not(.can-scroll) .cat-arrow { display: none; }

@media (max-width: 991.98px) {
  .cat-strip { margin-top: -90px; padding-bottom: 40px; }

  .cat-card { padding: 14px 12px; gap: 0; }
  .cat-label { font-size: .68rem; letter-spacing: .1em; padding-right: 6px; }

  .cat-track { cursor: auto; }
  .cat-item { flex: 0 0 128px; padding: 14px 8px 12px; gap: 10px; }
  .cat-ico { font-size: 1.7rem; }
  .cat-name { font-size: .8rem; }
  .cat-badge { display: none; }

  .cat-track { --fade-size: 36px; }
  .cat-arrow { width: 36px; height: 36px; font-size: .9rem; margin-inline: 2px; }
  .cat-arrow:active { background: var(--brand-red); color: var(--white); border-color: var(--brand-red); }
}

/* --------------------------------------------------------------------------
   5. HAKKIMIZDA
   -------------------------------------------------------------------------- */
.about { padding: 40px 0 100px; }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 70px;
  align-items: center;
}

/* ---- Sol: görsel slider ---- */
.about-gallery { position: relative; }

.about-frame {
  position: relative;
  aspect-ratio: 8 / 7;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--gray-100);
}
.about-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04);
  transition: opacity .7s var(--ease), transform .9s var(--ease);
}
.about-slide.is-active { opacity: 1; transform: scale(1); }

/* Görselin sağ kenarına oturan dikey noktalar */
.about-dots {
  position: absolute; top: 50%; right: -20px; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  padding: 22px 12px;
  background: var(--white);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-card);
  z-index: 2;
}
.about-dot {
  position: relative;
  width: 8px; height: 8px; padding: 0;
  border: 0; border-radius: 50%;
  background: var(--gray-300);
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-base);
}
.about-dot:hover { background: var(--gray-500); }
.about-dot.is-active {
  background: var(--brand-red);
  transform: scale(.9);
  box-shadow: 0 0 0 6px var(--white), 0 0 0 7.5px var(--brand-red);
}

/* ---- Sağ: metin ---- */
.about-content { position: relative; }

/* Sol kenardaki dikey "Hakkımızda" etiketi */
.about-side-label {
  position: absolute; left: -46px; bottom: 10px;
  display: flex; align-items: center; gap: 14px;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--font-display); font-weight: 700; font-size: .82rem;
  letter-spacing: .06em; color: var(--gray-500);
  user-select: none;
}
.about-side-label i { color: var(--brand-red); font-size: .95rem; }

.about-eyebrow {
  display: block; margin-bottom: 16px;
  font-family: var(--font-display); font-weight: 800; font-size: .95rem;
  color: var(--brand-red);
}

.about-title { font-size: clamp(1.8rem, 2.9vw, 2.7rem); margin-bottom: 22px; }

.about-text { max-width: 44em; margin-bottom: 34px; }

/* ---- Öne çıkan üç madde ---- */
.about-features { display: grid; gap: 6px; margin-bottom: 34px; max-width: 460px; }

.about-feature {
  display: flex; align-items: center; gap: 18px;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  transition: background var(--t-base);
}
.about-feature:hover { background: var(--gray-100); }

.about-feature i { font-size: 1.6rem; color: var(--brand-red); }
.about-feature small { display: block; font-size: .82rem; color: var(--gray-500); line-height: 1.4; }
.about-feature strong {
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--brand-black);
}

/* --------------------------------------------------------------------------
   6. HAKKIMIZDA — TABLET / MOBİL
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .about { padding: 20px 0 70px; }
  .about-grid { grid-template-columns: 1fr; gap: 46px; }
  .about-side-label { display: none; }
  .about-features { max-width: none; }
}

@media (max-width: 767.98px) {
  .about-frame { aspect-ratio: 4 / 3; }

  /* Noktalar mobilde görselin altına yatay geçer */
  .about-dots {
    position: static; transform: none;
    flex-direction: row; justify-content: center; gap: 16px;
    margin: 18px auto 0; padding: 12px 20px;
    width: max-content;
  }
  .about-feature { padding: 12px 14px; gap: 14px; }
  .about-feature strong { font-size: .98rem; }
  .about-btn { width: 100%; justify-content: space-between; }
}

/* --------------------------------------------------------------------------
   7. ÖNE ÇIKAN ÜRÜNLER
   Bölüm arka planı koyu gri, kartlar ve görsel kutusu beyaz.
   -------------------------------------------------------------------------- */
.products {
  background: var(--gray-200);   /* ton değişecekse main.css'teki --gray-200 */
  padding: 80px 0 90px;
}

/* ---- Başlık satırı ---- */
.products-head {
  display: flex; align-items: center; gap: 34px;
  margin-bottom: 44px;
}
.products-eyebrow {
  display: block; margin-bottom: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: .95rem;
  color: var(--brand-red);
}
.products-title { margin: 0; font-size: clamp(1.8rem, 3vw, 2.7rem); }

.products-line { flex: 1 1 auto; height: 1px; background: var(--gray-500); opacity: .45; }

.products-note { color: var(--gray-700); font-size: 1rem; white-space: nowrap; }

.products-nav { display: flex; gap: 12px; flex: 0 0 auto; }
.products-nav .ring-arrow .ring-bg { stroke: var(--gray-500); opacity: .6; }

/* ---- Ürün şeridi ---- */
.prod-rail {
  display: flex; align-items: stretch; gap: 24px;
  overflow-x: auto; overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  /* Kart hover'da yukarı kalkıp gölge bıraktığı için üstte/altta pay şart,
     yoksa kaydırma kutusu gölgeyi keser. */
  padding: 14px 0 30px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.prod-rail::-webkit-scrollbar { display: none; }

/* ---- Ürün kartı ---- */
.prod-card {
  flex: 0 0 calc((100% - 3 * 24px) / 4);   /* masaüstünde 4 kart */
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(17, 18, 20, .05);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }

/* Görsel kutusu: her zaman beyaz, ürün fotoğrafı beyaz zeminli olduğu için */
.prod-media {
  /* --crop: fotoğrafın üstünden ve altından kırpılacak miktar.
     Ürün fotoğraflarındaki ince siyah çizgileri gizler. Değeri buradan ayarla. */
  --crop: 14px;

  display: block; overflow: hidden;
  background: var(--white);
  aspect-ratio: 1 / 1;
  padding: 0 20px;          /* dikey padding YOK, yoksa kırpma çalışmaz */
}
.prod-media img {
  width: 100%;
  height: calc(100% + var(--crop) * 2);
  margin-block: calc(var(--crop) * -1);
  object-fit: contain;      /* büyük fotoğraf küçülür, küçük fotoğraf büyür */
  transition: transform var(--t-base);
  border-radius:10px;
}
.prod-card:hover .prod-media img { transform: scale(1.05); }

.prod-body {
  flex: 1 1 auto;
  display: flex; flex-direction: column;
  padding: 22px 20px 26px;
  text-align: center;
}
/* İsim en fazla 2 satır: kategori yazıları bütün kartlarda aynı hizada kalır */
.prod-name {
  font-size: 1.05rem; font-weight: 800; line-height: 1.35;
  margin: 0 0 10px; color: var(--brand-black);
  min-height: 2.7em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--t-fast);
}
.prod-card:hover .prod-name { color: var(--brand-red); }
.prod-desc { margin: 0; font-size: .92rem; color: var(--gray-500); }

/* Alttaki koyu özellik kutusu */
.prod-specs {
  background: var(--brand-black-soft);
  color: var(--white);
  padding: 18px 22px;
}
.prod-specs li {
  position: relative;
  padding-left: 16px;
  font-size: .9rem; font-weight: 600; line-height: 1.5;
}
.prod-specs li + li { margin-top: 8px; }
.prod-specs li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--white); opacity: .7;
}

/* --------------------------------------------------------------------------
   8. ÖNE ÇIKAN ÜRÜNLER — TABLET / MOBİL
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .prod-card { flex-basis: calc((100% - 2 * 24px) / 3); }   /* 3 kart */
}

@media (max-width: 991.98px) {
  .products { padding: 60px 0 70px; }
  .products-line, .products-note { display: none; }
  .products-head { gap: 20px; }
  .products-title-box { flex: 1 1 auto; }
  .prod-card { flex-basis: calc((100% - 24px) / 2); }       /* 2 kart */
}

@media (max-width: 575.98px) {
  .products { padding: 48px 0 56px; }
  .prod-rail { gap: 16px; }
  .prod-card { flex-basis: 78%; }                            /* 1 kart + sonrakinin ucu */
  .products-nav .ring-arrow { width: 50px; height: 50px; }
  .prod-media { padding: 0 14px; --crop: 10px; }
  .prod-name { font-size: 1rem; }
  .prod-body { padding: 18px 14px 22px; }
  .prod-specs { padding: 14px 16px; }
}

/* --------------------------------------------------------------------------
   9. BAYİLİK & KATALOG
   -------------------------------------------------------------------------- */
.duo { background: var(--white); padding: 90px 0; }

.duo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 46px; }

.duo-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* ---- Sol taraf: görsel ---- */
.duo-media { position: relative; min-height: 380px; }
.duo-media > img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Sağ taraf: metin (sağa yaslı) ---- */
.duo-body {
  display: flex; flex-direction: column; align-items: flex-end; justify-content: center;
  gap: 24px;
  padding: 40px 38px;
  text-align: right;
}

.duo-title {
  display: flex; align-items: center; gap: 18px;
  margin: 0; font-size: clamp(1.4rem, 2vw, 1.9rem);
}
.duo-title::before {
  content: ""; width: 54px; height: 2px; background: var(--brand-red); flex: 0 0 54px;
}

.duo-text { margin: 0; font-size: .98rem; max-width: 28em; }

/* --------------------------------------------------------------------------
   10. KATALOG: fareyle üzerine gelince hareket eden kapak
   -------------------------------------------------------------------------- */
.catalog-stage {
  display: grid; place-items: center;
  padding: 34px 20px;
  perspective: 1200px;             /* 3B derinlik */
  overflow: hidden;
}

/* Arkadaki açık gri organik form */
.catalog-blob {
  position: absolute; right: -22%; top: 8%;
  width: 88%; height: 84%;
  background: var(--gray-200);
  border-radius: 46% 54% 40% 60% / 55% 45% 55% 45%;
  transition: transform .8s var(--ease);
  z-index: 0;
}

.catalog-cover {
  position: relative; z-index: 1;
  width: auto; max-height: 320px;
  transform: perspective(1200px) rotateY(-14deg) rotateX(4deg) rotateZ(-2deg);
  transform-origin: 60% 50%;
  box-shadow: 18px 22px 40px rgba(17, 18, 20, .18);
  border-radius: 4px;
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
}

/* Kart üzerine gelince katalog doğrulup yükselir */
.duo-card-catalog:hover .catalog-cover {
  transform: perspective(1200px) rotateY(-4deg) rotateX(1deg) rotateZ(0deg)
             translateY(-12px) scale(1.06);
  box-shadow: 10px 30px 54px rgba(17, 18, 20, .26);
}
.duo-card-catalog:hover .catalog-blob { transform: scale(1.06) rotate(-4deg); }

/* --------------------------------------------------------------------------
   11. BAYİLİK & KATALOG — TABLET / MOBİL
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .duo-grid { grid-template-columns: 1fr; gap: 34px; }
  .duo-media { min-height: 320px; }
}

@media (max-width: 767.98px) {
  .duo { padding: 56px 0; }
  .duo-card { grid-template-columns: 1fr; }

  .duo-media { min-height: 240px; }
  .catalog-stage { min-height: 300px; padding: 26px 16px; }
  .catalog-cover { max-height: 240px; }
  .catalog-blob { right: -30%; width: 100%; }

  /* Metin mobilde ortalanır, sağa yaslı durması dar ekranda iyi görünmüyor */
  .duo-body { align-items: center; text-align: center; padding: 30px 22px 34px; }
  .duo-title { justify-content: center; }
  .duo-title::before { width: 34px; flex-basis: 34px; }
  .duo-body .btn-brand { width: 100%; justify-content: space-between; }
}

/* --------------------------------------------------------------------------
   12. MARKALAR & HABERLER
   Sol yarı açık gri (markalar), sağ yarı beyaz (haberler).
   -------------------------------------------------------------------------- */
.bn {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: stretch;
}

.bn-brands { background: var(--gray-50); padding: 70px 50px; }
.bn-news   { background: var(--gray-50); padding: 70px 0 70px 50px; }

/* ---- Ortak başlık satırı ---- */
.bn-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  margin-bottom: 38px;
}
.bn-title { margin: 0; font-size: clamp(1.5rem, 2.2vw, 2rem); position: relative; }
.bn-brands .bn-title::after {
  content: ""; position: absolute; left: 0; bottom: -12px;
  width: 48px; height: 3px; background: var(--brand-red); border-radius: 2px;
}
.bn-title-sm { font-size: 1.05rem; font-weight: 500; font-family: var(--font-body); color: var(--gray-700); }
.bn-title-sm strong { font-family: var(--font-display); font-weight: 800; color: var(--brand-black); }

/* ---- Sade oklar ---- */
.bn-nav { display: flex; gap: 18px; flex: 0 0 auto; }
.plain-arrow {
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 0; background: transparent; padding: 0;
  color: var(--brand-black); font-size: 1.05rem; cursor: pointer;
  transition: color var(--t-fast), transform var(--t-fast), opacity var(--t-fast);
}
.plain-arrow:hover { color: var(--brand-red); }
.plain-arrow[data-rail-prev]:hover { transform: translateX(-3px); }
.plain-arrow[data-rail-next]:hover { transform: translateX(3px); }
.plain-arrow[disabled] { opacity: .25; pointer-events: none; }

/* ---- Marka kutuları: 2 satır, yatay kayan ---- */
.brand-rail {
  display: flex; align-items: stretch;
  gap: 22px;
  overflow-x: auto; overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 10px 0 20px;      /* hover'daki gölgeye pay */
  scrollbar-width: none; -ms-overflow-style: none;
}
.brand-rail::-webkit-scrollbar { display: none; }

/* Her sütun alt alta iki marka taşır */
.brand-col {
  flex: 0 0 calc((100% - 2 * 22px) / 3);   /* ekranda 3 sütun */
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 22px;
  min-width: 0;
}

.brand-card {
  flex: 1 1 auto;
  display: grid; place-items: center;
  min-height: 128px; padding: 22px;
  background: var(--white);
  border-radius: var(--radius-md);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.brand-card img {
  max-height: 106px; width: auto; max-width: 100%;
  object-fit: contain;
  filter: grayscale(1); opacity: .65;
  transition: filter var(--t-base), opacity var(--t-base);
}
.brand-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.brand-card:hover img { filter: none; opacity: 1; }

/* ---- Haber kartları ---- */
.news-rail {
  display: flex; align-items: stretch; gap: 24px;
  overflow-x: auto; overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 12px 0 26px;      /* hover'daki gölgeye pay */
  scrollbar-width: none; -ms-overflow-style: none;
}
.news-rail::-webkit-scrollbar { display: none; }

.news-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 6px 26px rgba(17, 18, 20, .07);
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }

.news-media { display: block; padding: 14px 14px 0; }
.news-media img {
  width: 100%; aspect-ratio: 16 / 11; object-fit: cover;
  border-radius: var(--radius-sm);
}
.news-title {
  margin: 0; padding: 18px 18px 22px;
  font-size: 1rem; line-height: 1.45; font-weight: 700;
  color: var(--brand-black);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card:hover .news-title { color: var(--brand-red); }

.bn-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 30px; padding-right: 50px;
}
.bn-all {
  font-family: var(--font-display); font-weight: 700; color: var(--gray-700);
}
.bn-all:hover { color: var(--brand-red); }

/* --------------------------------------------------------------------------
   13. MARKALAR & HABERLER — TABLET / MOBİL
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .bn { grid-template-columns: 1fr; }
  .bn-brands { padding: 54px 20px; }
  .bn-news { padding: 54px 0 54px 20px; }
  .bn-foot { padding-right: 20px; }
  .brand-col { flex-basis: calc((100% - 22px) / 2); }           /* 2 sütun */
}

@media (max-width: 575.98px) {
  .brand-rail { gap: 16px; }
  .brand-col { flex-basis: calc((100% - 16px) / 2); gap: 16px; }
  .brand-card { min-height: 96px; padding: 14px; }
  .brand-card img { max-height: 36px; }
  .news-rail { gap: 16px; }
  .news-card { flex-basis: 78%; }
}
