/*
Theme Name: Sarıgül Ticaret
Theme URI: https://sarigulticaret.com.tr
Author: Sarıgül Ticaret
Description: Sarıgül Ticaret için özel WooCommerce teması. Hugo/GitHub Pages kaynak siteden taşındı.
Version: 1.0.0
Text Domain: sarigul-ticaret
Requires PHP: 8.0
*/

/* =========================================================
   Sarıgül Ticaret – Ana Stil Dosyası
   (Hugo static/css/style.css'ten birebir taşındı)
   ========================================================= */

/* --- Reset & Base ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:          #e94560;
  --primary-dk:       #c2304a;
  --dark:             #0f0c29;
  --dark2:            #1a1a2e;
  --dark3:            #16213e;
  --accent:           #0f3460;
  --text:             #e0e0e0;
  --text-muted:       #a0a0b0;
  --white:            #ffffff;
  --success:          #16a34a;
  --whatsapp:         #25d366;
  --radius:           10px;
  --shadow:           0 4px 20px rgba(0,0,0,0.4);
  --transition:       0.25s ease;
  /* Primary color glow helpers – overridden per theme */
  --primary-glow:     rgba(233,69,96,0.4);
  --primary-glow-sm:  rgba(233,69,96,0.2);
  --primary-glow-xs:  rgba(233,69,96,0.15);
  --primary-tint:     rgba(233,69,96,0.12);
  --primary-border:   rgba(233,69,96,0.3);
}

/* =========================================================
   Gold Theme – matches the official Sarıgül Ticaret logo
   Colors: Gold #C6A042 · Black #111111 · White #FFFFFF
   ========================================================= */
[data-theme="gold"] {
  --primary:          #C6A042;
  --primary-dk:       #a8853a;
  --dark:             #0c0b08;
  --dark2:            #141208;
  --dark3:            #1e1b10;
  --accent:           #8a6820;
  --text:             #f0ead8;
  --text-muted:       #9a9070;
  --white:            #ffffff;
  --shadow:           0 4px 20px rgba(198,160,66,0.25);
  --primary-glow:     rgba(198,160,66,0.4);
  --primary-glow-sm:  rgba(198,160,66,0.2);
  --primary-glow-xs:  rgba(198,160,66,0.15);
  --primary-tint:     rgba(198,160,66,0.12);
  --primary-border:   rgba(198,160,66,0.3);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dk); }

img { max-width: 100%; display: block; }

ul { list-style: none; }

/* --- Utility --------------------------------------------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.section-title {
  text-align: center;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}
.section-title span { color: var(--primary); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dk); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 20px var(--primary-glow); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-whatsapp { background: var(--whatsapp); color: var(--white); }
.btn-whatsapp:hover { background: #1da851; color: var(--white); transform: translateY(-2px); }

/* --- Top Bar --------------------------------------------- */
.top-bar {
  background: var(--dark2);
  padding: 0.4rem 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.top-bar a { color: var(--text-muted); }
.top-bar a:hover { color: var(--primary); }
.top-bar-links { display: flex; gap: 1.2rem; }

/* --- Header ---------------------------------------------- */
/* Sepet ikonu uzerindeki adet rozeti - hem ilk sayfa yuklemesinde
   (header.php) hem AJAX sepet guncellemesinde (fragment, ayni id) tutarli
   kalsin diye buraya, tek yere tasindi. Onceden inline style olarak sadece
   ilk yuklemede vardi; fragment'ta stil hic yoktu, bu yuzden sepete
   ekleme/cikarma sonrasi rozet konumu kayboluyor/ikondan kopuk goruniyordu. */
#cart-count-badge {
  position: absolute;
  top: 7px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: bold;
  border-radius: 50%;
  width: 17px;
  height: 17px;
  line-height: 1;
  text-align: center;
  border: 2px solid var(--dark2);
}
#cart-count-badge.is-empty { display: none; }

header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--dark2);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
}
.logo img { height: 56px; width: auto; }
@media (max-width: 480px) { .logo img { height: 44px; } }
.logo span { color: var(--primary); }

/* NOT: Asagidaki menu kurallari bilerek "header nav" ile kapsanmistir.
   Onceden ciplak "nav" seciciydi ve sayfadaki TUM <nav> ogelerini
   vuruyordu - ozellikle WooCommerce'in <nav class="woocommerce-pagination">
   ogesini. Mobilde bu, sayfalamayi position:absolute + max-height:0 +
   overflow:hidden yapip 1 piksellik bir cizgiye donusturuyordu: urunler
   sayfasinin alt kenarinda gorunen "bos cizgi" buydu ve mobilde sayfalama
   tamamen kullanilamaz haldeydi. (2026-09-13)
   Kapsam icin "#main-nav" DEGIL "header nav" kullanildi: id secici
   ozgullugu .icon-nav-btn gibi sinif kurallarini ezip header ikonlarinin
   stilini bozardi. */
header nav ul {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
header nav ul li { display: flex; align-items: center; }
header nav ul li button { font-family: inherit; line-height: normal; }
header nav ul li a {
  display: block;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: background var(--transition), color var(--transition);
}
header nav ul li a:hover,
header nav ul li a.active { background: var(--primary); color: var(--white); }

/* Hesabim/Arama/Sepet ikon butonlari - ortak gorunum + hover (onceden
   sadece Hesabim <a> etiketi oldugu icin nav'in genel a:hover kuralini
   alip vurgulaniyordu, Arama <button> oldugu icin hic hover'i yoktu). */
.icon-nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  font-size: 1.3rem;
  font-family: inherit;
  line-height: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.icon-nav-btn:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  header nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--dark2);
    border-top: 1px solid rgba(255,255,255,0.07);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  header nav.open { max-height: 400px; }
  header nav ul { flex-direction: column; padding: 0.8rem 1rem; gap: 0.1rem; }
  header nav ul li a { padding: 0.7rem 1rem; font-size: 1rem; }
  .top-bar-links { display: none; }
}

/* --- Hero ------------------------------------------------- */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark3) 60%, var(--accent) 100%);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--primary-glow-xs) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--white);
}
.hero-content h1 span { color: var(--primary); }
.hero-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 480px;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.stat-label { font-size: 0.78rem; color: var(--text-muted); }
.hero-image { display: flex; justify-content: center; }
.hero-image img { max-width: 480px; border-radius: 16px; filter: drop-shadow(0 0 30px var(--primary-glow-sm)); }

@media (max-width: 768px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content p { margin: 0 auto 2rem; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-image { display: none; }
}

/* --- Categories ------------------------------------------ */
.categories { padding: 5rem 0; background: var(--dark2); }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.category-card {
  background: var(--dark3);
  border-radius: var(--radius);
  padding: 2rem 1rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.category-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 8px 30px var(--primary-glow-sm);
}
.category-icon {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.8rem;
}
.category-card h3 { font-size: 1rem; color: var(--white); margin-bottom: 0.3rem; }
.category-card p { font-size: 0.82rem; color: var(--text-muted); }

/* --- Products -------------------------------------------- */
.featured-products { padding: 5rem 0; background: var(--dark); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--dark2);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-image {
  background: var(--dark3);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  overflow: hidden;
}
/* object-fit: cover DEGIL contain.
   Katalogdaki 70 urun gorselinin yalnizca 14'u kare; 35'i 1024x1536 dikey.
   cover ile gorsel iki kez kirpiliyordu - once WordPress 300x300'e, sonra
   CSS bu 220px'lik kutuya - ve sise gibi dikey urunlerde kapak ustten,
   taban alttan kesiliyordu. contain tum urunu gosteriyor; artan boslugu
   kartin kendi koyu zemini dolduruyor.
   Gorseller 1:1 standardina gecirildiginde (Faz 3) bu ayrimin pratikte
   bir etkisi kalmayacak, ama contain yanlis oranli bir gorsel eklendiginde
   de dogru davranmaya devam eder. */
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.product-card:hover .product-image img { transform: scale(1.05); }
.product-badge {
  position: absolute;
  top: 10px; left: 10px;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
}
.badge-new { background: var(--success); color: white; }
.badge-hot { background: var(--primary); color: white; }
.badge-toptan { background: #f59e0b; color: #0a0a0a; }
.product-image-wrap { position: relative; }
.product-info { padding: 1.2rem; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.product-category { font-size: 0.75rem; color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.product-name { font-size: 1rem; font-weight: 700; color: var(--white); }
.product-desc { font-size: 0.83rem; color: var(--text-muted); flex: 1; }
.product-price { font-size: 1.1rem; font-weight: 800; color: var(--primary); }
.product-price small { font-size: 0.75rem; color: var(--text-muted); font-weight: 400; }
.btn-ask {
  font-size: 0.82rem;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  background: var(--whatsapp);
  color: white;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.btn-ask:hover { background: #1da851; color: white; }

/* --- Why Us ---------------------------------------------- */
.why-us { padding: 5rem 0; background: var(--dark2); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.why-card {
  background: var(--dark3);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  transition: border-color var(--transition);
}
.why-card:hover { border-color: var(--primary); }
.why-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  display: block;
}
.why-card h3 { color: var(--white); margin-bottom: 0.5rem; font-size: 1rem; }
.why-card p { font-size: 0.85rem; color: var(--text-muted); }

/* --- CTA Banner ------------------------------------------ */
.cta-banner {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, #c2304a 100%);
  text-align: center;
}
.cta-banner h2 { font-size: clamp(1.4rem, 3vw, 2rem); color: white; margin-bottom: 0.7rem; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 2rem; font-size: 1rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-white { background: white; color: var(--primary); }
.btn-white:hover { background: #f0f0f0; color: var(--primary-dk); }
.btn-white-outline { background: transparent; border: 2px solid white; color: white; }
.btn-white-outline:hover { background: white; color: var(--primary); }

/* --- Contact --------------------------------------------- */
.contact-section { padding: 5rem 0; background: var(--dark); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h2 { font-size: 1.6rem; font-weight: 700; color: var(--white); margin-bottom: 1rem; }
.contact-info p { color: var(--text-muted); margin-bottom: 2rem; }
.contact-items { display: flex; flex-direction: column; gap: 1rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--dark2);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.06);
}
.contact-item-icon {
  width: 44px; height: 44px;
  background: var(--primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-item-text h4 { color: var(--white); font-size: 0.9rem; margin-bottom: 0.2rem; }
.contact-item-text a, .contact-item-text p { color: var(--text-muted); font-size: 0.85rem; }
.contact-item-text a:hover { color: var(--primary); }

.contact-form-box {
  background: var(--dark2);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.06);
}
.contact-form-box h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.4rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--dark2); }
.form-message { font-size: 0.85rem; margin-top: 0.5rem; display: none; }
.form-message.success { color: #4ade80; display: block; }
.form-message.error { color: #f87171; display: block; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* --- Footer ---------------------------------------------- */
footer {
  background: var(--dark2);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); max-width: 260px; }
.social-links { display: flex; gap: 0.8rem; margin-top: 1.2rem; }
.social-link {
  width: 36px; height: 36px;
  background: var(--dark3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}
.social-link:hover { background: var(--primary); color: white; }
.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: var(--text-muted); font-size: 0.85rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--primary); }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* --- Cookie Banner --------------------------------------- */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 10000;
  background: var(--dark2);
  border-top: 2px solid var(--primary);
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
  transform: translateY(100%);

  /* translateY(100%) banner'i ekran disina itiyor ama TAMAMEN gizlemiyor:
     kutunun ust kenari tam viewport alt sinirina denk geliyor, bu yuzden
     yukari dogru vuran box-shadow (0 -4px 20px) ve 2px'lik altin border-top
     ekranin altinda ince bir cizgi olarak gorunmeye devam ediyordu. Sayfa
     kaydirildiginda bu sabit cizgi, o anda alt kenara denk gelen urun
     kartinin fiyatinin uzerinden geciyormus gibi duruyordu.

     visibility:hidden ile gizli haldeyken hicbir sey boyanmiyor. Gecis
     suresi 0s ama .5s gecikmeli: boylece banner kapanirken once asagi
     kayma animasyonu bitiyor, sonra gorunmezlige geciyor. */
  visibility: hidden;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), visibility 0s linear 0.5s;
}
#cookie-banner.visible {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), visibility 0s linear 0s;
}
#cookie-banner p { font-size: 0.87rem; color: var(--text-muted); max-width: 680px; }
#cookie-banner a { color: var(--primary); }
.cookie-buttons { display: flex; gap: 0.8rem; flex-shrink: 0; flex-wrap: wrap; }
.btn-cookie-accept { background: var(--primary); color: white; padding: 0.55rem 1.3rem; border-radius: 7px; border: none; cursor: pointer; font-size: 0.88rem; font-weight: 600; transition: background var(--transition); }
.btn-cookie-accept:hover { background: var(--primary-dk); }
.btn-cookie-decline { background: var(--dark3); color: var(--text-muted); padding: 0.55rem 1.3rem; border-radius: 7px; border: 1px solid rgba(255,255,255,0.1); cursor: pointer; font-size: 0.88rem; transition: background var(--transition), color var(--transition); }
.btn-cookie-decline:hover { background: rgba(255,255,255,0.05); color: var(--white); }

/* --- WhatsApp Float ------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  z-index: 9000;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  color: white;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.7); color: white; }
.whatsapp-float::before {
  content: '';
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--whatsapp);
  animation: wa-pulse 2s infinite;
  z-index: -1;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  70% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

/* --- Back to Top ---------------------------------------- */
#back-to-top {
  position: fixed;
  bottom: 90px; right: 24px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  z-index: 8900;
  box-shadow: 0 4px 14px var(--primary-glow);
}
#back-to-top.visible { opacity: 1; visibility: visible; }
#back-to-top:hover { transform: translateY(-3px); }

/* --- Catalog Page --------------------------------------- */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark3) 100%);
  padding: 2rem 0;
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--white); margin-bottom: 0.5rem; }
.page-hero p { color: var(--text-muted); font-size: 1rem; }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; justify-content: center; margin-top: 0.8rem; font-size: 0.83rem; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { color: var(--primary); }

.catalog-section { padding: 2.25rem 0; background: var(--dark); }
.catalog-filters {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  justify-content: center;
}
.filter-btn {
  padding: 0.5rem 1.1rem;
  border-radius: 25px;
  border: 1px solid rgba(255,255,255,0.15);
  background: var(--dark2);
  color: var(--text-muted);
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn.active,
.filter-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }

/* --- Sayfalama (WooCommerce pagination) -------------------
   Bu blok, ciplak "nav" secicisinin sayfalamayi ezdigi hata duzeltildikten
   sonra eklendi (2026-09-13): oge o zamana kadar gorunmedigi icin hic
   stillenmemisti ve WooCommerce varsayilani (acik gri zeminli aktif sayfa,
   ogeler arasi dikey cizgiler) koyu/altin tema ile uyumsuzdu.

   Seciciler bilerek uzun yazildi: WooCommerce kendi kurallarini
   ".woocommerce nav.woocommerce-pagination ul li span.current" gibi yuksek
   ozgullukle tanimliyor; daha kisa seciciler eziliyordu. Tasarim dili
   .filter-btn ile ayni tutuldu. */
.woocommerce nav.woocommerce-pagination {
  margin: 0 0 3rem;
  text-align: center;
}
.woocommerce nav.woocommerce-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  padding: 0;
  margin: 0;
}
.woocommerce nav.woocommerce-pagination ul.page-numbers li {
  border: none;
  border-right: none;
  margin: 0;
  overflow: visible;
}
.woocommerce nav.woocommerce-pagination ul.page-numbers li a.page-numbers,
.woocommerce nav.woocommerce-pagination ul.page-numbers li span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border-radius: 25px;
  border: 1px solid rgba(255,255,255,0.15);
  background: var(--dark2);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition);
}
.woocommerce nav.woocommerce-pagination ul.page-numbers li a.page-numbers:hover,
.woocommerce nav.woocommerce-pagination ul.page-numbers li a.page-numbers:focus,
.woocommerce nav.woocommerce-pagination ul.page-numbers li span.page-numbers.current {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.woocommerce nav.woocommerce-pagination ul.page-numbers li span.page-numbers.dots {
  background: none;
  border-color: transparent;
  color: var(--text-muted);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

/* --- Contact Page --------------------------------------- */
.contact-page { padding: 4rem 0; background: var(--dark); }
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
}
.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  background: var(--dark3);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1.5rem;
}
@media (max-width: 768px) {
  .contact-page-grid { grid-template-columns: 1fr; }
}

/* --- Misc ----------------------------------------------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.section-divider { border: none; border-top: 1px solid rgba(255,255,255,0.06); margin: 0; }

/* --- Product Card Updates (detail link) ----------------- */
.product-card { display: flex; flex-direction: column; }
.product-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
}
.product-card-link:hover { color: inherit; }
.product-card-link .product-image img { transition: transform 0.4s ease; }
.product-card-link:hover .product-image img { transform: scale(1.05); }
.product-code-small {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: monospace;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
  display: inline-block;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.8rem 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.product-footer-actions { display: flex; gap: 0.4rem; align-items: center; }
.btn-detail {
  font-size: 0.78rem;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  background: var(--dark3);
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  font-weight: 600;
  transition: all var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.btn-detail:hover { background: var(--primary); color: white; border-color: var(--primary); }

/* --- Product Detail Page -------------------------------- */
.product-detail-section { padding: 4rem 0; background: var(--dark); }
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.product-detail-gallery { position: sticky; top: 100px; }

/* Image Slider */
.product-slider { position: relative; background: var(--dark2); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,0.06); }
.slider-track { position: relative; }
.slide { display: none; }
.slide.active { display: block; }
.slide img {
  width: 100%;
  height: 420px;
  object-fit: contain;
  background: var(--dark3);
  display: block;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  z-index: 2;
}
.slider-btn:hover { background: var(--primary); }
.slider-prev { left: 10px; }
.slider-next { right: 10px; }
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem;
  background: var(--dark2);
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: background var(--transition);
  padding: 0;
}
.slider-dot.active { background: var(--primary); }
.slider-thumbnails {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  background: var(--dark2);
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-wrap: wrap;
}
.slider-thumb {
  width: 72px;
  height: 72px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition);
  flex-shrink: 0;
}
.slider-thumb img { width: 100%; height: 100%; object-fit: cover; }
.slider-thumb.active { border-color: var(--primary); }
.slider-thumb:hover { border-color: var(--primary-border); }

.product-detail-image-single { background: var(--dark2); border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.06); overflow: hidden; }
.product-detail-image-single img { width: 100%; height: 420px; object-fit: contain; background: var(--dark3); }

/* Product Detail Info */
.product-detail-meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; flex-wrap: wrap; }
.product-category-tag a {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: var(--primary-tint);
  border: 1px solid var(--primary-border);
  border-radius: 20px;
  padding: 0.25rem 0.85rem;
  text-decoration: none;
  transition: all var(--transition);
}
.product-category-tag a:hover { background: var(--primary); color: white; }
.product-detail-title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; color: var(--white); margin-bottom: 0.75rem; line-height: 1.25; }
.product-code { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.product-code-label { font-size: 0.8rem; color: var(--text-muted); }
.product-code-value {
  font-size: 0.85rem;
  font-family: monospace;
  color: var(--text);
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 5px;
  padding: 0.2rem 0.6rem;
  letter-spacing: 0.05em;
}
.product-detail-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.product-detail-content {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--dark2);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.06);
}
.product-detail-content p { margin-bottom: 0.75rem; }
.product-detail-content p:last-child { margin-bottom: 0; }
.product-detail-content ul { padding-left: 1.2rem; margin-bottom: 0.75rem; }
.product-detail-content ul li { margin-bottom: 0.3rem; list-style: disc; }
.product-detail-content table { width: 100%; border-collapse: collapse; margin-bottom: 0.75rem; }
.product-detail-content table th, .product-detail-content table td { border: 1px solid rgba(255,255,255,0.1); padding: 0.5rem 0.75rem; text-align: left; }
.product-detail-content table th { background: rgba(255,255,255,0.04); color: var(--white); }
.product-detail-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.btn-lg { padding: 0.85rem 1.8rem; font-size: 1rem; }
.product-detail-contact-note {
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255,255,255,0.08);
}
.product-detail-contact-note p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* Related Products */
.related-products-section { padding: 4rem 0; background: var(--dark2); }

@media (max-width: 900px) {
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-detail-gallery { position: static; }
  .slide img, .product-detail-image-single img { height: 320px; }
}
@media (max-width: 600px) {
  .slide img, .product-detail-image-single img { height: 260px; }
  .product-detail-actions { flex-direction: column; }
  .product-detail-actions .btn { width: 100%; justify-content: center; }
}

/* --- Category Pages ------------------------------------- */
.categories-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.category-detail-card {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  background: var(--dark2);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
}
.category-detail-card:hover { border-color: var(--primary); transform: translateY(-3px); color: inherit; }
.category-detail-icon { font-size: 2.5rem; flex-shrink: 0; line-height: 1; }
.category-detail-info h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 0.4rem; }
.category-detail-info p { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0.75rem; line-height: 1.5; }
.category-product-count {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-tint);
  border-radius: 20px;
  padding: 0.2rem 0.7rem;
  display: inline-block;
}
.category-description {
  background: var(--dark2);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* =========================================================
   WooCommerce entegrasyonu – native sepet/checkout/hesabım
   sayfalarını mevcut tasarım diline uydurmak için minimum
   dokunuş. Yapısal degisiklik gereken sablonlar Faz 3'te
   woocommerce/ klasorunde override edilecek.
   ========================================================= */
.woocommerce-message, .woocommerce-info, .woocommerce-error,
.woocommerce-noreviews, p.no-comments {
  background: var(--dark2);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 4px solid var(--primary);
  color: var(--text);
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
/* WooCommerce'in ikon-font ::before'u bizim kutu diliyle cakisip metnin
   uzerine biniyordu (padding-left ayarlanmadigi icin) - kaldirildi. */
.woocommerce-message::before, .woocommerce-info::before,
.woocommerce-error::before, .woocommerce-noreviews::before {
  content: none !important;
  display: none !important;
}
.woocommerce-message a.button, a.wc-forward,
.woocommerce #respond input#submit, .woocommerce a.button,
.woocommerce button.button, .woocommerce input.button {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 0.7rem 1.4rem;
  font-weight: 600;
  border: none;
  transition: background var(--transition), transform var(--transition);
}
.woocommerce #respond input#submit:hover, .woocommerce a.button:hover,
.woocommerce button.button:hover, .woocommerce input.button:hover {
  background: var(--primary-dk);
  color: var(--white);
}
.woocommerce table.shop_table,
.woocommerce-cart table.cart, .woocommerce-checkout table.shop_table {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
}
.woocommerce table.shop_table th { color: var(--white); background: var(--dark3); }
.woocommerce table.shop_table td, .woocommerce table.shop_table th {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--text);
}
.woocommerce-checkout #payment, .woocommerce-cart-form,
.woocommerce-checkout-review-order, .woocommerce-billing-fields,
.woocommerce-additional-fields, .woocommerce-account .woocommerce-MyAccount-content {
  background: var(--dark2);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem;
}
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce input[type="text"], .woocommerce input[type="email"],
.woocommerce input[type="tel"], .woocommerce input[type="password"],
.woocommerce input[type="number"], .woocommerce input[type="search"],
.woocommerce input[type="url"], .woocommerce textarea, .woocommerce select {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: var(--white);
  padding: 0.7rem 1rem;
  font-family: inherit;
}
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus,
.woocommerce input:focus, .woocommerce textarea:focus, .woocommerce select:focus {
  border-color: var(--primary);
  outline: none;
}
.woocommerce form .form-row label { color: var(--text-muted); }
.woocommerce form .form-row .required { color: var(--primary); text-decoration: none; }
.woocommerce ul.woocommerce-error { padding-left: 1.2rem; }
.woocommerce ul.woocommerce-error li { list-style: disc; margin-bottom: 0.3rem; }

/* Ekran okuyucu-only metinler (WooCommerce tablo başlıkları, sepet miktar
   etiketleri vb. birçok yerde .screen-reader-text kullanıyor) - tema bunu
   tanımlamazsa görünür kalıp arayüzü kirletiyordu. */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
  border: 0; padding: 0; margin: -1px;
}

/* Miktar (adet) input'u - sepet/checkout/ürün detay */
.woocommerce .quantity .qty {
  width: 70px;
  text-align: center;
}

/* Select2 (ülke/il seçici) - varsayılan acik tema koyu arka planla cakisiyordu */
.select2-container--default .select2-selection--single {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  height: auto;
  padding: 0.7rem 1rem;
}
.select2-container .select2-selection--single .select2-selection__rendered {
  color: var(--white);
  line-height: normal;
  padding: 0;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
  right: 10px;
}
.select2-dropdown {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.15);
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: var(--primary);
  color: var(--white);
}
.select2-results__option, .select2-search__field {
  color: var(--white);
  background: transparent;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
}
.select2-container--default .select2-selection--single .select2-selection__placeholder { color: var(--text-muted); }

/* Odeme yontemleri listesi */
.woocommerce ul.wc_payment_methods { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.woocommerce ul.wc_payment_methods li.wc_payment_method {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin-bottom: 0.75rem;
}
.woocommerce ul.wc_payment_methods li.wc_payment_method label { color: var(--white); font-weight: 600; margin-left: 0.5rem; }
.woocommerce ul.wc_payment_methods li.wc_payment_method .payment_box {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.woocommerce ul.wc_payment_methods li.wc_payment_method .payment_box p:last-child { margin-bottom: 0; }
.woocommerce-bacs-bank-details { padding-left: 1.2rem; }
.woocommerce-bacs-bank-details li { list-style: disc; margin-bottom: 0.3rem; }
.wc-bacs-bank-details-account-name { color: var(--white); margin-top: 0.5rem; }

/* Checkout iki-sutunlu (fatura bilgileri | siparis ozeti) duzen */
.woocommerce-checkout .col2-set { display: flex; flex-wrap: wrap; gap: 2.5rem; }
.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 { flex: 1 1 360px; }

/* Kupon kutusu */
.woocommerce .coupon { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; }
.woocommerce .coupon .input-text { max-width: 220px; }

/* Radyo/checkbox aksan rengi */
.woocommerce input[type="radio"], .woocommerce input[type="checkbox"] {
  accent-color: var(--primary);
  width: 16px; height: 16px;
}

/* Mobilde responsive tablo basliklari (data-title) */
@media (max-width: 600px) {
  .woocommerce table.shop_table_responsive thead { display: none; }
  .woocommerce table.shop_table_responsive tr { display: block; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .woocommerce table.shop_table_responsive td { display: flex; justify-content: space-between; align-items: center; border-bottom: none; }
  .woocommerce table.shop_table_responsive td::before { content: attr(data-title) ": "; font-weight: 600; color: var(--white); margin-right: 1rem; }
  .woocommerce table.shop_table_responsive td.product-remove::before,
  .woocommerce table.shop_table_responsive td.product-thumbnail::before { content: ""; }
}

/* Hesabım (My Account) sayfası */
.woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; padding: 0; }
.woocommerce-MyAccount-navigation li { list-style: none; }
.woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  background: var(--dark3);
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: all var(--transition);
}
.woocommerce-MyAccount-navigation li.is-active a, .woocommerce-MyAccount-navigation li a:hover {
  background: var(--primary);
  color: var(--white);
}
.woocommerce-MyAccount-content { color: var(--text); }
.woocommerce-MyAccount-content a { color: var(--primary); }

/* Yildiz degerlendirme / urun meta (varsa) */
.woocommerce .star-rating { color: var(--primary); }
.woocommerce .star-rating span::before { color: var(--primary); }

/* Urun degerlendirmeleri (yorumlar) */
.woocommerce-Reviews-title { color: var(--white); font-size: 1.4rem; margin-bottom: 1.25rem; }
.woocommerce-noreviews { background: none; border: none; padding: 0; margin-bottom: 1.5rem; }
#comments ol.commentlist { list-style: none; padding: 0; margin: 0 0 2rem; }
#comments ol.commentlist li.review {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}
#comments .comment_container { display: flex; gap: 1rem; }
#comments .avatar { border-radius: 50%; flex-shrink: 0; }
#comments .woocommerce-review__author { color: var(--white); font-weight: 600; }
#comments .woocommerce-review__dash, #comments .woocommerce-review__published-date { color: var(--text-muted); font-size: 0.85rem; }
#comments .description p { color: var(--text-muted); margin-top: 0.5rem; }
#review_form_wrapper, #respond.comment-respond {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 1.5rem;
}
#respond .comment-reply-title { color: var(--white); font-size: 1.1rem; display: block; margin-bottom: 1rem; }
#respond .comment-notes, #respond .comment-form-rating label { color: var(--text-muted); font-size: 0.85rem; }
#respond .comment-form-rating { margin-bottom: 1rem; }
#respond .comment-form-comment label, #respond .comment-form-author label, #respond .comment-form-email label {
  display: block; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0.4rem;
}
#respond .form-submit { margin-top: 1rem; }

/* NOT: Burada eskiden ".woocommerce a:not(.button):not(.btn)... { color: var(--primary); }"
   gibi genel bir kural vardi. KALDIRILDI: base "a { color: var(--primary); }"
   kurali zaten ayni rengi veriyordu, ama BU kural daha yuksek specificity'e
   sahip oldugundan .filter-btn.active, .wc-forward gibi kendi rengini
   (beyaz) tanimlayan bilesen siniflarini eziyor, arka planla ayni renkte
   (gold-on-gold) gorunmez metinler yaratiyordu - hem "Sepetim" linkinde
   hem "Tumu" filtre butonunda ayni hata tekrarlanmisti. Genel kural
   tamamen kaldirildi; bilesen siniflari artik kendi renklerini guvenle
   tanimlayabilir, base "a" kurali diger duz linkler icin zaten yeterli. */

/* "Sepete eklendi -> Sepetim" linki (WC JS ile sepete ekle butonunun hemen
   altina ekleniyor) - onceki genel kural rengini eziyordu (yukaridaki not),
   guvenlik icin !important ile sabitlendi, ayrica
   butonla ayni gorunume ve ortalamaya kavusturuldu. */
.woocommerce a.added_to_cart.wc-forward,
a.added_to_cart.wc-forward {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 8px;
  color: var(--white) !important;
  background: var(--primary);
}
.woocommerce a.added_to_cart.wc-forward:hover,
a.added_to_cart.wc-forward:hover {
  background: var(--primary-dk);
  color: var(--white) !important;
}

/* =========================================================
   Sipariş Teşekkür (Thank You) sayfası - woocommerce/checkout/thankyou.php
   ========================================================= */
.order-status-banner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  border-left: 4px solid var(--success);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
}
.order-status-banner.is-failed { border-left-color: #dc3545; }
.order-status-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--success);
  color: white;
  font-size: 1.6rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}
.order-status-banner.is-failed .order-status-icon { background: #dc3545; }
.order-status-banner h2 { color: var(--white); font-size: 1.4rem; margin-bottom: 0.3rem; }
.order-status-banner p { color: var(--text-muted); font-size: 0.95rem; margin: 0; display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.order-status-pill {
  display: inline-block;
  background: var(--primary-tint);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  border-radius: 20px;
  padding: 0.15rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.order-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.order-meta-item {
  background: var(--dark2);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.order-meta-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.order-meta-item strong { color: var(--white); font-size: 1rem; }
.order-meta-total { color: var(--primary) !important; font-size: 1.15rem !important; }

/* Banka/BACS ödeme bilgileri - siparişteki en kritik aksiyon bilgisi
   (IBAN) oldugu icin vurgulu kart olarak stillendirildi. */
.woocommerce-bacs-bank-details {
  display: block;
  background: var(--dark2);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
}
.wc-bacs-bank-details-heading { color: var(--white); font-size: 1.15rem; margin-bottom: 0.5rem; }
.wc-bacs-bank-details-account-name { color: var(--text-muted); font-size: 0.9rem; font-weight: 400; margin-bottom: 1rem; }
ul.wc-bacs-bank-details { list-style: none; padding: 0; margin: 0; }
ul.wc-bacs-bank-details li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.6rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--text-muted);
  font-size: 0.9rem;
}
ul.wc-bacs-bank-details li:first-child { border-top: none; }
ul.wc-bacs-bank-details li strong { color: var(--white); font-weight: 600; }
ul.wc-bacs-bank-details li.iban strong {
  color: var(--primary);
  font-size: 1.15rem;
  font-family: monospace;
  letter-spacing: 0.03em;
}
.wc-bacs-iban-copy-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  border-radius: 6px;
  padding: 0.3rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
  flex-shrink: 0;
}
.wc-bacs-iban-copy-btn:hover { background: rgba(255,255,255,0.15); }

.order-whatsapp-cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  background: rgba(37,211,102,0.08);
  border: 1px solid rgba(37,211,102,0.25);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}
.order-whatsapp-cta-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.order-whatsapp-cta > div { flex: 1; min-width: 180px; }
.order-whatsapp-cta h3 { color: var(--white); font-size: 1rem; margin-bottom: 0.2rem; }
.order-whatsapp-cta p { color: var(--text-muted); font-size: 0.87rem; margin: 0; }

.woocommerce-order-details, .woocommerce-customer-details {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
}
.woocommerce-order-details__title, .woocommerce-column__title {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.woocommerce-customer-details address { color: var(--text-muted); font-style: normal; line-height: 1.8; }

@media (max-width: 600px) {
  .order-status-banner, .order-whatsapp-cta { flex-direction: column; text-align: center; }
  .order-whatsapp-cta .btn { width: 100%; justify-content: center; }
}

/* order-status-banner durum varyantlari - view-order.php'de siparisin
   guncel durumuna gore (completed/processing/on-hold/cancelled...) farkli
   renk. is-failed zaten yukarida tanimli, digerleri burada eklendi. */
.order-status-banner.is-success { border-left-color: var(--success); }
.order-status-banner.is-success .order-status-icon { background: var(--success); }
.order-status-banner.is-info { border-left-color: #3b82f6; }
.order-status-banner.is-info .order-status-icon { background: #3b82f6; }
.order-status-banner.is-warning { border-left-color: #f0ad4e; }
.order-status-banner.is-warning .order-status-icon { background: #f0ad4e; }

/* =========================================================
   Hesabım (My Account) - Panel (dashboard.php) ve Sipariş
   Güncellemeleri (view-order.php) kartları
   ========================================================= */
.account-welcome-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
}
.account-welcome-avatar img { border-radius: 50%; display: block; }
.account-welcome-card h2 { color: var(--white); font-size: 1.3rem; margin-bottom: 0.35rem; }
.account-welcome-card p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }
.account-welcome-card p a { color: var(--primary); }

.account-quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.account-quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--text);
  transition: border-color var(--transition), transform var(--transition);
}
.account-quick-link:hover {
  border-color: var(--primary-border);
  transform: translateY(-2px);
  color: var(--white);
}
.account-quick-link-icon { font-size: 1.6rem; }
.account-quick-link-label { font-size: 0.88rem; font-weight: 600; }

.order-updates-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
}
.order-updates-card h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 1rem; }
.order-updates-card ol.woocommerce-OrderUpdates { list-style: none; padding: 0; margin: 0; }
.order-updates-card li.woocommerce-OrderUpdate {
  padding: 0.9rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.order-updates-card li.woocommerce-OrderUpdate:first-child { border-top: none; padding-top: 0; }
.order-updates-card .woocommerce-OrderUpdate-meta { color: var(--text-muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 0.35rem; }
.order-updates-card .woocommerce-OrderUpdate-description p { color: var(--text); font-size: 0.92rem; margin: 0; }

/* Siparişlerim listesi (orders.php) - satır durumuna göre sol şerit +
   durum metnine renkli nokta. WooCommerce her satıra kendisi
   woocommerce-orders-table__row--status-{status} sınıfını ekliyor, bu
   yüzden PHP şablonunu override etmeye gerek kalmadan sadece CSS ile
   thankyou.php/view-order.php ile tutarlı renk dili uygulanabiliyor. */
.account-orders-table.shop_table { border-collapse: separate; }
.woocommerce-orders-table__row {
  border-left: 3px solid transparent;
}
.woocommerce-orders-table__row--status-completed { border-left-color: var(--success); }
.woocommerce-orders-table__row--status-processing { border-left-color: #3b82f6; }
.woocommerce-orders-table__row--status-on-hold,
.woocommerce-orders-table__row--status-pending { border-left-color: #f0ad4e; }
.woocommerce-orders-table__row--status-cancelled,
.woocommerce-orders-table__row--status-failed { border-left-color: #dc3545; }
.woocommerce-orders-table__row--status-refunded { border-left-color: #f0ad4e; }
.woocommerce-orders-table__cell-order-total { color: var(--white); font-weight: 600; }
.woocommerce-orders-table__cell-order-actions .button {
  display: inline-block;
  margin: 0.15rem 0.3rem 0.15rem 0;
}

@media (max-width: 600px) {
  .account-welcome-card { flex-direction: column; text-align: center; }
}
