/* Test CSS - Bu stil görünüyorsa CSS dosyası yükleniyor */
.test-css {
  background: #000000;
  color: white;
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.test-css h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.test-css p {
  font-size: 1rem;
  opacity: 0.9;
}

/* Modern Product List Styles */
:root {
  --primary-color: #2874f0;
  --secondary-color: #fb641b;
  --success-color: #388e3c;
  --warning-color: #ff9f00;
  --danger-color: #ff6161;
  --text-primary: #212121;
  --text-secondary: #878787;
  --text-light: #b0b0b0;
  --border-color: #e0e0e0;
  --background-light: #f5f5f5;
  --white: #ffffff;
  --shadow-light: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 8px 16px rgba(0, 0, 0, 0.2);
  --border-radius: 8px;
  --transition: all 0.3s ease;
  --campaign-gradient: #000000;
  --campaign-hero-bg: #f8f9fa;
  --discount-accent: #388e3c;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #000000 0%, #1a5fcc 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--secondary-color);
  color: var(--white);
  border-color: var(--secondary-color);
}

.btn-primary:hover {
  background: #e55a17;
  border-color: #e55a17;
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* Breadcrumb Section */
.breadcrumb-section {
  background: var(--white);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-light);
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.breadcrumb-item {
  color: var(--text-secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: var(--transition);
  padding: 0.5rem;
  border-radius: var(--border-radius);
}

.breadcrumb-item:hover {
  color: var(--primary-color);
  background: var(--background-light);
}

.breadcrumb-separator {
  color: var(--text-light);
  font-size: 0.8rem;
}

.breadcrumb-current {
  color: var(--text-primary);
  font-weight: 500;
  padding: 0.5rem;
  background: var(--background-light);
  border-radius: var(--border-radius);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-secondary {
  background: var(--success-color);
  color: var(--white);
  border-color: var(--success-color);
}

.btn-secondary:hover {
  background: #2e7d32;
  border-color: #2e7d32;
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-outline-secondary {
  background: transparent;
  color: var(--success-color);
  border-color: var(--success-color);
}

.btn-outline-secondary:hover {
  background: var(--success-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* New Banner Section */
.new-banner-section {
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
  color: var(--white);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
}

.new-banner-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.new-banner-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.3;
}

.banner-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.banner-text {
  text-align: left;
}

.banner-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-subtitle {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
}

.banner-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.banner-image {
  text-align: center;
}

.banner-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-medium);
  transition: var(--transition);
}

.banner-image img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-heavy);
}

.banner-placeholder {
  width: 300px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
  margin: 0 auto;
}

.banner-placeholder:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.05);
}

.banner-placeholder i {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.banner-placeholder span {
  font-size: 1.2rem;
  font-weight: 600;
  opacity: 0.9;
}

/* Banner Animation */
.new-banner-section {
  animation: slideInFromBottom 0.8s ease-out;
}

@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Categories Section */
.categories-section,
.products-section.categories-section {
  /* --categories-bg: #000000; */
  /* --categories-card: #ffffff; */
  /* --categories-text: #ffffff; */
  /* --categories-text-secondary: rgba(255, 255, 255, 0.8); */
  padding-top: 3rem;
  /* padding-bottom: 3rem !important; */
  /* background: var(--categories-bg); */
  width: 100%;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
}

.categories-section .container {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.categories-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, #000000, transparent);
}

.categories-section .section-header {
  align-items: center;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto 2.5rem;
  padding: 0 1.5rem;
}

.categories-section .section-title {
  /* font-size: 2rem; */
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  position: relative;
  flex: 1;
  min-width: 0;
}

.categories-section .view-all-link {
  color: #000000;
  font-weight: 600;
  text-transform: none;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  background: rgba(37, 99, 235, 0.05);
  border-radius: 50px;
  transition: all 0.3s ease;
}

.categories-section .view-all-link:hover {
  background: #000000;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.category-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: #1a202c; /* Fallback */
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.category-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.category-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.category-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.01); /* Prevent pixel snapping issues */
}

/* Default gradient if no image */
.category-bg:not([style*="background-image"]) {
  background: #000000;
}

.category-card:hover .category-bg {
  transform: scale(1.15);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.2) 40%,
    rgba(0, 0, 0, 0.9) 100%
  );
  transition: opacity 0.3s ease;
}

.category-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-card:hover .category-icon {
  background: white;
  color: #000000;
  transform: scale(1.1) rotate(-5deg);
}

.category-info {
  width: 100%;
}

.category-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin: 0;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  font-family: "Onest", "Outfit", sans-serif;
}

/* Animation Delays */
.category-card:nth-child(1) {
  animation: fadeInUp 0.5s ease backwards 0.1s;
}
.category-card:nth-child(2) {
  animation: fadeInUp 0.5s ease backwards 0.2s;
}
.category-card:nth-child(3) {
  animation: fadeInUp 0.5s ease backwards 0.3s;
}
.category-card:nth-child(4) {
  animation: fadeInUp 0.5s ease backwards 0.4s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .categories-section {
    padding-top: 3rem;
    padding-bottom: 4rem !important;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0 1rem;
  }

  .category-card {
    border-radius: 16px;
  }

  .category-content {
    padding: 1.25rem;
  }

  .category-name {
    font-size: 1.1rem;
  }

  .category-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .categories-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    aspect-ratio: 16/9;
  }
}

/* Features Section */
.features-section {
  padding: 4rem 0;
  background: var(--white);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-item {
  text-align: center;
  padding: 2rem;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #fff !important;
  font-size: 2rem;
  transition: var(--transition);
}

.feature-icon i {
  color: #fff !important;
}

.feature-item:hover .feature-icon {
  transform: scale(1.1);
  background: #333;
}

.feature-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.feature-item p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* View All Link */
.view-all-link {
  color: #000;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.view-all-link:hover {
  color: #555;
  transform: translateX(5px);
}

/* Modern Product Section */
.modern-product-section {
  margin: 0 auto;
  padding: 0 1rem;
  max-width: 1200px;
  width: 100%;
  margin-top: 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border-color);
  gap: 1rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  position: relative;
  flex: 1;
  min-width: 0;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

.section-controls {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.view-toggle-btn {
  background: #000000;
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  position: relative;
  overflow: hidden;
}

.view-toggle-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #000000, transparent);
  transition: left 0.5s;
}

.view-toggle-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  background: #000000;
}

.view-toggle-btn:hover::before {
  left: 100%;
}

.view-toggle-btn.active {
  background: #000000;
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
  transform: scale(1.05);
}

.view-toggle-btn.active:hover {
  background: #000000;
  transform: translateY(-2px) scale(1.05);
}

/* Campaign Specific Styles */
.campaign-hero {
  background: #f8f9fa;
  padding: 5rem 0 4rem;
  margin-bottom: 0;
  border-bottom: 1px solid #eee;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.campaign-hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.campaign-hero-title {
  font-family: "Outfit", sans-serif;
  font-size: 4rem;
  font-weight: 900;
  color: #1a202c;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
  line-height: 1.1;
}

.campaign-hero-subtitle {
  font-size: 1.4rem;
  color: #4a5568;
  line-height: 1.6;
  margin: 0 auto;
  opacity: 0.85;
  font-weight: 400;
}

.category-scroller {
  background: var(--white);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.category-nav-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.category-nav-wrapper::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.category-nav {
  display: flex;
  gap: 1rem;
  white-space: nowrap;
  padding-bottom: 0.5rem;
}

.category-nav-item {
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  background: var(--background-light);
  color: var(--text-primary);
  text-decoration: none !important;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
  border: 1px solid transparent;
}

.category-nav-item:hover {
  background: var(--border-color);
  color: var(--primary-color);
}

.category-nav-item.active {
  background: var(--primary-color);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(40, 116, 240, 0.2);
}

/* Modern Card Improvements */
.modern-product-card .price-percent-saving {
  background: var(--discount-accent);
  color: var(--white);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Mobile List View - Hepsiburada Style */
@media (max-width: 767px) {
  .modern-product-grid.list-view .modern-product-card {
    flex-direction: row !important;
    height: 150px !important;
    align-items: stretch;
  }

  .modern-product-grid.list-view .product-image-container {
    width: 120px !important;
    height: 100% !important;
    max-height: 100% !important;
    flex-shrink: 0;
  }

  .modern-product-grid.list-view .product-image {
    height: 100% !important;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
  }

  .modern-product-grid.list-view .modern-product-card-body {
    padding: 1rem !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
  }

  .modern-product-grid.list-view .product-name {
    font-size: 0.95rem !important;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.5rem !important;
  }

  .modern-product-grid.list-view .price-container {
    margin-top: auto;
  }
}

/* Empty State */
.empty-state-container {
  text-align: center;
  padding: 5rem 1rem;
}

.empty-state-icon {
  font-size: 4rem;
  color: var(--border-color);
  margin-bottom: 1.5rem;
}

.empty-state-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.empty-state-text {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Modern Product Grid */
.modern-product-grid {
  width: 100%;
  margin-bottom: 2rem;
}

.product-grid-container,
.modern-product-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
}

@media (min-width: 768px) {
  .product-grid-container,
  .modern-product-grid-container {
    grid-template-columns: repeat(3, 1fr);
  }

  /* List view override */
  .product-grid-container.list-view,
  .modern-product-grid-container.list-view,
  .modern-product-grid.list-view .product-grid-container,
  .modern-product-grid.list-view .modern-product-grid-container {
    grid-template-columns: 1fr !important;
  }
}

@media (min-width: 1200px) {
  .product-grid-container,
  .modern-product-grid-container {
    grid-template-columns: repeat(3, 1fr);
  }

  /* List view override */
  .product-grid-container.list-view,
  .modern-product-grid-container.list-view,
  .modern-product-grid.list-view .product-grid-container,
  .modern-product-grid.list-view .modern-product-grid-container {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 991px) {
  .product-grid-container,
  .modern-product-grid-container {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
}

@media (max-width: 575px) {
  .product-grid-container,
  .modern-product-grid-container {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }
}

.product-grid-item {
  transition: var(--transition);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.product-grid-item:hover {
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  .product-grid-item:hover {
    transform: none;
  }

  .modern-product-card:hover {
    box-shadow: var(--shadow-light);
  }

  .modern-product-card:hover .product-image {
    transform: none;
  }

  .product-name:hover {
    color: var(--text-primary);
    transform: none;
  }
}

/* Modern Product Card */
.modern-product-card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  /* Sabit yükseklik kaldırıldı - esnek yükseklik sistemi */
  min-height: auto;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  outline: none !important;
  border: none !important;
}

.modern-product-card:hover {
  box-shadow: var(--shadow-medium);
}

.modern-product-card:focus,
.modern-product-card:focus-within,
.modern-product-card:active {
  outline: none !important;
  border: none !important;
  box-shadow: var(--shadow-medium);
}

/* Product Image Container - Instagram Style */
.product-image-container {
  position: relative;
  overflow: hidden;
  /* Instagram tarzı - resim alanı tamamen doldurur */
  max-height: 300px;
  min-height: 200px;
  background: transparent;
  display: block;
  padding: 0;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.product-image {
  width: 100%;
  height: auto;
  min-height: 200px;
  max-height: 300px;
  object-fit: cover; /* Resim alanı tamamen doldurur - Instagram tarzı */
  object-position: center;
  transition: var(--transition);
  display: block;
}

.modern-product-card:hover .product-image {
  transform: scale(1.02); /* Hafif zoom efekti */
}

/* Product Overlay */
.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 10;
}

.overlay-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  z-index: 11;
  pointer-events: auto;
}

.overlay-actions button {
  background: rgba(255, 255, 255, 0.98);
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-primary);
  font-size: 0.9rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  opacity: 1;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.overlay-actions button:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.overlay-actions button:active {
  transform: scale(0.95);
}

/* Badges */
.discount-badge,
.new-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  z-index: 2;
}

.discount-badge {
  background: var(--danger-color);
}

.new-badge {
  background: var(--success-color);
}

/* Product Info */
.product-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 200px;
  justify-content: space-between;
}

.product-category {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-name {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  display: block; /* -webkit-box yerine block */
  overflow: visible; /* Overflow kaldırıldı */
  text-overflow: initial; /* Text-overflow kaldırıldı */
  transition: var(--transition);
  cursor: pointer;
  word-wrap: break-word;
  hyphens: auto;
  min-height: auto; /* Sabit yükseklik kaldırıldı */
}

.product-name:hover {
  color: var(--primary-color);
  transform: translateY(-1px);
}

.product-link {
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition);
  display: block;
  width: 100%;
  height: 100%;
}

.product-link:hover {
  color: var(--primary-color);
  text-decoration: none;
}

/* Product Rating */
.product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stars {
  display: flex;
  gap: 2px;
}

.star-filled {
  color: var(--warning-color);
}

.star-empty {
  color: var(--border-color);
}

.review-count {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Product Price */
.product-price {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.current-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.old-price {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: line-through;
}

.call-for-pricing {
  font-size: 1rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* Product Actions */
.product-actions {
  margin-top: 1rem;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 5 !important;
}

.add-to-cart-btn {
  width: 100%;
  background: #000000;
  color: var(--white);
  border: none;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 10 !important;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  overflow: hidden;
  gap: 0.5rem;
}

.add-to-cart-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #000000, transparent);
  transition: left 0.5s;
}

.add-to-cart-btn i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.add-to-cart-btn:hover {
  background: #000000;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.add-to-cart-btn:hover::before {
  left: 100%;
}

.add-to-cart-btn:hover i {
  transform: scale(1.1);
}

.add-to-cart-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Load More Button */
.load-more-container {
  text-align: center;
  margin-top: 3rem;
}

.load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background: #000;
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-medium);
}

.load-more-btn:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: var(--shadow-heavy);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .product-grid-container,
  .modern-product-grid-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  /* List view override */
  .product-grid-container.list-view,
  .modern-product-grid-container.list-view,
  .modern-product-grid.list-view .product-grid-container,
  .modern-product-grid.list-view .modern-product-grid-container {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 992px) {
  .product-grid-container,
  .modern-product-grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  /* List view override */
  .product-grid-container.list-view,
  .modern-product-grid-container.list-view,
  .modern-product-grid.list-view .product-grid-container,
  .modern-product-grid.list-view .modern-product-grid-container {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .banner-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .banner-text {
    text-align: center;
  }

  .banner-title {
    font-size: 2rem;
  }

  .banner-actions {
    justify-content: center;
  }

  .banner-placeholder {
    width: 250px;
    height: 150px;
  }

  .banner-placeholder i {
    font-size: 2.5rem;
  }

  .banner-placeholder span {
    font-size: 1rem;
  }

  .product-grid-container,
  .modern-product-grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  /* List view override for tablet */
  .product-grid-container.list-view,
  .modern-product-grid-container.list-view,
  .modern-product-grid.list-view .product-grid-container,
  .modern-product-grid.list-view .modern-product-grid-container {
    grid-template-columns: 1fr !important;
  }

  .modern-product-grid {
    padding: 0 0.5rem;
  }

  .modern-product-card {
    min-height: 350px;
  }

  .section-header {
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    flex-wrap: nowrap;
  }

  .section-title {
    font-size: 1.5rem;
    flex: 1;
    min-width: 0;
  }

  .section-controls {
    flex-shrink: 0;
    justify-content: flex-end;
  }

  .view-toggle-btn {
    padding: 0.5rem;
    font-size: 0.875rem;
  }

  .product-info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    gap: 0.5rem;
  }

  .product-price {
    margin-top: 0.5rem;
  }

  .product-name {
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
  }

  .current-price {
    font-size: 1rem;
    font-weight: 600;
  }

  .old-price {
    font-size: 0.85rem;
  }

  .product-actions {
    margin-top: 1rem;
    display: block;
  }

  .add-to-cart-btn {
    width: 100%;
    padding: 0.75rem;
    font-size: 0.9rem;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .overlay-actions {
    top: 8px;
    right: 8px;
    gap: 0.4rem;
  }

  .overlay-actions button {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    font-size: 0.8rem;

    .features-grid {
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .categories-grid {
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .banner-title {
    font-size: 1.75rem;
  }

  .banner-subtitle {
    font-size: 1rem;
  }

  .banner-placeholder {
    width: 200px;
    height: 120px;
  }

  .banner-placeholder i {
    font-size: 2rem;
  }

  .banner-placeholder span {
    font-size: 0.9rem;
  }

  .section-header {
    flex-direction: row;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: nowrap;
  }

  .section-title {
    font-size: 1.25rem;
    flex: 1;
    min-width: 0;
  }

  .section-controls {
    flex-shrink: 0;
    justify-content: flex-end;
  }

  .view-toggle-btn {
    padding: 0.4rem;
    font-size: 0.8rem;
  }

  .product-grid-container,
  .modern-product-grid-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* List view override for mobile */
  .product-grid-container.list-view,
  .modern-product-grid-container.list-view,
  .modern-product-grid.list-view .product-grid-container,
  .modern-product-grid.list-view .modern-product-grid-container {
    grid-template-columns: 1fr !important;
  }

  .modern-product-grid {
    padding: 0 0.5rem;
  }

  .modern-product-card {
    min-height: 300px;
  }

  .modern-product-section {
    padding: 0 0.5rem;
  }

  .product-name {
    font-size: 0.95rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
  }

  .current-price {
    font-size: 1rem;
    font-weight: 600;
  }

  .old-price {
    font-size: 0.85rem;
  }

  .product-info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    gap: 0.5rem;
  }

  .product-price {
    margin-top: 0.5rem;
  }

  .product-actions {
    margin-top: 1rem;
    display: block;
  }

  .add-to-cart-btn {
    width: 100%;
    padding: 0.75rem;
    font-size: 0.9rem;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* List View Styles */
.product-grid-container.list-view,
.modern-product-grid-container.list-view,
.modern-product-grid.list-view .product-grid-container,
.modern-product-grid.list-view .modern-product-grid-container {
  grid-template-columns: 1fr !important;
  gap: 1.5rem;
}

/* List View - Override all media queries to ensure single column */
@media (min-width: 768px) {
  .product-grid-container.list-view,
  .modern-product-grid-container.list-view,
  .modern-product-grid.list-view .product-grid-container,
  .modern-product-grid.list-view .modern-product-grid-container {
    grid-template-columns: 1fr !important;
  }
}

@media (min-width: 1200px) {
  .product-grid-container.list-view,
  .modern-product-grid-container.list-view,
  .modern-product-grid.list-view .product-grid-container,
  .modern-product-grid.list-view .modern-product-grid-container {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 1200px) {
  .product-grid-container.list-view,
  .modern-product-grid-container.list-view,
  .modern-product-grid.list-view .product-grid-container,
  .modern-product-grid.list-view .modern-product-grid-container {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 992px) {
  .product-grid-container.list-view,
  .modern-product-grid-container.list-view,
  .modern-product-grid.list-view .product-grid-container,
  .modern-product-grid.list-view .modern-product-grid-container {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 767px) {
  .product-grid-container.list-view,
  .modern-product-grid-container.list-view,
  .modern-product-grid.list-view .product-grid-container,
  .modern-product-grid.list-view .modern-product-grid-container {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .product-grid-container.list-view,
  .modern-product-grid-container.list-view,
  .modern-product-grid.list-view .product-grid-container,
  .modern-product-grid.list-view .modern-product-grid-container {
    grid-template-columns: 1fr !important;
  }
}

.product-grid-container.list-view .modern-product-card,
.modern-product-grid-container.list-view .modern-product-card,
.list-view .modern-product-card {
  flex-direction: row !important;
  height: auto;
  min-height: 200px;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  background: #000000;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-grid-container.list-view .modern-product-card:hover,
.modern-product-grid-container.list-view .modern-product-card:hover,
.list-view .modern-product-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.product-grid-container.list-view .product-image-container,
.modern-product-grid-container.list-view .product-image-container,
.list-view .product-image-container {
  width: 180px;
  height: 180px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  margin-right: 1.5rem;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.list-view .product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s ease;
}

.list-view .modern-product-card:hover .product-image {
  transform: none;
}

.list-view .product-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  gap: 1rem;
  min-height: 180px;
}

.list-view .product-info-top {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.list-view .product-info-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: auto;
}

.list-view .product-name {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.list-view .product-category {
  font-size: 0.875rem;
  color: var(--primary-color);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.list-view .product-rating {
  margin-bottom: 0.75rem;
}

.list-view .product-price {
  margin-top: 0;
  margin-bottom: 1rem;
}

.list-view .current-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.list-view .old-price {
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-decoration: line-through;
  margin-left: 0.75rem;
}

.list-view .product-actions {
  margin-top: 0;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.list-view .add-to-cart-btn {
  width: auto;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.list-view .add-to-cart-btn:hover {
  background: #000000;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 95, 204, 0.3);
}

.list-view .product-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
  /* Modern line-clamp implementation */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-overflow: ellipsis;
  font-size: 0.95rem;
}

.list-view .product-stock-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.list-view .stock-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #28a745;
}

.list-view .stock-indicator.low {
  background: #ffc107;
}

.list-view .stock-indicator.out {
  background: #dc3545;
}

/* Mobile List View Adjustments */
@media (max-width: 768px) {
  .list-view .modern-product-card {
    padding: 1rem;
    min-height: 160px;
  }

  .list-view .product-image-container {
    width: 120px;
    height: 120px;
    margin-right: 1rem;
  }

  .list-view .product-info {
    padding: 0;
    gap: 0.75rem;
  }

  .list-view .product-name {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }

  .list-view .product-category {
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
  }

  .list-view .current-price {
    font-size: 1.1rem;
  }

  .list-view .old-price {
    font-size: 0.9rem;
    margin-left: 0.5rem;
  }

  .list-view .add-to-cart-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .list-view .product-actions {
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .list-view .modern-product-card {
    padding: 0.75rem;
    min-height: 140px;
    flex-direction: column;
    text-align: center;
  }

  .list-view .product-image-container {
    width: 100px;
    height: 100px;
    margin-right: 0;
    margin-bottom: 0.75rem;
    align-self: center;
  }

  .list-view .product-info {
    padding: 0;
    gap: 0.5rem;
    align-items: center;
  }

  .list-view .product-name {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    text-align: center;
  }

  .list-view .product-category {
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
  }

  .list-view .current-price {
    font-size: 1rem;
  }

  .list-view .old-price {
    font-size: 0.85rem;
    margin-left: 0.5rem;
  }

  .list-view .add-to-cart-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    width: 100%;
    justify-content: center;
  }

  .list-view .product-actions {
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-up {
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--border-color);
  border-top: 2px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Pulse Animation for Cart Badge */
.pulse {
  animation: pulse 0.6s ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  max-width: 90%;
  max-height: 90%;
  overflow-y: auto;
  position: relative;
  animation: modalSlideIn 0.3s ease-out;
  padding: 1rem;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close-modal:hover {
  background-color: #f5f5f5;
  color: #333;
}

/* Product detail link in modal */
.product-detail-link {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.product-detail-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Loading overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Notification system */
.notification {
  position: fixed;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  padding: 15px 20px;
  border-radius: 8px;
  color: white;
  font-weight: 500;
  z-index: 10001;
  max-width: 300px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 0;
  word-wrap: break-word;
  line-height: 1.4;
}

.notification i {
  margin-right: 15px;
  flex-shrink: 0;
  min-width: 16px;
  text-align: center;
  font-size: 16px;
  margin-top: 2px;
}

.notification.show {
  transform: translateX(-50%);
}

/* Cart page specific notification */
body[data-page="cart"] .notification,
.cart-page .notification {
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 400px;
  font-size: 1rem;
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  gap: 0;
  word-wrap: break-word;
  line-height: 1.5;
  align-items: flex-start;
}

/* Toastr notification override - tüm sayfalar için */
#toast-container.toast-bottom-center {
  bottom: 30px !important;
  z-index: 2147483647 !important;
  pointer-events: auto;
}

#toast-container.toast-bottom-center > div {
  width: 400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
  font-size: 1rem !important;
  padding: 20px 25px !important;
  line-height: 1.5 !important;
  position: relative !important;
  background-position: 15px 15px !important;
  background-repeat: no-repeat !important;
  background-size: 32px !important;
  min-height: 60px !important;
}

#toast-container.toast-bottom-center > div i {
  display: none !important;
}

#toast-container.toast-bottom-center > div .toast-message {
  flex: 1 !important;
  margin-left: 0 !important;
  position: relative !important;
  z-index: 1 !important;
}

/* Toastr'ın kendi CSS'ini override et */
#toast-container.toast-bottom-center .toast-message {
  margin-left: 0 !important;
  padding-left: 45px !important;
  padding-right: 25px !important;
}

#toast-container.toast-bottom-center .toast-close-button {
  position: absolute !important;
  right: 10px !important;
  top: 10px !important;
  margin: 0 !important;
}

/* Toastr icon spacing override */
#toast-container.toast-bottom-center .toast-icon {
  margin-right: 20px !important;
  flex-shrink: 0 !important;
  min-width: 18px !important;
  text-align: center !important;
  font-size: 18px !important;
  margin-top: 1px !important;
  position: relative !important;
  z-index: 1 !important;
}

/* Toastr success message spacing */
.toast.toast-success .toast-message {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

/* Toastr'ın kendi icon sistemini kullan - ekstra icon ekleme */
.toast.toast-success::before {
  display: none !important;
}

/* Toastr icon'larını göster */
.toast.toast-success .toast-icon,
.toast.toast-error .toast-icon,
.toast.toast-warning .toast-icon,
.toast.toast-info .toast-icon {
  display: block !important;
}

/* Toastr timeout ve animasyon ayarları - Let Toastr handle this */
.toast {
  position: relative !important;
}

.toast.toast-removing {
  pointer-events: none !important;
}

/* Toast close button düzeltmesi - çalışır hale getir */
#toast-container .toast-close-button {
  opacity: 1 !important;
  cursor: pointer !important;
  font-weight: bold !important;
  font-size: 20px !important;
  line-height: 1 !important;
  padding: 0 !important;
  margin: 0 !important;
  margin-left: 10px !important;
  width: 20px !important;
  height: 20px !important;
  text-align: center !important;
  transition: opacity 0.2s ease !important;
  position: relative !important;
  z-index: 10 !important;
  background: transparent !important;
  border: none !important;
  color: rgba(255, 255, 255, 0.8) !important;
  float: right !important;
}

#toast-container .toast-close-button:hover {
  opacity: 1 !important;
  color: rgba(255, 255, 255, 1) !important;
}

#toast-container .toast-close-button:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5) !important;
  outline-offset: 2px !important;
}

/* Toast timeout çalışması için - Remove conflicting animations */
#toast-container .toast {
  will-change: transform, opacity;
}

/* Toast container - otomatik temizleme ve animasyonlar */
#toast-container.toast-bottom-center .toast {
  animation: toastSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both !important;
  transition: none !important;
}

@keyframes toastSlideIn {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

/* Toast timeout çalışması için - progress bar */
#toast-container .toast-progress {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  height: 4px !important;
  background: rgba(255, 255, 255, 0.3) !important;
  width: 100% !important;
  border-radius: 0 0 12px 12px !important;
  overflow: hidden !important;
}

#toast-container .toast-progress-bar {
  height: 100% !important;
  background: rgba(255, 255, 255, 0.6) !important;
  width: 100% !important;
  animation: toastProgress linear forwards !important;
}

@keyframes toastProgress {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

/* Cart page specific override */
body[data-page="cart"] #toast-container.toast-bottom-center {
  bottom: 30px !important;
}

.notification.success {
  background: #000000;
}

.notification.error {
  background: #000000;
}

.notification.info {
  background: #000000;
}

.notification.warning {
  background: #000000;
}

/* Quick View Modal Styles */
.quick-view-container {
  max-width: 100%;
  margin: 0;
  padding: 2rem;
}

@media (max-width: 1024px) {
  /* Modal ana kapsayıcısındaki padding'i de mobilde azalt */
  .modal-content {
    padding: 0.5rem !important;
  }

  .quick-view-container {
    padding: 0.5rem !important; /* Mobil için padding minimize edildi */
  }
}

.quick-view-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* Product Images Section */
.product-images-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.main-image-container {
  position: relative;
  width: 100%;
  height: 500px; /* Yükseklik artırıldı */
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff; /* Beyaz arka plan */
  display: flex;
  align-items: center;
  justify-content: center;
}

.qv-slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.qv-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.qv-slide.active {
  opacity: 1;
  visibility: visible;
}

.main-product-image {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Kırpılmayı önle */
  transition: transform 0.3s ease;
}

.main-product-image:hover {
  transform: scale(1.05);
}

.no-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-size: 1.2rem;
  gap: 0.5rem;
}

.no-image-placeholder i {
  font-size: 3rem;
  opacity: 0.5;
}

.thumbnail-images {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.qv-thumbnail-strip {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.thumbnail-item {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.qv-thumb {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  background: #ffffff;
}

.thumbnail-item:hover {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.qv-thumb:hover {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.qv-thumb.active {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.06);
}

.thumbnail-image {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Küçük resimler de sığdırılsın */
  background: #ffffff;
}

.qv-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qv-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.8);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s ease, transform 0.2s ease;
}

.qv-nav-btn:hover {
  background: rgba(0, 0, 0, 0.95);
}

.qv-nav-btn.qv-prev {
  left: 0.75rem;
}

.qv-nav-btn.qv-next {
  right: 0.75rem;
}

.qv-image-counter {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
  z-index: 3;
}

/* Product Details Section */
.product-details-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1rem 0;
}

.product-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-title {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

.product-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.product-title a:hover {
  color: var(--primary-color);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stars {
  display: flex;
  gap: 2px;
}

.star-filled {
  color: #ffc107;
}

.star-empty {
  color: #e0e0e0;
}

.review-count {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.product-description {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Product Options */
.product-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.option-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.option-label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.option-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.option-value {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: white;
}

.option-value:hover {
  border-color: var(--primary-color);
  background: #f8f9ff;
}

.option-input {
  display: none;
}

.option-value input[type="radio"]:checked + .option-text {
  color: var(--primary-color);
  font-weight: 600;
}

.option-value:has(input[type="radio"]:checked) {
  border-color: var(--primary-color);
  background: #f0f4ff;
}

.option-value.checked {
  border-color: var(--primary-color);
  background: #f0f4ff;
}

.option-value.checked .option-text {
  color: var(--primary-color);
  font-weight: 600;
}

.option-text {
  font-size: 0.9rem;
  color: var(--text-primary);
}

/* Product Pricing */
.product-pricing {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.price-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.current-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.old-price {
  font-size: 1.2rem;
  color: var(--text-secondary);
  text-decoration: line-through;
}

.discount-badge {
  background: var(--danger-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.call-for-pricing {
  font-size: 1.2rem;
  color: var(--warning-color);
  font-weight: 600;
}

/* Stock Status */
.stock-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
}

.stock-status.in-stock {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.stock-status.low-stock {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

.stock-status.out-of-stock {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Add to Cart Section */
.add-to-cart-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.quantity-section {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
}

.quantity-label {
  font-weight: 600;
  color: var(--text-primary);
  min-width: 80px;
  font-size: 1rem;
}

.quantity-controls {
  display: flex;
  align-items: center;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background: white;
}

.quantity-btn {
  background: #f8f9fa;
  border: none;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-primary);
  min-width: 45px;
}

.quantity-btn:hover {
  background: var(--primary-color);
  color: white;
}

.quantity-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.quantity-input {
  border: none;
  padding: 0.75rem 1rem;
  text-align: center;
  min-width: 80px;
  font-size: 1rem;
  font-weight: 600;
  background: white;
}

.quantity-input:focus {
  outline: none;
  background: #f8f9ff;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.primary-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 1.25rem 2rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-decoration: none;
  min-height: 50px;
}

.primary-btn:hover {
  background: #1a5fcc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 116, 240, 0.3);
}

.primary-btn:disabled {
  background: #6c757d;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.secondary-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
}

.secondary-btn {
  background: white;
  color: var(--text-primary);
  border: 2px solid #e0e0e0;
  padding: 0.875rem 1.5rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  flex: 1;
  min-width: 140px;
  min-height: 45px;
}

.secondary-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: #f8f9ff;
  transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .quick-view-container {
    padding: 1.5rem;
  }

  .quick-view-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .main-image-container {
    height: 450px; /* Tablet/Küçük ekranlar için artırıldı */
  }

  .product-title {
    font-size: 1.5rem;
  }

  .current-price {
    font-size: 1.5rem;
  }

  .add-to-cart-section {
    gap: 1.75rem;
  }

  .quantity-section {
    gap: 1.25rem;
    padding: 0.75rem 0;
  }
}

@media (max-width: 768px) {
  .quick-view-container {
    padding: 1rem;
  }

  .quick-view-content {
    gap: 1rem;
  }

  .main-image-container {
    height: 500px; /* Mobil dikey için artırıldı - Masaüstü ile aynı orana getirildi */
  }

  .product-title {
    font-size: 1.3rem;
  }

  .current-price {
    font-size: 1.3rem;
  }

  .add-to-cart-section {
    gap: 1.5rem;
  }

  .quantity-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.5rem 0;
  }

  .quantity-label {
    min-width: auto;
    font-size: 0.95rem;
  }

  .quantity-controls {
    width: 100%;
    max-width: 200px;
  }

  .action-buttons {
    gap: 1.25rem;
  }

  .primary-btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    min-height: 45px;
  }

  .secondary-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .secondary-btn {
    min-width: auto;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    min-height: 40px;
  }

  .thumbnail-images {
    justify-content: center;
  }

  .thumbnail-item {
    width: 60px;
    height: 60px;
  }

  .qv-thumbnail-strip {
    justify-content: center;
  }

  .qv-thumb {
    width: 60px;
    height: 60px;
  }

  .qv-nav-btn {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 480px) {
  .quick-view-container {
    padding: 0.75rem;
  }

  .main-image-container {
    height: 350px; /* En küçük telefonlar için ideal boyut */
  }

  .product-title {
    font-size: 1.2rem;
  }

  .current-price {
    font-size: 1.2rem;
  }

  .add-to-cart-section {
    gap: 1.25rem;
  }

  .quantity-section {
    gap: 0.75rem;
    padding: 0.25rem 0;
  }

  .quantity-label {
    font-size: 0.9rem;
  }

  .quantity-controls {
    max-width: 180px;
  }

  .quantity-btn {
    padding: 0.625rem 0.875rem;
    min-width: 40px;
  }

  .quantity-input {
    padding: 0.625rem 0.875rem;
    min-width: 60px;
    font-size: 0.9rem;
  }

  .action-buttons {
    gap: 1rem;
  }

  .primary-btn {
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
    min-height: 40px;
    gap: 0.5rem;
  }

  .secondary-actions {
    gap: 0.5rem;
  }

  .secondary-btn {
    padding: 0.625rem 1rem;
    font-size: 0.85rem;
    min-height: 35px;
    gap: 0.375rem;
  }

  .option-values {
    justify-content: center;
  }

  .option-value {
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
  }
}

/* Cart Badge Specific Styles */
/* Cart Badge - General styles (for product pages, etc.) */
.cart-badge {
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-text {
  font-family: Poppins-Regular;
  font-size: 14px;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cart-badge:hover .cart-text {
  color: #000000;
}

/* Desktop Navbar Cart Badge - Enhanced styles */
.menu-cart-container {
  transform: none !important;
}

.menu-cart-container:hover {
  transform: none !important;
}

.menu-cart-container:hover * {
  transform: none !important;
}

.menu-cart-container .cart-badge {
  padding: 8px 16px;
  border-radius: 8px;
  background-color: transparent;
}

.menu-cart-container .cart-badge:hover {
  color: #000000;
  background-color: rgba(108, 122, 224, 0.05);
  transform: none !important;
}

.menu-cart-container .cart-badge .cart-text {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.menu-cart-container .cart-badge i {
  font-size: 22px;
}

.menu-cart-container .cart-badge .badge {
  top: -6px;
  right: 8px;
  width: 20px;
  height: 20px;
  font-size: 11px;
  font-weight: 600;
  padding-top: 1px;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
  background-color: #f5f5f5;
  color: #333;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.menu-cart-container .cart-badge .badge[style*="display: block"],
.menu-cart-container .cart-badge .badge[style*="display:flex"] {
  display: flex !important;
}

.menu-cart-container .cart-badge:hover .badge {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  transform: none !important;
}

/* Mobile responsive styles for cart text */
@media (max-width: 991px) {
  .menu-cart-container .cart-badge {
    padding: 6px 12px;
    gap: 6px;
  }

  .menu-cart-container .cart-badge .cart-text {
    font-size: 13px;
  }

  .menu-cart-container .cart-badge i {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .cart-text {
    font-size: 12px;
    display: none; /* Hide text on very small screens */
  }

  .cart-badge {
    gap: 4px;
  }

  .menu-cart-container .cart-badge .cart-text {
    display: none; /* Hide text in navbar on mobile */
  }
}

@media (max-width: 480px) {
  .cart-text {
    display: none; /* Completely hide text on mobile */
  }

  .menu-cart-container .cart-badge {
    padding: 6px 10px;
  }
}

.cart-badge.pulse {
  animation: cartPulse 0.8s ease-in-out;
}

.cart-badge.pulse .badge {
  animation: badgePulse 0.8s ease-in-out;
  background-color: var(--success-color) !important;
}

@keyframes cartPulse {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.05);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes badgePulse {
  0% {
    transform: scale(1);
    background-color: #000000;
  }
  25% {
    transform: scale(1.2);
    background-color: var(--success-color);
  }
  50% {
    transform: scale(1.1);
    background-color: var(--success-color);
  }
  100% {
    transform: scale(1);
    background-color: var(--success-color);
  }
}

/* Header Cart Badge */
.icon-header-noti.js-show-cart {
  transition: all 0.3s ease;
}

.icon-header-noti.js-show-cart.pulse {
  animation: headerCartPulse 0.8s ease-in-out;
}

.icon-header-noti.js-show-cart.pulse .badge {
  animation: headerBadgePulse 0.8s ease-in-out;
  background-color: var(--success-color) !important;
}

@keyframes headerCartPulse {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.05);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes headerBadgePulse {
  0% {
    transform: scale(1);
    background-color: #000000;
  }
  25% {
    transform: scale(1.2);
    background-color: var(--success-color);
  }
  50% {
    transform: scale(1.1);
    background-color: var(--success-color);
  }
  100% {
    transform: scale(1);
    background-color: var(--success-color);
  }
}

/* Badge span specific styles */
.badge.pulse {
  animation: badgePulse 0.8s ease-in-out;
  background-color: var(--success-color) !important;
}

/* Cart Add Modal Styles */
#shopModal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

#shopModal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

#shopModal .modal-dialog {
  max-width: 600px;
  width: 90%;
  margin: 0 auto;
}

#shopModal .modal-content {
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: none;
  animation: modalSlideIn 0.3s ease-out;
  overflow: hidden;
}

#shopModal .modal-header {
  background: #000000;
  color: white;
  border-bottom: none;
  padding: 1.5rem;
  border-radius: 12px 12px 0 0;
}

#shopModal .modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

#shopModal .close {
  color: white;
  opacity: 0.8;
  font-size: 1.5rem;
  font-weight: 300;
  background: none;
  border: none;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

#shopModal .close:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

#shopModal .modal-body {
  padding: 2rem;
}

#shopModal .row {
  margin-bottom: 1.5rem;
}

#shopModal .row:last-child {
  margin-bottom: 0;
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
}

#shopModal .col-md-3 img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#shopModal .col-md-6 h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

#shopModal .col-md-6 h6 {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

#shopModal .col-md-3 {
  text-align: right;
  font-weight: 600;
  color: #4caf50;
  font-size: 1.1rem;
}

#shopModal .col-md-7 {
  color: #666;
  font-size: 0.95rem;
}

#shopModal .cart-item-count {
  font-weight: 600;
  color: #4caf50;
  font-size: 1.1rem;
}

#shopModal .col-md-5 {
  text-align: right;
  font-weight: 600;
  color: #333;
  font-size: 1rem;
}

#shopModal .modal-footer {
  background-color: #f8f9fa;
  border-top: 1px solid #e0e0e0;
  padding: 1.5rem;
  border-radius: 0 0 12px 12px;
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

#shopModal .btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

#shopModal .btn-light {
  background-color: #f8f9fa;
  color: #666;
  border: 2px solid #e0e0e0;
}

#shopModal .btn-light:hover {
  background-color: #e9ecef;
  color: #333;
  border-color: #adb5bd;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#shopModal .btn-light:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive Design for Cart Modal */
@media (max-width: 768px) {
  #shopModal .modal-dialog {
    width: 95%;
    margin: 1rem auto;
  }

  #shopModal .modal-header {
    padding: 1rem;
  }

  #shopModal .modal-title {
    font-size: 1.1rem;
  }

  #shopModal .modal-body {
    padding: 1.5rem;
  }

  #shopModal .row {
    margin-bottom: 1rem;
  }

  #shopModal .col-md-3,
  #shopModal .col-md-6,
  #shopModal .col-md-7,
  #shopModal .col-md-5 {
    margin-bottom: 0.5rem;
  }

  #shopModal .col-md-3 {
    text-align: center;
  }

  #shopModal .col-md-5 {
    text-align: left;
  }

  #shopModal .modal-footer {
    padding: 1rem;
    flex-direction: column;
  }

  #shopModal .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  #shopModal .btn:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 480px) {
  #shopModal .modal-dialog {
    width: 98%;
    margin: 0.5rem auto;
  }

  #shopModal .modal-header {
    padding: 0.75rem;
  }

  #shopModal .modal-body {
    padding: 1rem;
  }

  #shopModal .col-md-6 h4 {
    font-size: 1rem;
  }

  #shopModal .col-md-3 {
    font-size: 1rem;
  }

  #shopModal .col-md-7,
  #shopModal .col-md-5 {
    font-size: 0.9rem;
  }
}

/* Modern Banner Section */
.new-banner-section {
  background: #000000;
  padding: 4rem 0;
  margin: 3rem auto;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
  max-width: 1200px;
  width: 100%;
}

.new-banner-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="banner-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23banner-pattern)"/></svg>');
  opacity: 0.3;
}

.banner-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin: 0 auto;
  justify-content: center;
  text-align: center;
  max-width: 1200px;
  padding: 0 1rem;
}

.banner-text {
  color: var(--white);
  text-align: left;
}

.banner-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.banner-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
}

.banner-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-secondary {
  background: var(--white);
  color: #000000;
  border-color: var(--white);
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
  background: #f8f9fa;
  color: #333333;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-outline-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-outline-secondary:hover {
  background: var(--white);
  color: #000000;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.banner-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-placeholder {
  background: rgba(255, 255, 255, 0.1);
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  color: var(--white);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.banner-placeholder:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.05);
}

.banner-placeholder i {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: block;
  opacity: 0.8;
}

.banner-placeholder span {
  font-size: 1.5rem;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  display: block;
  margin-bottom: 0.5rem;
}

.banner-placeholder small {
  font-size: 1rem;
  opacity: 0.8;
  font-weight: 400;
  display: block;
}

.banner-placeholder.animated {
  animation: bannerPulse 1s ease-in-out;
}

@keyframes bannerPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1.05);
  }
}

/* Responsive Banner */
@media (max-width: 768px) {
  .new-banner-section {
    margin: 2rem auto;
    border-radius: 15px;
  }

  .banner-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    padding: 0 0.5rem;
  }

  .banner-text {
    text-align: center;
  }

  .banner-title {
    font-size: 2.5rem;
  }

  .banner-subtitle {
    font-size: 1.1rem;
  }

  .banner-actions {
    justify-content: center;
  }

  .banner-placeholder {
    padding: 2rem;
  }

  .banner-placeholder i {
    font-size: 3rem;
  }

  .banner-placeholder span {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .new-banner-section {
    padding: 3rem 0;
    margin: 2rem 0;
  }

  .banner-title {
    font-size: 2rem;
  }

  .banner-subtitle {
    font-size: 1rem;
  }

  .banner-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-secondary,
  .btn-outline-secondary {
    width: 100%;
    max-width: 250px;
    justify-content: center;
  }
}

/* Category Hero Section - Same as new-banner-section */
.category-hero,
.category-hero-section {
  background: #000000;
  padding: 4rem 0;
  margin: 1rem auto;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
  max-width: 1200px;
  width: 100%;
  animation: slideInFromBottom 0.8s ease-out;
}

.category-hero-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.category-hero::before,
.category-hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="banner-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23banner-pattern)"/></svg>');
  opacity: 0.3;
}

.category-hero-wrapper {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.category-hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin: 0 auto;
  justify-content: center;
  text-align: center;
  max-width: 1200px;
  padding: 0 1rem;
}

/* Responsive Category Hero Section */
@media (max-width: 768px) {
  .category-hero,
  .category-hero-section {
    margin: 2rem auto;
    border-radius: 15px;
  }

  .category-hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    padding: 0 0.5rem;
  }
}

@media (max-width: 480px) {
  .category-hero,
  .category-hero-section {
    padding: 3rem 0;
    margin: 2rem 0;
  }
}

/* Animation for modal appearance */
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Success animation for cart badge */
.cart-badge.success-pulse,
.icon-header-noti.js-show-cart.success-pulse,
.badge.success-pulse {
  animation: successPulse 0.6s ease-in-out;
}

@keyframes successPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}

/* Enhanced button styles for cart modal */
#shopModal .btn {
  position: relative;
  overflow: hidden;
}

#shopModal .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #000000, transparent);
  transition: left 0.5s;
}

#shopModal .btn:hover::before {
  left: 100%;
}

/* Loading state for buttons */
#shopModal .btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

#shopModal .btn.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Product List Page Specific Styles */
.page-header {
  background: linear-gradient(135deg, #000000 0%, #1a5fcc 100%);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.page-header-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  opacity: 0.9;
}

.breadcrumb a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb a:hover {
  opacity: 0.8;
  transform: translateY(-1px);
}

.breadcrumb .separator {
  opacity: 0.6;
}

.breadcrumb .current {
  font-weight: 600;
}

/* Product List Section */
.product-list-section {
  padding: 3rem 0;
  background: var(--background-light);
  min-height: 60vh;
}

.product-list-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.product-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  flex-wrap: wrap;
  gap: 1rem;
}

.product-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.product-count {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  color: var(--text-primary);
  font-weight: 500;
}

.product-count i {
  color: var(--primary-color);
  font-size: 1.1rem;
}

.product-filters {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-group label {
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.sort-select {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background: var(--white);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: var(--transition);
}

.sort-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(40, 116, 240, 0.1);
}

.product-controls {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* Product Item Styles */
.product-item {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  /* Sabit yükseklik kaldırıldı - esnek yükseklik sistemi */
  min-height: auto;
  max-width: 100%;
}

.product-item:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-5px);
}

.product-image {
  position: relative;
  overflow: hidden;
  /* Instagram tarzı - aspect-ratio kaldırıldı */
  max-height: 300px;
  min-height: 200px;
  background: transparent;
  display: block;
  padding: 0;
}

.product-image > a {
  display: block;
  width: 100%;
  height: 100%;
}

.product-image img {
  width: 100%;
  height: auto;
  min-height: 200px;
  max-height: 300px;
  object-fit: cover; /* Instagram tarzı - alanı tamamen doldurur */
  object-position: center;
  transition: var(--transition);
  display: block;
}

.product-item:hover .product-image img {
  transform: scale(1.02);
}

.product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.2rem;
  gap: 0.5rem;
}

.product-placeholder i {
  font-size: 3rem;
  opacity: 0.5;
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  z-index: 2;
}

.sale-badge {
  background: var(--danger-color);
}

.product-actions {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  transition: var(--transition);
  z-index: 2;
}

.product-item:hover .product-actions {
  opacity: 1;
}

.quick-view-btn,
.add-to-wishlist-btn {
  background: var(--white);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-primary);
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.quick-view-btn:hover,
.add-to-wishlist-btn:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.product-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 120px;
}

.product-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  /* Modern line-clamp implementation */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-overflow: ellipsis;
  transition: var(--transition);
}

.product-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition);
}

.product-title a:hover {
  color: var(--primary-color);
}

.product-price {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.current-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.old-price {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: line-through;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stars {
  display: flex;
  gap: 2px;
}

.stars i {
  font-size: 0.875rem;
}

.stars i.filled {
  color: var(--warning-color);
}

.stars i:not(.filled) {
  color: var(--border-color);
}

.rating-count {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.product-actions-bottom {
  margin-top: 0.75rem;
}

.add-to-cart-btn,
.contact-for-price-btn {
  width: 100%;
  background: #000000;
  color: var(--white);
  border: none;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  position: relative;
  overflow: hidden;
}

.add-to-cart-btn:hover {
  background: #000000;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.contact-for-price-btn {
  background: var(--warning-color);
}

.contact-for-price-btn:hover {
  background: #e0a800;
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* No Products State */
.no-products {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
}

.no-products-content {
  max-width: 400px;
  margin: 0 auto;
}

.no-products-content i {
  font-size: 4rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  opacity: 0.5;
}

.no-products-content h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.no-products-content p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Pagination */
.pagination-container {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
}

.pagination-info {
  display: flex;
  gap: 2rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.pagination-info span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pagination-info span:first-child::before {
  content: "\f0c9";
  font-family: "FontAwesome";
  color: var(--primary-color);
}

.pagination-info span:last-child::before {
  content: "\f0b1";
  font-family: "FontAwesome";
  color: var(--primary-color);
}

.pagination {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0.5rem 1rem;
  background: var(--white);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
}

.page-link:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-light);
}

.page-link.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  cursor: default;
}

.page-link.prev,
.page-link.next {
  gap: 0.5rem;
  min-width: 100px;
}

.page-ellipsis {
  color: var(--text-secondary);
  font-weight: 500;
  padding: 0.5rem;
}

/* Responsive Design for Product List */
@media (max-width: 768px) {
  .page-title {
    font-size: 2rem;
  }

  .product-list-header {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .product-count {
    text-align: center;
  }

  .product-controls {
    justify-content: center;
  }

  .product-item {
    min-height: 350px;
  }

  .product-info {
    padding: 1rem;
  }

  .product-title {
    font-size: 1rem;
  }

  .current-price {
    font-size: 1rem;
  }

  .add-to-cart-btn,
  .contact-for-price-btn {
    padding: 0.75rem;
    font-size: 0.9rem;
  }

  .pagination {
    gap: 0.25rem;
  }

  .page-link {
    min-width: 35px;
    height: 35px;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
  }

  .page-link.prev,
  .page-link.next {
    min-width: 80px;
  }
}

@media (max-width: 480px) {
  .page-title {
    font-size: 1.75rem;
  }

  .breadcrumb {
    font-size: 0.9rem;
    flex-wrap: wrap;
  }

  .product-item {
    min-height: 300px;
  }

  .product-info {
    padding: 0.75rem;
  }

  .product-title {
    font-size: 0.95rem;
  }

  .current-price {
    font-size: 0.95rem;
  }

  .add-to-cart-btn,
  .contact-for-price-btn {
    padding: 0.625rem;
    font-size: 0.85rem;
  }

  .page-link {
    min-width: 30px;
    height: 30px;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
  }

  .page-link.prev,
  .page-link.next {
    min-width: 70px;
  }
}

/* ===========================================================
   IMAGE ERROR HANDLING & PLACEHOLDER STYLES
   =========================================================== */

/* Image error state */
img.image-error {
  opacity: 0.7;
  background-color: var(--background-light);
  object-fit: contain;
}

/* Image placeholder state */
img.image-placeholder {
  background: #000000;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Product image error handling */
.product-image.image-error,
.product-image.image-placeholder {
  background-color: var(--background-light);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image-container img.image-error,
.product-image-container img.image-placeholder {
  width: 100%;
  height: auto;
  min-height: 200px;
  object-fit: contain;
}

/* Category image error handling */
.category-image.image-error,
.category-image.image-placeholder {
  background-color: var(--background-light);
  min-height: 150px;
}

/* Thumbnail image error handling */
.thumbnail-image.image-error,
.thumbnail-image.image-placeholder {
  background-color: var(--background-light);
  min-height: 80px;
  object-fit: contain;
}

/* Main product image error handling */
#main-product-image.image-error,
#main-product-image.image-placeholder {
  background-color: var(--background-light);
  min-height: 400px;
  object-fit: contain;
}

/* Responsive image error handling */
@media (max-width: 768px) {
  .product-image.image-error,
  .product-image.image-placeholder {
    min-height: 150px;
  }

  #main-product-image.image-error,
  #main-product-image.image-placeholder {
    min-height: 250px;
  }
}

@media (max-width: 480px) {
  .product-image.image-error,
  .product-image.image-placeholder {
    min-height: 120px;
  }

  #main-product-image.image-error,
  #main-product-image.image-placeholder {
    min-height: 200px;
  }
}

/* ===========================================================
   CATEGORY DETAIL PAGE SPECIFIC STYLES
   =========================================================== */

/* Modern Design System Variables - Category Page Overrides */
:root {
  --primary-color: #000000;
  --primary-hover: #1d4ed8;
  --secondary-color: #64748b;
  --accent-color: #f59e0b;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --background-primary: #ffffff;
  --background-secondary: #f8fafc;
  --background-tertiary: #f1f5f9;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg:
    0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl:
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background-secondary);
}

/* Hero Section - Clean & Professional */
.category-hero,
.category-hero-section {
  background: #000000;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
  max-width: 1200px;
  width: calc(100% - 2rem);
  animation: slideInFromBottom 0.8s ease-out;
}

.category-hero-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.category-hero::before,
.category-hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="banner-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23banner-pattern)"/></svg>');
  opacity: 0.3;
}

.category-hero-wrapper {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.category-hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin: 0 auto;
  justify-content: center;
  text-align: center;
  max-width: 1200px;
  padding: 0 1rem;
}

@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Category Hero Section */
@media (max-width: 768px) {
  .category-hero,
  .category-hero-section {
    margin: 0;
    padding: 0;
    border-radius: 20px;
    width: 100%;
    overflow: hidden;
  }

  .category-hero-wrapper {
    border-radius: 20px;
    overflow: hidden;
  }

  .category-hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    padding: 0 0.5rem;
  }
}

@media (max-width: 480px) {
  .category-hero,
  .category-hero-section {
    padding: 0;
    margin: 0;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
  }

  .category-hero-wrapper {
    border-radius: 20px;
    overflow: hidden;
  }
}

/* Breadcrumb - Clean & Readable */
.breadcrumb-modern {
  background: rgba(0, 0, 0, 0.3);
  padding: 1rem 1.5rem;
  margin: 0 0 2rem 0;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.breadcrumb-modern .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb-modern .breadcrumb-item {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 500;
}

.breadcrumb-modern .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  transition: var(--transition);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
}

.breadcrumb-modern .breadcrumb-item a:hover {
  color: rgba(255, 255, 255, 0.95) !important;
  background: transparent !important;
  background-color: transparent !important;
  text-shadow: none !important;
}

.breadcrumb-modern .breadcrumb-item a:hover i {
  color: rgba(255, 255, 255, 0.95) !important;
}

/* Remove all breadcrumb hover effects */
.breadcrumb a:hover,
.breadcrumb-modern a:hover,
.breadcrumb-modern .breadcrumb-item a:hover,
.breadcrumb-modern .breadcrumb-item:hover a,
.breadcrumb-item a:hover,
.breadcrumb-item:hover a,
.breadcrumb-item:hover,
.breadcrumb-modern .breadcrumb-item:hover {
  background: transparent !important;
  background-color: transparent !important;
  color: rgba(255, 255, 255, 0.95) !important;
}

.breadcrumb-modern .breadcrumb-item.active {
  color: white;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  background: transparent;
}

.breadcrumb-modern .breadcrumb-item:not(:last-child)::after {
  content: "→";
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 300;
}

/* Category Title & Description */
.category-header {
  text-align: center;
  margin-bottom: 2rem;
}

.category-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.category-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* Category Stats */
.category-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.stat-item i {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
}

.stat-item .stat-text {
  font-weight: 600;
  font-size: 0.95rem;
  color: white;
}

/* Compact Filter Sidebar - Hepsiburada Style */
.filter-sidebar {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 0;
  border: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  margin-bottom: 1rem;
  overflow: hidden;
  width: 100%;
}

/* Force proper layout */
.filter-sidebar * {
  box-sizing: border-box !important;
}

/* Force vertical layout */
.filter-group > * {
  display: block !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
}

/* Override any existing styles */
.filter-group h4,
.filter-group ul,
.filter-group li,
.filter-group div {
  display: block !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
}

/* Price Range Specific Overrides */
.filter-group #priceSlider {
  margin: 0.5rem 0.75rem;
  width: calc(100% - 1.5rem);
  max-width: calc(100% - 1.5rem);
  box-sizing: border-box;
  overflow: hidden;
}

.filter-title {
  background: #f8fafc;
  color: #2d3748;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.filter-title i {
  color: var(--primary-color);
  font-size: 1.3rem;
}

.filter-content {
  padding: 0;
}

.filter-group {
  margin-bottom: 0 !important;
  background: #ffffff !important;
  border-radius: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-bottom: 1px solid #f3f4f6 !important;
  position: relative !important;
  width: 100% !important;
  display: block !important;
  float: none !important;
  clear: both !important;
}

.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.filter-group-title {
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: #374151 !important;
  margin: 0 !important;
  display: block !important;
  padding: 0.5rem 1rem 0.25rem 1rem !important;
  background: #fafbfc !important;
  border-bottom: 1px solid #e5e7eb !important;
  position: relative !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
}

.filter-group-title i {
  color: var(--secondary-color);
  font-size: 1rem;
}

.filter-options {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: white !important;
  max-height: 200px !important;
  overflow-y: auto !important;
  width: 100% !important;
  position: relative !important;
  display: block !important;
  float: none !important;
  clear: both !important;
}

.filter-options-nested {
  margin-left: 1.5rem;
  margin-top: 0.5rem;
}

.filter-options li {
  display: block !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  position: relative;
}

.filter-option {
  margin-bottom: 0 !important;
  border-bottom: 1px solid var(--border-light) !important;
  width: 100% !important;
  display: block !important;
  float: none !important;
  clear: both !important;
  list-style: none !important;
  position: relative !important;
}

.filter-option:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.filter-checkbox {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.5rem 1rem !important;
  background: white !important;
  border: none !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  border-bottom: 1px solid #f9fafb !important;
  position: relative !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
}

.filter-checkbox:hover {
  background: #f8fafc;
}

.filter-checkbox:last-child {
  border-bottom: none;
}

.filter-checkbox input[type="checkbox"] {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  min-height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
  accent-color: #3b82f6 !important;
  cursor: pointer !important;
  border-radius: 3px !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
}

.filter-checkbox label {
  flex: 1 !important;
  margin: 0 !important;
  cursor: pointer !important;
  font-size: 0.8rem !important;
  color: #374151 !important;
  font-weight: 500 !important;
}

.filter-count {
  font-size: 0.65rem !important;
  color: #9ca3af !important;
  background: #f3f4f6 !important;
  padding: 0.15rem 0.3rem !important;
  border-radius: 6px !important;
  font-weight: 500 !important;
  min-width: 16px !important;
  text-align: center !important;
}

/* Price Filter Specific Styles */
.filter-group .noUi-target {
  background: #e5e7eb;
  border: none;
  border-radius: 4px;
  height: 4px;
  margin: 0.5rem 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.filter-group .noUi-connect {
  background: #3b82f6;
  border-radius: 4px;
}

.filter-group .noUi-handle {
  background: #3b82f6 !important;
  border: 3px solid white !important;
  border-radius: 50% !important;
  box-shadow: 0 3px 8px rgba(59, 130, 246, 0.6) !important;
  width: 18px !important;
  height: 18px !important;
  top: -7px !important;
  left: -9px !important;
  position: absolute !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  max-width: 18px !important;
  max-height: 18px !important;
  box-sizing: border-box !important;
  z-index: 100 !important;
  cursor: pointer !important;
}

.filter-group .noUi-handle:before,
.filter-group .noUi-handle:after {
  display: none !important;
}

/* Specific handle targeting */
.filter-group .noUi-handle-lower,
.filter-group .noUi-handle-upper {
  background: #3b82f6 !important;
  border: 3px solid white !important;
  border-radius: 50% !important;
  box-shadow: 0 3px 8px rgba(59, 130, 246, 0.6) !important;
  width: 18px !important;
  height: 18px !important;
  top: -7px !important;
  left: -9px !important;
  position: absolute !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  max-width: 18px !important;
  max-height: 18px !important;
  box-sizing: border-box !important;
  z-index: 100 !important;
  cursor: pointer !important;
}

.filter-group .noUi-handle:hover {
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.8) !important;
  transform: scale(1.1) !important;
  background: #000000 !important;
}

/* Ultra Aggressive Handle Override */
.filter-group .noUi-handle,
.filter-group .noUi-handle-lower,
.filter-group .noUi-handle-upper,
.filter-group [class*="noUi-handle"] {
  background: #3b82f6 !important;
  border: 3px solid white !important;
  border-radius: 50% !important;
  box-shadow: 0 3px 8px rgba(59, 130, 246, 0.6) !important;
  width: 18px !important;
  height: 18px !important;
  top: -7px !important;
  left: -9px !important;
  position: absolute !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  max-width: 18px !important;
  max-height: 18px !important;
  box-sizing: border-box !important;
  z-index: 100 !important;
  cursor: pointer !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Price Display */
.price-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.5rem 0.75rem;
  padding: 0.5rem;
  background: #f8fafc;
  border-radius: 4px;
  border: 1px solid #e5e7eb;
  width: calc(100% - 1.5rem);
  max-width: calc(100% - 1.5rem);
  box-sizing: border-box;
}

.price-display span {
  font-weight: 600;
  color: #3b82f6;
  font-size: 0.8rem;
}

/* Row Alignment for Filter and Products */
.container > .row {
  align-items: flex-start;
}

/* Align aside and main at the top */
aside.col-lg-3 {
  padding-top: 1rem;
}

main.col-lg-9 {
  padding-top: 1rem;
}

/* Professional Product Grid */
/* Professional Product Grid - Transparent & Clean */
.products-section {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 1rem 0;
  border: none;
  overflow: visible !important;
  min-height: auto !important;
  height: auto !important;
}

.modern-product-section {
  padding: 0;
}

/* Category Page Specific Styles - Unified Card System */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0 0 0;
  padding: 1rem;
}

/* Responsive Grid for Category Page */
@media (max-width: 768px) {
  .products-section {
    padding: 1rem 1rem 2.5rem 1rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0 0 0;
    padding: 0;
  }
}

@media (max-width: 576px) {
  .products-section {
    padding: 1rem 0;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
    margin: 1rem 0 0 0;
    padding: 0 0.5rem;
  }

  .modern-product-card {
    box-shadow: none !important;
    border: 1px solid #eee !important;
  }
}

/* Container Margin Utility */
.container-margin-20 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .container-margin-20 {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  border-bottom: 2px solid var(--border-light);
}

.products-title-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  align-self: center;
}

.products-count {
  display: inline-flex;
  align-items: center;
  background: var(--background-tertiary);
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--border-light);
  margin-left: 1rem;
}

.products-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.products-title i {
  color: var(--primary-color);
  font-size: 1.5rem;
}

/* Mobile responsive for products-title */
@media (max-width: 768px) {
  .products-title {
    font-size: 1.25rem;
    gap: 0.5rem;
  }

  .products-title i {
    font-size: 1.125rem;
  }
}

@media (max-width: 480px) {
  .products-title {
    font-size: 1.125rem;
    gap: 0.375rem;
  }

  .products-title i {
    font-size: 1rem;
  }
}

.sort-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  align-self: center;
}

.sort-select {
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  background: white;
  color: var(--text-primary);
  font-size: 0.95rem;
  min-width: 180px;
  font-weight: 500;
  transition: var(--transition);
}

.sort-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.no-products {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-secondary);
}

.no-products i {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.no-products h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.no-products p {
  font-size: 1rem;
  margin-bottom: 2rem;
}

.btn-primary-modern {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
}

.btn-primary-modern:hover {
  background: #1a5fcc;
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* Pagination */
.pagination-modern {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.pagination-modern .page-item {
  list-style: none;
}

.pagination-modern .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition);
}

.pagination-modern .page-link:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.pagination-modern .page-item.active .page-link {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.pagination-modern .page-item.disabled .page-link {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
  .category-hero,
  .category-hero-section {
    padding: 0;
    margin: 0;
    width: 100%;
  }

  .category-title {
    font-size: 2rem;
  }

  .category-stats {
    justify-content: center;
  }

  .products-header {
    flex-direction: row;
    align-items: center;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    padding-left: 0;
    padding-right: 0;
    gap: 1rem;
  }

  .products-count {
    display: none;
  }

  .sort-controls {
    justify-content: flex-end;
    flex: 1;
  }

  .products-title-wrapper {
    flex: 1;
    min-width: 0;
  }

  .products-title {
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .filter-sidebar {
    position: static;
    margin-bottom: 1rem;
    border-radius: 8px;
  }

  .filter-content {
    padding: 0;
  }

  .filter-group {
    margin-bottom: 0;
    padding: 0;
  }

  .filter-group-title {
    padding: 0.625rem 1rem 0.375rem 1rem;
    font-size: 0.85rem;
  }

  .filter-checkbox {
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 576px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0 0 0;
  }

  .category-stats {
    flex-direction: column;
    align-items: center;
  }

  .products-header {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    padding-left: 0;
    padding-right: 0;
    gap: 0.75rem;
  }

  .products-title {
    font-size: 0.9rem;
  }
}

/* -------------------------------------------
   PREMIUM MOBILE FILTER STYLES
   ------------------------------------------- */
/* -------------------------------------------
   PREMIUM MOBILE FILTER STYLES
   ------------------------------------------- */
@media (max-width: 991px) {
  /* Drawer Container */
  .mobile-filter-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 320px;
    height: 100vh;
    background: #ffffff;
    z-index: 9999;
    transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15);
    display: flex !important;
    flex-direction: column;
  }

  .mobile-filter-sidebar.active {
    left: 0;
  }

  /* Backdrop */
  .mobile-filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .mobile-filter-overlay.active {
    display: block;
    opacity: 1;
  }

  /* Header */
  .filter-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
  }

  .filter-sidebar-header .filter-title {
    font-family: "Poppins", sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #111;
    margin: 0;
    letter-spacing: -0.02em;
  }

  .close-filter-btn {
    background: #f5f5f5;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .close-filter-btn:hover {
    background: #e0e0e0;
    color: #000;
    transform: rotate(90deg);
  }

  /* Content Area */
  .filter-sidebar-content {
    padding: 0;
    flex-grow: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .filter-scroll-container {
    padding: 24px;
    padding-bottom: 100px; /* Space for fixed bottom button */
  }

  /* Filter Groups */
  .filter-group {
    margin-bottom: 32px;
    border-bottom: 1px solid #f9f9f9;
    padding-bottom: 24px;
  }

  .filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }

  .filter-group-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 16px;
    text-transform: none;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .filter-group-title i {
    color: #888;
    font-size: 0.9em;
  }

  /* Custom Checkboxes */
  .filter-options {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .filter-option {
    margin-bottom: 12px;
  }

  .filter-checkbox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 4px 0;
  }

  .filter-checkbox input[type="checkbox"] {
    display: none;
  }

  .filter-checkbox label {
    position: relative;
    padding-left: 32px;
    cursor: pointer;
    font-size: 15px;
    color: #444;
    transition: color 0.2s;
    margin: 0;
    flex-grow: 1;
    display: block;
    line-height: 1.5;
  }

  .filter-checkbox label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 6px;
    background: #fff;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .filter-checkbox label::after {
    content: "\f00c";
    font-family: "FontAwesome";
    position: absolute;
    left: 4px;
    top: 5px;
    font-size: 12px;
    color: #fff;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .filter-checkbox input[type="checkbox"]:checked + label {
    color: #000;
    font-weight: 500;
  }

  .filter-checkbox input[type="checkbox"]:checked + label::before {
    background-color: #222;
    border-color: #222;
  }

  .filter-checkbox input[type="checkbox"]:checked + label::after {
    opacity: 1;
    transform: scale(1);
  }

  .filter-count {
    background: #f0f0f0;
    color: #777;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
  }

  /* Mobile Sort Select */
  .mobile-sort-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fafafa;
    font-size: 15px;
    color: #333;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    outline: none;
    transition: all 0.2s;
  }

  .mobile-sort-select:focus {
    border-color: #333;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
  }

  /* Fixed Filter Toggle Button */
  .mobile-filter-toggle {
    display: flex !important; /* Force flex on mobile */
    width: 100%;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    color: #111;
    border: 1px solid #e0e0e0;
    padding: 14px 20px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border-radius: 8px;
    transition: all 0.2s ease;
    margin-bottom: 24px;
    cursor: pointer;
    z-index: 100;
    position: relative;
  }

  .mobile-filter-toggle:active {
    background: #f8f9fa;
    transform: translateY(1px);
  }

  .mobile-filter-toggle i {
    font-size: 0.9rem;
  }

  /* Price Slider Refinements */
  .noUi-horizontal {
    height: 4px;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .noUi-connect {
    background: #222;
  }

  .noUi-handle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #222;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    top: -8px;
    right: -10px;
  }

  .noUi-handle::after,
  .noUi-handle::before {
    display: none;
  }

  .price-display {
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #111;
    font-size: 0.95rem;
  }

  /* Hide Desktop Sort on Mobile */
  .sort-controls {
    display: none !important;
  }
}

/* DESKTOP RESET - Fix Broken Desktop View */
/* DESKTOP RESET - Fix Broken Desktop View */
@media (min-width: 992px) {
  /* Only hide mobile-specific elements, NOT the main sidebar wrapper */
  .mobile-filter-overlay,
  .mobile-filter-toggle,
  .filter-sidebar-header,
  .mobile-sort-container {
    display: none !important;
  }

  /* Reset Sidebar styles for desktop - Restore Card Look */
  .mobile-filter-sidebar {
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: #fff !important; /* Restore white background */
    box-shadow:
      0 4px 6px -1px rgba(0, 0, 0, 0.05),
      0 2px 4px -1px rgba(0, 0, 0, 0.03) !important; /* Gentle shadow */
    display: block !important;
    padding: 24px !important; /* Add padding similar to header */
    z-index: auto !important;
    transition: none !important;
    transform: none !important;
    border-radius: 12px; /* Match standard radius */
    border: 1px solid #e9efef; /* Light border */
    margin-bottom: 2rem;
    margin-top: 1rem; /* User defined alignment */
  }

  .filter-sidebar-content {
    padding: 0 !important;
    height: auto !important;
    overflow: visible !important;
    border: none;
  }

  .filter-scroll-container {
    padding: 0 !important;
    height: auto !important;
    overflow: visible;
  }

  /* Ensure other elements look normal on Desktop */
  .filter-title {
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: #333;
    font-family: "Poppins", sans-serif;
    font-size: 1.25rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
  }

  /* Fix Desktop Sort Controls */
  .sort-controls {
    display: block !important;
    min-width: 200px;
  }

  .sort-controls select,
  .products-header #sortSelect {
    display: block !important;
    width: 100%;
    padding: 8px 30px 8px 15px;
    border: 1px solid #e6e6e6;
    border-radius: 4px; /* Standard square-ish look */
    height: 40px;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    font-size: 14px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
  }

  .sort-controls select:focus {
    border-color: #b2b2b2;
    outline: none;
  }
}
