/*
 * ========================================
 * EmaX Design System - Combined CSS
 * Version: 2.0.0
 * All styles merged and optimized
 * ========================================
 * 
 * External Dependencies (NOT included):
 * - swiper-bundle.min.css
 * - font-awesome-6-4-all.min.css
 * ========================================
 */

/* ========================================
   SECTION 1: FONT DEFINITIONS
======================================== */

@font-face {
  font-family: "Vazirmatn";
  src: url("/template/eama/fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("/template/eama/fonts/Vazirmatn-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("/template/eama/fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("/template/eama/fonts/Vazirmatn-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

html,
body,
button,
input,
select,
textarea {
  font-family:
    "Vazirmatn",
    -apple-system,
    sans-serif !important;
}

/* ========================================
   SECTION 2: CSS VARIABLES
======================================== */

:root {
  --emx-font-family: "Vazirmatn", -apple-system, sans-serif;
  --emx-indigo-50: #eef2ff;
  --emx-indigo-100: #e0e7ff;
  --emx-indigo-500: #6366f1;
  --emx-indigo-600: #4f46e5;
  --emx-indigo-700: #4338ca;
  --emx-purple-50: #faf5ff;
  --emx-purple-500: #a855f7;
  --emx-purple-600: #9333ea;
  --emx-gray-50: #f9fafb;
  --emx-gray-100: #f3f4f6;
  --emx-gray-200: #e5e7eb;
  --emx-gray-400: #9ca3af;
  --emx-gray-500: #6b7280;
  --emx-gray-600: #4b5563;
  --emx-gray-700: #374151;
  --emx-gray-800: #1f2937;
  --emx-gray-900: #111827;
  --emx-white: #ffffff;
  --emx-black: #000000;
  --emx-red-500: #ef4444;
  --emx-red-600: #dc2626;
  --emx-green-500: #22c55e;
  --emx-green-600: #16a34a;
  --emx-space-1: 0.25rem;
  --emx-space-2: 0.5rem;
  --emx-space-3: 0.75rem;
  --emx-space-4: 1rem;
  --emx-space-5: 1.25rem;
  --emx-space-6: 1.5rem;
  --emx-space-8: 2rem;
  --emx-space-10: 2.5rem;
  --emx-space-12: 3rem;
  --emx-space-16: 4rem;
  --emx-radius-sm: 0.25rem;
  --emx-radius-md: 0.5rem;
  --emx-radius-lg: 0.75rem;
  --emx-radius-xl: 1rem;
  --emx-radius-2xl: 1.5rem;
  --emx-radius-full: 9999px;
  --emx-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --emx-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --emx-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --emx-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --emx-transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --emx-transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --emx-transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   SECTION 3: BASE STYLES
======================================== */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  direction: rtl;
}

body {
  font-family: var(--emx-font-family);
  font-weight: 400;
  direction: rtl;
  background: var(--emx-white);
  color: var(--emx-gray-900);
  min-height: 100vh;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
p {
  margin-bottom: 1rem;
}

/* Text Size Utilities */
.text-8 {
  font-size: 10px;
}
.text-9 {
  font-size: 10px;
}
.text-10 {
  font-size: 10px;
}

.text-11 {
  font-size: 11px;
}

.text-12 {
  font-size: 12px;
}

.text-13 {
  font-size: 13px;
}

.text-14 {
  font-size: 14px;
}

.text-15 {
  font-size: 15px;
}

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

.text-18 {
  font-size: 18px;
}

.text-20 {
  font-size: 20px;
}
.text-22 {
  font-size: 22px;
}
.text-24 {
  font-size: 24px;
}
.text-26 {
  font-size: 26px;
}
.text-28 {
  font-size: 28px;
}
.text-30 {
  font-size: 30px;
}
.text-32 {
  font-size: 32px;
}
.text-34 {
  font-size: 34px;
}
.text-36 {
  font-size: 36px;
}
.text-38 {
  font-size: 36px;
}

.text-40 {
  font-size: 40px;
}
.text-42 {
  font-size: 42px;
}
.text-48 {
  font-size: 48px;
}

/* ========================================
   SECTION 4: UTILITY CLASSES
======================================== */

.emx-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.emx-text-indigo {
  color: var(--emx-indigo-600);
}
.emx-text-gray-900 {
  color: var(--emx-gray-900);
}
.emx-text-gray-600 {
  color: var(--emx-gray-600);
}
.emx-bg-white {
  background-color: var(--emx-white);
}
.emx-bg-gray-50 {
  background-color: var(--emx-gray-50);
}
.emx-bg-primary {
  background-color: var(--emx-indigo-600);
}
.emx-bg-secondary {
  background-color: var(--emx-purple-600);
}
.emx-gradient-indigo-purple {
  background: linear-gradient(
    135deg,
    var(--emx-indigo-500),
    var(--emx-purple-600)
  );
}
.emx-p-1 {
  padding: var(--emx-space-1);
}
.emx-p-2 {
  padding: var(--emx-space-2);
}
.emx-p-4 {
  padding: var(--emx-space-4);
}
.emx-m-1 {
  margin: var(--emx-space-1);
}
.emx-m-2 {
  margin: var(--emx-space-2);
}
.emx-m-4 {
  margin: var(--emx-space-4);
}
.emx-rounded-sm {
  border-radius: var(--emx-radius-sm);
}
.emx-rounded-md {
  border-radius: var(--emx-radius-md);
}
.emx-rounded-lg {
  border-radius: var(--emx-radius-lg);
}
.emx-shadow-sm {
  box-shadow: var(--emx-shadow-sm);
}
.emx-shadow-md {
  box-shadow: var(--emx-shadow-md);
}
.emx-shadow-lg {
  box-shadow: var(--emx-shadow-lg);
}
.border-3 {
  border-width: 3px;
}
.border-4 {
  border-width: 4px;
}

/* ========================================
   SECTION 5: HEADER STYLES
======================================== */

.emx-header-glass-v1 {
  --header-bg: rgba(255, 255, 255, 0.8);
  --header-blur: 20px;
  --header-border: rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--header-bg);
  backdrop-filter: blur(var(--header-blur));
  border-bottom: 1px solid var(--header-border);
  z-index: 1000;
  transition: all var(--emx-transition-base);
}

.emx-header-glass-v1.scrolled {
  --header-bg: rgba(255, 255, 255, 0.95);
  box-shadow: var(--emx-shadow-md);
}

.emx-header-minimal-v1 {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--emx-gray-200);
  z-index: 1000;
  transition: all var(--emx-transition-base);
}

.emx-header-minimal-v1.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--emx-shadow-sm);
}

.emx-nav-link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--emx-gray-600);
  text-decoration: none;
  transition: color var(--emx-transition-base);
}

.emx-nav-link:hover,
.emx-nav-link.active {
  color: var(--emx-gray-900);
}

.emx-nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--emx-indigo-600);
  transition: width var(--emx-transition-base);
}

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

/* ========================================
   SECTION 6: HERO STYLES
======================================== */

.emx-hero-3d-v2 {
  --hero-bg: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  position: relative;
  background: var(--hero-bg);
  padding: var(--emx-space-16) 0 var(--emx-space-12);
  overflow: hidden;
}

.emx-hero-light-v1 {
  background: linear-gradient(
    to bottom right,
    var(--emx-indigo-50),
    var(--emx-white),
    var(--emx-purple-50)
  );
  padding: var(--emx-space-16) 0;
}

.emx-hero-glass-v1 {
  --hero-bg: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  position: relative;
  background: var(--hero-bg);
  padding: var(--emx-space-12) 0 var(--emx-space-10);
  overflow: hidden;
}

.emx-hero-glass-v1::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
  animation: movePattern 30s linear infinite;
}

.emx-float-orb-1 {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.3) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(60px);
  animation: float1 20s ease-in-out infinite;
}

.emx-float-orb-2 {
  position: absolute;
  bottom: 10%;
  right: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(236, 72, 153, 0.3) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(70px);
  animation: float2 25s ease-in-out infinite;
}

/* ========================================
   SECTION 7: CARD STYLES
======================================== */

.emx-card {
  background: var(--emx-white);
  border: 1px solid var(--emx-gray-200);
  border-radius: var(--emx-radius-xl);
  transition: all var(--emx-transition-base);
}

.emx-card-hover {
  transition: all var(--emx-transition-base);
}

.emx-card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px rgba(99, 102, 241, 0.15);
}

.emx-card-hover:hover .emx-card-img {
  transform: scale(1.05);
}
.emx-card-img {
  transition: transform 0.5s;
}
.emx-card-3d {
  transition: transform var(--emx-transition-base);
  transform-style: preserve-3d;
}

/* ========================================
   SECTION 8: BUTTON STYLES
======================================== */

.emx-btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(
    135deg,
    var(--emx-indigo-600),
    var(--emx-purple-600)
  );
  color: white;
  border-radius: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s;
}

.emx-btn-primary:hover {
  transform: translateY(-2px);
}

/* ========================================
   SECTION 9: FOOTER STYLES
======================================== */

.emx-footer-minimal-v1 {
  background: var(--emx-gray-900);
  padding: var(--emx-space-12) 0;
}

/* ========================================
   SECTION 10: PWA STYLES
======================================== */

.pwa-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: var(--emx-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--emx-space-4);
  box-shadow: var(--emx-shadow-sm);
  z-index: 100;
}

.pwa-header__title {
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: var(--emx-space-2);
}
.pwa-header__back,
.pwa-header__action {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--emx-radius-full);
  color: var(--emx-gray-700);
}
.pwa-header__back:active,
.pwa-header__action:active {
  background: var(--emx-gray-200);
}
.pwa-header__actions {
  display: flex;
  align-items: center;
  gap: var(--emx-space-3);
}

.pwa-content {
  padding-top: 56px;
  padding-bottom: 56px;
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.pwa-container {
  padding: 0 var(--emx-space-4);
  width: 100%;
}
@media (min-width: 640px) {
  .pwa-container {
    max-width: 640px;
    margin: 0 auto;
  }
}

.pwa-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--emx-white);
  height: 56px;
  display: flex;
  justify-content: space-around;
  box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.1);
  z-index: 100;
  flex-direction: row-reverse;
}

.pwa-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--emx-gray-500);
  text-decoration: none;
  font-size: 0.7rem;
  transition: color var(--emx-transition-base);
}
.pwa-nav__item--active {
  color: var(--emx-indigo-600);
}
.pwa-nav__item i {
  font-size: 1.25rem;
}

.pwa-card {
  background: var(--emx-white);
  border-radius: var(--emx-radius-xl);
  overflow: hidden;
  margin-bottom: var(--emx-space-4);
  box-shadow: var(--emx-shadow-sm);
}
.pwa-card--bordered {
  border: 1px solid var(--emx-gray-200);
}
.pwa-card__header {
  padding: var(--emx-space-4);
  border-bottom: 1px solid var(--emx-gray-200);
}
.pwa-card__body {
  padding: var(--emx-space-4);
}
.pwa-card__footer {
  padding: var(--emx-space-4);
  border-top: 1px solid var(--emx-gray-200);
}
.pwa-card__image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.pwa-login-container {
  padding: var(--emx-space-8) var(--emx-space-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh;
  background: var(--emx-white);
}
.pwa-login-logo {
  margin-bottom: var(--emx-space-8);
  text-align: center;
}
.pwa-login-form {
  width: 100%;
  max-width: 360px;
}

.pwa-input {
  width: 100%;
  padding: var(--emx-space-4);
  border: 1px solid var(--emx-gray-200);
  border-radius: var(--emx-radius-md);
  font-family: var(--emx-font-family);
  font-size: 1rem;
  margin-bottom: var(--emx-space-4);
  text-align: center;
  direction: ltr;
}
.pwa-button {
  width: 100%;
  padding: var(--emx-space-4);
  border: none;
  border-radius: var(--emx-radius-md);
  font-family: var(--emx-font-family);
  font-size: 1rem;
  font-weight: 500;
  background: var(--emx-indigo-600);
  color: var(--emx-white);
  cursor: pointer;
  transition: background var(--emx-transition-base);
}
.pwa-button:active {
  background: var(--emx-indigo-700);
}
.pwa-button--outline {
  background: transparent;
  border: 1px solid var(--emx-indigo-600);
  color: var(--emx-indigo-600);
}
.pwa-button--outline:active {
  background: var(--emx-indigo-50);
}

.pwa-course-card {
  display: flex;
  background: var(--emx-white);
  border-radius: var(--emx-radius-lg);
  overflow: hidden;
  margin-bottom: var(--emx-space-4);
  border: 1px solid var(--emx-gray-200);
}
.pwa-course-card__image {
  width: 100px;
  height: 100px;
  object-fit: cover;
}
.pwa-course-card__content {
  flex: 1;
  padding: var(--emx-space-3);
  display: flex;
  flex-direction: column;
}
.pwa-course-card__badge {
  align-self: flex-start;
  padding: 2px var(--emx-space-2);
  background: var(--emx-red-500);
  color: var(--emx-white);
  font-size: 0.7rem;
  border-radius: var(--emx-radius-sm);
  margin-bottom: var(--emx-space-1);
}
.pwa-course-card__title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: var(--emx-space-1);
  color: var(--emx-gray-900);
}
.pwa-course-card__subtitle {
  font-size: 0.8rem;
  color: var(--emx-gray-600);
  margin-bottom: var(--emx-space-2);
}

.pwa-drawer {
  position: fixed;
  top: 0;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: var(--emx-white);
  z-index: 1000;
  overflow-y: auto;
  transition: transform 0.3s ease;
}
html[dir="rtl"] .pwa-drawer {
  right: -100%;
  left: auto;
  transition: right var(--emx-transition-base);
  box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
}
html:not([dir="rtl"]) .pwa-drawer {
  left: -100%;
  right: auto;
  transition: left var(--emx-transition-base);
  box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
}
html[dir="rtl"] .pwa-drawer--open {
  right: 0;
}
html:not([dir="rtl"]) .pwa-drawer--open {
  left: 0;
}

.pwa-drawer__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--emx-transition-base);
}
.pwa-drawer__overlay--open {
  opacity: 1;
  visibility: visible;
}
.pwa-drawer__header {
  padding: var(--emx-space-4);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--emx-gray-200);
}
.pwa-drawer__user {
  display: flex;
  align-items: center;
  gap: var(--emx-space-3);
}
.pwa-drawer__avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--emx-radius-full);
  object-fit: cover;
}
.pwa-drawer__name {
  font-size: 0.9rem;
  font-weight: 500;
}
.pwa-drawer__email {
  font-size: 0.75rem;
  color: var(--emx-gray-500);
}
.pwa-drawer__menu {
  padding: var(--emx-space-2) 0;
}
.pwa-drawer__item {
  display: flex;
  align-items: center;
  gap: var(--emx-space-3);
  padding: var(--emx-space-3) var(--emx-space-4);
  color: var(--emx-gray-700);
  text-decoration: none;
  transition: background var(--emx-transition-fast);
}
.pwa-drawer__item:active {
  background: var(--emx-gray-100);
}
.pwa-drawer__item i {
  width: 24px;
  text-align: center;
}
.pwa-drawer__divider {
  height: 1px;
  background: var(--emx-gray-200);
  margin: var(--emx-space-2) 0;
}
.pwa-drawer__footer {
  padding: var(--emx-space-4);
  border-top: 1px solid var(--emx-gray-200);
}
.pwa-drawer__social {
  display: flex;
  gap: var(--emx-space-3);
  margin-top: var(--emx-space-4);
}
.pwa-drawer__social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--emx-radius-full);
  background: var(--emx-gray-100);
  color: var(--emx-gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background var(--emx-transition-fast);
}
.pwa-drawer__social-link:active {
  background: var(--emx-gray-200);
}

.pwa-section {
  padding: var(--emx-space-4) 0;
}
.pwa-section__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--emx-space-4);
}
.pwa-section__subtitle {
  font-size: 0.875rem;
  color: var(--emx-gray-600);
  margin-top: -0.75rem;
  margin-bottom: var(--emx-space-4);
}

.pwa-mt-2 {
  margin-top: var(--emx-space-2);
}
.pwa-mt-4 {
  margin-top: var(--emx-space-4);
}
.pwa-mb-4 {
  margin-bottom: var(--emx-space-4);
}
.pwa-mb-6 {
  margin-bottom: var(--emx-space-6);
}
.pwa-text-center {
  text-align: center;
}
.pwa-text-right {
  text-align: right;
}
.pwa-text-sm {
  font-size: 0.875rem;
}
.pwa-text-xs {
  font-size: 0.75rem;
}
.pwa-text-gray-500 {
  color: var(--emx-gray-500);
}
.pwa-text-gray-700 {
  color: var(--emx-gray-700);
}
.pwa-text-indigo {
  color: var(--emx-indigo-600);
}
.pwa-flex {
  display: flex;
}
.pwa-items-center {
  align-items: center;
}
.pwa-justify-between {
  justify-content: space-between;
}
.pwa-gap-2 {
  gap: var(--emx-space-2);
}
.pwa-gap-4 {
  gap: var(--emx-space-4);
}

.pwa-accordion-content {
  transition: max-height 0.3s ease-out;
  overflow: hidden;
}
.pwa-accordion-item .pwa-accordion-icon {
  transition: transform 0.3s ease;
}
.pwa-accordion-item.pwa-accordion-active .pwa-accordion-icon {
  transform: rotate(180deg);
}
.pwa-tab-button span {
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}
.pwa-cart-item {
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}
.pwa-cart-item.animate-remove {
  animation: cartRemove 0.3s forwards;
}
.pwa-quantity-control button {
  transition: background-color 0.15s ease;
}
.pwa-quantity-value {
  transition: transform 0.15s ease;
}
.pwa-quantity-value.animate-change {
  animation: quantityChange 0.3s forwards;
}
.pwa-drawer.animate-open {
  transform: translateX(0);
}
.pwa-drawer.animate-close {
  transform: translateX(100%);
}

/* ========================================
   SECTION 11: COMPONENTS
======================================== */

.emx-toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
  pointer-events: none;
}
.emx-toast {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  padding: 1rem 1.5rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 300px;
  max-width: 500px;
  pointer-events: auto;
  animation: slideInRight 0.3s ease;
  transition: all 0.3s ease;
}
.emx-toast.emx-toast-success {
  border-right: 4px solid #10b981;
}
.emx-toast.emx-toast-error {
  border-right: 4px solid #ef4444;
}
.emx-toast.emx-toast-warning {
  border-right: 4px solid #f59e0b;
}
.emx-toast.emx-toast-info {
  border-right: 4px solid #3b82f6;
}
.emx-toast-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.emx-toast-content {
  flex: 1;
}
.emx-toast-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.emx-toast-message {
  font-size: 0.875rem;
  color: #6b7280;
}
.emx-toast-close {
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.2s;
}
.emx-toast-close:hover {
  color: #374151;
}
.emx-toast.emx-toast-exit {
  animation: slideOutRight 0.3s ease;
  opacity: 0;
}

.emx-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.emx-modal-overlay.emx-modal-active {
  opacity: 1;
  visibility: visible;
}
.emx-modal {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}
.emx-modal-overlay.emx-modal-active .emx-modal {
  transform: scale(1);
}
.emx-modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.emx-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
}
.emx-modal-close {
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.2s;
}
.emx-modal-close:hover {
  color: #111827;
}
.emx-modal-body {
  padding: 1.5rem;
}
.emx-modal-footer {
  padding: 1.5rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}
.emx-modal.emx-modal-sm {
  max-width: 400px;
}
.emx-modal.emx-modal-lg {
  max-width: 800px;
}
.emx-modal.emx-modal-xl {
  max-width: 1200px;
}
.emx-modal.emx-modal-full {
  max-width: 95vw;
}

.emx-dropdown {
  position: relative;
  display: inline-block;
}
.emx-dropdown-toggle {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
}
.emx-dropdown-toggle:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}
.emx-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 1000;
}
.emx-dropdown.emx-dropdown-open .emx-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.emx-dropdown-item {
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
  text-align: right;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  color: #374151;
  text-decoration: none;
}
.emx-dropdown-item:hover {
  background: #f3f4f6;
}
.emx-dropdown-item.emx-dropdown-item-active {
  background: #eef2ff;
  color: #4f46e5;
}
.emx-dropdown-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 0.25rem 0;
}

.emx-tabs {
  width: 100%;
}
.emx-tabs-nav {
  display: flex;
  border-bottom: 2px solid #e5e7eb;
  gap: 1rem;
  overflow-x: auto;
}
.emx-tab-button {
  background: none;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
}
.emx-tab-button:hover {
  color: #374151;
}
.emx-tab-button.emx-tab-active {
  color: #4f46e5;
}
.emx-tab-button.emx-tab-active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #4f46e5;
}
.emx-tabs-content {
  padding: 1.5rem 0;
}
.emx-tab-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}
.emx-tab-panel.emx-tab-panel-active {
  display: block;
}
.emx-tabs.emx-tabs-pills .emx-tabs-nav {
  border: none;
  background: #f3f4f6;
  padding: 0.25rem;
  border-radius: 0.75rem;
}
.emx-tabs.emx-tabs-pills .emx-tab-button {
  border-radius: 0.5rem;
}
.emx-tabs.emx-tabs-pills .emx-tab-button.emx-tab-active {
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.emx-tabs.emx-tabs-pills .emx-tab-button.emx-tab-active::after {
  display: none;
}

.emx-accordion {
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  overflow: hidden;
}
.emx-accordion-item {
  border-bottom: 1px solid #e5e7eb;
}
.emx-accordion-item:last-child {
  border-bottom: none;
}
.emx-accordion-header {
  width: 100%;
  padding: 1rem 1.5rem;
  background: white;
  border: none;
  text-align: right;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s;
}
.emx-accordion-header:hover {
  background: #f9fafb;
}
.emx-accordion-header.emx-accordion-active {
  background: #eef2ff;
  color: #4f46e5;
}
.emx-accordion-icon {
  transition: transform 0.3s ease;
}
.emx-accordion-header.emx-accordion-active .emx-accordion-icon {
  transform: rotate(180deg);
}
.emx-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
}
.emx-accordion-content.emx-accordion-open {
  max-height: 500px;
  padding: 1rem 1.5rem;
}
.emx-accordion-body {
  color: #4b5563;
  line-height: 1.6;
}

.emx-progress {
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}
.emx-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #4f46e5, #7c3aed);
  border-radius: 9999px;
  transition: width 0.5s ease;
  position: relative;
  overflow: hidden;
}
.emx-progress-bar.emx-progress-animated::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmer 2s infinite;
}
.emx-progress.emx-progress-sm {
  height: 4px;
}
.emx-progress.emx-progress-lg {
  height: 12px;
}
.emx-progress.emx-progress-xl {
  height: 20px;
}
.emx-progress-bar.emx-progress-success {
  background: #10b981;
}
.emx-progress-bar.emx-progress-warning {
  background: #f59e0b;
}
.emx-progress-bar.emx-progress-danger {
  background: #ef4444;
}
.emx-progress-bar.emx-progress-info {
  background: #3b82f6;
}
.emx-progress-wrapper {
  position: relative;
}
.emx-progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}
.emx-progress-title {
  font-weight: 600;
  color: #374151;
}
.emx-progress-value {
  color: #6b7280;
}

.emx-skeleton {
  background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 0.25rem;
}
.emx-skeleton-text {
  height: 1rem;
  margin-bottom: 0.5rem;
}
.emx-skeleton-title {
  height: 1.5rem;
  width: 50%;
  margin-bottom: 1rem;
}
.emx-skeleton-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}
.emx-skeleton-image {
  width: 100%;
  height: 200px;
  border-radius: 0.5rem;
}
.emx-skeleton-button {
  width: 120px;
  height: 40px;
  border-radius: 0.5rem;
}
.emx-skeleton-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.5rem;
}
.emx-skeleton-card .emx-skeleton-image {
  margin-bottom: 1rem;
}

.emx-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem 0;
}
.emx-breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.emx-breadcrumb-link {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.875rem;
}
.emx-breadcrumb-link:hover {
  color: #4f46e5;
}
.emx-breadcrumb-separator {
  color: #9ca3af;
  font-size: 0.875rem;
}
.emx-breadcrumb-current {
  color: #111827;
  font-weight: 500;
  font-size: 0.875rem;
}
.emx-breadcrumb.emx-breadcrumb-bg {
  background: #f3f4f6;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
}
.emx-breadcrumb-icon {
  width: 16px;
  height: 16px;
  color: #9ca3af;
}

.emx-pagination {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.emx-pagination-item {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1px solid #e5e7eb;
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
}
.emx-pagination-item:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}
.emx-pagination-item.emx-pagination-active {
  background: #4f46e5;
  border-color: #4f46e5;
  color: white;
}
.emx-pagination-item.emx-pagination-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.emx-pagination-prev,
.emx-pagination-next {
  padding: 0 1rem;
}
.emx-pagination-dots {
  padding: 0 0.5rem;
  cursor: default;
}
.emx-pagination.emx-pagination-rounded .emx-pagination-item {
  border-radius: 0.5rem;
}
.emx-pagination.emx-pagination-circle .emx-pagination-item {
  border-radius: 50%;
}
.emx-pagination.emx-pagination-sm .emx-pagination-item {
  min-width: 32px;
  height: 32px;
  font-size: 0.875rem;
}
.emx-pagination.emx-pagination-lg .emx-pagination-item {
  min-width: 48px;
  height: 48px;
  font-size: 1.125rem;
}
.emx-pagination-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.emx-pagination-info {
  color: #6b7280;
  font-size: 0.875rem;
}

/* ========================================
   SECTION 12: ANIMATIONS
======================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}
@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
@keyframes movePattern {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(60px, 60px);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}
@keyframes float1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(50px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-30px, 40px) scale(0.9);
  }
}
@keyframes float2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-60px, -50px) scale(1.15);
  }
}
@keyframes pulseSoft {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}
@keyframes blob {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}
@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes gradient {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
@keyframes pwaFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pwaFadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(10px);
  }
}
@keyframes cartRemove {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  30% {
    transform: translateX(-10px);
  }
  100% {
    opacity: 0;
    transform: translateX(30px);
    max-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
  }
}
@keyframes quantityChange {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes gradientWave {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
@keyframes radialPulse {
  0%,
  100% {
    background-position: 50% 50%;
    background-size: 100% 100%;
  }
  50% {
    background-position: 50% 50%;
    background-size: 150% 150%;
  }
}
@keyframes rotate360 {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes blobMorph {
  0%,
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  25% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  50% {
    border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%;
  }
  75% {
    border-radius: 60% 40% 60% 30% / 70% 30% 50% 60%;
  }
}
@keyframes aurora {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(-10%, 10%) rotate(90deg);
  }
  50% {
    transform: translate(10%, -10%) rotate(180deg);
  }
  75% {
    transform: translate(-10%, -10%) rotate(270deg);
  }
}
@keyframes float3d {
  0%,
  100% {
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg) translateY(0px);
  }
  25% {
    transform: perspective(1000px) rotateX(5deg) rotateY(5deg) translateY(-10px);
  }
  50% {
    transform: perspective(1000px) rotateX(-5deg) rotateY(5deg)
      translateY(-20px);
  }
  75% {
    transform: perspective(1000px) rotateX(5deg) rotateY(-5deg)
      translateY(-10px);
  }
}
@keyframes morphing {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

.emx-float {
  animation: float 6s ease-in-out infinite;
}
.emx-float-slow {
  animation: float 10s ease-in-out infinite;
}
.emx-float-fast {
  animation: float 4s ease-in-out infinite;
}
.emx-pulse-soft {
  animation: pulseSoft 3s ease-in-out infinite;
}
.animate-blob {
  animation: blob 7s infinite;
}
.animation-delay-1000 {
  animation-delay: 1s;
}
.animation-delay-2000 {
  animation-delay: 2s;
}
.animation-delay-4000 {
  animation-delay: 4s;
}
.animate-spin-slow {
  animation: spin-slow 20s linear infinite;
}
.animate-gradient {
  background-size: 200% auto;
  animation: gradient 3s ease infinite;
}
.animate-fade-in {
  animation: pwaFadeIn 0.5s ease-out forwards;
}
.animate-fade-out {
  animation: pwaFadeOut 0.3s ease-out forwards;
}

/* ========================================
   SECTION 13: ADVANCED BACKGROUNDS
======================================== */

.emx-mesh-gradient-1 {
  background:
    radial-gradient(at 40% 20%, hsla(280, 100%, 74%, 1) 0px, transparent 50%),
    radial-gradient(at 80% 0%, hsla(189, 100%, 56%, 1) 0px, transparent 50%),
    radial-gradient(at 0% 50%, hsla(355, 100%, 93%, 1) 0px, transparent 50%),
    radial-gradient(at 80% 50%, hsla(340, 100%, 76%, 1) 0px, transparent 50%),
    radial-gradient(at 0% 100%, hsla(22, 100%, 77%, 1) 0px, transparent 50%),
    radial-gradient(at 80% 100%, hsla(242, 100%, 70%, 1) 0px, transparent 50%),
    radial-gradient(at 0% 0%, hsla(343, 100%, 76%, 1) 0px, transparent 50%);
  background-size: cover;
  background-position: center;
}
.emx-mesh-gradient-2 {
  background:
    radial-gradient(
      circle at 20% 80%,
      rgba(120, 119, 198, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 119, 198, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(120, 219, 255, 0.2) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(120, 255, 119, 0.2) 0%,
      transparent 50%
    );
  background-color: #f5f5f5;
}
.emx-mesh-gradient-3 {
  background-color: #4158d0;
  background-image:
    linear-gradient(43deg, #4158d0 0%, #c850c0 46%, #ffcc70 100%),
    radial-gradient(
      circle at 30% 30%,
      rgba(255, 255, 255, 0.2) 0%,
      transparent 70%
    );
  background-blend-mode: normal, overlay;
}
.emx-mesh-complex {
  background:
    conic-gradient(
      at 50% 50%,
      #ff6b6b 0deg,
      #4ecdc4 120deg,
      #45b7d1 240deg,
      #ff6b6b 360deg
    ),
    radial-gradient(
      circle at 25% 25%,
      rgba(255, 255, 255, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(circle at 75% 75%, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
  filter: blur(40px);
  opacity: 0.7;
}

.emx-animated-gradient-1 {
  background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}
.emx-animated-gradient-2 {
  background: linear-gradient(270deg, #a8edea, #fed6e3, #c3cfe2, #ffeaa7);
  background-size: 800% 800%;
  animation: gradientShift 20s ease infinite;
}
.emx-animated-gradient-3 {
  background: linear-gradient(
    45deg,
    #667eea 0%,
    #764ba2 25%,
    #f093fb 50%,
    #fda085 75%,
    #667eea 100%
  );
  background-size: 300% 300%;
  animation: gradientWave 10s ease-in-out infinite;
}
.emx-animated-radial {
  background: radial-gradient(circle at center, #667eea, #764ba2, #f093fb);
  background-size: 200% 200%;
  animation: radialPulse 8s ease-in-out infinite;
}
.emx-animated-conic {
  background: conic-gradient(
    from 0deg at 50% 50%,
    #ff6b6b,
    #feca57,
    #48dbfb,
    #ff9ff3,
    #ff6b6b
  );
  animation: rotate360 10s linear infinite;
}

.emx-pattern-dots {
  background-image: radial-gradient(circle, #000 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.05;
}
.emx-pattern-grid {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.emx-pattern-diagonal {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(0, 0, 0, 0.03) 10px,
    rgba(0, 0, 0, 0.03) 20px
  );
}

.emx-glass-gradient {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.emx-glass-colored {
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.1) 0%,
    rgba(147, 51, 234, 0.1) 100%
  );
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.emx-aurora {
  position: relative;
  overflow: hidden;
}
.emx-aurora::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    #00f260,
    #0575e6,
    #e94057,
    #f27121,
    #00f260,
    #0575e6,
    #e94057,
    #f27121
  );
  background-size: 400% 400%;
  animation: aurora 20s ease infinite;
  opacity: 0.3;
  filter: blur(100px);
}

.emx-blob {
  position: absolute;
  pointer-events: none;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}
.emx-blob-pink {
  background: linear-gradient(
    135deg,
    rgba(236, 72, 153, 0.6) 0%,
    rgba(244, 114, 182, 0.4) 100%
  );
}
.emx-blob-pink-light {
  background: linear-gradient(
    135deg,
    rgba(236, 72, 153, 0.3) 0%,
    rgba(244, 114, 182, 0.2) 100%
  );
}
.emx-blob-pink-solid {
  background: #ec4899;
  opacity: 0.5;
}
.emx-blob-indigo {
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.6) 0%,
    rgba(129, 140, 248, 0.4) 100%
  );
}
.emx-blob-indigo-light {
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.3) 0%,
    rgba(129, 140, 248, 0.2) 100%
  );
}
.emx-blob-purple {
  background: linear-gradient(
    135deg,
    rgba(147, 51, 234, 0.6) 0%,
    rgba(168, 85, 247, 0.4) 100%
  );
}
.emx-blob-purple-light {
  background: linear-gradient(
    135deg,
    rgba(147, 51, 234, 0.3) 0%,
    rgba(168, 85, 247, 0.2) 100%
  );
}
.emx-blob-green {
  background: linear-gradient(
    135deg,
    rgba(34, 197, 94, 0.6) 0%,
    rgba(74, 222, 128, 0.4) 100%
  );
}
.emx-blob-amber {
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.6) 0%,
    rgba(251, 191, 36, 0.4) 100%
  );
}
.emx-blob-cyan {
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.6) 0%,
    rgba(34, 211, 238, 0.4) 100%
  );
}
.emx-blob-sm {
  width: 150px;
  height: 150px;
}
.emx-blob-md {
  width: 250px;
  height: 250px;
}
.emx-blob-lg {
  width: 350px;
  height: 350px;
}
.emx-blob-xl {
  width: 450px;
  height: 450px;
}
.emx-blob-top-right {
  top: -50px;
  right: -50px;
}
.emx-blob-top-left {
  top: -50px;
  left: -50px;
}
.emx-blob-bottom-right {
  bottom: -50px;
  right: -50px;
}
.emx-blob-bottom-left {
  bottom: -50px;
  left: -50px;
}
.emx-blob-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.emx-blob-blur-sm {
  filter: blur(40px);
}
.emx-blob-blur-md {
  filter: blur(60px);
}
.emx-blob-blur-lg {
  filter: blur(80px);
}
.emx-blob-blur-xl {
  filter: blur(100px);
}
.emx-blob-animated {
  animation: blobMorph 8s ease-in-out infinite;
}

.emx-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.emx-circle-pink {
  background-color: #ec4899;
}
.emx-circle-indigo {
  background-color: #6366f1;
}
.emx-circle-purple {
  background-color: #9333ea;
}
.emx-circle-gray {
  background-color: #9ca3af;
}
.emx-circle-xs {
  width: 8px;
  height: 8px;
}
.emx-circle-sm {
  width: 12px;
  height: 12px;
}
.emx-circle-md {
  width: 16px;
  height: 16px;
}
.emx-circle-lg {
  width: 24px;
  height: 24px;
}
.emx-circle-50 {
  opacity: 0.5;
}
.emx-circle-60 {
  opacity: 0.6;
}
.emx-circle-70 {
  opacity: 0.7;
}

.emx-bg-gradient-pink {
  background: linear-gradient(
    135deg,
    rgba(236, 72, 153, 0.1) 0%,
    rgba(244, 114, 182, 0.05) 100%
  );
}
.emx-bg-gradient-indigo {
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.1) 0%,
    rgba(129, 140, 248, 0.05) 100%
  );
}
.emx-bg-gradient-purple {
  background: linear-gradient(
    135deg,
    rgba(147, 51, 234, 0.1) 0%,
    rgba(168, 85, 247, 0.05) 100%
  );
}
.emx-bg-gradient-mixed {
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.1) 0%,
    rgba(147, 51, 234, 0.08) 50%,
    rgba(236, 72, 153, 0.05) 100%
  );
}

.emx-wave-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.emx-wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.emx-noise {
  position: relative;
}
.emx-noise::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}

.emx-spotlight {
  position: relative;
  overflow: hidden;
}
.emx-spotlight::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.emx-gradient-border {
  position: relative;
  background: white;
  border-radius: 16px;
}
.emx-gradient-border::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #6366f1, #9333ea, #ec4899);
  border-radius: 18px;
  z-index: -1;
}

.emx-section-blob-pink {
  position: relative;
  overflow: hidden;
}
.emx-section-blob-pink::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: linear-gradient(
    135deg,
    rgba(236, 72, 153, 0.5) 0%,
    rgba(244, 114, 182, 0.3) 100%
  );
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  pointer-events: none;
  z-index: 0;
}

.emx-section-blob-indigo {
  position: relative;
  overflow: hidden;
}
.emx-section-blob-indigo::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.5) 0%,
    rgba(129, 140, 248, 0.3) 100%
  );
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  pointer-events: none;
  z-index: 0;
}

.emx-section-multi-blob {
  position: relative;
  overflow: hidden;
}
.emx-section-multi-blob::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 350px;
  height: 350px;
  background: linear-gradient(
    135deg,
    rgba(236, 72, 153, 0.4) 0%,
    rgba(244, 114, 182, 0.2) 100%
  );
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  pointer-events: none;
  z-index: 0;
}
.emx-section-multi-blob::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 250px;
  height: 250px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.3) 0%,
    rgba(129, 140, 248, 0.15) 100%
  );
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  pointer-events: none;
  z-index: 0;
}

/* ========================================
   SECTION 14: NEUMORPHISM & 3D
======================================== */

.emx-neumorphic {
  background: #e0e5ec;
  border-radius: 20px;
  box-shadow:
    9px 9px 16px #a3b1c6,
    -9px -9px 16px #ffffff;
}
.emx-neumorphic-card {
  background: linear-gradient(145deg, #e6e9f0, #c1c6d0);
  box-shadow:
    20px 20px 60px #a8adb8,
    -20px -20px 60px #ffffff;
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
}
.emx-neumorphic-card:hover {
  box-shadow:
    10px 10px 30px #a8adb8,
    -10px -10px 30px #ffffff;
}
.emx-neumorphic-btn {
  background: linear-gradient(145deg, #e6e9f0, #c1c6d0);
  box-shadow:
    5px 5px 10px #a8adb8,
    -5px -5px 10px #ffffff;
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.emx-neumorphic-btn:active {
  box-shadow:
    inset 5px 5px 10px #a8adb8,
    inset -5px -5px 10px #ffffff;
}
.emx-neumorphic-input {
  background: #e0e5ec;
  box-shadow:
    inset 6px 6px 12px #a3b1c6,
    inset -6px -6px 12px #ffffff;
  border: none;
  border-radius: 12px;
  padding: 12px 20px;
  outline: none;
  transition: all 0.3s ease;
}
.emx-neumorphic-input:focus {
  box-shadow:
    inset 8px 8px 16px #a3b1c6,
    inset -8px -8px 16px #ffffff;
}
.emx-neumorphic-toggle {
  position: relative;
  width: 60px;
  height: 30px;
  background: #e0e5ec;
  border-radius: 15px;
  box-shadow:
    inset 4px 4px 8px #a3b1c6,
    inset -4px -4px 8px #ffffff;
  cursor: pointer;
}
.emx-neumorphic-toggle::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  background: linear-gradient(145deg, #e6e9f0, #c1c6d0);
  box-shadow:
    3px 3px 6px #a3b1c6,
    -3px -3px 6px #ffffff;
  transition: transform 0.3s ease;
}
.emx-neumorphic-toggle.active::after {
  transform: translateX(30px);
}

.emx-3d-card-container {
  perspective: 1000px;
}
.emx-3d-card {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s;
  cursor: pointer;
}
.emx-3d-card:hover {
  transform: rotateY(180deg);
}
.emx-3d-card-front,
.emx-3d-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 16px;
}
.emx-3d-card-front {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}
.emx-3d-card-back {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  transform: rotateY(180deg);
}
.emx-3d-tilt {
  transform-style: preserve-3d;
  transform: perspective(1000px);
  transition: transform 0.3s ease;
}
.emx-3d-tilt:hover {
  transform: perspective(1000px) rotateX(-10deg) rotateY(10deg) scale(1.05);
}
.emx-3d-tilt-inner {
  transform: translateZ(50px);
  transition: transform 0.3s ease;
}
.emx-3d-float {
  transform-style: preserve-3d;
  animation: float3d 6s ease-in-out infinite;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.25),
    0 0 100px -20px rgba(99, 102, 241, 0.3);
}
.emx-3d-parallax {
  position: relative;
  transform-style: preserve-3d;
  overflow: visible;
}
.emx-3d-parallax-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.emx-3d-parallax-layer-1 {
  transform: translateZ(0px);
}
.emx-3d-parallax-layer-2 {
  transform: translateZ(20px);
}
.emx-3d-parallax-layer-3 {
  transform: translateZ(40px);
}
.emx-3d-book {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(-25deg);
  transition: transform 0.5s ease;
}
.emx-3d-book:hover {
  transform: rotateY(0deg);
}
.emx-3d-book::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 100%;
  background: linear-gradient(90deg, #ddd 0%, #eee 10%, #ddd 20%);
  transform: rotateY(90deg) translateZ(-20px);
}

.emx-blur-overlay {
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  background-color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(209, 213, 219, 0.3);
}
.emx-blur-heavy {
  backdrop-filter: blur(20px) brightness(1.1);
  -webkit-backdrop-filter: blur(20px) brightness(1.1);
}
.emx-blur-color {
  backdrop-filter: blur(16px) saturate(180%) hue-rotate(20deg);
  -webkit-backdrop-filter: blur(16px) saturate(180%) hue-rotate(20deg);
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.1) 0%,
    rgba(147, 51, 234, 0.1) 100%
  );
}
.emx-frosted-glass {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px) brightness(1.2);
  -webkit-backdrop-filter: blur(10px) brightness(1.2);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 8px 32px 0 rgba(31, 38, 135, 0.37),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.emx-acrylic {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px) saturate(100%) contrast(0.8);
  -webkit-backdrop-filter: blur(10px) saturate(100%) contrast(0.8);
  position: relative;
}
.emx-morph-shape {
  animation: morphing 8s ease-in-out infinite;
  background: linear-gradient(45deg, #667eea, #764ba2);
}
.emx-blob-shape {
  animation: blob 7s ease-in-out infinite;
  background: linear-gradient(135deg, #667eea, #764ba2);
}

/* ========================================
   SECTION 15: SWIPER INTEGRATION
======================================== */

.swiper {
  direction: ltr !important;
}
.swiper-slide {
  direction: rtl;
}
.swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background: var(--emx-gray-400);
  opacity: 0.5;
}
.swiper-pagination-bullet-active {
  background: var(--emx-indigo-600);
  opacity: 1;
}
.swiper-pagination {
  --swiper-pagination-bullet-horizontal-gap: 6px;
  padding: 10px 0;
}
.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: 0px;
}
.swiper-button-next,
.swiper-button-prev {
  --swiper-navigation-size: 20px;
  --swiper-navigation-color: var(--emx-gray-800);
  background-color: rgba(255, 255, 255, 0.7);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  backdrop-filter: blur(2px);
}
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 12px;
  font-weight: bold;
}
html[dir="rtl"] .swiper-button-next {
  right: auto;
  left: 10px;
}
html[dir="rtl"] .swiper-button-prev {
  left: auto;
  right: 10px;
}
.pwa-cards-carousel .swiper {
  padding: 0 4px;
}
.pwa-cards-carousel .swiper-slide {
  width: auto;
  height: auto;
}
.swiper .swiper-button-next,
.swiper .swiper-button-prev {
  z-index: 10;
}

.emx-swiper {
  width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
  z-index: 1;
}
.emx-swiper-slide {
  width: auto;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 767px) {
  .emx-swiper-pagination {
    bottom: 8px !important;
  }
  .emx-swiper-button-prev,
  .emx-swiper-button-next {
    width: 30px !important;
    height: 30px !important;
  }
}
@media (min-width: 768px) {
  .emx-swiper-pagination {
    bottom: 16px !important;
  }
  .emx-swiper-button-prev,
  .emx-swiper-button-next {
    width: 40px !important;
    height: 40px !important;
  }
}
.emx-swiper-button-prev,
.emx-swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--emx-white);
  border-radius: 50%;
  color: var(--emx-gray-800);
  box-shadow: var(--emx-shadow-md);
  cursor: pointer;
}
.emx-swiper-button-prev {
  left: 10px;
}
.emx-swiper-button-next {
  right: 10px;
}
.emx-swiper-button-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.emx-swiper-pagination {
  position: absolute;
  text-align: center;
  transition: 300ms opacity;
  transform: translate3d(0, 0, 0);
  z-index: 10;
}
.emx-swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 50%;
  background: var(--emx-gray-400);
  opacity: 0.5;
  margin: 0 4px;
}
.emx-swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--emx-indigo-600);
}

/* ========================================
   SECTION 16: LUCIDE ICONS
======================================== */

.lucide-icon {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  vertical-align: middle;
}
.lucide-icon.w-4 {
  width: 1rem;
  height: 1rem;
}
.lucide-icon.h-4 {
  height: 1rem;
}
.lucide-icon.w-5 {
  width: 1.25rem;
  height: 1.25rem;
}
.lucide-icon.h-5 {
  height: 1.25rem;
}
.lucide-icon.w-6 {
  width: 1.5rem;
  height: 1.5rem;
}
.lucide-icon.h-6 {
  height: 1.5rem;
}
.lucide-icon.w-8 {
  width: 2rem;
  height: 2rem;
}
.lucide-icon.h-8 {
  height: 2rem;
}
.pwa-nav__item .lucide-icon {
  color: var(--emx-gray-500);
  transition: color var(--emx-transition-base);
}
.pwa-nav__item--active .lucide-icon {
  color: var(--emx-indigo-600);
}

/* ========================================
   SECTION 17: MATH TEACHER STYLES
======================================== */

.math-orange {
  background: linear-gradient(135deg, #f97316, #ea580c);
}
.math-red {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}
.math-yellow {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}
.product-card {
  transition: all 0.3s ease;
}
.product-card:hover {
  transform: translateY(-8px);
}
.price-badge {
  animation: pulse 2s infinite;
}
.shipping-free {
  position: relative;
  overflow: hidden;
}
.shipping-free::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.5s;
}
.shipping-free:hover::before {
  left: 100%;
}
.chapter-badge {
  font-size: 3rem;
  font-weight: 900;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}
.icon-math-orange {
  background: linear-gradient(135deg, #fed7aa, #fdba74);
}
.icon-math-blue {
  background: linear-gradient(135deg, #bfdbfe, #93c5fd);
}
.icon-math-green {
  background: linear-gradient(135deg, #bbf7d0, #86efac);
}
.icon-math-purple {
  background: linear-gradient(135deg, #e9d5ff, #d8b4fe);
}

/* ========================================
   SECTION 18: LOADING STATES
======================================== */

.emx-loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* ========================================
   SECTION 19: DARK MODE
======================================== */

:root.dark {
  --emx-dark-bg: #111827;
  --emx-dark-surface: #1f2937;
  --emx-dark-surface-2: #374151;
  --emx-dark-border: #4b5563;
  --emx-dark-text: #f9fafb;
  --emx-dark-text-2: #e5e7eb;
  --emx-dark-text-3: #9ca3af;
  --emx-white: var(--emx-dark-surface);
  --emx-black: var(--emx-dark-text);
  --emx-gray-50: var(--emx-dark-surface-2);
  --emx-gray-100: var(--emx-dark-surface);
  --emx-gray-200: var(--emx-dark-border);
  --emx-gray-800: var(--emx-dark-text-2);
  --emx-gray-900: var(--emx-dark-text);
}

:root.dark body {
  background: var(--emx-dark-bg);
  color: var(--emx-dark-text);
}
:root.dark .pwa-header {
  background: var(--emx-dark-surface);
  border-bottom: 1px solid var(--emx-dark-border);
}
:root.dark .pwa-header__back,
:root.dark .pwa-header__action {
  color: var(--emx-dark-text-2);
}
:root.dark .pwa-header__back:active,
:root.dark .pwa-header__action:active {
  background: var(--emx-dark-surface-2);
}
:root.dark .pwa-nav {
  background: var(--emx-dark-surface);
  border-top: 1px solid var(--emx-dark-border);
}
:root.dark .pwa-nav__item {
  color: var(--emx-dark-text-3);
}
:root.dark .pwa-card {
  background: var(--emx-dark-surface);
  border-color: var(--emx-dark-border);
}
:root.dark .pwa-card__header {
  border-color: var(--emx-dark-border);
}
:root.dark .pwa-card__footer {
  border-color: var(--emx-dark-border);
}
:root.dark .pwa-input {
  background: var(--emx-dark-surface-2);
  border-color: var(--emx-dark-border);
  color: var(--emx-dark-text);
}
:root.dark .pwa-button--outline {
  border-color: var(--emx-indigo-500);
  color: var(--emx-indigo-500);
}
:root.dark .pwa-button--outline:active {
  background: rgba(99, 102, 241, 0.2);
}
:root.dark .pwa-drawer {
  background: var(--emx-dark-surface);
}
:root.dark .pwa-drawer__header {
  border-color: var(--emx-dark-border);
}
:root.dark .pwa-drawer__divider {
  background: var(--emx-dark-border);
}
:root.dark .pwa-drawer__item {
  color: var(--emx-dark-text-2);
}
:root.dark .pwa-drawer__item:active {
  background: var(--emx-dark-surface-2);
}
:root.dark .pwa-drawer__social-link {
  background: var(--emx-dark-surface-2);
  color: var(--emx-dark-text-2);
}
:root.dark .pwa-drawer__email {
  color: var(--emx-dark-text-3);
}
:root.dark .pwa-course-card {
  background: var(--emx-dark-surface);
  border-color: var(--emx-dark-border);
}
:root.dark .pwa-course-card__title {
  color: var(--emx-dark-text);
}
:root.dark .pwa-course-card__subtitle {
  color: var(--emx-dark-text-3);
}
:root.dark .pwa-text-gray-500 {
  color: var(--emx-dark-text-3);
}
:root.dark .pwa-text-gray-700 {
  color: var(--emx-dark-text-2);
}
:root.dark .pwa-nav__item .lucide-icon {
  color: var(--emx-dark-text-3);
}
:root.dark .pwa-nav__item--active .lucide-icon {
  color: var(--emx-indigo-500);
}
:root.dark .swiper-pagination-bullet {
  background: var(--emx-gray-500);
}
:root.dark .swiper-pagination-bullet-active {
  background: var(--emx-indigo-500);
}
:root.dark .swiper-button-next,
:root.dark .swiper-button-prev {
  --swiper-navigation-color: var(--emx-white);
  background-color: rgba(31, 41, 55, 0.7);
}

/* Master Dark Mode */
body.dark {
  background-color: #0f172a !important;
  color: #e2e8f0 !important;
}
.dark .bg-white {
  background-color: #1e293b !important;
}
.dark .bg-gray-50 {
  background-color: #1e293b !important;
}
.dark .bg-gray-100 {
  background-color: #334155 !important;
}
.dark .bg-gray-200 {
  background-color: #475569 !important;
}
.dark .bg-gray-300 {
  background-color: #64748b !important;
}
.dark .bg-gray-900 {
  background-color: #020617 !important;
}
.dark .bg-slate-50 {
  background-color: #1e293b !important;
}
.dark .bg-slate-100 {
  background-color: #334155 !important;
}
.dark .bg-indigo-50 {
  background-color: #1e1b4b !important;
}
.dark .bg-indigo-100 {
  background-color: #312e81 !important;
}
.dark .bg-purple-50 {
  background-color: #2e1065 !important;
}
.dark .text-gray-900 {
  color: #f1f5f9 !important;
}
.dark .text-gray-800 {
  color: #e2e8f0 !important;
}
.dark .text-gray-700 {
  color: #cbd5e1 !important;
}
.dark .text-gray-600 {
  color: #94a3b8 !important;
}
.dark .text-gray-500 {
  color: #64748b !important;
}
.dark .text-gray-400 {
  color: #475569 !important;
}
.dark .text-black {
  color: #f1f5f9 !important;
}
.dark .text-indigo-600 {
  color: #818cf8 !important;
}
.dark .text-indigo-500 {
  color: #a5b4fc !important;
}
.dark .text-purple-600 {
  color: #c084fc !important;
}
.dark .text-purple-500 {
  color: #d8b4fe !important;
}
.dark .border-gray-200 {
  border-color: #334155 !important;
}
.dark .border-gray-300 {
  border-color: #475569 !important;
}
.dark .border-gray-400 {
  border-color: #64748b !important;
}
.dark .border-indigo-600 {
  border-color: #818cf8 !important;
}
.dark .border-white {
  border-color: #334155 !important;
}
.dark .divide-gray-200 > :not([hidden]) ~ :not([hidden]) {
  border-color: #334155 !important;
}
.dark .emx-card {
  background: #1e293b !important;
  border-color: #334155 !important;
}
.dark .emx-card-hover:hover {
  box-shadow: 0 12px 24px -8px rgba(129, 140, 248, 0.25) !important;
}
.dark .emx-header-glass-v1 {
  background: rgba(15, 23, 42, 0.8) !important;
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}
.dark .emx-header-glass-v1.scrolled {
  background: rgba(15, 23, 42, 0.95) !important;
}
.dark .emx-header-minimal-v1 {
  background: rgba(15, 23, 42, 0.8) !important;
  border-bottom-color: #334155 !important;
}
.dark .emx-nav-link {
  color: #94a3b8 !important;
}
.dark .emx-nav-link:hover,
.dark .emx-nav-link.active {
  color: #f1f5f9 !important;
}
.dark .emx-nav-link::after {
  background: #818cf8 !important;
}
.dark .emx-footer-minimal-v1 {
  background: #020617 !important;
}
.dark .shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.3) !important;
}
.dark .shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4) !important;
}
.dark .shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5) !important;
}
.dark .shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.6) !important;
}
.dark .shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7) !important;
}
.dark .bg-gradient-to-r {
  filter: brightness(1.1) !important;
}
.dark .hover\:bg-gray-50:hover {
  background-color: #334155 !important;
}
.dark .hover\:bg-gray-100:hover {
  background-color: #475569 !important;
}
.dark .hover\:bg-indigo-50:hover {
  background-color: #312e81 !important;
}
.dark .hover\:bg-indigo-100:hover {
  background-color: #3730a3 !important;
}
.dark .focus\:ring-indigo-500:focus {
  --tw-ring-color: #818cf8 !important;
}
.dark input,
.dark textarea,
.dark select {
  background-color: #1e293b !important;
  border-color: #334155 !important;
  color: #e2e8f0 !important;
}
.dark input::placeholder,
.dark textarea::placeholder {
  color: #64748b !important;
}
.dark input:focus,
.dark textarea:focus,
.dark select:focus {
  border-color: #818cf8 !important;
  background-color: #0f172a !important;
}
.dark code {
  background-color: #334155 !important;
  color: #a5b4fc !important;
}
.dark pre {
  background-color: #0f172a !important;
  border-color: #334155 !important;
}
.dark .emx-hero-light-v1 {
  background: linear-gradient(
    to bottom right,
    #1e293b,
    #0f172a,
    #1e1b4b
  ) !important;
}
.dark .emx-hero-3d-v2 {
  background: linear-gradient(
    135deg,
    #000000 0%,
    #0f172a 50%,
    #1e293b 100%
  ) !important;
}
.dark .emx-hero-glass-v1 {
  background: linear-gradient(
    135deg,
    #312e81 0%,
    #581c87 50%,
    #831843 100%
  ) !important;
}
.dark .emx-float-orb-1 {
  background: radial-gradient(
    circle,
    rgba(129, 140, 248, 0.2) 0%,
    transparent 70%
  ) !important;
}
.dark .emx-float-orb-2 {
  background: radial-gradient(
    circle,
    rgba(192, 132, 252, 0.2) 0%,
    transparent 70%
  ) !important;
}
.dark .emx-text-gray-900 {
  color: #f1f5f9 !important;
}
.dark .emx-text-gray-600 {
  color: #94a3b8 !important;
}
.dark .emx-text-indigo {
  color: #a5b4fc !important;
}
.dark .emx-bg-white {
  background-color: #1e293b !important;
}
.dark .emx-bg-gray-50 {
  background-color: #1e293b !important;
}
.dark .emx-gradient-indigo-purple {
  background: linear-gradient(135deg, #818cf8, #c084fc) !important;
}
.dark ::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
.dark ::-webkit-scrollbar-track {
  background: #1e293b;
}
.dark ::-webkit-scrollbar-thumb {
  background: #475569;
  border-radius: 6px;
}
.dark ::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}
.dark ::selection {
  background-color: #818cf8;
  color: #ffffff;
}
.dark ::-moz-selection {
  background-color: #818cf8;
  color: #ffffff;
}

/* EMX Dark Mode Class */
:root.emx-dark-mode,
.emx-dark-mode {
  --emx-background-color: #121212;
  --emx-surface-color: #1e1e1e;
  --emx-card-bg: #2a2a2a;
  --emx-card-hover-bg: #333333;
  --emx-text-primary: #ffffff;
  --emx-text-secondary: #b0b0b0;
  --emx-text-tertiary: #7a7a7a;
  --emx-border-color: #333333;
  --emx-divider-color: #2a2a2a;
  --emx-scrollbar-track: #1e1e1e;
  --emx-scrollbar-thumb: #4a4a4a;
  --emx-scrollbar-thumb-hover: #5a5a5a;
  --emx-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.5);
  --emx-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.6);
  --emx-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.7);
}

.emx-dark-mode .emx-card {
  background-color: var(--emx-card-bg);
  border-color: var(--emx-border-color);
}
.emx-dark-mode .emx-header {
  background-color: var(--emx-surface-color);
  border-bottom: 1px solid var(--emx-border-color);
}
.emx-dark-mode .emx-footer {
  background-color: var(--emx-surface-color);
  border-top: 1px solid var(--emx-border-color);
}
.emx-dark-mode .emx-drawer {
  background-color: var(--emx-surface-color);
}
.emx-dark-mode .emx-nav-item {
  color: var(--emx-text-secondary);
}
.emx-dark-mode .emx-nav-item:hover,
.emx-dark-mode .emx-nav-item.active {
  color: var(--emx-text-primary);
  background-color: rgba(255, 255, 255, 0.05);
}
.emx-dark-mode .emx-input,
.emx-dark-mode .emx-select,
.emx-dark-mode .emx-textarea {
  background-color: var(--emx-card-bg);
  border-color: var(--emx-border-color);
  color: var(--emx-text-primary);
}
.emx-dark-mode .emx-input:focus,
.emx-dark-mode .emx-select:focus,
.emx-dark-mode .emx-textarea:focus {
  border-color: var(--emx-primary-color);
}
.emx-dark-mode .emx-input::placeholder,
.emx-dark-mode .emx-textarea::placeholder {
  color: var(--emx-text-tertiary);
}
.emx-dark-mode .emx-table {
  border-color: var(--emx-border-color);
}
.emx-dark-mode .emx-table th,
.emx-dark-mode .emx-table td {
  border-color: var(--emx-border-color);
}
.emx-dark-mode .emx-table thead th {
  background-color: var(--emx-surface-color);
}
.emx-dark-mode .emx-table tbody tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.02);
}
.emx-dark-mode .emx-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.05);
}
.emx-dark-mode ::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.emx-dark-mode ::-webkit-scrollbar-track {
  background: var(--emx-scrollbar-track);
}
.emx-dark-mode ::-webkit-scrollbar-thumb {
  background: var(--emx-scrollbar-thumb);
  border-radius: 4px;
}
.emx-dark-mode ::-webkit-scrollbar-thumb:hover {
  background: var(--emx-scrollbar-thumb-hover);
}
.emx-dark-mode .emx-swiper-button-prev,
.emx-dark-mode .emx-swiper-button-next {
  background-color: var(--emx-surface-color);
  color: var(--emx-text-primary);
}
.emx-dark-mode .emx-swiper-pagination-bullet {
  background: var(--emx-text-secondary);
}
.emx-dark-mode .emx-swiper-pagination-bullet-active {
  background: var(--emx-primary-color);
}

/* ========================================
   SECTION 20: THEME COLORS
======================================== */

/* Blue Theme */
:root.theme-blue .text-indigo-600 {
  color: #0284c7 !important;
}
:root.theme-blue .text-indigo-500 {
  color: #0ea5e9 !important;
}
:root.theme-blue .text-purple-600 {
  color: #0891b2 !important;
}
:root.theme-blue .text-purple-500 {
  color: #06b6d4 !important;
}
:root.theme-blue .bg-indigo-50 {
  background-color: #e0f2fe !important;
}
:root.theme-blue .bg-indigo-100 {
  background-color: #bae6fd !important;
}
:root.theme-blue .bg-indigo-500 {
  background-color: #0ea5e9 !important;
}
:root.theme-blue .bg-indigo-600 {
  background-color: #0284c7 !important;
}
:root.theme-blue .border-indigo-600 {
  border-color: #0284c7 !important;
}
:root.theme-blue .emx-gradient-indigo-purple {
  background: linear-gradient(135deg, #0ea5e9, #06b6d4) !important;
}
:root.theme-blue .emx-nav-link::after {
  background: #0284c7 !important;
}
:root.theme-blue .emx-card-hover:hover {
  box-shadow: 0 12px 24px -8px rgba(14, 165, 233, 0.15) !important;
}
:root.theme-blue .emx-text-indigo {
  color: #0ea5e9 !important;
}
:root.theme-blue .emx-hero-glass-v1 {
  background: linear-gradient(
    135deg,
    #0284c7 0%,
    #0891b2 50%,
    #06b6d4 100%
  ) !important;
}
:root.theme-blue .emx-float-orb-1 {
  background: radial-gradient(
    circle,
    rgba(14, 165, 233, 0.3) 0%,
    transparent 70%
  ) !important;
}
:root.theme-blue .emx-float-orb-2 {
  background: radial-gradient(
    circle,
    rgba(6, 182, 212, 0.3) 0%,
    transparent 70%
  ) !important;
}
:root.theme-blue .swiper-pagination-bullet-active {
  background: var(--emx-primary-600);
}
:root.theme-blue .pwa-nav__item--active .lucide-icon {
  color: var(--emx-primary-600);
}

/* Green Theme */
:root.theme-green .text-indigo-600 {
  color: #059669 !important;
}
:root.theme-green .text-indigo-500 {
  color: #10b981 !important;
}
:root.theme-green .text-purple-600 {
  color: #0d9488 !important;
}
:root.theme-green .text-purple-500 {
  color: #14b8a6 !important;
}
:root.theme-green .bg-indigo-50 {
  background-color: #ecfdf5 !important;
}
:root.theme-green .bg-indigo-100 {
  background-color: #d1fae5 !important;
}
:root.theme-green .bg-indigo-500 {
  background-color: #10b981 !important;
}
:root.theme-green .bg-indigo-600 {
  background-color: #059669 !important;
}
:root.theme-green .border-indigo-600 {
  border-color: #059669 !important;
}
:root.theme-green .emx-gradient-indigo-purple {
  background: linear-gradient(135deg, #10b981, #14b8a6) !important;
}
:root.theme-green .emx-nav-link::after {
  background: #059669 !important;
}
:root.theme-green .emx-card-hover:hover {
  box-shadow: 0 12px 24px -8px rgba(16, 185, 129, 0.15) !important;
}
:root.theme-green .emx-text-indigo {
  color: #10b981 !important;
}
:root.theme-green .emx-hero-glass-v1 {
  background: linear-gradient(
    135deg,
    #059669 0%,
    #0d9488 50%,
    #14b8a6 100%
  ) !important;
}
:root.theme-green .emx-float-orb-1 {
  background: radial-gradient(
    circle,
    rgba(16, 185, 129, 0.3) 0%,
    transparent 70%
  ) !important;
}
:root.theme-green .emx-float-orb-2 {
  background: radial-gradient(
    circle,
    rgba(20, 184, 166, 0.3) 0%,
    transparent 70%
  ) !important;
}
:root.theme-green .swiper-pagination-bullet-active {
  background: var(--emx-primary-600);
}
:root.theme-green .pwa-nav__item--active .lucide-icon {
  color: var(--emx-primary-600);
}

/* Purple Theme */
:root.theme-purple .text-indigo-600 {
  color: #7c3aed !important;
}
:root.theme-purple .text-indigo-500 {
  color: #8b5cf6 !important;
}
:root.theme-purple .text-purple-600 {
  color: #9333ea !important;
}
:root.theme-purple .text-purple-500 {
  color: #a855f7 !important;
}
:root.theme-purple .bg-indigo-50 {
  background-color: #f5f3ff !important;
}
:root.theme-purple .bg-indigo-100 {
  background-color: #ede9fe !important;
}
:root.theme-purple .bg-indigo-500 {
  background-color: #8b5cf6 !important;
}
:root.theme-purple .bg-indigo-600 {
  background-color: #7c3aed !important;
}
:root.theme-purple .border-indigo-600 {
  border-color: #7c3aed !important;
}
:root.theme-purple .emx-gradient-indigo-purple {
  background: linear-gradient(135deg, #8b5cf6, #a855f7) !important;
}
:root.theme-purple .emx-nav-link::after {
  background: #7c3aed !important;
}
:root.theme-purple .emx-card-hover:hover {
  box-shadow: 0 12px 24px -8px rgba(139, 92, 246, 0.15) !important;
}
:root.theme-purple .emx-text-indigo {
  color: #8b5cf6 !important;
}
:root.theme-purple .emx-hero-glass-v1 {
  background: linear-gradient(
    135deg,
    #7c3aed 0%,
    #9333ea 50%,
    #a855f7 100%
  ) !important;
}
:root.theme-purple .emx-float-orb-1 {
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.3) 0%,
    transparent 70%
  ) !important;
}
:root.theme-purple .emx-float-orb-2 {
  background: radial-gradient(
    circle,
    rgba(168, 85, 247, 0.3) 0%,
    transparent 70%
  ) !important;
}
:root.theme-purple .swiper-pagination-bullet-active {
  background: var(--emx-primary-600);
}
:root.theme-purple .pwa-nav__item--active .lucide-icon {
  color: var(--emx-primary-600);
}

/* Orange Theme */
:root.theme-orange .text-indigo-600 {
  color: #ea580c !important;
}
:root.theme-orange .text-indigo-500 {
  color: #f97316 !important;
}
:root.theme-orange .text-purple-600 {
  color: #dc2626 !important;
}
:root.theme-orange .text-purple-500 {
  color: #ef4444 !important;
}
:root.theme-orange .bg-indigo-50 {
  background-color: #fff7ed !important;
}
:root.theme-orange .bg-indigo-100 {
  background-color: #fed7aa !important;
}
:root.theme-orange .bg-indigo-500 {
  background-color: #f97316 !important;
}
:root.theme-orange .bg-indigo-600 {
  background-color: #ea580c !important;
}
:root.theme-orange .border-indigo-600 {
  border-color: #ea580c !important;
}
:root.theme-orange .emx-gradient-indigo-purple {
  background: linear-gradient(135deg, #f97316, #ef4444) !important;
}
:root.theme-orange .emx-nav-link::after {
  background: #ea580c !important;
}
:root.theme-orange .emx-card-hover:hover {
  box-shadow: 0 12px 24px -8px rgba(249, 115, 22, 0.15) !important;
}
:root.theme-orange .emx-text-indigo {
  color: #f97316 !important;
}
:root.theme-orange .emx-hero-glass-v1 {
  background: linear-gradient(
    135deg,
    #ea580c 0%,
    #dc2626 50%,
    #ef4444 100%
  ) !important;
}
:root.theme-orange .emx-float-orb-1 {
  background: radial-gradient(
    circle,
    rgba(249, 115, 22, 0.3) 0%,
    transparent 70%
  ) !important;
}
:root.theme-orange .emx-float-orb-2 {
  background: radial-gradient(
    circle,
    rgba(239, 68, 68, 0.3) 0%,
    transparent 70%
  ) !important;
}
:root.theme-orange .swiper-pagination-bullet-active {
  background: var(--emx-primary-600);
}
:root.theme-orange .pwa-nav__item--active .lucide-icon {
  color: var(--emx-primary-600);
}

/* Red Theme */
:root.theme-red .text-indigo-600 {
  color: #dc2626 !important;
}
:root.theme-red .text-indigo-500 {
  color: #ef4444 !important;
}
:root.theme-red .text-purple-600 {
  color: #e11d48 !important;
}
:root.theme-red .text-purple-500 {
  color: #f43f5e !important;
}
:root.theme-red .bg-indigo-50 {
  background-color: #fef2f2 !important;
}
:root.theme-red .bg-indigo-100 {
  background-color: #fee2e2 !important;
}
:root.theme-red .bg-indigo-500 {
  background-color: #ef4444 !important;
}
:root.theme-red .bg-indigo-600 {
  background-color: #dc2626 !important;
}
:root.theme-red .border-indigo-600 {
  border-color: #dc2626 !important;
}
:root.theme-red .emx-gradient-indigo-purple {
  background: linear-gradient(135deg, #ef4444, #f43f5e) !important;
}
:root.theme-red .emx-nav-link::after {
  background: #dc2626 !important;
}
:root.theme-red .emx-card-hover:hover {
  box-shadow: 0 12px 24px -8px rgba(239, 68, 68, 0.15) !important;
}
:root.theme-red .emx-text-indigo {
  color: #ef4444 !important;
}
:root.theme-red .emx-hero-glass-v1 {
  background: linear-gradient(
    135deg,
    #dc2626 0%,
    #e11d48 50%,
    #f43f5e 100%
  ) !important;
}
:root.theme-red .emx-float-orb-1 {
  background: radial-gradient(
    circle,
    rgba(239, 68, 68, 0.3) 0%,
    transparent 70%
  ) !important;
}
:root.theme-red .emx-float-orb-2 {
  background: radial-gradient(
    circle,
    rgba(244, 63, 94, 0.3) 0%,
    transparent 70%
  ) !important;
}
:root.theme-red .swiper-pagination-bullet-active {
  background: var(--emx-primary-600);
}
:root.theme-red .pwa-nav__item--active .lucide-icon {
  color: var(--emx-primary-600);
}

/* ========================================
   SECTION 21: CSS VARIABLES FALLBACK
======================================== */

@supports not (--css: variables) {
  .emx-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
  }
  .emx-btn-primary {
    background: #4f46e5;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
  }
  .emx-header-glass-v1 {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #e5e7eb;
  }
}

.no-cssvar .emx-gradient-primary {
  background: #4f46e5;
  background: -webkit-linear-gradient(135deg, #4f46e5, #9333ea);
  background: linear-gradient(135deg, #4f46e5, #9333ea);
}

/* ========================================
   SECTION 22: HEADER E-COMMERCE STYLES
======================================== */

.emx-header-ecommerce-v1 {
  background: var(--emx-white);
  border-bottom: 1px solid var(--emx-gray-200);
}

.emx-header-ecommerce-v1__top {
  padding: 12px 0;
  border-bottom: 1px solid var(--emx-gray-100);
}

.emx-header-ecommerce-v1__bottom {
  padding: 10px 0;
}

.emx-header-ecommerce-v1__logo {
  font-size: 28px;
  font-weight: 900;
  color: #1a1a2e;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.emx-header-ecommerce-v1__logo span {
  color: #f97316;
}

.emx-header-ecommerce-v1__search {
  position: relative;
  flex: 1;
  max-width: 480px;
}

.emx-header-ecommerce-v1__search-input {
  width: 100%;
  padding: 10px 50px 10px 16px;
  border: 2px solid var(--emx-gray-200);
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--emx-font-family);
  background: var(--emx-white);
  transition: all var(--emx-transition-base);
  text-align: right;
}

.emx-header-ecommerce-v1__search-input:focus {
  outline: none;
  border-color: #f97316;
}

.emx-header-ecommerce-v1__search-input::placeholder {
  color: var(--emx-gray-400);
}

.emx-header-ecommerce-v1__search-btn {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 44px;
  background: #f97316;
  border: none;
  border-radius: 8px 0 0 8px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--emx-transition-base);
}

.emx-header-ecommerce-v1__search-btn:hover {
  background: #ea580c;
}

.emx-header-ecommerce-v1__icon-btn {
  width: 44px;
  height: 44px;
  border: 2px solid var(--emx-gray-200);
  border-radius: 8px;
  background: var(--emx-white);
  color: var(--emx-gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--emx-transition-base);
  position: relative;
}

.emx-header-ecommerce-v1__icon-btn:hover {
  border-color: #f97316;
  color: #f97316;
}

.emx-header-ecommerce-v1__icon-btn--badge::after {
  content: attr(data-badge);
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  background: #ef4444;
  color: white;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.emx-header-ecommerce-v1__login-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #f97316;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--emx-font-family);
  cursor: pointer;
  transition: all var(--emx-transition-base);
}

.emx-header-ecommerce-v1__login-btn:hover {
  background: #ea580c;
}

.emx-header-ecommerce-v1__category-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #f97316;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--emx-font-family);
  cursor: pointer;
  transition: all var(--emx-transition-base);
}

.emx-header-ecommerce-v1__category-btn:hover {
  background: #ea580c;
}

.emx-header-ecommerce-v1__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.emx-header-ecommerce-v1__nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  color: var(--emx-gray-700);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: all var(--emx-transition-base);
}

.emx-header-ecommerce-v1__nav-item:hover {
  background: var(--emx-gray-100);
  color: var(--emx-gray-900);
}

.emx-header-ecommerce-v1__nav-item svg {
  width: 18px;
  height: 18px;
  color: var(--emx-gray-500);
}

.emx-header-ecommerce-v1__affiliate-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #0d9488;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--emx-font-family);
  cursor: pointer;
  transition: all var(--emx-transition-base);
}

.emx-header-ecommerce-v1__affiliate-btn:hover {
  background: #0f766e;
}
