﻿/* Custom styles goes here */

/* Ana sayfa "önerilen ürünler" kartı üzerine gelince (eski onmouseover yerine) */
.mc-reco-card:hover {
  box-shadow: 0 4px 16px rgba(var(--mc-brand-rgb), .15);
  border-color: var(--mc-brand) !important;
}

/* Sürükle-bırak alanı üzerinde dosya varken (site.js, data-drop-call) */
.mc-dragover {
  background: rgba(var(--mc-brand-rgb), .08) !important;
}

/* ═══════════════════════════════════════════════════════════
   3 Yıl Garanti logosu (wwwroot/img/logo/3yil-logo.png)
   Gümüş renkli logo turkuaz zeminde okunur; açık zeminlerde
   .mc-3yil rozeti (turkuaz kapsül) kullanılır.
   ═══════════════════════════════════════════════════════════ */

.mc-3yil {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 2.25rem;
  padding: .25rem .75rem;
  border-radius: 2rem;
  background: linear-gradient(196deg, #005a62 0%, #007a80 50%, #00a3ab 100%);
  box-shadow: 0 .125rem .375rem rgba(0, 90, 98, .25);
}

  .mc-3yil img {
    display: block;
    height: 100%;
    width: auto;
  }

/* Menüdeki logo: zemin kapsülü yok, daha büyük; beyaz navbar'da gümüş logo hafif gölgeyle okunur */
.mc-3yil--sm {
  height: 2.75rem;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

  .mc-3yil--sm img {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35));
  }

.mc-3yil--lg {
  height: 3.25rem;
  padding: .375rem 1rem;
}

/* Turkuaz zeminli sayfa başlıklarında (cp-hero) logo başlığın üstünde durur */
.cp-hero > .card-body::before {
  content: "";
  display: block;
  width: 5.5rem;
  height: 3.6rem;
  margin-bottom: .75rem;
  background: url("../img/logo/3yil-logo.png") left center / contain no-repeat;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25));
}

/* Hakkımızda: 3 Yıl ve Reismakina logoları başlığın üstünde yan yana (genel başlık logosu yerine) */
.cp-hero--brands > .card-body::before {
  display: none;
}

.cp-hero__brands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

  .cp-hero__brands .cp-hero__3yil {
    height: 3.75rem;
    width: auto;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25));
  }

  .cp-hero__brands .cp-hero__logo {
    margin-bottom: 0;
  }

@media (max-width: 575.98px) {
  .cp-hero__brands .cp-hero__3yil {
    height: 3rem;
  }

  .cp-hero > .card-body::before {
    width: 4.5rem;
    height: 3rem;
  }

  .mc-3yil--hide-xs {
    display: none !important;
  }
}
