/* Reset ve Genel Ayarlar */
* {
  box-sizing: border-box;
}

/* Genel ayarlar ve arka plan */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  position: relative;
  background-color: #333; /* Görsel yüklenemezse görünecek renk */
}

/* Her zaman bulanık kalacak arka plan katmanı */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--bg-image); /* PHP'den gelen dinamik görsel */
  background-position: center;
  background-size: cover;
  filter: blur(5px); /* Bulanıklık efekti */
  z-index: -1; /* Tüm içeriğin arkasında kalmasını sağlar */
}

/* Logo stili */
.logo {
  position: absolute;
  top: -50px;
  left: 20px;
  font-family: 'Pacifico', cursive;
  font-size: 4.5rem;
  color: #e08ebe;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  z-index: 10;
}

/* Ürün galerisi */
.product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 40px; /* Üst boşluğu azalttık */
}

.similar-products-container .product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
/* Ürün kartı */
/* Ana galerideki ve slider'lardaki ürün kartları */
.product-card {
  position: relative;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  overflow: hidden;
  padding: 10px;
  text-align: center;
  transition: box-shadow 0.3s ease; /* Gölge efekti için yumuşak geçiş */
}

/* Üzerine gelince karartma efekti için */
.product-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none; /* Overlay'in tıklamaları engellememesi için */
}

/* Görsel stili */
.product-card img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
  transition: transform 0.3s ease; /* Büyüme efekti için yumuşak geçiş */
}

/* Beğeni butonu */
.like-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
  outline: none;
  z-index: 3; /* Diğer elementlerin üzerinde kalması için */
  transition: transform 0.3s ease;
}

/* Kalp ikonları üst üste */
.like-btn .fa-solid {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s, color 0.3s;
  color: #e91e63; /* Dolu kalp rengi */
}

.like-btn:hover {
  transform: scale(1.15);
}

/* Aktif (favoriye eklenmiş) durum */
.like-btn.active .fa-solid,
.like-btn:hover .fa-solid {
  opacity: 1;
}

.like-btn.active .fa-regular,
.like-btn:hover .fa-regular {
  opacity: 0;
}

/* Ok animasyonu */
.like-btn .arrow {
  display: inline-block;
  margin-left: 8px;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s;
}
.like-btn:hover .arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Hesabım sayfasındaki favoriler galerisi */
.favorites-gallery {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); /* Daha küçük kartlar */
  padding: 20px 0;
}


/* Kaydırılabilir sayfa */
html, body {
  height: 100%;
}
body {
  min-height: 200vh;
}

/* Hover efekti */
.product-card:hover .product-card-inner img {
  transform: scale(1.05); /* %5 büyütme */
}

.product-card:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
/* Fiyat kutusu */
.price-box {
  margin-top: 10px;
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 8px 12px;
  border-radius: 12px;
  display: inline-block;
  font-size: 1.1rem;
  backdrop-filter: blur(4px);
  font-weight: bold;
}

.price-box .old-price {
  text-decoration: line-through;
  color: #ffaaaa;
  font-size: 0.9rem;
  margin-left: 8px;
}

/* Şerit (ribbon) */
.ribbon {
  position: absolute;
  top: 19px;
  left: -40px;
  transform: rotate(-45deg);
  background-color: #e91e63;
  color: white;
  padding: 6px 60px;
  font-size: 0.8rem;
  font-weight: bold;
  z-index: 5;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

/* product-card içindeki konumlandırma */
.product-card {
  position: relative;
}
:root{
    --glass-bg: rgba(255,255,255,.14);
    --glass-stroke: rgba(255,255,255,.35);
    --shadow: 0 10px 30px rgba(0,0,0,.18);
    --radius: 18px;
    --blur: 18px;
    --icon-size: 22px;
    --gap: 10px;
  }
  /* Karanlık temaya uyum */
  @media (prefers-color-scheme: dark) {
    :root{
      --glass-bg: rgba(255,255,255,.08);
      --glass-stroke: rgba(255,255,255,.28);
      --shadow: 0 10px 30px rgba(0,0,0,.5);
    }
  }

  /* Sağ sabit panel */
  .social-dock{
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    padding: 12px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255,255,255,.25), rgba(255,255,255,.05)) , var(--glass-bg);
    backdrop-filter: blur(var(--blur)) saturate(140%);
    -webkit-backdrop-filter: blur(var(--blur)) saturate(140%);
    border: 1px solid var(--glass-stroke);
    box-shadow: var(--shadow);
    z-index: 9999;
    isolation: isolate; /* psödo-öğelerin panel içinde kalması için */
  }
  /* İnce ışıklı cam çerçevesi */
  .social-dock::before{
    content:"";
    position:absolute; inset:0;
    border-radius: inherit;
    padding: 1px; 
    background: linear-gradient(140deg, rgba(255,255,255,.75), rgba(255,255,255,.05) 40%, rgba(255,255,255,.4) 70%, rgba(255,255,255,0) 100%);
    -webkit-mask:
      linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask:
      linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
    mask-composite: exclude;
    pointer-events: none;
  }
  /* Üstte küçük parlama */
  .social-dock::after{
    content:"";
    position:absolute; 
    left:10%; right:10%; top:0;
    height: 14px;
    border-radius: 0 0 12px 12px;
    background: radial-gradient(120px 14px at 50% 0, rgba(255,255,255,.6), rgba(255,255,255,0) 70%);
    filter: blur(3px);
    pointer-events: none;
  }

  /* Butonlar */
  .social-btn{
    width: 46px; height: 46px;
    display:grid; place-items:center;
    border-radius: 14px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.25);
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
    position: relative;
    text-decoration: none;
  }
  .social-btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0,0,0,.18);
    background: rgba(255,255,255,.18);
    border-color: rgba(255,255,255,.4);
  }
  .social-btn:active{
    transform: translateY(0);
  }

  /* İkonlar (SVG) */
  .social-btn svg{
    width: var(--icon-size);
    height: var(--icon-size);
    display:block;
  }
  .social-btn path, .social-btn circle{
    fill:none; stroke: currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round;
  }

  /* Marka renkleri hover’da belirginleşsin */
  .facebook{ color:#1877F2; }
  .instagram{ 
    /* instagram için degrade efekti */
    background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.18)),
                radial-gradient(circle at 70% 10%, #FCB045 0 22%, transparent 22%),
                radial-gradient(circle at 30% 100%, #F77737 0 25%, transparent 25%),
                radial-gradient(circle at 0% 0%, #D6249F 0 40%, transparent 40%),
                radial-gradient(circle at 100% 100%, #285AEB 0 35%, transparent 35%);
    color: white;
  }
  .x{ color:#111; }
  .youtube{ color:#FF0000; }
  .linkedin{ color:#0A66C2; }
  .whatsapp{ color:#25D366; }
  .telegram{ color:#0088cc; }

  /* Basit tooltip */
  .social-btn[data-tip]::after{
    content: attr(data-tip);
    position:absolute;
    right: 110%;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    font: 600 12px/1.1 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: #fff;
    background: rgba(0,0,0,.6);
    padding: 6px 8px;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease, transform .15s ease;
  }
  .social-btn:hover::after{
    opacity: 1;
    transform: translate(-4px, -50%);
  }

  /* Küçük ekranlarda biraz aşağı kaydır ve sağ boşluğu daralt */
  @media (max-width: 640px){
    .social-dock{
      right: 10px;
      top: auto;
      bottom: 20px;
      transform: none;
      flex-direction: row;
      padding: 10px;
      border-radius: 16px;
    }
    .social-btn{
      width: 44px; height: 44px;
    }
    .social-btn:hover::after{ display:none; }
  }

  /* Hareket azaltma tercihi */
  @media (prefers-reduced-motion: reduce){
    .social-btn{ transition: none; }
    .social-dock::after{ display:none; }
  }
  
 .social-dock {
  display: flex;
  gap: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  justify-content: center;
  align-items: center;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  color: white;
  font-size: 20px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

/* Opsiyonel: Her platform için özel renk */
.social-btn.facebook { color: #1877F2; }
.social-btn.instagram { color: #E1306C; }
.social-btn.x { color: #000000; }
.social-btn.youtube { color: #FF0000; }
.social-btn.linkedin { color: #0A66C2; }
.social-btn.whatsapp { color: #25D366; }
.social-btn.telegram { color: #0088cc; }

/* Genel navbar */
.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  backdrop-filter: blur(3px);
  background: rgba(255, 255, 255, 0.1); /* Saydam cam efekti */
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 100;
}

/* Logo stili */
.logo {
  position: absolute;
  top: -5px;
  left: 20px;
  font-family: 'Pacifico', cursive;
  font-size: 3.0rem;
  color: #e08ebe;
  text-shadow: 1px 1px 2px rgba(0,0,0,1.3);
  z-index: 10;
}

/* Logo içindeki link ve görsel stilleri */
.logo a {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
}

.logo-image {
  max-height: 60px; /* Logonun yüksekliğini navbar'a uygun ayarla */
  width: auto;
  display: block;
}

/* Menü bağlantıları */
.nav-links {
  display: flex;
  gap: 30px;
  margin: 0 auto;
}

.nav-links a {
  text-decoration: none;
  font-size: 1.5rem;
  color: white;
  font-weight: 500;
  font-family: 'Pacifico', cursive;
  text-shadow: 1px 1px 2px rgba(0,0,0,1.3);
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #e08ebe; /* Rengi sitenin ana pembe tonuyla güncelledik */
}

/* Sepet ikonu */
.cart-icon a {
  font-size: 1.5rem;
  color: #e08ebe;
  transition: transform 0.2s ease, color 0.3s ease;
  text-shadow: 1px 1px 2px rgba(0,0,0,1.3);
}

.cart-icon a:hover {
  transform: scale(1.2);
  color: #b2529e;
}

/* Kullanıcı Giriş/Hesap Linkleri */
.user-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}

.user-link {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.user-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Navbar Açılır Menü Stilleri */
.nav-dropdown {
  position: relative;
  display: inline-block;
  padding-bottom: 10px; /* Alt menü ile boşluk oluşturmak için, hover alanını genişletir */
}

.nav-dropdown .nav-link i {
  font-size: 0.8em;
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-link i {
  transform: rotate(180deg);
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 10px) scale(0.98);
  min-width: 220px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  z-index: 101;
  padding: 10px 0;
  opacity: 0;
  pointer-events: none;
  transform-origin: top center;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav-dropdown:hover .dropdown-content {
  display: block;
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

.dropdown-content a {
  color: #f5f5f5;
  padding: 12px 28px 12px 48px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  font-size: 0.95rem; /* Yazı fontunu biraz daha zarif hale getirdik */
  font-family: 'Segoe UI', sans-serif; /* Ana font ailesini kullandık */
  letter-spacing: 0.01em;
  transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.dropdown-content a:hover {
  background: linear-gradient(90deg, rgba(224, 142, 190, 0.55), rgba(224, 142, 190, 0.12));
  color: #fff;
  padding-left: 56px;
}

/* Sepet ikonundaki ürün sayısı */
.cart-icon {
  position: relative;
}

#cart-item-count {
  position: absolute;
  top: -8px;
  right: -12px;
  background: linear-gradient(135deg, rgba(224, 142, 190, 0.82), rgba(224, 142, 190, 0.58));
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 0.75rem;
  font-weight: bold;
  line-height: 1;
  font-family: 'Segoe UI', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  min-height: 22px;
}

#cart-item-count:empty {
  display: none;
}

/* Responsive için (opsiyonel) */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin: 20px 0 0;
  }

  .cart-icon {
    align-self: flex-end;
  }
}

/* Ürün Detay Sayfası Stilleri */
.product-detail-container {
  display: flex;
  gap: 40px;
  max-width: 1100px;
  margin: 60px auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  backdrop-filter: blur(15px);
  color: white;
}

.product-gallery-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.main-image-container {
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  position: relative; /* Zoom için gerekli */
  cursor: zoom-in;
}

.main-image-container img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease; /* Yumuşak geçiş efekti */
}

.main-image-container.zoomed img {
  transform: scale(2); /* Yakınlaştırma oranı */
}

.thumbnail-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.thumbnail-item {
  width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s, transform 0.3s;
  opacity: 0.7;
}

.thumbnail-item.active,
.thumbnail-item:hover {
  border-color: #e08ebe;
  opacity: 1;
  transform: scale(1.05);
}

.product-detail-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-detail-info h1 {
  font-family: 'Pacifico', cursive;
  font-size: 2.8rem;
  margin-top: 0;
  color: #e08ebe;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.price-box-detail {
  margin: 10px 0 20px;
}

.current-price-detail {
  font-size: 2rem;
  font-weight: bold;
}

.old-price-detail {
  font-size: 1.2rem;
  text-decoration: line-through;
  color: #ffaaaa;
  margin-left: 15px;
}

.product-description {
  font-size: 1rem;
  line-height: 1.6;
  flex-grow: 1;
}

.add-to-cart-btn {
  padding: 15px 25px;
  font-size: 1.1rem;
  font-weight: bold;
  background-color: #e91e63;
  color: white;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.add-to-cart-btn:hover {
  background-color: #c2185b;
}

.product-actions {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  align-items: center;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 25px;
  font-size: 1.1rem;
  font-weight: bold;
  background-color: #25D366;
  color: white;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  transition: background-color 0.3s;
  text-decoration: none;
  box-sizing: border-box; /* Padding'in genişliğe dahil edilmesini sağlar */
}

.btn-whatsapp:hover { background-color: #128C7E; }

.add-to-cart-btn:disabled {
  background-color: #999;
  cursor: not-allowed;
  opacity: 0.7;
}

/* Ürün Puanlama Yıldızları */
.product-rating-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 15px 0;
}

.product-rating-display {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stars-outer {
  position: relative;
  display: inline-block;
  font-family: "Font Awesome 6 Free";
  font-weight: 400; /* fa-regular */
}

.stars-outer::before {
  content: "\f005 \f005 \f005 \f005 \f005"; /* 5 boş yıldız */
  color: #ccc;
}

.stars-inner {
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  font-family: "Font Awesome 6 Free";
  font-weight: 900; /* fa-solid */
}

.stars-inner::before {
  content: "\f005 \f005 \f005 \f005 \f005"; /* 5 dolu yıldız */
  color: #f8ce0b; /* Altın sarısı */
}

.rating-submission-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rating-submission-area p {
  margin: 0;
  font-size: 0.9rem;
}

.rating-submission-area .rating-stars i {
  cursor: pointer;
  color: #f8ce0b;
  font-size: 1.5rem;
  margin-right: 5px;
  transition: transform 0.2s;
  opacity: 1;
  pointer-events: auto;
}

.rating-submission-area .rating-stars i:hover {
  transform: scale(1.2);
  opacity: 1;
}

/* Ürün Detay Sayfasındaki Özellikler Listesi */
.product-attributes {
  margin: 25px 0;
  padding: 20px;
  background: rgba(0,0,0,0.2);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
}

.product-attributes ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-attributes li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.95rem;
}

/* Ürün Kartlarındaki Puanlama Göstergesi */
.product-card-rating {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
}

.product-card-rating .stars-outer {
  font-size: 0.9rem; /* Yıldızları biraz küçültelim */
}

.rating-count-card {
  font-size: 0.8rem;
  color: #ddd;
}
/* Benzer Ürünler & Yeni Gelenler */
.similar-products-container,
.new-arrivals-container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 50px; /* Oklar için yanlarda boşluk bırakalım */
  position: relative; /* Okların konumlanması için */
}

.new-arrivals-slider .product-card-link {
  text-decoration: none;
}

.similar-products-container .product-card-link {
  display: block;
  text-decoration: none;
}

.similar-products-container h2,
.new-arrivals-container h2 {
  text-align: center;
  position: relative; /* Alt çizgi için konumlandırma */
  padding-bottom: 20px; /* Alt çizgi için boşluk */
  font-family: 'Pacifico', cursive;
  font-size: 2.5rem;
  color: white;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Genel Bölüm Başlığı Stili */
.section-title {
  text-align: center;
  position: relative;
  padding-bottom: 20px;
  font-family: 'Pacifico', cursive;
  font-size: 2.8rem;
  color: white;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Başlıkların altına şık bir süsleme ekleyelim */
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background-color: #e08ebe; /* Sitenin vurgu rengi */
  border-radius: 2px;
}

/* En Çok Satanlar Slider Konteyneri (Yeni Gelenler ile aynı stilde) */
.bestsellers-container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 50px;
  position: relative;
}

/* Bölüm başlıklarının altındaki açıklama metni */
.section-subtitle {
  text-align: center;
  color: #eee;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 600px; /* Metnin çok fazla yayılmasını engeller */
  margin: -15px auto 40px auto; /* Üst, yatay, alt boşlukları ayarlar */
  opacity: 0.9; /* Metni biraz daha yumuşak gösterir */
}

/* Swiper Slider Okları */
.swiper-button-next,
.swiper-button-prev {
  color: #e08ebe; /* Sitenin vurgu rengi */
  background-color: rgba(255, 255, 255, 0.2);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  backdrop-filter: blur(5px);
  transition: background-color 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

/* Sepet Sayfası Stilleri */
.cart-page-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  color: white;
}

.cart-page-container h1 {
  text-align: center;
  font-family: 'Pacifico', cursive;
  font-size: 2.8rem;
  margin-bottom: 40px;
}

.cart-empty {
  text-align: center;
  padding: 80px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.cart-empty p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn-continue-shopping {
  display: inline-block;
  padding: 12px 25px;
  background-color: #e91e63;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn-continue-shopping:hover {
  background-color: #c2185b;
}

.cart-wrapper {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.cart-items-list {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.cart-item-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
}

.cart-item-details {
  flex-grow: 1;
}

.cart-item-name {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.cart-item-price {
  margin: 0 0 10px;
  font-size: 1rem;
  color: #ddd;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  width: fit-content;
}

.quantity-btn {
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 5px 12px;
}

.quantity-value {
  padding: 5px 15px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.cart-item-subtotal {
  text-align: right;
  font-size: 1.2rem;
  font-weight: bold;
}

.remove-item-btn {
  background: none;
  border: none;
  color: #ffaaaa;
  font-size: 1.5rem;
  cursor: pointer;
  margin-left: 20px;
}

.cart-summary {
  flex: 1;
  padding: 30px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  position: sticky;
  top: 100px;
}

.cart-summary h3 {
  margin-top: 0;
  font-size: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.total-row {
  font-size: 1.3rem;
  font-weight: bold;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-checkout {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
  font-weight: bold;
  background-color: #e91e63;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 20px;
  transition: background-color 0.3s;
  box-sizing: border-box; /* Padding'in genişliğe dahil edilmesini sağlar */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.btn-checkout:hover {
  background-color: #c2185b;
}

.cart-summary-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}
/* Checkout Sayfası Stilleri */
.checkout-page-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  color: white;
}

.checkout-page-container h1 {
  text-align: center;
  font-family: 'Pacifico', cursive;
  font-size: 2.8rem;
  margin-bottom: 40px;
}

.checkout-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.checkout-form-section {
  flex: 2;
}

.checkout-form-section h2 {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group, .form-group-half {
  margin-bottom: 20px;
  width: 100%;
}

.form-group-half {
  width: 50%;
}

.checkout-form-section label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.checkout-form-section input,
.checkout-form-section textarea {
  width: 100%;
  padding: 12px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  box-sizing: border-box;
}

.checkout-form-section input:focus,
.checkout-form-section textarea:focus {
  outline: none;
  border-color: #e91e63;
}

.checkout-summary-section {
  flex: 1;
  padding: 30px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  position: sticky;
  top: 100px;
}

.checkout-summary-section h3 {
  margin-top: 0;
  font-size: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.checkout-items {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 20px;
}

.checkout-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.checkout-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
}

.checkout-item-info {
  display: flex;
  justify-content: space-between;
  flex-grow: 1;
  font-size: 0.9rem;
}

.checkout-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.3rem;
  font-weight: bold;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-complete-order {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
  font-weight: bold;
  background-color: #e91e63;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 20px;
  transition: background-color 0.3s;
}

.btn-complete-order:hover {
  background-color: #c2185b;
}

/* Sipariş Başarılı Sayfası Stilleri */
.order-success-container {
  max-width: 800px;
  margin: 60px auto;
  padding: 60px 40px;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  color: white;
}

.success-icon {
  font-size: 5rem;
  color: #4CAF50;
  margin-bottom: 20px;
}

.order-success-container h1 {
  font-family: 'Pacifico', cursive;
  font-size: 3rem;
  margin-bottom: 15px;
}

.order-success-container p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.order-success-container .btn-continue-shopping {
  margin-top: 30px;
}

/* Giriş ve Kayıt Sayfaları */
.auth-container {
  max-width: 450px;
  margin: 60px auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  color: white;
}

.auth-container h1 {
  text-align: center;
  font-family: 'Pacifico', cursive;
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.auth-container .form-group {
  margin-bottom: 20px;
}

.auth-container label {
  display: block;
  margin-bottom: 8px;
}

.auth-container input {
  width: 100%;
  padding: 12px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  box-sizing: border-box;
}

.btn-auth {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
  font-weight: bold;
  background-color: #e91e63;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s;
}

.btn-auth:hover {
  background-color: #c2185b;
}

.auth-error {
  color: #ffaaaa;
  background: rgba(255, 0, 0, 0.2);
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 20px;
}

.auth-switch {
  text-align: center;
  margin-top: 20px;
}

.auth-switch a {
  color: #e08ebe;
  font-weight: bold;
}

/* Hesabım Sayfası */
.account-container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  color: white;
}

.account-container h1, .account-container h2 {
  font-family: 'Pacifico', cursive;
}

.account-orders-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.account-orders-table th, .account-orders-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.status-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: bold;
  color: white;
}

.status-beklemede { background-color: #ffc107; color: #333; }
.status-isleniyor { background-color: #17a2b8; }
.status-kargolandi { background-color: #007bff; }
.status-tamamlandi { background-color: #28a745; }
.status-iptal-edildi { background-color: #dc3545; }
.status-iade-edildi { background-color: #6c757d; }

.btn-view-details {
  font-size: 0.9rem;
  color: #e08ebe;
  text-decoration: none;
}

.account-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.account-form {
  max-width: 500px;
}

.account-form .form-group {
  margin-bottom: 20px;
}

.account-form label {
  display: block;
  margin-bottom: 8px;
}

.account-form input,
.account-form textarea {
  width: 100%;
  padding: 12px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  box-sizing: border-box;
}

.account-success {
  color: #a7e0a9;
  background: rgba(76, 175, 80, 0.2);
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 20px;
}

.account-error {
  color: #ffaaaa;
  background: rgba(255, 0, 0, 0.2);
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 20px;
}

/* Sipariş Detay Sayfası */
.order-details-page-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  color: white;
}

.order-details-page-container h1,
.order-details-page-container h3 {
  font-family: 'Pacifico', cursive;
}

.order-details-page-container h1 {
  text-align: center;
  margin-bottom: 10px;
}

.back-to-account-link {
  display: block;
  text-align: center;
  margin-bottom: 30px;
  color: #e08ebe;
  text-decoration: none;
}

.order-summary-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  background: rgba(0,0,0,0.2);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 30px;
}

.summary-item {
  font-size: 1rem;
}

.delivery-address-box {
  background: rgba(0,0,0,0.2);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.delivery-address-box p {
  margin: 5px 0;
}

.order-items-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.order-detail-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(0,0,0,0.2);
  padding: 15px;
  border-radius: 12px;
}

.order-detail-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}

.item-info {
  flex-grow: 1;
}

.item-name {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.item-quantity-price {
  font-size: 0.9rem;
  color: #ccc;
}

.item-subtotal {
  font-size: 1.1rem;
  font-weight: bold;
}

/* Galeri için Sepete Ekle Butonu */
.add-to-cart-btn-gallery {
  position: absolute;
  top: 50%; /* Dikey olarak ortala */
  left: 50%;
  transform: translate(-50%, -50%); /* Tam ortalamak için */
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: bold;
  background-color: #e91e63;
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.3s;
  opacity: 0; /* Normalde gizli */
  pointer-events: none; /* Gizliyken tıklanamaz */
  z-index: 2; /* Karartma efektinin üzerinde kalması için */
}

/* Ürün kartının üzerine gelince butonu göster */
.product-card:hover .add-to-cart-btn-gallery {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1); /* Ortada görünür yap */
  pointer-events: auto; /* Görünürken tıklanabilir */
}

/* Hakkımızda Bölümü */
.about-us-container {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 1200px;
  margin: 80px auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  color: white;
}

.about-us-content {
  flex: 1;
}

.about-us-content h2 {
  font-family: 'Pacifico', cursive;
  font-size: 2.8rem;
  color: #e08ebe;
  margin-top: 0;
  margin-bottom: 20px;
  border-bottom: none; /* Başlık altındaki çizgiyi kaldır */
}

.about-us-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.btn-about {
  display: inline-block;
  padding: 12px 25px;
  background-color: #e91e63;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn-about:hover {
  background-color: #c2185b;
}

.about-us-image {
  flex: 1;
}

.about-us-image img {
  width: 100%;
  border-radius: 15px;
}

/* Müşteri Yorumları Bölümü */
.testimonials-container {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.testimonials-container h2 {
  text-align: center;
  position: relative; /* Alt çizgi için konumlandırma */
  padding-bottom: 20px; /* Alt çizgi için boşluk */
  font-family: 'Pacifico', cursive;
  font-size: 2.8rem;
  color: white;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  display: flex;
  flex-direction: column;
}

.testimonial-comment {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  flex-grow: 1;
  margin: 0 0 20px;
}

.testimonial-customer {
  font-weight: bold;
  color: #e08ebe;
  align-self: flex-end;
}

/* Sıkça Sorulan Sorular Bölümü */
.faq-container {
  max-width: 900px;
  margin: 80px auto;
  padding: 0 20px;
}

.faq-container h2 {
  text-align: center;
  position: relative;
  padding-bottom: 20px;
  font-family: 'Pacifico', cursive;
  font-size: 2.8rem;
  color: white;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 25px;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  padding: 0 25px;
  color: #eee;
  line-height: 1.7;
  padding-bottom: 0; /* Geçiş için başlangıç değeri */
}

.faq-item.active .faq-answer {
  padding-bottom: 25px; /* Açıkken boşluk ekle */
}

/* Daha Fazla Yükle Butonu */
.load-more-container {
  text-align: center;
  margin: 20px 0 40px;
}

#load-more-btn {
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: bold;
  background-color: #e91e63;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#load-more-btn:hover:not(:disabled) {
  background-color: #c2185b;
}

#load-more-btn:disabled {
  background-color: #999;
  cursor: not-allowed;
}

/* Toast Bildirim Sistemi */
#toast-container {
  position: fixed;
  top: 90px; /* Navbar'ın altına */
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transform: translateX(120%);
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
  opacity: 0;
  min-width: 280px;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-icon {
  font-size: 1.5rem;
  color: #4CAF50; /* Başarı için yeşil renk */
}

/* Kategori Filtreleme Menüsü */
.category-filter-container {
  display: flex;
  justify-content: center;
  margin: -20px 0 40px;
  padding: 0 20px;
}

.category-filter {
  display: inline-flex;
  gap: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.filter-btn {
  background: transparent;
  border: 1px solid transparent;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.filter-btn.active {
  background: #e91e63;
  color: white;
  border-color: #e91e63;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
}

/* Hızlı Bakış (Quick View) Butonu */
.quick-view-btn {
  position: absolute; /* Konumlandırmayı ortadaki butona göre ayarlayalım */
  top: calc(50% + 50px); /* Sepete ekle butonunun altına */
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 15px;
  font-size: 0.8rem;
  font-weight: bold;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.3s, bottom 0.3s, background-color 0.3s;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.product-card:hover .quick-view-btn {
  opacity: 1;
  pointer-events: auto;
}

/* Üzerine gelince karartma efektini aktif et */
.product-card:hover::after {
  opacity: 1;
  pointer-events: none; /* Overlay'in tıklamaları engellememesi için düzeltildi */
}

.quick-view-btn:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

/* Hızlı Bakış Modal Stilleri */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(5px);
}

.modal-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.visible .modal-content {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 40px;
  height: 40px;
  background: #e91e63;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Modal içeriğini ürün detay sayfasıyla aynı stilde yapalım */
.modal-body {
  display: flex;
  gap: 30px;
  width: 100%;
  height: 100%;
  max-height: 90vh;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  color: white;
  box-sizing: border-box;
}

.modal-body .product-gallery-container {
    max-height: calc(90vh - 60px);
    overflow-y: auto;
}

.modal-body .product-detail-info {
    max-height: calc(90vh - 60px);
    overflow-y: auto;
}

/* Mobil cihazlar için */
@media (max-width: 768px) {
  .modal-body {
    flex-direction: column;
    overflow-y: auto;
  }
  .modal-close-btn {
    top: 5px;
    right: 5px;
  }
}

/* İletişim Sayfası Stilleri */
.contact-page-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  color: white;
}

.contact-content-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.contact-form-section {
  flex: 2;
}

.contact-info-section {
  flex: 1;
  padding: 30px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 15px;
}

.contact-info-section h3 {
  font-family: 'Pacifico', cursive;
  font-size: 1.8rem;
  margin-top: 0;
  margin-bottom: 25px;
  color: #e08ebe;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

.info-item i {
  font-size: 1.5rem;
  color: #e08ebe;
  margin-top: 5px;
}

.info-item strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.info-item p {
  margin: 0;
  font-size: 1rem;
  color: #ddd;
  line-height: 1.5;
}

@media (max-width: 992px) {
  .contact-content-wrapper {
    flex-direction: column;
  }
  .contact-info-section {
    width: 100%;
    box-sizing: border-box;
  }
}

/* Gelişmiş Arama Çubuğu Stilleri */
.search-container {
  position: relative;
  display: flex;
  align-items: center;
  margin-right: 20px;
}

.search-icon {
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 10px;
  transition: color 0.3s;
  z-index: 2;
}

#search-input {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  color: white;
  padding: 10px 20px;
  font-size: 1rem;
  width: 300px;
  box-sizing: border-box;
  position: absolute;
  top: 100%; /* Navbar'ın hemen altına */
  right: 0;
  margin-top: 10px; /* Navbar ile arasında boşluk */
  transform-origin: top right;
  transform: scale(0.8) translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 1001;
}

.search-container.active #search-input {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
}

#search-results {
  position: absolute;
  top: calc(100% + 60px); /* Arama kutusunun altına */
  right: 0;
  width: 300px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 1000;
  display: none;
  max-height: 400px;
  overflow-y: auto;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px;
  color: white;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.2s;
}

.search-result-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 5px;
}

/* Geri Sayım Sayacı Stilleri */
.countdown-timer {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: rgba(233, 30, 99, 0.8); /* Ana pembe rengi */
  color: white;
  padding: 8px;
  border-radius: 0 0 15px 15px; /* Kartın alt köşeleriyle uyumlu */
  font-size: 0.9rem;
  font-weight: bold;
  text-align: center;
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .countdown-timer {
  opacity: 1;
}

.add-to-cart-btn-gallery:disabled {
  background-color: #999;
  cursor: not-allowed;
  opacity: 0.7;
}

/* Stok Uyarısı Stili */
.stock-warning {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 193, 7, 0.9); /* Dikkat çekici sarı */
  color: #333; /* Koyu renk yazı */
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: bold;
  z-index: 6; /* Şeridin üzerinde kalması için */
  backdrop-filter: blur(3px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Karşılaştırma Butonu */
.compare-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 6px 10px;
  font-size: 0.8rem;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
}

.product-card:hover .compare-btn {
  opacity: 1;
  pointer-events: auto;
}

.compare-btn.active, .compare-btn:hover {
  background-color: #e91e63; /* Sitenin ana rengiyle güncellendi */
  border-color: #e91e63;
}

/* Karşılaştırma Çubuğu */
.compare-bar {
  position: fixed;
  bottom: -100px; /* Başlangıçta gizli */
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 600px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px 15px 0 0;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10000;
  transition: bottom 0.4s ease-in-out;
}

.compare-bar.visible {
  bottom: 0;
}

.compare-bar-items {
  display: flex;
  gap: 10px;
  color: white;
  align-items: center;
}

.compare-bar-items span { font-weight: bold; }

.compare-bar-actions {
  display: flex;
  gap: 10px;
}

.compare-bar .btn-secondary {
  background-color: #6c757d;
  border-color: #6c757d;
  color: white;
  padding: 10px 15px;
}
/* Yukarı Çık Butonu */
#scroll-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: rgba(233, 30, 99, 0.7); /* Ana tema rengi, hafif şeffaf */
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 9998; /* Sosyal panelin altında, diğer her şeyin üstünde */
  backdrop-filter: blur(8px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#scroll-to-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Ana Footer Alanı */
.main-footer {
  background: rgba(0, 0, 0, 0.3); /* Diğer cam elementlerden biraz daha koyu */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  color: #eee;
  padding-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 80px; /* Sayfa içeriği ile arasında boşluk */
  position: relative;
  width: 100%;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.footer-column h3 {
  font-family: 'Pacifico', cursive;
  color: #e08ebe;
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: 500;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s, padding-left 0.3s;
}

.footer-column ul li a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-about p {
  line-height: 1.7;
  color: #ccc;
}

.footer-bottom {
  text-align: center;
  padding: 25px 20px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #aaa;
}
/* ========================================
   MOBILE RESPONSIVE MEDIA QUERIES
   ======================================== */

/* Çok küçük telefonlar: 320px - 480px */
@media (max-width: 480px) {
  /* Search Container */
  #search-input {
    width: 90vw;
    max-width: 300px;
    font-size: 16px;
  }

  #search-results {
    width: 90vw;
    max-width: 300px;
  }

  /* Genel */
  body {
    font-size: 14px;
  }

  /* Navbar */
  .navbar {
    padding: 12px 10px;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
  }

  .logo {
    position: static;
    font-size: 1.5rem;
    margin-bottom: 10px;
    width: 100%;
    text-align: center;
    top: auto;
    left: auto;
  }

  /* Hamburger Menu */
  .hamburger-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
  }

  .hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
  }

  /* Hamburger Açık Durumu */
  .hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
  }

  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  /* Mobil Menü */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    gap: 0;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    width: calc(100vw - 40px);
    max-width: 400px;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 15px 10px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
    text-align: left;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown .nav-link {
    padding: 15px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-dropdown .nav-link i {
    transition: transform 0.3s ease;
  }

  .nav-dropdown.open .nav-link i {
    transform: rotate(180deg);
  }

  .nav-dropdown .dropdown-content {
    display: none;
    position: static;
    background: rgba(255, 255, 255, 0.08);
    padding: 0;
    border: none;
    margin: 0;
  }

  .nav-dropdown.open .dropdown-content {
    display: flex;
    flex-direction: column;
    max-height: 500px;
    overflow-y: auto;
  }

  .nav-dropdown .dropdown-content a {
    padding: 12px 10px 12px 30px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-dropdown .dropdown-content a:hover {
    background-color: rgba(233, 30, 99, 0.3);
  }

  .nav-links {
    gap: 10px;
    font-size: 0.9rem;
    margin: 0;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  .cart-icon a,
  .user-link {
    font-size: 0.9rem;
  }

  /* Ürün Galerisi */
  .product-gallery {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    padding: 10px;
  }

  .product-card {
    padding: 8px;
    border-radius: 12px;
  }

  .like-btn {
    font-size: 1rem;
    top: 10px;
    right: 10px;
  }

  .quick-view-btn,
  .add-to-cart-btn-gallery,
  .compare-btn {
    font-size: 0.8rem;
    padding: 6px 8px;
  }

  /* Ürün Detay */
  .product-detail-container {
    flex-direction: column;
    padding: 10px;
  }

  .product-gallery-container {
    width: 100%;
    margin-bottom: 20px;
  }

  .product-detail-info h1 {
    font-size: 1.5rem;
  }

  .price-box-detail {
    font-size: 1rem;
  }

  .current-price-detail {
    font-size: 1.2rem;
  }

  .old-price-detail {
    font-size: 0.8rem;
  }

  .add-to-cart-btn {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
  }

  /* Formlar */
  .form-group label {
    font-size: 0.9rem;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 16px; /* Mobilde 16px altında otomatik zoom */
    padding: 12px;
  }

  /* Butonlar */
  button {
    min-height: 44px;
    font-size: 1rem;
  }

  /* Metin */
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  p {
    line-height: 1.6;
  }

  /* Sosyal İkonlar */
  .social-dock {
    right: 5px;
    bottom: 10px;
  }

  /* Konteynerler */
  .container {
    padding: 10px;
  }

  /* Tablo */
  table {
    font-size: 0.85rem;
  }

  td, th {
    padding: 8px 4px;
  }
}

/* Küçük tablolar: 481px - 768px */
@media (max-width: 768px) {
  /* Navbar */
  .navbar {
    padding: 15px;
  }

  .nav-links {
    gap: 15px;
  }

  .nav-links a {
    font-size: 1rem;
  }

  .logo {
    font-size: 2rem;
  }

  /* Ürün Galerisi */
  .product-gallery {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    padding: 15px;
  }

  .product-detail-container {
    flex-direction: column;
    gap: 20px;
  }

  .product-gallery-container {
    width: 100%;
  }

  .product-detail-info {
    width: 100%;
  }

  .product-detail-info h1 {
    font-size: 1.8rem;
  }

  /* Forms */
  .form-group {
    margin-bottom: 15px;
  }

  .form-group input,
  .form-group textarea {
    padding: 12px;
    font-size: 16px;
  }

  /* Buttons */
  .add-to-cart-btn {
    width: 100%;
  }

  /* Similar Products */
  .similar-products-container .product-gallery {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  /* İlgili Sayfalar */
  .about-content,
  .contact-content {
    flex-direction: column;
  }

  .about-content img,
  .contact-content img {
    width: 100%;
    margin: 0 0 20px 0;
  }

  /* Footer */
  .footer {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .footer-column {
    padding: 15px;
  }
}

/* Küçük - Orta Mobil: 481px - 768px */
@media (min-width: 481px) and (max-width: 768px) {
  .footer {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer-column {
    padding: 20px;
  }
}

/* Ekstra büyük mobil: 769px - 1024px (Tablet) */
@media (max-width: 1024px) {
  /* Ürün Galerisi */
  .product-gallery {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }

  .product-card {
    padding: 12px;
  }

  /* Forms ve Containers */
  .container {
    max-width: 95%;
    padding: 15px;
  }

  /* Tablo */
  table {
    font-size: 0.9rem;
  }

  /* Admin Panel */
  .admin-container {
    flex-direction: column;
  }

  .admin-sidebar {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }

  .admin-content {
    width: 100%;
  }
}

/* Landscape Mobil */
@media (max-height: 600px) and (orientation: landscape) {
  .navbar {
    padding: 10px;
  }

  .logo {
    font-size: 1.2rem;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  .product-gallery {
    padding: 10px;
  }
}

/* Dokunmatik cihazlarda hover efektlerini kaldır */
@media (hover: none) and (pointer: coarse) {
  .product-card:hover,
  .like-btn:hover,
  .nav-links a:hover {
    transition: none;
  }

  .product-card::after {
    opacity: 0;
  }

  /* Dokunabilir butonları daha büyük yap */
  button,
  .nav-links a,
  .user-link,
  .like-btn {
    min-width: 48px;
    min-height: 48px;
  }
}

/* Büyük ekranlar (Desktop) - Mevcut ayarları koru */
@media (min-width: 1025px) {
  .product-gallery {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }

  .container {
    max-width: 1200px;
  }

  /* Hamburger Menü - Gizle */
  .hamburger-menu {
    display: none !important;
  }

  /* Normal Menü - Göster */
  .nav-links {
    display: flex !important;
    position: static !important;
    background: none !important;
    flex-direction: row !important;
    padding: 0 !important;
    border-top: none !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .nav-links a {
    padding: 0 !important;
    border-bottom: none !important;
  }
}

/* Tablet: 769px - 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
  /* Hamburger Menü - Gizle */
  .hamburger-menu {
    display: none !important;
  }

  /* Normal Menü - Göster */
  .nav-links {
    display: flex !important;
    position: static !important;
    background: none !important;
    flex-direction: row !important;
    padding: 0 !important;
    border-top: none !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .nav-links a {
    padding: 0 !important;
    border-bottom: none !important;
    font-size: 0.95rem !important;
  }
}

/* Hamburger Menu Stili - Desktop kaydı */
.hamburger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
}

.hamburger-menu span {
  width: 25px;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block;
}

/* Hamburger Açık Durumu */
.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobil Menü - Desktop kaydı */
.nav-links {
  gap: 30px;
}

/* 768px ve altında hamburger menü etkinleştir */
@media (max-width: 768px) {
  .hamburger-menu {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: auto;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    gap: 0;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    width: 300px;
    border-radius: 0 0 0 20px;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 15px 10px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
    text-align: left;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown .dropdown-content {
    display: none;
    position: static;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 0;
    border: none;
  }

  .nav-dropdown.open .dropdown-content {
    display: flex;
    flex-direction: column;
  }

  .nav-dropdown .dropdown-content a {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}

@media (min-width: 481px) and (max-width: 1366px) {
  .navbar {
    flex-wrap: nowrap;
    align-items: center;
  }

  .logo {
    position: static;
    top: auto;
    left: auto;
    font-size: 2.2rem;
    margin-right: 20px;
  }

  .nav-links {
    flex: 1 1 auto;
    justify-content: center;
    gap: 20px;
  }

  .user-actions,
  .cart-icon,
  .search-container {
    margin-left: 10px;
  }
}
