/* ========================================
   SWIPER ZOOM CONTAINER - FIXED STYLES
   ======================================== */
/* ========================================
   COPY AND PASTE THIS AT THE TOP OF YOUR CSS FILE
   This will fix the product image display issue
   ======================================== */

/* Main Swiper Container - Give it a height */
.product-detail-swiper {
  height: 500px !important;
  width: 100%;
  background: var(--theme-bg-secondary, #f8f9fa);
  border-radius: 16px;
}

body.dark-mode .product-detail-swiper {
  background: var(--theme-bg-secondary, #1a1a1a);
}

/* Swiper Slides - Must have height */
.product-detail-swiper .swiper-slide {
  height: 500px !important;
  width: 100%;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Zoom Container - Must be flex with full dimensions */
.swiper-zoom-container {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  cursor: zoom-in;
}

/* Images Inside Zoom Container - THE CRITICAL FIX */
.swiper-zoom-container img {
  max-width: 90% !important;
  max-height: 90% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  margin: auto;
}

/* Override any conflicting image styles */
.product-detail-swiper .swiper-slide img,
.product-detail-img {
  height: auto !important;
}

/* Responsive - Tablet */
@media (max-width: 768px) {
  .product-detail-swiper,
  .product-detail-swiper .swiper-slide {
    height: 400px !important;
  }
}

/* Responsive - Mobile */
@media (max-width: 576px) {
  .product-detail-swiper,
  .product-detail-swiper .swiper-slide {
    height: 300px !important;
  }
}

/* Responsive - Small Mobile */
@media (max-width: 400px) {
  .product-detail-swiper,
  .product-detail-swiper .swiper-slide {
    height: 250px !important;
  }
}
/* Fix for swiper-slide to have proper height */
.product-detail-swiper .swiper-slide {
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--theme-bg-primary, #fff);
}

body.dark-mode .product-detail-swiper .swiper-slide {
  background: var(--theme-bg-primary, #1a1a1a);
}

/* Swiper Zoom Container - Global Styles */
.swiper-zoom-container {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  cursor: zoom-in;
  position: relative;
  background: transparent;
  overflow: hidden;
}

.swiper-zoom-container.swiper-zoom-container-zoomed {
  cursor: zoom-out;
}

/* CRITICAL: Style for images inside zoom container */
.swiper-zoom-container img,
.swiper-zoom-container .product-detail-img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto;
}

/* Remove any conflicting height from product-detail-img */
.product-detail-swiper .product-detail-img {
  height: auto !important;
}

/* Dark mode support */
body.dark-mode .swiper-zoom-container {
  background: transparent;
}

/* Responsive breakpoints for swiper slides */
@media (max-width: 1200px) {
  .product-detail-swiper .swiper-slide {
    height: 450px;
  }
}

@media (max-width: 991px) {
  .product-detail-swiper .swiper-slide {
    height: 450px;
  }
}

@media (max-width: 768px) {
  .product-detail-swiper .swiper-slide {
    height: 400px;
  }
}

@media (max-width: 576px) {
  .product-detail-swiper .swiper-slide {
    height: 300px;
  }
}

@media (max-width: 400px) {
  .product-detail-swiper .swiper-slide {
    height: 250px;
  }
}
/* Products Grid/List View Toggle Styles */
.products-grid.grid-view {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem 1.5rem;
}
.products-grid.list-view {
  display: flex;
  flex-direction: column;
  gap: 1.5rem 0;
}
.products-grid.list-view .product-card-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
/* Products Header Right Controls */
.products-header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.view-controls {
  display: flex;
  gap: 0.5rem;
  background: var(--theme-bg-secondary, #fff);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 0.25rem 0.5rem;
}
.view-btn {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 1.2rem;
  color: var(--theme-text, #222);
  transition: background 0.2s, box-shadow 0.2s;
}
.view-btn.active {
  background: var(--mnory-accent, #007aff);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,122,255,0.12);
}
.per-page-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--theme-bg-secondary, #fff);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 0.25rem 0.5rem;
}
.per-page-select {
  border-radius: 6px;
  border: 1px solid var(--theme-border, #e0e0e0);
  padding: 0.25rem 0.5rem;
  font-size: 1rem;
  background: var(--theme-bg, #fff);
  color: var(--theme-text, #222);
  transition: border-color 0.2s;
}
.filters-open-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 0.5rem;
  background: var(--theme-bg-secondary, #fff);
  color: var(--mnory-accent, #007aff);
  transition: background 0.2s, box-shadow 0.2s;
}
.filters-open-mobile:hover {
  background: var(--mnory-accent, #007aff);
  color: #fff;
}
/* Pagination Styling */
.pagination-wrapper {
  margin-top: 2rem;
}
.pagination {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 0;
  background: var(--theme-bg-secondary, #fff);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s, background 0.2s;
}
.page-item {
  transition: box-shadow 0.2s, background 0.2s;
}
.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  background: none;
  color: var(--theme-text, #222);
  font-size: 1rem;
  border: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.page-item.active .page-link,
.page-link:hover {
  background: var(--mnory-accent, #007aff);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,122,255,0.12);
}
.category-tabs-nav .tab-icon,
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s cubic-bezier(.25,.8,.25,1), transform 0.3s cubic-bezier(.25,.8,.25,1);
  background: var(--theme-bg-secondary, #fff);
  border-radius: 18px;
}
.category-tabs-nav .tab-icon:hover,
.category-tabs-nav .tab-icon:focus,
.tab-image-container:hover,
.tab-image-container:focus {
  box-shadow: 0 8px 24px rgba(0,0,0,0.16);
  transform: translateY(-2px) scale(1.04);
  z-index: 2;
}
/* Category Tab Icon/Image Styles */
.category-tabs-nav .tab-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 140px;
  max-width: 140px;
  margin: 0 8px;
  padding: 0;
  box-sizing: border-box;
}
.tab-image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 140px;
  margin: 0 auto;
}
.tab-image {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  background: #f8f8f8;
  display: block;
}
/* Tab label for both light and dark mode */
.tab-image-label,
.tab-label {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: #000;
  text-align: center;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 110px;
  transition: color 0.2s;
}
body.dark-mode .tab-image-label,
body.dark-mode .tab-label {
  color: #fff;
}
.category-tabs-nav .material-icons {
  font-size: 72px;
  color: #bdbdbd;
  margin-bottom: 0;
  margin-top: 8px;
  display: block;
  text-align: center;
}
@media (max-width: 768px) {
  .category-tabs-nav .tab-icon,
  .tab-image-container {
    min-width: 80px;
    max-width: 90px;
    height: 100px;
  }
  .tab-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
  }
  .tab-image-label,
  .tab-label {
    font-size: 0.85rem;
    max-width: 70px;
  }
  .category-tabs-nav .material-icons {
    font-size: 48px;
  }
}
@media (max-width: 480px) {
  .category-tabs-nav .tab-icon,
  .tab-image-container {
    min-width: 60px;
    max-width: 70px;
    height: 80px;
  }
  .tab-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
  }
  .tab-image-label,
  .tab-label {
    font-size: 0.75rem;
    max-width: 50px;
  }
  .category-tabs-nav .material-icons {
    font-size: 32px;
  }
}
/* Category Tab Image Styles */
.tab-image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 140px;
  margin: 0 auto;
}
.tab-image {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  background: #f8f8f8;
  display: block;
}
.tab-image-label {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary, #222);
  text-align: center;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 110px;
}
/* Category Detail Image Responsive */
.category-detail-image {
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  background: #f8f8f8;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  display: block;
  margin: 0 auto 2rem auto;
  transition: box-shadow 0.2s;
}
/* Category Tab Image Responsive */
.tab-image {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 12px;
  background: #f8f8f8;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: inline-block;
  vertical-align: middle;
  transition: box-shadow 0.2s;
}

.category-tab-btn.active .tab-image {
  box-shadow: 0 4px 16px rgba(0,0,0,0.16);
}
/* ========================================
   PRODUCT CARD HEIGHT & RESPONSIVE STYLES
======================================== */
.fixed-card-height {
  min-height: 690px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--theme-bg-primary, #fff);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
}

.product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--theme-bg-primary, #fff);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
  padding: 1.2rem 1rem;
  min-height: 690px;
}

.product-card .product-image-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem;
}

.product-card .product-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

@media (max-width: 1200px) {
  .fixed-card-height,
  .product-card {
    min-height: 540px;
    padding: 1rem 0.75rem;
  }
  .product-card .product-img {
    max-width: 260px;
  }
}

@media (max-width: 992px) {
  .fixed-card-height,
  .product-card {
    min-height: 440px;
    padding: 0.75rem 0.5rem;
  }
  .product-card .product-img {
    max-width: 200px;
  }
}

@media (max-width: 768px) {
  .fixed-card-height,
  .product-card {
    min-height: 340px;
    padding: 0.5rem 0.25rem;
  }
  .product-card .product-img {
    max-width: 140px;
  }
  .product-card .product-title {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .fixed-card-height,
  .product-card {
    min-height: 220px;
    padding: 0.25rem 0.1rem;
  }
  .product-card .product-img {
    max-width: 90px;
  }
  .product-card .product-title {
    font-size: 0.9rem;
  }
}
/* ========================================
   Mnory Supplemental Styles - style.css
   Purpose: Theme-aware page styles with dark/light mode support
   ========================================
   Features:
   - Full dark/light theme support
   - Animations and transitions
   - Box shadows and elevation
   - Component-specific styles from templates
======================================== */

/* ========================================
   CSS VARIABLES - Theme Support
======================================== */
:root {
  /* Brand colors */
  --mnory-accent: var(--accent-color, #007aff);
  --mnory-accent-2: #000;

  /* RGB values for transparency usage */
  --mnory-accent-rgb: 0, 122, 255;
  --theme-text-rgb: 44, 62, 80;
  --white: #ffffff;

  /* Gradient colors - Black theme with blue accents */
  --gradient-start: #007aff;
  --gradient-middle: #000;
  --gradient-end: #1a1a1a;

  /* Light theme (default) */
  --theme-bg: #ffffff;
  --theme-bg-secondary: #f8f9fa;
  --theme-bg-tertiary: #e0e0e0;
  --theme-text: #2c3e50;
  --theme-text-muted: #6c757d;
  --theme-border: rgba(0, 0, 0, 0.1);
  --theme-shadow: rgba(0, 0, 0, 0.1);
  --theme-card-bg: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,248,248,0.98));
  --theme-input-bg: #ffffff;
  --theme-input-border: #dee2e6;
}

/* Dark theme overrides */
body.dark-mode {
  --mnory-accent-2: #fff;
  --theme-bg: #1a1a1a;
  --theme-bg-secondary: #2d2d2d;
  --theme-bg-tertiary: #3a3a3a;
  --theme-text: #e0e0e0;
  --theme-text-muted: #a0a0a0;
  --theme-border: rgba(255, 255, 255, 0.1);
  --theme-shadow: rgba(0, 0, 0, 0.5);

  /* Dark mode RGB values */
  --theme-text-rgb: 224, 224, 224;
  --theme-card-bg: linear-gradient(180deg, rgba(30,30,30,0.98), rgba(20,20,20,0.98));
  --theme-input-bg: #2d2d2d;
  --theme-input-border: #4a4a4a;

  /* Invert primary color for better visibility */
  --mnory-accent: #409fff;
  --primary-color: #ffffff;
}

/* Apply theme to common elements */
.card,
.product-card,
.modal-content,
.dropdown-menu,
.navbar,
.form-control,
.form-select,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea {
  background-color: var(--theme-bg-secondary) !important;
  color: var(--theme-text) !important;
  border-color: var(--theme-border) !important;
}

.modal-header,
.modal-footer {
  border-color: var(--theme-border) !important;
}

body.dark-mode .product-card {
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.05);
}

body.dark-mode .product-card:hover {
  box-shadow: 0 12px 24px rgba(255, 255, 255, 0.1);
}

/* ========================================
   PRODUCT DETAIL PAGE - DARK MODE SUPPORT
======================================== */

/* Text colors - theme aware */
.text-dark {
  color: var(--theme-text) !important;
}

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

/* Product detail specific elements */
.product-meta p a {
  color: var(--theme-text) !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.product-meta p a:hover {
  color: var(--mnory-accent) !important;
}

/* Color and size selection buttons */
.color-select,
.size-select {
  background-color: var(--theme-bg-secondary) !important;
  color: var(--theme-text) !important;
  border: 1px solid var(--theme-border) !important;
  transition: all 0.3s ease;
}

.color-select:hover,
.size-select:hover {
  background-color: var(--theme-bg-tertiary) !important;
  border-color: var(--mnory-accent) !important;
}

.color-select.active,
.size-select.active {
  background-color: var(--mnory-accent) !important;
  color: #ffffff !important;
  border-color: var(--mnory-accent) !important;
  font-weight: 600;
}

/* Buttons - outline variants */
.btn-outline-dark {
  color: var(--theme-text) !important;
  border-color: var(--theme-border) !important;
  background-color: transparent;
}

.btn-outline-dark:hover {
  color: #ffffff !important;
  background-color: var(--mnory-accent) !important;
  border-color: var(--mnory-accent) !important;
}

/* Table styling for size charts */
.table {
  color: var(--theme-text) !important;
  border-color: var(--theme-border) !important;
}

.table-bordered,
.table-bordered th,
.table-bordered td {
  border-color: var(--theme-border) !important;
}

body.dark-mode .table-light {
  background-color: var(--theme-bg-tertiary) !important;
  color: var(--theme-text) !important;
}

/* Price display */
.price {
  color: var(--theme-text) !important;
}

/* Quantity display */
#quantity-display {
  color: var(--theme-text) !important;
  min-width: 24px;
  text-align: center;
  display: inline-block;
}

/* Swiper navigation buttons */
.swiper-button-next,
.swiper-button-prev {
  color: var(--theme-text) !important;
}

body.dark-mode .swiper-button-next:after,
body.dark-mode .swiper-button-prev:after {
  opacity: 0.8;
}

.swiper-pagination-bullet {
  background-color: var(--theme-text-muted) !important;
}

.swiper-pagination-bullet-active {
  background-color: var(--mnory-accent) !important;
}

/* Section headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--theme-text) !important;
}

/* Lead text */
.lead {
  color: var(--theme-text-muted) !important;
}

/* Toast notifications - dark mode specific */
body.dark-mode .toast {
  background-color: var(--theme-bg-secondary) !important;
  border: 1px solid var(--theme-border) !important;
}

body.dark-mode .toast-body {
  color: var(--theme-text) !important;
}

/* Image zoom overlay - removed duplicate */

/* Related products section */
body.dark-mode .section-header h3 {
  color: var(--theme-text) !important;
}

/* Fix hardcoded inline styles in dark mode */
body.dark-mode [style*="color: #000"],
body.dark-mode [style*="color:#000"] {
  color: var(--theme-text) !important;
}

body.dark-mode [style*="background: transparent"],
body.dark-mode [style*="background-color: transparent"] {
  background-color: transparent !important;
}

/* Social share buttons - preserve brand colors */
body.dark-mode .btn-primary[style*="background-color: #3b5998"],
body.dark-mode .btn[style*="background: radial-gradient"],
body.dark-mode .btn[style*="background-color: #000"] {
  /* Keep original brand styling for social media buttons in dark mode */
  filter: brightness(1.1);
}

/* Form elements in product detail */
input[type="hidden"] + button,
.d-inline-flex.border.rounded {
  background-color: var(--theme-bg-secondary) !important;
  border-color: var(--theme-border) !important;
}

/* Badge colors */
.badge {
  background-color: var(--theme-bg-tertiary) !important;
  color: var(--theme-text) !important;
}

.badge.bg-danger {
  background-color: #dc3545 !important;
  color: #ffffff !important;
}

.badge.bg-success {
  background-color: #198754 !important;
  color: #ffffff !important;
}

/* ========================================
   CRITICAL INLINE STYLES FROM base.html
======================================== */

/* Import IBM Plex Sans Font */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');

/* Import IBM Plex Sans Arabic Font */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@100;200;300;400;500;600;700&display=swap');

html {
  font-size: 16px;
}

body {
  font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', 'alarabiya', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background-color: var(--theme-bg);
  color: var(--theme-text);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* IBM Plex Sans Arabic Font Weight Classes */
.ibm-plex-sans-arabic-thin {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.ibm-plex-sans-arabic-extralight {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.ibm-plex-sans-arabic-light {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.ibm-plex-sans-arabic-regular {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.ibm-plex-sans-arabic-medium {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.ibm-plex-sans-arabic-semibold {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.ibm-plex-sans-arabic-bold {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-weight: 700;
  font-style: normal;
}

/* Smooth theme transition for all themed elements */
body.theme-transition-active,
body.theme-transition-active * {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease !important;
}

.no-js .js-only {
  display: none !important;
}

.loader-icon {
  font-size: 2.5rem;
  color: #007aff;
  animation: spin 1.2s linear infinite;
  transition: color 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 12px rgba(0,122,255,0.18);
  border-radius: 50%;
  padding: 0.25em;
}
.loading-spinner {
  border: 4px solid var(--loader-primary);
  border-top: 4px solid #007aff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  box-shadow: 0 2px 12px rgba(0,122,255,0.12);
  transition: border-color 0.3s, box-shadow 0.3s;
}
/* Critical Layout Styles */
.container-fluid {
  padding-left: 15px;
  padding-right: 15px;
}

.navbar {
  transition: all 0.3s ease;
  font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', sans-serif;
}

/* Navbar Home Transparent State with Gradient */
.navbar-nav1.home-transparent {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-middle) 50%, var(--gradient-end) 100%) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Navbar Scrolled State */
.navbar-nav1.scrolled {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-middle) 50%, var(--gradient-end) 100%) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

/* Loading Animation */
@keyframes mnory-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.mnory-loading {
  animation: mnory-pulse 1.5s ease-in-out infinite;
}

/* Accordion Styles */
.accordion-button:not(.collapsed) {
  color: #ffffff !important;
  background-color: #000000 !important;
  box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 #e0e0e0 !important;
}

/* Back to Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  font-size: 18px;
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

/* Skip to Content Link */
.skip-to-content {
  position: absolute;
  left: -9999px;
  z-index: 9999;
  padding: 8px 16px;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 4px;
}

.skip-to-content:focus {
  left: 6px;
  top: 6px;
}

/* Loading States */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(224, 224, 224, 0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

/* ========================================
   LOADER STYLES FROM _loader.html
======================================== */
#page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Dark Theme Loader */
body.dark-mode #page-loader {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #404040 100%);
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  animation: loaderFadeIn 0.8s ease-out;
}

.loader-logo-container {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-logo {
  width: 100px;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.6s ease;
  animation: logoFloat 2s ease-in-out infinite;
}

/* Theme-specific logo visibility */
.light-theme-logo {
  opacity: 1;
  visibility: visible;
}

.dark-theme-logo {
  opacity: 0;
  visibility: hidden;
}

body.dark-mode .light-theme-logo {
  opacity: 0;
  visibility: hidden;
}

body.dark-mode .dark-theme-logo {
  opacity: 1;
  visibility: visible;
}

/* Spinner Animation */
.loader-spinner {
  position: relative;
  width: 80px;
  height: 80px;
}

.spinner-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-radius: 50%;
  animation: spinRing 1.5s linear infinite;
}

.spinner-ring:nth-child(1) {
  border-top-color: var(--mnory-accent, #007aff);
  animation-delay: 0s;
}

.spinner-ring:nth-child(2) {
  border-right-color: var(--secondary-color, #A48111);
  animation-delay: -0.5s;
  width: 70%;
  height: 70%;
  top: 15%;
  left: 15%;
}

.spinner-ring:nth-child(3) {
  border-bottom-color: var(--mnory-accent, #007aff);
  animation-delay: -1s;
  width: 40%;
  height: 40%;
  top: 30%;
  left: 30%;
}

/* Loading Text */
.loader-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary, #333);
  letter-spacing: 1px;
}

body.dark-mode .loader-text {
  color: var(--text-primary-dark, #ffffff);
}

.loading-text {
  animation: textPulse 2s ease-in-out infinite;
}

.loading-dots {
  display: flex;
  gap: 2px;
}

.dot {
  width: 6px;
  height: 6px;
  background: var(--mnory-accent, #007aff);
  border-radius: 50%;
  animation: dotBounce 1.4s ease-in-out infinite both;
}

.dot:nth-child(1) { animation-delay: -0.32s; }
.dot:nth-child(2) { animation-delay: -0.16s; }
.dot:nth-child(3) { animation-delay: 0s; }

/* Hide Loader */
#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.9);
}

/* Animations */
@keyframes loaderFadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logoFloat {
  0%, 100% {
    transform: translate(-50%, -50%) translateY(0px);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-10px);
  }
}

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

@keyframes textPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

@keyframes dotBounce {
  0%, 80%, 100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .loader-logo {
    width: 80px;
  }

  .loader-spinner {
    width: 60px;
    height: 60px;
  }

  .loader-text {
    font-size: 16px;
  }
}

/* ========================================
   FOOTER STYLES - THEME AWARE & RESPONSIVE
======================================== */
footer.footer {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-middle) 50%, var(--gradient-end) 100%);
  color: #ffffff;
  font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', sans-serif;
  box-shadow: 0 -4px 12px var(--theme-shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Footer text elements - white in both themes */
footer.footer *,
footer.footer h6,
footer.footer p,
footer.footer a,
footer.footer li {
  color: #ffffff !important;
}

footer.footer a:hover {
  color: var(--mnory-accent) !important;
}

.footer .logo {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: 4px;
  color: #ffffff !important;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.footer .logo:hover {
  transform: scale(1.05);
  color: var(--mnory-accent) !important;
}

.footer .logo-mnory {
  max-width: 180px;
  height: auto;
  transition: all 0.3s ease;
  filter: brightness(1);
}

body.dark-mode .footer .logo-mnory {
  filter: brightness(1.2);
}

.footer .logo-mnory:hover {
  transform: scale(1.05);
  filter: brightness(1.3);
}

footer h6 {
  color: var(--theme-text);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
  font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', sans-serif;
}

footer h6::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--mnory-accent);
  transition: width 0.3s ease;
}

footer h6:hover::after {
  width: 60px;
}

footer p,
footer a,
footer li {
  color: var(--theme-text);
  font-size: 0.95rem;
  line-height: 1.8;
  transition: all 0.3s ease;
}

footer a {
  text-decoration: none;
  position: relative;
  display: inline-block;
}

footer a:hover {
  color: var(--mnory-accent) !important;
  padding-left: 0.5rem;
  transform: translateX(5px);
}

footer a i {
  transition: all 0.3s ease;
  margin-right: 0.5rem;
}

footer a:hover i {
  color: var(--mnory-accent);
  transform: scale(1.2);
}

.footer hr {
  border-color: var(--theme-border);
  opacity: 0.3;
  margin: 2rem 0;
}

/* Social Icons - Enhanced */
.social-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.social-icons a {
  font-size: 1.5rem;
  color: #ffffff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

/* Social icons theme adjustments */
body:not(.dark-mode) .social-icons a {
  color: #2c3e50;
  background-color: rgba(44, 62, 80, 0.1);
  border-color: rgba(44, 62, 80, 0.25);
}

body:not(.dark-mode) .social-icons a:hover {
  color: #ffffff !important;
  background-color: var(--mnory-accent);
  border-color: var(--mnory-accent);
}

body.dark-mode .social-icons a {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.social-icons a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--mnory-accent);
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
  z-index: -1;
}

.social-icons a:hover {
  color: #ffffff !important;
  transform: translateY(-5px) scale(1.1);
  border-color: var(--mnory-accent);
  box-shadow: 0 8px 20px rgba(0, 122, 255, 0.4);
}

body:not(.dark-mode) .social-icons a:hover {
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(0, 122, 255, 0.3);
}

.social-icons a:hover::before {
  width: 100%;
  height: 100%;
}

/* Specific social media colors on hover */
.social-icons a[href*="facebook"]:hover {
  background-color: #3b5998;
  border-color: #3b5998;
}

.social-icons a[href*="instagram"]:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: #d6249f;
}

.social-icons a[href*="tiktok"]:hover {
  background-color: #000000;
  border-color: #00f2ea;
}

/* Payment Icons - Responsive */
.payment-icons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.payment-icons img {
  height: 35px;
  width: auto;
  transition: all 0.3s ease;
  filter: grayscale(0.3);
  border-radius: 4px;
  padding: 5px;
  background-color: var(--theme-bg-secondary);
}

.payment-icons img:hover {
  filter: grayscale(0);
  transform: scale(1.1);
  box-shadow: 0 4px 12px var(--theme-shadow);
}

body.dark-mode .payment-icons img {
  filter: brightness(1.2) grayscale(0.2);
}

/* Scroll to Top Button - Theme Aware */
.btn-scroll-top {
  border: none;
  padding: 0.75rem 0.85rem;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-middle));
  color: #ffffff;
  box-shadow: 0 4px 12px var(--theme-shadow);
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-scroll-top:hover {
  background: linear-gradient(135deg, var(--gradient-middle), var(--gradient-end));
  color: #ffffff;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 122, 255, 0.5);
  border-color: var(--mnory-accent);
}

.btn-scroll-top i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.btn-scroll-top:hover i {
  transform: translateY(-3px);
}

/* Copyright Text */
.text-white-50 {
  color: var(--theme-text-muted) !important;
  font-size: 0.9rem;
}

/* Responsive Footer Styles */
@media (max-width: 768px) {
  footer.footer {
    padding: 2rem 0 !important;
  }

  .footer .logo {
    font-size: 1.8rem;
    letter-spacing: 2px;
  }

  .footer .logo-mnory {
    max-width: 150px;
  }

  footer h6 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
  }

  footer p,
  footer a,
  footer li {
    font-size: 0.85rem;
  }

  .social-icons a {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }

  .payment-icons img {
    height: 28px;
  }

  .btn-scroll-top {
    width: 45px;
    height: 45px;
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .footer hr {
    margin: 1.5rem 0;
  }
}

@media (max-width: 576px) {
  .footer .row {
    text-align: center !important;
  }

  footer h6::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .social-icons {
    justify-content: center;
  }

  .payment-icons {
    justify-content: center;
  }

  .footer .d-flex.flex-column.flex-md-row {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
  }

  .payment-icons.mb-3.mb-md-0 {
    margin-bottom: 1rem !important;
  }
}

/* Logo responsive sizing */
.logo-mnory {
  width: 150px;
  max-width: 100%;
  height: auto;
}

@media (max-width: 576px) {
  .logo-mnory {
    width: 130px !important;
  }
}

/* ========================================
   WHATSAPP WIDGET FROM _whatsapp.html
======================================== */
#whatsappBtn {
  bottom: 80px;
  left: 20px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 50%;
  box-shadow:
    0 8px 32px rgba(37, 211, 102, 0.25),
    0 4px 16px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
  position: fixed;
  text-decoration: none !important;
  border: 2px solid rgba(37, 211, 102, 0.2);
  backdrop-filter: blur(10px);
  animation: whatsappPulse 3s ease-in-out infinite;
}

#whatsappBtn::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

#whatsappBtn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow:
    0 16px 48px rgba(37, 211, 102, 0.4),
    0 8px 24px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
  border-color: rgba(37, 211, 102, 0.4);
}

#whatsappBtn:hover::before {
  opacity: 0.1;
  transform: scale(1);
}

#whatsappBtn:active {
  transform: translateY(-2px) scale(1.02);
}

#whatsappIcon {
  font-size: 28px;
  color: #25D366 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-shadow: 0 2px 4px rgba(37, 211, 102, 0.2);
}

#whatsappBtn:hover #whatsappIcon {
  color: #128C7E !important;
  transform: scale(1.1) rotate(15deg);
  text-shadow: 0 4px 8px rgba(18, 140, 126, 0.3);
}

/* Dark Theme Support */
body.dark-mode #whatsappBtn {
  background: linear-gradient(135deg, rgba(40, 40, 40, 0.95) 0%, rgba(60, 60, 60, 0.9) 100%);
  border-color: rgba(37, 211, 102, 0.3);
  box-shadow:
    0 8px 32px rgba(37, 211, 102, 0.3),
    0 4px 16px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

body.dark-mode #whatsappBtn:hover {
  background: linear-gradient(135deg, rgba(50, 50, 50, 0.95) 0%, rgba(70, 70, 70, 0.9) 100%);
  box-shadow:
    0 16px 48px rgba(37, 211, 102, 0.5),
    0 8px 24px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

body.dark-mode #whatsappIcon {
  color: #25D366 !important;
  text-shadow: 0 2px 4px rgba(37, 211, 102, 0.4);
}

body.dark-mode #whatsappBtn:hover #whatsappIcon {
  color: #2EE86F !important;
  text-shadow: 0 4px 8px rgba(46, 232, 111, 0.4);
}

/* Pulse Animation */
@keyframes whatsappPulse {
  0%, 70%, 100% {
    box-shadow:
      0 8px 32px rgba(37, 211, 102, 0.25),
      0 4px 16px rgba(0, 0, 0, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.8);
  }
  35% {
    box-shadow:
      0 12px 40px rgba(37, 211, 102, 0.35),
      0 6px 20px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }
}

/* Focus and Active States */
#whatsappBtn:focus,
#whatsappBtn:active,
#whatsappBtn i {
  outline: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
  border: none !important;
}

#whatsappBtn:focus {
  box-shadow:
    0 8px 32px rgba(37, 211, 102, 0.4),
    0 4px 16px rgba(0, 0, 0, 0.2),
    0 0 0 3px rgba(37, 211, 102, 0.3) !important;
}

/* ========================================
   TOAST CONTAINER FROM _toast.html
======================================== */
#toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

/* ========================================
   GLOBAL THEME APPLICATION
======================================== */
html, body {
  height: 100%;
  background: var(--theme-bg);
  color: var(--theme-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition-normal) var(--transition-ease),
              color var(--transition-normal) var(--transition-ease);
}

/* ========================================
   HEADER & NAVIGATION
======================================== */
.site-header {
  background: var(--theme-bg);
  border-bottom: 1px solid var(--theme-border);
  transition: all var(--transition-normal) var(--transition-ease);
}

.site-header .brand {
  font-weight: 700;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  color: var(--theme-text);
}

.promo-banner {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-middle) 50% 50%, var(--gradient-end) 100%);;
  color: #fff;
  border-bottom: 1px solid var(--theme-border);
  padding: 0.5rem 0;
  transition: all var(--transition-normal) var(--transition-ease);
}

.promo-item {
  color: #fff;
  transition: color var(--transition-fast);
}

.promo-item:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Promo banner icons */
.promo-item .material-icons {
  color: #fff;
  font-size: 22px;
  vertical-align: middle;
  margin-right: 4px;
}

.promo-item .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fff;
}

.promo-item a {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.promo-item a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Navigation icons */
.nav-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--theme-text);
  transition: all var(--transition-fast) var(--transition-ease);
  border-radius: var(--radius-sm);
}

.nav-icon:hover {
  background: var(--theme-bg-secondary);
  color: var(--mnory-accent);
  transform: translateY(-2px);
}

.nav-icon .badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--mnory-accent);
  color: #fff;
  font-size: 0.65rem;
  padding: 0.2rem 0.4rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

/* Theme Toggle Button Icons */
.theme-toggle-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.theme-toggle-btn .theme-icon-light,
.theme-toggle-btn .theme-icon-dark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1.2rem;
  pointer-events: none;
}

/* Search components */
.search-container {
  background: var(--theme-input-bg);
  border: 1px solid var(--theme-input-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal) var(--transition-ease);
}

.search-container:focus-within {
  border-color: var(--mnory-accent);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.search-input {
  background: transparent;
  color: var(--theme-text);
  border: none;
}

.search-input::placeholder {
  color: var(--theme-text-muted);
}

.search-btn,
.search-clear-btn,
.search-toggle-btn,
.search-modal-trigger {
  background: transparent;
  color: var(--theme-text);
  border: none;
  transition: all var(--transition-fast);
}

.search-btn:hover,
.search-clear-btn:hover,
.search-toggle-btn:hover,
.search-modal-trigger:hover {
  color: var(--mnory-accent);
  transform: scale(1.1);
}

/* Categories button */
.categories-btn {
  background: var(--mnory-accent);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: all var(--transition-fast) var(--transition-ease);
  box-shadow: var(--shadow-sm);
}

.categories-btn:hover {
  background: var(--mnory-accent-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ========================================
   PRODUCT CARDS - ENHANCED
======================================== */
.product-card {
  background: var(--theme-card-bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--theme-border);
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 122, 255, 0.15);
  border-color: rgba(0, 122, 255, 0.3);
}

body.dark-mode .product-card {
  background: var(--theme-bg-secondary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

body.dark-mode .product-card:hover {
  box-shadow: 0 12px 32px rgba(0, 122, 255, 0.25);
}

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

/* Product Image Wrapper */
.product-image-wrapper {
  position: relative;
  overflow: hidden;
  background: #f8f9fa;
  aspect-ratio: 1/1;
  flex-shrink: 0;
}

body.dark-mode .product-image-wrapper {
  background: rgba(255, 255, 255, 0.03);
}

.product-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-img.main-img {
  position: relative;
  z-index: 1;
}

.product-img.hover-img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  opacity: 0;
  transform: scale(1.1);
}

.product-card:hover .product-img.hover-img {
  opacity: 1;
  transform: scale(1);
}

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

/* Stock Indicator */
.stock-indicator {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(255, 59, 48, 0.95);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 3;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: pulse 2s infinite;
}

.stock-indicator .material-icons {
  font-size: 16px;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* Quick Action Buttons */
.product-quick-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease;
  z-index: 10;
}

.product-card:hover .product-quick-actions {
  opacity: 1;
  transform: translateX(0);
}

.action-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: var(--theme-text);
}

body.dark-mode .action-btn {
  background: rgba(40, 40, 40, 0.95);
  color: var(--theme-text);
}

.action-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.action-btn .material-icons {
  font-size: 20px;
  transition: all 0.3s ease;
}

.wishlist-btn.active {
  background: linear-gradient(135deg, #ff3b30 0%, #d62d20 100%);
  color: white;
}

.wishlist-btn:hover {
  background: linear-gradient(135deg, #ff3b30 0%, #d62d20 100%);
  color: white;
}

.cart-btn:hover {
  background: var(--mnory-accent);
  color: white;
}

.view-btn:hover {
  background: linear-gradient(135deg, #34c759 0%, #2fb04c 100%);
  color: white;
}

/* Product Content */
.product-content {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  min-height: 2.4em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-title-link {
  color: var(--theme-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.product-title-link:hover {
  color: var(--mnory-accent);
}

/* Colors Preview */
.product-colors-preview {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
}

.colors-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--theme-text-secondary);
  font-weight: 500;
}

.colors-label .material-icons {
  font-size: 14px;
}

.color-swatches {
  display: flex;
  align-items: center;
  gap: 4px;
}

.color-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), inset 0 1px 2px rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.color-dot:hover {
  transform: scale(1.2);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

body.dark-mode .color-dot {
  border-color: rgba(255, 255, 255, 0.2);
}

.more-colors {
  font-size: 0.7rem;
  color: var(--mnory-accent);
  font-weight: 600;
  background: rgba(0, 122, 255, 0.1);
  padding: 2px 6px;
  border-radius: 10px;
}

/* Sizes Preview */
.product-sizes-preview {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
}

.sizes-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--theme-text-secondary);
  font-weight: 500;
}

.sizes-label .material-icons {
  font-size: 14px;
}

.size-tags {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.size-tag {
  padding: 2px 8px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--theme-text);
  transition: all 0.3s ease;
}

.size-tag:hover {
  background: var(--mnory-accent);
  color: white;
  border-color: var(--mnory-accent);
  transform: translateY(-2px);
}

body.dark-mode .size-tag {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.more-sizes {
  font-size: 0.7rem;
  color: var(--mnory-accent);
  font-weight: 600;
  background: rgba(0, 122, 255, 0.1);
  padding: 2px 6px;
  border-radius: 10px;
}

/* Product Rating */
.product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.product-rating .stars {
  display: flex;
  gap: 2px;
}

.product-rating .star {
  font-size: 16px;
  color: #ddd;
}

.product-rating .star.filled {
  color: #ffa000;
}

.rating-text {
  font-weight: 600;
  color: var(--theme-text);
}

.rating-count {
  color: var(--theme-text-secondary);
  font-size: 0.8rem;
}

/* Product Price */
.product-price-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.75rem 0;
  border-top: 1px solid var(--theme-border);
  margin-top: auto;
}

.current-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--mnory-accent);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.current-price .currency {
  font-size: 0.875rem;
  font-weight: 500;
}

.old-price {
  font-size: 1rem;
  color: var(--theme-text-secondary);
  text-decoration: line-through;
  opacity: 0.7;
}

.discount-badge {
  padding: 4px 10px;
  background: linear-gradient(135deg, #ff3b30 0%, #d62d20 100%);
  color: white;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Availability Status */
.availability-status {
  font-size: 0.875rem;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}

.status .material-icons {
  font-size: 16px;
}

.status.in-stock {
  color: #34c759;
}

.status.out-of-stock {
  color: #ff3b30;
}

/* Vendor Info Compact */
.vendor-info-compact {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 12px;
  font-size: 0.8rem;
  color: var(--theme-text-secondary);
}

body.dark-mode .vendor-info-compact {
  background: rgba(255, 255, 255, 0.05);
}

.vendor-info-compact .material-icons {
  font-size: 16px;
}

.vendor-info-compact .vendor-name {
  font-weight: 500;
}

/* Product Card Responsive Styles */
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
  }

  .product-title {
    font-size: 0.85rem;
    min-height: 2.2em;
  }

  .product-content {
    padding: 1rem;
    gap: 0.5rem;
  }

  .current-price {
    font-size: 1.25rem;
  }

  .old-price {
    font-size: 0.85rem;
  }

  .action-btn {
    width: 38px;
    height: 38px;
  }

  .action-btn .material-icons {
    font-size: 18px;
  }

  .color-dot {
    width: 16px;
    height: 16px;
  }

  .size-tag {
    font-size: 0.65rem;
    padding: 2px 6px;
  }
}

@media (max-width: 576px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
  }

  .product-title {
    font-size: 0.8rem;
    min-height: 2em;
  }

  .product-content {
    padding: 0.75rem;
    gap: 0.4rem;
  }

  .current-price {
    font-size: 1.1rem;
  }

  .colors-label,
  .sizes-label {
    font-size: 0.7rem;
  }

  .colors-label .material-icons,
  .sizes-label .material-icons {
    font-size: 12px;
  }

  .product-rating {
    font-size: 0.75rem;
  }

  .product-rating .star {
    font-size: 14px;
  }

  .product-quick-actions {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ========================================
   BUTTONS
======================================== */
.btn-primary {
  background: var(--mnory-accent) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.btn-outline-primary {
  border-color: var(--mnory-accent);
  color: var(--mnory-accent);
  background: transparent;
  transition: all var(--transition-fast);
}

.btn-outline-primary:hover {
  background: var(--mnory-accent);
  color: #fff;
  transform: translateY(-2px);
}

/* ========================================
   CARDS & PANELS
======================================== */
.card {
  background: var(--theme-bg);
  border: 1px solid var(--theme-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal) var(--transition-ease);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card-body {
  background: var(--theme-bg);
  color: var(--theme-text);
}

.card-title {
  color: var(--theme-text);
}

/* ========================================
   MODALS
======================================== */
.modal-content {
  background: var(--theme-bg);
  color: var(--theme-text);
  border: 1px solid var(--theme-border);
  box-shadow: var(--shadow-2xl);
}

.modal-header {
  border-bottom: 1px solid var(--theme-border);
  background: var(--theme-bg-secondary);
}

.modal-body {
  background: var(--theme-bg);
}

.modal-title {
  color: var(--theme-text);
}

.btn-close {
  filter: var(--theme-text) brightness(0.5);
}

body.dark-mode .btn-close {
  filter: invert(1);
}

.category-modal .modal-content {
  background: var(--theme-bg);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow-2xl);
}

.category-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: var(--theme-text);
  padding: 1rem;
  border-radius: var(--radius-md);
  background: var(--theme-bg-secondary);
  transition: all var(--transition-normal) var(--transition-ease);
}

.category-icon-item:hover {
  background: var(--mnory-accent);
  color: #fff;
  transform: translateY(-5px) scale(1.05);
  box-shadow: var(--shadow-lg);
}

/* ========================================
   DROPDOWNS
======================================== */
.dropdown-menu {
  background: var(--theme-bg);
  border: 1px solid var(--theme-border);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-fast) var(--transition-ease);
}

/* Promo banner dropdown - match header background */
.promo-banner .dropdown-menu {
  background: var(--theme-bg);
  border: 1px solid var(--theme-border);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-fast) var(--transition-ease);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Enhanced dropdown animation */
.promo-banner .dropdown-menu.show {
  animation: dropdownFadeIn 0.2s ease-out forwards;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Dark mode dropdown enhancements */
body.dark-mode .promo-banner .dropdown-menu {
  background: var(--theme-bg);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

body.dark-mode .dropdown-item.active {
  background: var(--mnory-accent);
  box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
}

.dropdown-item {
  color: var(--theme-text);
  transition: all var(--transition-fast) var(--transition-ease);
  position: relative;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: var(--theme-bg-secondary);
  color: var(--mnory-accent);
  transform: translateX(4px);
}

/* Active/Selected dropdown item with enhanced transition */
.dropdown-item.active {
  background: var(--mnory-accent);
  color: #ffffff;
  transition: all var(--transition-normal) var(--transition-ease);
  position: relative;
}

.dropdown-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: rgba(255, 255, 255, 0.8);
  transition: all var(--transition-fast) var(--transition-ease);
}

.dropdown-item.active:hover {
  background: var(--mnory-accent);
  color: #ffffff;
  transform: translateX(2px);
}

.dropdown-toggle {
  color: var(--theme-text) !important;
  transition: all var(--transition-fast) var(--transition-ease);
}

/* Promo banner dropdown toggles */
.promo-banner .dropdown-toggle {
  color: var(--theme-text) !important;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast) var(--transition-ease);
}

.promo-banner .dropdown-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.promo-banner .dropdown-toggle[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.15);
  color: var(--mnory-accent) !important;
}

/* ========================================
   FORMS
======================================== */
.form-control,
.form-select {
  background: var(--theme-input-bg);
  color: var(--theme-text);
  border: 1px solid var(--theme-input-border);
  transition: all var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
  background: var(--theme-input-bg);
  color: var(--theme-text);
  border-color: var(--mnory-accent);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.form-control::placeholder {
  color: var(--theme-text-muted);
}

.form-check-input {
  background-color: var(--theme-input-bg);
  border-color: var(--theme-input-border);
}

.form-check-input:checked {
  background-color: var(--mnory-accent);
  border-color: var(--mnory-accent);
}

.form-check-label {
  color: var(--theme-text);
}

/* ========================================
   BADGES & FLAGS
======================================== */
.badge {
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.badge-fancy {
  background: linear-gradient(90deg, var(--mnory-accent), var(--mnory-accent-2));
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.badge-flag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.badge-bestseller {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #000;
}

.badge-new-arrival {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  color: #fff;
}

.badge-on-sale {
  background: linear-gradient(135deg, #fa709a, #fee140);
  color: #000;
}

/* ========================================
   LISTS & NAVIGATION ITEMS
======================================== */
.list-group-item {
  background: var(--theme-bg);
  color: var(--theme-text);
  border-color: var(--theme-border);
  transition: all var(--transition-fast);
}

.list-group-item:hover {
  background: var(--theme-bg-secondary);
  color: var(--mnory-accent);
}

.list-group-item.active {
  background: var(--mnory-accent);
  color: #fff;
  border-color: var(--mnory-accent);
}

.nav-link {
  color: var(--theme-text);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--mnory-accent);
}

.nav-link.active {
  color: var(--mnory-accent);
  font-weight: 600;
}

/* ========================================
   PAGINATION
======================================== */
.pagination {
  gap: 0.25rem;
}

.page-link {
  background: var(--theme-bg);
  color: var(--theme-text);
  border-color: var(--theme-border);
  transition: all var(--transition-fast);
}

.page-link:hover {
  background: var(--theme-bg-secondary);
  color: var(--mnory-accent);
  border-color: var(--mnory-accent);
  transform: translateY(-2px);
}

.page-item.active .page-link {
  background: var(--mnory-accent);
  color: #fff;
  border-color: var(--mnory-accent);
}

.page-item.disabled .page-link {
  background: var(--theme-bg-secondary);
  color: var(--theme-text-muted);
  border-color: var(--theme-border);
}

/* ========================================
   ACCORDIONS
======================================== */
.accordion-item {
  background: var(--theme-bg);
  border-color: var(--theme-border);
}

.accordion-button {
  background: var(--theme-bg-secondary);
  color: var(--theme-text);
  transition: all var(--transition-fast);
}

.accordion-button:not(.collapsed) {
  background: var(--mnory-accent);
  color: #fff;
}

.accordion-button:hover {
  background: var(--theme-bg-tertiary);
}

.accordion-body {
  background: var(--theme-bg);
  color: var(--theme-text);
}

/* ========================================
   HERO & SLIDERS
======================================== */
.hero-gallery-swiper .swiper-slide img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-2xl);
  transition: transform var(--transition-normal) var(--transition-ease),
              filter var(--transition-normal);
}

.hero-gallery-swiper .swiper-slide img:hover {
  transform: scale(1.02);
  filter: saturate(1.02);
}

/* ========================================
   SECTIONS
======================================== */
.section {
  padding: 2rem 0;
  transition: opacity var(--transition-normal) var(--transition-ease),
              transform var(--transition-normal) var(--transition-ease);
}

.section-header {
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--theme-border);
}

.section-header h2 {
  color: var(--theme-text);
  font-weight: 600;
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
  background: var(--theme-bg-secondary);
  color: var(--theme-text);
  border-top: 1px solid var(--theme-border);
  transition: all var(--transition-normal) var(--transition-ease);
}

/* ========================================
   BACK TO TOP BUTTON
======================================== */
.back-to-top-btn {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--mnory-accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-fast);
  z-index: 999;
}

.back-to-top-btn:hover {
  background: #000;
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* ========================================
   UTILITIES
======================================== */
.text-primary {
  color: var(--mnory-accent) !important;
}

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

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

.bg-primary {
  background: var(--mnory-accent) !important;
  color: #fff !important;
}

.border {
  border-color: var(--theme-border) !important;
}

/* ========================================
   ANIMATIONS
======================================== */
@keyframes mnory-pop {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes mnory-slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mnory-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.mnory-pop {
  animation: mnory-pop 0.32s var(--transition-ease) both;
}

.animate-slide-up {
  animation: mnory-slide-up 0.5s var(--transition-ease) both;
}

.animate-fade-in {
  animation: mnory-fade-in 0.4s var(--transition-ease) both;
}

/* Stagger animations for lists */
.stagger-item {
  opacity: 0;
  animation: mnory-slide-up 0.5s var(--transition-ease) both;
}

.stagger-item:nth-child(1) { animation-delay: 0.05s; }
.stagger-item:nth-child(2) { animation-delay: 0.1s; }
.stagger-item:nth-child(3) { animation-delay: 0.15s; }
.stagger-item:nth-child(4) { animation-delay: 0.2s; }
.stagger-item:nth-child(5) { animation-delay: 0.25s; }
.stagger-item:nth-child(6) { animation-delay: 0.3s; }

/* ========================================
   ACCESSIBILITY
======================================== */
.visually-hidden-focusable:focus {
  position: static;
  left: auto;
  top: auto;
}

/* Focus visible for keyboard navigation */
*:focus-visible {
  outline: 2px solid var(--mnory-accent);
  outline-offset: 2px;
}

/* ========================================
   RESPONSIVE TWEAKS
======================================== */
@media (max-width: 767px) {
  .product-card {
    padding: 0.4rem;
  }

  .section {
    padding: 1rem 0;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
  }

  .hero-gallery-swiper .swiper-slide img {
    border-radius: var(--radius-sm);
  }
}

/* ========================================
   LOADING STATES
======================================== */
.loading-skeleton {
  background: linear-gradient(90deg, var(--theme-bg-secondary) 25%, var(--theme-bg-tertiary) 50%, var(--theme-bg-secondary) 75%);
  background-size: 200% 100%;
  animation: loading-skeleton 1.5s ease-in-out infinite;
}

@keyframes loading-skeleton {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ========================================
   PRINT STYLES
======================================== */
@media print {
  .site-header,
  .site-footer,
  .back-to-top-btn,
  .nav-icons,
  .search-container {
    display: none !important;
  }
}

/* ========================================
   PRODUCT CARD STYLES FROM _product.html
======================================== */
.product-card {
  border: none !important;
  background: var(--theme-card-bg);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  min-height: 480px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.product-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.15),
    0 8px 24px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-color: rgba(0, 122, 255, 0.2);
}

/* Dark mode support */
body.dark-mode .product-card {
  background: var(--theme-card-bg-dark, rgba(40, 40, 40, 0.95));
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.dark-mode .product-card:hover {
  box-shadow:
    0 20px 40px rgba(0, 122, 255, 0.2),
    0 8px 24px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 122, 255, 0.3);
}

/* View Vendor Button */
a.btn-view-vendor {
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.1) 0%, rgba(0, 122, 255, 0.05) 100%);
  color: #007aff;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 24px;
  border: 1px solid rgba(0, 122, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(8px);
}

a.btn-view-vendor:hover {
  background: linear-gradient(135deg, #007aff 0%, #0056cc 100%);
  color: #ffffff;
  border-color: #007aff;
  box-shadow:
    0 6px 20px rgba(0, 122, 255, 0.4),
    0 2px 8px rgba(0, 122, 255, 0.2);
  transform: translateY(-2px);
}

a.btn-view-vendor i {
  transition: transform 0.3s ease;
}

a.btn-view-vendor:hover i {
  transform: scale(1.1);
}

/* Vendor Card Footer */
.card-footer-vendor {
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.02));
  padding: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  height: fit-content;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  backdrop-filter: blur(5px);
  flex-shrink: 0;
}

body.dark-mode .card-footer-vendor {
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.02));
  border-top-color: rgba(255, 255, 255, 0.1);
}

.card-footer-vendor:hover {
  background: linear-gradient(to bottom, transparent, rgba(0, 122, 255, 0.05));
}

body.dark-mode .card-footer-vendor:hover {
  background: linear-gradient(to bottom, transparent, rgba(0, 122, 255, 0.1));
}

.card-footer-vendor .vendor-info {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
}

.card-footer-vendor .vendor-name {
  font-weight: 600;
  color: var(--theme-text, #2c3e50);
  font-size: 0.9rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.card-footer-vendor .vendor-rating {
  font-size: 0.9rem;
  color: #ffd700;
  filter: drop-shadow(0 1px 2px rgba(255, 215, 0, 0.3));
}

/* Image wrapper for hover effect */
.product-image-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

body.dark-mode .product-image-wrapper {
  background: linear-gradient(135deg, #2d2d2d 0%, #404040 100%);
}

/* Main and hover images */
.product-img {
  width: 100%;
  height: 280px !important;
  object-fit: cover !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
  position: relative;
  backface-visibility: hidden;
  filter: brightness(0.98) contrast(1.02);
}

/* Hover image hidden by default */
.product-img.hover-switch-img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.08);
  filter: brightness(1) contrast(1.05);
}

/* Show hover image on hover */
.product-image-wrapper:hover .hover-switch-img {
  opacity: 1;
  transform: scale(1);
}

/* Hide main image on hover */
.product-image-wrapper:hover .product-img:not(.hover-switch-img) {
  opacity: 0;
  transform: scale(1.08);
}

/* For mobile: toggle hover image on touch */
@media (hover: none) and (pointer: coarse) {
  .product-image-wrapper.is-hover .hover-switch-img {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }
  .product-image-wrapper.is-hover .product-img:not(.hover-switch-img) {
    opacity: 0;
    transform: scale(1.08);
  }
}

/* Product name styles */
.product-name {
  margin-top: 0.75rem;
  margin-bottom: 0.15rem; /* Further reduced margin */
  font-size: 0.85rem; /* Further reduced font size */
  font-weight: 600;
  color: var(--theme-text);
  background: transparent !important;
  border: none !important;
  min-height: 2.4em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.3;
  padding: 0 12px;
  font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', sans-serif;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: color 0.3s ease;
  flex-shrink: 0;
}

.product-card:hover .product-name {
  color: var(--mnory-accent, #007aff);
}

.product-name,
.product-card a {
  text-decoration: none !important;
  color: inherit;
}

/* Product Icons */
.product-icons {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-icons {
  opacity: 1;
  transform: translateX(0);
}

.product-icons a,
.product-icons button {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.95) 0%, rgba(0, 100, 200, 0.95) 100%);
  border: none;
  padding: 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1.1rem;
  width: 44px;
  height: 44px;
  box-shadow:
    0 6px 20px rgba(0, 122, 255, 0.4),
    0 2px 8px rgba(0, 122, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.product-icons a::before,
.product-icons button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.product-icons a:hover::before,
.product-icons button:hover::before {
  left: 100%;
}

.product-icons a:hover,
.product-icons button:hover {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(40, 40, 40, 0.95) 100%);
  transform: scale(1.15) rotate(10deg);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}

.product-icons a:active,
.product-icons button:active {
  transform: scale(0.95);
}

/* Wishlist icon styles */
.product-icons a.wishlist-btn,
.product-icons button.wishlist-btn {
  background: linear-gradient(135deg, rgba(255, 59, 48, 0.95) 0%, rgba(200, 30, 20, 0.95) 100%);
  box-shadow:
    0 6px 20px rgba(255, 59, 48, 0.4),
    0 2px 8px rgba(255, 59, 48, 0.2);
}

.product-icons a.wishlist-btn:hover,
.product-icons button.wishlist-btn:hover {
  background: linear-gradient(135deg, rgba(255, 59, 48, 1) 0%, rgba(220, 40, 30, 1) 100%);
  box-shadow:
    0 8px 24px rgba(255, 59, 48, 0.6),
    0 4px 12px rgba(255, 59, 48, 0.4);
}

.product-icons a.wishlist-btn.active,
.product-icons button.wishlist-btn.active {
  background: linear-gradient(135deg, #ff3b30 0%, #d62d20 100%);
  animation: heartBeat 0.6s ease-in-out;
}

/* Remove icon styles */
.product-icons a.remove-icon,
.product-icons button.remove-icon {
  background: linear-gradient(135deg, rgba(255, 59, 48, 0.95) 0%, rgba(139, 0, 0, 0.95) 100%);
  box-shadow:
    0 6px 20px rgba(255, 59, 48, 0.4),
    0 2px 8px rgba(255, 59, 48, 0.2);
}

.product-icons a.remove-icon:hover,
.product-icons button.remove-icon:hover {
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.95) 0%, rgba(100, 0, 0, 0.95) 100%);
  transform: scale(1.15) rotate(-10deg);
  box-shadow:
    0 8px 24px rgba(139, 0, 0, 0.6),
    0 4px 12px rgba(139, 0, 0, 0.4);
}

/* Show icons on mobile touch */
@media (hover: none) and (pointer: coarse) {
  .product-icons {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Price area */
.price-area {
  margin-top: 0.15rem; /* Further reduced margin */
  margin-bottom: 0.35rem; /* Further reduced margin */
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px; /* Further reduced gap */
  flex-wrap: wrap;
}

.price-area span {
  font-size: 0.8rem; /* Further reduced font size */
  font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.original-price {
  text-decoration: line-through;
  color: #999;
  font-size: 0.75rem; /* Further reduced font size */
  font-weight: 500;
  opacity: 0.8;
}

.sale-price {
  color: #ff3b30;
  font-weight: 700;
  font-size: 0.9rem; /* Further reduced font size */
  text-shadow: 0 1px 3px rgba(255, 59, 48, 0.3);
}

.regular-price {
  color: var(--theme-text);
  font-weight: 600;
  font-size: 0.85rem; /* Further reduced font size */
}

/* Product Badges Container */
.product-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 4px;
  max-width: calc(100% - 40px);
  pointer-events: none;
  align-items: flex-start;
}

/* Base Product Badge */
.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 5px 8px;
  border-radius: 12px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  white-space: nowrap;
  max-width: 100%;
  justify-self: start;
  pointer-events: auto;
  width: fit-content;
  min-width: fit-content;
  height: fit-content;
}

.product-badge i {
  font-size: 0.65rem;
  flex-shrink: 0;
}

.product-badge small {
  font-size: 0.55rem;
  margin-left: 2px;
  font-weight: 700;
}

.product-badge span {
  font-size: 0.6rem;
  line-height: 1;
}

/* Sale Badge */
.sale-badge {
  background: linear-gradient(135deg, #ff3b30 0%, #d62d20 100%);
  color: white;
  animation: saleGlow 2s ease-in-out infinite alternate;
}

.sale-badge:hover {
  transform: scale(1.05);
}

/* New Badge */
.new-badge {
  background: linear-gradient(135deg, #34c759 0%, #2fb04c 100%);
  color: white;
  animation: newShimmer 3s ease-in-out infinite;
}

/* Best Seller Badge */
.bestseller-badge {
  background: linear-gradient(135deg, #ff9500 0%, #ff8000 100%);
  color: white;
  animation: crownGlow 2.5s ease-in-out infinite alternate;
}

/* Out of Stock Badge */
.outofstock-badge {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(40, 40, 40, 0.8) 100%);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Badge Animations */
@keyframes saleGlow {
  0% {
    box-shadow: 0 4px 12px rgba(255, 59, 48, 0.4);
  }
  100% {
    box-shadow: 0 6px 16px rgba(255, 59, 48, 0.6);
  }
}

@keyframes newShimmer {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(52, 199, 89, 0.4);
  }
  50% {
    box-shadow: 0 6px 16px rgba(52, 199, 89, 0.6);
  }
}

@keyframes crownGlow {
  0% {
    box-shadow: 0 4px 12px rgba(255, 149, 0, 0.4);
  }
  100% {
    box-shadow: 0 6px 16px rgba(255, 149, 0, 0.6);
  }
}

/* Responsive Product Card Styles */
@media (min-width: 1400px) {
  .product-card {
    max-height: 520px;
  }

  .product-img {
    height: 320px !important;
  }

  .product-badge {
    font-size: 0.65rem;
    padding: 5px 7px;
  }

  .product-name {
    font-size: 1rem;
  }

  .price-area span {
    font-size: 1rem;
  }
}

@media (max-width: 1200px) {
  .product-card {
    max-height: 500px;
  }

  .product-img {
    height: 280px !important;
  }

  .product-badges {
    top: 6px;
    left: 6px;
    gap: 3px;
    max-width: calc(100% - 32px);
  }

  .product-badge {
    font-size: 0.55rem;
    padding: 3px 5px;
    border-radius: 10px;
    gap: 1px;
  }

  .product-badge i {
    font-size: 0.55rem;
  }

  .product-badge span {
    font-size: 0.5rem;
  }

  .product-badge small {
    font-size: 0.45rem;
  }
}@media (max-width: 992px) {
  .product-card {
    max-height: 480px;
  }

  .product-img {
    height: 260px !important;
  }

  .product-badges {
    top: 5px;
    left: 5px;
    gap: 2px;
    max-width: calc(100% - 30px);
  }

  .product-badge {
    font-size: 0.5rem;
    padding: 2px 4px;
    border-radius: 8px;
    gap: 1px;
  }

  .product-badge i {
    font-size: 0.5rem;
  }

  .product-badge span {
    font-size: 0.45rem;
  }

  .product-badge small {
    font-size: 0.4rem;
  }
}

@media (max-width: 768px) {
  .product-card {
    max-height: 460px;
  }

  .product-img {
    height: 240px !important;
  }

  .product-badges {
    top: 6px;
    left: 6px;
    gap: 3px;
    max-width: calc(100% - 32px);
  }

  .product-badge {
    font-size: 0.55rem;
    padding: 3px 6px;
    border-radius: 8px;
    gap: 2px;
  }

  .product-badge i {
    font-size: 0.55rem;
  }

  .product-badge span {
    font-size: 0.5rem;
  }

  .product-badge small {
    font-size: 0.45rem;
  }

  .product-name {
    font-size: 0.9rem;
    min-height: 2.2em;
    padding: 0 10px;
  }

  .price-area {
    padding: 0 10px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .product-card {
    max-height: 440px;
  }

  .product-img {
    height: 220px !important;
  }

  .product-badges {
    top: 5px;
    left: 5px;
    gap: 2px;
    max-width: calc(100% - 28px);
  }

  .product-badge {
    font-size: 0.5rem;
    padding: 2px 5px;
    border-radius: 6px;
    gap: 1.5px;
  }

  .product-badge i {
    font-size: 0.5rem;
  }

  .product-badge span {
    font-size: 0.45rem;
  }

  .product-badge small {
    font-size: 0.4rem;
    margin-left: 1px;
  }

  .product-name {
    font-size: 0.85rem;
    min-height: 2em;
    padding: 0 8px;
  }

  .price-area {
    padding: 0 8px;
    font-size: 0.85rem;
  }

  .product-icons {
    bottom: 8px;
    right: 8px;
    gap: 6px;
  }

  .product-icons a,
  .product-icons button {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .product-card {
    max-height: 420px;
  }

  .product-img {
    height: 200px !important;
  }

  .product-badges {
    top: 4px;
    left: 4px;
    gap: 2px;
    max-width: calc(100% - 26px);
  }

  .product-badge {
    font-size: 0.45rem;
    padding: 2px 4px;
    border-radius: 5px;
    gap: 1px;
  }

  .product-badge i {
    font-size: 0.45rem;
  }

  .product-badge span {
    font-size: 0.55rem;
  }

  .product-badge small {
    font-size: 0.45rem;
    margin-left: 1px;
  }

  .product-name {
    font-size: 0.8rem;
    min-height: 1.8em;
    padding: 0 6px;
  }

  .price-area {
    padding: 0 6px;
    font-size: 0.8rem;
  }

  .product-icons {
    bottom: 6px;
    right: 6px;
    gap: 4px;
  }

  .product-icons a,
  .product-icons button {
    width: 28px;
    height: 28px;
    font-size: 0.7rem;
    padding: 6px;
  }
}

/* Extra Small Phones */
@media (max-width: 360px) {
  .product-card {
    max-height: 400px;
  }

  .product-img {
    height: 180px !important;
  }

  .product-badges {
    top: 1px;
    left: 1px;
    gap: 0px;
    max-width: calc(100% - 20px);
  }

  .product-badge {
    font-size: 0.3rem;
    padding: 1px 2px;
    border-radius: 2px;
    gap: 0px;
  }

  .product-badge i {
    font-size: 0.3rem;
  }

  .product-badge span {
    font-size: 0.28rem;
  }

  .product-badge small {
    font-size: 0.22rem;
    margin-left: 0;
  }

  .product-name {
    font-size: 0.75rem;
    min-height: 1.6em;
    padding: 0 4px;
  }

  .price-area {
    padding: 0 4px;
    font-size: 0.75rem;
  }

  .product-meta-info {
    font-size: 0.6rem;
  }

  .product-brand,
  .product-category {
    font-size: 0.55rem;
    padding: 1px 4px;
  }

  .product-icons {
    bottom: 4px;
    right: 4px;
    gap: 2px;
  }

  .product-icons a,
  .product-icons button {
    width: 24px;
    height: 24px;
    font-size: 0.6rem;
    padding: 4px;
  }
}

/* ========================================
   CATEGORY PRODUCTS PLACEHOLDER STYLES
======================================== */
.product-card-placeholder {
  border-radius: 16px;
  background: var(--theme-card-bg);
  overflow: hidden;
  min-height: 480px;
  display: flex;
  flex-direction: column;
}

.loading-placeholder {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.placeholder-image {
  width: 100%;
  height: 280px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading-shimmer 1.5s infinite;
  border-radius: 12px;
}

body.dark-mode .placeholder-image {
  background: linear-gradient(90deg, #333 25%, #444 50%, #333 75%);
  background-size: 200% 100%;
}

.placeholder-text {
  height: 1rem;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading-shimmer 1.5s infinite;
  border-radius: 4px;
}

.placeholder-text.short {
  width: 60%;
  height: 0.8rem;
}

body.dark-mode .placeholder-text {
  background: linear-gradient(90deg, #333 25%, #444 50%, #333 75%);
  background-size: 200% 100%;
}

@keyframes loading-shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Product Info Container */
.product-card .product-info {
  padding: 0.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
}

/* Product Header */
.product-header {
  flex-shrink: 0;
}

/* Product Details Container */
.product-details-container {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
}

/* ========================================
   PRODUCT DETAIL PAGE STYLES
======================================== */
.product-detail-section {
  padding: 0;
  background: transparent;
}

/* Product Content Wrapper - Side by Side Layout */
.product-content-wrapper {
  width: 100%;
  padding: 2rem 0;
  background: var(--theme-bg);
}

body.dark-mode .product-content-wrapper {
  background: var(--theme-bg);
}

.product-content-wrapper .container-fluid {
  max-width: 1800px;
  padding: 0 2rem;
}

.product-content-wrapper .row {
  display: flex;
  align-items: stretch;
  min-height: 700px;
}

.product-content-wrapper .row > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

/* Breadcrumb Styling */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 2rem;
}

.breadcrumb-item a {
  color: var(--mnory-accent, #007aff);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: var(--mnory-accent-hover, #0056cc);
}

.breadcrumb-item.active {
  color: var(--theme-text-secondary, #666);
}

/* Product Gallery Container */
.product-gallery-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.product-images-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.product-detail-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.product-detail-img:hover {
  transform: scale(1.02);
}

.product-thumbnails-wrapper .swiper-slide {
  opacity: 0.6;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.product-thumbnails-wrapper .swiper-slide-thumb-active {
  opacity: 1;
}

.product-thumbnail-img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.swiper-slide-thumb-active .product-thumbnail-img {
  border-color: var(--mnory-accent, #007aff);
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

/* Product Info Section */
.product-info-section {
  background: linear-gradient(135deg,
    rgba(248, 249, 250, 0.95) 0%,
    rgba(255, 255, 255, 0.9) 100%);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  height: fit-content;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body.dark-mode .product-info-section {
  background: linear-gradient(135deg,
    rgba(40, 40, 40, 0.8) 0%,
    rgba(60, 60, 60, 0.6) 100%);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Product Header */
.product-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 1.5rem;
}

body.dark-mode .product-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.product-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--theme-text);
  margin-bottom: 0.5rem;
  line-height: 1.2;
  font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', sans-serif;
}

.product-subtitle {
  font-size: 1.2rem;
  color: var(--theme-text-secondary, #666);
  margin-bottom: 0;
  line-height: 1.4;
}

/* Product Detail Badges */
.product-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 1rem;
}

.product-detail-badges .product-badge {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid transparent;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

body:not(.dark-mode) .product-detail-badges .product-badge {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.product-detail-badges .badge {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.badge-sale {
  background: linear-gradient(135deg, #ff3b30 0%, #d62d20 100%);
  color: white;
}

.badge-new {
  background: linear-gradient(135deg, #34c759 0%, #2fb04c 100%);
  color: white;
}

.badge-bestseller {
  background: linear-gradient(135deg, #ff9500 0%, #ff8000 100%);
  color: white;
}

.badge-out-of-stock {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(40, 40, 40, 0.8) 100%);
  color: white;
}

/* Price Section */
.price-section {
  background: linear-gradient(135deg,
    rgba(0, 122, 255, 0.05) 0%,
    rgba(0, 122, 255, 0.02) 100%);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(0, 122, 255, 0.1);
}

body.dark-mode .price-section {
  background: linear-gradient(135deg,
    rgba(0, 122, 255, 0.1) 0%,
    rgba(0, 122, 255, 0.05) 100%);
  border-color: rgba(0, 122, 255, 0.2);
}

.current-price {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--mnory-accent, #007aff);
  margin-bottom: 0.5rem;
  font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', sans-serif;
}

.price-comparison {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.original-price {
  font-size: 1.25rem;
  color: var(--theme-text-secondary, #666);
  text-decoration: line-through;
  font-weight: 500;
}

.savings-amount {
  background: linear-gradient(135deg, #34c759 0%, #2fb04c 100%);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Responsive Styles for Product Detail */
@media (max-width: 992px) {
  .product-detail-container {
    padding: 1.5rem;
  }

  .product-title {
    font-size: 2rem;
  }

  .current-price {
    font-size: 1.75rem;
  }

  .product-detail-img {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .product-detail-container {
    padding: 1rem;
  }

  .product-info-section {
    padding: 1.5rem;
    margin-top: 2rem;
  }

  .product-title {
    font-size: 1.75rem;
  }

  .current-price {
    font-size: 1.5rem;
  }

  .product-detail-img {
    height: 350px;
  }

  .product-gallery-container {
    position: static;
  }
}

@media (max-width: 576px) {
  .product-title {
    font-size: 1.5rem;
  }

  .current-price {
    font-size: 1.25rem;
  }

  .product-detail-img {
    height: 300px;
  }

  .product-detail-badges .badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }
}

/* Product Link */
.product-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Product Title Link */
.product-title-link {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.product-title-link:hover {
  color: var(--mnory-accent, #007aff);
}

/* Product Meta Info */
.product-meta-info {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
  font-size: 0.7rem;
  opacity: 0.8;
  justify-content: center;
  flex-wrap: wrap;
}

.product-brand,
.product-category {
  background: rgba(0, 122, 255, 0.1);
  color: var(--mnory-accent, #007aff);
  padding: 1px 6px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.65rem;
}

body.dark-mode .product-brand,
body.dark-mode .product-category {
  background: rgba(0, 122, 255, 0.2);
}

/* Enhanced Price Area */
.price-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

/* Savings Badge */
.savings-badge {
  background: linear-gradient(135deg, #34c759 0%, #2fb04c 100%);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 12px;
  margin-top: 4px;
  box-shadow: 0 2px 6px rgba(52, 199, 89, 0.3);
}

/* Product Rating */
.product-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.5rem 0;
  font-size: 0.85rem;
}

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

.stars i {
  color: #ffd700;
  font-size: 0.9rem;
  text-shadow: 0 1px 2px rgba(255, 215, 0, 0.3);
}

.rating-count {
  color: var(--theme-text-secondary, #666);
  font-size: 0.8rem;
}

/* Quick Actions */
.quick-actions {
  margin-top: auto;
  padding: 0.5rem 12px 0.75rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.product-card:hover .quick-actions {
  opacity: 1;
  transform: translateY(0);
}

.btn-quick-view {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.1) 0%, rgba(0, 122, 255, 0.05) 100%);
  border: 1px solid rgba(0, 122, 255, 0.2);
  color: var(--mnory-accent, #007aff);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.btn-quick-view:hover {
  background: linear-gradient(135deg, var(--mnory-accent, #007aff) 0%, #0056cc 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 122, 255, 0.3);
}

.btn-quick-view i {
  font-size: 0.9rem;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .product-badges {
    top: 8px;
    left: 8px;
  }

  .product-badge {
    padding: 4px 8px;
    font-size: 0.7rem;
  }

  .product-meta-info {
    flex-direction: column;
    gap: 0.25rem;
  }

  .quick-actions {
    opacity: 1;
    transform: translateY(0);
  }

  /* Smaller quick view button on mobile */
  .btn-quick-view {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    gap: 0.3rem;
  }

  .btn-quick-view i {
    font-size: 0.75rem;
  }

  /* Reduce product card max-height on mobile */
  .product-card {
    max-height: 420px;
  }
}

/* Tablet adjustments */
@media (max-width: 992px) {
  .product-card {
    max-height: 450px;
  }

  .btn-quick-view {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
}

/* Extra small mobile adjustments */
@media (max-width: 576px) {
  .btn-quick-view {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    gap: 0.25rem;
  }

  .btn-quick-view i {
    font-size: 0.7rem;
  }

  .btn-quick-view span {
    display: none; /* Hide text, show only icon on very small screens */
  }

  .product-card {
    max-height: 380px;
  }
}@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.3); }
  50% { transform: scale(1.1); }
  75% { transform: scale(1.25); }
}

/* Local Toast Styles */
.product-card .local-toast-container {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.product-card .local-toast {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(40, 40, 40, 0.85) 100%);
  color: white;
  padding: 10px 18px;
  border-radius: 24px;
  margin-top: 8px;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(20px);
  font-size: 0.85rem;
  white-space: nowrap;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.3),
    0 4px 12px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-card .local-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   HERO SLIDER STYLES FROM hero_slider.html
======================================== */
.slider-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: brightness(0.92);
  display: block;
}

.btn-hero-transparent {
  background-color: var(--dark-blue);
  color: var(--white);
  border: 2px solid var(--dark-blue);
  transition: all 0.3s ease;
  font-size: 1rem;
  padding: 0.5rem 1.2rem;
}

.btn-hero-transparent:hover {
  background-color: #000000;
  border-color: #000000;
  color: white;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.hero-heading {
  color: white !important;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
  font-size: clamp(2rem, 5vw, 4rem);
}

.hero-subtext {
  color: var(--white) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
}

.hero-swiper {
  margin-top: 0 !important;
}

.hero-overlay {
  background: linear-gradient(to bottom right, rgba(10, 31, 68, 0.1), rgba(0, 0, 0, 0.1));
}


.hero-content {
  z-index: 2;
}

.intro {
  margin-top: 60px;
}

/* ========================================
   SUSTAINABLE STYLE SECTION FROM _home_categories.html
======================================== */
.sustainable-style-section {
  background: linear-gradient(135deg, #e0e0e0, #000, #007aff);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.sustainable-style-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.sustainable-style-section .container {
  position: relative;
  z-index: 2;
}

.sustainable-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
}

.sustainable-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

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

/* Product Detail Container */
.product-detail-container {
  background: var(--theme-bg);
  min-height: calc(100vh - 80px);
  padding: 2rem 0;
}

/* Product Detail Images */
.product-detail-swiper {
  border-radius: 16px;
  position: relative;
  height: 550px; /* base height for desktop */
  overflow: visible;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.06);
  background: var(--theme-card-bg, #fff);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Duplicate removed - see line 1 for main definition */

.product-detail-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}

/* Zoom indicator positioning */
.product-images-wrapper .zoom-indicator {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  background: rgba(255,255,255,0.9);
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: background 0.2s, transform 0.2s;
}

body.dark-mode .product-images-wrapper .zoom-indicator {
  background: rgba(30,30,30,0.7);
}

/* Thumbnails layout */
.product-thumbnails-wrapper {
  margin-top: 1rem;
}
.product-thumbnails-wrapper .product-thumbnail-img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.18s, box-shadow 0.18s, opacity 0.18s;
  cursor: pointer;
}
.product-thumbnails-wrapper .swiper-slide-thumb-active .product-thumbnail-img,
.product-thumbnails-wrapper .product-thumbnail-img:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .product-detail-swiper { height: 480px; }
  .product-thumbnails-wrapper .product-thumbnail-img { width: 64px; height: 64px; }
}
@media (max-width: 768px) {
  .product-detail-swiper { height: 420px; }
  .product-images-wrapper .zoom-indicator { bottom: 8px; left: 8px; padding: 0.3rem 0.45rem; }
  .product-thumbnails-wrapper { display:flex; gap:0.5rem; overflow:auto; }
  .product-thumbnails-wrapper .product-thumbnail-img { width: 56px; height: 56px; }
}
@media (max-width: 480px) {
  .product-detail-swiper { height: 320px; }
  .product-thumbnails-wrapper .product-thumbnail-img { width: 48px; height: 48px; }
}

.product-detail-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

/* Swiper navigation buttons */
.product-detail-swiper .swiper-button-next,
.product-detail-swiper .swiper-button-prev {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.product-detail-swiper .swiper-button-next:hover,
.product-detail-swiper .swiper-button-prev:hover {
  background: var(--mnory-accent);
  transform: scale(1.1);
}

.product-detail-swiper .swiper-button-next::after,
.product-detail-swiper .swiper-button-prev::after {
  font-size: 20px;
  color: var(--mnory-accent);
  font-weight: 700;
}

.product-detail-swiper .swiper-button-next:hover::after,
.product-detail-swiper .swiper-button-prev:hover::after {
  color: #fff;
}

body.dark-mode .product-detail-swiper .swiper-button-next,
body.dark-mode .product-detail-swiper .swiper-button-prev {
  background: rgba(40, 40, 40, 0.95);
}

body.dark-mode .product-detail-swiper .swiper-button-next::after,
body.dark-mode .product-detail-swiper .swiper-button-prev::after {
  color: var(--mnory-accent);
}

/* Swiper pagination */
.product-detail-swiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(0, 0, 0, 0.3);
  opacity: 1;
  transition: all 0.3s ease;
}

.product-detail-swiper .swiper-pagination-bullet-active {
  background: var(--mnory-accent);
  width: 32px;
  border-radius: 6px;
}

body.dark-mode .product-detail-swiper .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.3);
}

/* Thumbnail Swiper */
.product-detail-thumbs {
  margin-top: 1rem;
}

.product-detail-thumbs .swiper-slide {
  opacity: 0.6;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.product-detail-thumbs .swiper-slide-thumb-active {
  opacity: 1;
  border-color: var(--mnory-accent, #007aff);
  transform: scale(1.05);
}

.product-detail-thumbs .swiper-slide img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
}

/* Product Info Section */
.product-info-section {
  padding: 2rem;
  background: linear-gradient(135deg, rgba(248, 249, 250, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
  border-radius: 20px;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.1),
    0 6px 20px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
}

.product-info-section::-webkit-scrollbar {
  width: 8px;
}

.product-info-section::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
}

.product-info-section::-webkit-scrollbar-thumb {
  background: var(--mnory-accent);
  border-radius: 4px;
}

.product-info-section::-webkit-scrollbar-thumb:hover {
  background: var(--mnory-accent-hover, #0056cc);
}

body.dark-mode .product-info-section {
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.95) 0%, rgba(40, 40, 40, 0.9) 100%);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow:
    0 12px 40px rgba(0, 122, 255, 0.15),
    0 6px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

body.dark-mode .product-info-section::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

/* Product info light theme enhancements */
body:not(.dark-mode) .product-info-section {
  background: linear-gradient(135deg, rgba(248, 249, 250, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Product Title */
.product-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--theme-text);
  margin-bottom: 0.75rem;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Price Display */
.price-display {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.05) 0%, rgba(0, 122, 255, 0.02) 100%);
  border-radius: 16px;
  border: 1px solid rgba(0, 122, 255, 0.1);
}

body.dark-mode .price-display {
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.1) 0%, rgba(0, 122, 255, 0.05) 100%);
  border-color: rgba(0, 122, 255, 0.2);
}

.current-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--mnory-accent, #007aff);
  text-shadow: 0 2px 4px rgba(0, 122, 255, 0.2);
}

.original-price {
  font-size: 1.5rem;
  color: #999;
  text-decoration: line-through;
  font-weight: 500;
}

.sale-badge {
  background: linear-gradient(135deg, #ff3b30 0%, #d62d20 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(255, 59, 48, 0.3);
  animation: salePulse 2s ease-in-out infinite alternate;
}

@keyframes salePulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

/* Product Meta Information */
.product-meta {
  background: rgba(0, 0, 0, 0.02);
  padding: 1.5rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark-mode .product-meta {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.05);
}

.product-meta p {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-meta strong {
  color: var(--theme-text);
  font-weight: 600;
  min-width: 80px;
}

.product-meta a {
  color: var(--mnory-accent, #007aff);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.product-meta a:hover {
  color: var(--secondary-color, #A48111);
}

/* Stock Status */
.stock-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.stock-status.in-stock {
  background: linear-gradient(135deg, rgba(52, 199, 89, 0.1) 0%, rgba(52, 199, 89, 0.05) 100%);
  color: #34c759;
  border: 1px solid rgba(52, 199, 89, 0.2);
}

.stock-status.out-of-stock {
  background: linear-gradient(135deg, rgba(255, 59, 48, 0.1) 0%, rgba(255, 59, 48, 0.05) 100%);
  color: #ff3b30;
  border: 1px solid rgba(255, 59, 48, 0.2);
}

/* Color Selection */
.color-selection {
  margin-bottom: 2rem;
}

.color-selection h6 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--theme-text);
}

.color-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.color-select {
  background: var(--theme-bg);
  border: 2px solid var(--theme-border) !important;
  border-radius: 25px !important;
  padding: 0.75rem 1.25rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--theme-text);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

body:not(.dark-mode) .color-select {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.15) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.color-select::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(0, 122, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.color-select:hover::before {
  width: 200%;
  height: 200%;
}

.color-select:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 122, 255, 0.2);
  border-color: var(--mnory-accent) !important;
}

body:not(.dark-mode) .color-select:hover {
  box-shadow: 0 6px 18px rgba(0, 122, 255, 0.25);
}

.color-select.active {
  background: linear-gradient(135deg, var(--mnory-accent) 0%, #0051a8 100%);
  color: white !important;
  border-color: var(--mnory-accent) !important;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.3), 0 8px 25px rgba(0, 122, 255, 0.4);
}

body:not(.dark-mode) .color-select.active {
  background: linear-gradient(135deg, var(--mnory-accent) 0%, #0066cc 100%);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.25), 0 6px 20px rgba(0, 122, 255, 0.35);
}

.color-select.active .color-name,
.color-select.active .material-icons {
  position: relative;
  z-index: 1;
}

.color-select.active .color-swatch {
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3), 0 4px 8px rgba(0, 0, 0, 0.3);
  transform: scale(1.15);
}

.color-swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

body:not(.dark-mode) .color-swatch {
  border-color: rgba(0, 0, 0, 0.25);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

.color-select:hover .color-swatch {
  transform: scale(1.1);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

.color-name {
  position: relative;
  z-index: 1;
}

/* Size Selection */
.size-selection {
  margin-bottom: 2rem;
}

.size-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.size-select {
  background: var(--theme-card-bg);
  border: 2px solid rgba(0, 0, 0, 0.1) !important;
  border-radius: 12px !important;
  padding: 0.75rem 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  min-width: 50px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.size-select:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border-color: var(--mnory-accent, #007aff) !important;
}

.size-select.active {
  background: var(--mnory-accent, #007aff);
  color: white !important;
  border-color: var(--mnory-accent, #007aff) !important;
  transform: translateY(-2px);
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.btn-size-chart,
.btn-delivery-info {
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.1) 0%, rgba(0, 122, 255, 0.05) 100%);
  border: 1px solid rgba(0, 122, 255, 0.2);
  color: var(--mnory-accent, #007aff);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-size-chart:hover,
.btn-delivery-info:hover {
  background: linear-gradient(135deg, var(--mnory-accent, #007aff) 0%, #0056cc 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 122, 255, 0.3);
}

/* Quantity Selector */
#quantity-display {
  min-width: 40px;
  text-align: center;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--theme-text);
}

/* Toast Popup */
#toast-popup {
  z-index: 1055;
}

/* Social Share Buttons */
.btn[href*="facebook"] {
  background: linear-gradient(135deg, #3b5998 0%, #2d4373 100%);
  border-color: #3b5998;
  color: white;
  transition: all 0.3s ease;
}

.btn[href*="facebook"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 89, 152, 0.4);
}

.btn[href*="instagram"] {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #fff;
  border: none;
  transition: all 0.3s ease;
}

.btn[href*="instagram"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(253, 89, 73, 0.4);
}

.btn[href*="tiktok"] {
  background: linear-gradient(135deg, #000 0%, #333 100%);
  color: #fff;
  border: none;
  transition: all 0.3s ease;
}

.btn[href*="tiktok"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Color Swatch Styles */
.color-swatch {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.color-swatch-sm {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  vertical-align: middle;
  margin-right: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .product-title {
    font-size: 2rem;
  }

  .current-price {
    font-size: 2rem;
  }

  .product-detail-swiper .swiper-slide img {
    height: 400px;
  }

  .action-buttons {
    flex-direction: column;
  }

  .color-buttons,
  .size-buttons {
    justify-content: center;
  }
}

/* ========================================
   CART & WISHLIST PAGE STYLES
======================================== */

/* Cart Page Container */
.cart-page-container {
  background: var(--theme-bg);
  min-height: calc(100vh - 80px);
  padding: 2rem 0;
}

/* Cart Items Container */
.cart-items-container {
  background: var(--theme-card-bg);
  border-radius: 20px;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.08),
    0 6px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

body.dark-mode .cart-items-container {
  background: var(--theme-card-bg-dark, rgba(40, 40, 40, 0.95));
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 12px 40px rgba(0, 122, 255, 0.1),
    0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Cart Item */
.cart-item {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  background: transparent;
}

body.dark-mode .cart-item {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.cart-item:hover {
  background: rgba(0, 122, 255, 0.02);
  transform: translateX(4px);
}

body.dark-mode .cart-item:hover {
  background: rgba(0, 122, 255, 0.05);
}

.cart-item:last-child {
  border-bottom: none;
}

/* Cart Item Image */
.cart-item-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.cart-item:hover .cart-item-image {
  transform: scale(1.05);
}

/* Cart Item Details */
.cart-item-details {
  flex: 1;
  padding-left: 1.5rem;
}

.cart-item-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--theme-text);
  margin-bottom: 0.5rem;
  text-decoration: none;
}

.cart-item-title:hover {
  color: var(--mnory-accent, #007aff);
}

.cart-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--theme-text-secondary, #666);
}

.cart-item-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--mnory-accent, #007aff);
}

/* Quantity Controls */
.quantity-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 25px;
  padding: 0.25rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

body.dark-mode .quantity-controls {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.08);
}

.quantity-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--mnory-accent, #007aff);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
}

.quantity-btn:hover {
  background: #0056cc;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.4);
}

.quantity-display {
  min-width: 40px;
  text-align: center;
  font-weight: 600;
  color: var(--theme-text);
  font-size: 1rem;
}

/* Remove Button */
.remove-item-btn {
  background: linear-gradient(135deg, rgba(255, 59, 48, 0.1) 0%, rgba(255, 59, 48, 0.05) 100%);
  border: 1px solid rgba(255, 59, 48, 0.2);
  color: #ff3b30;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.remove-item-btn:hover {
  background: linear-gradient(135deg, #ff3b30 0%, #d62d20 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 59, 48, 0.3);
}

/* Cart Summary */
.cart-summary {
  background: var(--theme-card-bg);
  border-radius: 20px;
  padding: 2rem;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.08),
    0 6px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 100px;
}

body.dark-mode .cart-summary {
  background: var(--theme-card-bg-dark, rgba(40, 40, 40, 0.95));
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 12px 40px rgba(0, 122, 255, 0.1),
    0 6px 20px rgba(0, 0, 0, 0.2);
}

.cart-summary h3 {
  color: var(--theme-text);
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(0, 122, 255, 0.1);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.summary-row.total {
  font-size: 1.2rem;
  font-weight: 700;
  padding-top: 1rem;
  border-top: 2px solid rgba(0, 122, 255, 0.1);
  color: var(--mnory-accent, #007aff);
}

.checkout-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--mnory-accent, #007aff) 0%, #0056cc 100%);
  border: none;
  color: white;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-size: 1.1rem;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 122, 255, 0.3);
  margin-top: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.checkout-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 122, 255, 0.4);
  background: linear-gradient(135deg, #0056cc 0%, #004bb5 100%);
}

.checkout-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.2);
}

/* Empty Cart/Wishlist */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--theme-card-bg);
  border-radius: 20px;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.08),
    0 6px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark-mode .empty-state {
  background: var(--theme-card-bg-dark, rgba(40, 40, 40, 0.95));
  border-color: rgba(255, 255, 255, 0.1);
}

.empty-state-icon {
  font-size: 4rem;
  color: var(--mnory-accent, #007aff);
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.empty-state h3 {
  color: var(--theme-text);
  font-weight: 600;
  margin-bottom: 1rem;
}

.empty-state p {
  color: var(--theme-text-secondary, #666);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.continue-shopping-btn {
  background: linear-gradient(135deg, var(--mnory-accent, #007aff) 0%, #0056cc 100%);
  border: none;
  color: white;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 122, 255, 0.3);
  text-decoration: none;
  display: inline-block;
}

.continue-shopping-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 122, 255, 0.4);
  color: white;
}

/* Wishlist Specific Styles */
.wishlist-item {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.wishlist-item:hover {
  background: rgba(255, 59, 48, 0.02);
  transform: translateX(4px);
}

.wishlist-item .move-to-cart-btn {
  background: linear-gradient(135deg, rgba(52, 199, 89, 0.1) 0%, rgba(52, 199, 89, 0.05) 100%);
  border: 1px solid rgba(52, 199, 89, 0.2);
  color: #34c759;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wishlist-item .move-to-cart-btn:hover {
  background: linear-gradient(135deg, #34c759 0%, #2fb04c 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(52, 199, 89, 0.3);
}

/* Card Sticky Positioning */
.card.sticky-top {
  top: 100px;
  z-index: 10;
}

#empty-cart-message {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cart-item {
    flex-direction: column;
    text-align: center;
  }

  .cart-item-details {
    padding-left: 0;
    padding-top: 1rem;
  }

  .cart-item-image {
    width: 80px;
    height: 80px;
    margin: 0 auto;
  }

  .cart-summary {
    position: static;
    margin-top: 2rem;
  }

  .quantity-controls {
    justify-content: center;
    margin: 1rem 0;
  }
}

/* ========================================
   VENDOR & COMPANY DETAIL PAGES
======================================== */
.vendor-logo-circle {
  width: 100px;
  height: 100px;
  object-fit: cover;
}

.vendor-logo-placeholder {
  width: 100px;
  height: 100px;
}

.company-logo-placeholder {
  width: 120px;
  height: 120px;
  font-size: 50px;
  color: #007aff;
}

.filter-section.position-sticky {
  top: 90px;
  z-index: 10;
}

/* Profile Edit Images */
.profile-image-preview {
  max-width: 120px;
}

.company-logo-preview {
  max-height: 150px;
}

/* ========================================
   RESPONSIVE MOBILE STYLES
======================================== */
@media (max-width: 768px) {
  .slider-image {
    height: 50vh;
  }

  .hero-heading {
    font-size: 2.5rem !important;
    text-align: left;
    margin-bottom: 1rem;
    line-height: 1.1;
  }

  .hero-subtext {
    font-size: 1rem !important;
    text-align: left;
    max-width: 95%;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }

  .btn-hero-transparent {
    font-size: 0.85rem;
    padding: 0.4rem 0.9rem;
  }

  .btn-hero-primary {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    gap: 0.5rem;
  }

  .btn-hero-primary .material-icons {
    font-size: 20px;
  }

  .btn-hero-secondary {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    gap: 0.5rem;
  }

  .btn-hero-secondary .material-icons {
    font-size: 18px;
  }

  .hero-actions {
    gap: 0.75rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-button-wrapper {
    text-align: left !important;
  }

  .hero-badge {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
  }

  .hero-badge .material-icons {
    font-size: 16px;
  }

  .price-area span {
    font-size: 0.8rem;
  }
}

/* Responsive footer styles for small mobile */
@media (max-width: 576px) {
  footer .logo {
    font-size: 1.8rem;
  }

  footer h6 {
    font-size: 1rem;
  }

  footer p,
  footer li,
  footer a {
    font-size: 0.9rem;
  }

  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .price-area span {
    font-size: 0.75rem;
  }
}

/* ========================================
   HERO SLIDER - MODERN DESIGN WITH AOS
======================================== */

.hero-slider-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-swiper {
  width: 100%;
  height: 85vh;
  min-height: 600px;
}

.min-vh-70 {
  min-height: 70vh;
}

/* Slide Container */
.hero-slide-container {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Background Image */
.hero-slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Overlay - Theme Aware */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 122, 255, 0.4) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(26, 26, 26, 0.45) 100%
  );
  z-index: 2;
  transition: background 0.5s ease;
}

body.dark-mode .hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(0, 122, 255, 0.5) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(26, 26, 26, 0.5) 100%
  );
}

/* Content Wrapper */
.hero-content-wrapper {
  position: relative;
  z-index: 3;
  height: 100%;
  padding: 2rem 15px;
}

/* Content */
.hero-content {
  padding: 2rem 0;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.hero-badge:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.hero-badge .material-icons {
  font-size: 20px;
}

body.dark-mode .hero-badge {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Heading */
.hero-heading {
  font-size: 4rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow:
    0 4px 8px rgba(0, 0, 0, 0.6),
    0 2px 4px rgba(0, 0, 0, 0.4),
    0 1px 2px rgba(0, 0, 0, 0.8);
  letter-spacing: -1px;
}

/* Subtext */
.hero-subtext {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.98);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 600px;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.5),
    0 1px 2px rgba(0, 0, 0, 0.7);
  font-weight: 400;
}

/* Dark mode text enhancements */
body.dark-mode .hero-heading {
  text-shadow:
    0 4px 8px rgba(0, 122, 255, 0.3),
    0 2px 4px rgba(0, 0, 0, 0.7),
    0 1px 2px rgba(0, 0, 0, 0.9);
}

body.dark-mode .hero-subtext {
  text-shadow:
    0 2px 4px rgba(0, 122, 255, 0.2),
    0 1px 2px rgba(0, 0, 0, 0.8);
}

/* Actions */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Primary Button */
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--gradient-start), var(--mnory-accent));
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 122, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-hero-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 122, 255, 0.6);
  color: #ffffff;
}

.btn-hero-primary:hover::before {
  left: 100%;
}

.btn-hero-primary .material-icons {
  font-size: 24px;
  transition: transform 0.3s ease;
}

.btn-hero-primary:hover .material-icons {
  transform: translateX(5px);
}

/* Secondary Button */
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: transparent;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.8);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-hero-secondary .material-icons {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.btn-hero-secondary:hover .material-icons {
  transform: rotate(90deg);
}

/* Navigation Buttons */
.hero-nav-btn {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.hero-nav-btn::after {
  display: none;
}

.hero-nav-btn .material-icons {
  font-size: 32px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-nav-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

body.dark-mode .hero-nav-btn {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 122, 255, 0.2);
}

body.dark-mode .hero-nav-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 40px rgba(0, 122, 255, 0.3);
}

/* Pagination */
.hero-pagination {
  bottom: 30px !important;
}

.hero-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  transition: all 0.3s ease;
}

.hero-pagination .swiper-pagination-bullet-active {
  width: 40px;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.4);
}

/* ========================================
   HERO SLIDER RESPONSIVE STYLES
======================================== */

/* Tablet and below */
@media (max-width: 992px) {
  .hero-swiper {
    height: 75vh;
    min-height: 500px;
  }

  .hero-content-wrapper {
    padding: 1.5rem 15px;
  }

  .hero-heading {
    font-size: 3rem;
  }

  .hero-subtext {
    font-size: 1.1rem;
  }

  .btn-hero-primary {
    padding: 0.9rem 2rem;
    font-size: 1rem;
  }

  .btn-hero-secondary {
    padding: 0.9rem 1.75rem;
    font-size: 0.95rem;
  }
}

/* Mobile landscape and below */
@media (max-width: 768px) {
  .hero-swiper {
    height: 70vh;
    min-height: 450px;
  }

  .min-vh-70 {
    min-height: 50vh;
  }

  .hero-content-wrapper {
    padding: 1rem 15px;
  }

  .hero-content {
    padding: 1rem 0;
  }

  .hero-heading {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
  }

  .hero-subtext {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    max-width: 100%;
  }

  .btn-hero-primary {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }

  .btn-hero-secondary {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }

  .hero-actions {
    gap: 0.75rem;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-badge {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
  }

  .hero-badge .material-icons {
    font-size: 16px;
  }

  .hero-pagination {
    bottom: 20px !important;
  }
}

/* Small mobile */
@media (max-width: 576px) {
  .hero-swiper {
    height: 65vh;
    min-height: 400px;
  }

  .min-vh-70 {
    min-height: 45vh;
  }

  .hero-heading {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }

  .hero-subtext {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
  }

  .btn-hero-primary {
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
    width: 100%;
    justify-content: center;
  }

  .btn-hero-primary .material-icons {
    font-size: 20px;
  }

  .btn-hero-secondary {
    padding: 0.65rem 1rem;
    font-size: 0.8rem;
    width: 100%;
    justify-content: center;
  }

  .btn-hero-secondary .material-icons {
    font-size: 18px;
  }

  .hero-badge {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }

  .hero-badge .material-icons {
    font-size: 14px;
  }

  .hero-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }

  .hero-pagination .swiper-pagination-bullet-active {
    width: 30px;
  }
}

/* Extra small mobile */
@media (max-width: 420px) {
  .hero-swiper {
    height: 60vh;
    min-height: 350px;
  }

  .hero-heading {
    font-size: 1.75rem;
  }

  .hero-subtext {
    font-size: 0.85rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .btn-hero-primary .material-icons,
  .btn-hero-secondary .material-icons {
    font-size: 16px;
  }

  .hero-badge {
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
  }

  .hero-badge .material-icons {
    font-size: 12px;
  }

  .hero-pagination {
    bottom: 15px !important;
  }
}

/* Default Hero Section */
.default-hero-section {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-middle) 50%, var(--gradient-end) 100%);
  padding: 6rem 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

body.dark-mode .default-hero-section {
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.9) 0%, rgba(0, 0, 0, 0.95) 50%, rgba(26, 26, 26, 0.98) 100%);
}

.default-hero-content {
  position: relative;
  z-index: 2;
}

.hero-text-content {
  color: #ffffff;
}

.hero-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-subtitle .material-icons {
  font-size: 20px;
}

.hero-title {
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  max-width: 500px;
}

/* Decorative Elements */
.hero-illustration {
  position: relative;
  height: 400px;
}

.hero-decoration-circle {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.2), rgba(255, 255, 255, 0.1));
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float 6s ease-in-out infinite;
}

.hero-decoration-square {
  position: absolute;
  width: 150px;
  height: 150px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  top: 20%;
  right: 20%;
  animation: rotate-square 10s linear infinite;
}

@keyframes float {
  0%, 100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-30px);
  }
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .hero-swiper {
    height: 70vh;
    min-height: 500px;
  }

  .hero-heading {
    font-size: 3rem;
  }

  .hero-subtext {
    font-size: 1.1rem;
  }

  .btn-hero-primary {
    padding: 0.9rem 2rem;
    font-size: 1rem;
  }

  .btn-hero-secondary {
    padding: 0.9rem 1.75rem;
    font-size: 0.95rem;
  }

  .hero-nav-btn {
    width: 50px;
    height: 50px;
  }

  .hero-nav-btn .material-icons {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .hero-swiper {
    height: 60vh;
    min-height: 450px;
  }

  .hero-heading {
    font-size: 2.5rem;
  }

  .hero-subtext {
    font-size: 1rem;
  }

  .btn-hero-primary {
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
  }

  .btn-hero-secondary {
    padding: 0.85rem 1.5rem;
    font-size: 0.9rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-nav-btn {
    display: none;
  }

  .default-hero-section {
    padding: 4rem 0;
    min-height: 60vh;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .hero-swiper {
    height: 55vh;
    min-height: 400px;
  }

  .hero-content {
    padding: 1rem 0;
  }

  .hero-badge {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
  }

  .hero-heading {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .hero-subtext {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .btn-hero-primary {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
  }

  .btn-hero-secondary {
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    width: 100%;
    justify-content: center;
  }

  .hero-pagination {
    bottom: 20px !important;
  }

  .default-hero-section {
    padding: 3rem 0;
    min-height: 50vh;
  }

  .hero-subtitle {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-heading {
    font-size: 1.75rem;
  }

  .hero-subtext {
    font-size: 0.9rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    font-size: 0.85rem;
    padding: 0.7rem 1.25rem;
  }
}

/* ========================================
   CATEGORY TABS SYSTEM - THEME AWARE
======================================== */

.category-tabs-section {
  padding: 4rem 0;
  background: var(--theme-bg);
  transition: background 0.3s ease;
}

body.dark-mode .category-tabs-section {
  background: var(--theme-bg);
}

/* Section Header */
.section-header-tabs {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title-tabs {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--theme-text);
  margin-bottom: 0.5rem;
}

.section-title-tabs .material-icons {
  font-size: 3rem;
  color: var(--mnory-accent);
}

.section-subtitle-tabs {
  font-size: 1.1rem;
  color: var(--theme-text-muted);
  margin: 0 auto;
  text-align: center;
  max-width: 600px;
  line-height: 1.6;
  font-weight: 400;
  opacity: 0.9;
  transition: color 0.3s ease, opacity 0.3s ease;
  letter-spacing: 0.025em;
  margin-top: 0.5rem;
}

/* Dark mode specific styling for section subtitle */
body.dark-mode .section-subtitle-tabs {
  color: rgba(255, 255, 255, 0.7);
  opacity: 0.9;
}

/* Light mode specific styling for section subtitle */
body:not(.dark-mode) .section-subtitle-tabs {
  color: rgba(0, 0, 0, 0.6);
  opacity: 0.9;
}

/* Category Tabs Navigation Wrapper */
.category-tabs-nav-wrapper {
  position: relative;
  margin-bottom: 3rem;
  padding: 0 60px;
}

.category-tabs-nav {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1rem 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.category-tabs-nav::-webkit-scrollbar {
  display: none;
}

/* Tab Button */
.category-tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.75rem;
  background: var(--theme-bg-secondary);
  border: 2px solid var(--theme-border);
  border-radius: 16px;
  color: var(--theme-text);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  min-width: 140px;
  flex-shrink: 0;
  overflow: hidden;
}

.category-tab-btn:hover {
  background: var(--theme-bg-tertiary);
  border-color: var(--mnory-accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--theme-shadow);
}

.category-tab-btn.active {
  background: linear-gradient(135deg, var(--gradient-start), var(--mnory-accent));
  color: #ffffff;
  border-color: var(--mnory-accent);
  box-shadow: 0 8px 25px rgba(0, 122, 255, 0.4);
  transform: translateY(-5px);
}

body.dark-mode .category-tab-btn.active {
  background: linear-gradient(135deg, var(--mnory-accent), #0056cc);
  box-shadow: 0 8px 25px rgba(64, 159, 255, 0.5);
}

/* Tab Icon */
.tab-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 122, 255, 0.1);
  transition: all 0.3s ease;
}

.category-tab-btn.active .tab-icon {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.tab-icon .material-icons {
  font-size: 28px;
  color: var(--mnory-accent);
}

.category-tab-btn.active .tab-icon .material-icons {
  color: #ffffff;
}

/* Tab Image */
.tab-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  border: 2px solid var(--theme-border);
}

.category-tab-btn.active .tab-image {
  border-color: rgba(255, 255, 255, 0.5);
}

/* Tab Label */
.tab-label {
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.3s ease;
}

/* Tab Indicator */
.tab-indicator {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 3px;
  background: #ffffff;
  border-radius: 3px 3px 0 0;
  transition: transform 0.3s ease;
}

.category-tab-btn.active .tab-indicator {
  transform: translateX(-50%) scaleX(1);
}

/* Navigation Arrows */
.tab-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: var(--theme-bg-secondary);
  border: 2px solid var(--theme-border);
  border-radius: 50%;
  color: var(--theme-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
}

.tab-nav-arrow:hover {
  background: var(--mnory-accent);
  color: #ffffff;
  border-color: var(--mnory-accent);
  transform: translateY(-50%) scale(1.1);
}

.tab-nav-prev {
  left: 0;
}

.tab-nav-next {
  right: 0;
}

.tab-nav-arrow .material-icons {
  font-size: 24px;
}

/* Products Container */
.category-products-container {
  position: relative;
  min-height: 500px;
}

/* Category Products Header */
.category-products-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.category-products-title {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 2rem;
  font-weight: 700;
  color: var(--theme-text);
  margin-bottom: 0.75rem;
}

.category-products-title .material-icons {
  font-size: 2.25rem;
  color: var(--mnory-accent);
}

.category-products-subtitle {
  font-size: 1.1rem;
  color: var(--theme-text-muted);
  margin: 0;
}

/* Enhanced Loading State */
.products-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
  color: var(--theme-text-muted);
}

.loading-spinner {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
}

.spinner-ring {
  position: absolute;
  border: 4px solid transparent;
  border-top: 4px solid var(--mnory-accent);
  border-radius: 50%;
  animation: spin-ring 1.2s linear infinite;
}

.spinner-ring:nth-child(1) {
  width: 80px;
  height: 80px;
  animation-delay: 0s;
}

.spinner-ring:nth-child(2) {
  width: 60px;
  height: 60px;
  top: 10px;
  left: 10px;
  animation-delay: -0.4s;
  border-top-color: rgba(0, 122, 255, 0.7);
}

.spinner-ring:nth-child(3) {
  width: 40px;
  height: 40px;
  top: 20px;
  left: 20px;
  animation-delay: -0.8s;
  border-top-color: rgba(0, 122, 255, 0.4);
}

@keyframes spin-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading-text {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--theme-text-muted);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 0.5rem;
}

/* Enhanced Empty State */
.products-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
  color: var(--theme-text-muted);
}

.empty-illustration {
  position: relative;
  margin-bottom: 2rem;
}

.empty-icon {
  font-size: 100px;
  color: var(--theme-text-muted);
  opacity: 0.3;
  z-index: 2;
  position: relative;
}

.empty-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.ring {
  position: absolute;
  border: 2px solid transparent;
  border-top: 2px solid var(--mnory-accent);
  border-radius: 50%;
  animation: rotate-ring 3s linear infinite;
}

.ring-1 {
  width: 120px;
  height: 120px;
  top: -60px;
  left: -60px;
  opacity: 0.3;
}

.ring-2 {
  width: 100px;
  height: 100px;
  top: -50px;
  left: -50px;
  animation-delay: -1s;
  opacity: 0.2;
}

.ring-3 {
  width: 80px;
  height: 80px;
  top: -40px;
  left: -40px;
  animation-delay: -2s;
  opacity: 0.1;
}

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

.empty-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--theme-text);
  margin-bottom: 0.75rem;
}

.empty-message {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 400px;
}

/* Enhanced Product Cards */
.product-card {
  background: var(--theme-card-bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px var(--theme-shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px var(--theme-shadow);
}

body.dark-mode .product-card {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

body.dark-mode .product-card:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

.product-image-wrapper {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--theme-bg-secondary);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.sale-badge {
  position: absolute;
  top: 25px;
  left: 3px;
  background: linear-gradient(135deg, #ff6b35, #ff8c42);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.product-icons {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease;
}

.product-card:hover .product-icons {
  opacity: 1;
  transform: translateX(0);
}

.btn-icon-action {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--theme-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-icon-action:hover {
  background: var(--mnory-accent);
  color: white;
  transform: scale(1.1);
}

.btn-icon-action.wishlist-btn.active {
  background: #ff6b6b;
  color: white;
}

.btn-icon-action .material-icons {
  font-size: 20px;
}

.product-info {
  padding: 1.25rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--theme-text);
  margin-bottom: 0.75rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.price-area {
  margin-bottom: 1rem;
}

.regular-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--mnory-accent);
}

.sale-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ff6b35;
  margin-left: 0.5rem;
}

.original-price {
  font-size: 1rem;
  color: var(--theme-text-muted);
  text-decoration: line-through;
}

.card-footer-vendor {
  border-top: 1px solid var(--theme-border);
  padding: 0.75rem 1.25rem;
  background: var(--theme-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.vendor-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vendor-name {
  font-size: 0.9rem;
  color: var(--theme-text-muted);
  font-weight: 500;
}

.vendor-rating .material-icons {
  font-size: 16px;
  color: #ffd700;
}

.btn-view-vendor {
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--theme-border);
  background: transparent;
  color: var(--theme-text);
  transition: all 0.3s ease;
}

.btn-view-vendor:hover {
  background: var(--mnory-accent);
  color: white;
  border-color: var(--mnory-accent);
}

.btn-view-vendor .material-icons {
  font-size: 14px;
  margin-right: 0.25rem;
}

/* View All Button */
.btn-view-all,
.btn-view-all-category {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--gradient-start), var(--mnory-accent));
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
}

.btn-view-all:hover,
.btn-view-all-category:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 122, 255, 0.5);
  color: #ffffff;
}

.btn-view-all .material-icons,
.btn-view-all-category .material-icons {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.btn-view-all:hover .material-icons,
.btn-view-all-category:hover .material-icons {
  transform: translateX(5px);
}

/* Section Headers for Product Sections */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--theme-border);
}

.section-title-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-icon {
  font-size: 2rem;
  color: var(--mnory-accent);
}

.text-theme {
  color: var(--theme-text);
  font-weight: 700;
  font-size: 1.8rem;
}

.sale-title {
  color: #ff6b35;
}

.sale-icon {
  color: #ff6b35;
}

/* Swiper Controls */
.swiper-controls {
  display: flex;
  gap: 0.5rem;
}

.btn-swiper-nav {
  width: 45px;
  height: 45px;
  background: var(--theme-bg-secondary);
  border: 2px solid var(--theme-border);
  border-radius: 50%;
  color: var(--theme-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-swiper-nav:hover {
  background: var(--mnory-accent);
  color: #ffffff;
  border-color: var(--mnory-accent);
  transform: scale(1.1);
}

.btn-swiper-nav .material-icons {
  font-size: 24px;
}

.btn-swiper-nav.swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

/* Sale Section Special Styling */
.sale-section {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(255, 107, 53, 0.02));
  border-radius: 20px;
  padding: 3rem 0 !important;
  margin: 2rem 0;
}

body.dark-mode .sale-section {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 107, 53, 0.05));
}

/* Responsive Design */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.25rem;
  }

  .category-products-title {
    font-size: 1.8rem;
  }

  .category-products-title .material-icons {
    font-size: 2rem;
  }
}

@media (max-width: 992px) {
  .section-title-tabs {
    font-size: 2rem;
  }

  .section-title-tabs .material-icons {
    font-size: 2.5rem;
  }

  .category-tabs-nav-wrapper {
    padding: 0 50px;
  }

  .category-tab-btn {
    min-width: 120px;
    padding: 1rem 1.5rem;
  }

  .tab-icon {
    width: 42px;
    height: 42px;
  }

  .tab-icon .material-icons {
    font-size: 24px;
  }

  .tab-image {
    width: 42px;
    height: 42px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
  }

  .text-theme {
    font-size: 1.6rem;
  }

  .section-icon {
    font-size: 1.75rem;
  }

  .category-products-title {
    font-size: 1.6rem;
  }

  .category-products-subtitle {
    font-size: 1rem;
  }

  .empty-icon {
    font-size: 80px;
  }

  .loading-spinner {
    width: 60px;
    height: 60px;
  }

  .spinner-ring:nth-child(1) {
    width: 60px;
    height: 60px;
  }

  .spinner-ring:nth-child(2) {
    width: 45px;
    height: 45px;
    top: 7.5px;
    left: 7.5px;
  }

  .spinner-ring:nth-child(3) {
    width: 30px;
    height: 30px;
    top: 15px;
    left: 15px;
  }
}

@media (max-width: 768px) {
  .category-tabs-section {
    padding: 3rem 0;
  }

  .section-header-tabs {
    margin-bottom: 2rem;
  }

  .section-title-tabs {
    font-size: 1.75rem;
  }

  .section-title-tabs .material-icons {
    font-size: 2rem;
  }

  .section-subtitle-tabs {
    font-size: 1rem;
    max-width: 90%;
    margin: 0 auto;
    text-align: center;
    padding: 0 1rem;
  }

  .category-tabs-nav-wrapper {
    padding: 0 40px;
    margin-bottom: 2rem;
  }

  .category-tab-btn {
    min-width: 110px;
    padding: 0.9rem 1.25rem;
    font-size: 0.95rem;
  }

  .tab-icon {
    width: 38px;
    height: 38px;
  }

  .tab-icon .material-icons {
    font-size: 22px;
  }

  .tab-image {
    width: 38px;
    height: 38px;
  }

  .tab-nav-arrow {
    width: 40px;
    height: 40px;
  }

  .tab-nav-arrow .material-icons {
    font-size: 20px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .text-theme {
    font-size: 1.5rem;
  }

  .btn-view-all,
  .btn-view-all-category {
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
  }

  .category-products-title {
    font-size: 1.5rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  .category-products-title .material-icons {
    font-size: 1.75rem;
  }

  .category-products-subtitle {
    font-size: 0.95rem;
  }

  .category-products-header {
    margin-bottom: 2rem;
  }

  .product-card {
    border-radius: 12px;
  }

  .product-info {
    padding: 1rem;
  }

  .product-name {
    font-size: 1rem;
  }

  .btn-icon-action {
    width: 36px;
    height: 36px;
  }

  .btn-icon-action .material-icons {
    font-size: 18px;
  }

  .empty-title {
    font-size: 1.3rem;
  }

  .empty-message {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .category-tabs-section {
    padding: 2rem 0;
  }

  .section-title-tabs {
    font-size: 1.5rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  .section-title-tabs .material-icons {
    font-size: 1.75rem;
  }

  .section-subtitle-tabs {
    font-size: 0.95rem;
    max-width: 95%;
    margin: 0 auto;
    text-align: center;
    padding: 0 0.75rem;
  }

  .category-tabs-nav-wrapper {
    padding: 0 30px;
  }

  .category-tab-btn {
    min-width: 100px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .tab-icon {
    width: 36px;
    height: 36px;
  }

  .tab-icon .material-icons {
    font-size: 20px;
  }

  .tab-image {
    width: 36px;
    height: 36px;
  }

  .tab-nav-arrow {
    width: 36px;
    height: 36px;
  }

  .tab-nav-arrow .material-icons {
    font-size: 18px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0;
  }

  .text-theme {
    font-size: 1.3rem;
  }

  .section-icon {
    font-size: 1.5rem;
  }

  .btn-swiper-nav {
    width: 40px;
    height: 40px;
  }

  .btn-swiper-nav .material-icons {
    font-size: 20px;
  }

  .btn-view-all,
  .btn-view-all-category {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
  }

  .empty-icon {
    font-size: 60px;
  }

  .empty-message {
    font-size: 0.95rem;
  }

  .category-products-title {
    font-size: 1.3rem;
  }

  .category-products-subtitle {
    font-size: 0.9rem;
  }

  .category-products-header {
    margin-bottom: 1.5rem;
  }

  .product-info {
    padding: 0.875rem;
  }

  .product-name {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }

  .regular-price,
  .sale-price {
    font-size: 1.1rem;
  }

  .original-price {
    font-size: 0.9rem;
  }

  .card-footer-vendor {
    padding: 0.5rem 0.875rem;
  }

  .vendor-name {
    font-size: 0.8rem;
  }

  .btn-view-vendor {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }

  .loading-spinner {
    width: 50px;
    height: 50px;
  }

  .spinner-ring:nth-child(1) {
    width: 50px;
    height: 50px;
  }

  .spinner-ring:nth-child(2) {
    width: 37.5px;
    height: 37.5px;
    top: 6.25px;
    left: 6.25px;
  }

  .spinner-ring:nth-child(3) {
    width: 25px;
    height: 25px;
    top: 12.5px;
    left: 12.5px;
  }

  .loading-text {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .category-tab-btn {
    min-width: 90px;
    padding: 0.6rem 0.85rem;
    font-size: 0.85rem;
  }

  .tab-label {
    font-size: 0.85rem;
  }

  .category-products-title {
    font-size: 1.2rem;
  }

  .category-products-subtitle {
    font-size: 0.85rem;
  }

  .product-name {
    font-size: 0.9rem;
  }

  .regular-price,
  .sale-price {
    font-size: 1rem;
  }

  .original-price {
    font-size: 0.85rem;
  }
}

/* ================================
   PRODUCT SECTIONS STYLING
   ================================ */

/* Base Product Section */
.product-section {
  padding: 4rem 0;
  background: var(--theme-bg);
  transition: background-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.product-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(var(--mnory-accent-rgb), 0.02) 50%, transparent 100%);
  pointer-events: none;
}

/* Section Variants */
.featured-section {
  background: linear-gradient(135deg, var(--theme-bg) 0%, rgba(var(--mnory-accent-rgb), 0.05) 100%);
}

.newarrivals-section {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.03) 0%, var(--theme-bg) 100%);
}

.bestseller-section {
  background: linear-gradient(135deg, var(--theme-bg) 0%, rgba(255, 193, 7, 0.03) 100%);
}

.sale-section {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.03) 0%, var(--theme-bg) 100%);
  position: relative;
}

.sale-section::after {
  content: '';
  position: absolute;
  top: 20px;
  right: 20px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(220, 53, 69, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-sale 3s ease-in-out infinite;
}

/* Background removed for home-categories-section and freelance-categories-section */

/* Section Animations */
@keyframes pulse-sale {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

/* Products Swiper Wrapper */
.products-swiper-wrapper {
  position: relative;
  margin-bottom: 2rem;
}

/* Swiper Navigation */
.swiper-navigation {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.swiper-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--theme-bg-secondary);
  border: 2px solid var(--theme-border);
  border-radius: 50%;
  color: var(--theme-text);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.swiper-nav-btn:hover {
  background: var(--mnory-accent);
  color: white;
  border-color: var(--mnory-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--mnory-accent-rgb), 0.3);
}

.swiper-nav-btn:active {
  transform: translateY(0);
}

.swiper-nav-btn .material-icons {
  font-size: 24px;
}

.swiper-nav-btn.swiper-button-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
  color: var(--theme-text-muted);
  background: var(--theme-bg-secondary);
  border-radius: 12px;
  border: 2px dashed var(--theme-border);
  margin: 2rem 0;
}

.empty-state .material-icons {
  font-size: 4rem;
  color: var(--mnory-accent);
  margin-bottom: 1rem;
  opacity: 0.7;
}

.empty-state p {
  font-size: 1.1rem;
  margin: 0;
  max-width: 300px;
}

/* Sale Section Special Styling */
.sale-title {
  color: #dc3545 !important;
  text-shadow: 0 0 10px rgba(220, 53, 69, 0.3);
}

.sale-icon {
  color: #dc3545 !important;
  animation: bounce-sale 2s ease-in-out infinite;
}

@keyframes bounce-sale {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Dark Mode Adjustments */
body.dark-mode .product-section {
  background: var(--theme-bg);
}

body.dark-mode .featured-section {
  background: linear-gradient(135deg, var(--theme-bg) 0%, rgba(var(--mnory-accent-rgb), 0.08) 100%);
}

body.dark-mode .newarrivals-section {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.05) 0%, var(--theme-bg) 100%);
}

body.dark-mode .bestseller-section {
  background: linear-gradient(135deg, var(--theme-bg) 0%, rgba(255, 193, 7, 0.05) 100%);
}

body.dark-mode .sale-section {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.05) 0%, var(--theme-bg) 100%);
}

/* Dark mode background removed for home-categories-section and freelance-categories-section */

body.dark-mode .swiper-nav-btn {
  background: var(--theme-bg-tertiary);
  border-color: var(--theme-border);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.05);
}

body.dark-mode .swiper-nav-btn:hover {
  box-shadow: 0 8px 25px rgba(var(--mnory-accent-rgb), 0.4);
}

body.dark-mode .empty-state {
  background: var(--theme-bg-tertiary);
  border-color: var(--theme-border);
}

/* Enhanced Swiper Styling */
.swiper-slide {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.swiper-slide:hover {
  transform: translateY(-5px);
}

/* Product Card Enhancements within Swipers */
.product-section .swiper-slide .product-card {
  background: var(--theme-bg-secondary);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--theme-border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.product-section .swiper-slide .product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(var(--mnory-accent-rgb), 0.15);
  border-color: var(--mnory-accent);
}

/* Section Transition Effects */
.product-section {
  opacity: 0;
  animation: sectionFadeIn 0.8s ease-out forwards;
}

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

/* Loading Animation for Sections */
.product-section.loading {
  position: relative;
}

.product-section.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  border: 3px solid var(--theme-border);
  border-top: 3px solid var(--mnory-accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translate(-50%, -50%);
  z-index: 10;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Dark Mode Product Card Enhancements */
body.dark-mode .product-section .swiper-slide .product-card {
  background: var(--theme-bg-tertiary);
  border-color: var(--theme-border);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.05);
}

body.dark-mode .product-section .swiper-slide .product-card:hover {
  box-shadow: 0 12px 35px rgba(var(--mnory-accent-rgb), 0.2);
}
@media (max-width: 768px) {
  .product-section {
    padding: 3rem 0;
  }

  .section-header-tabs {
    margin-bottom: 2rem;
  }

  .section-title-tabs {
    font-size: 2rem;
  }

  .section-title-tabs .material-icons {
    font-size: 2.5rem;
  }

  .swiper-navigation {
    gap: 0.5rem;
  }

  .swiper-nav-btn {
    width: 45px;
    height: 45px;
  }

  .swiper-nav-btn .material-icons {
    font-size: 20px;
  }

  .empty-state {
    padding: 3rem 1.5rem;
  }

  .empty-state .material-icons {
    font-size: 3rem;
  }

  .sale-section::after {
    display: none;
  }
}

@media (max-width: 576px) {
  .product-section {
    padding: 2.5rem 0;
  }

  .section-title-tabs {
    font-size: 1.75rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  .section-title-tabs .material-icons {
    font-size: 2rem;
  }

  .section-subtitle-tabs {
    font-size: 1rem;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 0 0.5rem;
  }

  .swiper-nav-btn {
    width: 40px;
    height: 40px;
  }

  .swiper-nav-btn .material-icons {
    font-size: 18px;
  }

  .empty-state {
    padding: 2rem 1rem;
  }

  .empty-state .material-icons {
    font-size: 2.5rem;
  }

  .empty-state p {
    font-size: 1rem;
  }
}

/* ========================================
   MODERN CATEGORIES SECTION
======================================== */

/* Modern Categories Section */
.modern-categories-section {
    background: var(--theme-bg-secondary);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.modern-categories-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(var(--mnory-accent-rgb), 0.03) 0%,
        transparent 50%,
        rgba(var(--mnory-accent-rgb), 0.03) 100%
    );
    pointer-events: none;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

/* Category Card */
.category-card {
    background: var(--theme-bg);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid var(--theme-border);
    box-shadow:
        0 4px 20px -4px rgba(var(--theme-text-rgb), 0.1),
        0 2px 4px rgba(var(--theme-text-rgb), 0.05);
    position: relative;
}

.category-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 40px -8px rgba(var(--mnory-accent-rgb), 0.2),
        0 8px 16px rgba(var(--theme-text-rgb), 0.15);
    border-color: var(--mnory-accent);
}

.category-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

/* Category Icon Wrapper */
.category-icon-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--mnory-accent), rgba(var(--mnory-accent-rgb), 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.4s ease;
}

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

.category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon .material-icons {
    font-size: 4rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.category-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.category-overlay .material-icons {
    font-size: 24px;
    color: var(--mnory-accent);
}

.category-card:hover .category-overlay {
    transform: translate(-50%, -50%) scale(1);
}

/* Category Content */
.category-content {
    padding: 1.5rem;
}

.category-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--theme-text);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.category-card:hover .category-name {
    color: var(--mnory-accent);
}

.category-description {
    font-size: 0.95rem;
    color: var(--theme-text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.category-stats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--theme-text-muted);
    font-size: 0.9rem;
}

.category-stats .material-icons {
    font-size: 18px;
    color: var(--mnory-accent);
}

/* All Categories Card Special Styling */
.category-card.all-categories .category-icon-wrapper {
    background: linear-gradient(135deg, #6c757d, #495057);
}

.category-card.all-categories:hover .category-name {
    color: #6c757d;
}

/* Registration Section */
.registration-section {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid var(--theme-border);
    position: relative;
    z-index: 2;
}

.registration-title {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--theme-text);
    margin-bottom: 1rem;
}

.registration-title .material-icons {
    font-size: 2.5rem;
    color: var(--mnory-accent);
}

.registration-subtitle {
    font-size: 1.1rem;
    color: var(--theme-text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.registration-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.registration-card {
    background: var(--theme-card-bg);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid var(--theme-border);
    box-shadow:
        0 4px 15px -4px rgba(var(--theme-text-rgb), 0.1),
        0 2px 4px rgba(var(--theme-text-rgb), 0.05);
}

.registration-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 15px 30px -6px rgba(var(--mnory-accent-rgb), 0.2),
        0 6px 12px rgba(var(--theme-text-rgb), 0.1);
}

.registration-card .card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--mnory-accent), rgba(var(--mnory-accent-rgb), 0.8));
    border-radius: 50%;
    margin-bottom: 1.5rem;
    margin-left: auto;
    margin-right: auto;
}

.registration-card .card-icon .material-icons {
    font-size: 2.5rem;
    color: white;
}

.registration-card .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--theme-text);
    margin-bottom: 1rem;
}

.registration-card .card-description {
    font-size: 1rem;
    color: var(--theme-text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.registration-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--mnory-accent);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--mnory-accent);
}

.registration-btn:hover {
    background: transparent;
    color: var(--mnory-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(var(--mnory-accent-rgb), 0.3);
}

.registration-btn .material-icons {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.registration-btn:hover .material-icons {
    transform: translateX(4px);
}

/* Dark Mode Adjustments */
body.dark-mode .modern-categories-section {
    background: var(--theme-bg-secondary);
}

body.dark-mode .category-card {
    background: var(--theme-bg-tertiary);
    border-color: var(--theme-border);
    box-shadow:
        0 4px 20px -4px rgba(0, 0, 0, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.2);
}

body.dark-mode .category-card:hover {
    box-shadow:
        0 20px 40px -8px rgba(var(--mnory-accent-rgb), 0.3),
        0 8px 16px rgba(0, 0, 0, 0.4);
}

body.dark-mode .registration-card {
    background: var(--theme-bg-tertiary);
    border-color: var(--theme-border);
    box-shadow:
        0 4px 15px -4px rgba(0, 0, 0, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.2);
}

body.dark-mode .registration-card:hover {
    box-shadow:
        0 15px 30px -6px rgba(var(--mnory-accent-rgb), 0.3),
        0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-categories-section {
        padding: 3rem 0;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .category-icon-wrapper {
        height: 160px;
    }

    .category-icon .material-icons {
        font-size: 3rem;
    }

    .category-content {
        padding: 1.25rem;
    }

    .category-name {
        font-size: 1.25rem;
    }

    .registration-title {
        font-size: 1.75rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .registration-title .material-icons {
        font-size: 2rem;
    }

    .registration-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .registration-card {
        padding: 1.5rem;
    }

    .registration-card .card-icon {
        width: 60px;
        height: 60px;
    }

    .registration-card .card-icon .material-icons {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .modern-categories-section {
        padding: 2rem 0;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .category-icon-wrapper {
        height: 140px;
    }

    .category-content {
        padding: 1rem;
    }

    .registration-title {
        font-size: 1.5rem;
    }

    .registration-card {
        padding: 1.25rem;
    }

    .registration-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}

.category-circle-modern {
    width: 140px;
    height: 140px;
    overflow: hidden;
    border-radius: 50%;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.category-circle-modern::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #007aff, #00c6ff, #007aff);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-circle-modern:hover::before {
    opacity: 1;
}

.category-circle-modern:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.4);
}

.category-circle-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    filter: brightness(1.1) contrast(1.1);
}

.category-circle-modern:hover img {
    transform: scale(1.1);
}

.category-label-modern {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    margin-top: 1rem;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Swiper Specific Styles */
.sustainable-category-swiper-unique {
    margin-bottom: 3rem;
}

.sustainable-category-swiper-unique .swiper-slide {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto !important; /* Allow flexible width for pills */
}

.sustainable-category-swiper-unique .swiper-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sustainable-category-swiper-unique .swiper-button-next,
.sustainable-category-swiper-unique .swiper-button-prev {
    display: none !important;
}

/* Registration Cards Section */
.registration-cards-section {
    margin-top: 4rem;
    padding: 0 1rem;
}

.registration-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.registration-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.registration-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.registration-card:hover::before {
    opacity: 1;
}

.vendor-card:hover {
    background: rgba(0, 122, 255, 0.2);
}

.customer-card:hover {
    background: rgba(0, 198, 255, 0.2);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-icon i {
    font-size: 2.2rem;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.registration-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
}

.card-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.registration-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.registration-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.registration-btn:hover::before {
    left: 100%;
}

.registration-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    text-shadow: none;
}

.vendor-btn:hover {
    background: linear-gradient(135deg, #007aff, #0056d3);
    color: #ffffff;
    border-color: #007aff;
}

.customer-btn:hover {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    color: #ffffff;
    border-color: #00c6ff;
}

.registration-btn i {
    transition: transform 0.3s ease;
}

.registration-btn:hover i {
    transform: translateX(5px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .sustainable-style-section {
        min-height: auto;
        padding: 3rem 0;
    }

    .pill-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .registration-cards-section {
        margin-top: 2rem;
        padding: 0 0.5rem;
    }

    .registration-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }

    .card-icon {
        width: 70px;
        height: 70px;
    }

    .card-icon i {
        font-size: 2rem;
    }

    .card-title {
        font-size: 1.3rem;
    }

    .card-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .registration-btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .registration-card {
        padding: 1.5rem 1rem;
    }

    .card-icon {
        width: 60px;
        height: 60px;
    }

    .card-icon i {
        font-size: 1.8rem;
    }

    .card-title {
        font-size: 1.2rem;
    }

    .card-description {
        font-size: 0.9rem;
    }

    .registration-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
/* Modern Freelance Section */
.modern-freelance-section {
    background: var(--theme-bg-secondary);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.modern-freelance-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(103, 58, 183, 0.03) 0%,
        transparent 50%,
        rgba(33, 150, 243, 0.03) 100%
    );
    pointer-events: none;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

/* Service Card */
.service-card {
    background: var(--theme-bg);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid var(--theme-border);
    box-shadow:
        0 4px 20px -4px rgba(var(--theme-text-rgb), 0.1),
        0 2px 4px rgba(var(--theme-text-rgb), 0.05);
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 25px 45px -10px rgba(var(--mnory-accent-rgb), 0.25),
        0 10px 20px rgba(var(--theme-text-rgb), 0.15);
    border-color: var(--mnory-accent);
}

.service-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

/* Service Icon Wrapper */
.service-icon-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.companies-card .service-icon-wrapper {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

.freelancers-card .service-icon-wrapper {
    background: linear-gradient(135deg, #2196F3, #1976D2);
}

.projects-card .service-icon-wrapper {
    background: linear-gradient(135deg, #FF9800, #F57C00);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(0.8);
}

.service-icon .material-icons {
    font-size: 4.5rem;
    color: white;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.service-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.service-overlay .material-icons {
    font-size: 28px;
    color: var(--mnory-accent);
}

.service-card:hover .service-overlay {
    transform: translate(-50%, -50%) scale(1);
}

/* Service Content */
.service-content {
    padding: 2rem;
}

.service-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--theme-text);
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.service-card:hover .service-name {
    color: var(--mnory-accent);
}

.service-description {
    font-size: 1rem;
    color: var(--theme-text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.service-stats {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--theme-text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.service-stats .material-icons {
    font-size: 20px;
    color: var(--mnory-accent);
}

/* Freelance Registration Section */
.freelance-registration-section {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid var(--theme-border);
    position: relative;
    z-index: 2;
}

.registration-title {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--theme-text);
    margin-bottom: 1rem;
}

.registration-title .material-icons {
    font-size: 2.75rem;
    color: var(--mnory-accent);
}

.registration-subtitle {
    font-size: 1.2rem;
    color: var(--theme-text-muted);
    margin-bottom: 3.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.registration-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.registration-card {
    background: var(--theme-card-bg);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid var(--theme-border);
    box-shadow:
        0 6px 25px -6px rgba(var(--theme-text-rgb), 0.1),
        0 3px 6px rgba(var(--theme-text-rgb), 0.05);
    position: relative;
    overflow: hidden;
}

.registration-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--mnory-accent), rgba(var(--mnory-accent-rgb), 0.5));
    transition: height 0.3s ease;
}

.registration-card:hover::before {
    height: 6px;
}

.registration-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 40px -10px rgba(var(--mnory-accent-rgb), 0.25),
        0 8px 16px rgba(var(--theme-text-rgb), 0.15);
}

.registration-card .card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--mnory-accent), rgba(var(--mnory-accent-rgb), 0.8));
    border-radius: 50%;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.3s ease;
}

.registration-card:hover .card-icon {
    transform: scale(1.1);
}

.registration-card .card-icon .material-icons {
    font-size: 2.75rem;
    color: white;
}

.registration-card .card-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--theme-text);
    margin-bottom: 1.25rem;
}

.registration-card .card-description {
    font-size: 1.05rem;
    color: var(--theme-text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Card Features */
.card-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(var(--mnory-accent-rgb), 0.05);
    border-radius: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--theme-text);
    font-weight: 500;
}

.feature-item .material-icons {
    font-size: 20px;
    color: var(--mnory-accent);
}

/* Registration Buttons */
.registration-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--mnory-accent);
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.4s ease;
    border: 2px solid var(--mnory-accent);
    position: relative;
    overflow: hidden;
}

.registration-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.registration-btn:hover::before {
    left: 100%;
}

.registration-btn:hover {
    background: transparent;
    color: var(--mnory-accent);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px -6px rgba(var(--mnory-accent-rgb), 0.4);
}

.registration-btn .material-icons {
    font-size: 22px;
    transition: transform 0.3s ease;
}

.registration-btn:hover .material-icons {
    transform: translateX(6px);
}

/* Dark Mode Adjustments */
body.dark-mode .modern-freelance-section {
    background: var(--theme-bg-secondary);
}

body.dark-mode .service-card {
    background: var(--theme-bg-tertiary);
    border-color: var(--theme-border);
    box-shadow:
        0 4px 20px -4px rgba(0, 0, 0, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.3);
}

body.dark-mode .service-card:hover {
    box-shadow:
        0 25px 45px -10px rgba(var(--mnory-accent-rgb), 0.35),
        0 10px 20px rgba(0, 0, 0, 0.5);
}

body.dark-mode .registration-card {
    background: var(--theme-bg-tertiary);
    border-color: var(--theme-border);
    box-shadow:
        0 6px 25px -6px rgba(0, 0, 0, 0.4),
        0 3px 6px rgba(0, 0, 0, 0.3);
}

body.dark-mode .registration-card:hover {
    box-shadow:
        0 20px 40px -10px rgba(var(--mnory-accent-rgb), 0.35),
        0 8px 16px rgba(0, 0, 0, 0.5);
}

body.dark-mode .card-features {
    background: rgba(var(--mnory-accent-rgb), 0.08);
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .service-icon-wrapper {
        height: 180px;
    }

    .service-icon .material-icons {
        font-size: 3.5rem;
    }

    .service-content {
        padding: 1.5rem;
    }

    .service-name {
        font-size: 1.4rem;
    }

    .registration-title {
        font-size: 1.9rem;
        flex-direction: column;
        gap: 0.75rem;
    }

    .registration-title .material-icons {
        font-size: 2.25rem;
    }

    .registration-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .registration-card {
        padding: 2rem;
    }

    .registration-card .card-icon {
        width: 70px;
        height: 70px;
    }

    .registration-card .card-icon .material-icons {
        font-size: 2.25rem;
    }

    .card-features {
        padding: 1.25rem;
    }
}

@media (max-width: 576px) {
    .service-icon-wrapper {
        height: 160px;
    }

    .service-icon .material-icons {
        font-size: 3rem;
    }

    .service-content {
        padding: 1.25rem;
    }

    .registration-title {
        font-size: 1.6rem;
    }

    .registration-card {
        padding: 1.75rem;
    }

    .registration-card .card-title {
        font-size: 1.5rem;
    }

    .registration-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .card-features {
        padding: 1rem;
        gap: 0.75rem;
    }

    .feature-item {
        font-size: 0.9rem;
    }
}

/* ========================================
   CATEGORY PRODUCTS SWIPER STYLING
======================================== */

/* Category Products Swiper Container */
.category-products-swiper-container {
    position: relative;
    overflow: hidden;
    margin: 20px 0;
    padding: 0 30px; /* Space for navigation arrows */
}

.category-products-swiper-container .swiper {
    padding: 10px 0 20px 0;
    margin: 0;
    overflow: visible;
}

.category-products-swiper-container .swiper-slide {
    height: auto;
    display: flex;
    align-items: stretch;
}

.category-products-swiper-container .product-card {
    height: 100%;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--theme-border);
    overflow: hidden;
    background: var(--theme-bg);
    box-shadow: 0 2px 8px var(--theme-shadow);
    max-height: 700px; /* Same max-height as regular cards */
    display: flex;
    flex-direction: column;
}

.category-products-swiper-container .product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(var(--mnory-accent-rgb), 0.2);
    border-color: var(--mnory-accent);
}

/* Enhanced Product Card Styling */
.category-products-swiper-container .product-img {
    transition: transform 0.3s ease;
}

.category-products-swiper-container .product-card:hover .product-img {
    transform: scale(1.05);
}

/* Swiper Navigation Buttons */
.category-swiper-next,
.category-swiper-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--theme-bg);
    border: 2px solid var(--mnory-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--mnory-accent);
    font-size: 20px;
    box-shadow: 0 4px 12px var(--theme-shadow);
}

.category-swiper-next:hover,
.category-swiper-prev:hover {
    background: var(--mnory-accent);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(var(--mnory-accent-rgb), 0.4);
}

.category-swiper-prev {
    left: 0;
}

.category-swiper-next {
    right: 0;
}

/* Swiper Pagination */
.category-products-swiper-container .swiper-pagination {
    position: relative;
    margin-top: 25px;
    text-align: center;
}

.category-products-swiper-container .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background: var(--theme-text-muted);
    opacity: 0.5;
    margin: 0 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
}

.category-products-swiper-container .swiper-pagination-bullet-active {
    background: var(--mnory-accent);
    opacity: 1;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(var(--mnory-accent-rgb), 0.5);
}

/* Swiper Loading State */
.category-products-swiper-container .swiper:not(.swiper-initialized) {
    opacity: 0.7;
}

.category-products-swiper-container .swiper.swiper-initialized {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .category-products-swiper-container {
        padding: 0 25px;
    }

    .category-swiper-next,
    .category-swiper-prev {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .category-products-swiper-container .product-card {
        max-height: 450px;
    }
}

@media (max-width: 768px) {
    .category-products-swiper-container {
        padding: 0 20px;
    }

    .category-swiper-next,
    .category-swiper-prev {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .category-products-swiper-container .product-card {
        max-height: 420px;
    }
}

@media (max-width: 576px) {
    .category-products-swiper-container {
        padding: 0 15px;
    }

    .category-swiper-next,
    .category-swiper-prev {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .category-products-swiper-container .product-card {
        max-height: 380px;
    }
}/* Dark mode specific enhancements */
body.dark-mode .category-products-swiper-container .product-card {
    background: var(--theme-bg-secondary);
    border-color: var(--theme-border);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.05);
}

body.dark-mode .category-products-swiper-container .product-card:hover {
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.1);
    border-color: var(--mnory-accent);
}

body.dark-mode .category-swiper-next,
body.dark-mode .category-swiper-prev {
    background: var(--theme-bg-secondary);
    border-color: var(--mnory-accent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ========================================
   HOME PAGE PRODUCT SWIPERS
======================================== */

/* Ensure equal height for all product swipers */
.products-swiper-wrapper .swiper-slide {
    height: auto;
    display: flex;
    align-items: stretch;
}

.featured-swiper .swiper-slide .product-card,
.newarrivals-swiper .swiper-slide .product-card,
.bestseller-swiper .swiper-slide .product-card,
.onsale-swiper .swiper-slide .product-card {
    height: 100%;
    max-height: 480px;
    display: flex;
    flex-direction: column;
}

/* Responsive max-heights for home swipers */
@media (max-width: 992px) {
    .featured-swiper .swiper-slide .product-card,
    .newarrivals-swiper .swiper-slide .product-card,
    .bestseller-swiper .swiper-slide .product-card,
    .onsale-swiper .swiper-slide .product-card {
        max-height: 450px;
    }
}

@media (max-width: 768px) {
    .featured-swiper .swiper-slide .product-card,
    .newarrivals-swiper .swiper-slide .product-card,
    .bestseller-swiper .swiper-slide .product-card,
    .onsale-swiper .swiper-slide .product-card {
        max-height: 420px;
    }
}

@media (max-width: 576px) {
    .featured-swiper .swiper-slide .product-card,
    .newarrivals-swiper .swiper-slide .product-card,
    .bestseller-swiper .swiper-slide .product-card,
    .onsale-swiper .swiper-slide .product-card {
        max-height: 380px;
    }
}

/* ========================================
   MODERN PRODUCT DETAIL PAGE STYLES
======================================== */

/* Product Detail Main Container */
.product-detail-main {
    min-height: 100vh;
    background: var(--theme-bg);
    padding: 2rem 0;
}

.product-detail-main .container {
    max-width: 1400px;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    margin-bottom: 2rem;
}

.breadcrumb-nav .breadcrumb {
    background: transparent;
    padding: 0.75rem 1.5rem;
    margin-bottom: 0;
    border-radius: 12px;
    background: var(--theme-bg-secondary);
    border: 1px solid var(--theme-border);
    font-size: 0.95rem;
}

.breadcrumb-nav .breadcrumb-item a {
    color: var(--mnory-accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.breadcrumb-nav .breadcrumb-item a .material-icons {
    font-size: 18px;
}

.breadcrumb-nav .breadcrumb-item a:hover {
    color: var(--mnory-accent-hover, #0056cc);
    transform: translateX(-2px);
}

.breadcrumb-nav .breadcrumb-item.active {
    color: var(--theme-text-muted);
}

.breadcrumb-nav .breadcrumb-item + .breadcrumb-item::before {
    content: "";
    color: var(--theme-text-muted);
}

/* Breadcrumb Mobile Responsive */
@media (max-width: 768px) {
    .breadcrumb-nav {
        margin-bottom: 1.5rem;
    }

    .breadcrumb-nav .breadcrumb {
        padding: 0.5rem 1rem;
        border-radius: 10px;
        font-size: 0.875rem;
    }

    .breadcrumb-nav .breadcrumb-item a .material-icons {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .breadcrumb-nav {
        margin-bottom: 1rem;
    }

    .breadcrumb-nav .breadcrumb {
        padding: 0.5rem 0.75rem;
        border-radius: 8px;
        font-size: 0.8rem;
    }

    .breadcrumb-nav .breadcrumb-item a .material-icons {
        font-size: 14px;
    }

    .breadcrumb-nav .breadcrumb-item a {
        gap: 0.35rem;
    }
}

@media (max-width: 400px) {
    .breadcrumb-nav .breadcrumb {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }

    .breadcrumb-nav .breadcrumb-item a .material-icons {
        font-size: 13px;
    }
}

/* Product Gallery */
.product-gallery-container {
    position: relative;
    animation: fadeInUp 0.6s ease-out;
}

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

/* Product Images Wrapper - Outer Container */

.product-images-wrapper {
  margin-bottom: 1rem;
  border-radius: 24px;
  overflow: hidden;
  background: var(--theme-bg-secondary, #f8f9fa);
  padding: 2rem 1.5rem 2.5rem 1.5rem;
  box-shadow: 0 12px 48px rgba(0, 122, 255, 0.10);
  transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s, border 0.3s;
  border: 1px solid var(--theme-border, rgba(0, 0, 0, 0.08));
  position: relative;
  max-width: 600px;
  width: 100%;
  min-height: 350px;
  outline: none;
}

.product-images-wrapper:focus-within,
.product-images-wrapper:active {
  box-shadow: 0 16px 56px rgba(0, 122, 255, 0.18);
  border-color: #007aff;
}

@media (max-width: 991px) {
  .product-images-wrapper {
    padding: 1.2rem 0.5rem 1.5rem 0.5rem;
    border-radius: 18px;
    max-width: 100%;
  }
}

@media (max-width: 575px) {
  .product-images-wrapper {
    padding: 0.5rem 0.2rem 1rem 0.2rem;
    border-radius: 12px;
    min-height: 220px;
  }
}

body.dark-mode .product-images-wrapper {
    background: var(--theme-bg-secondary, #1e1e1e);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border-color: var(--theme-border, rgba(255, 255, 255, 0.12));
}

.product-images-wrapper:hover {
    box-shadow: 0 15px 50px rgba(0, 122, 255, 0.15);
    transform: translateY(-5px);
}

body.dark-mode .product-images-wrapper:hover {
    box-shadow: 0 15px 50px rgba(0, 122, 255, 0.3);
}

/* Product Detail Swiper Container */
.product-detail-swiper {
    border-radius: 16px;
    position: relative;
    height: 550px;
    overflow: visible;
    background: var(--theme-bg, #ffffff);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body.dark-mode .product-detail-swiper {
    background: var(--theme-bg, #121212);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.product-detail-swiper .swiper-wrapper {
    height: 550px;
}

.product-detail-swiper .swiper-slide {
    border-radius: 16px;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

/* Product Detail Image */
.product-detail-img {
    width: 100%;
    height: 100%;
    max-height: 550px;
    object-fit: contain;
    border-radius: 16px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    display: block;
    opacity: 1;
    visibility: visible;
    position: relative;
    z-index: 1;
}

/* Ensure images are visible in both themes */
body.dark-mode .product-detail-img {
    filter: brightness(0.95);
}

/* Zoom Indicator */
.zoom-indicator {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
    pointer-events: none;
    transition: all 0.3s ease;
    animation: zoomPulse 2s ease-in-out infinite;
}

body.dark-mode .zoom-indicator {
    background: rgba(0, 122, 255, 0.8);
    box-shadow: 0 4px 20px rgba(0, 122, 255, 0.5);
}

@keyframes zoomPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(0, 122, 255, 0.5);
    }
}

.zoom-indicator .material-icons {
    font-size: 20px;
    animation: zoomIcon 2s ease-in-out infinite;
}

@keyframes zoomIcon {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.zoom-text {
    font-size: 0.875rem;
    font-weight: 600;
}

/* Swiper Navigation Buttons */
.product-detail-swiper .swiper-button-next,
.product-detail-swiper .swiper-button-prev {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

body.dark-mode .product-detail-swiper .swiper-button-next,
body.dark-mode .product-detail-swiper .swiper-button-prev {
    background: rgba(30, 30, 30, 0.95);
    box-shadow: 0 4px 20px rgba(0, 122, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.12);
}

.product-detail-swiper .swiper-button-next:hover,
.product-detail-swiper .swiper-button-prev:hover {
    background: var(--mnory-accent, #007aff);
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 122, 255, 0.6);
}

.product-detail-swiper .swiper-button-next::after,
.product-detail-swiper .swiper-button-prev::after {
    font-size: 22px;
    font-weight: bold;
    color: var(--mnory-accent, #007aff);
}

body.dark-mode .product-detail-swiper .swiper-button-next::after,
body.dark-mode .product-detail-swiper .swiper-button-prev::after {
    color: var(--mnory-accent, #007aff);
}

.product-detail-swiper .swiper-button-next:hover::after,
.product-detail-swiper .swiper-button-prev:hover::after {
    color: white;
}

.product-detail-swiper .swiper-button-next:active,
.product-detail-swiper .swiper-button-prev:active {
    transform: scale(0.95);
}

/* Swiper Pagination */
.product-detail-swiper .swiper-pagination {
    bottom: 10px;
    z-index: 10;
}

.product-detail-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0.7;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

body.dark-mode .product-detail-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(0, 0, 0, 0.3);
}

.product-detail-swiper .swiper-pagination-bullet-active {
    background: var(--mnory-accent, #007aff);
    opacity: 1;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(0, 122, 255, 0.6);
    border-color: var(--mnory-accent, #007aff);
}

body.dark-mode .product-detail-swiper .swiper-pagination-bullet-active {
    box-shadow: 0 0 15px rgba(0, 122, 255, 0.8);
}

/* Duplicate removed - see line 1 for swiper-zoom-container definition */

.product-detail-swiper .swiper-button-next::after,
.product-detail-swiper .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

.product-detail-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--mnory-accent);
    opacity: 0.5;
}

.product-detail-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
}

/* Thumbnails */
.product-thumbnails-wrapper {
    padding: 0.75rem;
    background: var(--theme-bg-secondary, #f8f9fa);
    border-radius: 16px;
    border: 1px solid var(--theme-border, rgba(0, 0, 0, 0.08));
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body.dark-mode .product-thumbnails-wrapper {
    background: var(--theme-bg-secondary, #1e1e1e);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-color: var(--theme-border, rgba(255, 255, 255, 0.12));
}

.product-detail-thumbs .swiper-slide {
    opacity: 0.6;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    background: var(--theme-bg, #ffffff);
}

body.dark-mode .product-detail-thumbs .swiper-slide {
    background: var(--theme-bg, #121212);
}

.product-detail-thumbs .swiper-slide:hover {
    opacity: 0.85;
    transform: translateY(-4px);
}

.product-detail-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    transform: scale(1.05);
}

.product-thumbnail-img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border: 3px solid transparent;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

body.dark-mode .product-thumbnail-img {
    filter: brightness(0.95);
}

.product-detail-thumbs .swiper-slide-thumb-active .product-thumbnail-img {
    border-color: var(--mnory-accent, #007aff);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.3), 0 8px 20px rgba(0, 122, 255, 0.25);
}

body.dark-mode .product-detail-thumbs .swiper-slide-thumb-active .product-thumbnail-img {
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.5), 0 8px 20px rgba(0, 122, 255, 0.4);
}

/* Product Info Section */
.product-info-section {
    background: var(--theme-bg-secondary);
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid var(--theme-border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInRight 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

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

.product-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--mnory-accent), #00d4ff);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-info-section:hover::before {
    opacity: 1;
}

body.dark-mode .product-info-section {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.product-info-section:hover {
    box-shadow: 0 15px 50px rgba(0, 122, 255, 0.12);
    transform: translateY(-3px);
}

/* Product Header */
.product-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--theme-border);
}

.product-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--theme-text);
    margin-bottom: 0.75rem;
    line-height: 1.2;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.product-subtitle {
    font-size: 1.1rem;
    color: var(--theme-text-muted);
    line-height: 1.6;
}

/* Product Badges */
.product-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    animation: fadeIn 0.8s ease-out 0.2s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.product-badge::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.product-badge:hover::before {
    width: 300px;
    height: 300px;
}

.product-badge .material-icons {
    font-size: 18px;
    transition: transform 0.4s ease;
    position: relative;
    z-index: 1;
}

.product-badge:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.product-badge:hover .material-icons {
    transform: rotate(360deg);
}

.badge-sale {
    background: linear-gradient(135deg, #ff3b30 0%, #d62d20 100%);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 59, 48, 0.4);
    }
    50% {
        box-shadow: 0 6px 25px rgba(255, 59, 48, 0.6);
    }
}

.badge-new {
    background: linear-gradient(135deg, #34c759 0%, #2fb04c 100%);
}

.badge-bestseller {
    background: linear-gradient(135deg, #ff9500 0%, #ff8000 100%);
}

.badge-out-of-stock {
    background: linear-gradient(135deg, #8e8e93 0%, #636366 100%);
}

/* Price Section */
.product-price-section {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.08) 0%, rgba(0, 122, 255, 0.03) 100%);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    border: 2px solid rgba(0, 122, 255, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInScale 0.6s ease-out 0.3s backwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.product-price-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 122, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-price-section:hover::before {
    opacity: 1;
}

body.dark-mode .product-price-section {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.15) 0%, rgba(0, 122, 255, 0.08) 100%);
}

.product-price-section:hover {
    border-color: rgba(0, 122, 255, 0.4);
    box-shadow: 0 8px 30px rgba(0, 122, 255, 0.2);
    transform: translateY(-2px);
}

body:not(.dark-mode) .product-price-section {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.05) 0%, rgba(0, 122, 255, 0.02) 100%);
    border-color: rgba(0, 122, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.08);
}

body:not(.dark-mode) .product-price-section:hover {
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.15);
}

.product-price-current {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--mnory-accent);
    margin-bottom: 0.5rem;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    position: relative;
    display: inline-block;
    animation: priceGlow 3s ease-in-out infinite;
}

@keyframes priceGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(0, 122, 255, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(0, 122, 255, 0.5), 0 0 30px rgba(0, 122, 255, 0.3);
    }
}

.product-price-comparison {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-price-original {
    font-size: 1.25rem;
    color: var(--theme-text-muted);
    text-decoration: line-through;
    position: relative;
    transition: all 0.3s ease;
}

.product-price-original::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 2px;
    background: #ff3b30;
    transform: scaleX(0);
    animation: strikethrough 0.6s ease-out 0.5s forwards;
}

@keyframes strikethrough {
    to {
        transform: scaleX(1);
    }
}

.product-price-savings {
    background: linear-gradient(135deg, #34c759 0%, #2fb04c 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(52, 199, 89, 0.3);
    transition: all 0.3s ease;
    animation: bounceIn 0.6s ease-out 0.7s backwards;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.product-price-savings:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(52, 199, 89, 0.4);
}

/* Product Meta Section */
.product-meta-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--theme-border);
}

.product-meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--theme-bg-secondary);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--theme-border);
    animation: slideInLeft 0.5s ease-out backwards;
}

body:not(.dark-mode) .product-meta-item {
    background: rgba(248, 249, 250, 0.6);
    border-color: rgba(0, 0, 0, 0.08);
}

.product-meta-item:nth-child(1) { animation-delay: 0.1s; }
.product-meta-item:nth-child(2) { animation-delay: 0.2s; }
.product-meta-item:nth-child(3) { animation-delay: 0.3s; }
.product-meta-item:nth-child(4) { animation-delay: 0.4s; }
.product-meta-item:nth-child(5) { animation-delay: 0.5s; }

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

.product-meta-item:hover {
    background: rgba(0, 122, 255, 0.05);
    border-color: rgba(0, 122, 255, 0.2);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.1);
}

.product-meta-item .material-icons {
    color: var(--mnory-accent);
    font-size: 24px;
    transition: all 0.3s ease;
}

.product-meta-item:hover .material-icons {
    transform: scale(1.2) rotate(10deg);
}

.product-meta-content {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.product-meta-content strong {
    color: var(--theme-text);
    font-weight: 600;
}

.product-meta-link {
    color: var(--mnory-accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

.product-meta-link:hover {
    color: var(--mnory-accent-hover, #0056cc);
    text-decoration: underline;
}

.product-status {
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    font-size: 0.875rem;
}

.product-in-stock {
    background: rgba(52, 199, 89, 0.15);
    color: #34c759;
}

.product-out-of-stock {
    background: rgba(255, 59, 48, 0.15);
    color: #ff3b30;
}

/* Product Description */
.product-description-wrapper {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--theme-border);
}

.product-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--theme-text);
    margin-bottom: 1rem;
}

.product-section-title .material-icons {
    color: var(--mnory-accent);
    font-size: 22px;
}

.product-description {
    color: var(--theme-text);
    line-height: 1.8;
    font-size: 1rem;
    background: var(--theme-bg);
    padding: 1.25rem;
    border-radius: 12px;
    border-left: 4px solid var(--mnory-accent);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

body.dark-mode .product-description {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.product-description:hover {
    box-shadow: 0 4px 20px rgba(0, 122, 255, 0.1);
    transform: translateX(3px);
}

/* Product Option Section (Colors & Sizes) */
.product-option-section {
    margin-bottom: 1.5rem;
}

.product-option-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--theme-text);
    margin-bottom: 1rem;
}

.product-option-title .material-icons {
    color: var(--mnory-accent);
    font-size: 22px;
}

/* Color Options */
.product-color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.product-color-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--theme-bg-secondary);
    border: 2px solid var(--theme-border);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--theme-text);
    position: relative;
    overflow: hidden;
}

body:not(.dark-mode) .product-color-btn {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

body:not(.dark-mode) .product-color-btn:hover {
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.2);
}

body:not(.dark-mode) .product-color-btn.active {
    background: rgba(0, 122, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1), 0 8px 20px rgba(0, 122, 255, 0.15);
}

.product-color-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 122, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.product-color-btn:hover::before {
    left: 100%;
}

.product-color-btn:hover {
    border-color: var(--mnory-accent);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.25);
}

.product-color-btn.active {
    border-color: var(--mnory-accent);
    background: rgba(0, 122, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.15), 0 8px 20px rgba(0, 122, 255, 0.2);
    transform: translateY(-2px) scale(1.05);
}

.product-color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 3px solid var(--theme-border);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-color-btn:hover .product-color-swatch {
    transform: scale(1.15);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2), 0 6px 12px rgba(0, 0, 0, 0.15);
}

.product-color-btn.active .product-color-swatch {
    border-color: var(--mnory-accent);
}

.product-color-name {
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Size Options */
.product-size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.product-size-btn,
.size-select {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--theme-bg-secondary);
    border: 2px solid var(--theme-border);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    font-weight: 600;
    color: var(--theme-text);
    min-width: 90px;
    position: relative;
    overflow: hidden;
}

body:not(.dark-mode) .product-size-btn,
body:not(.dark-mode) .size-select {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

body:not(.dark-mode) .product-size-btn:hover,
body:not(.dark-mode) .size-select:hover {
    box-shadow: 0 8px 20px rgba(0, 122, 255, 0.2);
    border-color: var(--mnory-accent);
}

body:not(.dark-mode) .product-size-btn.active,
body:not(.dark-mode) .size-select.active {
    background: rgba(0, 122, 255, 0.1);
    border-color: var(--mnory-accent);
    color: var(--mnory-accent);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.2), 0 4px 15px rgba(0, 122, 255, 0.25);
}

.product-size-btn::after,
.size-select::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0, 122, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.product-size-btn:hover::after,
.size-select:hover::after {
    width: 200%;
    height: 200%;
}

.product-size-btn .material-icons,
.size-select .material-icons {
    font-size: 20px;
    color: var(--theme-text-muted);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.product-size-btn:hover,
.size-select:hover {
    border-color: var(--mnory-accent);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 122, 255, 0.25);
}

.product-size-btn:hover .material-icons,
.size-select:hover .material-icons {
    transform: rotate(360deg);
    color: var(--mnory-accent);
}

.product-size-btn.active,
.size-select.active {
    border-color: var(--mnory-accent);
    background: rgba(0, 122, 255, 0.15);
    color: var(--mnory-accent);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.25), 0 6px 20px rgba(0, 122, 255, 0.3);
    transform: translateY(-2px) scale(1.05);
}

body.dark-mode .product-size-btn.active,
body.dark-mode .size-select.active {
    background: rgba(0, 122, 255, 0.2);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.3), 0 6px 20px rgba(0, 122, 255, 0.4);
}

.product-size-btn.active .material-icons,
.size-select.active .material-icons {
    color: var(--mnory-accent);
    animation: sizeCheck 0.5s ease;
}

.product-size-btn.active span:not(.material-icons),
.size-select.active span:not(.material-icons) {
    position: relative;
    z-index: 1;
}

@keyframes sizeCheck {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
}

/* Product Actions Row */
.product-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.product-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--theme-bg-secondary);
    border: 2px solid var(--theme-border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--theme-text);
}

body:not(.dark-mode) .product-action-btn {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

body:not(.dark-mode) .product-action-btn:hover {
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.15);
    border-color: var(--mnory-accent);
}

.product-action-btn .material-icons {
    font-size: 20px;
}

.product-action-btn:hover {
    border-color: var(--mnory-accent);
    background: rgba(0, 122, 255, 0.05);
    transform: translateY(-2px);
}

.product-action-secondary {
    background: var(--theme-bg-secondary);
}

/* Collapse Container */
.product-collapse-container {
    margin-bottom: 1.5rem;
}

.product-size-chart {
    background: var(--theme-bg);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 1rem;
    border: 2px solid var(--theme-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.dark-mode .product-size-chart {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.product-size-chart .table {
    margin-bottom: 0;
    color: var(--theme-text);
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 12px;
}

.product-size-chart .table th {
    background: linear-gradient(135deg, var(--mnory-accent) 0%, #0051a8 100%);
    color: white;
    font-weight: 600;
    border-color: var(--theme-border);
    padding: 1rem;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.product-size-chart .table td {
    border-color: var(--theme-border);
    padding: 0.875rem;
    transition: all 0.3s ease;
}

.product-size-chart .table tbody tr {
    transition: all 0.3s ease;
}

.product-size-chart .table tbody tr:hover {
    background: rgba(0, 122, 255, 0.05);
    transform: scale(1.01);
}

.product-size-chart .table tbody tr:hover td {
    color: var(--mnory-accent);
    font-weight: 600;
}

/* Quantity Section */
.product-quantity-section {
    margin-bottom: 2rem;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.03) 0%, rgba(0, 122, 255, 0.01) 100%);
    padding: 1.75rem;
    border-radius: 20px;
    border: 2px solid rgba(0, 122, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.product-quantity-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 122, 255, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-quantity-section:hover::before {
    opacity: 1;
}

body:not(.dark-mode) .product-quantity-section {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.02) 0%, rgba(255, 255, 255, 0.8) 100%);
    border-color: rgba(0, 122, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.product-quantity-section:hover {
    box-shadow: 0 8px 30px rgba(0, 122, 255, 0.15);
    border-color: rgba(0, 122, 255, 0.4);
    transform: translateY(-2px);
}

/* Quantity Header */
.quantity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.quantity-stock-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.stock-available {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #34c759;
    background: rgba(52, 199, 89, 0.1);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    border: 1px solid rgba(52, 199, 89, 0.3);
}

.stock-available .material-icons {
    font-size: 18px;
}

.stock-unavailable {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #ff3b30;
    background: rgba(255, 59, 48, 0.1);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 59, 48, 0.3);
}

.stock-unavailable .material-icons {
    font-size: 18px;
}

/* Quantity Selector */
.product-quantity-selector {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--theme-bg);
    border: 3px solid var(--theme-border);
    border-radius: 60px;
    padding: 1rem 1.75rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

body:not(.dark-mode) .product-quantity-selector {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

body.dark-mode .product-quantity-selector {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.product-quantity-selector:hover {
    border-color: var(--mnory-accent);
    box-shadow: 0 8px 30px rgba(0, 122, 255, 0.25);
    transform: translateY(-2px);
}

/* Quantity Display Wrapper */
.quantity-display-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    min-width: 80px;
    position: relative;
}

.product-qty-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.product-qty-display {
    font-size: 2rem;
    font-weight: 800;
    color: var(--mnory-accent);
    text-align: center;
    user-select: none;
    line-height: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 2px 4px rgba(0, 122, 255, 0.2);
}

.quantity-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--theme-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Quantity Buttons */
.product-qty-btn {
    background: linear-gradient(135deg, var(--mnory-accent) 0%, #0051a8 100%);
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.35);
    position: relative;
    overflow: hidden;
}

.product-qty-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.product-qty-btn:hover::before {
    width: 200%;
    height: 200%;
}

.product-qty-btn:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.5);
}

.product-qty-btn:active {
    transform: scale(0.95);
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
}

.product-qty-btn .material-icons {
    font-size: 22px;
    position: relative;
    z-index: 1;
}

.qty-decrease:hover {
    animation: wiggle 0.5s ease;
}

.qty-increase:hover {
    animation: pulse 0.5s ease;
}

@keyframes wiggle {
    0%, 100% { transform: scale(1.15) rotate(0deg); }
    25% { transform: scale(1.15) rotate(-10deg); }
    75% { transform: scale(1.15) rotate(10deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1.15); }
    50% { transform: scale(1.25); }
}

@keyframes quantityChange {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Quantity Limits Info */
.quantity-limits-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 122, 255, 0.05);
    border-radius: 12px;
    font-size: 0.85rem;
    color: var(--theme-text-muted);
    border: 1px solid rgba(0, 122, 255, 0.1);
}

body:not(.dark-mode) .quantity-limits-info {
    background: rgba(0, 122, 255, 0.03);
}

.quantity-limits-info .material-icons {
    font-size: 18px;
    color: var(--mnory-accent);
}

/* Action Buttons Main */
.product-actions-main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out 0.6s backwards;
}

@media (min-width: 768px) {
    .product-actions-main {
        flex-direction: row;
        gap: 1rem;
    }
}

.product-btn {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2rem;
    border: none;
    border-radius: 16px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.product-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.product-btn:hover::before {
    width: 300%;
    height: 300%;
}

.product-btn .material-icons {
    font-size: 24px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.product-btn span {
    position: relative;
    z-index: 1;
}

.product-btn:hover:not(:disabled) {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.product-btn:hover:not(:disabled) .material-icons {
    animation: buttonIcon 0.6s ease;
}

@keyframes buttonIcon {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.2) rotate(-10deg);
    }
    75% {
        transform: scale(1.2) rotate(10deg);
    }
}

.product-btn:active:not(:disabled) {
    transform: translateY(-2px) scale(0.98);
}

.product-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(0.5);
}

.product-btn-primary {
    background: linear-gradient(135deg, var(--mnory-accent) 0%, #0051a8 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.4);
}

.product-btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #0051a8 0%, #0066cc 100%);
    box-shadow: 0 12px 35px rgba(0, 122, 255, 0.5);
}

.product-btn-success {
    background: linear-gradient(135deg, #34c759 0%, #2fb04c 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(52, 199, 89, 0.4);
}

.product-btn-success:hover:not(:disabled) {
    background: linear-gradient(135deg, #2fb04c 0%, #28a745 100%);
    box-shadow: 0 12px 35px rgba(52, 199, 89, 0.5);
}

.product-btn-wishlist {
    flex: 0 0 auto;
    min-width: auto;
    padding: 1.25rem;
    background: var(--theme-bg);
    border: 2px solid var(--theme-border);
    color: #ff3b30;
    box-shadow: 0 4px 15px rgba(255, 59, 48, 0.2);
}

@media (min-width: 768px) {
    .product-btn-wishlist {
        flex: 0 0 auto;
        padding: 1.25rem 1.5rem;
    }
}

.product-btn-wishlist:hover:not(:disabled) {
    background: rgba(255, 59, 48, 0.08);
    border-color: #ff3b30;
    box-shadow: 0 6px 25px rgba(255, 59, 48, 0.3);
}

.product-btn-wishlist.active {
    background: rgba(255, 59, 48, 0.1);
    border-color: #ff3b30;
    color: #ff3b30;
}

.product-btn-wishlist .material-icons {
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    10%, 30% {
        transform: scale(1.1);
    }
    20%, 40% {
        transform: scale(0.95);
    }
}

.product-buy-form {
    flex: 1;
    display: flex;
}

.product-buy-form .product-btn {
    width: 100%;
}

/* Inline Share Section (Below Product Details) */
.product-share-inline {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.05) 0%, rgba(0, 122, 255, 0.02) 100%);
    border: 2px solid rgba(0, 122, 255, 0.15);
    border-radius: 20px;
    padding: 1.5rem;
    margin-top: 2rem;
    animation: fadeIn 0.6s ease-out 0.8s backwards;
    transition: all 0.3s ease;
}

body.dark-mode .product-share-inline {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.08) 0%, rgba(0, 122, 255, 0.04) 100%);
}

.product-share-inline:hover {
    border-color: rgba(0, 122, 255, 0.3);
    box-shadow: 0 8px 30px rgba(0, 122, 255, 0.15);
}

.share-inline-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--theme-text);
    margin-bottom: 1rem;
}

.share-inline-title .material-icons {
    color: var(--mnory-accent);
    font-size: 24px;
}

.share-inline-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.share-inline-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.share-inline-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.share-inline-btn:hover::before {
    width: 200%;
    height: 200%;
}

.share-inline-btn:hover {
    transform: translateY(-5px) scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.share-inline-btn:active {
    transform: translateY(-2px) scale(1.05);
}

.share-inline-btn i,
.share-inline-btn .material-icons {
    font-size: 20px;
    position: relative;
    z-index: 1;
}

.share-facebook {
    background: linear-gradient(135deg, #3b5998 0%, #2d4373 100%);
}

.share-twitter {
    background: linear-gradient(135deg, #000000 0%, #2a2a2a 100%);
}

.share-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #1da851 100%);
}

.share-pinterest {
    background: linear-gradient(135deg, #e60023 0%, #bd081c 100%);
}

.share-email {
    background: linear-gradient(135deg, #dd4b39 0%, #c23321 100%);
}

.share-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.share-tiktok {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

.share-copy {
    background: linear-gradient(135deg, var(--mnory-accent) 0%, #0051a8 100%);
}

/* Light theme adjustments for share buttons */
body:not(.dark-mode) .share-inline-btn {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

body:not(.dark-mode) .share-inline-btn:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* Share Section */
.product-share-section {
    background: var(--theme-bg-secondary);
    border-radius: 24px;
    padding: 2.5rem;
    margin-top: 3rem;
    border: 1px solid var(--theme-border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease-out;
}

body.dark-mode .product-share-section {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.product-share-section:hover {
    box-shadow: 0 15px 50px rgba(0, 122, 255, 0.15);
    transform: translateY(-5px);
}

.product-share-section .section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--theme-text);
    margin-bottom: 1.5rem;
}

.product-share-section .section-title .material-icons {
    color: var(--mnory-accent);
    font-size: 32px;
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.product-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.share-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.share-btn:hover::before {
    width: 300%;
    height: 300%;
}

.share-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: white;
}

.share-btn i {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.share-btn:hover i {
    transform: scale(1.2) rotate(15deg);
}

.share-btn span {
    position: relative;
    z-index: 1;
}

.share-btn i {
    font-size: 1.25rem;
}

.share-btn-facebook {
    background: linear-gradient(135deg, #3b5998 0%, #2d4373 100%);
}

.share-btn-twitter {
    background: linear-gradient(135deg, #000000 0%, #2a2a2a 100%);
}

.share-btn-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.share-btn-tiktok {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

/* Related Products Section */
.related-products-section {
    background: transparent;
    padding: 3rem 0;
    margin-top: 3rem;
}

.related-products-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--theme-border);
}

.related-products-section .section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--theme-text);
    margin: 0;
}

.related-products-section .section-title .material-icons {
    color: var(--mnory-accent);
    font-size: 32px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.section-nav-buttons {
    display: flex;
    gap: 0.75rem;
}

.nav-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--mnory-accent) 0%, #0051a8 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.nav-btn:hover::before {
    width: 200%;
    height: 200%;
}

.nav-btn:hover {
    background: linear-gradient(135deg, #0051a8 0%, #003d82 100%);
    transform: scale(1.15);
    box-shadow: 0 6px 25px rgba(0, 122, 255, 0.5);
}

.nav-btn:active {
    transform: scale(0.95);
}

.nav-btn .material-icons {
    font-size: 28px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.nav-btn:hover .material-icons {
    transform: translateX(3px);
}

.related-prev:hover .material-icons {
    transform: translateX(-3px);
}

.no-products-message {
    text-align: center;
    padding: 3rem;
    color: var(--theme-text-muted);
}

.no-products-message .material-icons {
    font-size: 48px;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-products-message p {
    margin: 0;
    font-size: 1.1rem;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    min-width: 300px;
    max-width: 400px;
    background: var(--theme-bg);
    border: 1px solid var(--theme-border);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 1055;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}

.toast-body {
    flex: 1;
    color: var(--theme-text);
    font-weight: 500;
}

.toast-close {
    background: transparent;
    border: none;
    color: var(--theme-text-muted);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.toast-close:hover {
    color: var(--theme-text);
    transform: scale(1.2);
}

.toast-notification.bg-success {
    border-left: 4px solid #34c759;
}

.toast-notification.bg-danger {
    border-left: 4px solid #ff3b30;
}

.toast-notification.bg-primary {
    border-left: 4px solid var(--mnory-accent);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .product-detail-main {
        padding: 1.5rem 0;
    }

    .product-info-section {
        padding: 2rem;
    }

    .product-title {
        font-size: 2rem;
    }

    .product-price-current {
        font-size: 1.875rem;
    }

    .product-detail-img {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .product-detail-main {
        padding: 1rem 0;
    }

    .product-info-section {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .product-title {
        font-size: 1.75rem;
    }

    .product-price-current {
        font-size: 1.625rem;
    }

    .product-detail-img {
        height: 400px;
    }

    .product-share-buttons {
        flex-direction: column;
    }

    .share-btn {
        width: 100%;
        justify-content: center;
    }

    .zoom-indicator {
        bottom: 15px;
        right: 15px;
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }

    .zoom-indicator .material-icons {
        font-size: 18px;
    }
}@media (max-width: 576px) {
    .breadcrumb-nav .breadcrumb {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .product-subtitle {
        font-size: 0.95rem;
    }

    .product-price-current {
        font-size: 1.5rem;
    }

    .product-detail-img {
        height: 300px;
    }

    .product-badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }

    .product-option-title {
        font-size: 1rem;
    }

    .product-color-btn,
    .product-size-btn {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }

    .toast-notification {
        right: 1rem;
        left: 1rem;
        min-width: auto;
    }
}

/* ========================================
   CATEGORY DETAIL PAGE STYLES
======================================== */

/* Category Detail Section (Breadcrumb only) */
.category-detail-section {
    padding: 1.5rem 0 0;
    background: var(--theme-bg);
}

/* Category Content Section */
.category-content-section {
    padding: 0 0 4rem;
    background: var(--theme-bg);
    min-height: 100vh;
}

/* Category Header */
.category-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.category-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.category-title {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 3rem;
    font-weight: 700;
    color: var(--theme-text);
    margin-bottom: 1rem;
}

.category-title .material-icons {
    font-size: 3.5rem;
    color: var(--mnory-accent);
}

.category-description {
    font-size: 1.2rem;
    color: var(--theme-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Subcategory Tabs */
.subcategory-tabs-wrapper {
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.subcategory-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.subcategory-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--theme-bg-secondary);
    border: 2px solid var(--theme-border);
    border-radius: 50px;
    color: var(--theme-text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.subcategory-tab-btn .material-icons {
    font-size: 20px;
}

.subcategory-tab-btn:hover {
    background: var(--theme-bg-tertiary);
    border-color: var(--mnory-accent);
    color: var(--mnory-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.2);
}

.subcategory-tab-btn.active {
    background: var(--mnory-accent);
    border-color: var(--mnory-accent);
    color: white;
    box-shadow: 0 4px 16px rgba(0, 122, 255, 0.3);
}

.subcategory-tab-btn.active .material-icons {
    color: white;
}

/* Filters Sidebar */
.filters-sidebar {
    background: var(--theme-bg-secondary);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--theme-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 100px;
}

body.dark-mode .filters-sidebar {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.filters-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--theme-border);
}

.filters-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--theme-text);
    margin: 0;
}

.filters-title .material-icons {
    color: var(--mnory-accent);
    font-size: 28px;
}

/* Filter Groups */
.filter-group {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--theme-border);
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-group-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--theme-text);
    margin-bottom: 1rem;
}

.filter-group-title .material-icons {
    color: var(--mnory-accent);
    font-size: 22px;
}

/* Filter Options */
.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.filter-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--mnory-accent);
    transition: all 0.3s ease;
}

.filter-checkbox:hover {
    transform: scale(1.1);
}

.filter-label {
    font-size: 0.95rem;
    color: var(--theme-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    flex: 1;
}

.filter-label:hover {
    color: var(--mnory-accent);
}

/* Color Filter */
.filter-label-color {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.color-swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--theme-border);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.size-type {
    font-size: 0.85rem;
    color: var(--theme-text-muted);
}

/* Flag Icons */
.flag-icon {
    font-size: 18px;
}

.flag-bestseller {
    color: #ff9500;
}

.flag-new {
    color: #34c759;
}

.flag-sale {
    color: #ff3b30;
}

/* Price Range */
.price-range-inputs {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.price-input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--theme-border);
    border-radius: 10px;
    background: var(--theme-bg);
    color: var(--theme-text);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.price-input:focus {
    outline: none;
    border-color: var(--mnory-accent);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.price-separator {
    color: var(--theme-text-muted);
    font-weight: 600;
}

.btn-apply-price {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--mnory-accent);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-apply-price:hover {
    background: #0051a8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.btn-apply-price .material-icons {
    font-size: 20px;
}

/* Filter Select */
.filter-select {
    padding: 0.75rem;
    border: 2px solid var(--theme-border);
    border-radius: 10px;
    background: var(--theme-bg);
    color: var(--theme-text);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: var(--mnory-accent);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

/* Products Header */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--theme-bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--theme-border);
}

.products-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--theme-text);
    margin: 0;
}

.products-title .material-icons {
    font-size: 2.25rem;
    color: var(--mnory-accent);
}

.products-count {
    font-size: 1rem;
    color: var(--theme-text-muted);
    margin: 0;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card-wrapper {
    height: 100%;
}

/* Empty State */
.empty-products-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.btn-back-home {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--mnory-accent);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-back-home:hover {
    background: #0051a8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.3);
    color: white;
}

.btn-back-home .material-icons {
    font-size: 22px;
}

/* Pagination */
.pagination-nav {
    margin-top: 3rem;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination .page-item {
    list-style: none;
}

.pagination .page-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--theme-bg-secondary);
    border: 2px solid var(--theme-border);
    border-radius: 10px;
    color: var(--theme-text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: var(--theme-bg-tertiary);
    border-color: var(--mnory-accent);
    color: var(--mnory-accent);
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
    background: var(--mnory-accent);
    border-color: var(--mnory-accent);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.pagination .page-link .material-icons {
    font-size: 20px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .category-title {
        font-size: 2.5rem;
    }

    .category-title .material-icons {
        font-size: 3rem;
    }

    .filters-sidebar {
        position: static;
        margin-bottom: 2rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .category-detail-section {
        padding: 1.5rem 0 3rem;
    }

    .category-header {
        margin-bottom: 2rem;
        padding: 1rem 0;
    }

    .category-title {
        font-size: 2rem;
    }

    .category-title .material-icons {
        font-size: 2.5rem;
    }

    .category-description {
        font-size: 1rem;
    }

    .subcategory-tabs {
        justify-content: flex-start;
    }

    .subcategory-tab-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }

    .filters-sidebar {
        padding: 1.5rem;
    }

    .products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .products-title {
        font-size: 1.5rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .category-title {
        font-size: 1.75rem;
    }

    .category-title .material-icons {
        font-size: 2rem;
    }

    .category-description {
        font-size: 0.95rem;
    }

    .subcategory-tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .filters-sidebar {
        padding: 1rem;
    }

    .filters-title {
        font-size: 1.25rem;
    }

    .filter-group-title {
        font-size: 1rem;
    }

    .products-title {
        font-size: 1.25rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .pagination .page-link {
        padding: 0.5rem 0.875rem;
        font-size: 0.875rem;
    }
}


/* ========================================
   HORIZONTAL FILTERS STYLES
======================================== */

/* Horizontal Filters Wrapper */
.horizontal-filters-wrapper {
    margin-bottom: 2rem;
    background: var(--theme-bg-secondary);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid var(--theme-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body.dark-mode .horizontal-filters-wrapper {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.horizontal-filters {
    width: 100%;
}

.horizontal-filters-form {
    width: 100%;
}

/* Filter Chips Container */
.filter-chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

/* Filter Chip Group */
.filter-chip-group {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--theme-bg);
    border: 2px solid var(--theme-border);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-chip-group:hover {
    border-color: var(--mnory-accent);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.15);
}

.filter-chip-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-chip-icon .material-icons {
    font-size: 20px;
    color: var(--mnory-accent);
}

/* Filter Chip Select */
.filter-chip-select {
    border: none;
    background: transparent;
    color: var(--theme-text);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    min-width: 120px;
}

.filter-chip-select::-ms-expand {
    display: none;
}

.filter-chip-select option {
    background: var(--theme-bg);
    color: var(--theme-text);
}

/* Price Filter Group */
.filter-price-group {
    padding: 0.5rem 1.25rem;
}

.filter-price-input {
    width: 80px;
    border: none;
    background: transparent;
    color: var(--theme-text);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.25rem;
    text-align: center;
    outline: none;
}

.filter-price-input::placeholder {
    color: var(--theme-text-muted);
}

.filter-price-input:focus {
    background: var(--theme-bg-tertiary);
    border-radius: 6px;
}

/* Flags Group */
.filter-flags-group {
    display: flex;
    gap: 0.5rem;
    background: transparent;
    border: none;
    padding: 0;
}

.filter-flag-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--theme-bg);
    border: 2px solid var(--theme-border);
    border-radius: 50px;
    color: var(--theme-text);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-flag-btn .material-icons {
    font-size: 18px;
}

.filter-flag-btn:hover {
    border-color: var(--mnory-accent);
    background: var(--theme-bg-tertiary);
    transform: translateY(-2px);
}

.filter-flag-btn.active {
    background: var(--mnory-accent);
    border-color: var(--mnory-accent);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.filter-flag-btn.active .material-icons {
    color: white;
}

/* Flag Colors */
.filter-flag-btn[data-filter="is_best_seller"] .material-icons {
    color: #ff9500;
}

.filter-flag-btn[data-filter="is_new_arrival"] .material-icons {
    color: #34c759;
}

.filter-flag-btn[data-filter="is_on_sale"] .material-icons {
    color: #ff3b30;
}

.filter-flag-btn.active[data-filter="is_best_seller"] .material-icons,
.filter-flag-btn.active[data-filter="is_new_arrival"] .material-icons,
.filter-flag-btn.active[data-filter="is_on_sale"] .material-icons {
    color: white;
}

/* Clear Filters Button */
.filter-clear-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--theme-bg);
    border: 2px solid var(--theme-border);
    border-radius: 50px;
    color: var(--theme-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: auto;
}

.filter-clear-btn .material-icons {
    font-size: 18px;
}

.filter-clear-btn:hover {
    border-color: #ff3b30;
    color: #ff3b30;
    background: rgba(255, 59, 48, 0.05);
    transform: translateY(-2px);
}

/* Category Products Section */
.category-products-section {
    width: 100%;
}

/* Products Header Updates */
.products-header-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .filter-chip-select {
        min-width: 100px;
    }

    .filter-price-input {
        width: 70px;
    }
}

@media (max-width: 992px) {
    .horizontal-filters-wrapper {
        padding: 1.25rem;
    }

    .filter-chips-container {
        gap: 0.75rem;
    }

    .filter-chip-group {
        padding: 0.45rem 0.875rem;
    }

    .filter-chip-select {
        min-width: 90px;
        font-size: 0.9rem;
    }

    .filter-price-input {
        width: 65px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .horizontal-filters-wrapper {
        padding: 1rem;
    }

    .filter-chips-container {
        gap: 0.5rem;
    }

    .filter-chip-group {
        padding: 0.4rem 0.75rem;
    }

    .filter-chip-icon .material-icons {
        font-size: 18px;
    }

    .filter-chip-select {
        min-width: 80px;
        font-size: 0.85rem;
    }

    .filter-flag-btn {
        padding: 0.4rem 0.875rem;
        font-size: 0.85rem;
    }

    .filter-flag-btn .material-icons {
        font-size: 16px;
    }

    .filter-clear-btn {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

@media (max-width: 576px) {
    .horizontal-filters-wrapper {
        padding: 0.875rem;
    }

    .filter-chips-container {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }

    .filter-chip-group,
    .filter-flags-group {
        width: 100%;
        justify-content: space-between;
    }

    .filter-price-group {
        width: 100%;
        justify-content: center;
    }

    .filter-chip-select {
        min-width: auto;
        flex: 1;
    }

    .filter-flag-btn {
        flex: 1;
        justify-content: center;
    }

    .flag-label {
        display: none;
    }

    .filter-clear-btn {
        padding: 0.625rem 1rem;
    }
}

@media (max-width: 400px) {
    .filter-chip-group {
        padding: 0.375rem 0.625rem;
    }

    .filter-chip-icon .material-icons {
        font-size: 16px;
    }

    .filter-chip-select {
        font-size: 0.8rem;
    }

    .filter-price-input {
        width: 55px;
        font-size: 0.8rem;
    }
}


/* Collapsible Panels for Filters & Subcategories (Mobile) */
.collapsible-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  background: var(--theme-bg-secondary);
  border: 1px solid var(--theme-border);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--mnory-accent);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.collapsible-toggle-btn .material-icons {
  font-size: 22px;
  transition: transform 0.3s;
}
.collapsible-toggle-btn .toggle-arrow {
  margin-left: auto;
  transition: transform 0.3s;
}
.collapsible-toggle-btn.expanded {
  background: var(--theme-bg);
  color: var(--theme-text);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.collapsible-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.3s;
}
.collapsible-content.expanded {
  max-height: 2000px;
  opacity: 1;
  transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.3s;
}
@media (max-width: 768px) {
  .subcategory-tabs-collapsible,
  .horizontal-filters-collapsible {
    margin-bottom: 1.25rem;
  }
  .collapsible-toggle-btn {
    font-size: 0.95rem;
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
  }
  .collapsible-content {
    padding-top: 0.5rem;
  }
}
@media (max-width: 576px) {
  .collapsible-toggle-btn {
    font-size: 0.9rem;
    padding: 0.5rem 0.6rem;
    border-radius: 8px;
  }
}

/* ========================================
   ADS CAROUSEL STYLES
======================================== */

/* Ads Carousel Section */
.ads-carousel-section {
    padding: 0;
    margin-bottom: 2rem;
    background: transparent;
}

.ads-carousel-section .container {
    padding: 0 15px;
}

/* Ads Carousel Container */
.ads-carousel {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    background: var(--theme-bg-secondary);
}

body.dark-mode .ads-carousel {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Ad Slide */
.ad-slide {
    position: relative;
    width: 100%;
    height: auto;
}

/* Ad Link */
.ad-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.ad-link:hover {
    transform: scale(1.01);
}

/* Ad Image Container */
.ad-image-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.ad-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.ad-slide:hover .ad-image {
    transform: scale(1.05);
}

/* Ad Overlay */
.ad-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        transparent 100%
    );
    padding: 3rem 2rem 2rem;
    transition: all 0.3s ease;
}

.ad-slide:hover .ad-overlay {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        transparent 100%
    );
}

/* Ad Content */
.ad-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.ad-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.6s ease;
}

.ad-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease;
}

/* Swiper Pagination */
.ads-carousel .swiper-pagination {
    position: relative;
    bottom: 20px;
    padding: 1rem 0;
    background: transparent;
}

.ads-carousel .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    margin: 0 6px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.ads-carousel .swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.ads-carousel .swiper-pagination-bullet-active {
    width: 32px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.4);
}

/* Hide Navigation Arrows */
.ads-carousel .swiper-button-next,
.ads-carousel .swiper-button-prev {
    display: none !important;
}

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

/* Responsive Styles */
@media (max-width: 1200px) {
    .ad-image-container {
        height: 350px;
    }

    .ad-title {
        font-size: 1.75rem;
    }

    .ad-description {
        font-size: 1rem;
    }
}

@media (max-width: 992px) {
    .ads-carousel-section {
        margin-bottom: 1.5rem;
    }

    .ads-carousel-section .container {
        padding: 0 12px;
    }

    .ads-carousel {
        border-radius: 16px;
    }

    .ad-image-container {
        height: 300px;
    }

    .ad-overlay {
        padding: 2rem 1.5rem 1.5rem;
    }

    .ad-title {
        font-size: 1.5rem;
    }

    .ad-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .ads-carousel-section {
        margin-bottom: 1rem;
    }

    .ads-carousel-section .container {
        padding: 0 10px;
    }

    .ads-carousel {
        border-radius: 12px;
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    }

    body.dark-mode .ads-carousel {
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
    }

    .ad-image-container {
        height: 250px;
    }

    .ad-overlay {
        padding: 1.5rem 1rem 1rem;
    }

    .ad-title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .ad-description {
        font-size: 0.9rem;
    }

    .ads-carousel .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }

    .ads-carousel .swiper-pagination-bullet-active {
        width: 24px;
    }
}

@media (max-width: 576px) {
    .ads-carousel-section .container {
        padding: 0 8px;
    }

    .ads-carousel {
        border-radius: 10px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    }

    body.dark-mode .ads-carousel {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    }

    .ad-image-container {
        height: 200px;
    }

    .ad-overlay {
        padding: 1rem 0.75rem 0.75rem;
    }

    .ad-title {
        font-size: 1.1rem;
    }

    .ad-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .ads-carousel .swiper-pagination {
        bottom: 15px;
        padding: 0.75rem 0;
    }

    .ads-carousel .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        margin: 0 3px;
    }

    .ads-carousel .swiper-pagination-bullet-active {
        width: 20px;
    }
}

@media (max-width: 400px) {
    .ads-carousel-section .container {
        padding: 0 5px;
    }

    .ads-carousel {
        border-radius: 8px;
    }

    .ad-image-container {
        height: 180px;
    }

    .ad-overlay {
        padding: 0.75rem 0.5rem 0.5rem;
    }

    .ad-title {
        font-size: 1rem;
        line-height: 1.3;
    }

    .ad-description {
        font-size: 0.8rem;
        line-height: 1.35;
    }

    .ads-carousel .swiper-pagination {
        bottom: 12px;
        padding: 0.5rem 0;
    }

    .ads-carousel .swiper-pagination-bullet {
        width: 7px;
        height: 7px;
        margin: 0 2px;
    }

    .ads-carousel .swiper-pagination-bullet-active {
        width: 18px;
    }
}

/* ========================================
   NOTIFICATION SYSTEM
   ======================================== */
.cart-notification {
    position: fixed;
    top: 80px;
    right: 20px;
    min-width: 300px;
    max-width: 400px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    opacity: 0;
    transform: translateX(120%);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
}

.cart-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.cart-notification .notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    color: #333;
    font-size: 15px;
    font-weight: 500;
}

.cart-notification .notification-content i {
    font-size: 24px;
    flex-shrink: 0;
}

/* Success notification */
.notification-success {
    border-left: 4px solid #10b981;
}

.notification-success .notification-content i {
    color: #10b981;
}

/* Error notification */
.notification-error {
    border-left: 4px solid #ef4444;
}

.notification-error .notification-content i {
    color: #ef4444;
}

/* Info notification */
.notification-info {
    border-left: 4px solid #3b82f6;
}

.notification-info .notification-content i {
    color: #3b82f6;
}

/* Warning notification */
.notification-warning {
    border-left: 4px solid #f59e0b;
}

.notification-warning .notification-content i {
    color: #f59e0b;
}

/* Dark mode support */
body.dark-mode .cart-notification {
    background: var(--theme-bg-secondary);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

body.dark-mode .cart-notification .notification-content {
    color: var(--theme-text);
}

/* RTL support for Arabic */
[dir="rtl"] .cart-notification {
    right: auto;
    left: 20px;
    transform: translateX(-120%);
}

[dir="rtl"] .cart-notification.show {
    transform: translateX(0);
}

/* ========================================
   PRODUCT DETAIL PAGE - MOBILE RESPONSIVE
   ======================================== */

/* Tablet and below - Stack vertically */
@media (max-width: 991px) {
    .product-content-wrapper .row {
        min-height: auto;
        flex-direction: column;
    }

    .product-content-wrapper .container-fluid {
        padding: 0 1rem;
    }

    .product-gallery-container {
        margin-bottom: 2rem;
    }

    .product-info-section {
        padding: 2rem;
        height: auto;
        overflow-y: visible;
    }

    .product-title {
        font-size: 1.875rem !important;
    }
}

@media (max-width: 768px) {
    .product-content-wrapper {
        padding: 1rem 0;
    }

    .product-gallery-container {
        padding: 0;
        margin-bottom: 1.5rem;
    }

    .product-detail-swiper .swiper-button-next,
    .product-detail-swiper .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .product-detail-swiper .swiper-button-next::after,
    .product-detail-swiper .swiper-button-prev::after {
        font-size: 16px;
    }

    .product-detail-swiper .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }

    .product-detail-swiper .swiper-pagination-bullet-active {
        width: 24px;
    }

    .product-info-section {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .product-title {
        font-size: 1.75rem !important;
    }

    .product-subtitle {
        font-size: 0.9rem !important;
    }

    .product-price-current {
        font-size: 1.75rem !important;
    }

    .product-detail-thumbs .swiper-slide img {
        height: 60px;
    }

    .product-thumbnails-wrapper {
        margin-top: 0.75rem;
    }
}

@media (max-width: 576px) {
    .product-content-wrapper .container-fluid {
        padding: 0 0.75rem;
    }

    .product-detail-swiper .swiper-button-next,
    .product-detail-swiper .swiper-button-prev {
        width: 36px;
        height: 36px;
    }

    .product-detail-swiper .swiper-button-next::after,
    .product-detail-swiper .swiper-button-prev::after {
        font-size: 14px;
    }

    .product-info-section {
        padding: 1.25rem;
    }

    .product-title {
        font-size: 1.5rem !important;
    }

    .product-detail-thumbs .swiper-slide img {
        height: 50px;
    }
}

/* Large screens - optimize layout */
@media (min-width: 1400px) {
    .product-content-wrapper .row {
        min-height: 750px;
    }

    .product-info-section {
        padding: 2.5rem;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .cart-notification {
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }

    [dir="rtl"] .cart-notification {
        left: 10px;
        right: 10px;
    }
}

.fixed-card-height {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-height:760px !important;
  height: 100%;
}
