:root {
  /* Renk Paleti - Profesyonel & Modern (Açık Tema) */
  --primary-color: #f7ce00; /* Vurgu Rengi (Canlı Sarı) - Biraz daha koyu, beyaz üzerinde okunaklı olsun */
  --primary-hover: #e0bb00;
  --secondary-color: #f8f9fa; /* Açık Gri Arka Plan (Body) */
  --secondary-light: #ffffff; /* Beyaz Kart Arka Planı */
  --text-main: #333333; /* Koyu Gri Metin */
  --text-muted: #666666; /* Gri Alt Metin */
  --text-dark: #111111; /* Siyah Başlıklar */
  --accent-blue: #3b82f6; /* Linkler ve Butonlar */
  --danger: #ef4444;
  --success: #10b981;
  --border-color: #e5e7eb; /* Hafif Gri Çizgiler */
  
  /* Spacing & Layout */
  --container-width: 1200px;
  --header-height: 80px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  /* Fonts */
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
  --glow-primary: 0 0 15px rgba(247, 206, 0, 0.4);
}

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

/* Loading Animation */
#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--secondary-color);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loader {
  width: 48px;
  height: 48px;
  border: 5px solid #e5e7eb;
  border-bottom-color: var(--primary-color);
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

body.loaded #loader-wrapper {
  opacity: 0;
  visibility: hidden;
}

body {
  font-family: var(--font-family);
  background-color: var(--secondary-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 3rem; letter-spacing: -0.02em; }
h2 { font-size: 2.25rem; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; }

.text-primary { color: var(--primary-color); }
.text-muted { color: var(--text-muted); }

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 5px rgba(255, 244, 0, 0.2); }
  50% { box-shadow: 0 0 20px rgba(255, 244, 0, 0.5); }
  100% { box-shadow: 0 0 5px rgba(255, 244, 0, 0.2); }
}

.animate-fade-in { animation: fadeIn 0.6s ease-out forwards; }
.animate-slide-in { animation: slideInRight 0.5s ease-out forwards; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 600;
  border-radius: 50px; /* Hap şeklinde butonlar */
  cursor: pointer;
  border: none;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-dark);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--glow-primary);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background: rgba(255, 244, 0, 0.1);
}

.btn-danger {
  background-color: var(--danger);
  color: white;
}

.btn-white {
  background: white;
  color: var(--text-dark);
}

.btn-white:hover {
  background: #f3f4f6;
  transform: translateY(-2px);
}

.btn-outline-primary {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--text-dark);
}

.btn-outline-primary:hover {
  background: var(--primary-color);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

/* Top Bar */
.top-bar {
  background: #111;
  color: rgba(255,255,255,0.7);
  padding: 8px 0;
  font-size: 0.85rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-strip {
  height: 4px;
  background: #111;
}

.top-bar a:hover {
  color: white;
}

.d-none-mobile {
  display: block;
}

@media (max-width: 768px) {
  .d-none-mobile {
    display: none;
  }

  .header-grid {
    grid-template-columns: 44px 1fr auto;
    row-gap: 10px;
  }

  .header-center {
    justify-content: center;
  }

  .header-right {
    grid-column: auto;
    justify-content: flex-end;
  }

  .top-bar .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .top-social {
    display: none;
  }
}

/* Header */
.site-header {
  min-height: var(--header-height);
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  column-gap: 16px;
}

.header-left,
.header-center,
.header-right {
  display: flex;
  align-items: center;
}

.header-left {
  justify-content: flex-start;
  min-width: 0;
}

.header-center {
  justify-content: center;
}

.header-right {
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.header-features {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.header-mobile-features {
  display: none;
  border-top: 1px solid var(--border-color);
  padding: 10px 0;
}

.header-features-scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.header-features-scroll::-webkit-scrollbar {
  display: none;
}

.header-features-scroll .header-feature {
  flex: 0 0 auto;
}

.header-feature {
  font-size: 0.85rem;
  color: var(--text-muted);
  background: #f9fafb;
  border: 1px solid var(--border-color);
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.desktop-only {
  display: inline-flex;
}

.menu-toggle {
  display: none;
}

.menu-icon {
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  display: block;
  position: relative;
  border-radius: 2px;
}

.menu-icon::before,
.menu-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
}

.menu-icon::before {
  top: -7px;
}

.menu-icon::after {
  top: 7px;
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1200;
  display: flex;
  justify-content: flex-start;
  pointer-events: none;
}

.mobile-drawer.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-panel {
  width: min(86vw, 360px);
  height: 100%;
  background: white;
  box-shadow: var(--shadow-lg);
  transform: translateX(-110%);
  transition: transform 0.22s ease;
  display: flex;
  flex-direction: column;
}

.mobile-drawer.open .mobile-panel {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 16px;
  border-bottom: 1px solid var(--border-color);
}

.mobile-drawer-title {
  font-weight: 800;
  color: var(--text-dark);
}

.mobile-drawer-close {
  background: transparent;
  border: 1px solid var(--border-color);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 20px;
  line-height: 1;
}

.mobile-drawer-body {
  padding: 8px 16px 16px;
  overflow: auto;
  flex: 1;
}

.mobile-link {
  display: block;
  padding: 12px 10px;
  border-radius: 12px;
  font-weight: 700;
  color: var(--text-dark);
}

.mobile-link:hover {
  background: #f3f4f6;
}

.mobile-link-small {
  font-weight: 600;
  font-size: 0.95rem;
}

.mobile-subtitle {
  margin-top: 10px;
  margin-bottom: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 700;
  padding: 0 10px;
}

.mobile-cats {
  max-height: 220px;
  overflow: auto;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 6px;
  background: #fff;
}

body.drawer-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: #fff;
  }

  .header-mobile-features {
    display: block;
  }

  .header-left .header-features {
    display: none;
  }

  .header-mobile-features .header-features {
    display: flex;
  }
}

.logo-center {
  text-align: center;
}

.logo-center::after {
  content: '';
  display: block;
  height: 0;
}

.logo {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-dark); /* Koyu Logo */
  letter-spacing: -1px;
}

.main-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--text-main);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color); /* Sarı hover */
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--secondary-light); /* Beyaz arka plan */
  min-width: 200px;
  border-radius: var(--radius-md);
  padding: 10px 0;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  z-index: 1100; /* Header'dan daha yüksek olsun */
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 20px;
  color: var(--text-main); /* Koyu metin */
  font-size: 0.9rem;
}

.dropdown-item:hover {
  background: #f3f4f6; /* Hafif gri hover */
  color: var(--primary-color);
}

/* Hero Section & Slider */
.hero-slider {
  position: relative;
  height: 650px;
  overflow: hidden;
  background: #000;
}

@media (max-width: 768px) {
  .hero-slider {
    height: 420px;
  }
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.9);
  transform: scale(1.05);
  transition: transform 6s ease;
}

.slide.active .slide-bg {
  transform: scale(1);
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.slide-title {
  font-size: 4.5rem;
  margin-bottom: 25px;
  color: white;
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
}

.slide-desc {
  font-size: 1.5rem;
  margin-bottom: 40px;
  color: rgba(255,255,255,0.95);
  font-weight: 300;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.slide.active .slide-title,
.slide.active .slide-desc {
  transform: translateY(0);
  opacity: 1;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Cards (Products & Features) */
.grid {
  display: grid;
  gap: 30px;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.card {
  background: var(--secondary-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-color);
}

.card-img-top {
  height: 280px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

.card-body {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--text-dark); /* Başlıklar koyu */
}

.card-text {
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark); /* Fiyat koyu, vurgulu değil */
  margin-bottom: 15px;
}

.card-badge {
  display: inline-block;
  background: #f3f4f6; /* Açık gri badge */
  color: var(--text-muted);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-bottom: 10px;
  font-weight: 600;
}

/* Product Slider (Horizontal Scroll) */
.product-slider {
  display: flex;
  overflow-x: auto;
  gap: 30px;
  padding: 20px 5px; /* Alt/üst boşluk + gölge için kenar payı */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; /* Mobil akıcılık */
  scrollbar-width: none; /* Firefox scrollbar gizle */
}

.product-slider::-webkit-scrollbar {
  display: none; /* Chrome/Safari scrollbar gizle */
}

.product-slider .card {
  min-width: 300px; /* Kart genişliği */
  scroll-snap-align: start;
}

.home-product-slider .product-slide-card {
  min-width: 340px;
}

.home-product-slider .card-img-top {
  height: 170px;
}

.home-product-slider .card-body {
  padding: 16px;
}

/* Product Detail Gallery */
.product-gallery {
  position: sticky;
  top: 100px;
}

.main-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4/3; /* Sabit oran */
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Resmi kesmeden sığdır */
}

.thumbnails {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 15px;
}

.thumbnail {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  background: #fff;
}

.thumbnail:hover, .thumbnail.active {
  border-color: var(--primary-color);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Admin Dashboard & Layout */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background-color: #f3f4f6;
}

.admin-sidebar {
  width: 280px;
  background: white;
  border-right: 1px solid var(--border-color);
  padding: 30px;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 100;
  box-shadow: 2px 0 10px rgba(0,0,0,0.02);
}

.admin-content {
  flex: 1;
  padding: 40px;
  margin-left: 280px; /* Sidebar width */
  overflow-y: auto;
  min-height: 100vh;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 40px;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  transition: all 0.2s;
  font-weight: 500;
  font-size: 0.95rem;
}

.admin-nav-link:hover, .admin-nav-link.active {
  background: var(--secondary-color);
  color: var(--primary-color);
  font-weight: 600;
}

.admin-nav-link.active {
  background: #fff9c4; /* Light yellow bg for active item */
}

/* Admin Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.stat-card {
  background: white;
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin: 15px 0 5px;
  line-height: 1;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Admin Table */
.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  background: #f9fafb;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 16px 24px;
}

.admin-table td {
  padding: 16px 24px;
  vertical-align: middle;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-color);
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover {
  background: #f9fafb;
}

.table-container {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-main);
}

.form-control, input[type="text"], input[type="number"], input[type="password"], textarea, select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: white;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-control:focus, input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 244, 0, 0.1);
}

/* Login Page */
.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: radial-gradient(circle at center, #2c2c2c 0%, #1a1a1a 100%);
}

.login-container {
  width: 100%;
  max-width: 400px;
  padding: 20px;
}

.login-card {
  background: var(--secondary-light);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  text-align: center;
}

.login-header {
  margin-bottom: 30px;
}

.logo-text {
  color: var(--primary-color);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 5px;
}

/* Footer */
.site-footer {
  background: #111;
  padding: 60px 0 20px;
  margin-top: 80px;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Utilities */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-auto { margin-top: auto; }
.d-flex { display: flex; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.items-center { align-items: center; }
.gap-2 { gap: 0.5rem; }

/* Products Layout */
.products-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.products-sidebar {
  width: 250px;
  flex-shrink: 0;
  background: white;
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  position: sticky;
  top: 100px;
}

.products-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 22px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.products-grid .card {
  width: 100%;
  height: 100%;
}

.products-grid .card-img-top {
  height: 220px;
  object-fit: cover;
}

.products-grid .card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.products-grid .card-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pagination-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.pagination-container .btn {
  min-width: 44px;
}

@media (min-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.sidebar-title {
  font-size: 1.1rem;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.category-item {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 500;
  transition: all 0.2s;
  display: flex;
  justify-content: space-between;
}

.category-item:hover, .category-item.active {
  background: #f3f4f6;
  color: var(--primary-color);
}

.search-box {
  position: relative;
  margin-bottom: 20px;
}

.search-input {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: inherit;
  padding-right: 40px;
}

.search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

/* Stats Section */
.stats-section {
  background: var(--primary-color);
  color: var(--text-dark);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, transparent 20%, rgba(0,0,0,0.05) 20%, rgba(0,0,0,0.05) 80%, transparent 80%), radial-gradient(circle, transparent 20%, rgba(0,0,0,0.05) 20%, rgba(0,0,0,0.05) 80%, transparent 80%);
  background-size: 50px 50px;
  opacity: 0.5;
}

.stat-item-home {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.stat-item-home:hover {
  transform: scale(1.1);
}

.stats-grid-home {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-item-home h3 {
  font-size: 3rem;
  margin-bottom: 10px;
  font-weight: 800;
}

.stat-item-home p {
  font-size: 1.1rem;
  font-weight: 600;
  opacity: 0.9;
}

/* Category Grid (Home) */
.category-grid-home {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.category-card-home {
  position: relative;
  height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  group: hover;
}

.category-card-home img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-card-home:hover img {
  transform: scale(1.1);
}
/* Category Grid Overlay Enhancement */
.category-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: all 0.3s ease;
}

.category-card-home:hover .category-overlay {
  padding-bottom: 40px;
}

.category-overlay h3 {
  font-size: 1.8rem;
  margin-bottom: 5px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.category-overlay p {
  font-weight: 500;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease 0.1s;
}

.category-card-home:hover .category-overlay p {
  opacity: 1;
  transform: translateY(0);
}

/* Testimonials */
.testimonial-card {
  background: white;
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 1px solid var(--border-color);
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 20px;
  object-fit: cover;
  border: 3px solid var(--primary-color);
}

.stars {
  color: #ffc107;
  margin-bottom: 15px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #111 0%, #333 100%);
  color: white;
  text-align: center;
  padding: 100px 0;
}

/* Quick Features Section */
.quick-features {
  background: white;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-color);
  margin-top: -20px;
  position: relative;
  z-index: 10;
}

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

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.feature-icon {
  font-size: 2rem;
  background: #fefce8;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #fef08a;
}

.feature-text h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--text-dark);
}

.feature-text p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Category Grid Full */
.category-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.category-box {
  position: relative;
  height: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
}

.category-image {
  width: 100%;
  height: 100%;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.category-box:hover .category-image img {
  transform: scale(1.1);
  opacity: 0.5;
}

.category-info {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  z-index: 2;
  padding: 20px;
  text-align: center;
}

.category-info h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.category-info span {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 5px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.category-box:hover .category-info span {
  opacity: 1;
  transform: translateY(0);
}

/* Promo Banner */
.promo-banner-section {
  padding: 40px 0;
}

.promo-banner {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.pexels.com/photos/4145356/pexels-photo-4145356.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  color: white;
  text-align: center;
}

.promo-tag {
  background: var(--primary-color);
  color: var(--text-dark);
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: inline-block;
}

.promo-content h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.promo-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Product Card Enhancements */
.product-img-wrap {
  position: relative;
  overflow: hidden;
}

.product-actions {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  background: rgba(255,255,255,0.9);
  padding: 10px;
  display: flex;
  justify-content: center;
  transition: bottom 0.3s ease;
}

.product-card:hover .product-actions {
  bottom: 0;
}

.product-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.price-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
}

.min-order {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Partners Section */
.partners-section {
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: white;
}

.partners-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  opacity: 0.5;
  filter: grayscale(1);
}

.partners-row img {
  max-height: 40px;
}

/* Info Section Stats */
.info-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.info-stat {
  display: flex;
  flex-direction: column;
}

.info-stat strong {
  font-size: 2rem;
  color: var(--primary-color);
  line-height: 1;
}

.info-stat span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Animations Up */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}


.cta-title {
  font-size: 3rem;
  margin-bottom: 20px;
}

.cta-text {
  font-size: 1.25rem;
  opacity: 0.8;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .products-layout {
    flex-direction: column;
  }
  .products-sidebar {
    width: 100%;
    position: static;
  }
  .products-main {
    width: 100%;
  }
}
