﻿/* === MUHTEŞEM KATEGORİ ALANI === */
.home-cat-section {
  padding: 40px 0;
  background: #fff;
  border-top: 1px solid #f1f1f1;
  margin-top: 30px;
}

.home-cat-title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #111;
  margin-bottom: 30px;
  position: relative;
  letter-spacing: -0.5px;
}

/* 8'li Grid Yapısı */
.home-cat-grid {
  display: grid;
  /* Masaüstünde 8 kolon */
  grid-template-columns: repeat(8, 1fr);
  gap: 20px;
  padding: 0 15px;
}

/* Kategori Kartı */
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  group; /* Hover efekti için grup */
  transition: transform 0.3s ease;
}

  .cat-card:hover {
    transform: translateY(-5px); /* Hoverda hafif yukarı zıplar */
  }

/* Resim Alanı */
.cat-img-box {
  width: 100px;
  height: 100px;
  border-radius: 50%; /* Yuvarlak istiyorsan %50, Kare istiyorsan 15px */
  overflow: hidden;
  margin-bottom: 15px;
  border: 2px solid #eee;
  padding: 3px; /* Çerçeve ile resim arası boşluk */
  transition: border-color 0.3s;
  background: #fff;
}

.cat-card:hover .cat-img-box {
  border-color: #E55472; /* Senin ana rengin */
}

.cat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%; /* Resim de yuvarlak olsun */
}

.cat-name {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  transition: color 0.3s;
  line-height: 1.3;
}

.cat-card:hover .cat-name {
  color: #E55472;
}

/* RESPONSIVE (Mobil Uyum) */
@media (max-width: 1200px) {
  .home-cat-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  /* Laptop: 6'lı */
}

@media (max-width: 991px) {
  .home-cat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  /* Tablet: 4'lü */
}

@media (max-width: 576px) {
  .home-cat-grid {
    grid-template-columns: repeat(3, 1fr); /* Mobil: 3'lü */
    gap: 10px;
  }

  .cat-img-box {
    width: 70px;
    height: 70px;
  }

  .cat-name {
    font-size: 11px;
  }
}


/* --- LUXURY MARBLE THEME (GÜNCEL & FİNAL) --- */

.xp-section-wrapper.xp-marble-aura {
  padding: 80px 0;
  position: relative;
  /* DÜZELTİLDİ: Gradient yok, sadece saf resim var */
  /* Dosya yolunun '../img/...' olduğuna eminsen bu çalışır */
/*  background: url('../img/back_2.jpg') no-repeat center center !important;*/
  /* Resmi alanı kaplayacak şekilde ayarla */
 /* background-size: cover !important;
  background-attachment: scroll;*/
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* --- BAŞLIK & HEADER --- */
.xp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end; /* Alt çizgiyle hizalar */
  margin-bottom: 40px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0,0,0,0.1); /* İnce ayırıcı çizgi */
}

.xp-title {
  font-size: 26px;
  font-weight: 700;
  color: #222;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- MODERN "TÜMÜNÜ GÖR" BUTONU --- */
.xp-view-all-btn {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

  .xp-view-all-btn i {
    font-size: 11px;
    transition: transform 0.3s;
  }

  .xp-view-all-btn:hover {
    color: #e5547d; /* Marka rengin */
    border-bottom-color: #e5547d;
  }

    .xp-view-all-btn:hover i {
      transform: translateX(5px);
    }

/* --- GRID YAPISI (6'LI) --- */
.xp-grid-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

/* --- KART TASARIMI (PROFESYONEL GÖLGE) --- */
.xp-card {
  background: #fff;
  border-radius: 8px;
  /* Hafif, modern gölge */
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border: 1px solid transparent; /* Sınır yok, gölge var */
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

  .xp-card:hover {
    transform: translateY(-8px);
    /* Hover'da gölge derinleşir */
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: rgba(0,0,0,0.05);
  }

/* --- RESİM ALANI (BOYUTU KISALTILDI: 135%) --- */
.xp-img-box {
  position: relative;
  width: 100%;
  /* 150% yerine 135% yaparak boyunu kısalttık */
  padding-top: 135%;
  background: #f8f8f8;
  overflow: hidden;
}

  .xp-img-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
  }

.xp-card:hover .xp-img-box img {
  transform: scale(1.08); /* Yumuşak zoom efekti */
}

/* --- ROZETLER --- */
.xp-discount-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #e5547d;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 5;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 5px rgba(229, 84, 125, 0.4);
}

.xp-soldout-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #222;
  color: #fff;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 800;
  border-radius: 4px;
  z-index: 9;
}

/* --- SAĞ ÜST AKSİYON BUTONLARI --- */
.xp-actions {
  position: absolute;
  top: 10px;
  right: -40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: 0.3s;
  z-index: 5;
  opacity: 0;
}

.xp-card:hover .xp-actions {
  right: 10px;
  opacity: 1;
}

.xp-action-btn {
  width: 34px;
  height: 34px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border: none;
  cursor: pointer;
  transition: 0.2s;
  font-size: 13px;
  text-decoration: none;
}

  .xp-action-btn:hover {
    background: #e5547d;
    color: #fff;
  }

  .xp-action-btn.is-fav i {
    color: #e5547d;
  }

/* --- SEPETE EKLE BUTONU (SİYAH/MODERN) --- */
.xp-add-cart-btn {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  background: #222; /* Siyah Buton */
  color: #fff;
  border: none;
  padding: 12px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  justify-content: center;
  gap: 6px;
}

  .xp-add-cart-btn:hover {
    background: #e5547d; /* Hover'da Pembe */
  }

.xp-card:hover .xp-add-cart-btn {
  bottom: 0;
}

/* --- BİLGİ ALANI --- */
.xp-info-box {
  padding: 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.xp-prod-title {
  font-size: 13px;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
  height: 40px; /* 2 satır sınırı */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

  .xp-prod-title a {
    color: #333;
    text-decoration: none;
    transition: 0.2s;
  }

    .xp-prod-title a:hover {
      color: #e5547d;
    }

.xp-price-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
}

.xp-old-price {
  font-size: 12px;
  color: #999;
  text-decoration: line-through;
}

.xp-new-price {
  font-size: 17px;
  font-weight: 800;
  color: #e5547d;
}

/* Yıldızlar */
.xp-rating-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  font-size: 13px;
  color: #777;
}

.xp-stars {
  position: relative;
  display: inline-block;
  color: #eee;
  font-size: 15px;
}

.xp-stars-fill {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #ffb800;
}

/* --- RESPONSIVE AYARLAR --- */
@media (max-width: 1400px) {
  .xp-grid-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 991px) {
  .xp-grid-container {
    grid-template-columns: repeat(3, 1fr);
  }

  .xp-title {
    font-size: 22px;
  }
}

@media (max-width: 576px) {
  .xp-grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .xp-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .xp-actions {
    display: none;
  }
  /* Mobilde ikonları gizle, kalabalık etmesin */
  .xp-add-cart-btn {
    bottom: 0;
    position: relative;
    background: #f4f4f4;
    color: #333;
  }
}
/*.ltn__product-area {
  background: url('../img/back_2.jpg') no-repeat center center !important;*/
  /* Resmi alanı kaplayacak şekilde ayarla */
  /*background-size: cover !important;
  background-attachment: scroll;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  box-shadow: inset 0 10px 30px rgba(0,0,0,0.02);
}*/