/* ===================================================
   PAGE LOADER
   =================================================== */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease;
    pointer-events: auto; /* Block interaction while visible */
}

#page-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    position: relative;
    width: 130px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-logo {
    width: 110px;
    height: 60px;
    animation: logoPulse 1.5s ease-in-out infinite;
    position: absolute;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

#page-loader .spinner {
    width: 130px;
    height: 130px;
    border: 4px solid transparent;
    border-top: 4px solid var(--secondary-color);
    border-left: 4px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin-progress 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

@keyframes spin-progress {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
:root {
  --primary-color: #1A1A3A;
  --secondary-color: #A48111;
  --green-color: #4CAF50;
    --bs-btn-active-color:#A48111;
  --purple-color: #A48111;
  --pink-color: #FFC0CB;
  --light-blue-color: #ADD8E6;
  --white-color: #FFFFFF;
  --light-gray-color: #F5F5F5;
  --gray-color: #CCCCCC;
  --dark-gray-color: #333333;
  --black-color: #000000;
    --marquee-bg-light: linear-gradient(90deg, var(--secondary-color) 0%, #ffd700 50%, var(--secondary-color) 100%);
  --marquee-text-light: #000000;
  --marquee-hover-light: var(--primary-color);
  --marquee-separator-light: var(--primary-color);
  --marquee-shadow-light: 0 2px 5px rgba(0, 0, 0, 0.1);
}
[data-theme="dark"] {
    /* ===== Dark Theme ===== */
    --marquee-bg-dark: linear-gradient(90deg, #222222 0%, #FFD700 50%, #222222 100%);
    --marquee-text-dark: #ffffff;
    --marquee-hover-dark: #FFD700;
    --marquee-separator-dark: #FFD700;
    --marquee-shadow-dark: 0 2px 10px rgba(255, 215, 0, 0.6);
}
/* ===================================================
   Theme Variables
   =================================================== */
body[data-theme="dark"] {
  --bg-body: #1A1A3A;
  --bg-primary: #1A1A3A;
  --bg-secondary: #2a2a50;
  --bg-surface: #252547;
  --bg-card: #2d2d55;
  --text-primary: #FFFFFF;
  --text-secondary: #FFFFFF;
  --text-muted: #CCCCCC;
  --border-color: rgba(255, 255, 255, 0.1);
  --shadow-color: rgba(0, 0, 0, 0.3);
}

body[data-theme="light"] {
  --bg-body: #FFFFFF;
  --bg-primary: #FFFFFF;
  --bg-secondary: #F5F5F5;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --text-primary: #000000;
  --text-secondary: #1A1A3A;
  --text-muted: #666666;
  --border-color: rgba(0, 0, 0, 0.1);
  --shadow-color: rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

body {
  font-family: 'IBM Plex Sans Arabic', sans-serif !important;
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  font-style: normal;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
/* ===== تنسيق الشريط المتحرك (Marquee) ===== */
.marquee-container {
    background: var(--marquee-bg-light);
    color: var(--marquee-text-light);
    padding: var(--spacing-sm) 0;
    overflow: hidden;
    position: relative;
    z-index: 1001;
    box-shadow: var(--marquee-shadow-light);
    transition: background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

/* Dark Theme */
[data-theme="dark"] .marquee-container {
    background: linear-gradient(90deg, #1A1A3A 0%, #2a2a4a 50%, #1A1A3A 100%);
    color: var(--secondary-color);
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.2);
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
}
/* ===== Marquee News Container ===== */
/* ===== Marquee News Container ===== */
.marquee-news-container {
    width: 100%;
    height: 5vh;
    min-height: 40px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--primary-color) 100%);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .marquee-news-container {
    background: linear-gradient(90deg, #1A1A3A 0%, #A48111 50%, #1A1A3A 100%);
    box-shadow: 0 2px 10px rgba(164, 129, 17, 0.3);
}

/* ===== Swiper Wrapper ===== */
.marquee-news-swiper {
    width: 100%;
    height: fit-content;
    padding-bottom: 0 !important;
}

/* ===== Each Slide ===== */
.marquee-news-swiper .swiper-slide {
    display: inline-flex;
    align-items: center;
    height: fit-content;
    width: auto !important;
}

/* ===== Marquee Item ===== */
.marquee-news-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 16px;
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    height: fit-content;
}

[data-theme="dark"] .marquee-news-item {
    color: #FFFFFF;
}

[data-theme="light"] .marquee-news-item {
    color: #FFFFFF;
}

.marquee-news-item:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 8px rgba(164, 129, 17, 0.6);
    transform: scale(1.02);
}

[data-theme="dark"] .marquee-news-item:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(164, 129, 17, 0.8);
}

.marquee-news-item i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    color: var(--secondary-color);
}

[data-theme="dark"] .marquee-news-item i {
    color: var(--secondary-color);
}

.marquee-news-item:hover i {
    transform: scale(1.15) rotate(5deg);
}

/* ===== Separator ===== */
.marquee-news-separator {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: bold;
    opacity: 0.8;
    margin: 0 20px;
    display: flex;
    align-items: center;
    height: fit-content;
}

[data-theme="dark"] .marquee-news-separator {
    color: var(--secondary-color);
    opacity: 0.8;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .marquee-news-container {
        height: auto;
        min-height: 36px;
    }

    .marquee-news-item {
        font-size: 14px;
        gap: 6px;
    }

    .marquee-news-item i {
        font-size: 1rem;
    }

    .marquee-news-separator {
        font-size: 1.3rem;
        margin: 0 14px;
    }
}

@media (max-width: 576px) {
    .marquee-news-container {
        min-height: 32px;
    }

    .marquee-news-item {
        font-size: 13px;
        gap: 5px;
    }

    .marquee-news-item i {
        font-size: 0.95rem;
    }

    .marquee-news-separator {
        font-size: 1.2rem;
        margin: 0 10px;
    }
}
/* ===================================================
   Theme Toggle Button
   =================================================== */
#themeToggle {
  background: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

#themeToggle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--secondary-color);
  transition: width 0.3s ease;
  border-radius: 50%;
}

#themeToggle:hover::before {
  width: 100%;
}

#themeToggle i {
  position: relative;
  z-index: 1;
  font-size: 18px;
  transition: all 0.3s ease;
}

#themeToggle:hover {
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 4px 15px rgba(164, 129, 17, 0.4);
}

#themeToggle:hover i {
  color: #FFFFFF;
}

/* ===================================================
   Header Styles
   =================================================== */
.header {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px var(--shadow-color);
  border-bottom: 1px solid var(--border-color);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary-color);
}

.logo svg {
  stroke: var(--secondary-color);
}

.logo-text {
  font-size: 24px;
  font-weight: bold;
}

.nav {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s;
  font-size: 16px;
  position: relative;
  padding: 5px 0;
}

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

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

.nav-link:hover,
.nav-link.active {
  color: var(--secondary-color);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.search-box {
  position: relative;
}

.search-box input {
  padding: 10px 40px 10px 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--bg-surface);
  color: var(--text-primary);
  min-width: 250px;
  transition: all 0.3s;
}

.search-box input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(164, 129, 17, 0.2);
  border-color: var(--secondary-color);
}

.search-box svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  stroke: var(--text-primary);
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #c59a13 100%);
  color: #FFFFFF;
  border: none;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  font-size: 16px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(164, 129, 17, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  transition: width 0.4s ease;
  z-index: 0;
}

.btn-primary:hover::before {
  width: 100%;
}

.btn-primary span,
.btn-primary svg {
  position: relative;
  z-index: 1;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(164, 129, 17, 0.4);
}

.btn-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(164, 129, 17, 0.3);
}

.btn-large {
  padding: 16px 40px;
  font-size: 20px;
  border-radius: 16px;
}

.btn-block {
  width: 100%;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-surface) 100%);
  color: var(--text-primary);
  border: 2px solid var(--border-color);
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  font-size: 16px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px var(--shadow-color);
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--secondary-color);
  transition: width 0.4s ease;
  z-index: 0;
}

.btn-secondary:hover::before {
  width: 100%;
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--shadow-color);
  color: #FFFFFF;
}

.btn-secondary:active {
  transform: translateY(-1px);
}


.badge {
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #c59a13 100%);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 50%;
  min-width: 20px;
  text-align: center;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* ===================================================
   Hero Section
   =================================================== */
.hero {
  background: var(--bg-primary);
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
  min-height: 650px;
  max-height: 650px;
}

body[data-theme="dark"] .hero {
  background: linear-gradient(135deg, #1A1A3A 0%, #2a2a50 50%, #1A1A3A 100%);
}

.heroSwiper {
  width: 100%;
  height: 650px;
}

.swiper-slide {
  padding: 40px 0;
  height: 650px;
  display: flex;
  align-items: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  z-index: 10;
  animation: fadeInRight 0.8s ease-out;
}

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

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-primary);
}

.hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--text-muted);
}

.hero-image {
  position: relative;
  z-index: 10;
  animation: fadeInLeft 0.8s ease-out;
}

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

.glow-effect {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(164, 129, 17, 0.3) 0%, transparent 70%);
  filter: blur(80px);
  border-radius: 50%;
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    opacity: 0.5;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1.1);
  }
}

.hero-image img {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 650px;
  height: auto;
  aspect-ratio: 1400 / 650;
  object-fit: cover;
  margin: 0 auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 20px 60px var(--shadow-color);
  transition: transform 0.3s ease;
}

.hero-image img:hover {
  transform: scale(1.05);
}

.swiper-pagination {
  bottom: 30px !important;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 4px;
  border-radius: 4px;
  background-color: rgba(164, 129, 17, 0.5);
  opacity: 1;
  transition: all 0.3s;
}

.swiper-pagination-bullet-active {
  width: 48px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #c59a13 100%);
}

/* ===================================================
   Section Title
   =================================================== */
.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
  border-radius: 2px;
}

/* ===================================================
   CATEGORY CARDS - Fully Responsive
   =================================================== */
.categories {
  padding: 80px 0;
  background-color: var(--bg-surface);
}

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

.category-card {
  background-color: var(--bg-card);
  padding: 20px 15px;
  border-radius: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
  max-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 240px;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(164, 129, 17, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.category-card:hover::before {
  opacity: 1;
}

.category-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 15px 40px var(--shadow-color);
}

.category-icon {
  width: 110px;
  height: 110px;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-surface) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.4s;
  border: 2px solid var(--border-color);
  flex-shrink: 0;
}

.category-card:hover .category-icon {
  transform: rotateY(360deg) scale(1.1);
  background: linear-gradient(135deg, var(--secondary-color) 0%, #c59a13 100%);
  border-color: var(--secondary-color);
}

.category-icon svg {
  stroke: var(--secondary-color);
  transition: all 0.3s;
  width: 45px;
  height: 45px;
}

.category-card:hover .category-icon svg {
  stroke: #FFFFFF;
}

.category-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.3s;
  margin: 0;
  line-height: 1.4;
}

.category-card:hover .category-name {
  color: var(--secondary-color);
}

/* Vendor Logo Styling */
.vendor-logo {
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 15px;
  border-radius: 12px;
  padding: 10px;
  background-color: var(--bg-surface);
  flex-shrink: 0;
}

.category-card h3 {
  color: var(--text-primary);
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
}

body[data-theme="dark"] .category-card h3 {
  color: #A48111;
}

/* ===================================================
   CATEGORIES CARDS - Dedicated Class with Fixed Heights
   =================================================== */
.categories-card {
  background-color: var(--bg-card);
  color: var(--text-primary);
  border-radius: 20px;
  box-shadow: 0 5px 20px var(--shadow-color);
  overflow: hidden;
  text-align: center;
  padding: 25px 20px;
  width: 100%;
  min-height: 320px;
  max-height: 320px;
  height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  border: 1px solid var(--border-color);
}

.categories-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(164, 129, 17, 0.3);
}

.categories-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(164, 129, 17, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 1;
}

.categories-card:hover::before {
  opacity: 1;
}

.categories-card .category-icon,
.categories-card .fancy-icon {
  width: 80px;
  height: 80px;
  min-height: 80px;
  max-height: 80px;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.categories-card .category-icon img,
.categories-card .fancy-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.categories-card .product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  z-index: 2;
  position: relative;
}

.categories-card .product-title,
.categories-card .cats-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 45px;
  max-height: 45px;
}

.categories-card .product-vendor {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.categories-card .vendor-btn {
  margin-top: auto;
  z-index: 2;
  position: relative;
}

.categories-card .featured-badge {
  z-index: 3;
}

/* ===================================================
   PRODUCT CARDS - Fully Responsive
   =================================================== */
.products {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  padding: 60px 0;
  transition: background-color 0.4s ease, color 0.4s ease;
}

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

.product-card {
  background-color: var(--bg-card);
  color: var(--text-primary);
  border-radius: 20px;
  box-shadow: 0 5px 20px var(--shadow-color);
  overflow: visible;
  text-align: center;
  padding: 20px;
  width: 100%;
  min-height: 520px;
  height: auto;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(164, 129, 17, 0.3);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(164, 129, 17, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 1;
}

.product-card:hover::before {
  opacity: 1;
}

.product-image {
  width: 100%;
  height: 200px;
  min-height: 200px;
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 15px;
  position: relative;
  overflow: hidden;
}

.product-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.product-card:hover .product-image::after {
  opacity: 1;
}

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

.product-card:hover .product-image img {
  transform: scale(1.15);
}

.product-info {
  padding: 0;
  position: relative;
  z-index: 2;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 4px;
}

.product-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 45px;
  max-height: 45px;
}

.product-vendor {
  font-size: 13px;
  color: var(--text-muted, #777);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

[data-bs-theme="dark"] .product-vendor {
  color: var(--text-muted, #999);
}

.product-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 10px;
}

.product-rating i {
  color: #FFD700;
  font-size: 14px;
}

.product-rating span {
  font-size: 13px;
  color: var(--text-muted, #888);
}

[data-bs-theme="dark"] .product-rating span {
  color: var(--text-muted, #aaa);
}

.product-price {
  font-size: 13px;
  font-weight: 700;
  margin-top: 5px;
  color: var(--secondary-color);
}

/* Price Container Styles */
.price-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  margin-bottom: 10px;
  padding-top: 8px;
}

.current-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.old-price {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 400;
}

/* Order Quantity Info Styles */
.order-quantity-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.min-order-info,
.max-order-info {
  background-color: var(--bg-surface);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  font-size: 11px;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.min-order-info:hover,
.max-order-info:hover {
  background-color: var(--bg-card);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 15px;
  flex-direction: column;
  gap: 10px;
}

.add-to-cart-btn {
  background: var(--secondary-color);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
}

.add-to-cart-btn:hover {
  background: #c59a13;
  transform: translateY(-2px);
}
/* ===================================================
   FANCY CARDS - Enhanced Styling for Categories & Vendors
   =================================================== */

/* Fancy Card Base Styles */
.fancy-card {
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  background-clip: padding-box;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fancy-card::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--secondary-color), #c59a13, var(--secondary-color));
  border-radius: 20px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.fancy-card:hover::after {
  opacity: 1;
  animation: borderRotate 3s linear infinite;
}

@keyframes borderRotate {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}

/* Fancy Glow Effect */
.fancy-glow {
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: radial-gradient(circle, rgba(164, 129, 17, 0.3) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
  z-index: 0;
}

.fancy-card:hover .fancy-glow,
.fancy-vendor-card:hover .fancy-glow {
  opacity: 1;
  transform: scale(1.2);
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1.1);
  }
  50% {
    opacity: 1;
    transform: scale(1.3);
  }
}

/* Fancy Icon Styling */
.fancy-icon {
  background: linear-gradient(135deg, rgba(164, 129, 17, 0.15) 0%, rgba(164, 129, 17, 0.05) 100%);
  border: 3px solid var(--secondary-color);
  box-shadow: 0 10px 30px rgba(164, 129, 17, 0.3), inset 0 0 20px rgba(164, 129, 17, 0.1);
  position: relative;
  overflow: hidden;
}

.fancy-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
}

.fancy-card:hover .fancy-icon {
  border-color: #FFD700;
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5), inset 0 0 30px rgba(255, 215, 0, 0.2);
  transform: rotateY(360deg) scale(1.15);
}

.fancy-card:hover .fancy-icon::before {
  left: 100%;
}

.fancy-icon svg {
  filter: drop-shadow(0 4px 8px rgba(164, 129, 17, 0.4));
  transition: all 0.4s ease;
}

.fancy-card:hover .fancy-icon svg {
  stroke: #FFFFFF;
  filter: drop-shadow(0 6px 12px rgba(255, 215, 0, 0.6));
  transform: scale(1.1);
}

/* Fancy Button Styling */
.fancy-btn {
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(164, 129, 17, 0.4);
  border: 2px solid var(--secondary-color);
}

.fancy-btn::after {
  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;
}

.fancy-btn:hover::after {
  width: 300px;
  height: 300px;
}

.fancy-btn:hover {
  box-shadow: 0 12px 35px rgba(255, 215, 0, 0.6);
  border-color: #FFD700;
  transform: translateY(-3px) scale(1.02);
}

/* ===================================================
   FANCY VENDOR CARDS - Premium Styling
   =================================================== */

.fancy-vendor-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-surface) 50%, var(--bg-card) 100%);
  border: 2px solid var(--border-color);
  box-shadow: 0 10px 40px var(--shadow-color);
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 30px 20px;
  border-radius: 20px;
}

.fancy-vendor-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg,
    transparent 30%,
    rgba(164, 129, 17, 0.1) 50%,
    transparent 70%);
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.fancy-vendor-card:hover::before {
  opacity: 1;
  animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.fancy-vendor-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 20px 60px rgba(164, 129, 17, 0.4);
  border-color: var(--secondary-color);
}

/* Vendor Badge */
.vendor-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: bold;
  color: #FFFFFF;
  text-transform: uppercase;
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
  z-index: 10;
  animation: badgeBounce 2s ease-in-out infinite;
  display: flex;
  align-items: center;
  gap: 5px;
}

.vendor-badge::before {
  content: '✓';
  font-weight: bold;
  font-size: 14px;
}

@keyframes badgeBounce {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-5px) scale(1.05);
  }
}

/* Fancy Logo Styling */
.fancy-logo {
  position: relative;
  border: 3px solid var(--border-color);
  border-radius: 16px;
  padding: 15px;
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-primary) 100%);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 25px var(--shadow-color);
}

.fancy-vendor-card:hover .fancy-logo {
  border-color: var(--secondary-color);
  box-shadow: 0 15px 40px rgba(164, 129, 17, 0.5);
  transform: scale(1.08) rotateZ(2deg);
}

.fancy-logo::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 16px;
  padding: 3px;
  background: linear-gradient(135deg, var(--secondary-color), #FFD700, var(--secondary-color));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.fancy-vendor-card:hover .fancy-logo::after {
  opacity: 1;
  animation: borderShine 2s linear infinite;
}

@keyframes borderShine {
  0% {
    filter: hue-rotate(0deg) brightness(1);
  }
  50% {
    filter: hue-rotate(90deg) brightness(1.2);
  }
  100% {
    filter: hue-rotate(0deg) brightness(1);
  }
}

/* Vendor Title Styling */
.fancy-vendor-card h3 {
  margin-top: 20px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px var(--shadow-color);
}

.fancy-vendor-card:hover h3 {
  color: var(--secondary-color);
  transform: scale(1.05);
  text-shadow: 0 4px 12px rgba(164, 129, 17, 0.4);
}

/* Vendor Button */
.vendor-btn {
  margin-top: 15px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 25px;
  position: relative;
  overflow: hidden;
  z-index: 2;
  transition: all 0.4s ease;
}

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

.vendor-btn:hover::before {
  left: 100%;
}

.vendor-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px var(--shadow-color);
  background: linear-gradient(135deg, var(--secondary-color) 0%, #c59a13 100%);
  color: #FFFFFF;
  border-color: transparent;
}

/* Vendor Button Outline Variant */
.vendor-btn-outline {
  margin-top: 15px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 25px;
  background: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  transition: all 0.4s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.vendor-btn-outline:hover {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #c59a13 100%);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(164, 129, 17, 0.4);
}

[data-theme="dark"] .vendor-btn-outline {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

[data-theme="dark"] .vendor-btn-outline:hover {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #c59a13 100%);
  color: #1A1A3A;
}

/* ===================================================
   ENHANCED CATEGORY ICON ANIMATIONS
   =================================================== */

.fancy-card .category-icon {
  animation: iconFloat 3s ease-in-out infinite;
}

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

.fancy-card:hover .category-icon {
  animation: iconSpin 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes iconSpin {
  0% {
    transform: rotateY(0deg) scale(1);
  }
  50% {
    transform: rotateY(180deg) scale(1.15);
  }
  100% {
    transform: rotateY(360deg) scale(1.15);
  }
}

/* ===================================================
   PARTICLE EFFECTS ON HOVER
   =================================================== */

.fancy-card::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--secondary-color);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

.fancy-card:hover::before {
  animation: particle1 1.5s ease-out;
}

@keyframes particle1 {
  0% {
    top: 50%;
    left: 50%;
    opacity: 1;
    transform: translate(-50%, -50%) scale(0);
  }
  100% {
    top: 10%;
    left: 90%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* ===================================================
   3D TILT EFFECT
   =================================================== */

.fancy-card,
.fancy-vendor-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* ===================================================
   GLASS MORPHISM EFFECT
   =================================================== */

body[data-theme="dark"] .fancy-card,
body[data-theme="dark"] .fancy-vendor-card {
  background: rgba(42, 42, 80, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(164, 129, 17, 0.2);
}

body[data-theme="dark"] .fancy-card:hover,
body[data-theme="dark"] .fancy-vendor-card:hover {
  background: rgba(42, 42, 80, 0.9);
  border: 1px solid rgba(164, 129, 17, 0.5);
}

/* ===================================================
   RIPPLE EFFECT ON CLICK
   =================================================== */

.fancy-card:active::after,
.fancy-vendor-card:active::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(164, 129, 17, 0.4);
  transform: translate(-50%, -50%);
  animation: ripple 0.6s ease-out;
}

@keyframes ripple {
  to {
    width: 500px;
    height: 500px;
    opacity: 0;
  }
}

/* ===================================================
   PREMIUM SHINE EFFECT
   =================================================== */

.fancy-card .product-title,
.fancy-vendor-card h3 {
  background: linear-gradient(90deg, var(--text-primary) 40%, var(--secondary-color) 50%, var(--text-primary) 60%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: none;
}

.fancy-card:hover .product-title,
.fancy-vendor-card:hover h3 {
  animation: textShine 2s linear infinite;
}

@keyframes textShine {
  to {
    background-position: 200% center;
  }
}

/* ===================================================
   CATEGORY BADGE STYLING
   =================================================== */

.fancy-card .featured-badge {
  background: linear-gradient(135deg, var(--purple-color), #1A1A3A);
  box-shadow: 0 4px 15px rgba(26, 26, 58, 0.5);
  animation: badgeFloat 3s ease-in-out infinite;
}

@keyframes badgeFloat {
  0%, 100% {
    transform: rotate(-10deg) translateY(0);
  }
  50% {
    transform: rotate(-10deg) translateY(-5px);
  }
}

.fancy-card:hover .featured-badge {
  animation: badgePulse 0.6s ease-out;
}

@keyframes badgePulse {
  0%, 100% {
    transform: rotate(-10deg) scale(1);
  }
  50% {
    transform: rotate(-10deg) scale(1.15);
  }
}

/* ===================================================
   ENHANCED SHADOWS AND DEPTH
   =================================================== */

.fancy-card,
.fancy-vendor-card {
  box-shadow:
    0 10px 30px var(--shadow-color),
    0 1px 3px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.fancy-card:hover,
.fancy-vendor-card:hover {
  box-shadow:
    0 25px 60px rgba(164, 129, 17, 0.3),
    0 10px 20px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 40px rgba(164, 129, 17, 0.2);
}

/* ===================================================
   ACCESSIBILITY IMPROVEMENTS
   =================================================== */

.fancy-card:focus-visible,
.fancy-vendor-card:focus-visible {
  outline: 3px solid var(--secondary-color);
  outline-offset: 4px;
}

.vendor-btn:focus-visible,
.fancy-btn:focus-visible {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

/* ===================================================
   Swiper Carousel
   =================================================== */
.swiper {
  padding-bottom: 60px !important;
}

.product-pagination {
  bottom: 0 !important;
  text-align: center;
  margin-top: 10px;
}

.swiper-pagination-bullet {
  background: var(--secondary-color);
  opacity: 0.5;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  transform: scale(1.2);
}

/* ===================================================
   Footer
   =================================================== */
.footer {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  padding: 60px 0 30px;
  border-top: 1px solid var(--border-color);
}

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

.footer-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.footer-text {
  color: var(--text-muted);
  margin-bottom: 25px;
  line-height: 1.8;
}

.social-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.social-link {
  width: 45px;
  height: 45px;
  background-color: rgba(164, 129, 17, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #c59a13 100%);
  transform: scale(0);
  transition: transform 0.4s ease;
  border-radius: 50%;
}

.social-link:hover::before {
  transform: scale(1);
}

.social-link svg,
.social-link i {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: #FFFFFF !important;
  transform: translateY(-5px) rotate(5deg);
  box-shadow: 0 8px 20px rgba(164, 129, 17, 0.4);
}

.contact-info {
  display: flex;
  gap: 10px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s;
  padding: 8px;
  border-radius: 8px;
  color: var(--text-primary);
}

.contact-item:hover {
  background-color: rgba(164, 129, 17, 0.1);
  transform: translateX(-5px);
}

.contact-item svg {
  stroke: var(--secondary-color);
  min-width: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a,
.footer-link {
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s;
  padding: 5px 0;
  position: relative;
  display: inline-block;
}

.footer-links a::before,
.footer-link::before {
  content: '◀';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all 0.3s;
  color: var(--secondary-color);
}

.footer-links a:hover::before,
.footer-link:hover::before {
  left: -15px;
  opacity: 1;
}

.footer-links a:hover,
.footer-link:hover {
  color: var(--secondary-color);
  transform: translateX(-5px);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  margin-bottom: 10px;
}

.footer-note {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-section h3 {
  color: var(--text-primary);
}

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

/* ===================================================
   COMPREHENSIVE RESPONSIVE DESIGN
   All Cards + All Elements
   =================================================== */

/* Large Tablets and Small Desktops (1024px - 1200px) */
@media (max-width: 1200px) {


  .container {
    max-width: 1024px;
    padding: 0 30px;
  }

  .hero-content {
    gap: 40px;
  }

  .hero-title {
    font-size: 42px;
  }

  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
  }

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

  .product-image {
    height: 260px;
  }
}

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) {
  .container {
    padding: 0 25px;
  }

  .nav {
    display: none;
  }

  .search-box {
    display: none;
  }

  .hero {
    min-height: 450px;
    max-height: 550px;
  }

  .heroSwiper {
    height: 450px;
  }

  .swiper-slide {
    height: 450px;
    padding: 30px 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-title {
    font-size: 38px;
  }

  .hero-description {
    font-size: 17px;
  }

  .hero-image img {
    max-width: 350px;
  }

  .section-title {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .categories {
    padding: 60px 0;
  }

  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
  }

  .category-card {
    padding: 35px 20px;
    min-height: 220px;
    border-radius: 18px;
  }

  .category-icon {
    width: 75px;
    height: 75px;
    margin-bottom: 18px;
  }

  .category-icon svg {
    width: 38px;
    height: 38px;
  }

  .category-name {
    font-size: 18px;
  }

  .vendor-logo {
    height: 130px;
  }

  .fancy-vendor-card {
    min-height: 300px;
    padding: 28px 18px;
  }

  .categories-card {
    min-height: 300px;
    max-height: 300px;
    height: 300px;
    padding: 22px 18px;
  }

  .categories-card .category-icon,
  .categories-card .fancy-icon {
    width: 75px;
    height: 75px;
    min-height: 75px;
    max-height: 75px;
  }

  .categories-card .product-title,
  .categories-card .cats-title {
    font-size: 16px;
    min-height: 42px;
    max-height: 42px;
  }

  .categories-card .product-vendor {
    font-size: 12px;
  }

  .products {
    padding: 60px 0;
  }

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

  .product-card {
    border-radius: 18px;
    min-height: 460px;
    max-height: 460px;
    height: 460px;
    padding: 18px;
  }

  .product-image {
    height: 180px;
    min-height: 180px;
    max-height: 180px;
  }

  .product-title {
    font-size: 15px;
    min-height: 42px;
    max-height: 42px;
  }

  .product-vendor {
    font-size: 12px;
  }

  .product-info {
    padding: 22px;
  }

  .product-title {
    font-size: 19px;
  }

  .product-price {
    font-size: 16px;
  }

  .current-price {
    font-size: 18px;
  }

  .old-price {
    font-size: 13px;
  }

  .order-quantity-info {
    font-size: 11px;
    gap: 8px;
  }

  .min-order-info,
  .max-order-info {
    padding: 5px 10px;
    font-size: 10px;
  }

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

/* Mobile Landscape & Small Tablets (640px - 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
.product-card:has(.discount-badge):has(.new-badge) .new-badge {
    top: 35px !important;
}
  .header-left .btn-primary {
    padding: 10px 18px;
    font-size: 15px;
  }

  .hero {
    min-height: 420px;
    max-height: 480px;
  }

  .heroSwiper {
    height: 420px;
  }

  .swiper-slide {
    height: 420px;
    padding: 25px 0;
  }

  .hero-title {
    font-size: 34px;
    margin-bottom: 18px;
  }

  .hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .hero-image img {
    max-width: 300px;
  }

  .btn-large {
    padding: 14px 32px;
    font-size: 18px;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 35px;
    padding-bottom: 18px;
  }

  .section-title::after {
    width: 70px;
  }

  .categories {
    padding: 50px 0;
  }

  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
  }

  .category-card {
    padding: 30px 18px;
    min-height: 200px;
    border-radius: 16px;
  }

  .category-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 16px;
  }

  .category-icon svg {
    width: 35px;
    height: 35px;
  }

  .category-name {
    font-size: 17px;
  }

  .vendor-logo {
    height: 115px;
    padding: 8px;
  }

  .fancy-vendor-card {
    min-height: 280px;
    padding: 25px 15px;
  }

  .categories-card {
    min-height: 280px;
    max-height: 280px;
    height: 280px;
    padding: 20px 16px;
  }

  .categories-card .category-icon,
  .categories-card .fancy-icon {
    width: 70px;
    height: 70px;
    min-height: 70px;
    max-height: 70px;
  }

  .categories-card .product-title,
  .categories-card .cats-title {
    font-size: 15px;
    min-height: 40px;
    max-height: 40px;
  }

  .categories-card .product-vendor {
    font-size: 12px;
  }

  .vendor-badge {
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    font-size: 12px;
  }

  .fancy-vendor-card h3 {
    font-size: 18px;
    margin-top: 15px;
  }

  .vendor-btn {
    padding: 9px 20px;
    font-size: 13px;
    margin-top: 12px;
  }

  .products {
    padding: 50px 0;
  }

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

  .product-card {
    border-radius: 16px;
    min-height: 420px;
    max-height: 420px;
    height: 420px;
    padding: 16px;
  }

  .product-image {
    height: 160px;
    min-height: 160px;
    max-height: 160px;
    margin-bottom: 12px;
  }

  .product-title {
    font-size: 14px;
    min-height: 40px;
    max-height: 40px;
    margin-bottom: 8px;
  }

  .product-vendor {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .product-rating i {
    font-size: 13px;
  }

  .product-rating span {
    font-size: 12px;
  }

  .product-price {
    font-size: 10px;
  }

  .current-price {
    font-size: 16px;
  }

  .old-price {
    font-size: 12px;
  }

  .order-quantity-info {
    font-size: 10px;
    gap: 6px;
  }

  .min-order-info,
  .max-order-info {
    padding: 4px 8px;
    font-size: 9px;
  }

  .add-to-cart-btn {
    padding: 9px 14px;
    font-size: 14px;
  }

  .featured-badge {
    top: 12px;
    right: 12px;
    padding: 5px 12px;
    font-size: 13px;
  }

  .discount-badge {
    top: 12px;
    left: 12px;
    padding: 4px 9px;
    font-size: 12px;
  }

  .footer {
    padding: 50px 0 25px;
  }

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

  .footer-title {
    font-size: 22px;
    margin-bottom: 18px;
  }

  .social-link {
    width: 42px;
    height: 42px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 15px;
  }
}

/* Mobile Portrait (480px - 640px) */
@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }

  .header-left .btn-primary {
    padding: 8px 15px;
    font-size: 14px;
  }

  .hero {
    min-height: 400px;
    max-height: 450px;
  }

  .heroSwiper {
    height: 400px;
  }

  .swiper-slide {
    height: 400px;
    padding: 20px 0;
  }

  .hero-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .hero-description {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .hero-image img {
    max-width: 260px;
  }

  .btn-large {
    padding: 12px 28px;
    font-size: 16px;
    border-radius: 14px;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 30px;
    padding-bottom: 15px;
  }

  .section-title::after {
    width: 60px;
    height: 3px;
  }

  .categories {
    padding: 40px 0;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .category-card {
    padding: 25px 15px;
    min-height: 180px;
    border-radius: 14px;
  }

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

  .category-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 14px;
  }

  .category-icon svg {
    width: 30px;
    height: 30px;
  }

  .category-name {
    font-size: 15px;
  }

  .vendor-logo {
    height: 95px;
    padding: 6px;
    margin-bottom: 10px;
  }

  .category-card h3 {
    font-size: 15px;
  }

  .fancy-vendor-card {
    min-height: 260px;
    padding: 20px 12px;
  }

  .categories-card {
    min-height: 260px;
    max-height: 260px;
    height: 260px;
    padding: 18px 14px;
  }

  .categories-card .category-icon,
  .categories-card .fancy-icon {
    width: 65px;
    height: 65px;
    min-height: 65px;
    max-height: 65px;
  }

  .categories-card .product-title,
  .categories-card .cats-title {
    font-size: 14px;
    min-height: 38px;
    max-height: 38px;
  }

  .categories-card .product-vendor {
    font-size: 11px;
  }

  .vendor-badge {
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    font-size: 11px;
  }

  .fancy-vendor-card h3 {
    font-size: 16px;
    margin-top: 12px;
  }

  .vendor-btn {
    padding: 8px 18px;
    font-size: 12px;
    margin-top: 10px;
  }

  .fancy-icon {
    width: 70px;
    height: 70px;
  }

  .fancy-icon svg {
    width: 35px;
    height: 35px;
  }

  .products {
    padding: 40px 0;
  }

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

  .product-card {
    border-radius: 14px;
    min-height: 400px;
    max-height: 400px;
    height: 400px;
    padding: 15px;
  }

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

  .product-image {
    height: 150px;
    min-height: 150px;
    max-height: 150px;
    margin-bottom: 10px;
  }

  .product-title {
    font-size: 13px;
    min-height: 38px;
    max-height: 38px;
    margin-bottom: 6px;
  }

  .product-vendor {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .product-rating {
    margin-bottom: 8px;
  }

  .product-rating i {
    font-size: 12px;
  }

  .product-rating span {
    font-size: 11px;
  }

  .product-footer {
    padding-top: 10px;
  }

  .product-price {
    font-size: 10px;
    margin-top: 4px;
    margin-bottom: 10px;
  }

  .current-price {
    font-size: 15px;
  }

  .old-price {
    font-size: 11px;
  }

  .order-quantity-info {
    font-size: 9px;
    gap: 5px;
    flex-direction: column;
  }

  .min-order-info,
  .max-order-info {
    padding: 4px 8px;
    font-size: 9px;
  }

  .add-to-cart-btn {
    padding: 8px 14px;
    font-size: 13px;
    border-radius: 8px;
  }

  .featured-badge {
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 10px;
  }

  .discount-badge {
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    font-size: 11px;
  }

  .footer {
    padding: 40px 0 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
  }

  .footer-title {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .footer-text {
    margin-bottom: 20px;
  }

  .social-link {
    width: 40px;
    height: 40px;
  }

  .footer-bottom {
    padding-top: 25px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 15px;
  }

  .footer-links a,
  .footer-link {
    font-size: 14px;
  }

  #themeToggle {
    width: 38px;
    height: 38px;
  }

  #themeToggle i {
    font-size: 16px;
  }

  .fancy-card:hover,
  .fancy-vendor-card:hover {
    transform: translateY(-10px) scale(1.02);
  }
}

/* Small Mobile (380px - 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  .cats-card {
  min-height: 250px !important;
}
.vendors-card {
  min-height: 250px !important;
}
.cats-title {
  font-size: 12px !important;
}
  .hero {
    min-height: 380px;
    max-height: 420px;
  }

  .heroSwiper {
    height: 380px;
  }

  .swiper-slide {
    height: 380px;
    padding: 18px 0;
  }

  .hero-title {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .hero-description {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .hero-image img {
    max-width: 220px;
  }

  .btn-large {
    padding: 10px 24px;
    font-size: 15px;
    border-radius: 12px;
  }

  .section-title {
    font-size: 22px;
    margin-bottom: 25px;
    padding-bottom: 12px;
  }

  .section-title::after {
    width: 50px;
    height: 3px;
  }

  .categories {
    padding: 35px 0;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .category-card {
    padding: 20px 12px;
    min-height: 160px;
    border-radius: 12px;
  }

  .category-card:hover {
    transform: translateY(-6px) scale(1);
  }

  .category-icon {
    width: 55px;
    height: 55px;
    margin-bottom: 12px;
  }

  .category-icon svg {
    width: 28px;
    height: 28px;
  }

  .category-name {
    font-size: 14px;
  }

  .vendor-logo {
    height: 85px;
    padding: 5px;
    margin-bottom: 8px;
  }

  .category-card h3 {
    font-size: 14px;
  }

  .fancy-vendor-card {
    min-height: 240px;
    padding: 18px 10px;
  }

  .categories-card {
    min-height: 240px;
    max-height: 240px;
    height: 240px;
    padding: 16px 12px;
  }

  .categories-card .category-icon,
  .categories-card .fancy-icon {
    width: 60px;
    height: 60px;
    min-height: 60px;
    max-height: 60px;
  }

  .categories-card .product-title,
  .categories-card .cats-title {
    font-size: 13px;
    min-height: 36px;
    max-height: 36px;
  }

  .categories-card .product-vendor {
    font-size: 10px;
  }

  .vendor-badge {
    top: 8px;
    right: 8px;
    padding: 4px 8px;
    font-size: 10px;
  }

  .fancy-vendor-card h3 {
    font-size: 15px;
    margin-top: 10px;
  }

  .vendor-btn {
    padding: 7px 16px;
    font-size: 11px;
    margin-top: 8px;
  }

  .fancy-icon {
    width: 60px;
    height: 60px;
  }

  .fancy-icon svg {
    width: 30px;
    height: 30px;
  }

  .products {
    padding: 35px 0;
  }

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

  .product-card {
    border-radius: 12px;
    min-height: 380px;
    max-height: 380px;
    height: 380px;
    padding: 12px;
  }

  .product-card:hover {
    transform: translateY(-6px);
  }

  .product-image {
    height: 140px;
    min-height: 140px;
    max-height: 140px;
    margin-bottom: 8px;
  }

  .product-title {
    font-size: 12px;
    min-height: 35px;
    max-height: 35px;
    margin-bottom: 5px;
  }

  .product-vendor {
    font-size: 11px;
    margin-bottom: 6px;
  }

  .product-rating {
    margin-bottom: 6px;
  }

  .product-rating i {
    font-size: 11px;
  }

  .product-rating span {
    font-size: 10px;
  }

  .product-footer {
    padding-top: 8px;
  }

  .product-price {
    font-size: 9px;
    margin-top: 3px;
    margin-bottom: 8px;
  }

  .current-price {
    font-size: 14px;
  }

  .old-price {
    font-size: 10px;
  }

  .order-quantity-info {
    font-size: 8px;
    gap: 4px;
    flex-direction: column;
  }

  .min-order-info,
  .max-order-info {
    padding: 3px 6px;
    font-size: 8px;
  }

  .add-to-cart-btn {
    padding: 7px 12px;
    font-size: 12px;
    border-radius: 7px;
  }

  .featured-badge {
    top: 8px;
    right: 8px;
    padding: 3px 8px;
    font-size: 11px;
    border-radius: 8px;
  }

  .discount-badge {
    top: 6px;
    left: 6px;
    padding: 2px 6px;
    font-size: 10px;
  }

  .footer {
    padding: 35px 0 18px;
  }

  .footer-content {
    gap: 25px;
    margin-bottom: 25px;
  }

  .footer-title {
    font-size: 18px;
    margin-bottom: 14px;
  }

  .footer-text {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .social-link {
    width: 38px;
    height: 38px;
  }

  .social-link svg,
  .social-link i {
    font-size: 16px;
  }

  .contact-item {
    padding: 3px;
    font-size: 10px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 12px;
  }

  .footer-links a,
  .footer-link {
    font-size: 13px;
  }

  .footer-bottom {
    padding-top: 20px;
  }

  .footer-bottom p {
    font-size: 13px;
  }

  .footer-note {
    font-size: 12px;
  }

  #themeToggle {
    width: 36px;
    height: 36px;
  }

  #themeToggle i {
    font-size: 15px;
  }

  .fancy-card:hover,
  .fancy-vendor-card:hover {
    transform: translateY(-8px) scale(1.01);
  }
}

/* Extra Small Mobile (320px - 380px) */
@media (max-width: 380px) {
  .container {
    padding: 0 12px;
  }

  .hero-title {
    font-size: 22px;
  }

  .hero-description {
    font-size: 13px;
  }

  .hero-image img {
    max-width: 200px;
  }

  .btn-large {
    padding: 9px 20px;
    font-size: 14px;
  }

  .section-title {
    font-size: 20px;
    margin-bottom: 22px;
  }

  .categories-grid {
    gap: 10px;
  }

  .category-card {
    padding: 18px 10px;
    min-height: 145px;
  }

  .category-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
  }

  .category-icon svg {
    width: 25px;
    height: 25px;
  }

  .category-name {
    font-size: 13px;
  }

  .vendor-logo {
    height: 75px;
  }

  .category-card h3 {
    font-size: 13px;
  }

  .fancy-vendor-card {
    min-height: 220px;
    padding: 15px 8px;
  }

  .categories-card {
    min-height: 220px;
    max-height: 220px;
    height: 220px;
    padding: 14px 10px;
  }

  .categories-card .category-icon,
  .categories-card .fancy-icon {
    width: 55px;
    height: 55px;
    min-height: 55px;
    max-height: 55px;
  }

  .categories-card .product-title,
  .categories-card .cats-title {
    font-size: 12px;
    min-height: 34px;
    max-height: 34px;
  }

  .categories-card .product-vendor {
    font-size: 10px;
  }

  .vendor-badge {
    top: 6px;
    right: 6px;
    padding: 3px 6px;
    font-size: 9px;
  }

  .fancy-vendor-card h3 {
    font-size: 14px;
    margin-top: 8px;
  }

  .vendor-btn {
    padding: 6px 14px;
    font-size: 10px;
    margin-top: 6px;
  }

  .fancy-icon {
    width: 55px;
    height: 55px;
  }

  .fancy-icon svg {
    width: 28px;
    height: 28px;
  }

  .products-grid {
    gap: 12px;
  }

  .product-card {
    min-height: 360px;
    max-height: 360px;
    height: 360px;
    padding: 10px;
  }

  .cats-card {
    height: fit-content;
    min-height: fit-content;
  }

  .product-image {
    height: 130px;
    min-height: 130px;
    max-height: 130px;
    margin-bottom: 6px;
  }

  .product-title {
    font-size: 12px;
    min-height: 33px;
    max-height: 33px;
    margin-bottom: 4px;
  }

  .product-vendor {
    font-size: 10px;
    margin-bottom: 5px;
  }

  .product-rating {
    margin-bottom: 5px;
  }

  .product-rating i {
    font-size: 10px;
  }

  .product-rating span {
    font-size: 9px;
  }

  .product-price {
    font-size: 9px;
    margin-top: 2px;
    margin-bottom: 6px;
  }

  .current-price {
    font-size: 13px;
    flex-direction: column;
    gap: 4px;
  }

  .old-price {
    font-size: 9px;
  }

  .order-quantity-info {
    font-size: 8px;
    gap: 3px;
    flex-direction: column;
  }

  .min-order-info,
  .max-order-info {
    padding: 3px 6px;
    font-size: 8px;
  }

  .add-to-cart-btn {
    padding: 6px 10px;
    font-size: 11px;
    border-radius: 6px;
  }

  .discount-badge {
    padding: 2px 5px;
    font-size: 9px;
  }

  .featured-badge {
    padding: 3px 7px;
    font-size: 10px;
  }

  .footer-title {
    font-size: 17px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 10px;
  }

  .footer-links a,
  .footer-link {
    font-size: 12px;
  }

  .social-link {
    width: 36px;
    height: 36px;
  }

  #themeToggle {
    width: 34px;
    height: 34px;
  }

  #themeToggle i {
    font-size: 14px;
  }

  .fancy-card:hover,
  .fancy-vendor-card:hover {
    transform: translateY(-6px) scale(1);
  }
}

/* Ultra Small Devices (below 320px) */
@media (max-width: 320px) {
  .container {
    padding: 0 10px;
  }

  .hero-title {
    font-size: 20px;
  }

  .hero-description {
    font-size: 12px;
  }

  .section-title {
    font-size: 18px;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 140px;
  }

  .fancy-vendor-card {
    min-height: 200px;
  }

  .categories-card {
    min-height: 200px;
    max-height: 200px;
    height: 200px;
    padding: 12px 8px;
  }

  .categories-card .category-icon,
  .categories-card .fancy-icon {
    width: 50px;
    height: 50px;
    min-height: 50px;
    max-height: 50px;
  }

  .categories-card .product-title,
  .categories-card .cats-title {
    font-size: 11px;
    min-height: 30px;
    max-height: 30px;
  }

  .categories-card .product-vendor {
    font-size: 9px;
  }

  .product-card {
    min-height: 340px;
    max-height: 340px;
    height: 340px;
    padding: 8px;
  }

  .product-image {
    height: 120px;
    min-height: 120px;
    max-height: 120px;
  }

  .product-title {
    font-size: 11px;
    min-height: 30px;
    max-height: 30px;
  }

  .product-price {
    font-size: 9px;
  }

  .add-to-cart-btn {
    padding: 5px 8px;
    font-size: 10px;
  }
}

.language-dropdown {
  position: relative;
  display: inline-block;
}

.language-dropdown .btn-icon {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.language-dropdown .btn-icon:hover {
  color: var(--secondary-color);
}

.language-menu {
  display: none;
  position: absolute;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: 0 4px 10px var(--shadow-color);
  min-width: 130px;
  z-index: 2000;
  overflow: hidden;
  animation: fadeIn 0.2s ease;
}

.language-menu form {
  margin: 0;
}

.language-menu .lang-option {
  width: 100%;
  background: none;
  border: none;
  padding: 10px 14px;
  color: var(--text-primary);
  text-align: right;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.language-menu .lang-option:hover {
  background: var(--bg-secondary);
  color: var(--secondary-color);
}

/* Simple fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}
/* ===================================================
   INTRO SECTION
   =================================================== */

.intro {
  min-height: 350px;
  max-height: 450px;
    background-color: var(--bg-surface);
;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.intro-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.intro .section-title {
  font-size: 36px;
  margin-bottom: 25px;
  color: var(--text-primary);
}

.intro .section-subtitle {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 35px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive */
@media (max-width: 1024px) {
  .intro {
    min-height: 300px;
    max-height: 400px;
    padding: 50px 0;
  }

  .intro .section-title {
    font-size: 32px;
  }

  .intro .section-subtitle {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .intro {
    min-height: 280px;
    max-height: 350px;
    padding: 40px 0;
  }

  .intro .section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .intro .section-subtitle {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .intro {
    min-height: 250px;
    max-height: 320px;
    padding: 35px 0;
  }

  .intro .section-title {
    font-size: 24px;
    margin-bottom: 18px;
  }

  .intro .section-subtitle {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
  }

  .intro-content {
    padding: 0 15px;
  }
}

/* ===================================================
   Search Input Styles (Enhanced Visibility)
   =================================================== */
.search-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px auto 60px auto;
  max-width: 480px;
  background: var(--bg-card);
  border: 2px solid var(--secondary-color);
  border-radius: 50px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.search-bar:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 15px rgba(26, 26, 58, 0.3);
}

.search-bar input[type="text"] {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 22px;
  font-size: 1.05rem;
  background: transparent;
  color: var(--text-primary);
  direction: rtl;
  text-align: center;
  font-weight: 500;
}

.search-bar input::placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}

.search-bar button {
  background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  color: var(--white-color);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-bar button:hover {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  transform: translateY(-2px);
}

.search-bar button:active {
  transform: translateY(0);
}


/* ===================================================
   PAGES.CSS - Contact & About Page Styles
   =================================================== */

/* ===================================================
   Page Hero Section
   =================================================== */
.page-hero {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

body[data-theme="dark"] .page-hero {
    background: linear-gradient(135deg, #1A1A3A 0%, #2a2a50 50%, #1A1A3A 100%);
}

body[data-theme="light"] .vendor-reg-hero {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #c59a13 100%) !important;
}

body[data-theme="light"] .stats-section {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #c59a13 100%) !important;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(164, 129, 17, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease-out;
}

.page-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease-out;
}

.page-tagline {
    font-size: 24px;
    color: var(--secondary-color);
    font-weight: 600;
    margin-top: 10px;
    animation: fadeInUp 1s ease-out;
}

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

/* ===================================================
   Contact Section
   =================================================== */
.contact-section {
    padding: 80px 0;
    background-color: var(--bg-primary);
}

.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Contact Info Cards */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-info-card {
    background: var(--bg-card);
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px var(--shadow-color);
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(164, 129, 17, 0.3);
    border-color: var(--secondary-color);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #c59a13 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
}

.contact-info-card:hover .contact-icon {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 8px 25px rgba(164, 129, 17, 0.5);
}

.contact-icon svg {
    stroke: #FFFFFF;
}

.contact-info-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.contact-info-card p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
}

.contact-link {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.contact-link:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow-color);
    border: 1px solid var(--border-color);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.form-description {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Alert Messages */
.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    animation: slideInDown 0.4s ease-out;
}

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

.alert-success {
    background: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.alert-error {
    background: rgba(244, 67, 54, 0.15);
    color: #F44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.required {
    color: #F44336;
    font-size: 18px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background-color: var(--bg-surface);
    color: var(--text-primary);
    font-size: 15px;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    transition: all 0.3s ease;
    direction: rtl;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(164, 129, 17, 0.15);
    background-color: var(--bg-card);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}

.form-error {
    color: #F44336;
    font-size: 13px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-error::before {
    content: '⚠';
    font-size: 14px;
}

/* Map Section */
.map-section {
    padding: 0;
    background-color: var(--bg-surface);
}

.map-wrapper {
    width: 100%;
    height: 450px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 -4px 20px var(--shadow-color);
}

.map-wrapper iframe {
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.map-wrapper:hover iframe {
    filter: grayscale(0%);
}

/* ===================================================
   About Page Sections
   =================================================== */
.about-section {
    padding: 80px 0;
    background-color: var(--bg-primary);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text-block {
    text-align: center;
}

.about-description {
    font-size: 18px;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.about-description strong {
    color: var(--secondary-color);
    font-weight: 700;
}

/* Vision & Mission Section */
.vision-mission-section {
    padding: 80px 0;
    background-color: var(--bg-surface);
}

.vm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.vm-card {
    background: var(--bg-card);
    padding: 45px 35px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid var(--border-color);
    box-shadow: 0 8px 25px var(--shadow-color);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(164, 129, 17, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.vm-card:hover::before {
    opacity: 1;
}

.vm-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(164, 129, 17, 0.4);
    border-color: var(--secondary-color);
}

.vm-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #c59a13 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
}

.vm-card:hover .vm-icon {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 12px 35px rgba(164, 129, 17, 0.5);
}

.vm-icon svg {
    stroke: #FFFFFF;
}

.vm-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
}

.vm-text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-muted);
    position: relative;
    z-index: 2;
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background-color: var(--bg-primary);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.value-card {
    background: var(--bg-card);
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px var(--shadow-color);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(164, 129, 17, 0.3);
    border-color: var(--secondary-color);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: rgba(164, 129, 17, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
}

.value-card:hover .value-icon {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.value-icon svg {
    stroke: var(--secondary-color);
    transition: stroke 0.4s ease;
}

.value-card:hover .value-icon svg {
    stroke: #FFFFFF;
}

.value-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.value-text {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Offerings Section */
.offerings-section {
    padding: 80px 0;
    background-color: var(--bg-surface);
}

.offerings-tabs {
    max-width: 900px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 14px 40px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.tab-btn:hover {
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(164, 129, 17, 0.3);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #c59a13 100%);
    color: #FFFFFF;
    border-color: var(--secondary-color);
    box-shadow: 0 6px 20px rgba(164, 129, 17, 0.4);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.tab-content.active {
    display: block;
}

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

.offerings-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.offering-item {
    background: var(--bg-card);
    padding: 20px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.offering-item:hover {
    transform: translateX(-5px);
    box-shadow: 0 4px 20px rgba(164, 129, 17, 0.2);
    border-color: var(--secondary-color);
}

.offering-icon {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.offering-item p {
    font-size: 16px;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.6;
}

/* Statistics Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1A1A3A 0%, #2a2a50 50%, #1A1A3A 100%);;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="2" height="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

/* Partners Section */
.partners-section {
    padding: 80px 0;
    background-color: var(--bg-primary);
}

.section-subtitle-center {
    text-align: center;
    font-size: 17px;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

/* Partners Swiper Container */
.partners-swiper-container {
    position: relative;
    padding: 0 0 60px;
}

.partnersSwiper {
    padding: 20px 0 40px;
}

.partnersSwiper .swiper-slide {
    height: auto;
}

.partner-card {
    background: var(--bg-card);
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px var(--shadow-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 320px;
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(164, 129, 17, 0.3);
    border-color: var(--secondary-color);
}

/* Partner logo wrapper for both logo images and SVG placeholders */
.partner-logo-wrapper {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
}

/* Actual vendor logo image styling */
.partner-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: white;
    padding: 10px;
    transition: all 0.4s ease;
}

.partner-card:hover .partner-logo {
    border-color: var(--secondary-color);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(164, 129, 17, 0.4);
}

/* SVG placeholder styling (fallback when no logo exists) */
.partner-logo-placeholder {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(164, 129, 17, 0.1) 0%, rgba(164, 129, 17, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 2px solid var(--border-color);
    transition: all 0.4s ease;
}

.partner-card:hover .partner-logo-placeholder {
    border-color: var(--secondary-color);
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 8px 25px rgba(164, 129, 17, 0.4);
}

.partner-logo-placeholder svg {
    stroke: var(--secondary-color);
}

.partner-card:hover .partner-logo-placeholder svg {
    stroke: var(--secondary-color);
}

/* Make partner cards clickable */
.partner-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.partner-link:hover {
    text-decoration: none;
    color: inherit;
}

.partner-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.partner-description {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===================================================
   PARTNERS SECTION - RESPONSIVE STYLES
   =================================================== */

@media (max-width: 1024px) {
    .partners-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .partners-section {
        padding: 50px 0;
    }

    .section-subtitle-center {
        font-size: 15px;
        margin-bottom: 35px;
    }

    .partner-card {
        padding: 30px 20px;
        min-height: 280px;
    }

    .partner-name {
        font-size: 18px;
    }

    .partner-description {
        font-size: 14px;
    }

    .partnersSwiper {
        padding: 15px 0 35px;
    }
}

@media (max-width: 480px) {
    .partners-section {
        padding: 40px 0;
    }

    .section-subtitle-center {
        font-size: 14px;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .partner-card {
        padding: 25px 15px;
        min-height: 260px;
    }

    .partner-logo-wrapper,
    .partner-logo,
    .partner-logo-placeholder {
        width: 80px;
        height: 80px;
    }

    .partner-name {
        font-size: 17px;
        margin-bottom: 10px;
    }

    .partner-description {
        font-size: 13px;
    }
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1A1A3A 0%, #2a2a50 50%, #1A1A3A 100%);
    position: relative;
    overflow: hidden;
}

body[data-theme="light"] .cta-section {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-surface) 50%, var(--bg-secondary) 100%);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(164, 129, 17, 0.15) 0%, transparent 70%);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

body[data-theme="dark"] .cta-title {
    color: #FFFFFF;
}

.cta-text {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.7;
}

body[data-theme="dark"] .cta-text {
    color: rgba(255, 255, 255, 0.8);
}

.cta-tagline {
    font-size: 28px;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Success Page */
.success-section {
    padding: 100px 0;
    background-color: var(--bg-surface);
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.success-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.success-icon-wrapper {
    margin-bottom: 30px;
}

.success-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: successPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px rgba(76, 175, 80, 0.4);
}

@keyframes successPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-icon svg {
    stroke: #FFFFFF;
}

.success-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.success-message {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.success-info {
    background: rgba(164, 129, 17, 0.1);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 40px;
    border: 1px solid rgba(164, 129, 17, 0.2);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.success-info p {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.success-button {
    padding: 14px 30px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #c59a13 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}
/* ===================================================
   Vendor Contact Icons
   =================================================== */
.vendor-contact-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 15px 0;
  position: relative;
  z-index: 3;
}

.contact-icon-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: 2px solid var(--border-color);
  background: var(--bg-surface);
  cursor: pointer;
  text-decoration: none;
}

.contact-icon-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: scale(0);
  transition: transform 0.4s ease;
  border-radius: 50%;
  z-index: -1;
}

.contact-icon-btn svg {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

/* Email Icon Styling */
.email-icon {
  color: var(--secondary-color);
}

.email-icon::before {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #c59a13 100%);
}

.email-icon:hover::before {
  transform: scale(1);
}

.email-icon:hover {
  border-color: var(--secondary-color);
  transform: translateY(-5px) rotate(-5deg);
  box-shadow: 0 8px 25px rgba(164, 129, 17, 0.5);
}

.email-icon:hover svg {
  stroke: #FFFFFF;
  transform: scale(1.1);
}

/* WhatsApp Icon Styling */
.whatsapp-icon {
  color: #25D366;
}

.whatsapp-icon::before {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.whatsapp-icon:hover::before {
  transform: scale(1);
}

.whatsapp-icon:hover {
  border-color: #25D366;
  transform: translateY(-5px) rotate(5deg);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-icon:hover svg {
  stroke: #FFFFFF;
  transform: scale(1.1);
}

/* Animation on card hover */
.fancy-vendor-card:hover .contact-icon-btn {
  animation: iconBounce 0.6s ease-in-out;
}

@keyframes iconBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Responsive Adjustments */
@media (max-width: 640px) {
  .vendor-contact-icons {
    gap: 12px;
    margin: 12px 0;
  }

  .contact-icon-btn {
    width: 40px;
    height: 40px;
  }

  .contact-icon-btn svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .vendor-contact-icons {
    gap: 10px;
    margin: 10px 0;
  }

  .contact-icon-btn {
    width: 38px;
    height: 38px;
  }

  .contact-icon-btn svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 380px) {
  .vendor-contact-icons {
    gap: 8px;
  }

  .contact-icon-btn {
    width: 36px;
    height: 36px;
  }

  .contact-icon-btn svg {
    width: 15px;
    height: 15px;
  }
}
/* ===================================================
   VENDOR DETAIL PAGE STYLES
   =================================================== */

/* Vendor Hero Section */
.vendor-hero {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

body[data-theme="dark"] .vendor-hero {
  background: linear-gradient(135deg, #1A1A3A 0%, #2a2a50 50%, #1A1A3A 100%);
}

.vendor-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(164, 129, 17, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.vendor-hero-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.vendor-hero-logo {
  position: relative;
}

.vendor-logo-wrapper {
  position: relative;
  width: 220px;
  height: 220px;
}

.vendor-main-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
  background: var(--bg-card);
  padding: 20px;
  border: 3px solid var(--border-color);
  box-shadow: 0 15px 50px var(--shadow-color);
  transition: all 0.4s ease;
}

.vendor-logo-wrapper:hover .vendor-main-logo {
  transform: scale(1.05);
  border-color: var(--secondary-color);
  box-shadow: 0 20px 60px rgba(164, 129, 17, 0.4);
}

.verified-badge {
  position: absolute;
  bottom: -15px;
  right: -15px;
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.5);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.5);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(76, 175, 80, 0.7);
  }
}

.vendor-hero-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vendor-hero-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
}

.vendor-meta {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.vendor-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 500;
}

.vendor-meta-item svg {
  stroke: var(--secondary-color);
  flex-shrink: 0;
}

/* Vendor Contact Actions */
.vendor-contact-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.vendor-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.vendor-action-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  transition: width 0.4s ease;
  z-index: 0;
}

.vendor-action-btn:hover::before {
  width: 100%;
}

.vendor-action-btn span,
.vendor-action-btn svg {
  position: relative;
  z-index: 1;
}

.vendor-action-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Email Button */
.email-btn {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #c59a13 100%);
  color: #FFFFFF;
}

.email-btn::before {
  background: #c59a13;
}

.email-btn:hover {
  box-shadow: 0 8px 25px rgba(164, 129, 17, 0.5);
}

/* WhatsApp Button */
.whatsapp-btn {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
}

.whatsapp-btn::before {
  background: #128C7E;
}

.whatsapp-btn:hover {
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* Phone Button */
.phone-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #FFFFFF;
}

.phone-btn::before {
  background: #764ba2;
}

.phone-btn:hover {
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

/* Website Button */
.website-btn {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-color);
}

.website-btn::before {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #c59a13 100%);
}

.website-btn:hover {
  color: #FFFFFF;
  border-color: var(--secondary-color);
}

/* Vendor Details Section */
.vendor-details-section {
  padding: 80px 0;
  background-color: var(--bg-surface);
}

.vendor-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.vendor-detail-card {
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 8px 30px var(--shadow-color);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.vendor-detail-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 45px rgba(164, 129, 17, 0.3);
  border-color: var(--secondary-color);
}

.detail-card-header {
  background: linear-gradient(135deg, rgba(164, 129, 17, 0.1) 0%, rgba(164, 129, 17, 0.05) 100%);
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid var(--border-color);
}

.detail-card-header svg {
  stroke: var(--secondary-color);
  flex-shrink: 0;
}

.detail-card-header h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.detail-card-content {
  padding: 30px 25px;
}

.detail-card-content p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 16px;
  margin: 0;
}

/* Info List */
.info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
  gap: 20px;
}

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

.info-label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 15px;
  min-width: 120px;
  flex-shrink: 0;
}

.info-value {
  color: var(--text-muted);
  font-size: 15px;
  text-align: left;
  word-break: break-word;
}

.info-value a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.info-value a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

/* Categories Tags */
.categories-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.category-tag {
  background: linear-gradient(135deg, rgba(164, 129, 17, 0.1) 0%, rgba(164, 129, 17, 0.05) 100%);
  color: var(--text-primary);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(164, 129, 17, 0.2);
  transition: all 0.3s ease;
}

.category-tag:hover {
  background: var(--secondary-color);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(164, 129, 17, 0.3);
}

/* No Products Message */
.no-products-message {
  text-align: center;
  padding: 80px 20px;
  background: var(--bg-card);
  border-radius: 20px;
  border: 2px dashed var(--border-color);
}

.no-products-message svg {
  stroke: var(--secondary-color);
  margin-bottom: 20px;
  opacity: 0.5;
}

.no-products-message h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.no-products-message p {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0;
}

/* ===================================================
   RESPONSIVE DESIGN - VENDOR DETAIL PAGE
   =================================================== */

/* Large Tablets (768px - 1024px) */
@media (max-width: 1024px) {
  .vendor-hero {
    padding: 60px 0 50px;
  }

  .vendor-hero-content {
    grid-template-columns: auto 1fr;
    gap: 35px;
  }

  .vendor-logo-wrapper {
    width: 180px;
    height: 180px;
  }

  .vendor-hero-title {
    font-size: 36px;
  }

  .vendor-meta {
    gap: 20px;
  }

  .vendor-contact-actions {
    gap: 12px;
  }

  .vendor-action-btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .vendor-details-section {
    padding: 60px 0;
  }

  .vendor-details-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }

  .detail-card-header {
    padding: 20px;
  }

  .detail-card-header h3 {
    font-size: 20px;
  }

  .detail-card-content {
    padding: 25px 20px;
  }
}

/* Tablets (640px - 768px) */
@media (max-width: 768px) {
  .vendor-hero {
    padding: 50px 0 40px;
  }

  .vendor-hero-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .vendor-logo-wrapper {
    width: 160px;
    height: 160px;
    margin: 0 auto;
  }

  .vendor-hero-title {
    font-size: 32px;
  }

  .vendor-meta {
    justify-content: center;
    gap: 18px;
  }

  .vendor-meta-item {
    font-size: 15px;
  }

  .vendor-contact-actions {
    justify-content: center;
    gap: 10px;
  }

  .vendor-action-btn {
    padding: 11px 22px;
    font-size: 14px;
  }

  .verified-badge {
    bottom: -12px;
    right: -12px;
    padding: 8px 16px;
    font-size: 13px;
  }

  .vendor-details-section {
    padding: 50px 0;
  }

  .vendor-details-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .detail-card-header {
    padding: 18px 20px;
  }

  .detail-card-header h3 {
    font-size: 19px;
  }

  .detail-card-content {
    padding: 22px 18px;
  }

  .info-item {
    flex-direction: column;
    align-items: start;
    gap: 8px;
    padding: 12px 0;
  }

  .info-label {
    min-width: auto;
    font-size: 14px;
  }

  .info-value {
    text-align: right;
    font-size: 14px;
  }

  .no-products-message {
    padding: 60px 20px;
  }

  .no-products-message svg {
    width: 70px;
    height: 70px;
  }

  .no-products-message h3 {
    font-size: 22px;
  }

  .no-products-message p {
    font-size: 15px;
  }
}

/* Mobile (480px - 640px) */
@media (max-width: 640px) {
  .vendor-hero {
    padding: 40px 0 35px;
  }

  .vendor-logo-wrapper {
    width: 140px;
    height: 140px;
  }

  .vendor-main-logo {
    padding: 15px;
    border-width: 2px;
  }

  .vendor-hero-title {
    font-size: 28px;
  }

  .vendor-meta {
    gap: 15px;
  }

  .vendor-meta-item {
    font-size: 14px;
  }

  .vendor-meta-item svg {
    width: 18px;
    height: 18px;
  }

  .vendor-contact-actions {
    flex-direction: row;
    width: 100%;
    gap: 10px;
    justify-content: center;
  }

  .vendor-action-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 14px;
  }

  .verified-badge {
    bottom: -10px;
    right: -10px;
    padding: 6px 12px;
    font-size: 12px;
    gap: 6px;
  }

  .verified-badge svg {
    width: 18px;
    height: 18px;
  }

  .vendor-details-section {
    padding: 40px 0;
  }

  .vendor-details-grid {
    gap: 18px;
  }

  .detail-card-header {
    padding: 16px 18px;
  }

  .detail-card-header svg {
    width: 22px;
    height: 22px;
  }

  .detail-card-header h3 {
    font-size: 18px;
  }

  .detail-card-content {
    padding: 20px 16px;
  }

  .detail-card-content p {
    font-size: 15px;
    line-height: 1.7;
  }

  .info-list {
    gap: 15px;
  }

  .info-item {
    padding: 10px 0;
  }

  .info-label {
    font-size: 14px;
  }

  .info-value {
    font-size: 14px;
  }

  .categories-tags {
    gap: 10px;
  }

  .category-tag {
    padding: 8px 16px;
    font-size: 13px;
  }

  .no-products-message {
    padding: 50px 15px;
  }

  .no-products-message svg {
    width: 60px;
    height: 60px;
  }

  .no-products-message h3 {
    font-size: 20px;
  }

  .no-products-message p {
    font-size: 14px;
  }
}

/* Small Mobile (380px - 480px) */
@media (max-width: 480px) {
  .vendor-hero {
    padding: 35px 0 30px;
  }

  .vendor-logo-wrapper {
    width: 120px;
    height: 120px;
  }

  .vendor-main-logo {
    padding: 12px;
    border-radius: 16px;
  }

  .vendor-hero-title {
    font-size: 24px;
  }

  .vendor-meta {
    flex-direction: column;
    gap: 12px;
  }

  .vendor-meta-item {
    font-size: 13px;
  }

  .vendor-action-btn {
    padding: 10px 18px;
    font-size: 13px;
  }

  .vendor-action-btn svg {
    width: 18px;
    height: 18px;
  }

  .verified-badge {
    bottom: -8px;
    right: -8px;
    padding: 5px 10px;
    font-size: 11px;
  }

  .verified-badge svg {
    width: 16px;
    height: 16px;
  }

  .vendor-details-section {
    padding: 35px 0;
  }

  .vendor-details-grid {
    gap: 16px;
  }

  .vendor-detail-card {
    border-radius: 16px;
  }

  .detail-card-header {
    padding: 14px 16px;
  }

  .detail-card-header svg {
    width: 20px;
    height: 20px;
  }

  .detail-card-header h3 {
    font-size: 17px;
  }

  .detail-card-content {
    padding: 18px 14px;
  }

  .detail-card-content p {
    font-size: 14px;
  }

  .info-list {
    gap: 12px;
  }

  .info-item {
    padding: 8px 0;
  }

  .info-label,
  .info-value {
    font-size: 13px;
  }

  .category-tag {
    padding: 7px 14px;
    font-size: 12px;
  }

  .no-products-message {
    padding: 40px 15px;
  }

  .no-products-message svg {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
  }

  .no-products-message h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .no-products-message p {
    font-size: 13px;
  }
}

/* Extra Small Mobile (below 380px) */
@media (max-width: 380px) {
  .vendor-hero {
    padding: 30px 0 25px;
  }

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

  .vendor-main-logo {
    padding: 10px;
    border-radius: 14px;
  }

  .vendor-hero-title {
    font-size: 22px;
  }

  .vendor-meta-item {
    font-size: 12px;
  }

  .vendor-action-btn {
    padding: 9px 16px;
    font-size: 12px;
  }

  .vendor-action-btn svg {
    width: 16px;
    height: 16px;
  }

  .verified-badge {
    padding: 4px 8px;
    font-size: 10px;
    gap: 4px;
  }

  .verified-badge svg {
    width: 14px;
    height: 14px;
  }

  .vendor-details-section {
    padding: 30px 0;
  }

  .detail-card-header {
    padding: 12px 14px;
  }

  .detail-card-header h3 {
    font-size: 16px;
  }

  .detail-card-content {
    padding: 16px 12px;
  }

  .detail-card-content p {
    font-size: 13px;
  }

  .info-label,
  .info-value {
    font-size: 12px;
  }

  .category-tag {
    padding: 6px 12px;
    font-size: 11px;
  }

  .no-products-message {
    padding: 35px 12px;
  }

  .no-products-message svg {
    width: 45px;
    height: 45px;
  }

  .no-products-message h3 {
    font-size: 17px;
  }

  .no-products-message p {
    font-size: 12px;
  }
}

/* ===================================================
   ANIMATIONS & TRANSITIONS
   =================================================== */

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

.vendor-detail-card {
  animation: slideInUp 0.6s ease-out;
}

.vendor-detail-card:nth-child(1) {
  animation-delay: 0.1s;
}

.vendor-detail-card:nth-child(2) {
  animation-delay: 0.2s;
}

.vendor-detail-card:nth-child(3) {
  animation-delay: 0.3s;
}

.vendor-detail-card:nth-child(4) {
  animation-delay: 0.4s;
}

/* Smooth Hover Effect for Info Items */
.info-item {
  transition: all 0.3s ease;
}

.info-item:hover {
  background: rgba(164, 129, 17, 0.05);
  padding-left: 15px;
  padding-right: 15px;
  margin-left: -15px;
  margin-right: -15px;
  border-radius: 8px;
}
/* ===================================================
   AUTH PAGE STYLES
   =================================================== */

/* Auth Hero Section */
.auth-hero {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

body[data-theme="dark"] .auth-hero {
  background: linear-gradient(135deg, #1A1A3A 0%, #2a2a50 50%, #1A1A3A 100%);
}

.auth-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(164, 129, 17, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.auth-hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.auth-hero-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  animation: fadeInUp 0.6s ease-out;
}

.auth-hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  animation: fadeInUp 0.8s ease-out;
}

/* Auth Section */
.auth-section {
  padding: 80px 0;
  background-color: var(--bg-surface);
  min-height: 70vh;
}

.auth-wrapper {
  max-width: 520px;
  margin: 0 auto;
}

/* Auth Messages */
.auth-messages {
  margin-bottom: 30px;
}

.auth-messages .alert {
  margin-bottom: 15px;
}

/* Auth Container */
.auth-container {
  position: relative;
  background: var(--bg-card);
  border-radius: 24px;
  box-shadow: 0 15px 50px var(--shadow-color);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.auth-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(164, 129, 17, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.auth-container:hover::before {
  opacity: 1;
}

/* Auth Form Wrapper */
.auth-form-wrapper {
  padding: 50px 40px;
  display: none;
  animation: fadeIn 0.5s ease-out;
}

.auth-form-wrapper.active {
  display: block;
}

/* Auth Form Header */
.auth-form-header {
  text-align: center;
  margin-bottom: 35px;
}

.auth-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #c59a13 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 10px 30px rgba(164, 129, 17, 0.4);
  animation: iconFloat 3s ease-in-out infinite;
}

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

.auth-icon svg {
  stroke: #FFFFFF;
}

.auth-form-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.auth-form-description {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Auth Form */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  background-color: var(--bg-surface);
  color: var(--text-primary);
  font-size: 15px;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  transition: all 0.3s ease;
  direction: rtl;
}

.form-input:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 4px rgba(164, 129, 17, 0.15);
  background-color: var(--bg-card);
}

.form-input::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-label svg {
  stroke: var(--secondary-color);
  flex-shrink: 0;
}

/* Password Input Wrapper */
.password-input-wrapper {
  position: relative;
}

.toggle-password {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  transition: all 0.3s ease;
  border-radius: 6px;
}

.toggle-password:hover {
  background: rgba(164, 129, 17, 0.1);
}

.toggle-password svg {
  stroke: var(--text-muted);
  transition: stroke 0.3s ease;
}

.toggle-password:hover svg {
  stroke: var(--secondary-color);
}

.password-hint {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

/* Form Options */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: -5px;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-primary);
}

.remember-me input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--secondary-color);
}

.forgot-password {
  font-size: 14px;
  color: var(--secondary-color);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
}

.forgot-password:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

/* Terms Agreement */
.terms-agreement {
  display: flex;
  align-items: start;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.6;
}

.terms-agreement input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  margin-top: 2px;
  accent-color: var(--secondary-color);
  flex-shrink: 0;
}

.terms-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.terms-link:hover {
  text-decoration: underline;
}

/* Auth Submit Button */
.auth-submit-btn {
  margin-top: 10px;
  padding: 16px 32px;
  font-size: 16px;
  border-radius: 12px;
}

/* Auth Switch */
.auth-switch {
  text-align: center;
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid var(--border-color);
}

.auth-switch p {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
}

.switch-btn {
  background: none;
  border: none;
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  padding: 0;
  text-decoration: underline;
}

.switch-btn:hover {
  color: var(--text-primary);
}
/* ===================================================
   VENDOR REGISTRATION PAGE STYLES
   =================================================== */

/* Vendor Registration Hero */
.vendor-reg-hero {
  background: linear-gradient(135deg, #1A1A3A 0%, #2a2a50 50%, #1A1A3A 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.vendor-reg-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="2" height="2" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
}

.vendor-reg-hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-icon-wrapper {
  margin-bottom: 25px;
}

.hero-icon {
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border: 3px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  animation: heroIconFloat 3s ease-in-out infinite;
}

@keyframes heroIconFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.hero-icon svg {
  stroke: #FFFFFF;
}

.vendor-reg-title {
  font-size: 48px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 15px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.vendor-reg-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 35px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.vendor-reg-features {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.feature-badge {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 12px 24px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.feature-badge:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.feature-badge svg {
  stroke: #FFFFFF;
  flex-shrink: 0;
}

/* Vendor Registration Section */
.vendor-reg-section {
  padding: 80px 0;
  background-color: var(--bg-surface);
}

.vendor-reg-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

/* Messages */
.vendor-reg-messages {
  margin-bottom: 40px;
}

.vendor-reg-messages .alert {
  margin-bottom: 15px;
  font-size: 16px;
}

/* Progress Steps */
.progress-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
  padding: 0 20px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--bg-card);
  border: 3px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.4s ease;
}

.step-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.step.active .step-number {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #c59a13 100%);
  border-color: var(--secondary-color);
  color: #FFFFFF;
  box-shadow: 0 8px 25px rgba(164, 129, 17, 0.4);
  transform: scale(1.1);
}

.step.active .step-label {
  color: var(--secondary-color);
}

.step.completed .step-number {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  border-color: #4CAF50;
  color: #FFFFFF;
}

.step.completed .step-number::after {
  content: '✓';
  font-size: 22px;
}

.step-line {
  flex: 1;
  height: 3px;
  background: var(--border-color);
  margin: 0 15px;
  position: relative;
  top: -20px;
  transition: all 0.4s ease;
}

.step.completed ~ .step-line {
  background: linear-gradient(90deg, #4CAF50 0%, var(--border-color) 100%);
}

/* Form Container */
.vendor-reg-form-container {
  background: var(--bg-card);
  border-radius: 24px;
  box-shadow: 0 15px 50px var(--shadow-color);
  border: 1px solid var(--border-color);
  overflow: hidden;
  padding: 50px;
}

/* Form Steps */
.form-step {
  display: none;
  animation: fadeIn 0.5s ease-out;
}

.form-step.active {
  display: block;
}

.form-step-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 25px;
  border-bottom: 2px solid var(--border-color);
}

.form-step-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.form-step-description {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Form Grid */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-bottom: 35px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

/* Form Labels */
.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.form-label svg {
  stroke: var(--secondary-color);
  flex-shrink: 0;
}

.required {
  color: #F44336;
  font-size: 18px;
  margin-right: 3px;
}

/* File Upload */
.file-upload-wrapper {
  position: relative;
}

.file-upload-wrapper input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 20px;
  border: 2px dashed var(--border-color);
  border-radius: 16px;
  background: var(--bg-surface);
  cursor: pointer;
  transition: all 0.3s ease;
}

.file-upload-label:hover {
  border-color: var(--secondary-color);
  background: rgba(164, 129, 17, 0.05);
}

.file-upload-label svg {
  stroke: var(--secondary-color);
}

.file-upload-label span {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 15px;
}

.file-preview {
  margin-top: 15px;
}

.preview-image {
  position: relative;
  display: inline-block;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--border-color);
}

.preview-image img {
  max-width: 200px;
  max-height: 200px;
  display: block;
  object-fit: contain;
}

.remove-preview {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(244, 67, 54, 0.9);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.remove-preview:hover {
  background: #F44336;
  transform: scale(1.1);
}

.remove-preview svg {
  stroke: #FFFFFF;
}

/* Terms Checkbox */
.terms-checkbox {
  display: flex;
  align-items: start;
  gap: 12px;
  cursor: pointer;
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.6;
}

.terms-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  margin-top: 3px;
  accent-color: var(--secondary-color);
  flex-shrink: 0;
}

.terms-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.terms-link:hover {
  text-decoration: underline;
}

/* Form Step Actions */
.form-step-actions {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.form-step-actions button {
  min-width: 150px;
}

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

.btn-secondary.outline::before {
  background: transparent;
}

.btn-secondary.outline:hover {
  background: var(--bg-surface);
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

/* Form Error */
.form-error {
  display: block;
  color: #F44336;
  font-size: 13px;
  margin-top: 6px;
  font-weight: 500;
}

.form-error::before {
  content: '⚠ ';
  font-size: 14px;
}

/* ===================================================
   RESPONSIVE DESIGN - VENDOR REGISTRATION
   =================================================== */

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) {
  .vendor-reg-hero {
    padding: 60px 0;
  }

  .vendor-reg-title {
    font-size: 42px;
  }

  .vendor-reg-subtitle {
    font-size: 18px;
  }

  .vendor-reg-form-container {
    padding: 40px 35px;
  }

  .form-step-title {
    font-size: 28px;
  }
}

/* Tablets (640px - 768px) */
@media (max-width: 768px) {
  .vendor-reg-hero {
    padding: 50px 0;
  }

  .vendor-reg-title {
    font-size: 36px;
  }

  .vendor-reg-subtitle {
    font-size: 17px;
  }

  .vendor-reg-features {
    gap: 15px;
  }

  .feature-badge {
    padding: 10px 20px;
    font-size: 14px;
  }

  .vendor-reg-section {
    padding: 60px 0;
  }

  .progress-steps {
    margin-bottom: 40px;
  }

  .step-number {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  .step-label {
    font-size: 13px;
  }

  .step-line {
    margin: 0 10px;
  }

  .vendor-reg-form-container {
    padding: 35px 30px;
  }

  .form-step-title {
    font-size: 26px;
  }

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

  .form-step-actions {
    flex-direction: column-reverse;
  }

  .form-step-actions button {
    width: 100%;
  }
}

/* Mobile (480px - 640px) */
@media (max-width: 640px) {
  .vendor-reg-hero {
    padding: 40px 0;
  }

  .hero-icon {
    width: 100px;
    height: 100px;
  }

  .hero-icon svg {
    width: 50px;
    height: 50px;
  }

  .vendor-reg-title {
    font-size: 32px;
  }

  .vendor-reg-subtitle {
    font-size: 16px;
  }

  .vendor-reg-features {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .feature-badge {
    padding: 9px 18px;
    font-size: 13px;
  }

  .vendor-reg-section {
    padding: 50px 0;
  }

  .progress-steps {
    padding: 0 10px;
    margin-bottom: 35px;
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 16px;
    border-width: 2px;
  }

  .step-label {
    font-size: 12px;
  }

  .step-line {
    margin: 0 8px;
    height: 2px;
  }

  .vendor-reg-form-container {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .form-step-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
  }

  .form-step-title {
    font-size: 24px;
  }

  .form-step-description {
    font-size: 15px;
  }

  .form-grid {
    gap: 18px;
  }

  .form-label {
    font-size: 14px;
  }

  .file-upload-label {
    padding: 30px 15px;
  }

  .form-step-actions {
    margin-top: 30px;
    padding-top: 25px;
  }
}

/* Small Mobile (below 480px) */
@media (max-width: 480px) {
  .vendor-reg-hero {
    padding: 35px 0;
  }

  .hero-icon {
    width: 90px;
    height: 90px;
  }

  .vendor-reg-title {
    font-size: 28px;
  }

  .vendor-reg-subtitle {
    font-size: 15px;
  }

  .vendor-reg-section {
    padding: 40px 0;
  }

  .step-number {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .step-label {
    font-size: 11px;
  }

  .step-line {
    margin: 0 6px;
  }

  .vendor-reg-form-container {
    padding: 25px 15px;
  }

  .form-step-title {
    font-size: 22px;
  }

  .form-step-description {
    font-size: 14px;
  }

  .form-label {
    font-size: 13px;
  }

  .form-label svg {
    width: 16px;
    height: 16px;
  }

  .file-upload-label {
    padding: 25px 12px;
  }

  .terms-checkbox {
    font-size: 13px;
  }
}

/* Extra small devices (max 375px) - Fix overflow issues */
@media (max-width: 375px) {
  .container {
    padding: 0 15px;
  }

  .vendor-reg-form-container {
    padding: 20px 12px;
    margin: 0 -5px;
  }

  .progress-steps {
    padding: 0 5px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .step-label {
    font-size: 10px;
    max-width: 60px;
    text-align: center;
    word-wrap: break-word;
  }

  .step-line {
    margin: 0 4px;
    min-width: 20px;
  }

  .vendor-reg-title {
    font-size: 24px;
  }

  .vendor-reg-subtitle {
    font-size: 14px;
    padding: 0 10px;
  }

  .form-step-actions {
    gap: 10px;
  }

  .form-step-actions button {
    font-size: 14px;
    padding: 12px 20px;
  }
}

/* ===================================================
   التصنيفات (Categories) - Checkbox List Styling
   =================================================== */

.checkbox-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
  direction: rtl;
  text-align: right;
}

.checkbox-list li {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  transition: all 0.3s ease;
}

.checkbox-list li:hover {
  border-color: var(--secondary-color);
  background: rgba(164, 129, 17, 0.05);
}

.checkbox-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.6;
  transition: all 0.3s ease;
}

.checkbox-list input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--secondary-color);
  flex-shrink: 0;
}

.checkbox-list input[type="checkbox"]:checked + span {
  color: var(--secondary-color);
  font-weight: 700;
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .checkbox-list {
    grid-template-columns: 1fr;
  }
}

/* ===================================================
   POLICY & REFUND PAGES STYLES
   =================================================== */

/* Hero Icon Large */
.hero-icon-large {
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #c59a13 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  box-shadow: 0 15px 50px rgba(164, 129, 17, 0.5);
  animation: heroIconPulse 3s ease-in-out infinite;
}

@keyframes heroIconPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 15px 50px rgba(164, 129, 17, 0.5);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(164, 129, 17, 0.7);
  }
}

.hero-icon-large svg {
  stroke: #FFFFFF;
}

/* Policy Content Section */
.policy-content-section {
  padding: 80px 0;
  background-color: var(--bg-primary);
}

.policy-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

/* Policy Intro Card */
.policy-intro-card {
  background: linear-gradient(135deg, rgba(164, 129, 17, 0.1) 0%, rgba(164, 129, 17, 0.05) 100%);
  border: 2px solid rgba(164, 129, 17, 0.2);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 50px;
  display: flex;
  gap: 25px;
  align-items: start;
  box-shadow: 0 8px 30px rgba(164, 129, 17, 0.15);
}

.policy-card-icon {
  width: 60px;
  height: 60px;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.policy-card-icon svg {
  stroke: #FFFFFF;
}

.policy-intro-text {
  font-size: 19px;
  line-height: 1.9;
  color: var(--text-primary);
  margin: 0;
}

.policy-intro-text strong {
  color: var(--secondary-color);
  font-weight: 700;
}

/* Policy Section */
.policy-section {
  margin-bottom: 60px;
}

.policy-section-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 35px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border-color);
}

.section-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #c59a13 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(164, 129, 17, 0.4);
}

.section-icon svg {
  stroke: #FFFFFF;
}

.policy-section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

/* Policy List */
.policy-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.policy-list-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 25px;
  display: flex;
  gap: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.policy-list-item:hover {
  transform: translateX(-5px);
  box-shadow: 0 8px 25px rgba(164, 129, 17, 0.2);
  border-color: var(--secondary-color);
}

.list-icon {
  width: 45px;
  height: 45px;
  background: rgba(164, 129, 17, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.list-icon svg {
  stroke: var(--secondary-color);
}

.list-content h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.list-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* Policy Grid */
.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.policy-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.policy-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(164, 129, 17, 0.3);
  border-color: var(--secondary-color);
}

.policy-feature-card.excluded {
  background: rgba(244, 67, 54, 0.05);
  border-color: rgba(244, 67, 54, 0.2);
}

.policy-feature-card.excluded:hover {
  border-color: #F44336;
  box-shadow: 0 12px 30px rgba(244, 67, 54, 0.2);
}

.policy-feature-card.excluded .feature-icon {
  background: rgba(244, 67, 54, 0.1);
}

.policy-feature-card.excluded .feature-icon svg {
  stroke: #F44336;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(164, 129, 17, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.policy-feature-card:hover .feature-icon {
  background: var(--secondary-color);
  transform: scale(1.1);
}

.feature-icon svg {
  stroke: var(--secondary-color);
  transition: stroke 0.3s ease;
}

.policy-feature-card:hover .feature-icon svg {
  stroke: #FFFFFF;
}

.policy-feature-card p {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.6;
  margin: 0;
}

/* Policy Highlight Card */
.policy-highlight-card {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #c59a13 100%);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  gap: 25px;
  align-items: center;
  margin-bottom: 60px;
  box-shadow: 0 15px 50px rgba(164, 129, 17, 0.4);
}

.highlight-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.highlight-icon svg {
  stroke: #FFFFFF;
}

.highlight-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.highlight-content p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.8;
  margin: 0;
}

/* Policy Rights Grid */
.policy-rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.rights-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.rights-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(164, 129, 17, 0.3);
  border-color: var(--secondary-color);
}

.rights-card svg {
  stroke: var(--secondary-color);
  margin-bottom: 15px;
}

.rights-card p {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.6;
  margin: 0;
}

/* Policy Contact Card */
.policy-contact-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 10px 35px var(--shadow-color);
}

.contact-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border-color);
}

.contact-header svg {
  stroke: var(--secondary-color);
  flex-shrink: 0;
}

.contact-header h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: var(--bg-surface);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.contact-info-item:hover {
  background: rgba(164, 129, 17, 0.1);
  transform: translateX(-5px);
}

.contact-info-item svg {
  stroke: var(--secondary-color);
  flex-shrink: 0;
}

.contact-info-item strong {
  color: var(--text-primary);
  font-weight: 600;
  margin-left: 8px;
}

.contact-info-item a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.contact-info-item a:hover {
  text-decoration: underline;
  color: var(--text-primary);
}

/* Policy Legal Notice */
.policy-legal-notice {
  background: rgba(244, 67, 54, 0.05);
  border: 1px solid rgba(244, 67, 54, 0.2);
  border-radius: 16px;
  padding: 30px;
  display: flex;
  gap: 20px;
  align-items: start;
  margin-bottom: 30px;
}

.policy-legal-notice svg {
  stroke: #F44336;
  flex-shrink: 0;
  margin-top: 3px;
}

.policy-legal-notice strong {
  color: #F44336;
  font-size: 17px;
  display: block;
  margin-bottom: 8px;
}

.policy-legal-notice p {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.7;
  margin: 0;
}

/* Policy Update Info */
.policy-update-info {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.policy-update-info svg {
  stroke: var(--secondary-color);
  flex-shrink: 0;
}

.policy-update-info p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.policy-update-info strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Refund Steps */
.refund-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  align-items: center;
  margin-top: 30px;
}

.refund-step {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.refund-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(164, 129, 17, 0.3);
  border-color: var(--secondary-color);
}

.step-number-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #c59a13 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(164, 129, 17, 0.5);
}

.step-icon {
  width: 70px;
  height: 70px;
  background: rgba(164, 129, 17, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.refund-step:hover .step-icon {
  background: var(--secondary-color);
  transform: scale(1.1);
}

.step-icon svg {
  stroke: var(--secondary-color);
  transition: stroke 0.3s ease;
}

.refund-step:hover .step-icon svg {
  stroke: #FFFFFF;
}

.refund-step h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.refund-step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.step-arrow {
  font-size: 32px;
  color: var(--secondary-color);
  font-weight: 700;
  text-align: center;
  display: none;
}

/* ===================================================
   RESPONSIVE DESIGN - POLICY & REFUND PAGES
   =================================================== */

@media (min-width: 1024px) {
  .step-arrow {
    display: block;
  }

  .refund-steps {
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  }
}

@media (max-width: 768px) {
  .hero-icon-large {
    width: 110px;
    height: 110px;
  }

  .hero-icon-large svg {
    width: 50px;
    height: 50px;
  }

  .policy-content-section {
    padding: 60px 0;
  }

  .policy-intro-card {
    flex-direction: column;
    padding: 30px 25px;
    gap: 20px;
  }

  .policy-intro-text {
    font-size: 18px;
  }

  .policy-section-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .policy-section-title {
    font-size: 24px;
  }

  .policy-list-item {
    flex-direction: column;
    padding: 20px;
  }

  .policy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .policy-highlight-card {
    flex-direction: column;
    padding: 30px 25px;
    text-align: center;
  }

  .highlight-content h3 {
    font-size: 22px;
  }

  .policy-rights-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
  }

  .policy-contact-card {
    padding: 30px 25px;
  }

  .contact-header {
    flex-direction: column;
    text-align: center;
  }

  .contact-header h3 {
    font-size: 22px;
  }

  .policy-legal-notice {
    flex-direction: column;
    padding: 25px 20px;
  }

  .refund-steps {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .hero-icon-large {
    width: 90px;
    height: 90px;
  }

  .hero-icon-large svg {
    width: 40px;
    height: 40px;
  }

  .policy-content-section {
    padding: 50px 0;
  }

  .policy-intro-card {
    padding: 25px 20px;
  }

  .policy-card-icon {
    width: 50px;
    height: 50px;
  }

  .policy-intro-text {
    font-size: 18px;
  }

  .section-icon {
    width: 50px;
    height: 50px;
  }

  .policy-section-title {
    font-size: 22px;
  }

  .policy-list-item {
    padding: 18px;
  }

  .list-content h4 {
    font-size: 16px;
  }

  .list-content p {
    font-size: 14px;
  }

  .policy-highlight-card {
    padding: 25px 20px;
  }

  .highlight-icon {
    width: 70px;
    height: 70px;
  }

  .highlight-content h3 {
    font-size: 20px;
  }

  .highlight-content p {
    font-size: 15px;
  }

  .policy-contact-card {
    padding: 25px 20px;
  }

  .contact-header h3 {
    font-size: 20px;
  }

  .contact-info-item {
    flex-direction: column;
    text-align: center;
    padding: 12px;
  }

  .refund-step {
    padding: 25px 15px;
  }

  .step-number-badge {
    width: 35px;
    height: 35px;
    font-size: 16px;
    top: -12px;
    right: 15px;
  }
}
/* ===================================================
   FLOATING ACTION BUTTONS
   =================================================== */

/* Go to Top Button */
.go-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px !important;
  width: 60px;
  height: 60px;
  background: var(--bg-card);
  border: 2px solid var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 25px rgba(164, 129, 17, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(100px);
}

.go-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.go-to-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #c59a13 100%);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.4s ease;
  z-index: -1;
}

.go-to-top:hover::before {
  transform: scale(1);
}

.go-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(164, 129, 17, 0.5);
  border-color: transparent;
}

.go-to-top i {
  font-size: 20px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.go-to-top:hover i {
  color: #FFFFFF !important;
  transform: translateY(-3px);
}

/* WhatsApp Button */
.whatsapp {
  position: fixed;
  bottom: 100px;
  left: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
  text-decoration: none;
  border: 3px solid transparent;
  animation: whatsappPulse 2s ease-in-out infinite;
}

@keyframes whatsappPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.7);
  }
}

.whatsapp::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  animation: whatsappRipple 2s ease-out infinite;
}

@keyframes whatsappRipple {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.whatsapp:hover {
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 20px 50px rgba(37, 211, 102, 0.7);
  border-color: rgba(255, 255, 255, 0.3);
  animation: none;
}

.whatsapp i {
  font-size: 28px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.whatsapp:hover i {
  transform: scale(1.2) rotate(15deg);
}

/* Tooltip for WhatsApp */
.whatsapp::after {
  content: 'تواصل معنا';
  position: absolute;
  right: 75px;
  background: var(--bg-card);
  color: var(--text-primary);
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--shadow-color);
  border: 1px solid var(--border-color);
  font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.whatsapp:hover::after {
  opacity: 1;
  visibility: visible;
  right: 80px;
}

/* ===================================================
   RESPONSIVE DESIGN - FLOATING BUTTONS
   =================================================== */

@media (max-width: 768px) {
  .go-to-top {
    bottom: 25px;
    left: 25px;
    width: 50px;
    height: 50px;
  }

  .go-to-top i {
    font-size: 24px;
  }

  .whatsapp {
    bottom: 90px;
    left: 25px;
    width: 55px;
    height: 55px;
  }

  .whatsapp i {
    font-size: 26px;
  }

  .whatsapp::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .go-to-top {
    bottom: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
  }

  .go-to-top i {
    font-size: 18px;
  }

  .whatsapp {
    bottom: 80px;
    left: 20px;
    width: 50px;
    height: 50px;
  }

  .whatsapp i {
    font-size: 24px;
  }
}

/* Dark Theme Adjustments */
body[data-theme="dark"] .go-to-top {
  background: #2d2d55;
  box-shadow: 0 8px 25px rgba(164, 129, 17, 0.4);
}

body[data-theme="dark"] .whatsapp::after {
  background: #2d2d55;
  border-color: rgba(255, 255, 255, 0.1);
}
/* ===================================================
   ENHANCED NAVBAR STYLES
   =================================================== */

/* Header Container */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  direction: rtl;
}

/* Logo */
.logo-img {
  max-height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}

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

/* Desktop Navigation */
.desktop-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

/* User Actions */
.user-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* User Button */
.user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-name {
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Language Dropdown */
.language-dropdown .btn-icon {
  display: flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 2px solid var(--border-color);
  padding: 8px 12px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.language-dropdown .btn-icon:hover {
  border-color: var(--secondary-color);
  background: rgba(164, 129, 17, 0.1);
}

.language-dropdown .btn-icon svg {
  stroke: var(--text-primary);
}

.current-lang {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.language-menu .lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
}

.lang-flag {
  font-size: 18px;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--text-primary);
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hamburger:hover {
  border-color: var(--secondary-color);
  transform: scale(1.05);
}

.hamburger:hover span {
  background-color: var(--secondary-color);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: var(--bg-card);
  box-shadow: -5px 0 25px var(--shadow-color);
  transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow-y: auto;
  z-index: 1001;
  padding: 0;
}

.mobile-nav.active {
  right: 0;
}

/* Mobile Nav Header */
.mobile-nav-header {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #c59a13 100%);
  padding: 30px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-user-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.mobile-user-avatar {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.mobile-user-avatar svg {
  stroke: #FFFFFF;
}

.mobile-user-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-user-name {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 16px;
}

.mobile-user-email {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
}

.mobile-guest-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.mobile-guest-info svg {
  stroke: #FFFFFF;
}

.mobile-guest-info p {
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

/* Mobile Nav Menu */
.mobile-nav-menu {
  list-style: none;
  padding: 15px;
  margin: 0;
}

.mobile-nav-menu li {
  margin-bottom: 5px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 14px 16px;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 15px;
}

.mobile-nav-link svg {
  stroke: var(--secondary-color);
  flex-shrink: 0;
}

.mobile-nav-link:hover {
  background: rgba(164, 129, 17, 0.1);
  transform: translateX(-5px);
}

.mobile-nav-link.highlight {
  background: linear-gradient(135deg, rgba(164, 129, 17, 0.15) 0%, rgba(164, 129, 17, 0.05) 100%);
  border: 1px solid rgba(164, 129, 17, 0.3);
}

.mobile-nav-link.highlight:hover {
  background: linear-gradient(135deg, rgba(164, 129, 17, 0.25) 0%, rgba(164, 129, 17, 0.15) 100%);
}

.mobile-nav-link.logout {
  color: #F44336;
}

.mobile-nav-link.logout svg {
  stroke: #F44336;
}

.mobile-nav-link.logout:hover {
  background: rgba(244, 67, 54, 0.1);
}

.mobile-nav-divider {
  height: 1px;
  background: var(--border-color);
  margin: 15px 0;
}

/* Mobile Nav Overlay */
.mobile-nav.active::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 320px;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: -1;
}

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

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

  .hamburger {
    display: flex;
  }

  .user-actions {
    gap: 10px;
  }

  .user-btn .user-name {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-container {
    gap: 15px;
  }

  .logo-img {
    max-height: 40px;
  }

  .user-actions {
    gap: 8px;
  }

  .btn-primary span,
  .user-btn span {
    display: none;
  }

  .btn-primary,
  .user-btn {
    padding: 10px;
    min-width: auto;
  }

  .icon-btn {
    padding: 8px;
  }

  .language-dropdown .btn-icon {
    padding: 6px 10px;
  }

  .current-lang {
    font-size: 12px;
  }

  .mobile-nav {
    width: 280px;
  }

  .mobile-nav.active::before {
    right: 280px;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 10px 0;
  }

  .header-container {
    gap: 10px;
  }

  .logo-img {
    max-height: 35px;
  }

  .user-actions {
    gap: 6px;
  }

  #themeToggle {
    width: 36px;
    height: 36px;
  }

  #themeToggle svg {
    width: 16px;
    height: 16px;
  }

  .icon-btn {
    padding: 6px;
  }

  .icon-btn svg {
    width: 18px;
    height: 18px;
  }

  .badge {
    min-width: 18px;
    font-size: 11px;
    padding: 1px 5px;
  }

  .language-dropdown .btn-icon {
    padding: 5px 8px;
  }

  .language-dropdown .btn-icon svg {
    width: 16px;
    height: 16px;
  }

  .hamburger {
    padding: 6px;
  }

  .hamburger span {
    width: 20px;
    height: 2.5px;
  }

  .mobile-nav {
    width: 260px;
  }

  .mobile-nav.active::before {
    right: 260px;
  }

  .mobile-nav-header {
    padding: 25px 15px;
  }

  .mobile-user-avatar {
    width: 45px;
    height: 45px;
  }

  .mobile-user-name {
    font-size: 15px;
  }

  .mobile-user-email {
    font-size: 12px;
  }

  .mobile-nav-menu {
    padding: 12px;
  }

  .mobile-nav-link {
    padding: 12px 14px;
    font-size: 14px;
    gap: 12px;
  }

  .mobile-nav-link svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 380px) {
  .logo-img {
    max-height: 32px;
  }

  .user-actions {
    gap: 5px;
  }

  #themeToggle {
    width: 34px;
    height: 34px;
  }

  .icon-btn svg {
    width: 16px;
    height: 16px;
  }

  .mobile-nav {
    width: 240px;
  }

  .mobile-nav.active::before {
    right: 240px;
  }
}

/* ===================================================
   THEME SPECIFIC ADJUSTMENTS
   =================================================== */

body[data-theme="dark"] .mobile-nav-header {
  background: linear-gradient(135deg, #2a2a50 0%, #1A1A3A 100%);
}

body[data-theme="dark"] .hamburger {
  border-color: rgba(255, 255, 255, 0.2);
}

body[data-theme="dark"] .hamburger:hover {
  border-color: var(--secondary-color);
}

/* ===================================================
   ANIMATIONS
   =================================================== */

@keyframes slideInRight {
  from {
    right: -100%;
    opacity: 0;
  }
  to {
    right: 0;
    opacity: 1;
  }
}

.mobile-nav.active {
  animation: slideInRight 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Staggered animation for mobile menu items */
.mobile-nav.active .mobile-nav-link {
  animation: fadeInUp 0.4s ease-out backwards;
}

.mobile-nav.active .mobile-nav-link:nth-child(1) { animation-delay: 0.05s; }
.mobile-nav.active .mobile-nav-link:nth-child(2) { animation-delay: 0.1s; }
.mobile-nav.active .mobile-nav-link:nth-child(3) { animation-delay: 0.15s; }
.mobile-nav.active .mobile-nav-link:nth-child(4) { animation-delay: 0.2s; }
.mobile-nav.active .mobile-nav-link:nth-child(5) { animation-delay: 0.25s; }
.mobile-nav.active .mobile-nav-link:nth-child(6) { animation-delay: 0.3s; }
.mobile-nav.active .mobile-nav-link:nth-child(7) { animation-delay: 0.35s; }
.mobile-nav.active .mobile-nav-link:nth-child(8) { animation-delay: 0.4s; }
.mobile-nav.active .mobile-nav-link:nth-child(9) { animation-delay: 0.45s; }

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

/* ===================================================
   ACCESSIBILITY IMPROVEMENTS
   =================================================== */

.hamburger:focus,
.icon-btn:focus,
#themeToggle:focus,
.language-dropdown .btn-icon:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

.mobile-nav-link:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: -2px;
}

/* ===================================================
   ADDITIONAL ENHANCEMENTS
   =================================================== */

/* Active nav link indicator */
.nav-link.active,
.mobile-nav-link.active {
  color: var(--secondary-color);
  font-weight: 700;
}

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

.mobile-nav-link.active {
  background: rgba(164, 129, 17, 0.15);
  border-right: 3px solid var(--secondary-color);
}

/* Smooth scrollbar for mobile nav */
.mobile-nav::-webkit-scrollbar {
  width: 6px;
}

.mobile-nav::-webkit-scrollbar-track {
  background: var(--bg-surface);
}

.mobile-nav::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 10px;
}

.mobile-nav::-webkit-scrollbar-thumb:hover {
  background: #c59a13;
}

/* Badge pulse animation */
.badge {
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Language menu animation */
.language-menu {
  animation: fadeInDown 0.3s ease-out;
}

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

/* Hover effect for nav links */
.nav-link {
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.nav-link:hover::before {
  width: 100%;
}

/* Icon button hover effect */
.icon-btn {
  position: relative;
}

.icon-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(164, 129, 17, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease;
}

.icon-btn:hover::after {
  width: 40px;
  height: 40px;
}

/* Theme toggle enhanced */
#themeToggle .theme-icon {
  transition: all 0.3s ease;
}

#themeToggle:hover .theme-icon {
  transform: rotate(20deg) scale(1.1);
}

body[data-theme="dark"] #themeToggle .sun-icon {
  display: block !important; /* Show sun in dark mode */
}

body[data-theme="dark"] #themeToggle .moon-icon {
  display: none !important; /* Hide moon in dark mode */
}

body[data-theme="light"] #themeToggle .sun-icon {
  display: none !important; /* Hide sun in light mode */
}

body[data-theme="light"] #themeToggle .moon-icon {
  display: block !important; /* Show moon in light mode */
}

/* Close Button in Mobile Nav */
.mobile-nav-close {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.mobile-nav-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg) scale(1.1);
}

.mobile-nav-close svg {
  stroke: #FFFFFF;
}

.mobile-nav-close:active {
  transform: rotate(90deg) scale(0.95);
}
/* Animation */
/* ===================================================
   VENDOR PAGE - MODERN FILTER SYSTEM STYLES
   Complete CSS for Vendors Page with Category Filter
   =================================================== */

/* ===================================================
   VENDOR FILTER SECTION - MAIN CONTAINER
   =================================================== */
.vendor-filter-section {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 50px;
    box-shadow: 0 10px 40px var(--shadow-color);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.vendor-filter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(164, 129, 17, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* Filter Header */
.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
    z-index: 2;
}

.filter-title-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-title-wrapper svg {
    stroke: var(--secondary-color);
    animation: filterIconFloat 3s ease-in-out infinite;
}

@keyframes filterIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.filter-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.filter-count {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #c59a13 100%);
    color: #FFFFFF;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(164, 129, 17, 0.3);
    animation: countBadgePulse 2s ease-in-out infinite;
}

@keyframes countBadgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ===================================================
   CATEGORIES SLIDER - HORIZONTAL SCROLL
   =================================================== */
.categories-slider-wrapper {
    position: relative;
    padding: 0 50px;
    z-index: 2;
}

.categories-slider {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 5px 0;
    cursor: grab;
}

.categories-slider:active {
    cursor: grabbing;
}

.categories-slider::-webkit-scrollbar {
    display: none;
}

/* Slider Navigation Buttons */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.slider-nav:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #c59a13 100%);
    border-color: var(--secondary-color);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 8px 25px rgba(164, 129, 17, 0.4);
}

.slider-nav:active {
    transform: translateY(-50%) scale(1.05);
}

.slider-nav svg {
    stroke: var(--text-primary);
    transition: stroke 0.3s ease;
}

.slider-nav:hover svg {
    stroke: #FFFFFF;
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* ===================================================
   CATEGORY CHIPS - MODERN PILL DESIGN
   =================================================== */
.category-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-surface);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.category-chip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #c59a13 100%);
    transition: width 0.4s ease;
    z-index: 0;
    border-radius: 50px;
}

.category-chip:hover::before {
    width: 100%;
}

.category-chip:hover {
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(164, 129, 17, 0.3);
}

/* Chip Icon Styling */
.chip-icon {
    width: 32px;
    height: 32px;
    background: rgba(164, 129, 17, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.chip-icon svg {
    stroke: var(--secondary-color);
    transition: stroke 0.3s ease;
}

.chip-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: filter 0.3s ease;
}

/* Chip Text Styling */
.chip-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

/* Active Chip State */
.category-chip.active {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #c59a13 100%);
    border-color: var(--secondary-color);
    box-shadow: 0 8px 25px rgba(164, 129, 17, 0.4);
    transform: translateY(-3px) scale(1.05);
}

.category-chip.active::before {
    width: 100%;
}

.category-chip.active .chip-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.category-chip.active .chip-icon svg {
    stroke: #FFFFFF;
}

.category-chip.active .chip-icon img {
    filter: brightness(0) invert(1);
}

.category-chip.active .chip-text {
    color: #FFFFFF;
    font-weight: 700;
}

/* Chip Hover Effects */
.category-chip:hover .chip-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.15) rotate(5deg);
}

.category-chip:hover .chip-icon svg {
    stroke: #FFFFFF;
}

.category-chip:hover .chip-icon img {
    filter: brightness(0) invert(1);
}

.category-chip:hover .chip-text {
    color: #FFFFFF;
}

/* ===================================================
   ACTIVE FILTER DISPLAY
   =================================================== */
.active-filter-display {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 2;
    animation: slideInUp 0.5s ease-out;
}

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

.filter-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.active-filter-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(164, 129, 17, 0.15) 0%, rgba(164, 129, 17, 0.05) 100%);
    border: 1px solid rgba(164, 129, 17, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-primary);
}

.clear-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(244, 67, 54, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.clear-filter:hover {
    background: #F44336;
    transform: scale(1.2) rotate(90deg);
}

.clear-filter svg {
    stroke: #F44336;
    transition: stroke 0.3s ease;
}

.clear-filter:hover svg {
    stroke: #FFFFFF;
}

/* ===================================================
   RIPPLE EFFECT FOR CHIPS
   =================================================== */
.chip-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    animation: rippleEffect 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ===================================================
   FEATURED VENDOR STYLING
   =================================================== */
.featured-vendor {
    border: 2px solid var(--secondary-color);
    box-shadow: 0 15px 50px rgba(164, 129, 17, 0.4);
    position: relative;
}

.featured-vendor::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--secondary-color), #FFD700, var(--secondary-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    animation: borderShine 3s linear infinite;
}

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

/* ===================================================
   BADGE SLIDE IN ANIMATION
   =================================================== */
@keyframes badgeSlideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===================================================
   RESPONSIVE DESIGN - TABLET (768px - 1024px)
   =================================================== */
@media (max-width: 1024px) {
    .vendor-filter-section {
        padding: 25px;
        border-radius: 20px;
    }

    .filter-title {
        font-size: 20px;
    }

    .categories-slider-wrapper {
        padding: 0 45px;
    }

    .slider-nav {
        width: 38px;
        height: 38px;
    }
}

/* ===================================================
   RESPONSIVE DESIGN - MOBILE (480px - 768px)
   =================================================== */
@media (max-width: 768px) {
    .vendor-filter-section {
        padding: 20px;
        border-radius: 18px;
    }

    .filter-header {
        flex-direction: column;
        align-items: start;
        gap: 12px;
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .filter-title {
        font-size: 19px;
    }

    .filter-count {
        padding: 5px 14px;
        font-size: 13px;
    }

    .categories-slider-wrapper {
        padding: 0 40px;
    }

    .slider-nav {
        width: 36px;
        height: 36px;
    }

    .category-chip {
        padding: 10px 16px;
    }

    .chip-icon {
        width: 28px;
        height: 28px;
    }

    .chip-text {
        font-size: 14px;
    }

    .active-filter-display {
        flex-direction: column;
        align-items: start;
        gap: 8px;
    }
}

/* ===================================================
   RESPONSIVE DESIGN - SMALL MOBILE (below 480px)
   =================================================== */
@media (max-width: 480px) {
    .vendor-filter-section {
        padding: 15px;
        border-radius: 16px;
        margin-bottom: 35px;
    }

    .filter-header {
        margin-bottom: 18px;
        padding-bottom: 12px;
    }

    .filter-title-wrapper {
        gap: 8px;
    }

    .filter-title-wrapper svg {
        width: 22px;
        height: 22px;
    }

    .filter-title {
        font-size: 17px;
    }

    .filter-count {
        padding: 4px 12px;
        font-size: 12px;
    }

    .categories-slider-wrapper {
        padding: 0 35px;
    }

    .slider-nav {
        width: 32px;
        height: 32px;
    }

    .slider-nav svg {
        width: 16px;
        height: 16px;
    }

    .category-chip {
        padding: 8px 14px;
    }

    .chip-icon {
        width: 26px;
        height: 26px;
    }

    .chip-icon svg,
    .chip-icon img {
        width: 16px;
        height: 16px;
    }

    .chip-text {
        font-size: 13px;
    }

    .active-filter-display {
        margin-top: 15px;
        padding-top: 15px;
    }

    .filter-label {
        font-size: 13px;
    }

    .active-filter-badge {
        padding: 6px 12px;
        font-size: 13px;
    }

    .clear-filter {
        width: 20px;
        height: 20px;
    }

    .clear-filter svg {
        width: 14px;
        height: 14px;
    }
}
@media (max-width: 1200px) {
  .container {
    max-width: 1024px;
    padding: 0 30px;
  }

  .hero-content {
    gap: 40px;
  }

  .hero-title {
    font-size: 42px;
  }

  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    justify-items: center;
  }

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

  .product-image {
    height: 225px;
  }
}
/* Wishlist Section */
.wishlist-section {
    padding: 80px 0;
    background-color: var(--bg-primary);
    min-height: 60vh;
}

.wishlist-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.wishlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.clear-wishlist-btn {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Wishlist Grid */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.wishlist-item {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.wishlist-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(164, 129, 17, 0.3);
    border-color: var(--secondary-color);
}

.wishlist-item-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: var(--bg-surface);
}

.wishlist-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.wishlist-item:hover .wishlist-item-image img {
    transform: scale(1.1);
}

.remove-wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(244, 67, 54, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.remove-wishlist-btn:hover {
    background: #F44336;
    transform: scale(1.1) rotate(90deg);
}

.remove-wishlist-btn svg {
    stroke: #FFFFFF;
}

.wishlist-badge {
    position: absolute;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    z-index: 5;
}

.wishlist-badge.featured {
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #FFFFFF;
}

.wishlist-badge.discount {
    top: 60px;
    left: 15px;
    background: linear-gradient(135deg, #ff4d4d 0%, #c70000 100%);
    color: #FFFFFF;
}

.wishlist-item-info {
    padding: 25px;
}

.wishlist-item-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.wishlist-item-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.wishlist-item-title a:hover {
    color: var(--secondary-color);
}

.wishlist-item-vendor {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.wishlist-item-vendor svg {
    stroke: var(--secondary-color);
}

.wishlist-item-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 15px;
}

.wishlist-item-rating i {
    color: #FFD700;
    font-size: 14px;
}

.wishlist-item-rating span {
    font-size: 13px;
    color: var(--text-muted);
    margin-left: 5px;
}

.no-rating {
    font-size: 13px;
    color: var(--text-muted);
}

.wishlist-item-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.old-price {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.current-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary-color);
}

.stock-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.stock-status.in-stock {
    color: #4CAF50;
}

.stock-status.in-stock svg {
    stroke: #4CAF50;
}

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

.stock-status.out-of-stock svg {
    stroke: #F44336;
}

.wishlist-item-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.wishlist-item-actions .btn {
    flex: 1;
    padding: 12px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.added-date {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}
/* Checkout Progress */
.checkout-progress-section {
    background: var(--bg-surface);
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

/* Checkout Section */
.checkout-section {
    padding: 80px 0;
    background-color: var(--bg-primary);
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Checkout Card */
.checkout-card {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px var(--shadow-color);
    margin-bottom: 30px;
    overflow: hidden;
}

.card-header {
    background: linear-gradient(135deg, rgba(164, 129, 17, 0.1) 0%, rgba(164, 129, 17, 0.05) 100%);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
}

.card-header svg {
    stroke: var(--secondary-color);
}

.card-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.card-body {
    padding: 30px 25px;
}

/* Form Styles */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background-color: var(--bg-surface);
    color: var(--text-primary);
    font-size: 15px;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    transition: all 0.3s ease;
    direction: rtl;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(164, 129, 17, 0.15);
}

.form-group input.error {
    border-color: #F44336;
}

.form-error {
    display: block;
    color: #F44336;
    font-size: 13px;
    margin-top: 6px;
}

.form-hint {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-option {
    cursor: pointer;
}

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.payment-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-surface);
    transition: all 0.3s ease;
    cursor: pointer;
}

.payment-option input[type="radio"]:checked + .payment-card {
    border-color: var(--secondary-color);
    background: rgba(164, 129, 17, 0.05);
}

.payment-icon {
    width: 50px;
    height: 50px;
    background: rgba(164, 129, 17, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.payment-icon svg {
    stroke: var(--secondary-color);
}

.payment-info {
    flex: 1;
}

.payment-name {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.payment-desc {
    font-size: 13px;
    color: var(--text-muted);
}

.payment-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.payment-option input[type="radio"]:checked + .payment-card .payment-check {
    background: var(--secondary-color);
}

.payment-check svg {
    stroke: transparent;
    transition: stroke 0.3s ease;
}

.payment-option input[type="radio"]:checked + .payment-card .payment-check svg {
    stroke: #FFFFFF;
}

/* Order Summary Sidebar */
.checkout-sidebar {
    position: relative;
}

.sticky-card {
    position: sticky;
    top: 100px;
    margin-bottom: 0;
}

.order-items {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.order-items::-webkit-scrollbar {
    width: 6px;
}

.order-items::-webkit-scrollbar-track {
    background: var(--bg-surface);
    border-radius: 10px;
}

.order-items::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 10px;
}

.order-item {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.order-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.item-details {
    flex: 1;
}

.item-details h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.4;
}

.item-details p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

.item-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary-color);
    flex-shrink: 0;
}

/* Price Breakdown */
.price-breakdown {
    margin-bottom: 25px;
    padding: 20px;
    background: var(--bg-surface);
    border-radius: 12px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-size: 15px;
    color: var(--text-primary);
}

.price-row:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.price-row.total {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color);
    padding-top: 20px;
    margin-top: 10px;
    border-top: 2px solid var(--border-color);
}

/* Security Badge */
.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    margin-top: 20px;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 10px;
    color: #4CAF50;
    font-size: 14px;
    font-weight: 600;
}

.security-badge svg {
    stroke: #4CAF50;
}

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

    .sticky-card {
        position: static;
    }

    .checkout-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .checkout-section {
        padding: 60px 0;
    }

    .checkout-grid {
        gap: 30px;
    }

    .card-header {
        padding: 20px;
    }

    .card-header h3 {
        font-size: 18px;
    }

    .card-body {
        padding: 25px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .order-items {
        max-height: 300px;
    }

    .price-row.total {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .checkout-section {
        padding: 50px 0;
    }

    .checkout-card {
        border-radius: 16px;
        margin-bottom: 25px;
    }

    .card-header {
        padding: 18px;
        flex-direction: column;
        align-items: start;
        gap: 10px;
    }

    .card-header h3 {
        font-size: 17px;
    }

    .card-body {
        padding: 20px 15px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px 16px;
        font-size: 14px;
    }

    .payment-card {
        padding: 15px;
    }

    .payment-icon {
        width: 45px;
        height: 45px;
    }

    .payment-name {
        font-size: 15px;
    }

    .payment-desc {
        font-size: 12px;
    }

    .order-item img {
        width: 50px;
        height: 50px;
    }

    .item-details h4 {
        font-size: 13px;
    }

    .item-price {
        font-size: 14px;
    }

    .price-breakdown {
        padding: 15px;
    }

    .price-row {
        font-size: 14px;
    }

    .price-row.total {
        font-size: 17px;
    }

    .security-badge {
        font-size: 13px;
        padding: 12px;
    }
}
/* Empty Wishlist */
.empty-wishlist {
    text-align: center;
    padding: 100px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.empty-icon {
    margin-bottom: 30px;
    opacity: 0.3;
}

.empty-icon svg {
    stroke: var(--secondary-color);
}

.empty-wishlist h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.empty-wishlist p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 35px;
}

/* Responsive */
@media (max-width: 768px) {
    .wishlist-section {
        padding: 60px 0;
    }

    .wishlist-header {
        flex-direction: column;
        gap: 20px;
        align-items: start;
    }

    .wishlist-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .wishlist-item-image {
        height: 240px;
    }

    .wishlist-item-actions {
        flex-direction: column;
    }

    .empty-wishlist {
        padding: 80px 20px;
    }

    .empty-icon svg {
        width: 90px;
        height: 90px;
    }

    .empty-wishlist h2 {
        font-size: 26px;
    }

    .empty-wishlist p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .wishlist-section {
        padding: 50px 0;
    }

    .wishlist-item-info {
        padding: 20px;
    }

    .wishlist-item-title {
        font-size: 18px;
    }

    .current-price {
        font-size: 20px;
    }

    .empty-icon svg {
        width: 70px;
        height: 70px;
    }

    .empty-wishlist h2 {
        font-size: 22px;
    }
}
/* ===================================================
   RESPONSIVE DESIGN - EXTRA SMALL (below 380px)
   =================================================== */
@media (max-width: 380px) {
    .vendor-filter-section {
        padding: 12px;
    }

    .filter-title {
        font-size: 16px;
    }

    .categories-slider-wrapper {
        padding: 0 30px;
    }

    .slider-nav {
        width: 30px;
        height: 30px;
    }

    .category-chip {
        padding: 7px 12px;
    }

    .chip-icon {
        width: 24px;
        height: 24px;
    }

    .chip-text {
        font-size: 12px;
    }
}

/* ===================================================
   DARK THEME ADJUSTMENTS
   =================================================== */
body[data-theme="dark"] .vendor-filter-section {
    background: rgba(42, 42, 80, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(164, 129, 17, 0.2);
}

body[data-theme="dark"] .vendor-filter-section:hover {
    background: rgba(42, 42, 80, 0.9);
    border: 1px solid rgba(164, 129, 17, 0.5);
}

body[data-theme="dark"] .slider-nav {
    background: rgba(42, 42, 80, 0.9);
}

/* ===================================================
   ACCESSIBILITY IMPROVEMENTS
   =================================================== */
.category-chip:focus,
.slider-nav:focus,
.clear-filter:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .category-chip,
    .slider-nav,
    .filter-title-wrapper svg,
    .filter-count {
        animation: none;
        transition: none;
    }

    .categories-slider {
        scroll-behavior: auto;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .category-chip {
        border-width: 3px;
    }

    .category-chip.active {
        border-width: 4px;
    }
}

/* ===================================================
   PRINT STYLES
   =================================================== */
@media print {
    .vendor-filter-section {
        box-shadow: none;
        border: 1px solid #000;
    }

    .slider-nav {
        display: none;
    }

    .categories-slider {
        overflow: visible;
        flex-wrap: wrap;
    }
}


.logo-dark,
.logo-light {
  position: absolute;
  top: 0;
  left: 0;
}

/* Show/Hide based on theme */
body[data-theme="dark"] .logo-dark {
  display: block;
  opacity: 1;
  position: relative;
}

body[data-theme="dark"] .logo-light {
  display: none;
  opacity: 0;
}

body[data-theme="light"] .logo-dark {
  display: none;
  opacity: 0;
}

body[data-theme="light"] .logo-light {
  display: block;
  opacity: 1;
  position: relative;
  max-height: 40px;
}

/* Logo hover effect */
.logo:hover .logo-img {
  transform: scale(1.05);
}
.success-button:hover {
    background: linear-gradient(135deg, #c59a13 0%, var(--secondary-color) 100%);
    box-shadow: 0 4px 15px rgba(164, 129, 17, 0.3);
}
@media (max-width: 768px) {
    .page-title {
        font-size: 36px;
    }
    .page-subtitle {
        font-size: 18px;
    }
    .form-title {
        font-size: 28px;
    }
    .cta-title {
        font-size: 32px;
    }
    .success-title {
        font-size: 28px;
    }
}

/* ===================================================
   PRODUCT BADGES - COMPLETE & ENHANCED SYSTEM
   Modern design with animations, icons, and full responsiveness
   =================================================== */

/* ===================================================
   DISCOUNT BADGE (Left Side - Top)
   =================================================== */
.discount-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #ff4d4d 0%, #c70000 100%);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 12px;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(255, 77, 77, 0.5);
    transform: rotate(-10deg);
    animation: discount-badge-glow 2.5s ease-in-out infinite alternate;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    cursor: default;
}

.discount-badge:hover {
    transform: rotate(-10deg) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 77, 77, 0.7);
}

.discount-badge i {
    font-size: 12px;
    animation: tagShake 1.5s ease-in-out infinite;
}

/* Discount Badge Animation */
@keyframes discount-badge-glow {
    0% {
        box-shadow: 0 4px 15px rgba(255, 77, 77, 0.5), 0 0 10px rgba(199, 0, 0, 0.3);
        transform: rotate(-10deg) scale(1);
    }
    50% {
        box-shadow: 0 6px 20px rgba(255, 77, 77, 0.7), 0 0 20px rgba(199, 0, 0, 0.5);
        transform: rotate(-12deg) scale(1.05);
    }
    100% {
        box-shadow: 0 4px 15px rgba(255, 77, 77, 0.5), 0 0 10px rgba(199, 0, 0, 0.3);
        transform: rotate(-10deg) scale(1);
    }
}

@keyframes tagShake {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-8deg);
    }
    75% {
        transform: rotate(8deg);
    }
}

/* ===================================================
   FEATURED BADGE (Right Side - Top)
   =================================================== */
.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.5);
    transform: rotate(-10deg);
    z-index: 10;
    animation: badge-glow 2.5s ease-in-out infinite alternate;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    cursor: default;
}

.featured-badge:hover {
    transform: rotate(-10deg) scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.7);
}

.featured-badge i {
    font-size: 12px;
    animation: starSpin 2s linear infinite;
}

/* Featured Badge Animation */
@keyframes badge-glow {
    0% {
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.5), 0 0 10px rgba(118, 75, 162, 0.4);
        transform: rotate(-10deg) scale(1);
    }
    50% {
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.7), 0 0 20px rgba(118, 75, 162, 0.6);
        transform: rotate(-12deg) scale(1.05);
    }
    100% {
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.5), 0 0 10px rgba(118, 75, 162, 0.4);
        transform: rotate(-10deg) scale(1);
    }
}

@keyframes starSpin {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.2);
    }
}

/* ===================================================
   VIP BADGE (Right Side - Below Featured)
   =================================================== */
.vip-badge {
    position: absolute;
    top: 60px;
    right: 15px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
    z-index: 9;
    animation: vip-glow 2.5s ease-in-out infinite alternate;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    cursor: default;
}

.vip-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.7);
}

.vip-badge i {
    font-size: 12px;
    animation: crownBounce 1.5s ease-in-out infinite;
}

/* VIP Badge Animation */
@keyframes vip-glow {
    0% {
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5), 0 0 10px rgba(255, 165, 0, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 6px 20px rgba(255, 215, 0, 0.7), 0 0 20px rgba(255, 165, 0, 0.5);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5), 0 0 10px rgba(255, 165, 0, 0.3);
        transform: scale(1);
    }
}

@keyframes crownBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

/* ===================================================
   FLOATING BADGE ANIMATION (Alternative)
   =================================================== */
@keyframes badgeFloat {
    0%, 100% {
        transform: translateY(0) rotate(-10deg);
    }
    50% {
        transform: translateY(-8px) rotate(-10deg);
    }
}

/* ===================================================
   STOCK STATUS BADGE
   =================================================== */
.stock-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 8px;
    z-index: 8;
    display: flex;
    align-items: center;
    gap: 6px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.stock-badge.in-stock {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.stock-badge.low-stock {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.4);
    animation: lowStockPulse 2s ease-in-out infinite;
}

.stock-badge.out-of-stock {
    background: linear-gradient(135deg, #F44336 0%, #D32F2F 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.4);
}

@keyframes lowStockPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* ===================================================
   NEW ARRIVAL BADGE
   =================================================== */
.new-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    background: linear-gradient(135deg, #00C853 0%, #00897B 100%);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.5);
    z-index: 10;
    animation: newBadgePulse 2s ease-in-out infinite;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 6px;
}

.new-badge i {
    font-size: 12px;
    animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes newBadgePulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 200, 83, 0.5);
    }
    50% {
        box-shadow: 0 6px 20px rgba(0, 200, 83, 0.8);
    }
}

@keyframes sparkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.3);
    }
}

/* ===================================================
   BADGE COMBINATIONS & ADJUSTMENTS
   =================================================== */

/* When both Featured and VIP badges are present */
.product-card.has-featured-vip .vip-badge {
    top: 60px;
}

/* When discount badge is present with new badge */
.product-card.has-discount-new .new-badge {
    top: 60px;
}

/* ===================================================
   DARK THEME SUPPORT
   =================================================== */
body[data-theme="dark"] .discount-badge {
    box-shadow: 0 4px 15px rgba(255, 77, 77, 0.6), 0 0 10px rgba(199, 0, 0, 0.4);
}

body[data-theme="dark"] .featured-badge {
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.6), 0 0 10px rgba(118, 75, 162, 0.5);
}

body[data-theme="dark"] .vip-badge {
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.6), 0 0 10px rgba(255, 165, 0, 0.4);
}

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

/* Large Tablets (768px - 1024px) */
@media (max-width: 1024px) {
    .discount-badge,
    .featured-badge,
    .vip-badge {
        padding: 7px 13px;
        font-size: 13px;
    }

    .vip-badge {
        top: 55px;
    }

    .discount-badge i,
    .featured-badge i,
    .vip-badge i {
        font-size: 11px;
    }
}

/* Tablets (640px - 768px) */
@media (max-width: 768px) {
    .discount-badge,
    .featured-badge,
    .vip-badge {
        padding: 6px 12px;
        font-size: 12px;
        border-radius: 10px;
    }

    .discount-badge {
        top: 12px;
        left: 12px;
    }

    .featured-badge {
        top: 12px;
        right: 12px;
    }

    .vip-badge {
        top: 50px;
        right: 12px;
    }

    .discount-badge i,
    .featured-badge i,
    .vip-badge i {
        font-size: 10px;
    }

    .stock-badge {
        padding: 5px 10px;
        font-size: 11px;
    }
}

/* Mobile (480px - 640px) */
@media (max-width: 640px) {
    .discount-badge,
    .featured-badge,
    .vip-badge {
        padding: 5px 10px;
        font-size: 11px;
        border-radius: 8px;
    }

    .discount-badge {
        top: 10px;
        left: 10px;
    }

    .featured-badge {
        top: 10px;
        right: 10px;
    }

    .vip-badge {
        top: 45px;
        right: 10px;
    }

    .discount-badge i,
    .featured-badge i,
    .vip-badge i {
        font-size: 9px;
        gap: 4px;
    }

    .stock-badge {
        padding: 4px 8px;
        font-size: 10px;
        bottom: 10px;
        left: 10px;
    }

    /* Reduce animation intensity on mobile for performance */
    .discount-badge,
    .featured-badge,
    .vip-badge {
        animation-duration: 3s;
    }
}

/* Small Mobile (380px - 480px) */
@media (max-width: 480px) {
    .discount-badge,
    .featured-badge,
    .vip-badge {
        padding: 4px 8px;
        font-size: 10px;
        border-radius: 6px;
    }

    .discount-badge {
        top: 8px;
        left: 8px;
    }

    .featured-badge {
        top: 8px;
        right: 8px;
    }

    .vip-badge {
        top: 40px;
        right: 8px;
    }

    .discount-badge i,
    .featured-badge i,
    .vip-badge i {
        font-size: 8px;
    }

    .stock-badge {
        padding: 3px 6px;
        font-size: 9px;
        width: fit-content;
    }
}

/* Extra Small Mobile (below 380px) */
@media (max-width: 380px) {
    .discount-badge,
    .featured-badge,
    .vip-badge {
        padding: 3px 6px;
        font-size: 9px;
        gap: 3px;
    }

    .vip-badge {
        top: 35px;
    }

    .discount-badge i,
    .featured-badge i,
    .vip-badge i {
        display: none; /* Hide icons on very small screens */
    }

    .stock-badge {
        padding: 2px 5px;
        font-size: 8px;
    }
}

/* ===================================================
   PRINT STYLES
   =================================================== */
@media print {
    .discount-badge,
    .featured-badge,
    .vip-badge,
    .stock-badge,
    .new-badge {
        animation: none;
        box-shadow: none;
        transform: none !important;
        background: #ccc !important;
        color: #000 !important;
    }
}

/* ===================================================
   ACCESSIBILITY IMPROVEMENTS
   =================================================== */

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .discount-badge,
    .featured-badge,
    .vip-badge,
    .stock-badge,
    .new-badge {
        animation: none !important;
    }

    .discount-badge i,
    .featured-badge i,
    .vip-badge i {
        animation: none !important;
    }

    .discount-badge:hover,
    .featured-badge:hover,
    .vip-badge:hover {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .discount-badge,
    .featured-badge,
    .vip-badge {
        border: 2px solid currentColor;
        font-weight: 900;
    }
}

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

/* Hide badges on hover (optional) */
.product-card.hide-badges-on-hover:hover .discount-badge,
.product-card.hide-badges-on-hover:hover .featured-badge,
.product-card.hide-badges-on-hover:hover .vip-badge {
    opacity: 0.3;
    transition: opacity 0.3s ease;
}
.stock-badge {
        width: fit-content;
    }

/* Static badges (no animation) */
.badge-static {
    animation: none !important;
    transform: none !important;
}

/* Badge with border */
.badge-bordered {
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Badge with pulse effect */
.badge-pulse {
    animation: badgePulseEffect 2s ease-in-out infinite !important;
}

@keyframes badgePulseEffect {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

/* ===================================================
   BADGE TOOLTIP (Optional Enhancement)
   =================================================== */
.discount-badge::after,
.featured-badge::after,
.vip-badge::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 100;
    font-weight: 500;
}

.discount-badge:hover::after,
.featured-badge:hover::after,
.vip-badge:hover::after {
    opacity: 1;
}

/* ===================================================
   BADGE COMBINATIONS HANDLING
   =================================================== */

/* Adjust positioning when multiple badges present */
.product-card:has(.discount-badge):has(.new-badge) .new-badge {
    top: 60px;
}

.product-card:has(.featured-badge):has(.vip-badge) .vip-badge {
    top: 60px;
}

/* Stack badges vertically on very small cards */
@media (max-width: 380px) {
    .product-card:has(.featured-badge):has(.vip-badge) .vip-badge {
        top: 35px;
    }
}


/* ===================================================
   ACTION BUTTONS - CART & WISHLIST
   أضف هذا في نهاية ملف CSS الرئيسي
   =================================================== */

/* Container للأزرار */
.product-action-buttons {
    position: absolute;
    bottom: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 20;
}

/* Base Action Button Styles */
.action-btn {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

body[data-theme="dark"] .action-btn {
    background: rgba(42, 42, 80, 0.95);
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.4s ease;
    z-index: -1;
}

.action-btn i {
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.action-btn:hover {
    transform: scale(1.15);
}

.action-btn:active {
    transform: scale(1.05);
}

/* Cart Button */
.cart-btn i {
    color: #2196F3;
}

.cart-btn::before {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
}

.cart-btn:hover {
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.cart-btn:hover::before {
    transform: scale(1);
}

.cart-btn:hover i {
    color: #FFFFFF;
}

.cart-btn.active {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.5);
}

.cart-btn.active::before {
    transform: scale(1);
}

.cart-btn.active i {
    color: #FFFFFF;
}

.cart-btn.disabled {
    background: rgba(200, 200, 200, 0.5);
    cursor: not-allowed;
    opacity: 0.6;
}

.cart-btn.disabled i {
    color: #999;
}

.cart-btn.disabled:hover {
    transform: scale(1);
    box-shadow: none;
}

/* Wishlist Button */
.wishlist-btn i {
    color: #999;
}

.wishlist-btn::before {
    background: linear-gradient(135deg, #F44336 0%, #E91E63 100%);
}

.wishlist-btn:hover {
    box-shadow: 0 6px 20px rgba(244, 67, 54, 0.4);
}

.wishlist-btn:hover::before {
    transform: scale(1);
}

.wishlist-btn:hover i {
    color: #F44336;
}

.wishlist-btn.active {
    background: linear-gradient(135deg, #F44336 0%, #E91E63 100%);
    box-shadow: 0 6px 20px rgba(244, 67, 54, 0.5);
}

.wishlist-btn.active::before {
    transform: scale(1);
}

.wishlist-btn.active i {
    color: #FFFFFF;
}

/* Animations */
@keyframes cartBounce {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(1.1); }
    75% { transform: scale(1.25); }
}

/* Stock Status */
.stock-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    margin-top: 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

.stock-status.out-of-stock {
    background: rgba(244, 67, 54, 0.1);
    color: #F44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.stock-status i {
    font-size: 14px;
}

/* Hover Effects on Card */
.product-card:hover .action-btn {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.product-card:hover .cart-btn:not(.disabled):not(.active) {
    transform: translateY(-2px) scale(1.05);
}

.product-card:hover .wishlist-btn:not(.active) {
    transform: translateY(-2px) scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .product-action-buttons {
        bottom: 12px;
        left: 12px;
        gap: 8px;
    }

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

    .action-btn i {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .product-action-buttons {
        bottom: 10px;
        left: 10px;
        gap: 6px;
    }

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

    .action-btn i {
        font-size: 15px;
    }
}

@media (max-width: 380px) {
    .product-action-buttons {
        gap: 5px;
    }

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

    .action-btn i {
        font-size: 14px;
    }
}


[data-theme="light"] .btn-check:checked + .btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check) + .btn:active  {
    color: #A48111 !important;
    border-color: #A48111 !important;
}
[data-theme="light"] .btn.active:hover {
    color: var(--text-primary) !important;
    border-color: #A48111 !important;
}
/* ===================================================
   CART PAGE SPECIFIC STYLES
   =================================================== */

.cart-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

/* ===================================================
   ORDER DETAIL PAGE STYLES
   =================================================== */

/* Order Status Badge */
.order-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.order-status-badge.status-pending {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    color: #FFFFFF;
}

.order-status-badge.status-processing {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: #FFFFFF;
}

.order-status-badge.status-shipped {
    background: linear-gradient(135deg, #A48111 0%, #7B1FA2 100%);
    color: #FFFFFF;
}

.order-status-badge.status-delivered {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    color: #FFFFFF;
}

.order-status-badge.status-cancelled {
    background: linear-gradient(135deg, #F44336 0%, #D32F2F 100%);
    color: #FFFFFF;
}

/* Order Timeline */
.order-timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-item {
    position: relative;
    padding: 0 0 40px 50px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.timeline-item.completed {
    opacity: 1;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    right: 15px;
    top: 35px;
    width: 2px;
    height: calc(100% - 20px);
    background: var(--border-color);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-item.completed::before {
    background: var(--secondary-color);
}

.timeline-icon {
    position: absolute;
    right: 0;
    top: 0;
    width: 35px;
    height: 35px;
    background: var(--bg-surface);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.timeline-item.completed .timeline-icon {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(164, 129, 17, 0.4);
}

.timeline-icon svg {
    stroke: var(--text-muted);
}

.timeline-item.completed .timeline-icon svg {
    stroke: #FFFFFF;
}

.timeline-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.timeline-item.completed .timeline-content h4 {
    color: var(--secondary-color);
}

/* Shipping Info */
.shipping-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.shipping-info .info-item {
    display: flex;
    align-items: start;
    gap: 12px;
    padding: 12px;
    background: var(--bg-surface);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.shipping-info .info-item:hover {
    background: rgba(164, 129, 17, 0.1);
    transform: translateX(-5px);
}

.shipping-info .info-item svg {
    stroke: var(--secondary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.shipping-info .info-item p,
.shipping-info .info-item strong {
    margin: 0;
    font-size: 15px;
    color: var(--text-primary);
}

/* Payment Method Display */
.payment-method-display {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--bg-surface);
    border-radius: 12px;
}

.payment-method-display .payment-icon {
    width: 50px;
    height: 50px;
    background: rgba(164, 129, 17, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-method-display .payment-icon i {
    font-size: 24px;
    color: var(--secondary-color);
}

.payment-details strong {
    display: block;
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.payment-status {
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}

.payment-status.status-paid {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.payment-status.status-pending {
    background: rgba(255, 152, 0, 0.1);
    color: #FF9800;
}

/* Order Actions */
.order-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .cart-products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .timeline-item {
        padding-right: 45px;
    }

    .timeline-item::before {
        right: 12px;
    }

    .timeline-icon {
        width: 30px;
        height: 30px;
    }

    .timeline-icon svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .order-status-badge {
        padding: 8px 16px;
        font-size: 13px;
    }

    .timeline-content h4 {
        font-size: 15px;
    }

    .timeline-content p {
        font-size: 13px;
    }

    .shipping-info .info-item {
        padding: 10px;
    }

    .payment-method-display {
        padding: 15px;
    }

    .payment-method-display .payment-icon {
        width: 45px;
        height: 45px;
    }
}

/* ===================================================
   FOUNDER SECTION STYLES
   About page - Founder profile section
   =================================================== */
.founder-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-surface), var(--bg-secondary));
}

.founder-content {
    max-width: 900px;
    margin: 0 auto;
}

.founder-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem;
    background: var(--bg-card);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.founder-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), #c59a13);
}

.founder-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(164, 129, 17, 0.3);
}

.founder-image-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

.founder-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: contain;
    border: 5px solid var(--secondary-color);
    box-shadow: 0 10px 30px rgba(164, 129, 17, 0.4);
    transition: all 0.4s ease;
}

.founder-card:hover .founder-image {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(164, 129, 17, 0.6);
}

.founder-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), #c59a13);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--bg-card);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

.founder-badge svg {
    color: white;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.founder-info {
    text-align: center;
    width: 100%;
}

.founder-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--secondary-color), #c59a13);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.founder-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.founder-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    margin: 1.5rem auto;
}

.founder-bio {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-align: justify;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Founder Section - Responsive Design */
@media (max-width: 768px) {
    .founder-card {
        padding: 2rem 1.5rem;
    }

    .founder-image {
        width: 180px;
        height: 180px;
    }

    .founder-name {
        font-size: 1.5rem;
    }

    .founder-title {
        font-size: 1rem;
    }

    .founder-bio {
        font-size: 0.95rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .founder-section {
        padding: 60px 0;
    }

    .founder-card {
        padding: 1.5rem 1rem;
    }

    .founder-image {
        width: 150px;
        height: 150px;
        border-width: 4px;
    }

    .founder-badge {
        width: 40px;
        height: 40px;
        bottom: 5px;
        right: 5px;
    }

    .founder-badge svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 360px) {
    .founder-image {
        width: 130px;
        height: 130px;
        border-width: 3px;
    }

    .founder-badge {
        width: 35px;
        height: 35px;
    }

    .founder-badge svg {
        width: 18px;
        height: 18px;
    }
}

/* ========================================
   MODERN SOCIAL SHARE SECTIONS
   ======================================== */

/* Social Share Grid Layout */
.social-share-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

/* Inline Social Share Buttons (Product Detail) */
.social-share-btn-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(8px);
}

.social-share-btn-inline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.social-share-btn-inline:hover::before {
    opacity: 1;
}

.social-share-btn-inline i {
    font-size: 24px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    color: #fff;
    z-index: 1;
    position: relative;
}

.social-share-btn-inline:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.social-share-btn-inline:hover i {
    transform: scale(1.15) rotate(-6deg);
}

.social-share-btn-inline:active {
    transform: translateY(-2px) scale(1.02);
}

/* Card Social Share Buttons (Product Card Dropdown) */
.social-share-btn-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 10px;
    border: none;
    border-radius: 14px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    min-height: 70px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.social-share-btn-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.social-share-btn-card:hover::before {
    opacity: 1;
}

.social-share-btn-card .icon-bg {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.social-share-btn-card i {
    font-size: 22px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    color: #fff;
}

.social-share-btn-card:hover .icon-bg {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.social-share-btn-card:hover i {
    transform: scale(1.2) rotate(-7deg);
}

.social-share-btn-card:hover {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.social-share-btn-card:active {
    transform: translateY(-1px) scale(1.02);
}

.social-share-btn-card span {
    font-family: 'Cairo', sans-serif;
    position: relative;
    z-index: 1;
}

/* Vendor Social Share Buttons (Modal) */
.social-share-btn-vendor {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px 18px;
    border: none;
    border-radius: 16px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    min-height: 120px;
    font-family: 'Cairo', sans-serif;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.social-share-btn-vendor::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.social-share-btn-vendor:hover::before {
    opacity: 1;
}

.social-share-btn-vendor .icon-bg {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    margin-bottom: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.social-share-btn-vendor i {
    font-size: 28px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    color: #fff;
}

.social-share-btn-vendor:hover .icon-bg {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.12);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.social-share-btn-vendor:hover i {
    transform: scale(1.2) rotate(-8deg);
}

.social-share-btn-vendor:hover {
    transform: translateY(-5px) scale(1.04);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.social-share-btn-vendor:active {
    transform: translateY(-2px) scale(1.01);
}

/* Platform-Specific Gradient Colors */

/* Twitter / X */
.social-share-btn-inline[href*="twitter.com"],
.social-share-btn-card[href*="twitter.com"],
.social-share-btn-vendor[href*="twitter.com"] {
    background: linear-gradient(135deg, #1DA1F2 0%, #0d8ecf 100%);
    color: #FFFFFF;
}

/* Facebook */
.social-share-btn-inline[href*="facebook.com"],
.social-share-btn-card[href*="facebook.com"],
.social-share-btn-vendor[href*="facebook.com"] {
    background: linear-gradient(135deg, #1877F2 0%, #0c63d4 100%);
    color: #FFFFFF;
}

/* Instagram */
.social-share-btn-inline[href*="instagram.com"],
.social-share-btn-card[href*="instagram.com"],
.social-share-btn-vendor[href*="instagram.com"] {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #FFFFFF;
}

/* Snapchat */
.social-share-btn-inline[href*="snapchat.com"],
.social-share-btn-card[href*="snapchat.com"],
.social-share-btn-vendor[href*="snapchat.com"] {
    background: linear-gradient(135deg, #FFFC00 0%, #FFF700 100%);
    color: #000000;
}

.social-share-btn-inline[href*="snapchat.com"] i,
.social-share-btn-card[href*="snapchat.com"] i,
.social-share-btn-vendor[href*="snapchat.com"] i {
    color: #000000;
}

.social-share-btn-card[href*="snapchat.com"] .icon-bg,
.social-share-btn-vendor[href*="snapchat.com"] .icon-bg {
    background: rgba(0, 0, 0, 0.12);
}

.social-share-btn-card[href*="snapchat.com"]:hover .icon-bg,
.social-share-btn-vendor[href*="snapchat.com"]:hover .icon-bg {
    background: rgba(0, 0, 0, 0.18);
}

/* TikTok */
.social-share-btn-inline[href*="tiktok.com"],
.social-share-btn-card[href*="tiktok.com"],
.social-share-btn-vendor[href*="tiktok.com"] {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: #FFFFFF;
}

/* LinkedIn */
.social-share-btn-inline[href*="linkedin.com"],
.social-share-btn-card[href*="linkedin.com"],
.social-share-btn-vendor[href*="linkedin.com"] {
    background: linear-gradient(135deg, #0077B5 0%, #005f8d 100%);
    color: #FFFFFF;
}

/* WhatsApp */
.social-share-btn-inline[href*="whatsapp.com"],
.social-share-btn-card[href*="whatsapp.com"],
.social-share-btn-vendor[href*="whatsapp.com"] {
    background: linear-gradient(135deg, #25D366 0%, #1ebe57 100%);
    color: #FFFFFF;
}

/* Link Copy Container */
.link-copy-container {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
}

[data-bs-theme="dark"] .link-copy-container {
    border-top-color: var(--border-color, rgba(255, 255, 255, 0.12));
}

.link-copy-container .form-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-secondary, #666);
}

[data-bs-theme="dark"] .link-copy-container .form-label {
    color: var(--text-secondary, #aaa);
}

.link-copy-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.link-copy-input-group .form-control {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border-color, #e0e0e0);
    border-radius: 12px;
    font-size: 14px;
    background: var(--bg-input, #f8f9fa);
    color: var(--text-primary, #1a1a1a);
    transition: all 0.3s ease;
}

[data-bs-theme="dark"] .link-copy-input-group .form-control {
    background: var(--bg-input, #2d2d2d);
    border-color: var(--border-color, rgba(255, 255, 255, 0.15));
    color: var(--text-primary, #e0e0e0);
}

.link-copy-input-group .form-control:focus {
    border-color: var(--primary-color, #1A1A3A);
    box-shadow: 0 0 0 3px rgba(26, 26, 58, 0.1);
    outline: none;
}

[data-bs-theme="dark"] .link-copy-input-group .form-control:focus {
    border-color: var(--primary-color, #4a4a6a);
    box-shadow: 0 0 0 3px rgba(74, 74, 106, 0.2);
}

.link-copy-input-group .modal-copy-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #1A1A3A 0%, #2c2c5a 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    white-space: nowrap;
}

[data-bs-theme="dark"] .link-copy-input-group .modal-copy-btn {
    background: linear-gradient(135deg, #3a3a5a 0%, #4c4c7a 100%);
}

.link-copy-input-group .modal-copy-btn:hover {
    background: linear-gradient(135deg, #2c2c5a 0%, #1A1A3A 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(26, 26, 58, 0.3);
}

[data-bs-theme="dark"] .link-copy-input-group .modal-copy-btn:hover {
    background: linear-gradient(135deg, #4c4c7a 0%, #3a3a5a 100%);
}

.link-copy-input-group .modal-copy-btn:active {
    transform: translateY(0);
}

.link-copy-input-group .modal-copy-btn i {
    font-size: 16px;
}

.copy-success-msg {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(76, 175, 80, 0.12);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 10px;
    color: #4CAF50;
    font-weight: 600;
    font-size: 14px;
    animation: slideInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.copy-success-msg.show {
    display: flex;
}

[data-bs-theme="dark"] .copy-success-msg {
    background: rgba(76, 175, 80, 0.18);
    border-color: rgba(76, 175, 80, 0.4);
    color: #66BB6A;
}

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

/* Share Dropdown (Product Card) */
.share-dropdown {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 55px;
    min-width: 300px;
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
    border-radius: 18px;
    box-shadow: 0 16px 56px rgba(0, 0, 0, 0.18), 0 4px 16px rgba(0, 0, 0, 0.12);
    z-index: 999999;
    padding: 24px;
    animation: dropdownSlideUp 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-bs-theme="dark"] .share-dropdown {
    background: var(--bg-card, #2d2d2d);
    border-color: var(--border-color, rgba(255, 255, 255, 0.15));
    box-shadow: 0 16px 56px rgba(0, 0, 0, 0.6), 0 4px 16px rgba(0, 0, 0, 0.4);
}

@keyframes dropdownSlideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.share-dropdown::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--bg-card, #ffffff);
    border-right: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
    border-bottom: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
    transform: translateX(-50%) rotate(45deg);
}

[data-bs-theme="dark"] .share-dropdown::before {
    background: var(--bg-card, #2d2d2d);
    border-color: var(--border-color, rgba(255, 255, 255, 0.15));
}

.share-dropdown .social-share-grid {
    margin-bottom: 16px;
}

/* Share Dropdown Wrapper */
.share-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

/* Responsive Design for Social Share */
@media (max-width: 768px) {
    .social-share-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .social-share-btn-inline {
        width: 48px;
        height: 48px;
    }

    .social-share-btn-inline i {
        font-size: 22px;
    }

    .social-share-btn-card {
        padding: 12px 8px;
        min-height: 65px;
    }

    .social-share-btn-card .icon-bg {
        width: 36px;
        height: 36px;
    }

    .social-share-btn-card i {
        font-size: 20px;
    }

    .social-share-btn-vendor {
        padding: 20px 16px;
        min-height: 110px;
    }

    .social-share-btn-vendor .icon-bg {
        width: 48px;
        height: 48px;
    }

    .social-share-btn-vendor i {
        font-size: 26px;
    }

    .share-dropdown {
        min-width: 260px;
        padding: 20px;
    }

    .link-copy-input-group {
        flex-direction: column;
    }

    .link-copy-input-group .modal-copy-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .social-share-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .social-share-btn-inline {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .social-share-btn-inline i {
        font-size: 20px;
    }

    .social-share-btn-card {
        padding: 10px 6px;
        min-height: 60px;
        border-radius: 12px;
    }

    .social-share-btn-card .icon-bg {
        width: 32px;
        height: 32px;
    }

    .social-share-btn-card i {
        font-size: 18px;
    }

    .share-dropdown {
        min-width: 240px !important;
        left: auto !important;
        right: 0 !important;
        transform: none !important;
        padding: 18px;
    }

    .share-dropdown::before {
        left: auto;
        right: 20px;
        transform: rotate(45deg);
    }

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

@media (max-width: 400px) {
    .social-share-btn-inline {
        width: 40px;
        height: 40px;
    }

    .social-share-btn-inline i {
        font-size: 18px;
    }

    .share-dropdown {
        min-width: 220px !important;
        padding: 16px;
    }
}

/* Dark Mode Additional Styles */
[data-bs-theme="dark"] .social-share-btn-inline,
[data-bs-theme="dark"] .social-share-btn-card,
[data-bs-theme="dark"] .social-share-btn-vendor {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

[data-bs-theme="dark"] .social-share-btn-inline:hover,
[data-bs-theme="dark"] .social-share-btn-card:hover,
[data-bs-theme="dark"] .social-share-btn-vendor:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.6);
}

/* Accessibility */
.social-share-btn-inline:focus,
.social-share-btn-card:focus,
.social-share-btn-vendor:focus {
    outline: 3px solid rgba(26, 26, 58, 0.3);
    outline-offset: 2px;
}

[data-bs-theme="dark"] .social-share-btn-inline:focus,
[data-bs-theme="dark"] .social-share-btn-card:focus,
[data-bs-theme="dark"] .social-share-btn-vendor:focus {
    outline-color: rgba(74, 74, 106, 0.5);
}

/* Smooth Transitions for All States */
.social-share-btn-inline,
.social-share-btn-card,
.social-share-btn-vendor,
.link-copy-input-group .modal-copy-btn {
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

/* ============================================
   SHARE MODAL STYLES - GLOBAL
============================================ */

.share-modal-content {
    background: var(--bg-card, #FFFFFF);
    border: 1px solid var(--border-color, rgba(0, 0, 0, 0.1));
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

[data-bs-theme="dark"] .share-modal-content {
    background: var(--bg-card, #2d2d2d);
    border-color: var(--border-color, rgba(255, 255, 255, 0.15));
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.share-modal-header {
    background: linear-gradient(135deg, #1A1A3A 0%, #c59a13 100%);
    color: #FFFFFF;
    border-bottom: none;
    padding: 24px 28px;
}

.share-modal-header .modal-title {
    font-weight: 700;
    font-size: 20px;
    display: flex;
    align-items: center;
    color: #fff;
}

.share-modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 1;
    font-size: 14px;
    padding: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.share-modal-header .btn-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.share-modal-body {
    padding: 28px;
}

/* Product Preview in Modal */
.share-product-preview {
    background: var(--bg-surface, #f8f9fa);
    border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

[data-bs-theme="dark"] .share-product-preview {
    background: var(--bg-surface, #1a1a1a);
    border-color: var(--border-color, rgba(255, 255, 255, 0.1));
}

.share-product-info h6 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    text-align: center;
}

/* Social Share Section */
.social-share-section {
    margin-bottom: 24px;
}

.share-section-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.social-share-grid-modal {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.social-share-btn-modal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 12px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: var(--bg-surface, #f8f9fa);
    border: 2px solid transparent;
}

[data-bs-theme="dark"] .social-share-btn-modal {
    background: var(--bg-surface, #1a1a1a);
}

.social-share-btn-modal:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-color: currentColor;
}

[data-bs-theme="dark"] .social-share-btn-modal:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.social-icon-bg {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    transition: all 0.3s ease;
}

.social-share-btn-modal:hover .social-icon-bg {
    transform: scale(1.1) rotate(-5deg);
}

.social-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Platform Colors */
.twitter-bg {
    background: linear-gradient(135deg, #1DA1F2 0%, #0d8ecf 100%);
}

.facebook-bg {
    background: linear-gradient(135deg, #1877F2 0%, #0c63d4 100%);
}

.instagram-bg {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.snapchat-bg {
    background: linear-gradient(135deg, #FFFC00 0%, #FFF700 100%);
    color: #000000 !important;
}

.tiktok-bg {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
}

/* Copy Link Section */
.copy-link-section {
    border-top: 2px solid var(--border-color, rgba(0, 0, 0, 0.08));
    padding-top: 24px;
}

[data-bs-theme="dark"] .copy-link-section {
    border-top-color: var(--border-color, rgba(255, 255, 255, 0.1));
}

.link-copy-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.share-link-input {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid var(--border-color, rgba(0, 0, 0, 0.12));
    border-radius: 12px;
    background: var(--bg-surface, #f8f9fa);
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
}

[data-bs-theme="dark"] .share-link-input {
    background: var(--bg-surface, #1a1a1a);
    border-color: var(--border-color, rgba(255, 255, 255, 0.15));
    color: var(--text-primary);
}

.share-link-input:focus {
    outline: none;
    border-color: #1A1A3A;
    box-shadow: 0 0 0 4px rgba(26, 26, 58, 0.1);
}

[data-bs-theme="dark"] .share-link-input:focus {
    border-color: #c59a13;
    box-shadow: 0 0 0 4px rgba(197, 154, 19, 0.2);
}

.share-copy-btn {
    padding: 14px 24px;
    background: linear-gradient(135deg, #1A1A3A 0%, #c59a13 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.share-copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26, 26, 58, 0.3);
}

.copy-success-message {
    color: #4CAF50;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 16px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 8px;
    display: none;
    animation: slideDown 0.3s ease;
}

[data-bs-theme="dark"] .copy-success-message {
    background: rgba(76, 175, 80, 0.2);
}

.copy-success-message.show {
    display: block;
}

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

/* Responsive Modal Styles */
@media (max-width: 768px) {
    .social-share-grid-modal {
        grid-template-columns: repeat(3, 1fr);
    }

    .share-modal-body {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .social-share-grid-modal {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .share-copy-btn span {
        display: none;
    }

    .share-copy-btn {
        padding: 14px 18px;
    }

    .share-modal-header {
        padding: 20px;
    }

    .share-modal-header .modal-title {
        font-size: 18px;
    }
}

/* ============================================
   COMPARE MODAL STYLES - GLOBAL
============================================ */

.compare-modal-content {
    background: var(--bg-card, #FFFFFF);
    border: 1px solid var(--border-color, rgba(0, 0, 0, 0.1));
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

[data-bs-theme="dark"] .compare-modal-content {
    background: var(--bg-card, #2d2d2d);
    border-color: var(--border-color, rgba(255, 255, 255, 0.15));
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.compare-modal-header {
    background: linear-gradient(135deg, var(--primary-color, #1A1A3A) 0%, var(--secondary-color, #A48111) 100%);
    color: #FFFFFF;
    border-bottom: none;
    padding: 24px 28px;
}

.compare-modal-header .modal-title {
    font-weight: 700;
    font-size: 20px;
    display: flex;
    align-items: center;
    color: #fff;
}

.compare-modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 1;
    font-size: 14px;
    padding: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.compare-modal-header .btn-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.compare-modal-body {
    padding: 28px;
}

/* Compare Modal Dialog Scrollbar */
.compare-modal-content .modal-body::-webkit-scrollbar,
#compareModal .modal-dialog::-webkit-scrollbar {
    width: 8px;
}

.compare-modal-content .modal-body::-webkit-scrollbar-track,
#compareModal .modal-dialog::-webkit-scrollbar-track {
    background: var(--bg-surface, #f8f9fa);
    border-radius: 10px;
}

[data-bs-theme="dark"] .compare-modal-content .modal-body::-webkit-scrollbar-track,
[data-bs-theme="dark"] #compareModal .modal-dialog::-webkit-scrollbar-track {
    background: var(--bg-surface, #1a1a1a);
}

.compare-modal-content .modal-body::-webkit-scrollbar-thumb,
#compareModal .modal-dialog::-webkit-scrollbar-thumb {
    background: var(--secondary-color, #A48111);
    border-radius: 10px;
}

.compare-modal-content .modal-body::-webkit-scrollbar-thumb:hover,
#compareModal .modal-dialog::-webkit-scrollbar-thumb:hover {
    background: #c59a13;
}

[data-bs-theme="dark"] .compare-modal-content .modal-body::-webkit-scrollbar-thumb,
[data-bs-theme="dark"] #compareModal .modal-dialog::-webkit-scrollbar-thumb {
    background: var(--secondary-color, #c59a13);
}

[data-bs-theme="dark"] .compare-modal-content .modal-body::-webkit-scrollbar-thumb:hover,
[data-bs-theme="dark"] #compareModal .modal-dialog::-webkit-scrollbar-thumb:hover {
    background: #d4a614;
}

/* Compare Counter */
.compare-counter {
    background: var(--bg-surface, #f8f9fa);
    border: 2px solid rgba(164, 129, 17, 0.2);
    border-radius: 12px;
    padding: 16px 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

[data-bs-theme="dark"] .compare-counter {
    background: var(--bg-surface, #1a1a1a);
    border-color: rgba(164, 129, 17, 0.4);
}

.compare-counter i {
    color: var(--secondary-color, #A48111);
    font-size: 20px;
}

.compare-counter span {
    color: var(--secondary-color, #A48111);
    font-weight: 700;
    font-size: 20px;
}

/* Empty State */
.compare-empty-state {
    text-align: center;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.compare-empty-state i {
    font-size: 80px;
    color: var(--text-muted, #ccc);
    margin-bottom: 20px;
    opacity: 0.5;
}

[data-bs-theme="dark"] .compare-empty-state i {
    color: var(--text-muted, #555);
}

.compare-empty-state h4 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.compare-empty-state p {
    font-size: 16px;
    color: var(--text-muted);
    margin: 0;
}

/* Compare Products Grid */
.compare-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.compare-product-card {
    background: var(--bg-surface, #f8f9fa);
    border: 2px solid var(--border-color, rgba(0, 0, 0, 0.1));
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

[data-bs-theme="dark"] .compare-product-card {
    background: var(--bg-surface, #1a1a1a);
    border-color: var(--border-color, rgba(255, 255, 255, 0.1));
}

.compare-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(164, 129, 17, 0.3);
    border-color: var(--secondary-color, #A48111);
}

[data-bs-theme="dark"] .compare-product-card:hover {
    box-shadow: 0 6px 20px rgba(164, 129, 17, 0.5);
}

.compare-product-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(244, 67, 54, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    z-index: 10;
}

.compare-product-remove:hover {
    background: #f44336;
    transform: scale(1.1);
}

.compare-product-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}

.compare-product-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.compare-product-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary-color, #A48111);
    margin-bottom: 4px;
}

/* Compare Product Button */
.compare-product-card .btn-outline-primary {
    border-color: var(--secondary-color, #A48111);
    color: var(--secondary-color, #A48111);
    background: transparent;
    transition: all 0.3s ease;
}

.compare-product-card .btn-outline-primary:hover {
    background: linear-gradient(135deg, var(--primary-color, #1A1A3A) 0%, var(--secondary-color, #A48111) 100%);
    border-color: var(--secondary-color, #A48111);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.compare-product-card .btn-outline-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(164, 129, 17, 0.25);
    border-color: var(--secondary-color, #A48111);
}

/* Compare Table */
.compare-table-wrapper {
    overflow-x: auto;
    margin-bottom: 24px;
    border-radius: 12px;
    border: 2px solid var(--border-color, rgba(0, 0, 0, 0.1));
}

[data-bs-theme="dark"] .compare-table-wrapper {
    border-color: var(--border-color, rgba(255, 255, 255, 0.1));
}

/* Compare Table Scrollbar */
.compare-table-wrapper::-webkit-scrollbar {
    height: 8px;
}

.compare-table-wrapper::-webkit-scrollbar-track {
    background: var(--bg-surface, #f8f9fa);
    border-radius: 10px;
}

[data-bs-theme="dark"] .compare-table-wrapper::-webkit-scrollbar-track {
    background: var(--bg-surface, #1a1a1a);
}

.compare-table-wrapper::-webkit-scrollbar-thumb {
    background: var(--secondary-color, #A48111);
    border-radius: 10px;
}

.compare-table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #c59a13;
}

[data-bs-theme="dark"] .compare-table-wrapper::-webkit-scrollbar-thumb {
    background: var(--secondary-color, #c59a13);
}

[data-bs-theme="dark"] .compare-table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #d4a614;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card, #fff);
}

[data-bs-theme="dark"] .compare-table {
    background: var(--bg-card, #2d2d2d);
}

.compare-table thead {
    background: linear-gradient(135deg, var(--primary-color, #1A1A3A) 0%, var(--secondary-color, #A48111) 100%);
}

.compare-table th {
    padding: 16px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    border: none;
}

.compare-table .feature-column {
    text-align: left;
    min-width: 150px;
    background: var(--primary-color, rgba(26, 26, 58, 0.9));
}

.compare-table .product-column {
    min-width: 200px;
}

.compare-table tbody tr {
    border-bottom: 1px solid var(--border-color, rgba(0, 0, 0, 0.1));
}

[data-bs-theme="dark"] .compare-table tbody tr {
    border-bottom-color: var(--border-color, rgba(255, 255, 255, 0.1));
}

.compare-table tbody tr:last-child {
    border-bottom: none;
}

.compare-table tbody tr:nth-child(even) {
    background: var(--bg-surface, rgba(0, 0, 0, 0.02));
}

[data-bs-theme="dark"] .compare-table tbody tr:nth-child(even) {
    background: var(--bg-surface, rgba(255, 255, 255, 0.02));
}

.compare-table td {
    padding: 16px;
    text-align: center;
    color: var(--text-primary);
    font-size: 14px;
    vertical-align: middle;
}

.compare-table .feature-name {
    font-weight: 600;
    text-align: left;
    color: var(--text-primary);
    background: var(--bg-surface, rgba(164, 129, 17, 0.05));
}

[data-bs-theme="dark"] .compare-table .feature-name {
    background: var(--bg-surface, rgba(164, 129, 17, 0.1));
}

.compare-table .feature-name i {
    color: var(--secondary-color, #A48111);
}

.compare-table-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 auto;
    display: block;
}

.compare-table-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color, #A48111);
}

.compare-table-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.compare-table-rating i {
    color: #FFD700;
    font-size: 16px;
}

/* Compare Actions */
.compare-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.compare-actions .btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.compare-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.compare-actions .btn-danger {
    background: linear-gradient(135deg, var(--primary-color, #1A1A3A) 0%, var(--secondary-color, #A48111) 100%);
    border: none;
    color: #FFFFFF;
}

.compare-actions .btn-danger:hover {
    background: linear-gradient(135deg, #0d0d1d 0%, #8a6d0e 100%);
    box-shadow: 0 6px 20px rgba(164, 129, 17, 0.4);
}

.compare-actions .btn-danger:active {
    background: linear-gradient(135deg, #0d0d1d 0%, #755c0c 100%);
}

/* Floating Compare Button */
.floating-compare-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
}

.floating-compare-btn[style*="display: block"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-floating-compare {
    min-width: 70px;
    height: auto;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-color, #1A1A3A) 0%, var(--secondary-color, #A48111) 100%);
    border: none;
    color: white;
    font-size: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px 16px;
    box-shadow: 0 4px 20px rgba(164, 129, 17, 0.4);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.btn-floating-compare .compare-text {
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1;
}

[data-bs-theme="dark"] .btn-floating-compare {
    box-shadow: 0 4px 20px rgba(164, 129, 17, 0.6);
}

.btn-floating-compare:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 28px rgba(164, 129, 17, 0.6);
}

[data-bs-theme="dark"] .btn-floating-compare:hover {
    box-shadow: 0 8px 28px rgba(164, 129, 17, 0.8);
}

.btn-floating-compare:active {
    transform: translateY(-2px);
}

.compare-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #f44336;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    border: 2px solid white;
    animation: pulseCompare 2s infinite;
}

@keyframes pulseCompare {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Responsive Compare Modal */
@media (max-width: 992px) {
    .compare-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .compare-table .product-column {
        min-width: 150px;
    }

    .compare-table th,
    .compare-table td {
        padding: 12px 8px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .compare-modal-body {
        padding: 20px;
    }

    .compare-products-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .compare-counter {
        padding: 12px 16px;
        font-size: 14px;
    }

    .compare-counter i {
        font-size: 18px;
    }

    .compare-counter span {
        font-size: 18px;
    }

    .compare-empty-state {
        padding: 40px 20px;
    }

    .compare-empty-state i {
        font-size: 60px;
    }

    .compare-empty-state h4 {
        font-size: 18px;
    }

    .compare-empty-state p {
        font-size: 14px;
    }

    .compare-table-wrapper {
        border-radius: 8px;
    }

    .compare-table .feature-column {
        min-width: 120px;
    }

    .compare-table .product-column {
        min-width: 120px;
    }

    .compare-table th,
    .compare-table td {
        padding: 10px 6px;
        font-size: 12px;
    }

    .compare-table-image {
        width: 60px;
        height: 60px;
    }

    .compare-table-price {
        font-size: 14px;
    }

    .compare-table-rating i {
        font-size: 12px;
    }

    .floating-compare-btn {
        bottom: 80px;
        right: 20px;
    }

    .btn-floating-compare {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    .compare-badge {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .floating-compare-btn {
        bottom: 70px;
        right: 15px;
    }

    .btn-floating-compare {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }

    .compare-badge {
        width: 18px;
        height: 18px;
        font-size: 9px;
    }
}

@media (max-width: 576px) {
    .compare-modal-header {
        padding: 20px;
    }

    .compare-modal-header .modal-title {
        font-size: 18px;
    }

    .compare-actions {
        flex-direction: column;
    }

    .compare-actions .btn {
        width: 100%;
    }
}

/* ===================================================
   EMPTY PRODUCTS STATE
   Shown when no products are available
   =================================================== */
.empty-products-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
    min-height: 400px;
}

.empty-icon-container {
    width: 120px;
    height: 120px;
    margin-bottom: 24px;
    position: relative;
    animation: floatAnimation 3s ease-in-out infinite;
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.empty-icon {
    width: 100%;
    height: 100%;
    stroke: var(--secondary-color, #A48111);
    stroke-width: 2;
    opacity: 0.8;
    animation: iconPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(164, 129, 17, 0.3));
}

[data-theme="dark"] .empty-icon {
    stroke: var(--secondary-color, #c59a13);
    filter: drop-shadow(0 4px 12px rgba(197, 154, 19, 0.5));
}

@keyframes iconPulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.empty-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary, #1A1A3A);
    margin-bottom: 12px;
    animation: fadeInUp 0.6s ease-out;
}

[data-theme="dark"] .empty-title {
    color: var(--text-primary, #FFFFFF);
}

.empty-description {
    font-size: 16px;
    color: var(--text-muted, #666);
    max-width: 500px;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out;
}

[data-theme="dark"] .empty-description {
    color: var(--text-muted, #aaa);
}

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

/* Responsive Design for Empty State */
@media (max-width: 768px) {
    .empty-products-state {
        padding: 60px 20px;
        min-height: 300px;
    }

    .empty-icon-container {
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
    }

    .empty-title {
        font-size: 24px;
    }

    .empty-description {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .empty-products-state {
        padding: 40px 15px;
        min-height: 250px;
    }

    .empty-icon-container {
        width: 80px;
        height: 80px;
        margin-bottom: 16px;
    }

    .empty-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .empty-description {
        font-size: 14px;
    }
}
