.cart-item-delete {
  background: none;
  border: none;
  color: #ff4d4f;
  font-size: 1.3em;
  font-weight: bold;
  margin-left: 12px;
  cursor: pointer;
  border-radius: 50%;
  padding: 2px 8px;
  transition: background 0.2s, color 0.2s;
}
.cart-item-delete:hover {
  background: #ff4d4f;
  color: #fff;
}
.cart-sidebar-list {
  list-style: none;
  margin: 0 0 18px 0;
  padding: 0;
}
.cart-sidebar-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 1rem;
}
.cart-item-name {
  font-weight: 600;
  color: #222;
}
.cart-item-qty {
  color: #67A167;
  margin: 0 12px;
}
.cart-item-total {
  font-weight: 600;
  color: #222;
}
.cart-sidebar-total {
  text-align: right;
  font-size: 1.1rem;
  margin-top: 12px;
  color: #222;
}
/* Cart Sidebar (Drawer) Styles */
.cart-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(16, 24, 39, 0.32);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cart-sidebar-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 370px;
  max-width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: -8px 0 32px rgba(16, 24, 39, 0.18);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.7,0,.7,1);
  display: flex;
  flex-direction: column;
}
.cart-sidebar.open {
  transform: translateX(0);
}
.cart-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 12px 24px;
  border-bottom: 1px solid #e6e6e6;
}
.cart-sidebar-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #67A167;
}
.cart-sidebar-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #67A167;
  cursor: pointer;
  transition: color 0.2s;
}
.cart-sidebar-close:hover {
  color: #ff4d4f;
}
.cart-sidebar-content {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}
.cart-empty {
  color: #888;
  text-align: center;
  margin-top: 48px;
}
.cart-sidebar-footer {
  padding: 18px 24px;
  border-top: 1px solid #e6e6e6;
  background: #fafafa;
  display: flex;
  justify-content: flex-end;
}
.font-green {
	color: #67A167;
}

:root {
  --new-text-color: #FFFDE7;
}

html {
	height: 100%;
	background: 
		linear-gradient(160deg, #679167, #B0D4BD, #679167),
		url('pattern.svg');
	background-size: cover, 40px 40px;
	background-repeat: no-repeat, repeat;
	background-attachment: fixed;
  scroll-behavior: smooth;
}

body {
	min-height: 100%;
	color: var(--new-text-color);
	font-family: 'Inter', system-ui, sans-serif;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* Header */
.header {
	height: clamp(56px, 10vw, 90px);
	display: flex;
	align-items: center;
	position: sticky;
	top: 0;
	z-index: 100;
	width: 100vw;
	min-width: 0;
	transition: background 0.3s;
	background: rgba(255,255,255,0.1);
}

.header.scrolled {
	background: linear-gradient(135deg, #0e3c2e 0%, #1a5c47 100%);
	box-shadow: 0 4px 18px rgba(16, 24, 39, 0.18);
}

.nav {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 clamp(8px, 4vw, 32px);
	height: 100%;
}

/* Header Sepet İkonu */
.cart-icon {
  position: relative;
  margin-left: 24px;
  display: flex;
  align-items: center;
  cursor: pointer;
  background: none;
  border-radius: 50%;
  padding: 8px;
  transition: transform 0.2s;
}

.cart-icon:hover {
  transform: scale(1.1);
}

.cart-icon .header-cart-svg {
  fill: var(--new-text-color);
  stroke: var(--new-text-color);
  width: 32px;
  height: 32px;
}

.cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  background-color: #ff4d4f;
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.75rem;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Hero Section */
.hero-action {
	padding: clamp(18px, 7vw, 48px) 0 clamp(16px, 6vw, 40px) 0;
	width: 100vw;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	border-radius: 0;
	margin: 0;
	background: rgba(255,255,255,0.1);
}

.hero-content-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(12px, 5vw, 48px);
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
	padding: 0 clamp(4px, 4vw, 32px);
	min-width: 0;
	box-sizing: border-box;
}

.hero-logo {
	width: clamp(180px, 32vw, 420px);
	height: clamp(180px, 32vw, 420px);
	object-fit: contain;
	border-radius: 24px;
	background: linear-gradient(135deg, #e6faf3 0%, #d1f5e6 100%);
	box-shadow: 0 8px 24px rgba(182, 247, 194, 0.4);
	margin-right: 0;
	display: block;
	padding: 12px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-logo:hover {
	transform: scale(1.05) translateY(-5px);
    box-shadow: 0 12px 32px rgba(182, 247, 194, 0.5);
}

.hero-content {
	max-width: 400px;
	margin: 0 auto;
	text-align: left;
	word-break: break-word;
}
.hero-content h1 {
	font-family: 'Playfair Display', serif;
	font-size: clamp(1.4rem, 5vw, 2.5rem);
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 16px;
	color: var(--new-text-color);
}

.hero-content p {
	color: var(--new-text-color);
	font-size: clamp(0.9rem, 3.5vw, 1.08rem);
	margin-bottom: 24px;
	font-weight: 500;
}
.hero-buttons {
	display: flex;
	gap: 18px;
	justify-content: center;
	flex-wrap: wrap;
}
.btn {
	display: inline-block;
	font-weight: 600;
	font-size: clamp(0.95rem, 3vw, 1.1rem);
	border-radius: 999px;
	padding: clamp(8px, 2vw, 12px) clamp(18px, 6vw, 28px);
	border: none;
	cursor: pointer;
	transition: background 0.18s, color 0.18s, border-color 0.18s;
	outline: none;
	text-decoration: none;
}
.btn-primary {
	background: linear-gradient(90deg, #7EC27E, #67A167);
	color: #fff;
	box-shadow: 0 4px 18px #b6f7c2;
}
.btn-primary:hover, .btn-primary:focus {
	background: linear-gradient(90deg, #67A167, #7EC27E);
	color: #fff;
}
.btn-ghost {
	background: transparent;
	color: #67A167;
	border: 2px solid #67A167;
}
.btn-ghost:hover, .btn-ghost:focus {
	background: #67A167;
	color: #fff;
}

/* Uiverse.io Button */ 
.button {
  margin: 0;
  height: auto;
  background: transparent;
  padding: 0;
  border: none;
  cursor: pointer;
}
.button {
  --border-right: 6px;
  --text-stroke-color: var(--new-text-color);
  --animation-color: var(--new-text-color);
  --fs-size: 2em;
  letter-spacing: 3px;
  text-decoration: none;
  font-size: var(--fs-size);
  font-family: "Arial";
  position: relative;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px var(--text-stroke-color);
}
.hover-text {
  position: absolute;
  box-sizing: border-box;
  content: attr(data-text);
  color: var(--animation-color);
  width: 0%;
  inset: 0;
  border-right: var(--border-right) solid var(--animation-color);
  overflow: hidden;
  transition: 0.5s;
  -webkit-text-stroke: 1px var(--animation-color);
}
.button:hover .hover-text {
  width: 100%;
  filter: drop-shadow(0 0 23px var(--animation-color))
}

.nav-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 28px;
}
.nav a {
	color: var(--new-text-color);
	text-decoration: none;
	font-weight: 700;
	font-size: clamp(0.9rem, 3vw, 1rem);
	padding: clamp(4px, 1vw, 6px) clamp(8px, 2vw, 12px);
	border-radius: 8px;
	position: relative;
	overflow: visible;
	transition: color 0.2s, transform 0.18s, text-shadow 0.18s;
	letter-spacing: 0.25em;
	display: inline-block;
}
.nav a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 2.5px;
	background: var(--new-text-color);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.18s cubic-bezier(.7,0,.7,1), background 0.18s;
}
.nav a:hover::after, .nav a:focus::after {
    background: var(--new-text-color);
    transform: scaleX(1);
}
.nav a:hover, .nav a:focus {
	color: var(--new-text-color);
	background: none;
	outline: none;
	text-shadow: 0 0 1px var(--new-text-color), 0 0 2px var(--new-text-color);
	transform: scale(1.08);
}

/* WhatsApp FAB */
.wa-fab {
	position: fixed;
	right: 32px;
	bottom: 32px;
	z-index: 9999;
	width: 72px;
	height: 72px;
	background: #25d366;
	border-radius: 50%;
	box-shadow: 0 6px 24px rgba(37,211,102,0.25), 0 1.5px 6px rgba(0,0,0,0.10);
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	outline: none;
	color: var(--new-text-color);
	text-decoration: none;
	animation: wa-in-right 1.2s cubic-bezier(.2,.7,.2,1) 0.2s both;
	transition: box-shadow 0.18s, transform 0.18s;
	transform: translateX(0) scale(1);
}
.wa-fab:hover, .wa-fab:focus {
	box-shadow: 0 12px 32px rgba(37,211,102,0.35), 0 2px 8px rgba(0,0,0,0.13);
	transform: translateX(0) scale(1.3);
}
.wa-fab svg {
	width: 34px;
	height: 34px;
	fill: #fff;
	display: block;
}
@keyframes wa-in-right {
	0%   { transform: translateX(120%) scale(1); opacity: 0; }
	60%  { transform: translateX(-8%) scale(1.08); opacity: 1; }
	80%  { transform: translateX(4%) scale(0.98); opacity: 1; }
	100% { transform: translateX(0) scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-fab { animation: none; transform: none; }
}

/* Category Filter Buttons */
.category-filter-section {
  width: 100vw;
  min-width: 0;
  display: flex;
  justify-content: center;
  margin-top: clamp(24px, 6vw, 48px);
  padding: 0 clamp(8px, 4vw, 32px);
}
.category-buttons-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 900px;
}
.category-btn {
  background: none;
  border: 2px solid #1A5C47;
  color: #f0f0f0; /* Yazı rengi beyaza yakın */
  font-weight: 600;
  font-size: clamp(0.9rem, 3vw, 1rem);
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.05em;
}
.category-btn:hover {
  background: #B0D4BD;
  color: #1a5c47;
}
.category-btn.active {
  background: linear-gradient(90deg, #7EC27E, #67A167);
  color: #fff;
  border-color: #67A167;
  box-shadow: 0 4px 18px #b6f7c2;
}

/* Product Cards */
.product-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
  justify-content: center;
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 16px;
}
/* Gizli ürünler için */
.product-card[style*="display: none"] {
  display: none !important;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08); /* Hafif şeffaf beyaz */
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s cubic-bezier(.4, 0, .2, 1), box-shadow 0.3s cubic-bezier(.4, 0, .2, 1);
  padding-bottom: 20px;
  box-sizing: border-box;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

.product-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFDE7; /* Daha belirgin bir başlık rengi */
  margin: 20px 0 8px 0;
  text-align: center;
}

.product-card p {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1A5C47; /* Koyu yeşil tonu */
  margin: 0 0 12px 0;
  text-align: center;
}

.product-image-box {
  width: 100%;
  padding-top: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(135deg, #e6faf3, #d1f5e6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.product-image-box img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  object-fit: cover;
  border-radius: 12px;
}

/* Ürün Kartı Sepet Alanı */
.card-cart-area {
  width: 100%;
  padding: 0 18px;
  box-sizing: border-box;
  margin-top: auto;
}

/* Sepete Ekle Butonu */
.add-to-cart-btn {
  width: 100%;
  background: linear-gradient(90deg, #7EC27E, #67A167);
  border: none;
  border-radius: 999px;
  padding: 12px 16px;
  box-shadow: 0 4px 18px rgba(182, 247, 194, 0.4);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  color: #fff;
}

.add-to-cart-btn svg {
  stroke: #fff;
  transition: stroke 0.2s;
}

.add-to-cart-btn:hover {
  background: linear-gradient(90deg, #67A167, #7EC27E);
  box-shadow: 0 8px 20px rgba(182, 247, 194, 0.6);
}

.add-to-cart-btn:hover svg {
  stroke: #fff;
}

/* Miktar Kontrol Alanı */
.cart-qty-controls {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #234739;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  padding: 8px 16px;
  box-sizing: border-box;
}

.cart-qty-controls button {
  background: none;
  border: none;
  color: #B0D4BD;
  font-size: 1.5em;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}

.cart-qty-controls button:hover {
  background: #1a5c47;
  color: #fff;
}

.qty-value {
  color: #FFFDE7;
  font-weight: 600;
  min-width: 24px;
  text-align: center;
}

.product-price-total {
    font-weight: 700;
    color: #B0D4BD;
    font-size: 1em;
}

/* Contact Section Styles */
.contact-section {
  width: 100%;
  padding: clamp(40px, 8vw, 80px) clamp(8px, 4vw, 32px);
  padding-bottom: 120px;
  box-sizing: border-box;
  text-align: center;
  background: rgba(14, 60, 46, 0.2);
  color: var(--new-text-color);
}

.contact-content {
  max-width: 700px;
  margin: 0 auto;
}

.contact-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  margin-bottom: 20px;
}

.contact-content p {
  font-size: clamp(1rem, 3vw, 1.1rem);
  line-height: 1.6;
  margin-bottom: 30px;
}

.contact-details p {
  margin-bottom: 12px;
  font-weight: 500;
}


/* --- Mobil Menü Profesyonel Geliştirmeler --- */
/* Bu bölüm, eski medya sorgusu stillerinin yerini alacak şekilde güncellendi */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
  position: relative;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  content: '';
  display: block;
  background-color: var(--new-text-color);
  height: 3px;
  width: 28px;
  border-radius: 3px;
  position: absolute;
  left: 6px;
  transition: all 0.3s ease-in-out;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

.menu-toggle.active .hamburger {
  background-color: transparent;
}

.menu-toggle.active .hamburger::before {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .hamburger::after {
  transform: translateY(-8px) rotate(-45deg);
}


/* Mobile responsive */
@media (max-width: 480px) {
  .product-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .product-card {
    height: auto;
    min-height: 280px;
  }
  .wa-fab {
    right: 24px;
    bottom: 24px;
    width: 56px;
    height: 56px;
  }
  .wa-fab svg {
    width: 28px;
    height: 28px;
  }
  .hero-action {
    padding: 32px 0 28px 0;
  }
  .hero-content-wrapper {
    flex-direction: column;
    gap: clamp(10px, 4vw, 20px);
    align-items: center;
    max-width: 100vw;
    padding: 0 4vw;
  }
  .hero-content {
    text-align: center;
  }
  .hero-logo {
    margin-bottom: 0;
    width: clamp(150px, 20vw, 340px);
    height: clamp(150px, 20vw, 340px);
    padding: 6px;
  }

  /* GÜNCELLENMİŞ MOBİL MENÜ STİLLERİ */
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80vw;
    max-width: 320px;
    height: 100%;
    background: #0e3c2e;
    box-shadow: -5px 0 25px rgba(0,0,0,0.2);
    padding-top: 100px;
    transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu a {
    font-size: 1.2rem;
    padding: 15px 30px;
    width: 100%;
    text-align: center;
    border-radius: 8px;
    transition: background-color 0.2s, color 0.2s;
  }

  .nav-menu a:hover, .nav-menu a:focus {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: none;
    text-shadow: none;
  }
  
  .nav-menu a::after {
    display: none;
  }
}

/* En küçük ekranlar için */
@media (max-width: 360px) {
  .wa-fab {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }
  .wa-fab svg {
    width: 24px;
    height: 24px;
  }
  .hero-action {
    padding: 12px 0 10px 0;
  }
  .hero-content-wrapper {
    padding: 0 2vw;
    gap: clamp(6px, 3vw, 14px);
  }
  .hero-logo {
    padding: 2px;
  }
  .hero-content h1 {
    font-size: clamp(1rem, 6vw, 1.6rem);
  }
}

/* style.css dosyasının sonuna ekleyin (veya mevcut olanla değiştirin) */

/* --- Mobil Cihazlar İçin İki Sütunlu Ürün Izgarası --- */

/* Yaklaşık 600px ve altındaki tablet/telefon ekranları için */
@media (max-width: 600px) {
  
  /* 1. Ürün Izgarasını 2 Sütunlu Yapalım */
  .product-container {
    /* İki eşit genişlikte sütun oluşturur */
    grid-template-columns: 1fr 1fr; 
    
    /* Kartlar arasındaki boşluğu azaltalım */
    gap: 16px; 
    
    /* Kenar boşluklarını biraz azaltalım */
    padding: 0 16px;
  }

  /* 2. Ürün Kartlarını Küçültelim */
  .product-card {
    /* Kartın altındaki boşluğu azaltalım */
    padding-bottom: 12px;
  }
  
  .product-card:hover {
     /* Mobilde hover efekti kafa karıştırabilir, daha sade hale getirelim */
    transform: none;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  }

  /* Kart içindeki yazı boyutlarını küçültelim */
  .product-card h3 {
    font-size: 1.05rem; /* 1.25rem'den küçültüldü */
    margin: 12px 0 6px 0; /* Boşluklar azaltıldı */
  }

  .product-card p {
    font-size: 1rem; /* 1.1rem'den küçültüldü */
    margin-bottom: 10px;
  }
  
  /* Kart içindeki sepet alanının boşluğunu ayarlayalım */
  .card-cart-area {
    padding: 0 12px;
  }

  /* Sepete Ekle butonunu küçültelim */
  .add-to-cart-btn {
    padding: 10px 14px;
    font-size: 0.9rem;
  }
  
  .add-to-cart-btn span {
     font-size: 0.9rem;
  }

  /* Miktar kontrol butonlarını küçültelim */
  .cart-qty-controls {
    padding: 6px 12px;
  }

  .cart-qty-controls button {
    font-size: 1.2em;
  }
}


/* 3. En Dar Ekranlar İçin Tek Sütuna Dönüş (GÜNCELLENDİ) */
/* 359px'den dar ekranlar için okunabilirliği koruyalım */
@media (max-width: 359px) {
  .product-container {
    /* Izgarayı tekrar tek sütuna düşürelim */
    grid-template-columns: 1fr;
    gap: 24px; /* Tek sütunda boşluk biraz daha fazla olabilir */
  }
}

/* style.css dosyasının en sonuna ekleyin */

/* --- Ürün Bilgi Paneli Stilleri --- */

/* Bilgi Butonu ("i") */
.product-info-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background-color: rgba(14, 60, 46, 0.7); /* Koyu yeşil, yarı saydam */
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  font-family: 'Times New Roman', serif;
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 30px; /* Dikeyde ortalamak için */
  text-align: center;
  cursor: pointer;
  z-index: 2;
  transition: all 0.2s ease;
}

.product-info-btn:hover {
  background-color: #0e3c2e;
  transform: scale(1.1);
}

/* Bilgi Paneli (Overlay) */
.product-info-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(14, 60, 46, 0.9); /* Koyu yeşil, daha opak */
  backdrop-filter: blur(5px); /* Arkadaki resmi hafif bulanıklaştırır */
  color: #FFFDE7;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 3;

  /* Başlangıçta gizli olması için */
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Panel aktif olduğunda görünür hale gelir */
.product-info-overlay.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

/* Panel İçeriği */
.product-info-overlay h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-top: 20px;
  margin-bottom: 10px;
}

.product-info-overlay p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #e0e0e0;
  margin: 0;
}

.product-info-overlay .info-storage {
  margin-top: 15px;
  font-size: 0.85rem;
  font-style: italic;
}

.product-info-overlay .info-storage strong {
  color: #fff;
}


/* Kapatma Butonu (X) */
.close-info-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  line-height: 30px;
  cursor: pointer;
  opacity: 0.8;
  transition: all 0.2s ease;
}

.close-info-btn:hover {
  opacity: 1;
  transform: rotate(90deg);
}

.product-info-overlay {
  /* Bu özellik, içerik sığmadığında dikey scroll bar çıkarır */
  overflow-y: auto;
  
  /* Daha şık bir scrollbar için (sadece Chrome/Safari gibi tarayıcılarda çalışır) */
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.4) transparent;
}

.product-info-overlay::-webkit-scrollbar {
  width: 6px;
}

.product-info-overlay::-webkit-scrollbar-track {
  background: transparent;
}

.product-info-overlay::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  border: 3px solid transparent;
}


/* 2. Mobil Ekranlar İçin Yazı ve Boşlukları Ayarlama */
@media (max-width: 600px) {

  .product-info-overlay {
    /* İç boşlukları biraz azaltarak metne daha fazla yer açalım */
    padding: 15px;
    padding-top: 35px; /* Kapatma butonu için üstte yer bırakalım */
  }

  /* Başlık fontunu küçültelim */
  .product-info-overlay h4 {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 8px;
  }

  /* Açıklama ve saklama koşulları fontlarını küçültelim */
  .product-info-overlay p {
    font-size: 0.85rem;
    line-height: 1.4;
  }
  
  .product-info-overlay .info-storage {
    margin-top: 10px;
    font-size: 0.8rem;
  }
  
  .close-info-btn {
    top: 5px;
    right: 5px;
  }
}