@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;700;800&display=swap');

/* Import Vazirmatn Persian Font from Google Fonts */
/* --- DESIGN SYSTEM TOKENS (Inspired by exo.ir-DESIGN.md) --- */
:root {
  /* Color Palette */
  --primary-dark: #212529;
  --primary-black: #000000;
  
  --accent-green: #0cb5ad;
  --accent-green-hover: #0dd9cf;
  --accent-green-active: #0a948e;
  
  --accent-cyan: #0DCAF0;
  --accent-blue: #0D6EFD;
  --danger-error: #DC3545;
  --warning-yellow: #FFC107;
  --success-green-bg: #eafbf9;

  /* Neutral Scale */
  --neutral-medium: #606060;
  --neutral-dark: #3C3C3C;
  --neutral-light: #F8F9FA;
  --neutral-border: #DEE2E6;
  --neutral-very-light: #E9ECEF;
  --pure-white: #FFFFFF;
  --off-white: #FDFDFD;
  --placeholder-gray: #9CA3AF;
  
  /* Fonts */
  --font-primary: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-secondary: 'Vazirmatn', 'Courier New', monospace; /* Used for inputs/latin numbers */

  /* Spacing Scale (4px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 40px;
  --space-7: 48px;

  /* Border Radii */
  --radius-sm: 3px;
  --radius-badge: 4px;
  --radius-dropdown: 5px 5px 0px 0px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-round: 50%;

  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Base resets */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
/* Premium Global Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(12, 181, 173, 0.3);
  border-radius: 20px;
  border: 2px solid transparent;
  background-clip: padding-box;
  transition: all 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-green) !important;
  border: 1px solid transparent;
  background-clip: padding-box;
}
/* Custom Text Selection Highlight */
*::selection {
  background-color: var(--accent-green) !important;
  color: #FFFFFF !important;
}
*::-moz-selection {
  background-color: var(--accent-green) !important;
  color: #FFFFFF !important;
}
body {
  font-family: var(--font-primary);
  background-color: var(--neutral-light);
  color: var(--primary-dark);
  direction: rtl;
  text-align: right;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* RTL Helpers */
.rtl-layout {
  direction: rtl;
  text-align: right;
}
/* Container */
.container {
  max-width: 1408px;
  margin: 0 auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}
@media (min-width: 768px) {
  .container {
    padding-left: var(--space-5);
    padding-right: var(--space-5);
  }
}
@media (min-width: 1024px) {
  .container {
    padding-left: var(--space-6);
    padding-right: var(--space-6);
  }
}
/* Typography Classes */
.display-hero {
  font-size: 32px;
  font-weight: 700;
  line-height: 38px;
  color: var(--primary-black);
}
.h1-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 33px;
  color: var(--primary-black);
}
.h2-section {
  font-size: 24px;
  font-weight: 600;
  line-height: 28px;
  color: var(--primary-dark);
}
.h3-subsection {
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
}
.h4-product-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--primary-dark);
}
.h5-label-strong {
  font-size: 16px;
  font-weight: 700;
  line-height: 19px;
}
.body-paragraph {
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;
  color: var(--primary-dark);
}
.body-small {
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  color: var(--neutral-medium);
}
.caption-label-small {
  font-size: 12px;
  font-weight: 700;
  line-height: 24px;
  color: var(--neutral-dark);
}
/* Depth & Elevation */
.shadow-flat {
  box-shadow: none;
}
.shadow-level-1 {
  box-shadow: rgba(0, 0, 0, 0.08) 0px 2px 8px;
}
.shadow-level-2 {
  box-shadow: rgba(0, 0, 0, 0.15) 0px 4px 12px;
}
.shadow-level-3 {
  box-shadow: rgba(0, 0, 0, 0.25) 0px 8px 16px;
}
.shadow-dropdown {
  box-shadow: rgb(204, 204, 204) 0px 0px 5px 0px;
}
.shadow-nav {
  box-shadow: rgba(0, 0, 0, 0.25) 0px 4px 4px 0px;
}
/* Button Stylings */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  min-height: 36px;
}
.btn-primary {
  background-color: var(--accent-green);
  color: var(--pure-white);
  border-color: var(--accent-green);
}
.btn-primary:hover {
  background-color: var(--accent-green-hover);
  border-color: var(--accent-green-hover);
}
.btn-primary:active {
  background-color: var(--accent-green-active);
  border-color: var(--accent-green-active);
}
.btn-primary:disabled {
  background-color: var(--neutral-medium);
  border-color: var(--neutral-medium);
  color: var(--pure-white);
  cursor: not-allowed;
}
.btn-secondary {
  background-color: transparent;
  color: var(--neutral-dark);
  border-color: var(--neutral-border);
}
.btn-secondary:hover {
  background-color: var(--neutral-light);
  border-color: #BCC2C8;
}
.btn-secondary:active {
  background-color: var(--neutral-very-light);
  border-color: #9CA3AF;
}
.btn-icon {
  background-color: transparent;
  color: var(--neutral-medium);
  border: none;
  padding: var(--space-1);
  border-radius: var(--radius-md);
  width: 32px;
  height: 32px;
  min-height: auto;
}
.btn-icon:hover {
  background-color: var(--neutral-light);
  color: var(--primary-dark);
}
.btn-icon:active {
  background-color: var(--neutral-very-light);
  color: var(--primary-black);
}
.btn-small {
  font-size: 14px;
  padding: 4px 8px;
  min-height: 28px;
}
/* Inputs & Forms */
.form-group {
  margin-bottom: var(--space-4);
  display: flex;
  flex-direction: column;
}
.form-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--neutral-dark);
  margin-bottom: var(--space-1);
  line-height: 24px;
}
.form-input {
  background-color: var(--pure-white);
  color: var(--primary-dark);
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 400;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-border);
  min-height: 36px;
  line-height: 24px;
  outline: none;
  transition: all var(--transition-fast);
}
.form-input::placeholder {
  color: var(--placeholder-gray);
}
.form-input:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25);
}
.form-input.error {
  border-color: var(--danger-error);
  color: var(--danger-error);
}
.form-input:disabled {
  background-color: var(--neutral-very-light);
  border-color: var(--neutral-border);
  color: var(--neutral-medium);
  cursor: not-allowed;
}
.form-checkbox {
  width: 16px;
  height: 16px;
  border: 1px solid var(--neutral-border);
  border-radius: 3px;
  cursor: pointer;
  accent-color: var(--accent-green);
}
/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-badge);
  border: 1px solid transparent;
}
.badge-success {
  background-color: var(--success-green-bg);
  color: var(--accent-green);
  border-color: var(--accent-green);
}
.badge-status {
  background-color: var(--pure-white);
  color: var(--neutral-medium);
  border-color: var(--neutral-border);
}
.badge-error {
  background-color: rgba(220, 53, 69, 0.1);
  color: var(--danger-error);
  border-color: var(--danger-error);
}
/* Cards & Containers */
.card {
  background-color: var(--pure-white);
  border: 1px solid var(--neutral-border);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  box-shadow: rgba(0, 0, 0, 0.08) 0px 2px 8px;
  transition: all var(--transition-normal);
}
.card-hoverable:hover {
  box-shadow: rgba(0, 0, 0, 0.15) 0px 4px 12px;
  border-color: #BCC2C8;
  transform: translateY(-2px);
}
.section-container {
  background-color: var(--pure-white);
  padding: var(--space-5) var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-border);
  margin-bottom: var(--space-5);
}
/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--neutral-light);
}
::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}
/* Megamenu & Navigation Transitions */
.megamenu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--pure-white);
  border-bottom: 1px solid var(--neutral-border);
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: var(--space-5) 0;
}
.nav-item-hover:hover .megamenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* --- FUTURISTIC CYBERNETIC THEME (Category Command Center) --- */
/* --- CINEMATIC HOVER ACCORDION CATEGORIES --- */
.accordion-container {
  display: flex;
  gap: 16px;
  height: 520px; /* Tall panels */
  width: 100%;
}
.accordion-panel {
  flex: 1; /* Default state */
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #111; /* Dark base for cinematic images */
  cursor: pointer;
  transition: flex 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}
.accordion-panel:hover {
  flex: 4; /* Explosive expansion */
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}
.accordion-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.accordion-panel:hover .accordion-bg {
  opacity: 0.7;
  transform: scale(1.08);
}
.accordion-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 32px;
  background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 60%);
}
.accordion-title {
  color: #FFF;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 0;
  white-space: nowrap;
  position: absolute;
  bottom: 50%;
  right: 50%;
  transform: translate(50%, 50%) rotate(-90deg);
  transform-origin: center center;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.accordion-panel:hover .accordion-title {
  bottom: 140px;
  right: 32px;
  transform: translate(0, 0) rotate(0deg);
  font-size: 30px;
}
.accordion-tags {
  display: flex;
  gap: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  max-width: 100%;
  overflow: hidden;
}
.accordion-panel:hover .accordion-tags {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0.15s;
}
.accordion-tag {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFF;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.accordion-tag:hover {
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: #000;
  transform: translateY(-2px);
}
.accordion-tag:hover svg {
  color: #000;
}
/* Explanatory text inside expanded panel */
.accordion-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  max-width: 90%;
}
.accordion-panel:hover .accordion-description {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}
/* --- HOLOGRAPHIC DASHBOARD (PC MATCHER) --- */
.dashboard-matcher {
  background: rgba(15, 18, 22, 0.95);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.1);
  color: #FFF;
  position: relative;
  overflow: hidden;
  margin-bottom: 48px;
}
/* Glow lines */
.dashboard-matcher::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-green), transparent);
  opacity: 0.8;
}
.dashboard-title-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 24px;
}
.dashboard-stats {
  display: flex;
  gap: 16px;
  flex: 1;
}
.dashboard-stat-box {
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dashboard-btn-group {
  display: flex;
  gap: 12px;
}
.dashboard-btn {
  font-family: 'Vazirmatn', sans-serif;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}
.dashboard-btn.active {
  background: rgba(12, 181, 173, 0.15);
  border-color: var(--accent-green);
  color: var(--accent-green);
  box-shadow: 0 0 20px rgba(12, 181, 173, 0.2);
}
.dashboard-slider-track {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  outline: none;
}
.dashboard-slider-track::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 15px var(--accent-green);
  cursor: pointer;
  transition: transform 0.2s;
}
.dashboard-slider-track::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
.dashboard-slider-track::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 15px var(--accent-green);
  cursor: pointer;
  transition: transform 0.2s;
}
.dashboard-slider-track::-moz-range-thumb:hover {
  transform: scale(1.2);
}
/* Catalog layout flexbox container for side-by-side layout */
.catalog-layout-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  direction: rtl;
  padding: 24px 0;
  min-height: 80vh;
  width: 100%;
}
@media (min-width: 1024px) {
  .catalog-layout-container {
    flex-direction: row; /* side-by-side on desktop */
    gap: 32px; /* spacious premium gap */
    flex-wrap: nowrap; /* never wrap on desktop */
  }
}
/* --- GLASSMORPHISM HEADER --- */
.glass-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(222, 230, 240, 0.4);
}
/* Glass panel */
.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(222, 230, 240, 0.5);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
}
/* --- APPLE-STYLE HERO HOTSPOTS --- */
.hotspot-container {
  cursor: pointer;
  transition: all 0.2s ease;
}
.hotspot-pulse {
  width: 14px;
  height: 14px;
  background-color: var(--accent-green);
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 0 4px rgba(12, 181, 173, 0.4);
  animation: pulse-hotspot 2s infinite;
  transition: transform 0.2s ease;
}
.hotspot-container:hover .hotspot-pulse {
  transform: scale(1.3);
  background-color: var(--accent-cyan);
  box-shadow: 0 0 0 6px rgba(13, 202, 240, 0.4);
}
@keyframes pulse-hotspot {
  0% { box-shadow: 0 0 0 0 rgba(12, 181, 173, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(12, 181, 173, 0); }
  100% { box-shadow: 0 0 0 0 rgba(12, 181, 173, 0); }
}
.hotspot-tooltip {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background-color: rgba(15, 17, 21, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 11px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}
.hotspot-container:hover .hotspot-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
/* Floating animation for product image */
.float-product {
  animation: float-hero 6s ease-in-out infinite;
}
@keyframes float-hero {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
/* Slide progress indicator */
@keyframes slide-progress {
  from { width: 0%; }
  to { width: 100%; }
}
/* --- APPLE-STYLE GLASS PRODUCT CARD --- */
.glass-product-card {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.glass-product-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: right 0.75s ease;
  z-index: 5;
  pointer-events: none;
}
.glass-product-card:hover {
  transform: translateY(-6px) !important;
  background-color: rgba(255, 255, 255, 0.88) !important;
  border-color: var(--brand-glow, rgba(0, 113, 227, 0.25)) !important;
  box-shadow: 0 16px 40px 0 var(--brand-glow, rgba(31, 38, 135, 0.08)) !important;
}
.glass-product-card:hover .card-hud-overlay {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
.glass-product-card:hover::before {
  right: 150%;
}
.glass-product-card-img-wrapper {
  background: radial-gradient(circle at center, #ffffff 0%, #f5f5f7 100%) !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.glass-product-card:hover .glass-product-card-img-wrapper {
  transform: scale(1.03);
}
/* Buy buttons Apple style */
.btn-apple-buy {
  background-color: #0071e3;
  color: #ffffff;
  border: none;
  font-weight: 500;
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 12px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.btn-apple-buy:hover {
  background-color: #0077ed;
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.25);
}
.btn-apple-secondary {
  background-color: rgba(0, 113, 227, 0.06);
  color: #0071e3;
  border: none;
  font-weight: 500;
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 12px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.btn-apple-secondary:hover {
  background-color: rgba(0, 113, 227, 0.12);
}
/* --- HIDE SCROLLBAR --- */
.hide-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
.hide-scrollbar::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}
/* --- PREMIUM SEPARATED BANNERS --- */
.premium-banners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 32px;
  margin-top: 40px;
}
.premium-glass-banner {
  position: relative;
  border-radius: 32px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 48px;
  overflow: hidden; /* Contains the internal glowing radial perfectly */
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 320px;
  cursor: pointer;
}
.premium-glass-banner:hover {
  transform: translateY(-8px);
  border-color: var(--banner-color, rgba(255,255,255,0.2));
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 40px var(--banner-glow, rgba(255,255,255,0.1));
}
/* Subtle mesh texture overlay inside the banner */
.premium-glass-banner::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
  z-index: 1;
}
/* Deep radial glow originating from the image side (left in RTL) */
.banner-deep-glow {
  position: absolute;
  top: 50%;
  left: 0;
  width: 400px;
  height: 400px;
  transform: translate(-30%, -50%);
  background: radial-gradient(circle, var(--banner-color) 0%, transparent 70%);
  opacity: 0.15;
  filter: blur(50px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 0;
}
.premium-glass-banner:hover .banner-deep-glow {
  opacity: 0.25;
  transform: translate(-20%, -50%) scale(1.1);
}
.banner-content-wrapper {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 55%;
}
.banner-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--banner-color);
  width: max-content;
  text-transform: uppercase;
}
.banner-title {
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  margin: 0;
  line-height: 1.3;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
.banner-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin: 0;
}
.banner-image-wrapper {
  position: relative;
  z-index: 10;
  width: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.banner-hardware-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(-10px 20px 30px rgba(0,0,0,0.6));
  transform: translateY(0);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}
.premium-glass-banner:hover .banner-hardware-img {
  transform: translateY(-8px) scale(1.05);
  filter: drop-shadow(-15px 30px 40px rgba(0,0,0,0.8));
}
.btn-banner-action {
  margin-top: 8px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 24px;
  border-radius: 12px;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  transition: all 0.4s ease;
}
.premium-glass-banner:hover .btn-banner-action {
  background: var(--banner-color);
  color: #000;
  border-color: var(--banner-color);
  box-shadow: 0 8px 24px var(--banner-glow);
}
.btn-banner-action:active {
  transform: scale(0.96);
}
/* --- PREMIUM COLLAPSIBLE ACCORDION FILTERS --- */
.filter-accordion {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 16px 0;
}
.filter-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-black);
  cursor: pointer;
  user-select: none;
}
.filter-accordion-header svg {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--neutral-medium);
}
.filter-accordion-header.open svg {
  transform: rotate(-90deg); /* Points down in RTL chevrons */
}
.filter-accordion-content {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}
/* --- INTERACTIVE PILLS FOR BRANDS --- */
.filter-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 50px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #FFFFFF;
  font-size: 11px;
  color: var(--neutral-dark);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.filter-pill:hover {
  border-color: var(--neutral-medium);
  background: var(--neutral-light);
}
.filter-pill.active {
  background: rgba(12, 181, 173, 0.06) !important;
  border-color: var(--accent-green) !important;
  color: var(--accent-green) !important;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(12, 181, 173, 0.1);
}
/* --- ACTIVE FILTER REMOVABLE TAGS --- */
.active-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.active-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 50px;
  font-size: 11px;
  color: var(--neutral-dark);
  cursor: pointer;
  transition: all 0.2s ease;
}
.active-tag:hover {
  background: rgba(220, 53, 69, 0.06);
  border-color: rgba(220, 53, 69, 0.25);
  color: var(--danger-error);
}
/* --- CUSTOM SORT DROPDOWN --- */
.sort-dropdown-container {
  position: relative;
}
.sort-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid var(--neutral-border);
  background: #FFFFFF;
  font-size: 12px;
  font-weight: 500;
  color: var(--neutral-dark);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.sort-dropdown-trigger:hover {
  border-color: var(--neutral-medium);
  color: var(--primary-black);
}
.sort-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
  padding: 6px;
  z-index: 100;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: sort-menu-in 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes sort-menu-in {
  from { opacity: 0; transform: translateY(-6px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.sort-dropdown-item {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--neutral-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.15s ease;
}
.sort-dropdown-item:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--primary-black);
}
.sort-dropdown-item.active {
  background: rgba(12, 181, 173, 0.06);
  color: var(--accent-green);
  font-weight: 700;
}
/* --- PREMIUM CATALOG STYLES --- */
.catalog-mesh-bg {
  position: relative;
  background-color: #fafbfc;
  background-image: 
    radial-gradient(at 0% 0%, hsla(210, 100%, 97%, 1) 0px, transparent 50%),
    radial-gradient(at 100% 0%, hsla(200, 100%, 95%, 1) 0px, transparent 50%),
    radial-gradient(at 100% 100%, hsla(220, 100%, 97%, 1) 0px, transparent 50%),
    radial-gradient(at 0% 100%, hsla(190, 100%, 95%, 1) 0px, transparent 50%);
}
.premium-sticky-sidebar {
  position: relative;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 
    0 4px 24px -1px rgba(0, 0, 0, 0.04),
    0 0 1px 0 rgba(0, 0, 0, 0.08) inset;
  border-radius: 20px;
  width: 100%;
}
@media (min-width: 1024px) {
  .premium-sticky-sidebar {
    position: sticky;
    top: 90px;
    width: 260px; /* relaxed premium width for filters */
    flex-shrink: 0; /* never shrink */
    height: max-content;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
  }
  .premium-sticky-sidebar::-webkit-scrollbar {
    display: none; /* Chrome */
  }
}
/* Apple-style range slider */
.apple-range-slider {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(0,0,0,0.06);
  border-radius: 6px;
  outline: none;
  direction: ltr; /* Fix reverse drag behaviour in RTL layouts */
}
.apple-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.apple-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.apple-range-slider::-webkit-slider-thumb:active {
  transform: scale(0.95);
  background: #f5f5f7;
}
/* Firefox Styles */
.apple-range-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.apple-range-slider::-moz-range-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.apple-range-slider::-moz-range-thumb:active {
  transform: scale(0.95);
  background: #f5f5f7;
}
/* Stagger Animations */
.stagger-item {
  animation: fade-in-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(20px);
}
@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Empty State Cyber Graphic */
.empty-state-cyber {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.empty-state-cyber::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.1) 0%, transparent 70%);
  animation: pulse-cyber 3s infinite ease-in-out;
}
@keyframes pulse-cyber {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 0.4; }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
/* Sidebar-Aware Catalog Products Grid Columns */
.catalog-products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 100%;
}
@media (min-width: 580px) {
  .catalog-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1280px) {
  .catalog-products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}
@media (min-width: 1550px) {
  .catalog-products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
  }
}
/* --- ULTRA-PREMIUM HEADER REDESIGN --- */
.premium-glass-header {
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), inset 0 -1px 0 rgba(255,255,255,0.05);
  color: #FFFFFF;
}
.premium-utility-bar {
  background-color: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.premium-logo-text {
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  letter-spacing: -0.5px;
}
/* Advanced Search Input */
.search-command-wrapper {
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.search-command-wrapper.is-focused {
  transform: scale(1.02);
  z-index: 110;
}
.search-command-input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  padding: 10px 16px 10px 48px;
  border-radius: 12px;
  font-size: 14px;
  width: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) inset;
}
.search-command-input:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(12, 181, 173, 0.5);
  box-shadow: 0 0 0 4px rgba(12, 181, 173, 0.15), 0 4px 20px rgba(0, 0, 0, 0.2) inset;
  outline: none;
}
.search-command-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.search-shortcut-hint {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  pointer-events: none;
}
/* Mega Menu Panel */
.mega-menu-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 600px;
  background: rgba(15, 17, 21, 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4), 0 0 1px 1px rgba(255, 255, 255, 0.05) inset;
  display: flex;
  overflow: hidden;
  z-index: 100;
  transform-origin: top right;
  animation: slide-down-fade 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.mega-menu-left {
  flex: 1;
  padding: 20px;
}
.mega-menu-right {
  width: 240px;
  background: rgba(255, 255, 255, 0.03);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mega-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.2s ease;
  cursor: pointer;
}
.mega-menu-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  transform: translateX(-4px); /* RTL */
}
/* Search Dropdown Panel */
.search-results-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  background: rgba(15, 17, 21, 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 1px 1px rgba(255, 255, 255, 0.05) inset;
  z-index: 100;
  animation: slide-down-fade 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.search-item-hover {
  transition: all 0.2s ease;
  border-left: 2px solid transparent; /* Right side in RTL, wait RTL means right is border-right. Let's use border-right */
  border-right: 2px solid transparent;
}
.search-item-hover:hover {
  background: rgba(255, 255, 255, 0.04);
  border-right-color: var(--accent-green);
}
@keyframes slide-down-fade {
  from { opacity: 0; transform: translateY(-10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.premium-btn {
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 8px;
}
.premium-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}
.premium-cart-badge {
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-hover) 100%);
  color: #FFFFFF !important;
  box-shadow: 0 0 10px rgba(12, 181, 173, 0.4);
  animation: pulse-cart 2s infinite;
}
@keyframes pulse-cart {
  0%, 100% { box-shadow: 0 0 10px rgba(12, 181, 173, 0.4); }
  50% { box-shadow: 0 0 20px rgba(12, 181, 173, 0.8); }
}
/* --- E-COMMERCE MASTERPIECE HEADER (WHITE/LIGHT) --- */
.ecommerce-header-white {
  background: linear-gradient(to bottom, #FFFFFF 0%, #F8F9FA 100%);
  border-bottom: 2px solid var(--accent-green);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  color: var(--primary-dark);
  font-family: var(--font-primary);
}
.ecommerce-top-bar {
  background-color: #F8F9FA;
  color: var(--neutral-medium);
  font-size: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}
.ecommerce-top-bar a {
  color: var(--neutral-medium);
  text-decoration: none;
  transition: color 0.2s;
}
.ecommerce-top-bar a:hover {
  color: var(--accent-green);
}
/* Mega Menu Core */
.ecommerce-mega-menu-wrapper {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #FFFFFF;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-radius: 0 0 12px 12px;
  z-index: 1000;
  display: flex;
  height: 480px; /* Fixed height for massive mega menu */
  animation: mega-fade-slide 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
@keyframes mega-fade-slide {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}
.mega-sidebar {
  width: 260px;
  background-color: #F8F9FA;
  border-left: 1px solid rgba(0, 0, 0, 0.05);
  overflow-y: auto;
  padding: 12px 0;
}
/* Hide scrollbar for sidebar */
.mega-sidebar::-webkit-scrollbar {
  width: 4px;
}
.mega-sidebar::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.1);
  border-radius: 4px;
}
.mega-sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  cursor: pointer;
  color: var(--primary-dark);
  font-weight: 500;
  font-size: 14px;
  transition: all 0.15s ease;
  position: relative;
}
.mega-sidebar-item:hover, .mega-sidebar-item.active {
  background-color: #FFFFFF;
  color: var(--accent-green);
}
.mega-sidebar-item.active::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--accent-green);
}
.mega-content-area {
  flex: 1;
  padding: 32px;
  display: flex;
  gap: 32px;
  background-color: #FFFFFF;
  overflow-y: auto;
}
.mega-subcategories-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-content: start;
}
.mega-sub-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mega-sub-header {
  font-weight: 700;
  font-size: 15px;
  color: var(--primary-black);
  border-right: 2px solid var(--accent-green);
  padding-right: 8px;
  margin-bottom: 8px;
}
.mega-sub-link {
  color: var(--neutral-medium);
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s;
}
.mega-sub-link:hover {
  color: var(--accent-green);
}
.mega-promo-area {
  width: 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mega-promo-card {
  background: var(--neutral-light);
  border-radius: 12px;
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.03);
}
.mega-promo-card:hover .mega-promo-bg {
  transform: scale(1.05);
}
.mega-promo-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 1; /* Changed from 0.1 to 1 for sharp and visually strong display */
  transition: transform 0.4s ease;
}
.mega-promo-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0.1) 100%);
  z-index: 1;
  pointer-events: none;
}
/* Search Bar */
.ecommerce-search-wrapper {
  flex: 1;
  max-width: 600px;
  position: relative;
}
.ecommerce-search-input {
  width: 100%;
  background-color: #FFFFFF;
  border: 1px solid var(--neutral-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  padding: 12px 16px 12px 48px;
  font-size: 14px;
  color: var(--primary-dark);
  transition: all 0.2s ease;
  font-family: var(--font-primary);
}
.ecommerce-search-input:focus {
  background-color: #FFFFFF;
  border-color: var(--accent-green);
  box-shadow: 0 0 0 4px rgba(12, 181, 173, 0.1);
  outline: none;
}
.ecommerce-search-input::placeholder {
  color: var(--placeholder-gray);
}
.ecommerce-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--neutral-medium);
}
.ecommerce-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--neutral-medium);
  padding: 6px 14px;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  height: 100%;
  font-family: var(--font-primary);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.ecommerce-nav-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(12, 181, 173, 0.12) 0%, rgba(12, 181, 173, 0) 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}
.ecommerce-nav-btn svg {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.25s ease;
  z-index: 2;
}
.ecommerce-nav-btn:hover::before {
  opacity: 1;
}
.ecommerce-nav-btn:hover {
  background: rgba(12, 181, 173, 0.06);
  color: var(--accent-green);
  box-shadow: 0 4px 12px rgba(12, 181, 173, 0.15);
  transform: translateY(-2px);
}
.ecommerce-nav-btn:hover svg {
  transform: translateY(-3px) scale(1.15);
  color: var(--accent-green);
}
.ecommerce-nav-btn-text {
  font-size: 11px;
  font-weight: 600;
  z-index: 2;
}
/* Premium Cart Dropdown Card */
.ecommerce-cart-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 360px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-radius: 18px;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.1), 
    0 2px 10px rgba(0, 0, 0, 0.02),
    inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(12, 181, 173, 0.2);
  z-index: 1000;
  padding: 18px;
  cursor: default;
  transform: translateY(15px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.ecommerce-cart-dropdown.visible {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.ecommerce-cart-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 24px;
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(12, 181, 173, 0.2);
  border-left: 1px solid rgba(12, 181, 173, 0.2);
  transform: rotate(45deg);
  z-index: -1;
}
.ecommerce-cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 12px;
}
.ecommerce-cart-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
}
.ecommerce-cart-count {
  font-size: 11px;
  font-weight: 600;
  background: rgba(12, 181, 173, 0.1);
  color: var(--accent-green);
  padding: 2px 8px;
  border-radius: 20px;
}
.ecommerce-cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 10px;
  text-align: center;
}
.ecommerce-cart-empty-icon-wrapper {
  position: relative;
  width: 64px;
  height: 64px;
  background: rgba(12, 181, 173, 0.05);
  color: rgba(12, 181, 173, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 16px;
}
.ecommerce-cart-empty-glow {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(12, 181, 173, 0.15) 0%, rgba(12, 181, 173, 0) 70%);
  animation: emptyPulse 2s infinite ease-in-out;
  z-index: -1;
}
@keyframes emptyPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 1; }
}
.ecommerce-cart-empty-text {
  font-size: 13px;
  color: var(--neutral-medium);
  margin-bottom: 18px;
}
.ecommerce-cart-shop-btn {
  display: inline-block;
  background: var(--accent-green);
  color: #FFF;
  border: none;
  padding: 8px 24px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(12, 181, 173, 0.3);
  transition: all 0.3s ease;
}
.ecommerce-cart-shop-btn:hover {
  background: var(--accent-green-hover);
  box-shadow: 0 6px 16px rgba(12, 181, 173, 0.45);
  transform: translateY(-1px);
}
.ecommerce-cart-items-list {
  max-height: 240px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
}
.ecommerce-cart-items-list::-webkit-scrollbar {
  width: 4px;
}
.ecommerce-cart-items-list::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.02);
  border-radius: 10px;
}
.ecommerce-cart-items-list::-webkit-scrollbar-thumb {
  background: rgba(12, 181, 173, 0.3);
  border-radius: 10px;
}
.ecommerce-cart-items-list::-webkit-scrollbar-thumb:hover {
  background: var(--accent-green);
}
.ecommerce-cart-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.015);
  border: 1px solid rgba(0, 0, 0, 0.02);
  margin-bottom: 10px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.ecommerce-cart-item:last-child {
  margin-bottom: 0;
}
.ecommerce-cart-item:hover {
  background: rgba(12, 181, 173, 0.03);
  border-color: rgba(12, 181, 173, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
.ecommerce-cart-item-img-container {
  width: 56px;
  height: 56px;
  background: #FFF;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.ecommerce-cart-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.ecommerce-cart-item:hover .ecommerce-cart-item-img {
  transform: scale(1.08);
}
.ecommerce-cart-item-details {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.ecommerce-cart-item-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary-dark);
  text-decoration: none;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
  margin-bottom: 4px;
}
.ecommerce-cart-item-title:hover {
  color: var(--accent-green);
}
.ecommerce-cart-item-variant {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 6px;
}
.ecommerce-cart-variant-badge {
  font-size: 10px;
  background: var(--neutral-very-light);
  color: var(--neutral-dark);
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 500;
}
.ecommerce-cart-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.ecommerce-cart-item-qty {
  font-size: 11px;
  color: var(--neutral-medium);
  font-weight: 500;
}
.ecommerce-cart-item-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-right: auto;
  margin-left: 8px;
}
.ecommerce-cart-trash-btn {
  background: none;
  border: none;
  color: var(--danger-error);
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ecommerce-cart-trash-btn:hover {
  background: rgba(220, 53, 69, 0.1);
  transform: scale(1.1);
}
.ecommerce-cart-summary {
  background: rgba(12, 181, 173, 0.04);
  border: 1px solid rgba(12, 181, 173, 0.08);
  border-radius: 12px;
  padding: 12px;
  margin-top: 14px;
  margin-bottom: 14px;
}
.ecommerce-cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ecommerce-cart-summary-label {
  font-size: 12px;
  color: var(--neutral-medium);
  font-weight: 500;
}
.ecommerce-cart-summary-value {
  font-size: 15px;
  font-weight: 800;
  color: var(--accent-green);
}
.ecommerce-cart-actions {
  display: flex;
  gap: 8px;
}
.ecommerce-dropdown-btn-secondary {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFF;
  border: 1px solid var(--neutral-border);
  color: var(--neutral-dark);
  font-size: 12.5px;
  font-weight: 600;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
}
.ecommerce-dropdown-btn-secondary:hover {
  background: var(--neutral-light);
  border-color: var(--neutral-medium);
  color: var(--primary-dark);
}
.ecommerce-dropdown-btn-primary {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-green-hover));
  color: #FFF;
  border: none;
  font-size: 12.5px;
  font-weight: 700;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(12, 181, 173, 0.25);
  position: relative;
  overflow: hidden;
}
.ecommerce-dropdown-btn-primary:hover {
  box-shadow: 0 6px 20px rgba(12, 181, 173, 0.4);
  transform: translateY(-1px);
}
.ecommerce-dropdown-btn-primary .btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: none;
}
.ecommerce-dropdown-btn-primary:hover .btn-shine {
  animation: shine 0.75s ease-out;
}
@keyframes shine {
  100% {
    left: 125%;
  }
}
/* --- V3 IMMERSIVE PARALLAX HERO SLIDER --- */
.parallax-hero-wrapper {
  position: relative;
  width: 100%;
  height: 550px;
  perspective: 2500px; /* Deepest perspective */
  overflow: hidden;
  border-radius: 20px;
  margin-top: 24px;
  background: radial-gradient(circle at 50% 50%, #15181e 0%, #030406 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.parallax-scene {
  width: 100%;
  max-width: 1200px;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}
/* Background Atmospheric Particles */
.particle-layer {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  transform: translateZ(-600px); /* Deep back */
  pointer-events: none;
  transform-style: preserve-3d;
}
.particle-parallax {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  filter: blur(3px);
  animation: particle-drift 20s linear infinite;
}
/* The actual slides */
.parallax-slide {
  position: absolute;
  width: 1000px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform-style: preserve-3d;
  transition: opacity 0.8s ease, filter 0.8s ease;
  opacity: 0;
  pointer-events: none;
  filter: blur(20px);
}
.parallax-slide.active {
  opacity: 1;
  pointer-events: auto;
  filter: blur(0px);
}
/* Middle Layer: Glass Text Panel */
.parallax-glass-card {
  width: 500px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 40px;
  transform: translateZ(50px); /* Mid-ground */
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  transform-style: preserve-3d;
}
.parallax-slide.active .parallax-glass-card {
  animation: explode-in-card 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
/* Foreground: Product Image */
.parallax-product-layer {
  position: relative;
  width: 450px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateZ(250px); /* Extreme foreground */
  transform-style: preserve-3d;
}
.parallax-slide.active .parallax-product-layer {
  animation: explode-in-product 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.parallax-product-image {
  max-width: 120%;
  max-height: 120%;
  object-fit: contain;
  filter: drop-shadow(-20px 40px 30px rgba(0,0,0,0.6));
  animation: float-parallax 6s ease-in-out infinite;
}
.parallax-glare {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.08) 0%, transparent 60%);
  transform: translateZ(1px);
  pointer-events: none;
  transition: opacity 0.3s ease;
  opacity: 0.5;
}
/* Animations */
@keyframes explode-in-product {
  0% { transform: translateZ(-1000px) scale(0.3) rotateY(45deg); opacity: 0; }
  100% { transform: translateZ(250px) scale(1) rotateY(0deg); opacity: 1; }
}
@keyframes explode-in-card {
  0% { transform: translateZ(-800px) translateX(-100px) scale(0.8); opacity: 0; }
  100% { transform: translateZ(50px) translateX(0) scale(1); opacity: 1; }
}
@keyframes float-parallax {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}
/* Navigation */
.parallax-nav {
  position: absolute;
  bottom: 24px;
  display: flex;
  gap: 12px;
  z-index: 20;
  transform: translateZ(150px);
}
.parallax-nav-dot {
  width: 48px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s;
}
.parallax-nav-dot.active {
  background: var(--accent-green);
  box-shadow: 0 0 12px var(--accent-green);
  width: 64px;
}
/* --- 3D COVER FLOW SHOWCASE (SPECIAL SALES) --- */
.spotlight-stage {
  position: relative;
  width: 100%;
  height: 640px;
  background: radial-gradient(circle at 50% 50%, rgba(12, 181, 173, 0.12) 0%, rgba(20, 24, 30, 1) 60%);
  border-radius: 24px;
  overflow: hidden;
  perspective: 1500px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 48px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.05);
}
.atmospheric-timer {
  font-family: 'Roboto Mono', monospace;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-green);
  background: rgba(12, 181, 173, 0.1);
  border: 1px solid rgba(12, 181, 173, 0.2);
  padding: 8px 16px;
  border-radius: 100px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  box-shadow: 0 0 20px rgba(12, 181, 173, 0.15);
  letter-spacing: 2px;
}
.spotlight-header-overlay {
  position: absolute;
  top: 40px;
  right: 40px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 24px;
}
.spotlight-header-title {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  color: #FFF;
  display: flex;
  align-items: center;
  gap: 12px;
}
.spotlight-pulse-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--accent-green);
  display: inline-block;
}
.spotlight-view-all-btn {
  position: absolute;
  top: 40px;
  left: 40px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.02);
  border-radius: 50px;
  padding: 8px 18px;
  transition: all 0.25s ease;
  cursor: pointer;
}
.spotlight-view-all-btn:hover {
  color: #FFF;
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}
.coverflow-container {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  margin-top: 36px;
}
.coverflow-item {
  position: absolute;
  width: 340px;
  height: 460px;
  background: #181b22;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-style: preserve-3d;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
/* Active Item (Center) */
.coverflow-item.active {
  transform: translateX(0) translateZ(100px) scale(1);
  z-index: 20;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 40px rgba(12, 181, 173, 0.15);
  border-color: rgba(12, 181, 173, 0.4);
  background: #232832; /* Better text rendering than using filter: brightness */
}
/* Items to the Right (visually right in RTL, so positive translateX pushes left) */
.coverflow-item.prev-1 {
  transform: translateX(250px) translateZ(-100px) rotateY(-25deg) scale(0.72);
  z-index: 15;
  filter: brightness(0.6);
  opacity: 0.8;
  cursor: pointer;
}
.coverflow-item.prev-2 {
  transform: translateX(400px) translateZ(-200px) rotateY(-35deg) scale(0.54);
  z-index: 10;
  filter: brightness(0.4);
  opacity: 0.5;
  cursor: pointer;
}
/* Items to the Left */
.coverflow-item.next-1 {
  transform: translateX(-250px) translateZ(-100px) rotateY(25deg) scale(0.72);
  z-index: 15;
  filter: brightness(0.6);
  opacity: 0.8;
  cursor: pointer;
}
.coverflow-item.next-2 {
  transform: translateX(-400px) translateZ(-200px) rotateY(35deg) scale(0.54);
  z-index: 10;
  filter: brightness(0.4);
  opacity: 0.5;
  cursor: pointer;
}
/* Hidden items */
.coverflow-item.hidden {
  transform: translateX(0) translateZ(-400px) scale(0);
  opacity: 0;
  pointer-events: none;
}
.coverflow-img-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.coverflow-item.active .coverflow-img-wrapper {
  transform: none;
}
.coverflow-img {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
  filter: drop-shadow(0 20px 20px rgba(0,0,0,0.5));
}
.coverflow-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  backface-visibility: hidden;
  transform: translateZ(0);
}
.coverflow-title {
  color: #FFF;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-align: right;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  backface-visibility: hidden;
  transform: translateZ(0);
}
.coverflow-price-box {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 8px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  backface-visibility: hidden;
  transform: translateZ(0);
}
.coverflow-price {
  color: var(--accent-green);
  font-size: 22px;
  font-weight: 900;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  backface-visibility: hidden;
  transform: translateZ(0);
}
.coverflow-add-btn {
  background: rgba(12, 181, 173, 0.1);
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.coverflow-add-btn:hover {
  background: var(--accent-green);
  color: #000;
  box-shadow: 0 0 20px rgba(12, 181, 173, 0.4);
  transform: scale(1.1);
}
.coverflow-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 30;
  pointer-events: none;
}
.coverflow-control-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #FFF;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  pointer-events: auto;
}
.coverflow-control-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
  transform: scale(1.1);
}
/* --- ELITE PODIUM SHOWCASE (BEST SELLERS) --- */
.elite-section {
  margin-top: 64px;
}
.elite-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.elite-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-black);
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
}
.elite-accent-line {
  display: inline-block;
  width: 6px;
  height: 24px;
  background: var(--accent-cyan);
  border-radius: 4px;
  box-shadow: 0 0 12px var(--accent-cyan);
}
.elite-view-all {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--neutral-medium);
  background: transparent;
  border: none;
  font-size: 13px;
  font-family: 'Vazirmatn', sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}
.elite-view-all:hover {
  color: var(--primary-black);
}
.elite-bento-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr; /* 2.5 columns left, 1.5 columns right */
  gap: 24px;
}
/* Spotlight Card (Cyber-Editorial Redesign) */
.elite-spotlight-card {
  position: relative;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 480px;
  padding: 40px;
  gap: 40px;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.elite-spotlight-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 1);
}
/* Watermark Text */
.spotlight-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 140px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
  letter-spacing: -2px;
  z-index: 1;
  pointer-events: none;
  font-family: 'Inter', sans-serif;
  transition: all 0.6s ease;
}
.elite-spotlight-card:hover .spotlight-watermark {
  color: rgba(255, 255, 255, 0.04);
  transform: translate(-50%, -50%) scale(1.02);
}
/* Glow Background */
.spotlight-glow-bg {
  position: absolute;
  top: 50%;
  left: 25%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--card-accent) 0%, transparent 60%);
  opacity: 0.15;
  filter: blur(80px);
  z-index: 2;
  transition: opacity 0.8s ease, filter 0.8s ease;
  pointer-events: none;
}
.elite-spotlight-card:hover .spotlight-glow-bg {
  opacity: 0.35;
  filter: blur(60px);
}
/* Image Layer */
.spotlight-image-layer {
  position: relative;
  flex: 1;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}
.spotlight-image {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6));
  transform: scale(1);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
}
.elite-spotlight-card:hover .spotlight-image {
  transform: translateY(-10px) scale(1.05);
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.8));
}
/* Floating Glass Content Panel */
.spotlight-glass-panel {
  position: relative;
  z-index: 10;
  flex: 1.1;
  background: rgba(15, 15, 15, 0.45);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.elite-spotlight-card:hover .spotlight-glass-panel {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(20, 20, 20, 0.55);
  box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}
/* Content details inside panel */
.spotlight-badge {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--card-accent);
  text-shadow: 0 0 15px var(--card-accent);
  margin-bottom: 8px;
}
.spotlight-title {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  line-height: 1.4;
  margin: 0;
}
.spotlight-price-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}
.spotlight-price {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}
.spotlight-old-price {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: line-through;
}
.spotlight-specs {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.spec-capsule {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}
.fill-star {
  color: #FFC107;
  fill: #FFC107;
}
.btn-elite-action {
  padding: 12px 24px;
  background: #fff;
  color: #000;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 800;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
}
.btn-elite-action:hover {
  background: var(--card-accent);
  color: #000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(-4px);
}
/* Elite Mini Grid */
.elite-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
}
.elite-mini-card {
  position: relative;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.elite-mini-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(15, 18, 25, 0.9);
}
.mini-card-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--card-accent) 0%, transparent 70%);
  opacity: 0.05;
  filter: blur(40px);
  z-index: 0;
  transition: opacity 0.4s ease;
}
.elite-mini-card:hover .mini-card-glow {
  opacity: 0.2;
}
.mini-card-img-wrapper {
  position: relative;
  z-index: 10;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.mini-card-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.elite-mini-card:hover .mini-card-img {
  transform: translateY(-5px) scale(1.08);
}
.mini-card-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mini-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.mini-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mini-card-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent-cyan);
}
.btn-mini-cart {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.elite-mini-card:hover .btn-mini-cart {
  background: var(--card-accent);
  color: #000;
  border-color: var(--card-accent);
}
@media (max-width: 1100px) {
  .elite-bento-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .elite-spotlight-card {
    flex-direction: column-reverse;
    align-items: stretch;
    padding: 24px;
    gap: 24px;
    min-height: auto;
  }
  .spotlight-image-layer {
    height: 280px;
  }
  .spotlight-image {
    max-height: 260px;
  }
}
/* --- Redesigned Cyber-Glass Best-Selling Carousel --- */
.bestsellers-stage-wrapper {
  margin-top: 80px;
  width: 100%;
}
.bestsellers-stage {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, rgba(20, 24, 30, 0.95) 0%, rgba(10, 11, 15, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(13, 202, 240, 0.25);
  border-radius: 32px;
  padding: 48px 40px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.bestsellers-stage-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
  z-index: 10;
  position: relative;
}
.bestsellers-stage-title {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
}
.bestsellers-accent-line {
  display: inline-block;
  width: 6px;
  height: 24px;
  background: var(--accent-cyan);
  border-radius: 4px;
  box-shadow: 0 0 15px var(--accent-cyan);
}
.bestsellers-view-all {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  background: transparent;
  border: none;
  font-size: 13px;
  font-family: 'Vazirmatn', sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}
.bestsellers-view-all:hover {
  color: #ffffff;
  transform: translateX(-4px);
}
.bestsellers-carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.stage-carousel-viewport {
  overflow: hidden;
  width: 100%;
  padding: 10px 0;
}
.stage-carousel-track {
  display: flex;
  width: 100%;
}
.stage-carousel-slide {
  min-width: 100%;
  padding: 0 4px;
}
.stage-carousel-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
/* Custom Cyber Glass Card */
.carousel-product-card {
  position: relative;
  background: rgba(25, 29, 38, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.carousel-product-card:hover {
  transform: translateY(-8px);
  border-color: var(--card-accent);
  background: rgba(30, 35, 47, 0.75);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 255, 255, 0.02);
}
/* Card Glow Effect */
.carousel-card-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, var(--card-accent) 0%, transparent 70%);
  opacity: 0.04;
  filter: blur(40px);
  z-index: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.carousel-product-card:hover .carousel-card-glow {
  opacity: 0.18;
}
.carousel-card-header {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.carousel-card-badge {
  font-size: 9px;
  font-weight: 800;
  color: #000000;
  background: var(--accent-cyan);
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}
.carousel-card-rating {
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 4px;
}
.carousel-card-img-wrapper {
  position: relative;
  z-index: 10;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.carousel-card-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.carousel-product-card:hover .carousel-card-img {
  transform: translateY(-4px) scale(1.08);
}
.carousel-card-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.carousel-card-brand {
  font-size: 10px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1px;
}
.carousel-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin: 6px 0 16px 0;
  line-height: 1.4;
  height: 40px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.carousel-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  gap: 12px;
  flex-wrap: wrap;
}
.carousel-card-price-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.carousel-card-old-price {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: line-through;
}
.carousel-card-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--card-accent);
}
.carousel-card-actions {
  display: flex;
  gap: 8px;
}
.carousel-card-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.carousel-card-btn:hover {
  background: var(--card-accent);
  color: #000000;
  border-color: var(--card-accent);
  box-shadow: 0 0 10px var(--card-accent);
}
/* Floating Frosted Navigation Controls */
.stage-carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 18, 22, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.stage-carousel-control:hover {
  background: var(--accent-cyan);
  color: #000000;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px var(--accent-cyan);
}
.stage-carousel-control.prev {
  right: -24px;
}
.stage-carousel-control.next {
  left: -24px;
}
/* Pagination Dots */
.stage-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
  z-index: 10;
  position: relative;
}
.stage-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.stage-carousel-dot:hover {
  background: rgba(255, 255, 255, 0.3);
}
.stage-carousel-dot.active {
  width: 24px;
  background: var(--accent-cyan);
  border-radius: 4px;
  box-shadow: 0 0 10px var(--accent-cyan);
}
/* Responsive Breakpoints */
@media (max-width: 1400px) {
  .stage-carousel-grid {
    gap: 16px;
  }
  .carousel-product-card {
    padding: 16px;
  }
}
@media (max-width: 1200px) {
  .stage-carousel-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .stage-carousel-control.prev { right: -12px; }
  .stage-carousel-control.next { left: -12px; }
}
@media (max-width: 992px) {
  .stage-carousel-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .bestsellers-stage {
    padding: 32px 24px;
  }
}
@media (max-width: 768px) {
  .stage-carousel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bestsellers-stage-title {
    font-size: 20px;
  }
  .stage-carousel-control {
    width: 40px;
    height: 40px;
  }
  .stage-carousel-control.prev { right: -8px; }
  .stage-carousel-control.next { left: -8px; }
}
@media (max-width: 480px) {
  .stage-carousel-grid {
    grid-template-columns: 1fr;
  }
}
/* --- Premium Toast Notification System --- */
.premium-toast-container {
  position: fixed;
  top: 32px;
  left: 32px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 16px;
  pointer-events: none;
}
.premium-toast {
  pointer-events: auto;
  position: relative;
  overflow: hidden;
  width: 420px;
  padding: 20px;
  background: rgba(18, 22, 28, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--accent-green);
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: toast-slide-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  direction: rtl;
  text-align: right;
  transition: all 0.3s ease;
}
.toast-glow {
  position: absolute;
  top: -50px;
  left: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(12, 181, 173, 0.2) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}
.toast-content {
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
  position: relative;
}
.toast-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(12, 181, 173, 0.1);
  border: 1px solid rgba(12, 181, 173, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(12, 181, 173, 0.2);
}
.toast-success-icon {
  color: var(--accent-green);
}
.toast-image {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.toast-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.toast-status {
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-green);
  letter-spacing: 0.5px;
  text-shadow: 0 0 10px rgba(12, 181, 173, 0.2);
}
.toast-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.toast-subtitle {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
}
.toast-meta {
  font-size: 11px;
  font-weight: bold;
  color: var(--accent-cyan);
}
.toast-action-btn {
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  padding: 8px 16px;
  background: var(--accent-green);
  color: #000000;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(12, 181, 173, 0.3);
}
.toast-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(12, 181, 173, 0.5);
  background: #ffffff;
}
.toast-close-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}
.toast-close-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}
.toast-progress-bar {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 3px;
  background: var(--accent-green);
  width: 100%;
  animation: toast-countdown 4s linear forwards;
}
/* Animations Keyframes */
@keyframes toast-slide-in {
  0% {
    transform: translateX(-120%) scale(0.9);
    opacity: 0;
  }
  100% {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}
@keyframes toast-countdown {
  0% { width: 100%; }
  100% { width: 0%; }
}
/* --- Add to Cart Click Wave Effects --- */
.btn-adding-pulse {
  animation: btn-click-pulse 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: none;
}
@keyframes btn-click-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(0.95); }
  100% { transform: scale(1); }
}
.btn-adding-wave {
  position: relative;
  overflow: hidden;
}
.btn-adding-wave::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ripple-wave 0.5s ease-out forwards;
}
@keyframes ripple-wave {
  0% {
    width: 0;
    height: 0;
    opacity: 0.8;
  }
  100% {
    width: 300px;
    height: 300px;
    opacity: 0;
  }
}
.btn-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(0, 0, 0, 0.25);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: inline-block;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.checkmark-reveal {
  animation: check-pop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes check-pop {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
@media (max-width: 480px) {
  .premium-toast-container {
    top: auto;
    bottom: 24px;
    left: 12px;
    right: 12px;
    width: auto;
  }
  .premium-toast {
    width: 100%;
  }
}
/* --- Brands Infinite Marquee Redesign --- */
.brands-ticker-section {
  position: relative;
  width: 100%;
  margin-top: 80px;
  background: linear-gradient(180deg, rgba(20, 24, 30, 0.95) 0%, rgba(10, 11, 15, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(13, 202, 240, 0.25);
  border-radius: 32px;
  padding: 56px 40px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.brands-ticker-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 10;
}
.brands-ticker-subtitle {
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-cyan);
  letter-spacing: 1.5px;
  text-shadow: 0 0 10px rgba(13, 202, 240, 0.2);
  margin-bottom: 8px;
}
.brands-ticker-title {
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  margin: 0;
}
.brands-ticker-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  padding: 12px 0;
  z-index: 10;
  direction: ltr; /* Force layout alignment to left-to-right for seamless track translation mathematics */
}
.brands-ticker-track {
  display: flex;
  width: max-content;
  animation: brand-marquee-slide 30s linear infinite;
}
.brands-ticker-set {
  display: flex;
  gap: 32px;
  padding-right: 32px; /* Perfect spacer matching the flex gap to make looping seamless */
  flex-shrink: 0;
  box-sizing: border-box;
}
.brands-ticker-container:hover .brands-ticker-track {
  animation-play-state: paused;
}
.brand-ticker-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 28px;
  background: rgba(25, 29, 38, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  min-width: 200px;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  direction: rtl; /* Revert internal card structure back to RTL for Persian layout */
  text-align: right;
}
.brand-ticker-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-glow);
  background: rgba(30, 35, 47, 0.75);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6), 0 0 15px var(--brand-glow);
}
.brand-ticker-icon {
  font-size: 24px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: rgba(255, 255, 255, 0.65); /* Beautiful default silver/monochrome logo */
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-ticker-card:hover .brand-ticker-icon {
  transform: scale(1.15) rotate(5deg);
  color: var(--brand-glow); /* Official brand color glow on hover! */
  filter: drop-shadow(0 0 10px var(--brand-glow));
}
.brand-ticker-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand-ticker-name-en {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}
.brand-ticker-card:hover .brand-ticker-name-en {
  color: var(--brand-glow);
  text-shadow: 0 0 10px var(--brand-glow);
}
.brand-ticker-name-fa {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 700;
}
.brand-ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  position: absolute;
  top: 14px;
  left: 14px;
  transition: all 0.3s;
}
.brand-ticker-card:hover .brand-ticker-dot {
  background: var(--brand-glow);
  box-shadow: 0 0 8px var(--brand-glow);
}
@keyframes brand-marquee-slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@media (max-width: 768px) {
  .brands-ticker-section {
    padding: 40px 20px;
  }
  .brands-ticker-title {
    font-size: 18px;
  }
  .brand-ticker-card {
    min-width: 180px;
    padding: 12px 20px;
  }
}
/* --- Tech Magazine / Blog Section Redesign --- */
.tech-blog-section {
  position: relative;
  width: 100%;
  margin-top: 80px;
  background: linear-gradient(180deg, rgba(20, 24, 30, 0.95) 0%, rgba(10, 11, 15, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top: 1px solid var(--accent-green);
  border-radius: 32px;
  padding: 56px 40px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.blog-section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 48px;
}
.blog-section-subtitle {
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-green);
  letter-spacing: 1.5px;
  text-shadow: 0 0 10px rgba(12, 181, 173, 0.25);
  margin-bottom: 8px;
}
.blog-section-title {
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
  margin: 0;
}
.blog-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
}
/* Spotlight Card */
.blog-spotlight-card {
  display: flex;
  flex-direction: column;
  background: rgba(25, 29, 38, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.blog-spotlight-card:hover {
  transform: translateY(-6px);
  border-color: rgba(12, 181, 173, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(12, 181, 173, 0.15);
}
.blog-spotlight-img-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}
.blog-spotlight-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-spotlight-card:hover .blog-spotlight-img-wrapper img {
  transform: scale(1.05);
}
.blog-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent-green);
  color: #000000;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(12, 181, 173, 0.3);
  z-index: 2;
}
.blog-spotlight-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 700;
}
.meta-separator {
  color: rgba(255, 255, 255, 0.15);
}
.blog-spotlight-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.5;
  transition: color 0.3s;
}
.blog-spotlight-card:hover .blog-spotlight-title {
  color: var(--accent-green);
}
.blog-spotlight-excerpt {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}
.blog-read-more {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent-green);
  margin-top: auto;
  transition: gap 0.3s;
}
.blog-spotlight-card:hover .blog-read-more {
  gap: 12px;
}
/* Sidebar Grid & Cards */
.blog-sidebar-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.blog-sidebar-card {
  display: flex;
  gap: 20px;
  background: rgba(25, 29, 38, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  padding: 16px;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-sidebar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(12, 181, 173, 0.4);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(12, 181, 173, 0.1);
}
.blog-sidebar-img-wrapper {
  width: 120px;
  height: 100px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}
.blog-sidebar-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-sidebar-card:hover .blog-sidebar-img-wrapper img {
  transform: scale(1.08);
}
.blog-sidebar-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}
.blog-sidebar-title {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.5;
  transition: color 0.3s;
}
.blog-sidebar-card:hover .blog-sidebar-title {
  color: var(--accent-green);
}
/* --- Tech Journal Pages (Listing / Detail) --- */
.blog-list-page, .blog-reader-page {
  background: linear-gradient(180deg, rgba(15, 18, 22, 0.98) 0%, rgba(8, 9, 12, 0.99) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 32px;
  padding: 56px 40px;
  color: #ffffff;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}
.blog-list-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
}
.blog-list-main-title {
  font-size: 28px;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(12, 181, 173, 0.2);
}
.blog-list-subtitle {
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  margin-top: 12px;
  max-width: 600px;
  line-height: 1.6;
}
/* Tabs Navigation Filter */
.blog-tabs-container {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}
.blog-tab-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-tab-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}
.blog-tab-btn.active {
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: #000000;
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(12, 181, 173, 0.35);
}
/* List Grid */
.blog-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 32px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: rgba(25, 29, 38, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.blog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(12, 181, 173, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(12, 181, 173, 0.15);
}
.blog-card-img-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.blog-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-card:hover .blog-card-img-wrapper img {
  transform: scale(1.06);
}
.blog-card-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(15, 18, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--accent-green);
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 50px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.blog-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 700;
}
.blog-card-title {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.5;
  transition: color 0.3s;
}
.blog-card:hover .blog-card-title {
  color: var(--accent-green);
}
.blog-card-excerpt {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}
.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.blog-card-read-more {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent-green);
  transition: gap 0.3s;
}
.blog-card:hover .blog-card-read-more {
  gap: 10px;
}
.blog-card-author {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 700;
}
/* Detail Reader Layout styling */
.blog-reader-page {
  padding-top: 40px;
}
.blog-reader-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  z-index: 9999;
}
.blog-reader-progress-bar {
  height: 100%;
  background: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
}
.btn-blog-back {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  padding: 10px 24px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  transition: all 0.3s;
  margin-bottom: 32px;
}
.btn-blog-back:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transform: translateX(4px);
}
.blog-detail-container {
  display: grid;
  grid-template-columns: 2.4fr 1fr;
  gap: 40px;
}
.blog-detail-main {
  background: rgba(20, 24, 30, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.blog-detail-cover {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 28px;
}
.blog-detail-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-detail-cover-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 18, 22, 0.95) 100%);
  padding: 40px 32px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.blog-detail-category {
  background: var(--accent-green);
  color: #000000;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
  align-self: flex-start;
  box-shadow: 0 4px 12px rgba(12, 181, 173, 0.3);
}
.blog-detail-title {
  font-size: 26px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.4;
}
.blog-detail-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  margin-bottom: 32px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}
.meta-divider {
  color: rgba(255, 255, 255, 0.1);
}
/* Article Body typography */
.blog-article-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.blog-lead-paragraph {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  color: #ffffff;
  border-right: 4px solid var(--accent-green);
  padding-right: 20px;
  margin-bottom: 8px;
}
.blog-body-paragraph {
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.75);
}
.blog-pull-quote {
  background: rgba(12, 181, 173, 0.05);
  border-right: 4px solid var(--accent-green);
  border-left: 1px solid rgba(12, 181, 173, 0.15);
  padding: 24px;
  border-radius: 12px;
  font-style: italic;
  font-size: 15px;
  line-height: 1.8;
  color: #ffffff;
  margin: 16px 0;
}
/* Feedback Widget */
.blog-feedback-widget {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.feedback-question {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
}
.feedback-actions {
  display: flex;
  gap: 12px;
}
.feedback-btn-like, .feedback-btn-share {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}
.feedback-btn-like:hover, .feedback-btn-share:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}
.feedback-btn-like.active {
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: #000000;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(12, 181, 173, 0.3);
}
/* Sidebar Widgets */
.blog-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.blog-sidebar-widget {
  background: rgba(20, 24, 30, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.blog-sidebar-widget-title {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
  margin-bottom: 20px;
}
.blog-recommended-product-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.blog-recommended-img-wrapper {
  width: 100%;
  height: 180px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}
.blog-recommended-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-recommended-img-wrapper:hover img {
  transform: scale(1.05);
}
.blog-recommended-product-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.5;
  cursor: pointer;
  transition: color 0.3s;
}
.blog-recommended-product-title:hover {
  color: var(--accent-green);
}
.blog-recommended-price-box {
  display: flex;
  justify-content: flex-start;
}
.blog-recommended-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--accent-green);
}
.blog-recommended-add-btn {
  background: var(--accent-green);
  border: none;
  color: #000000;
  padding: 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-recommended-add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(12, 181, 173, 0.4);
}
.blog-trust-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
}
/* Responsiveness */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-detail-container {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .tech-blog-section {
    padding: 32px 20px;
  }
  .blog-sidebar-card {
    flex-direction: column;
  }
  .blog-sidebar-img-wrapper {
    width: 100%;
    height: 150px;
  }
  .blog-list-page, .blog-reader-page {
    padding: 32px 20px;
  }
  .blog-feedback-widget {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* ==========================================
   MASTERPIECE FOOTER (Cyber-Glass Theme)
   ========================================== */
.masterpiece-footer {
  background: linear-gradient(180deg, rgba(16, 20, 24, 0.98) 0%, rgba(8, 9, 12, 1) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  padding-top: var(--space-6);
  color: #a0aec0;
}
/* Background Ambient Glows */
.masterpiece-footer::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(12, 181, 173, 0.05) 0%, transparent 70%);
  pointer-events: none;
}
.masterpiece-footer::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: 15%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(13, 202, 240, 0.04) 0%, transparent 70%);
  pointer-events: none;
}
/* 4 Core Trust Badges Grid */
.footer-trust-section {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: var(--space-6);
  margin-bottom: var(--space-6);
}
.footer-trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 640px) {
  .footer-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .footer-trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
/* Trust Cards */
.footer-trust-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}
.footer-trust-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}
.footer-trust-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.5);
}
.footer-trust-card:hover::before {
  opacity: 1;
}
.trust-card-green:hover {
  box-shadow: 0 10px 30px -10px rgba(12, 181, 173, 0.15), inset 0 1px 0 rgba(12, 181, 173, 0.2);
  border-color: rgba(12, 181, 173, 0.3);
}
.trust-card-cyan:hover {
  box-shadow: 0 10px 30px -10px rgba(13, 202, 240, 0.15), inset 0 1px 0 rgba(13, 202, 240, 0.2);
  border-color: rgba(13, 202, 240, 0.3);
}
/* Icons */
.trust-card-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-xl);
  transition: all var(--transition-normal);
  background: rgba(255, 255, 255, 0.03);
}
.trust-card-green .trust-card-icon-wrapper {
  color: var(--accent-green);
  border: 1px solid rgba(12, 181, 173, 0.1);
}
.trust-card-cyan .trust-card-icon-wrapper {
  color: var(--accent-cyan);
  border: 1px solid rgba(13, 202, 240, 0.1);
}
.footer-trust-card:hover .trust-card-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}
.trust-card-green:hover .trust-card-icon-wrapper {
  background: rgba(12, 181, 173, 0.1);
  color: #fff;
  border-color: var(--accent-green);
  box-shadow: 0 0 15px rgba(12, 181, 173, 0.3);
}
.trust-card-cyan:hover .trust-card-icon-wrapper {
  background: rgba(13, 202, 240, 0.1);
  color: #fff;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(13, 202, 240, 0.3);
}
/* Info */
.trust-card-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.trust-card-title {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}
.trust-card-desc {
  color: #718096;
  font-size: 12px;
}
/* Main Links Section */
.footer-links-section {
  padding-bottom: var(--space-6);
}
.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
@media (min-width: 640px) {
  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .footer-links-grid {
    grid-template-columns: 2fr 1.2fr 1.2fr 1.6fr;
  }
}
/* Col About */
.footer-col-about {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.footer-logo {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}
.logo-accent {
  color: var(--accent-green);
  text-shadow: 0 0 20px rgba(12, 181, 173, 0.3);
}
.footer-about-text {
  font-size: 14px;
  line-height: 1.8;
  color: #718096;
}
/* Newsletter block */
.footer-newsletter {
  margin-top: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 380px;
}
.newsletter-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.newsletter-form {
  position: relative;
  display: flex;
  align-items: center;
}
.newsletter-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 12px 16px;
  padding-left: 56px; /* Space for the button */
  color: #fff;
  font-family: var(--font-primary);
  font-size: 14px;
  outline: none;
  transition: all var(--transition-normal);
}
.newsletter-input:focus {
  border-color: var(--accent-green);
  box-shadow: 0 0 15px rgba(12, 181, 173, 0.15);
  background: rgba(0, 0, 0, 0.4);
}
.newsletter-submit {
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 42px;
  background: var(--accent-green);
  color: #000;
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
}
.newsletter-submit:hover {
  background: var(--accent-green-hover);
  transform: scale(1.05);
}
.newsletter-submit:active {
  background: var(--accent-green-active);
}
.newsletter-submit.success {
  background: var(--accent-cyan);
  color: #000;
}
.newsletter-success-msg {
  font-size: 12px;
  color: var(--accent-cyan);
  margin-top: 4px;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Col Link Lists */
.footer-col-title {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: var(--space-4);
  position: relative;
  display: inline-block;
}
.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 24px;
  height: 2px;
  background: var(--accent-green);
  box-shadow: 0 0 10px rgba(12, 181, 173, 0.5);
}
.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer-link {
  color: #718096;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  transition: all var(--transition-normal);
}
.footer-link:hover {
  color: var(--accent-green);
  transform: translateX(-6px);
}
/* License column */
.footer-col-licenses {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.footer-licenses-wrapper {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.footer-license-card {
  flex: 1;
  min-width: 100px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  transition: all var(--transition-normal);
  cursor: pointer;
}
.footer-license-card .license-icon {
  margin-bottom: var(--space-1);
  transition: all var(--transition-normal);
}
.footer-license-card .license-name {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.footer-license-card .license-detail {
  color: #718096;
  font-size: 11px;
}
/* License Hover Glows */
.license-card-green:hover {
  background: rgba(12, 181, 173, 0.03);
  border-color: rgba(12, 181, 173, 0.3);
  box-shadow: 0 8px 25px rgba(12, 181, 173, 0.1);
  transform: translateY(-3px);
}
.license-card-green:hover .license-icon {
  color: var(--accent-green);
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(12, 181, 173, 0.5));
}
.license-card-cyan:hover {
  background: rgba(13, 202, 240, 0.03);
  border-color: rgba(13, 202, 240, 0.3);
  box-shadow: 0 8px 25px rgba(13, 202, 240, 0.1);
  transform: translateY(-3px);
}
.license-card-cyan:hover .license-icon {
  color: var(--accent-cyan);
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(13, 202, 240, 0.5));
}
/* Social Medias */
.footer-socials {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-2);
}
.social-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-round);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #718096;
  transition: all var(--transition-normal);
  text-decoration: none;
}
.social-badge:hover {
  color: #fff;
  transform: translateY(-3px);
}
.social-instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
  box-shadow: 0 5px 15px rgba(220, 39, 67, 0.4);
}
.social-youtube:hover {
  background: #ff0000;
  border-color: transparent;
  box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}
.social-telegram:hover {
  background: #0088cc;
  border-color: transparent;
  box-shadow: 0 5px 15px rgba(0, 136, 204, 0.4);
}
/* Copyright section */
.footer-copyright-section {
  background: #090a0d;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding: var(--space-4) 0;
  font-size: 12px;
  color: #4a5568;
}
.footer-copyright-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
}
/* Sticky Header Animations */
@keyframes slideDownHeader {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
/* Back to Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background-color: var(--accent-green);
  color: #FFFFFF;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(12, 181, 173, 0.4);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
}
.back-to-top-btn.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.back-to-top-btn:hover {
  background-color: var(--accent-green-hover);
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 6px 20px rgba(12, 181, 173, 0.6);
}
/* ==========================================================================
   NOAVARAN GHARB - MASTER RESPONSIVE STYLESHEET
   Covers: 320px, 360px, 480px, 640px, 768px, 1024px, 1280px, 1440px, 1920px+
   RTL-First, Modern Touch-Friendly, Production-Grade
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. GLOBAL RESET & OVERFLOW HARDENING
   -------------------------------------------------------------------------- */
html {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}

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

body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  position: relative;
  margin: 0;
  padding: 0;
}

img, svg, video, canvas {
  max-width: 100%;
  height: auto;
}

/* Ensure padding at bottom of main container on mobile for the bottom nav */
.container, main.container {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

@media (min-width: 1440px) {
  .container, main.container {
    max-width: 1408px !important;
  }
}

main, main > *, .parallax-hero-wrapper, .parallax-scene {
  min-width: 0 !important;
  max-width: 100% !important;
}

@media (max-width: 767px) {
  main.container {
    padding-bottom: 90px !important;
  }
}

/* --------------------------------------------------------------------------
   2. HEADER & NAVIGATION (DESKTOP VS MOBILE)
   -------------------------------------------------------------------------- */
/* Desktop Header Wrapper */
@media (max-width: 1023px) {
  .desktop-header-wrapper {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .desktop-header-wrapper {
    display: block !important;
  }
}

/* Mobile Header Bar (< 1024px) */
.mobile-header-wrapper {
  display: none;
  width: 100%;
  height: 60px;
  position: relative;
}

@media (max-width: 1023px) {
  .mobile-header-wrapper {
    display: block;
  }
}

.mobile-header-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--accent-green);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  z-index: 1000;
  width: 100%;
}

.mobile-header-container {
  max-width: 100%;
  height: 100%;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-icon-btn {
  background: transparent;
  border: none;
  color: var(--primary-dark);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.mobile-icon-btn:hover, .mobile-icon-btn:active {
  background: rgba(12, 181, 173, 0.08);
  color: var(--accent-green);
}

.mobile-cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--danger-error);
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2px;
}

/* Expandable Mobile Search Bar */
.mobile-search-expandable {
  background: #ffffff;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  position: relative;
  animation: slideDownSearch 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.mobile-search-input {
  width: 100%;
  background-color: var(--neutral-light);
  border: 1px solid var(--neutral-border);
  border-radius: 10px;
  padding: 10px 14px 10px 42px;
  font-size: 13px;
  font-family: var(--font-primary);
  color: var(--primary-dark);
  outline: none;
  direction: rtl;
}

.mobile-search-input:focus {
  border-color: var(--accent-green);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(12, 181, 173, 0.12);
}

.mobile-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--neutral-medium);
  pointer-events: none;
}

.mobile-search-clear {
  position: absolute;
  left: 38px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--neutral-medium);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-search-results {
  margin-top: 8px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  max-height: 280px;
  overflow-y: auto;
}

.mobile-search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  cursor: pointer;
}

.mobile-search-thumb {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.mobile-search-item-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-search-item-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-green);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   3. MOBILE SLIDE-OVER DRAWER (RTL)
   -------------------------------------------------------------------------- */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  justify-content: flex-start;
  animation: fadeInDrawer 0.25s ease-out;
}

@keyframes fadeInDrawer {
  from { opacity: 0; }
  to { opacity: 1; }
}

.mobile-drawer-panel {
  width: 85%;
  max-width: 360px;
  height: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  direction: rtl;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
  animation: slideInDrawer 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInDrawer {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-drawer-close-btn {
  background: var(--neutral-light);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-dark);
  cursor: pointer;
}

.mobile-drawer-user-card {
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(12, 181, 173, 0.06) 0%, rgba(12, 181, 173, 0.02) 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(12, 181, 173, 0.15);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-drawer-links {
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  color: var(--primary-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.02);
}

.mobile-drawer-link:hover, .mobile-drawer-link:active {
  background: rgba(12, 181, 173, 0.05);
  color: var(--accent-green);
}

.drawer-caret {
  margin-right: auto;
  opacity: 0.4;
}

.mobile-drawer-cat-section {
  padding: 12px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin: 8px 0;
  background: var(--neutral-light);
}

.mobile-drawer-cat-header {
  padding: 4px 20px 8px 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--neutral-medium);
}

.mobile-drawer-cat-group {
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.mobile-drawer-cat-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary-dark);
}

.mobile-drawer-cat-trigger.open {
  color: var(--accent-green);
  background: #ffffff;
}

.mobile-drawer-subcat-list {
  background: #ffffff;
  padding: 8px 20px 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-drawer-subcat-all-btn {
  text-align: right;
  border: none;
  background: rgba(12, 181, 173, 0.08);
  color: var(--accent-green);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-primary);
  cursor: pointer;
  margin-bottom: 8px;
}

.mobile-drawer-subcat-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--neutral-medium);
  margin-bottom: 4px;
}

.mobile-drawer-subcat-item {
  font-size: 12.5px;
  color: var(--neutral-dark);
  padding: 5px 0;
  cursor: pointer;
  transition: color 0.15s;
}

.mobile-drawer-subcat-item:hover {
  color: var(--accent-green);
}

.mobile-drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--neutral-light);
}

/* --------------------------------------------------------------------------
   4. FIXED MOBILE BOTTOM NAVIGATION BAR (< 768px)
   -------------------------------------------------------------------------- */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.06);
  z-index: 999;
  justify-content: space-around;
  align-items: center;
  padding: 0 8px;
  padding-bottom: env(safe-area-inset-bottom);
}

@media (max-width: 767px) {
  .mobile-bottom-nav {
    display: flex;
  }
}

.mobile-bottom-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  color: var(--neutral-medium);
  font-size: 10.5px;
  font-weight: 600;
  font-family: var(--font-primary);
  padding: 6px 12px;
  border-radius: 12px;
  transition: all 0.2s ease;
  position: relative;
  flex: 1;
}

.mobile-bottom-tab.active {
  color: var(--accent-green);
}

.mobile-bottom-tab.active svg {
  color: var(--accent-green);
  transform: translateY(-1px);
}

.mobile-bottom-cart-badge {
  position: absolute;
  top: 2px;
  right: calc(50% - 18px);
  background: var(--danger-error);
  color: #fff;
  font-size: 9px;
  font-weight: bold;
  min-width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2px;
}

/* --------------------------------------------------------------------------
   5. PARALLAX HERO SLIDER RESPONSIVE OVERHAUL
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  .parallax-hero-wrapper {
    height: auto !important;
    min-height: 480px !important;
    perspective: none !important;
    padding: 32px 16px 48px 16px !important;
  }

  .parallax-scene {
    max-width: 100% !important;
    height: auto !important;
    transform: none !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .parallax-slide {
    display: none !important;
  }

  .parallax-slide.active {
    display: flex !important;
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    flex-direction: column-reverse !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 20px !important;
    opacity: 1 !important;
    filter: none !important;
  }

  .parallax-glass-card {
    width: 100% !important;
    max-width: 600px !important;
    padding: 24px 20px !important;
    transform: none !important;
    text-align: right;
  }

  .parallax-product-layer {
    width: 100% !important;
    max-width: 380px !important;
    height: 220px !important;
    transform: none !important;
  }

  .parallax-product-image {
    max-height: 210px !important;
    animation: none !important;
  }
}

@media (max-width: 768px) {
  .hero-nav-arrow-btn {
    display: none !important;
  }

  .mobile-filter-drawer-body > div:first-child {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .parallax-hero-wrapper {
    min-height: 440px !important;
    padding: 20px 12px 40px 12px !important;
    border-radius: 16px !important;
  }

  .parallax-product-layer {
    height: 170px !important;
  }

  .parallax-product-image {
    max-height: 160px !important;
  }

  .parallax-glass-card {
    padding: 16px !important;
    border-radius: 16px !important;
  }
}

/* --------------------------------------------------------------------------
   6. CATEGORIES ACCORDION RESPONSIVE OVERHAUL
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  .accordion-container {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    height: auto !important;
    gap: 16px !important;
  }

  .accordion-panel {
    flex: none !important;
    width: 100% !important;
    height: 200px !important;
    border-radius: 18px !important;
  }

  .accordion-panel:hover {
    flex: none !important;
    transform: translateY(-4px) !important;
  }

  .accordion-content {
    opacity: 1 !important;
    transform: none !important;
  }

  .accordion-description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@media (max-width: 540px) {
  .accordion-container {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .accordion-panel {
    height: 160px !important;
  }

  .accordion-tags {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   7. PC MATCHER DASHBOARD RESPONSIVE OVERHAUL
   -------------------------------------------------------------------------- */
@media (max-width: 820px) {
  .dashboard-matcher {
    padding: 24px 18px !important;
    border-radius: 18px !important;
  }

  .dashboard-title-area {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
  }

  .dashboard-title-area button {
    width: 100% !important;
    justify-content: center !important;
  }
}

@media (max-width: 640px) {
  .dashboard-stats {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .dashboard-stat-box {
    padding: 12px 14px !important;
  }
}

/* --------------------------------------------------------------------------
   8. SPECIAL OFFERS COVERFLOW RESPONSIVE OVERHAUL
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .spotlight-stage {
    height: 600px !important;
  }

  .coverflow-container {
    height: 480px !important;
    margin-top: 50px !important;
  }

  .coverflow-item {
    width: 300px !important;
    height: 410px !important;
    padding: 18px !important;
  }

  .coverflow-item.prev-1 {
    transform: translateX(100px) translateZ(-60px) rotateY(-15deg) scale(0.8) !important;
  }

  .coverflow-item.prev-2 {
    display: none !important;
  }

  .coverflow-item.next-1 {
    transform: translateX(-100px) translateZ(-60px) rotateY(15deg) scale(0.8) !important;
  }

  .coverflow-item.next-2 {
    display: none !important;
  }

  .spotlight-header-overlay {
    top: 24px !important;
    right: 24px !important;
    gap: 14px !important;
  }

  .spotlight-header-title {
    font-size: 20px !important;
  }

  .atmospheric-timer {
    font-size: 15px !important;
    padding: 6px 12px !important;
  }

  .spotlight-view-all-btn {
    top: 24px !important;
    left: 24px !important;
    padding: 6px 14px !important;
    font-size: 13px !important;
  }

  .coverflow-controls {
    top: calc(50% + 25px) !important;
    padding: 0 20px !important;
  }
}

@media (max-width: 680px) {
  .spotlight-stage {
    height: 560px !important;
    border-radius: 18px !important;
  }

  .coverflow-container {
    height: 440px !important;
    margin-top: 50px !important;
  }

  .coverflow-item {
    width: min(280px, 80vw) !important;
    height: 360px !important;
    padding: 16px !important;
  }

  .coverflow-img {
    max-height: 150px !important;
  }

  .coverflow-title {
    font-size: 14px !important;
  }

  .coverflow-price {
    font-size: 18px !important;
  }

  .coverflow-item.prev-1 {
    transform: translateX(75px) translateZ(-60px) rotateY(-15deg) scale(0.78) !important;
  }

  .coverflow-item.prev-2 {
    display: none !important;
  }

  .coverflow-item.next-1 {
    transform: translateX(-75px) translateZ(-60px) rotateY(15deg) scale(0.78) !important;
  }

  .coverflow-item.next-2 {
    display: none !important;
  }

  .spotlight-header-overlay {
    top: 16px !important;
    right: 14px !important;
    gap: 8px !important;
  }

  .spotlight-header-title {
    font-size: 15px !important;
    gap: 6px !important;
  }

  .spotlight-pulse-dot {
    width: 8px !important;
    height: 8px !important;
  }

  .atmospheric-timer {
    font-size: 12px !important;
    padding: 4px 8px !important;
    letter-spacing: 0.5px !important;
  }

  .spotlight-view-all-btn {
    top: 16px !important;
    left: 14px !important;
    padding: 4px 10px !important;
    font-size: 11px !important;
  }

  .coverflow-controls {
    top: calc(50% + 25px) !important;
    padding: 0 8px !important;
  }

  .coverflow-control-btn {
    width: 38px !important;
    height: 38px !important;
  }
}

/* --------------------------------------------------------------------------
   9. PREMIUM GLASS BANNERS RESPONSIVE OVERHAUL
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .premium-banners-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .premium-glass-banner {
    padding: 28px 24px !important;
    min-height: auto !important;
    flex-direction: column-reverse !important;
    align-items: stretch !important;
    gap: 20px !important;
    border-radius: 20px !important;
  }

  .banner-image-wrapper {
    height: 180px !important;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .banner-hardware-img {
    max-height: 170px !important;
  }
}

/* --------------------------------------------------------------------------
   10. BEST SELLERS STAGE & ELITE BENTO GRID
   -------------------------------------------------------------------------- */
@media (max-width: 820px) {
  .bestsellers-stage {
    padding: 28px 18px !important;
    border-radius: 20px !important;
  }

  .bestsellers-stage-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .stage-carousel-control {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .carousel-product-card {
    padding: 14px !important;
    border-radius: 16px !important;
  }

  .elite-mini-grid {
    gap: 12px !important;
  }

  .elite-mini-card {
    padding: 14px !important;
    border-radius: 16px !important;
  }

  .spotlight-glass-panel {
    padding: 20px !important;
  }
}

@media (max-width: 440px) {
  .elite-mini-grid {
    grid-template-columns: 1fr !important;
  }
}

/* --------------------------------------------------------------------------
   11. CATALOG PAGE & FILTER DRAWER
   -------------------------------------------------------------------------- */
/* Mobile Filter Drawer Overlay */
.mobile-filter-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2500;
  display: flex;
  justify-content: flex-end;
  animation: fadeInDrawer 0.25s ease-out;
}

.mobile-filter-drawer-panel {
  width: 90%;
  max-width: 380px;
  height: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  direction: rtl;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.25);
  animation: slideInDrawer 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-filter-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
}

.mobile-filter-drawer-body {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
}

.mobile-filter-drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: #ffffff;
  position: sticky;
  bottom: 0;
  display: flex;
  gap: 12px;
}

.mobile-filter-apply-btn {
  flex: 1;
  background: var(--accent-green);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  font-family: var(--font-primary);
}

.mobile-filter-reset-btn {
  background: var(--neutral-light);
  color: var(--danger-error);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  font-family: var(--font-primary);
}

.mobile-filter-trigger-btn {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--neutral-light);
  border: 1px solid var(--neutral-border);
  color: var(--primary-dark);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-filter-trigger-btn:hover {
  background: rgba(12, 181, 173, 0.08);
  border-color: var(--accent-green);
  color: var(--accent-green);
}

.mobile-filter-badge {
  background: var(--accent-green);
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1023px) {
  .catalog-desktop-sidebar {
    display: none !important;
  }

  .mobile-filter-trigger-btn {
    display: inline-flex !important;
  }
}

/* Catalog Products Grid Mobile */
@media (max-width: 580px) {
  .catalog-products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .glass-product-card {
    padding: 12px 10px !important;
    border-radius: 12px !important;
  }
}

@media (max-width: 350px) {
  .catalog-products-grid {
    grid-template-columns: 1fr !important;
  }
}

/* --------------------------------------------------------------------------
   12. PRODUCT DETAILS PAGE RESPONSIVE OVERHAUL
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .product-details-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

/* Mobile Sticky Bottom Purchase Bar */
.product-sticky-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 12px 16px;
  z-index: 1500;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
}

@media (max-width: 767px) {
  .product-sticky-bottom-bar {
    display: flex;
  }
}

/* --------------------------------------------------------------------------
   13. CART & CHECKOUT RESPONSIVE OVERHAUL
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .cart-item-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
    padding: 16px 12px !important;
  }

  .cart-item-top {
    display: flex;
    gap: 12px;
    align-items: center;
  }

  .cart-item-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    padding-top: 10px;
  }
}

/* --------------------------------------------------------------------------
   14. TOAST NOTIFICATIONS & MODALS RESPONSIVE OVERHAUL
   -------------------------------------------------------------------------- */
.premium-toast {
  width: calc(100vw - 32px) !important;
  max-width: 420px !important;
}

@media (max-width: 520px) {
  .premium-toast-container {
    top: 16px !important;
    left: 16px !important;
    right: 16px !important;
  }
}
