/* ========================================
   NDUSFOOT DESIGN SYSTEM
   Nike-Inspired Ultra-Modern E-commerce
   ======================================== */

/* ========================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   ======================================== */

:root {
  /* Typography System */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  
  /* Font Sizes */
  --fs-hero-title: 4.5rem;
  --fs-h1: 3rem;
  --fs-h2: 2.25rem;
  --fs-h3: 1.875rem;
  --fs-h4: 1.5rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;
  
  /* Font Weights */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;
  --fw-black: 900;
  
  /* Line Heights */
  --lh-tight: 1.1;
  --lh-normal: 1.5;
  --lh-relaxed: 1.75;
  
  /* Color System */
  --color-background: #FFFFFF;
  --color-text-primary: #111111;
  --color-text-secondary: #757575;
  --color-text-muted: #9CA3AF;
  --color-border: #E5E5E5;
  --color-border-light: #F3F4F6;
  --color-accent: #000000;
  --color-accent-hover: #333333;
  
  /* Spacing Scale */
  --spacing-xs: 0.25rem;   /* 4px */
  --spacing-sm: 0.5rem;    /* 8px */
  --spacing-md: 1rem;      /* 16px */
  --spacing-lg: 1.5rem;    /* 24px */
  --spacing-xl: 2rem;      /* 32px */
  --spacing-2xl: 3rem;     /* 48px */
  --spacing-3xl: 4rem;     /* 64px */
  --spacing-4xl: 6rem;     /* 96px */
  --spacing-5xl: 8rem;     /* 128px */
  
  /* Layout */
  --container-max-width: 1200px;
  --container-padding: var(--spacing-md);
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  
  /* Shadows */
  --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);
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;
}

/* ========================================
   MODERN CSS RESET
   ======================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--color-text-primary);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Remove default list styles */
ul,
ol {
  list-style: none;
}

/* Remove default link styles */
a {
  color: inherit;
  text-decoration: none;
}

/* Remove default button styles */
button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* Make images responsive */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

/* Container */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Typography Utilities */
.text-hero {
  font-size: var(--fs-hero-title);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
}

.text-h1 {
  font-size: var(--fs-h1);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
}

.text-h2 {
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
}

.text-h3 {
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-tight);
}

.text-h4 {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-tight);
}

.text-body {
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
}

.text-small {
  font-size: var(--fs-small);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
}

.text-xs {
  font-size: var(--fs-xs);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
}

/* Color Utilities */
.text-primary {
  color: var(--color-text-primary);
}

.text-secondary {
  color: var(--color-text-secondary);
}

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

/* Spacing Utilities */
.mt-xs { margin-top: var(--spacing-xs); }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }
.mt-2xl { margin-top: var(--spacing-2xl); }
.mt-3xl { margin-top: var(--spacing-3xl); }

.mb-xs { margin-bottom: var(--spacing-xs); }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }
.mb-2xl { margin-bottom: var(--spacing-2xl); }
.mb-3xl { margin-bottom: var(--spacing-3xl); }

.p-xs { padding: var(--spacing-xs); }
.p-sm { padding: var(--spacing-sm); }
.p-md { padding: var(--spacing-md); }
.p-lg { padding: var(--spacing-lg); }
.p-xl { padding: var(--spacing-xl); }
.p-2xl { padding: var(--spacing-2xl); }

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-lg);
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  line-height: 1;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  min-height: 44px; /* Touch-friendly minimum */
}

.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-background);
  border-color: var(--color-accent);
}

.btn--primary:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-text-primary);
  border-color: var(--color-border);
}

.btn--secondary:hover {
  background-color: var(--color-text-primary);
  color: var(--color-background);
  border-color: var(--color-text-primary);
}

.btn--icon {
  padding: var(--spacing-sm);
  min-height: 44px;
  min-width: 44px;
  border-radius: var(--radius-md);
  background-color: transparent;
  color: var(--color-text-primary);
}

.btn--icon:hover {
  background-color: var(--color-border-light);
}

/* ========================================
   LAYOUT COMPONENTS
   ======================================== */

/* ========================================
   HEADER - NIKE-INSPIRED NAVBAR
   ======================================== */

.header {
  position: sticky;
  top: 0;
  background-color: #FFFFFF;
  z-index: 1000;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.nav {
  width: 100%;
  position: relative;
}

.nav__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--spacing-xl);
  height: 60px;
}

/* Left: Logo */
.nav__left {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.nav__logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav__logo-text {
  font-size: 1.75rem;
  font-weight: 800;
  color: #111111;
  letter-spacing: -0.03em;
  transition: opacity 0.2s ease;
}

.nav__logo:hover .nav__logo-text {
  opacity: 0.7;
}

/* Center: Desktop Navigation */
.nav__center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2xl);
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

.nav__item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #111111;
  text-decoration: none;
  padding: 0 var(--spacing-sm);
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: var(--spacing-sm);
  width: calc(100% - var(--spacing-sm) * 2);
  height: 2px;
  background-color: #111111;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.nav__link:hover {
  color: #111111;
}

.nav__link:hover::after {
  transform: scaleX(1);
}

/* Right: Actions */
.nav__right {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  z-index: 1001;
}

/* Icon Buttons (Unified styling) */
.nav__icon-btn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
  position: relative;
  color: #111111;
}

/* Cart count badge */
.nav__cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: #e11d48; /* rose-600 */
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.nav__icon-btn:hover {
  background-color: #F5F5F5;
}

.nav__icon-btn i {
  font-size: 1rem;
  color: inherit;
  transition: color 0.2s ease;
}

/* Mobile Menu Toggle */
.nav__toggle {
  display: none;
}

.nav__toggle-icon {
  position: absolute;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav__toggle-icon--close {
  opacity: 0;
  transform: rotate(90deg);
}

.nav__toggle.nav__toggle--active .nav__toggle-icon:first-child {
  opacity: 0;
  transform: rotate(-90deg);
}

.nav__toggle.nav__toggle--active .nav__toggle-icon--close {
  opacity: 1;
  transform: rotate(0deg);
}

/* Mobile Navigation */
.nav__mobile {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  background-color: #FFFFFF;
  border-top: 1px solid #E5E5E5;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 999;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.nav__mobile.nav__mobile--open {
  max-height: 500px;
}

.nav__mobile-content {
  padding: var(--spacing-md) var(--spacing-lg);
}

.nav__mobile-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav__mobile-item {
  margin: 0;
}

.nav__mobile-link {
  display: block;
  padding: var(--spacing-md) 0;
  font-size: 1rem;
  font-weight: 500;
  color: #111111;
  text-decoration: none;
  border-bottom: 1px solid #F5F5F5;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.nav__mobile-link:hover {
  color: #757575;
  padding-left: var(--spacing-sm);
}

.nav__mobile-link:last-child {
  border-bottom: none;
}

/* ========================================
   CLEAN & MODERN HERO SECTION
   ======================================== */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  text-align: left;
  animation: fadeInUp 1s ease-out;
}

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

.hero__badge {
  display: inline-block;
  margin-bottom: var(--spacing-xl);
}

.hero__badge span {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: rgba(255, 255, 255, 0.1);
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero__title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: var(--fw-black);
  line-height: 1.1;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: var(--spacing-lg);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: var(--fw-regular);
  line-height: var(--lh-relaxed);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-2xl);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.hero__actions {
  display: flex;
  gap: var(--spacing-md);
  justify-content: flex-start;
  align-items: center;
}

/* Desktop-specific hero positioning - content shifted to the left edge */
@media (min-width: 1200px) {
  .hero .container {
    max-width: none;
    padding: 0;
    margin: 0;
  }

  .hero__content {
    max-width: 700px;
    margin-left: var(--spacing-2xl);
    margin-right: auto;
  }

  .hero__title {
    font-size: clamp(4rem, 6vw, 6rem);
    line-height: 0.95;
  }

  .hero__subtitle {
    font-size: clamp(1.3rem, 1.5vw, 1.5rem);
    max-width: 550px;
  }
}

.hero__actions .btn {
  display: flex;
}


.hero__nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
}

.hero__nav-btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
  transform: scale(1.05);
}

/* Hero Button Styles */
.btn--hero-primary {
  background-color: white;
  color: var(--color-text-primary);
  border: 2px solid white;
  padding: var(--spacing-sm) var(--spacing-lg);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  min-width: 140px;
}

.btn--hero-primary:hover {
  background-color: transparent;
  color: white;
  border-color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn--hero-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
  padding: var(--spacing-sm) var(--spacing-lg);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
  min-width: 140px;
}

.btn--hero-secondary:hover {
  background-color: white;
  color: var(--color-text-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Main Content */
.main {
  padding: var(--spacing-4xl) 0;
}

.section {
  margin-bottom: var(--spacing-4xl);
}

.section__title {
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.section__title--feature {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 800;
  color: #111111;
  text-align: left;
  margin-bottom: var(--spacing-2xl);
  letter-spacing: -0.01em;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-2xl);
}

/* ========================================
   FEATURE BANNER SECTION
   ======================================== */
.feature-banner {
  padding-top: var(--spacing-4xl);
  padding-bottom: var(--spacing-4xl);
}

.feature-banner__inner {
  background: #F9FAFB;
  border: 1px solid #F3F4F6;
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
  padding: var(--spacing-3xl);
  box-shadow: var(--shadow-sm);
}

.feature-banner__content {
  max-width: 640px;
}

.feature-banner__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: var(--lh-tight);
  font-weight: var(--fw-bold);
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.01em;
}

.feature-banner__text {
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
  font-size: 1.05rem;
  margin-bottom: var(--spacing-2xl);
}

.feature-banner__actions .btn {
  min-width: 160px;
}

.feature-banner__media {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.feature-banner__media--overlay { position: relative; }
.feature-banner__media--overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.2), rgba(0,0,0,0.0) 50%);
  pointer-events: none;
}

.feature-banner__carousel {
  position: relative;
  display: block;
  height: 340px;
  min-height: 200px;
}

.feature-banner__slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.8s cubic-bezier(.6,.16,.2,1);
  will-change: opacity;
  display: flex;
}

.feature-banner__slide--active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.feature-banner__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
}

@media (max-width: 1024px) {
  .feature-banner__inner {
    grid-template-columns: 1fr;
    padding: var(--spacing-2xl);
  }
  .feature-banner__media {
    order: -1;
  }
  .feature-banner__carousel {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .feature-banner__slide {
    min-width: 70%;
    scroll-snap-align: center;
  }
}

@media (max-width: 768px) {
  .feature-banner {
    padding-top: var(--spacing-3xl);
    padding-bottom: var(--spacing-3xl);
  }
  .feature-banner__inner {
    gap: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    background: #FFFFFF;
    border-color: #F3F4F6;
  }
  .feature-banner__text {
    font-size: 1rem;
  }
  .feature-banner__media {
    border-radius: var(--radius-xl);
  }
  .feature-banner__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
  }
  .section__title--feature {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
    text-align: left;
  }
}

.product-card {
  background-color: var(--color-background);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.product-card__image {
  aspect-ratio: 4/3;
  background-color: var(--color-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__placeholder {
  color: var(--color-text-muted);
  font-size: var(--fs-h4);
  font-weight: var(--fw-medium);
}

.product-card__content {
  padding: var(--spacing-lg);
}

.product-card__title {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--spacing-sm);
}

.product-card__price {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
}

.product-card__description {
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-md);
  line-height: var(--lh-relaxed);
}

.no-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--spacing-4xl);
}

.no-products h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--spacing-md);
  color: var(--color-text-primary);
}

.no-products p {
  color: var(--color-text-secondary);
}

.btn--full-width {
  width: 100%;
}

/* Notification System */
.notification {
  position: fixed;
  top: var(--spacing-xl);
  right: var(--spacing-xl);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 10000;
  transform: translateX(calc(100% + var(--spacing-xl)));
  transition: transform var(--transition-normal);
  font-weight: var(--fw-medium);
  font-size: var(--fs-body);
  min-width: 250px;
  max-width: 400px;
}

/* Mini Cart Drawer */
.mini-cart {
  position: fixed;
  inset: 0;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}
.mini-cart.active { opacity: 1; visibility: visible; }
.mini-cart__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}
.mini-cart__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(90vw, 360px);
  height: 100%;
  background: #fff;
  display: grid;
  grid-template-rows: auto 1fr auto;
  box-shadow: var(--shadow-xl);
  transform: translateX(100%);
  transition: transform var(--transition-normal);
}
.mini-cart.active .mini-cart__panel { transform: translateX(0); }
.mini-cart__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-lg);
  border-bottom: 1px solid var(--color-border);
}
.mini-cart__body { padding: var(--spacing-lg); overflow-y: auto; }
.mini-cart__footer {
  padding: var(--spacing-lg);
  border-top: 1px solid var(--color-border);
  background: #fafafa;
}
.mini-cart__summary { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--spacing-md); }
.mini-cart__items { display: grid; gap: var(--spacing-md); }
.mini-cart__item { display: grid; grid-template-columns: 1fr auto; gap: var(--spacing-sm); align-items: center; padding-bottom: var(--spacing-md); border-bottom: 1px solid var(--color-border-light); }
.mini-cart__item-name { font-weight: var(--fw-semibold); }
.mini-cart__item-meta { color: var(--color-text-muted); font-size: var(--fs-small); margin-top: 2px; }
.mini-cart__item-price { font-weight: var(--fw-bold); margin-top: 4px; }
.mini-cart__item-actions { display: flex; align-items: center; gap: var(--spacing-sm); }
.mini-cart__close { width: 32px; height: 32px; border-radius: 50%; }
.qty-btn { width: 28px; height: 28px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
.remove-btn { width: 28px; height: 28px; border: 1px solid var(--color-border); border-radius: 50%; color: var(--color-text-secondary); }
.mini-cart__empty { color: var(--color-text-secondary); }

/* ========================================
   CHECKOUT LAYOUT
   ======================================== */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: var(--spacing-2xl);
  align-items: start;
}

.checkout-form {
  display: grid;
  gap: var(--spacing-md);
}

.checkout-summary {
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  background: #fff;
}

@media (max-width: 768px) {
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  .checkout-summary { order: 1; }
  .checkout-form { order: 2; }
}

.notification--visible {
  transform: translateX(0);
}

.notification--success {
  background-color: #10B981;
  color: white;
}

.notification--error {
  background-color: #EF4444;
  color: white;
}

/* Footer */
.footer {
  background-color: var(--color-text-primary);
  color: var(--color-background);
  padding: var(--spacing-4xl) 0 var(--spacing-2xl);
  margin-top: var(--spacing-5xl);
}

.footer__content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--spacing-4xl);
  margin-bottom: var(--spacing-3xl);
}

.footer__logo {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  margin-bottom: var(--spacing-md);
}

.footer__description {
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-2xl);
}

.footer__title {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--spacing-lg);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer__link {
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--color-background);
}

.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding-top: var(--spacing-2xl);
  text-align: center;
}

.footer__copyright {
  color: var(--color-text-muted);
  font-size: var(--fs-small);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
  :root {
    --fs-hero-title: 3rem;
    --fs-h1: 2.25rem;
    --fs-h2: 1.875rem;
    --container-padding: var(--spacing-sm);
  }
  
  /* Mobile header sizing */
  .nav__container {
    height: 60px;
    padding: 0 var(--spacing-md);
    grid-template-columns: 1fr auto;
    gap: var(--spacing-sm);
  }
  
  /* Hide center navigation on mobile */
  .nav__center {
    display: none;
  }
  
  /* Logo styling */
  .nav__logo-text {
    font-size: 1.35rem;
  }
  
  /* Right side actions */
  .nav__right {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
  }
  
  /* Icon buttons on mobile */
  .nav__icon-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
  }
  
  .nav__icon-btn i {
    font-size: 0.95rem;
  }
  
  /* Show mobile menu toggle */
  .nav__toggle {
    display: flex;
  }
  
  /* Mobile navigation drawer */
  .nav__mobile {
    display: block;
    top: 60px;
  }
  
  .hero {
    min-height: 500px;
  }

  .hero__title {
    font-size: clamp(2rem, 10vw, 3.5rem);
    margin-bottom: var(--spacing-md);
  }

  .hero__subtitle {
    font-size: clamp(0.95rem, 4vw, 1.1rem);
    margin-bottom: var(--spacing-xl);
  }

  .hero__actions {
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: flex-start;
  }

  .btn--hero-primary,
  .btn--hero-secondary {
    width: 100%;
    max-width: 280px;
  }
  
  .footer__content {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }

  .notification {
    top: var(--spacing-md);
    right: var(--spacing-md);
    left: var(--spacing-md);
    max-width: none;
    transform: translateY(calc(-100% - var(--spacing-xl)));
  }

  .notification--visible {
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  :root {
    --fs-hero-title: 2.5rem;
    --spacing-4xl: var(--spacing-2xl);
    --spacing-5xl: var(--spacing-3xl);
  }
  
  .hero__actions {
    flex-direction: row;
    align-items: center;
    gap: var(--spacing-xs);
    justify-content: flex-start;
  }
  
  .btn--hero-primary,
  .btn--hero-secondary {
    min-width: 90px;
    padding: var(--spacing-xs) var(--spacing-xs);
    font-size: 0.7rem;
    flex: 1;
    max-width: 120px;
  }

  /* Feature banner - mobile refinements */
  .feature-banner {
    padding-top: var(--spacing-2xl);
    padding-bottom: var(--spacing-2xl);
  }
  .feature-banner__inner {
    padding: var(--spacing-lg);
    gap: var(--spacing-lg);
    box-shadow: none;
    border-radius: var(--radius-lg);
  }
  .feature-banner__title {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
    margin-bottom: var(--spacing-sm);
  }
  .feature-banner__text {
    font-size: 0.95rem;
    margin-bottom: var(--spacing-lg);
  }
  .feature-banner__media {
    margin-left: calc(var(--container-padding) * -1);
    margin-right: calc(var(--container-padding) * -1);
    border-radius: var(--radius-md);
    overflow: hidden;
  }
  .feature-banner__slide { min-width: 85%; }
  .feature-banner__slide img { aspect-ratio: 4 / 5; object-position: center top; }
  .feature-banner__actions {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   MODERN BEST SELLER SECTION
   ======================================== */

.bestseller-section {
  padding-top: var(--spacing-5xl);
  padding-bottom: var(--spacing-5xl);
  background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 50%, #fafafa 100%);
  position: relative;
}

.bestseller-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0,0,0,0.02) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0,0,0,0.01) 0%, transparent 50%);
  pointer-events: none;
}

/* Modern Section Header */
.bestseller-header {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--spacing-4xl);
  margin-bottom: var(--spacing-4xl);
  align-items: center;
}

.bestseller-header__content {
  animation: slideInLeft 0.8s ease-out;
}

.bestseller-subtitle {
  font-size: var(--fs-body);
  color: var(--color-text-secondary);
  margin-top: var(--spacing-md);
  line-height: var(--lh-relaxed);
  max-width: 500px;
}

.bestseller-header__stats {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  animation: slideInRight 0.8s ease-out;
}

.bestseller-stat {
  text-align: center;
  padding: var(--spacing-lg);
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.bestseller-stat__number {
  font-size: 2rem;
  font-weight: var(--fw-black);
  color: var(--color-accent);
  display: block;
  margin-bottom: var(--spacing-xs);
}

.bestseller-stat__label {
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

/* Modern Product Grid */
.bestseller-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-4xl);
}

/* Clickable Product Cards */
.bestseller-card--link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.3s ease;
}

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

.bestseller-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(.6,.16,.2,1);
  position: relative;
  animation: cardFadeIn 0.6s ease-out forwards;
  opacity: 0;
}

.bestseller-card:nth-child(1) { animation-delay: 0.1s; }
.bestseller-card:nth-child(2) { animation-delay: 0.2s; }
.bestseller-card:nth-child(3) { animation-delay: 0.3s; }
.bestseller-card:nth-child(4) { animation-delay: 0.4s; }
.bestseller-card:nth-child(5) { animation-delay: 0.5s; }
.bestseller-card:nth-child(6) { animation-delay: 0.6s; }
.bestseller-card:nth-child(7) { animation-delay: 0.7s; }
.bestseller-card:nth-child(8) { animation-delay: 0.8s; }

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

.bestseller-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px);
}

/* Image Wrapper with Overlay */
.bestseller-card__image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.bestseller-card__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(.6,.16,.2,1);
}

.bestseller-card:hover .bestseller-card__image-wrapper img {
  transform: scale(1.1);
}

/* Product Badges */
.bestseller-card__badge {
  position: absolute;
  top: var(--spacing-md);
  left: var(--spacing-md);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-lg);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 3;
  backdrop-filter: blur(10px);
  animation: badgePop 0.5s ease-out;
}

@keyframes badgePop {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.bestseller-card__badge--bestseller {
  background: linear-gradient(135deg, #ff6b6b, #ee5a52);
  color: white;
}

.bestseller-card__badge--new {
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
  color: white;
}

.bestseller-card__badge--limited {
  background: linear-gradient(135deg, #ffd93d, #ffb142);
  color: #333;
}

.bestseller-card__badge--trending {
  background: linear-gradient(135deg, #a8e6cf, #52c234);
  color: white;
}

.bestseller-card__badge--premium {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
}

/* Quick View Button */
.bestseller-card__quick-view {
  position: absolute;
  bottom: var(--spacing-md);
  right: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-md);
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--color-text-primary);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(.6,.16,.2,1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 3;
}

.bestseller-card:hover .bestseller-card__quick-view {
  opacity: 1;
  transform: translateY(0);
}

.bestseller-card__quick-view i {
  font-size: 1rem;
}

/* Wishlist Button */
.bestseller-card__wishlist {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 3;
  cursor: pointer;
}

.bestseller-card__wishlist:hover {
  background: var(--color-accent);
  color: white;
  transform: scale(1.1);
}

.bestseller-card__wishlist.active {
  background: #e74c3c;
  color: white;
}

.bestseller-card__wishlist i {
  font-size: 1rem;
}

/* Heartbeat animation for wishlist */
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.1); }
  50% { transform: scale(1.2); }
  75% { transform: scale(1.1); }
}

/* Overlay for hover effects */
.bestseller-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.bestseller-card:hover .bestseller-card__overlay {
  opacity: 1;
}

/* Product Information */
.bestseller-card__info {
  padding: var(--spacing-lg);
  background: #ffffff;
}

.bestseller-card__category {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--spacing-sm);
}

.bestseller-card__name {
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
  transition: color 0.3s ease;
}

.bestseller-card:hover .bestseller-card__name {
  color: var(--color-accent);
}

/* Star Rating */
.bestseller-card__rating {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.stars {
  display: flex;
  gap: 2px;
}

.stars i {
  font-size: 0.9rem;
  color: #ffd700;
}

.rating-count {
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
  font-weight: var(--fw-medium);
}

/* Price Section */
.bestseller-card__price {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.current-price {
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  color: var(--color-accent);
}

.original-price {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.discount-badge {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: #e74c3c;
  background: rgba(231, 76, 60, 0.1);
  padding: 2px var(--spacing-xs);
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Call to Action */
.bestseller-cta {
  text-align: center;
  margin-top: var(--spacing-2xl);
}

.bestseller-cta__button {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s cubic-bezier(.6,.16,.2,1);
}

.bestseller-cta__button:hover {
  transform: translateX(5px);
}

.bestseller-cta__button i {
  transition: transform 0.3s ease;
}

.bestseller-cta__button:hover i {
  transform: translateX(3px);
}

/* Section Title */
.section__title--bestseller {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: var(--fw-black);
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-sm);
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-align: left;
}

/* Responsive Design for Best Seller Section */
@media (max-width: 1024px) {
  .bestseller-header {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    text-align: center;
  }

  .bestseller-header__stats {
    flex-direction: row;
    justify-content: center;
    gap: var(--spacing-xl);
  }

  .bestseller-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
  }
}

@media (max-width: 768px) {
  .bestseller-section {
    padding-top: var(--spacing-3xl);
    padding-bottom: var(--spacing-3xl);
  }

  .bestseller-header {
    margin-bottom: var(--spacing-3xl);
  }

  .bestseller-header__stats {
    gap: var(--spacing-md);
  }

  .bestseller-stat {
    padding: var(--spacing-md);
  }

  .bestseller-stat__number {
    font-size: 1.5rem;
  }

  .bestseller-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }

  .bestseller-card__info {
    padding: var(--spacing-md);
  }

  .section__title--bestseller {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    text-align: left;
  }

  .bestseller-subtitle {
    font-size: var(--fs-small);
  }
}

@media (max-width: 480px) {
  .bestseller-header {
    margin-bottom: var(--spacing-2xl);
  }

  .bestseller-header__stats {
    flex-direction: column;
    gap: var(--spacing-md);
  }

  .bestseller-stat {
    padding: var(--spacing-sm);
  }

  .bestseller-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .bestseller-card__info {
    padding: var(--spacing-md);
  }

  .bestseller-card__price {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-xs);
  }

  .bestseller-card__rating {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-xs);
  }

  .bestseller-card__quick-view {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: var(--fs-xs);
  }

  .bestseller-card__quick-view span {
    display: none;
  }

  .section__title--bestseller {
    font-size: clamp(1.5rem, 8vw, 2rem);
    text-align: left;
  }
}

/* ========================================
   QUICK VIEW MODAL
   ======================================== */

.quick-view-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

/* ========================================
   PRODUCT PAGE (CLEAN & MINIMAL)
   ======================================== */
.product-section { padding-top: var(--spacing-4xl); padding-bottom: var(--spacing-4xl); }
.breadcrumb { color: var(--color-text-secondary); font-size: var(--fs-small); margin-bottom: var(--spacing-xl); }
.breadcrumb a { color: inherit; }
.breadcrumb__sep { margin: 0 var(--spacing-xs); }
.product-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--spacing-3xl); align-items: start; }
.product-media img { width: 100%; border-radius: var(--radius-lg); display: block; background: #f3f4f6; }
.product-title { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800; letter-spacing: -0.01em; margin-bottom: var(--spacing-sm); }
.product-price { font-size: 1.5rem; font-weight: 700; margin-bottom: var(--spacing-lg); }
.product-description { color: var(--color-text-secondary); line-height: var(--lh-relaxed); margin-bottom: var(--spacing-2xl); }
.product-options { display: grid; gap: var(--spacing-lg); margin-bottom: var(--spacing-xl); }
.option-group { display: grid; gap: var(--spacing-sm); }
.option-label { font-weight: 600; font-size: var(--fs-small); text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-secondary); }
.option-values { display: flex; flex-wrap: wrap; gap: var(--spacing-sm); }
.option-values .opt { padding: 10px 14px; border: 1px solid var(--color-border); border-radius: var(--radius-md); cursor: pointer; background: #fff; font-size: var(--fs-small); }
.option-values .opt.active { border-color: #111; background: #111; color: #fff; }
.product-actions .btn { min-width: 180px; }
@media (max-width: 1024px) { .product-layout { grid-template-columns: 1fr; gap: var(--spacing-2xl); } }
@media (max-width: 480px) { .product-title { font-size: 1.5rem; } .product-price { font-size: 1.25rem; } }

.quick-view-modal.active {
  opacity: 1;
  visibility: visible;
}

.quick-view-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.quick-view-modal__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  transition: transform 0.3s ease;
}

.quick-view-modal.active .quick-view-modal__content {
  transform: translate(-50%, -50%) scale(1);
}

.quick-view-modal__close {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

.quick-view-modal__close:hover {
  background: var(--color-border-light);
  color: var(--color-text-primary);
}

.quick-view-modal__body {
  padding: var(--spacing-2xl);
}

.quick-view-modal__body h3 {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-md);
}

.quick-view-modal__body p {
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--spacing-lg);
}

.quick-view-modal__actions {
  display: flex;
  gap: var(--spacing-md);
  justify-content: flex-end;
}

@media (max-width: 480px) {
  .quick-view-modal__body {
    padding: var(--spacing-lg);
  }

  .quick-view-modal__actions {
    flex-direction: column;
  }

  .quick-view-modal__actions .btn {
    width: 100%;
  }
}

/* ========================================
   Simplified Best Seller Overrides
   ======================================== */
.bestseller-card {
  box-shadow: none !important;
  border: 1px solid #EEEEEE;
  border-radius: var(--radius-md);
  transition: none !important;
}
.bestseller-card:hover { transform: none !important; box-shadow: none !important; }
.bestseller-card__image-wrapper img { transition: none !important; }
.bestseller-card:hover .bestseller-card__image-wrapper img { transform: none !important; }
.bestseller-card__overlay,
.bestseller-card__badge,
.bestseller-card__quick-view,
.bestseller-card__wishlist,
.bestseller-card__category,
.bestseller-card__rating,
.stars,
.rating-count,
.original-price,
.discount-badge { display: none !important; }
.bestseller-card__info { text-align: left; }
.bestseller-card__name { font-size: 1rem; font-weight: 600; margin-bottom: var(--spacing-xs); }
.bestseller-card__price { font-size: 1rem; font-weight: 700; color: var(--color-text-primary); }

/* ========================================
   CATALOG PAGE CLEAN CONTROLS
   ======================================== */
.catalog__controls {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: var(--spacing-md);
  align-items: center;
  margin-bottom: var(--spacing-lg);
}

.catalog__controls .search-input,
.catalog__controls .catalog-filter,
.catalog__controls .catalog-sort {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 0.95rem;
  background: #fff;
}

.catalog__controls .search-input {
  box-shadow: var(--shadow-sm);
}

.catalog__controls .catalog-filter,
.catalog__controls .catalog-sort {
  min-width: 180px;
}

/* Product card compact spacing for catalog */
.products-grid .product-card__content {
  display: grid;
  gap: 6px;
}
.products-grid .product-card__title { margin-bottom: 0; font-size: 1rem; }
.products-grid .product-card__price { font-size: 0.95rem; }

@media (max-width: 768px) {
  .catalog__controls {
    grid-template-columns: 1fr;
  }
  .catalog__controls .catalog-filter,
  .catalog__controls .catalog-sort {
    min-width: 100%;
  }
}
