/* Temel CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #121212;
  color: #e0e0e0;
  line-height: 1.6;
}
/* Mobil cihazlarda yatay taşmaları kesin olarak engeller */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
/* ==========================================
   1. TEMA DEĞİŞKENLERİ (CSS VARIABLES)
   ========================================== */

/* Karanlık Tema (Dark - Varsayılan) */
[data-theme="dark"] {
  --bg-color: #0f1015;
  --card-bg: #1a1b23;
  --card-hover: #242632;
  --border-color: #2b2d3d;
  --accent-color: #0078f2;
  --accent-hover: #0060c4;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --header-bg: rgba(26, 27, 35, 0.95);
  --input-bg: #121318;
  --footer-bg: #15161c;
  --badge-sale: rgba(239, 68, 68, 0.9);
  --badge-bestseller: rgba(245, 158, 11, 0.9);
}

/* Aydınlık Tema (Light) */
[data-theme="light"] {
  --bg-color: #f4f5f9;
  --card-bg: #ffffff;
  --card-hover: #f0f2f7;
  --border-color: #e2e8f0;
  --accent-color: #0060c4;
  --accent-hover: #004593;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --header-bg: rgba(255, 255, 255, 0.95);
  --input-bg: #f8fafc;
  --footer-bg: #e2e8f0;
  --badge-sale: #ef4444;
  --badge-bestseller: #f59e0b;
}
    [data-theme="light"] footer, 
    [data-theme="light"] footer h4, 
    [data-theme="light"] footer p, 
    [data-theme="light"] footer a {
        color: #333333 !important;
    }
    [data-theme="light"] footer a:hover {
        color: var(--accent-color, #0078f2) !important;
    }
/* Yılbaşı Özel Tema */
[data-theme="yilbasi"] {
  --bg-color: #0b1a12;
  --card-bg: #142a1e;
  --card-hover: #1c3b2a;
  --border-color: #2a5238;
  --accent-color: #dc2626;
  --accent-hover: #b91c1c;
  --text-main: #f8fafc;
  --text-muted: #a7f3d0;
  --header-bg: rgba(20, 42, 30, 0.95);
  --input-bg: #0b1a12;
  --footer-bg: #08140e;
  --badge-sale: #dc2626;
  --badge-bestseller: #16a34a;
}

    /* Aydınlık Mod Footer Okunabilirlik Düzeltmesi */
    [data-theme="light"] footer, 
    [data-theme="light"] footer h4, 
    [data-theme="light"] footer p, 
    [data-theme="light"] footer a {
        color: #333333 !important;
    }
    [data-theme="light"] footer a:hover {
        color: var(--accent-color, #0078f2) !important;
    }

    /* Karanlık ve Yılbaşı Modu Sosyal Medya İkonları Düzeltmesi */
    [data-theme="dark"] .social-links a,
    [data-theme="yilbasi"] .social-links a {
        background: rgba(255, 255, 255, 0.08) !important;
        color: #ffffff !important;
        border: 1px solid rgba(255, 255, 255, 0.15);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        margin-right: 8px;
        transition: all 0.3s ease;
    }
    [data-theme="dark"] .social-links a:hover,
    [data-theme="yilbasi"] .social-links a:hover {
        background: var(--accent-color, #0078f2) !important;
        color: #ffffff !important;
        border-color: var(--accent-color, #0078f2);
    }



/* ==========================================
   2. GENEL STİLLER VE KAPSAYICILAR
   ========================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}


/* ==========================================
   3. HEADER & LOGO & KULLANICI AKSİYONLARI
   ========================================== */
header {
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 24px;
}

.logo-link {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo-img {
  max-height: 52px;
  width: auto;
  max-width: 200px;
  display: block;
  object-fit: contain;
}

.user-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  transition: background-color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

/* Özel 3D Kataloğu Butonu */
.btn-3d-catalog {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px 28px !important;
  background: #171615 !important;
  border: 1.5px solid #d4af37 !important;
  border-radius: 50px !important;
  color: #fbe3a1 !important;
  font-family: inherit !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  user-select: none !important;
}

.btn-3d-catalog:hover {
  transform: translateY(-2px) scale(1.02) !important;
  border-color: #f5d77f !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3) !important;
}

.btn-3d-catalog::before,
.btn-3d-catalog::after {
  display: none !important;
  content: none !important;
}


/* ==========================================
   4. ARAMA ÇUBUĞU VE CANLI ÖNERİLER
   ========================================== */
.search-bar {
  flex: 1;
  max-width: 650px;
  position: relative;
}

.search-bar input {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  padding: 12px 18px 12px 48px;
  border-radius: 10px;
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.search-bar input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 10px rgba(0, 120, 242, 0.2);
}

.search-bar i.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
  z-index: 2;
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  max-height: 380px;
  overflow-y: auto;
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  padding: 8px 0;
}

.search-suggestions.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.suggestion-header {
  padding: 8px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 4px;
}

.suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-decoration: none;
  color: var(--text-main);
}

.suggestion-item:hover,
.suggestion-item.selected {
  background: var(--card-hover);
}

.suggestion-img {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--input-bg);
  flex-shrink: 0;
}

.suggestion-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.suggestion-title {
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggestion-title mark {
  background: rgba(0, 120, 242, 0.3);
  color: var(--accent-color);
  border-radius: 2px;
  padding: 0 2px;
}

.suggestion-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.suggestion-empty {
  padding: 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
}


/* ==========================================
   5. KATEGORİLER VE AÇILIR MENÜLER
   ========================================== */
.dropdown {
  position: relative;
}

.dropdown-btn {
  background: var(--accent-color);
  border: none;
  color: #fff;
}

.dropdown-btn:hover {
  background: var(--accent-hover);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  width: 250px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 1000;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.category-item {
  position: relative;
}

.category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  transition: background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.category-item:hover > .category-link {
  background: var(--card-hover);
  color: var(--accent-color);
}

.submenu {
  position: absolute;
  top: 0;
  right: 100%;
  margin-right: 6px;
  width: 230px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.25s ease;
  z-index: 1001;
}

.category-item:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.submenu a {
  display: block;
  padding: 9px 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.submenu a:hover {
  background: var(--card-hover);
  color: var(--text-main);
}


/* ==========================================
   6. TEMA SEÇİCİ
   ========================================== */
.theme-selector-wrapper {
  position: relative;
  display: inline-block;
}

.theme-trigger-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.theme-trigger-btn:hover {
  transform: scale(1.08);
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.theme-selector-wrapper.active .theme-trigger-btn {
  transform: rotate(45deg);
  background: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
}

.theme-menu {
  position: absolute;
  top: 55px;
  right: 0;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 300;
  min-width: 170px;
}

.theme-selector-wrapper.active .theme-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.theme-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.theme-option:hover {
  background: var(--card-hover);
  color: var(--accent-color);
}

.theme-option.active {
  background: var(--accent-color);
  color: #ffffff;
}

.theme-option i {
  font-size: 1rem;
  width: 18px;
  text-align: center;
}


/* ==========================================
   7. HERO SECTION
   ========================================== */
.hero-section {
  padding: 30px 0 10px;
}

.hero-grid-three-col {
  display: grid;
  grid-template-columns: 280px 1fr 280px;
  gap: 16px;
  align-items: center;
}

.hero-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--card-bg);
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid var(--border-color);
  overflow: hidden;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.side-item:hover {
  background: var(--card-hover);
  transform: translateX(2px);
}

.side-item.active {
  background: var(--card-hover);
  border-color: var(--accent-color);
  box-shadow: 0 0 12px rgba(0, 120, 242, 0.25);
}

.item-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--accent-color);
  transition: width 0.05s linear;
}

.side-img {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--input-bg);
  flex-shrink: 0;
}

.side-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.side-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.side-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.hero-banner {
  position: relative;
  height: 100%;
  min-height: 440px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 36px;
  border: 1px solid var(--border-color);
  background: var(--input-bg);
}

.hero-banner-img-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  transition: opacity 0.4s ease-in-out;
}

.hero-banner-img.fade-out {
  opacity: 0;
}

.hero-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 15%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 500px;
}

.hero-tag {
  background: rgba(0, 120, 242, 0.25);
  border: 1px solid rgba(0, 120, 242, 0.5);
  backdrop-filter: blur(8px);
  color: #38bdf8;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 10px;
}

.hero-title {
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #fff;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

.hero-title.fade-out {
  opacity: 0;
}

.btn-primary-epic {
  background: var(--accent-color);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 120, 242, 0.4);
}

.btn-primary-epic:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}


/* ==========================================
   8. ÜRÜN KARTLARI & SECTION STİLLERİ
   ========================================== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 50px 0 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 14px;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title i {
  color: #f59e0b;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15), 0 0 15px rgba(0, 120, 242, 0.15);
}

.product-img-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: var(--input-bg);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img {
  transform: scale(1.08);
}

.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 3;
}

.product-badge {
  background: var(--badge-bestseller, #f59e0b);
  color: #000;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 5px 9px;
  border-radius: 6px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  width: fit-content;
  letter-spacing: 0.3px;
}

.product-badge.sale {
  background: var(--badge-sale, #ef4444);
  color: #fff;
}

.product-badge.custom {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
}

.product-badge.print-3d {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff;
}

.product-badge.out-of-stock {
  background: #374151;
  color: #fff;
}

.product-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-cat {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 6px;
}

.product-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.8em;
}

.product-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.product-price {
  display: flex;
  flex-direction: column;
}

.price-old {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-current {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-color);
}

.product-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--card-hover);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.product-card:hover .product-btn {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
}


/* ==========================================
   9. ÜRÜN DETAY SAYFASI ÖZEL STİLLERİ
   ========================================== */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.main-image-container {
  position: relative;
  width: 100%;
  height: 500px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.main-image.fade-out {
  opacity: 0.2;
  transform: scale(0.96);
}

.badge-discount {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--badge-sale);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 6px;
  z-index: 2;
}

.thumbnail-list {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.thumb-item {
  width: 84px;
  height: 84px;
  border-radius: 12px;
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.thumb-item.active, .thumb-item:hover {
  border-color: var(--accent-color);
  transform: translateY(-3px);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-title-main {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
}

.product-meta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stock-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
  width: fit-content;
}

.price-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 22px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 14px;
}

.price-main-wrap {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.current-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent-color);
}

.old-price {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-update-date {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.action-row {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.btn-contact-info {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent-color);
  color: #fff;
  padding: 14px 24px;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-contact-info:hover {
  background: var(--accent-hover);
}

.btn-watch-video {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #374151;
  color: #ffffff;
  padding: 14px 22px;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-watch-video:hover {
  background: #4b5563;
}

.product-description-section {
  margin-top: 30px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
}

.description-header-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.description-body {
  color: var(--text-main);
  line-height: 1.8;
  font-size: 0.95rem;
}


/* ==========================================
   10. VİDEO MODAL
   ========================================== */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
}

.video-modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.close-video-modal {
  position: absolute;
  top: -45px;
  right: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}


/* ==========================================
   11. BREADCRUMB & SECTION BAŞLIKLARI (ÖZEL)
   ========================================== */
.breadcrumb {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 15px 0 25px 0 !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  font-size: 0.9rem !important;
}

.breadcrumb a {
  color: #9ca3af !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: #ffffff !important;
}

.breadcrumb i, 
.breadcrumb .fa-solid, 
.breadcrumb span.separator {
  color: #6b7280 !important;
  margin: 0 8px !important;
  font-size: 0.75rem !important;
}

.breadcrumb span {
  color: #d1d5db !important;
  font-weight: 400 !important;
}

.hr-text {
  line-height: 1em;
  position: relative;
  outline: 0;
  border: 0;
  text-align: center;
  height: 1.5em;
  margin: 40px 0;
}

.hr-text::before {
  content: '';
  background: linear-gradient(to right, transparent, #374151, transparent);
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
}

.hr-text::after {
  content: attr(data-content);
  position: relative;
  display: inline-block;
  padding: 0 20px;
  font-weight: 600;
  font-size: 1.3rem;
  color: #ffffff;
  background: transparent;
  border: none;
  letter-spacing: 0.5px;
}


/* ==========================================
   12. FOOTER
   ========================================== */
footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border-color);
  padding: 50px 0 30px;
  margin-top: 60px;
  color: var(--text-muted);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  max-height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  margin-bottom: 15px;
  display: block;
}

.footer-col h4 {
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--accent-color);
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.social-links a {
  width: 36px;
  height: 36px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.social-links a:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
}
/* Footer Ana Kapsayıcı */
.site-footer {
  background-color: #0a0a0a;
  color: #b0b0b0;
  padding: 60px 20px 30px;
  border-top: 1px solid #222;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

/* Footer Kolonları */
.footer-col h3, 
.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.footer-col p {
  font-size: 0.95rem;
  color: #999;
  line-height: 1.5;
}

/* Footer Linkleri (Mavi kalma sorununu çözer) */
.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #b0b0b0;
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 0.95rem;
}

.footer-col ul li a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Logo Düzenlemesi */
.footer-logo {
  max-width: 150px;
  margin-bottom: 15px;
}


/* ==========================================
   13. RESPONSIVE & MOBİL UYUMLULUK
   ========================================== */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-wrapper {
    height: auto;
    padding: 12px 0;
    flex-wrap: wrap;
    gap: 12px;
  }

  .search-bar {
    order: 3;
    max-width: 100%;
    width: 100%;
  }

  .user-actions {
    gap: 8px;
  }

  .action-btn span {
    display: none;
  }

  .btn-3d-catalog {
    padding: 8px 18px !important;
    font-size: 0.85rem !important;
  }

  .submenu {
    right: auto;
    left: 0;
    top: 100%;
  }

  .hero-section {
    padding: 15px 0 10px;
  }

  .hero-sidebar {
    display: none !important;
  }

  .hero-grid-three-col {
    grid-template-columns: 1fr;
  }

  .hero-banner {
    min-height: 280px;
    padding: 20px;
  }

  .hero-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
  }

  .hero-tag {
    font-size: 0.68rem;
    padding: 3px 8px;
  }

  .btn-primary-epic {
    padding: 9px 16px;
    font-size: 0.78rem;
  }

  .section-header {
    margin: 30px 0 18px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}


/* Sosyal medya ikonlarının kutu ve ikon renklerini sabitleme */
.social-icons a, 
.footer-social a {
  color: #b0b0b0; /* İkonların varsayılan rengi */
  background-color: #1a1a1a; /* Kutu arka planı */
  border-color: #333;
}

/* İkonların üzerine gelindiğinde (Hover) şık geçiş */
.social-icons a:hover, 
.footer-social a:hover {
  background-color: #ffffff;
  color: #121212; /* Üzerine gelince ikonun alacağı renk */
  border-color: #ffffff;
}

/* "Bize Yazın" altındaki e-posta adresinin mavi rengini düzeltme */
.footer-contact a,
.footer-col a[href^="mailto:"] {
  color: #b0b0b0; /* Mavi yerine tema gri/beyaz tonu */
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact a:hover,
.footer-col a[href^="mailto:"]:hover {
  color: #ffffff;
  text-decoration: underline;
}



        .pagination-breadcrumb-wrap {
          display: flex;
          justify-content: center;
          align-items: center;
        }
        .pagination-breadcrumb {
          list-style: none;
          display: flex;
          align-items: center;
          gap: 15px;
          padding: 0;
          margin: 0;
          background: transparent !important;
          box-shadow: none !important;
        }
        .pagination-breadcrumb li a.page-nav-btn {
          display: inline-flex;
          align-items: center;
          gap: 6px;
          padding: 8px 18px;
          background: transparent;
          color: inherit;
          border: 1px solid rgba(255, 255, 255, 0.2);
          border-radius: 50px;
          text-decoration: none;
          font-weight: 500;
          font-size: 14px;
          transition: all 0.2s ease;
        }
        /* Aydınlık modda buton border rengi uyumu */
        [data-theme="light"] .pagination-breadcrumb li a.page-nav-btn {
          border-color: rgba(0, 0, 0, 0.2);
        }
        .pagination-breadcrumb li a.page-nav-btn:hover {
          background: var(--accent-color, #0078f2);
          color: #fff;
          border-color: var(--accent-color, #0078f2);
        }
        .pagination-breadcrumb .page-indicator {
          padding: 0 5px;
          font-size: 14px;
          color: inherit;
          opacity: 0.8;
        }





    .hero-section {
      padding: 30px 0 10px;
    }

    .hero-grid-three-col {
      display: grid;
      grid-template-columns: 280px 1fr 280px;
      gap: 16px;
      align-items: center;
      max-width: 1440px;
      margin: 0 auto;
      padding: 0 20px;
    }

    /* Mobilde kaydırılacak şerit (Varsayılan masaüstünde gizli) */
    .hero-mobile-slider {
      display: none;
    }

    .hero-sidebar {
      display: flex;
      flex-direction: column;
      gap: 8px;
      max-height: 480px;
      overflow-y: auto;
      padding-right: 4px;
    }

    .hero-sidebar::-webkit-scrollbar {
      width: 4px;
    }
    .hero-sidebar::-webkit-scrollbar-thumb {
      background: var(--border-color);
      border-radius: 4px;
    }

    .side-item {
      position: relative;
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 10px 12px;
      background: var(--card-bg);
      border-radius: 8px;
      cursor: pointer;
      border: 1px solid var(--border-color);
      overflow: hidden;
      user-select: none;
      transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    }

    .side-item:hover {
      background: var(--card-hover);
      transform: translateX(2px);
    }

    .side-item.active {
      background: var(--card-hover);
      border-color: var(--accent-color);
      box-shadow: 0 0 12px rgba(0, 120, 242, 0.25);
    }

    .item-progress {
      position: absolute;
      bottom: 0;
      left: 0;
      height: 3px;
      width: 0%;
      background: var(--accent-color);
      transition: width 0.05s linear;
    }

    .side-img {
      width: 44px;
      height: 44px;
      border-radius: 6px;
      object-fit: cover;
      background: var(--input-bg);
      flex-shrink: 0;
    }

    .side-info {
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    .side-title {
      font-size: 0.85rem;
      font-weight: 700;
      color: card-text-main;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .side-sub {
      font-size: 0.72rem;
      color: var(--text-muted);
      margin-top: 2px;
    }

    /* HERO BANNER */
    .hero-banner {
      position: relative;
      height: 100%;
      min-height: 440px;
      border-radius: 12px;
      overflow: hidden;
      display: flex;
      align-items: flex-end;
      padding: 36px;
      border: 1px solid var(--border-color);
      background: var(--input-bg);
    }

    .hero-banner-img-wrap {
      position: absolute;
      inset: 0;
      z-index: 1;
      width: 100%;
      height: 100%;
      pointer-events: none;
    }

    .hero-banner-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      opacity: 1;
      transition: opacity 0.4s ease-in-out;
    }

    .hero-banner-img.fade-out {
      opacity: 0;
    }

    .hero-banner::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 15%, rgba(0, 0, 0, 0.85) 100%);
      z-index: 2;
      pointer-events: none;
    }

    .hero-content {
      position: relative;
      z-index: 3;
      max-width: 500px;
      pointer-events: auto;
    }

    .hero-tag {
      background: rgba(0, 120, 242, 0.25);
      border: 1px solid rgba(0, 120, 242, 0.5);
      backdrop-filter: blur(8px);
      color: #38bdf8;
      padding: 4px 12px;
      border-radius: 4px;
      font-size: 0.75rem;
      font-weight: 800;
      text-transform: uppercase;
      display: inline-block;
      margin-bottom: 10px;
    }

    .hero-title {
      font-size: 2.1rem;
      font-weight: 900;
      line-height: 1.2;
      margin-bottom: 16px;
      color: #fff;
      opacity: 1;
      transition: opacity 0.3s ease-in-out;
    }

    .hero-title.fade-out {
      opacity: 0;
    }

    .btn-primary-epic {
      background: var(--accent-color);
      color: #fff;
      padding: 12px 24px;
      border-radius: 8px;
      font-weight: 700;
      font-size: 0.85rem;
      text-transform: uppercase;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      text-decoration: none;
      transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
      box-shadow: 0 4px 14px rgba(0, 120, 242, 0.4);
    }

    .btn-primary-epic:hover {
      background: var(--accent-hover);
      transform: translateY(-2px);
    }

    /* ÇOK SATANLAR VE ÜRÜN GRID ALANI */
    .section-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin: 50px 0 24px;
      border-bottom: 1px solid var(--border-color);
      padding-bottom: 14px;
    }

    .section-title {
      font-size: 1.4rem;
      font-weight: 800;
      color: var(--text-main);
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .section-title i {
      color: #f59e0b;
    }

    .products-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }

    @media(max-width: 1024px) {
      .hero-grid-three-col { 
        grid-template-columns: 1fr; 
      }
      /* Yan sütunları masaüstü/tablet görünümünde gizle, mobilde slider kullanacağız */
      .hero-sidebar { 
        display: none !important; 
      }
      .products-grid { 
        grid-template-columns: repeat(2, 1fr); 
      }
    }

    @media(max-width: 768px) {
      .products-grid { 
        grid-template-columns: 1fr; 
      }
      
      /* Mobilde yan sütunlar yerine yatay kaydırılabilir şeridi aktif et */
      .hero-sidebar {
        display: none !important;
      }
      
      .hero-mobile-slider {
        display: flex !important;
        overflow-x: auto !important;
        gap: 12px !important;
        padding: 0 15px 15px 15px !important;
        margin-bottom: 15px;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        cursor: grab;
      }

      .hero-mobile-slider::-webkit-scrollbar {
        display: none !important;
      }

      .hero-mobile-slider .side-item {
        flex: 0 0 220px !important;
        width: 220px !important;
      }
    }



    /* Aydınlık Mod Footer Okunabilirlik Düzeltmesi */
    [data-theme="light"] footer, 
    [data-theme="light"] footer h4, 
    [data-theme="light"] footer p, 
    [data-theme="light"] footer a {
        color: #333333 !important;
    }
    [data-theme="light"] footer a:hover {
        color: var(--accent-color, #0078f2) !important;
    }

    /* Karanlık ve Yılbaşı Modu Sosyal Medya İkonları Düzeltmesi */
    [data-theme="dark"] .social-links a,
    [data-theme="yilbasi"] .social-links a {
        background: rgba(255, 255, 255, 0.08) !important;
        color: #ffffff !important;
        border: 1px solid rgba(255, 255, 255, 0.15);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        margin-right: 8px;
        transition: all 0.3s ease;
    }
    [data-theme="dark"] .social-links a:hover,
    [data-theme="yilbasi"] .social-links a:hover {
        background: var(--accent-color, #0078f2) !important;
        color: #ffffff !important;
        border-color: var(--accent-color, #0078f2);
    }

    /* Mobil Kategori Menü Hizalama ve Taşma Çözümü */
    @media (max-width: 992px) {
        .dropdown {
            position: static !important;
        }
        .dropdown .dropdown-menu {
            position: absolute !important;
            left: 10px !important;
            right: 10px !important;
            width: auto !important;
            max-width: calc(100vw - 20px) !important;
            box-sizing: border-box !important;
            overflow-x: hidden !important;
        }
        .dropdown.show .dropdown-menu,
        .dropdown .dropdown-menu.show {
            display: block !important;
        }

        /* Mobil Alt Menü Akordeon Davranışı */
        .category-item .category-link {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .category-item .submenu {
            display: none;
            position: static !important;
            box-shadow: none !important;
            width: 100% !important;
            padding-left: 15px !important;
            background: rgba(0, 0, 0, 0.15) !important;
        }
        .category-item.mobile-open .submenu {
            display: block !important;
        }
    }










#backToTopBtn {
  position: fixed !important;
  bottom: 70px; /* Telefon alt çubuklarının üstünde kalması için biraz yükseltildi */
  right: 20px;
  z-index: 2147483647;
  width: 44px;
  height: 44px;
  background-color: var(--accent-color, #0078f2);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  pointer-events: none;
}

#backToTopBtn.show {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

[data-theme="light"] #backToTopBtn {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] #backToTopBtn:hover {
  background-color: var(--accent-color, #0078f2);
  color: #ffffff;
  border-color: var(--accent-color, #0078f2);
}


/* --- Modern Blur (Glassmorphism) Yükleniyor Efekti --- */
#pageLoadingOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  /* Karanlık mod için hafif şeffaf arka plan ve blur */
  background-color: rgba(18, 18, 18, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px); /* Safari / iOS desteği */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* Aydınlık Mod (Light Mode) için Blur ve Arka Plan Uyumu */
[data-theme="light"] #pageLoadingOverlay {
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Dönen Halka (Spinner) Tasarımı */
.custom-spinner {
  width: 46px;
  height: 46px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--accent-color, #0078f2);
  border-radius: 50%;
  animation: spinLoader 0.8s linear infinite;
}

/* Aydınlık Mod Spinner Çerçeve Rengi */
[data-theme="light"] .custom-spinner {
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-top-color: var(--accent-color, #0078f2);
}

/* Dönme Animasyonu */
@keyframes spinLoader {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Fade-out (Kapanış) Sınıfı */
#pageLoadingOverlay.fade-out {
  opacity: 0;
  visibility: hidden;
}










