/* ============================================
   MOD SLM - PAGES CSS
   Sayfa özel stiller
   ============================================ */

/* ==================== HOMEPAGE ==================== */

/* Hero Section */
.hero {
  position: relative;
  height: 600px;
  background: linear-gradient(
    135deg,
    var(--primary-black) 0%,
    var(--neutral-dark) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: none;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.3;
  z-index: 0;
  transform: scale(1);
}

.hero__container {
  position: relative;
  z-index: 2;
}

.hero__content {
  text-align: center;
  color: var(--primary-white);
}

.hero__title {
  font-size: var(--text-6xl);
  font-weight: var(--weight-light);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.8s ease-out;
  color: azure;
}

.hero__subtitle {
  font-size: var(--text-xl);
  font-weight: var(--weight-regular);
  color: var(--neutral-light);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero__content .btn {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

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

/* Categories Section */
.categories {
  padding: var(--space-3xl) 0;
}

.section-title {
  font-size: var(--text-4xl);
  font-weight: var(--weight-light);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--neutral-medium);
  margin-bottom: var(--space-xl);
}

.categories__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.category-card {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition-base);
}

.category-card:hover {
  transform: translateY(-8px);
}

.category-card__image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 100%; /* 1:1 daha kompakt kart oranı */
  overflow: hidden;
}

.category-card__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.category-card:hover .category-card__image {
  transform: scale(1.1);
}

.category-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--space-md);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  color: var(--primary-white);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.category-card__title {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: azure;
}

.category-card__count {
  font-size: var(--text-xs);
  color: var(--neutral-light);
}

/* Featured Products Section */
.featured-products {
  padding: var(--space-3xl) 0;
  background-color: var(--neutral-lighter);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-md);
}

/* New Arrivals Section */
.new-arrivals {
  padding: var(--space-3xl) 0;
}

/* CTA Banner */
.cta-banner {
  padding: var(--space-3xl) 0;
  background: linear-gradient(
    135deg,
    var(--accent-rose) 0%,
    var(--accent-rose-hover) 100%
  );
  margin: var(--space-3xl) 0;
}

.cta-banner__content {
  text-align: center;
  padding: var(--space-2xl) 0;
}

.cta-banner__title {
  font-size: var(--text-4xl);
  font-weight: var(--weight-light);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-md);
  color: var(--primary-black);
}

.cta-banner__text {
  font-size: var(--text-lg);
  color: var(--neutral-dark);
  margin-bottom: var(--space-xl);
}

/* ==================== CATEGORY PAGE ==================== */
/* Not: Category header stilleri aşağıda (satır ~950) daha detaylı tanımlanmış */

.category-main {
  padding: var(--space-xl) 0;
}

.category-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: var(--border-width) solid var(--neutral-border);
}

.category-toolbar__left {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.category-toolbar__results {
  font-size: var(--text-sm);
  color: var(--neutral-medium);
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  border: var(--border-width) solid var(--neutral-border);
  border-radius: var(--border-radius-sm);
  background-color: var(--primary-white);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  transition: all var(--transition-base);
}

.filter-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.category-toolbar__right {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.sort-select {
  min-width: 200px;
}

.view-toggle {
  display: flex;
  border: var(--border-width) solid var(--neutral-border);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

.view-toggle__btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-white);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
}

.view-toggle__btn:not(:last-child) {
  border-right: var(--border-width) solid var(--neutral-border);
}

.view-toggle__btn.active {
  background-color: var(--accent-gold);
  color: var(--primary-white);
}

.category-content {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-xl);
}

/* Filter Sidebar */
.filter-sidebar {
  position: sticky;
  top: calc(var(--header-height) + var(--space-md));
  height: fit-content;
}

.filter-group {
  padding: var(--space-md) 0;
  border-bottom: var(--border-width) solid var(--neutral-border);
}

.filter-group__title {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.filter-group__options {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.filter-option {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
}

.filter-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.filter-option__label {
  font-size: var(--text-sm);
  color: var(--neutral-dark);
  cursor: pointer;
}

.filter-option__count {
  font-size: var(--text-xs);
  color: var(--neutral-medium);
  margin-left: auto;
}

.filter-option--disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.filter-option--disabled .filter-option__label {
  text-decoration: line-through;
}

/* Color Swatches */
.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.color-swatch {
  width: 32px;
  height: 32px;
  border-radius: var(--border-radius-full);
  border: 2px solid var(--neutral-border);
  cursor: pointer;
  transition: all var(--transition-base);
}

.color-swatch:hover,
.color-swatch.active {
  transform: scale(1.1);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
}

/* ==================== PRODUCT DETAIL PAGE ==================== */

.product-detail {
  padding: var(--space-xl) 0;
}

.product-detail__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

/* Product Gallery */
.product-gallery {
  position: sticky;
  top: calc(var(--header-height) + var(--space-md));
  height: fit-content;
}

.product-gallery__main {
  position: relative;
  width: 100%;
  padding-top: 133%; /* 3:4 aspect ratio */
  background-color: var(--neutral-lighter);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.product-gallery__main-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery__thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}

.product-gallery__thumbnail {
  position: relative;
  padding-top: 100%;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition-base);
}

.product-gallery__thumbnail.active {
  border-color: var(--accent-gold);
}

.product-gallery__thumbnail-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Info */
.product-info__brand {
  font-size: var(--text-sm);
  color: var(--neutral-medium);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--space-xs);
}

.product-info__title {
  font-size: var(--text-3xl);
  font-weight: var(--weight-light);
  margin-bottom: var(--space-md);
}

.product-info__rating {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.product-info__price-wrapper {
  display: flex;
  align-items: baseline;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  padding: var(--space-lg) 0;
  border-top: var(--border-width) solid var(--neutral-border);
  border-bottom: var(--border-width) solid var(--neutral-border);
}

.product-info__price {
  font-size: var(--text-5xl);
  font-weight: var(--weight-bold);
  color: var(--primary-black);
}

.product-info__price--old {
  font-size: var(--text-2xl);
  color: var(--neutral-medium);
  text-decoration: line-through;
}

.product-info__discount {
  background-color: var(--error-red);
  color: var(--primary-white);
  padding: 4px 12px;
  border-radius: var(--border-radius-sm);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
}

.product-options {
  margin-bottom: var(--space-xl);
}

.product-option {
  margin-bottom: var(--space-lg);
}

.product-option__label {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-sm);
  display: block;
}

.size-options,
.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.size-option,
.color-option {
  min-width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-md);
  border: var(--border-width-thick) solid var(--neutral-border);
  border-radius: var(--border-radius-sm);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  cursor: pointer;
  transition: all var(--transition-base);
}

.size-option:hover,
.color-option:hover {
  border-color: var(--accent-gold);
}

.size-option.active,
.color-option.active {
  border-color: var(--accent-gold);
  background-color: var(--accent-gold);
  color: var(--primary-white);
}

.size-option.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.product-actions {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.quantity-selector {
  display: flex;
  border: var(--border-width) solid var(--neutral-border);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

.quantity-selector__btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-white);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-base);
}

.quantity-selector__btn:hover {
  background-color: var(--neutral-light);
}

.quantity-selector__input {
  width: 60px;
  height: 48px;
  text-align: center;
  border: none;
  border-left: var(--border-width) solid var(--neutral-border);
  border-right: var(--border-width) solid var(--neutral-border);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-lg);
  background-color: var(--neutral-lighter);
  border-radius: var(--border-radius-md);
}

.product-feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
}

/* ==================== CART PAGE ==================== */

.cart-page {
  padding: var(--space-xl) 0;
}

.cart-container {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--space-xl);
}

.cart-container-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--space-xl);
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: var(--space-md);
  padding: var(--space-md);
  background-color: var(--primary-white);
  border: var(--border-width) solid var(--neutral-border);
  border-radius: var(--border-radius-md);
}

.cart-item__image {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
}

.cart-summary {
  position: sticky;
  top: calc(var(--header-height) + var(--space-md));
  height: fit-content;
  padding: var(--space-lg);
  background-color: var(--neutral-lighter);
  border-radius: var(--border-radius-lg);
}

.cart-summary__title {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-lg);
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-md);
  font-size: var(--text-base);
}

.cart-summary__total {
  display: flex;
  justify-content: space-between;
  padding-top: var(--space-md);
  margin-top: var(--space-md);
  border-top: var(--border-width) solid var(--neutral-border);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
}
/* ==================== CHECKOUT PAGE ==================== */

.checkout-page {
  padding: var(--space-xl) 0;
  background-color: var(--neutral-lighter);
}

.checkout-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.checkout-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  opacity: 0.5;
}

.checkout-step.completed,
.checkout-step.active {
  opacity: 1;
}

.checkout-step__number {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-full);
  background-color: var(--neutral-light);
  color: var(--neutral-dark);
  font-weight: var(--weight-bold);
  font-size: var(--text-lg);
}

.checkout-step.completed .checkout-step__number {
  background-color: var(--success-green);
  color: var(--primary-white);
}

.checkout-step.active .checkout-step__number {
  background-color: var(--accent-gold);
  color: var(--primary-white);
}

.checkout-step__label {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
}

.checkout-container {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--space-xl);
}

.checkout-form {
  background-color: var(--primary-white);
  padding: var(--space-xl);
  border-radius: var(--border-radius-lg);
}

.form-section {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: var(--border-width) solid var(--neutral-border);
}

.form-section:last-of-type {
  border-bottom: none;
}

.form-section__title {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  margin-bottom: var(--space-xs);
  color: var(--neutral-dark);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-checkbox {
  display: flex;
  align-items: start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.form-checkbox input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.form-checkbox label {
  font-size: var(--text-sm);
  line-height: 1.6;
  cursor: pointer;
}

.form-checkbox label a {
  color: var(--accent-gold);
  text-decoration: underline;
}

.checkout-summary {
  background-color: var(--primary-white);
  padding: var(--space-lg);
  border-radius: var(--border-radius-lg);
  height: fit-content;
  position: sticky;
  top: calc(var(--header-height) + var(--space-md));
}

.checkout-summary__title {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-lg);
}

.checkout-summary__items {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.checkout-summary__item {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: var(--space-sm);
}

.checkout-summary__item-info {
  display: flex;
  gap: var(--space-sm);
  flex: 1;
}

.checkout-summary__item-image {
  width: 60px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
}

.checkout-summary__item-name {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  margin-bottom: 4px;
}

.checkout-summary__item-details,
.checkout-summary__item-quantity {
  font-size: var(--text-xs);
  color: var(--neutral-medium);
}

.checkout-summary__item-price {
  font-weight: var(--weight-semibold);
  white-space: nowrap;
}

.checkout-summary__divider {
  height: 1px;
  background-color: var(--neutral-border);
  margin: var(--space-md) 0;
}

.checkout-summary__row {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-base);
  margin-bottom: var(--space-sm);
}

.checkout-summary__total {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  margin-top: var(--space-md);
}

.security-info {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background-color: var(--neutral-lighter);
  border-radius: var(--border-radius-md);
  margin-top: var(--space-lg);
}

.security-info__icon {
  font-size: 24px;
}

.security-info__text strong {
  display: block;
  font-size: var(--text-sm);
  margin-bottom: 4px;
}

.security-info__text p {
  font-size: var(--text-xs);
  color: var(--neutral-medium);
  margin: 0;
}

.payment-logos {
  display: flex;
  justify-content: center;
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: var(--border-width) solid var(--neutral-border);
}

.payment-logos__badge {
  height: 56px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .checkout-container {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    position: static;
  }
}

/* ==================== CATEGORY PAGE (UPDATED) ==================== */

.category-page {
  padding: var(--space-xl) 0;
  min-height: 70vh;
}

.category-header {
  position: relative;
  text-align: center;
  padding: 80px 0 60px;
  background: linear-gradient(135deg, #2c3e50 0%, #1a1a1a 100%);
  border-radius: 0;
  margin-bottom: var(--space-xl);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.category-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(255, 255, 255, 0.05) 10px,
      rgba(255, 255, 255, 0.05) 20px
    );
  z-index: 1;
}

.category-header::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.category-header > * {
  position: relative;
  z-index: 2;
}

.category-header__title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.4);
  font-family: var(--font-heading);
}

.category-header__description {
  font-size: 1.2rem;
  color: #f5f5f5;
  margin-bottom: var(--space-md);
  font-weight: 400;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.category-header__stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 24px;
}

.category-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 28px;
  background: rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(212, 175, 55, 0.4);
  transition: all 0.3s ease;
}

.category-stat:hover {
  background: rgba(212, 175, 55, 0.3);
  border-color: rgba(212, 175, 55, 0.6);
  transform: translateY(-2px);
}

.category-stat__number {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 6px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.category-stat__label {
  font-size: 0.85rem;
  color: #f5f5f5;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Kategori Bazlı Gradient Renkleri - Tüm kategoriler aynı (Sarı-Siyah) */
.category-header[data-category="elbise"],
.category-header[data-category="bluz"],
.category-header[data-category="pantolon"],
.category-header[data-category="etek"],
.category-header[data-category="ceket"],
.category-header[data-category="aksesuar"],
.category-header[data-category="tum-urunler"] {
  background: linear-gradient(135deg, #2c3e50 0%, #1a1a1a 100%);
}

/* Altın vurgu overlay */
.category-header::before {
  background-image: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(212, 175, 55, 0.08) 10px,
      rgba(212, 175, 55, 0.08) 20px
    );
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .category-header {
    padding: 60px 0 40px;
  }
  
  .category-header__title {
    font-size: 2rem;
  }
  
  .category-header__description {
    font-size: 1rem;
  }
  
  .category-header__stats {
    gap: 16px;
  }
  
  .category-stat {
    padding: 10px 16px;
  }
  
  .category-stat__number {
    font-size: 1.5rem;
  }
  
  .category-stat__label {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .category-header {
    padding: 50px 20px 35px;
  }
  
  .category-header__title {
    font-size: 1.75rem;
    letter-spacing: 1px;
  }
  
  .category-header__description {
    font-size: 0.95rem;
  }
  
  .category-header__stats {
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
  }
  
  .category-stat {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
  }
  
  .category-stat__number {
    font-size: 1.5rem;
    margin-bottom: 0;
  }
}

.category-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
  margin-bottom: var(--space-lg);
  border-bottom: var(--border-width) solid var(--neutral-border);
}

.category-toolbar__left {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.category-toolbar__results {
  font-size: var(--text-sm);
  color: var(--neutral-medium);
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  border: var(--border-width) solid var(--neutral-border);
  border-radius: var(--border-radius-sm);
  background: var(--primary-white);
  cursor: pointer;
  transition: all var(--transition-base);
}

.filter-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.category-content {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-xl);
  align-items: start;
  isolation: isolate;
}

/* Smooth scrolling için optimize edilmiş container */
.category-main {
  contain: layout style;
}

.filter-sidebar {
  background: #ffffff;
  padding: var(--space-lg);
  border-radius: var(--border-radius-lg);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  overflow-x: hidden;
  position: sticky;
  top: 90px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-gold) var(--neutral-border);
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.filter-sidebar::-webkit-scrollbar {
  width: 6px;
}

.filter-sidebar::-webkit-scrollbar-track {
  background: var(--neutral-border);
  border-radius: 10px;
}

.filter-sidebar::-webkit-scrollbar-thumb {
  background: var(--accent-gold);
  border-radius: 10px;
}

.filter-sidebar::-webkit-scrollbar-thumb:hover {
  background: #b8860b;
}

.filter-sidebar__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.filter-sidebar__header h3 {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
}

.filter-sidebar__close {
  display: none;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  background: var(--neutral-border);
  border-radius: var(--border-radius-full);
  cursor: pointer;
  transition: background var(--transition-base);
}

.filter-sidebar__close:hover {
  background: var(--accent-gold);
  color: var(--primary-white);
}

/* Mobil responsive */
@media (max-width: 1023px) {
  .filter-sidebar {
    background: #ffffff !important;
    background-color: #ffffff !important;
  }

  .filter-sidebar__close {
    display: flex !important;
    width: 36px !important;
    height: 36px !important;
    background: #f0f0f0 !important;
    color: #495057 !important;
    transition: all 0.3s ease !important;
    position: relative !important;
  }
  
  .filter-sidebar__close:hover {
    background: var(--accent-gold) !important;
    color: white !important;
    transform: translateX(-3px) !important;
  }
  
  .filter-sidebar__close:hover svg {
    transform: translateX(-2px) !important;
  }
  
  .filter-sidebar__close:active {
    transform: translateX(-5px) !important;
  }
  
  .filter-sidebar__close svg {
    transition: transform 0.3s ease !important;
  }
  
  .filter-sidebar__header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid #e9ecef !important;
    margin-bottom: 20px !important;
  }
}

.filter-group {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: var(--border-width) solid var(--neutral-border);
}

.filter-group:last-of-type {
  border-bottom: none;
}

.filter-group__title {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-md);
}

.filter-group__options {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.filter-option {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
}

.filter-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.filter-option__label {
  font-size: var(--text-sm);
  color: var(--neutral-dark);
  cursor: pointer;
}

.category-products {
  flex: 1;
  will-change: contents;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.products-grid {
  will-change: transform;
  transform: translateZ(0);
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */

.product-detail__main-img {
  max-width: 500px !important;
  max-height: 600px !important;
  margin: 0 auto !important;
}

.product-detail__main-img img {
  max-width: 100% !important;
  max-height: 600px !important;
  object-fit: contain !important;
  width: auto !important;
  height: auto !important;
}

.product-detail__thumbs img {
  width: 80px !important;
  height: 100px !important;
  object-fit: cover !important;
}

/* Renk seçenekleri */
.color-option {
  min-width: 80px;
  padding: 10px 16px;
  border: 2px solid var(--neutral-border);
  border-radius: var(--border-radius-sm);
  background: white;
  cursor: pointer;
  transition: all 0.2s;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
}

.color-option:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.color-option.active {
  border-color: var(--accent-gold);
  background: var(--accent-gold);
  color: white;
}

/* Stok bilgisi */
.product-stock-info {
  padding: 12px;
  border-radius: var(--border-radius-sm);
  background: var(--bg-light);
}

