
/* ===========================================
   DEMIRATLILAR MOTOR
   ANASAYFA PREMIUM CSS V5
   SIYAH / KIRMIZI / BEYAZ
   =========================================== */

:root {
  --dm-red: #d92332;
  --dm-red-hover: #b71928;
  --dm-dark: #171b22;
  --dm-text: #242933;
  --dm-border: #e5e8ed;
  --dm-white: #ffffff;
}

/* 1. URUN KARTI */
.urun {
  min-width: 0;
}

.urun .urun_ic {
  background: var(--dm-white);
  border: 1px solid var(--dm-border) !important;
  border-radius: 12px;
  overflow: hidden;
  transition:
    box-shadow .25s ease,
    border-color .25s ease;
}

@media (hover: hover) {
  .urun .urun_ic:hover {
    border-color: #ccd1d9 !important;
    box-shadow: 0 10px 28px rgba(0,0,0,.11);
  }
}

/* 2. URUN GORSELI */
.urun .urun_resmi {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform .3s ease;
}

@media (hover: hover) {
  .urun .urun_ic:hover .urun_resmi {
    transform: scale(1.025);
  }
}

/* 3. URUN ADI */
.urun .urun_ismi {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  color: var(--dm-text) !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  overflow-wrap: anywhere;
  min-height: 42px;
}

.urun .urun_ismi:hover {
  color: var(--dm-red) !important;
}

/* 4. FIYAT */
.urun .urun_kdvdahil_fiyati {
  color: var(--dm-red);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}

.urun .urun_kdvdahil_fiyati span {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

/* 5. SEPET BUTONU */
.urun .urun_butonlar .addToCart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  background: var(--dm-red) !important;
  border: 1px solid var(--dm-red) !important;
  border-radius: 8px;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition:
    background .2s ease,
    border-color .2s ease;
}

.urun .urun_butonlar .addToCart:hover {
  background: var(--dm-red-hover) !important;
  border-color: var(--dm-red-hover) !important;
  color: #ffffff !important;
}

/* 6. DIGER URUN ETIKETLERI */
.urun :is(
  .discount-badge,
  .discount-label,
  .indirimEtiketi,
  .indirimOrani
) {
  background: var(--dm-red);
  color: #ffffff;
  border-radius: 5px;
}

/* 7. VITRIN BASLIKLARI */
:is(
  .home-title,
  .section-title,
  .block-title,
  .vitrinBaslik
) {
  color: var(--dm-dark);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.35;
  margin-bottom: 20px;
}

/* 8. MOBIL */
@media (max-width: 768px) {
  .urun .urun_ic {
    border-radius: 9px;
  }

  .urun .urun_ismi {
    font-size: 12px;
    min-height: 36px;
  }

  .urun .urun_kdvdahil_fiyati {
    font-size: 17px;
  }

  .urun .urun_butonlar .addToCart {
    min-height: 42px;
    padding: 10px 8px;
    font-size: 12px;
  }
}

/* 9. HAREKET HASSASIYETI */
@media (prefers-reduced-motion: reduce) {
  .urun .urun_ic,
  .urun .urun_resmi,
  .urun .urun_butonlar .addToCart {
    transition: none;
  }
}

/* ===========================================
   DEMIRATLILAR MOTOR
   ANASAYFA CSS V5.1
   FIYAT VE KART IYILESTIRMELERI
   =========================================== */

/* 1. URUN FIYATLARINI BELIRGINLESTIR */
.urun .urun_kdvdahil_fiyati,
.urun .urun_kdvdahil_fiyati * {
  color: #d92332 !important;
  font-size: 19px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* 2. URUN ADLARI */
.urun .urun_ismi {
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.5;
  min-height: 42px;
}

/* 3. KART CERCEVELERI */
.urun .urun_ic {
  border-radius: 12px;
  border: 1px solid #e4e7ec !important;
  background: #ffffff;
}

/* 4. KART HOVER EFEKTI */
@media (hover: hover) {
  .urun .urun_ic:hover {
    box-shadow: 0 12px 28px rgba(0,0,0,.12);
    border-color: #d92332 !important;
  }
}

/* 5. MOBIL */
@media (max-width: 768px) {
  .urun .urun_ismi {
    font-size: 12px !important;
    min-height: 36px;
  }

  .urun .urun_kdvdahil_fiyati,
  .urun .urun_kdvdahil_fiyati * {
    font-size: 17px;
  }
}

/* ====================================
   DEMIRATLILAR MOTOR
   FIYAT TASARIMI V5.2
   ==================================== */

/* Fiyat kapsayicisi */
.urun .urun_fiyatlar .urun_kdvdahil_fiyati {
    color: #d92332 !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.4;
    font-variant-numeric: tabular-nums;
}

/* TL yazisi */
.urun .urun_fiyatlar .urun_kdvdahil_fiyati span {
    color: #d92332 !important;
    font-size: inherit !important;
    font-weight: inherit !important;
}

/* Mobil fiyat */
@media (max-width: 768px) {
    .urun .urun_fiyatlar .urun_kdvdahil_fiyati {
        font-size: 17px !important;
    }
}

/* ============================================
   DEMIRATLILAR MOTOR
   SEPETE EKLE BUTONU V5.3
   ============================================ */

/* 1. Gizlenmis buton alanini ac */
.urun .urun_butonlar {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  transform: none !important;
  width: auto;
  margin: 10px 10px 12px;
}

/* 2. Sepete Ekle butonunu goster */
.urun .urun_butonlar .addToCart {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center;
  justify-content: center;
  position: static !important;
  transform: none !important;

  width: 100%;
  min-height: 44px;
  padding: 11px 14px;

  background: #d92332 !important;
  border: 1px solid #d92332 !important;
  border-radius: 8px;

  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;

  transition: background-color .2s ease;
}

/* 3. Fare uzerine gelince */
.urun .urun_butonlar .addToCart:hover {
  background: #b71928 !important;
  border-color: #b71928 !important;
  color: #ffffff !important;
}

/* 4. Mobil gorunum */
@media (max-width: 768px) {
  .urun .urun_butonlar {
    margin: 8px 6px 10px;
  }

  .urun .urun_butonlar .addToCart {
    min-height: 42px;
    padding: 10px 8px;
    font-size: 12px;
  }
}

/* =======================================
   DEMIRATLILAR MOTOR
   URUN KARTI HIZALAMA V5.4
   ======================================= */

/* Urun adlari iki satirlik alan kaplasin */
.urun .urun_ismi {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.45 !important;
  height: 42px;
  min-height: 42px;
  margin-bottom: 8px !important;
}

/* Fiyat bolumu */
.urun .urun_fiyatlar {
  margin-bottom: 10px !important;
}

/* Sepete ekle alani */
.urun .urun_butonlar {
  margin-top: 8px !important;
}

/* Buton gorunumu */
.urun .urun_butonlar .addToCart {
  border-radius: 8px !important;
  min-height: 44px;
  font-size: 13px !important;
  font-weight: 700 !important;
}

/* Mobil */
@media (max-width: 768px) {
  .urun .urun_ismi {
    height: 38px;
    min-height: 38px;
    font-size: 12px !important;
  }

  .urun .urun_butonlar .addToCart {
    min-height: 42px;
    font-size: 12px !important;
  }
}

/* ===========================================
   DEMIRATLILAR MOTOR
   PREMIUM VITRIN BASLIKLARI V5.5
   =========================================== */

/* Vitrin basliklari */
.icerik.row.mb-4 > p.baslik.col-12 {
  position: relative;
  display: block;
  width: 100%;
  color: #171b22 !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  line-height: 1.35;
  text-align: center !important;
  letter-spacing: -.4px;
  padding: 0 15px 18px !important;
  margin-bottom: 24px !important;
}

/* Kirmizi alt cizgi */
.icerik.row.mb-4 > p.baslik.col-12::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 65px;
  height: 4px;
  border-radius: 4px;
  background: #d92332;
}

/* Mobil uyum */
@media (max-width: 768px) {
  .icerik.row.mb-4 > p.baslik.col-12 {
    font-size: 21px !important;
    padding-bottom: 15px !important;
    margin-bottom: 18px !important;
  }

  .icerik.row.mb-4 > p.baslik.col-12::after {
    width: 50px;
    height: 3px;
  }
}

/* DEMIRATLILAR - VITRIN BASLIGI V5.6 */

.icerik.row.mb-4 > p.baslik.col-12 {
  padding-top: 12px !important;
  padding-bottom: 18px !important;
  margin-top: 12px !important;
  margin-bottom: 24px !important;
}

/* Mobil */
@media (max-width: 768px) {
  .icerik.row.mb-4 > p.baslik.col-12 {
    padding-top: 8px !important;
    margin-top: 8px !important;
    margin-bottom: 18px !important;
  }
}

/* ============================================
   DEMIRATLILAR MOTOR
   PREMIUM URUN ETIKETLERI V5.7
   ============================================ */

/* UCRETSIZ KARGO ETIKETI */
.urun .kargo_bedavali_urun_ikon {
  border-radius: 5px;
  overflow: hidden;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.12));
}

/* AYNI GUN KARGO ETIKETI */
.urun .ayni_gun_kargo_urun_ikon {
  border-radius: 5px;
  overflow: hidden;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.12));
}

/* KART UZERINDE HAFIF VURGU */
@media (hover: hover) {
  .urun .kargo_bedavali_urun_ikon,
  .urun .ayni_gun_kargo_urun_ikon {
    transition: filter .2s ease;
  }

  .urun:hover .kargo_bedavali_urun_ikon,
  .urun:hover .ayni_gun_kargo_urun_ikon {
    filter: drop-shadow(0 3px 5px rgba(0,0,0,.20));
  }
}

/* MOBIL GORUNUM */
@media (max-width: 768px) {
  .urun .kargo_bedavali_urun_ikon,
  .urun .ayni_gun_kargo_urun_ikon {
    max-width: 100%;
  }
}

/* ============================================
   DEMIRATLILAR MOTOR
   PREMIUM KARGO ETIKETLERI V5.8
   ============================================ */

/* ORTAK ETIKET AYARLARI */
.urun :is(
  .kargo_bedavali_urun_ikon,
  .ayni_gun_kargo_urun_ikon
) {
  display: table;
  width: max-content;
  max-width: 100%;
  height: auto;
  min-height: 22px;
  padding: 4px 7px;
  margin-bottom: 4px;
  border-radius: 5px;
  background-image: none !important;
  box-shadow: 0 2px 5px rgba(0,0,0,.08);
  line-height: 1.3;
  overflow: visible;
  box-sizing: border-box;
}

/* UCRETSIZ KARGO - SIYAH */
.urun .kargo_bedavali_urun_ikon {
  background-color: #171b22 !important;
}

/* AYNI GUN KARGO - ACIK YESIL */
.urun .ayni_gun_kargo_urun_ikon {
  background-color: #e5f3eb !important;
  border: 1px solid #c6e6d2;
}

/* CSS ILE OLUSTURULAN YAZILAR */
.urun .kargo_bedavali_urun_ikon::before {
  content: "Ücretsiz Kargo";
  color: #ffffff !important;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

/* AYNI GUN KARGO YAZISI */
.urun .ayni_gun_kargo_urun_ikon::before {
  content: "Aynıgün Kargo";
  color: #17643a !important;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

/* MOBIL */
@media (max-width: 768px) {
  .urun :is(
    .kargo_bedavali_urun_ikon,
    .ayni_gun_kargo_urun_ikon
  ) {
    padding: 3px 5px;
    min-height: 18px;
  }

  .urun :is(
    .kargo_bedavali_urun_ikon,
    .ayni_gun_kargo_urun_ikon
  )::before {
    font-size: 9px;
  }
}

/* ==========================================
   DEMIRATLILAR MOTOR
   YENI URUN ETIKETI V5.9
   ========================================== */

/* Yeni urun etiketi */
.urun .yeni_urun_ikon {
  display: table;
  width: max-content;
  max-width: 100%;
  height: auto;
  min-height: 22px;
  padding: 4px 7px;
  margin-bottom: 4px;

  background: #d92332 !important;
  border: none;
  border-radius: 5px;

  box-shadow: 0 2px 5px rgba(0,0,0,.12);
  line-height: 1.3;
  box-sizing: border-box;
}

/* Etiket yazisi */
.urun .yeni_urun_ikon::before {
  content: "Yeni" !important;
  color: #ffffff !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 1.3;
  white-space: nowrap;
}

/* Mobil optimizasyon */
@media (max-width: 768px) {
  .urun .yeni_urun_ikon {
    min-height: 18px;
    padding: 3px 5px;
  }

  .urun .yeni_urun_ikon::before {
    font-size: 9px !important;
  }
}

/* DEMIRATLILAR MOTOR - ETIKET V6.0 */

/* Uc etiket icin ortak yazi boyutu */
.urun .yeni_urun_ikon::before,
.urun .kargo_bedavali_urun_ikon::before,
.urun .ayni_gun_kargo_urun_ikon::before {
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.35;
}

/* Etiket araliklari */
.urun .yeni_urun_ikon,
.urun .kargo_bedavali_urun_ikon,
.urun .ayni_gun_kargo_urun_ikon {
  padding: 4px 7px;
  margin-bottom: 4px;
}

/* Mobil optimizasyon */
@media (max-width: 768px) {
  .urun .yeni_urun_ikon::before,
  .urun .kargo_bedavali_urun_ikon::before,
  .urun .ayni_gun_kargo_urun_ikon::before {
    font-size: 9px !important;
  }

  .urun .yeni_urun_ikon,
  .urun .kargo_bedavali_urun_ikon,
  .urun .ayni_gun_kargo_urun_ikon {
    padding: 3px 5px;
  }
}
