/* ============================================
   RESET & BASE - TEAL THEME
   ============================================ */
* {
  -webkit-tap-highlight-color: transparent;
}   
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.app-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #0b0f1a;
  transition: opacity 0.4s ease;
}

.app-loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.app-loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255,255,255,0.15);
  border-top-color: #4fc3f7;
  border-radius: 50%;
  animation: app-loading-spin 0.8s linear infinite;
}

.app-loading-text {
  color: #cfd8e3;
  font-size: 14px;
}

@keyframes app-loading-spin {
  to { transform: rotate(360deg); }
}

:root {
  --bg-primary: #061214;
  --bg-secondary: #0A1A1E;
  --bg-tertiary: #0E2429;
  --bg-card: rgba(10, 26, 30, 0.88);
  
  --accent-teal: #00BCD4;
  --accent-teal-light: #4DD0E1;
  --accent-teal-dark: #00838F;
  --accent-teal-glow: #26C6DA;
  --accent-mint: #80CBC4;
  --accent-cream: #E0F7FA;
  
  --text-primary: #E0F7FA;
  --text-secondary: #B2DFDB;
  --text-muted: #80CBC4;
  
  --glass-bg: rgba(6, 18, 20, 0.82);
  --glass-border: rgba(0, 188, 212, 0.18);
  --glass-shadow: 0 8px 40px rgba(0, 0, 0, 0.7);
  
  --shadow-glow: 0 8px 48px rgba(0, 188, 212, 0.18);
  --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.5);
  --shadow-elevated: 0 12px 64px rgba(0, 0, 0, 0.7);
  
  --font-display: 'Playfair Display', 'Vazirmatn', serif;
  --font-body: 'Inter', 'Vazirmatn', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.23, 1, 0.32, 1);
  --transition-base: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  --transition-slow: 0.7s cubic-bezier(0.23, 1, 0.32, 1);
  
  --container-max: 1400px;
  --navbar-height: 72px;
}

[data-theme="light"] {
  --bg-primary: #E0F7FA;
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #B2EBF2;
  --bg-card: rgba(255, 255, 255, 0.92);
  
  --text-primary: #004D40;
  --text-secondary: #00695C;
  --text-muted: #4DB6AC;
  
  --accent-teal: #00ACC1;
  --accent-teal-light: #4DD0E1;
  --accent-teal-dark: #00838F;
  --accent-teal-glow: #26C6DA;
  --accent-mint: #80CBC4;
  --accent-cream: #E0F7FA;
  
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(0, 188, 212, 0.2);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-elevated: 0 12px 48px rgba(0, 0, 0, 0.08);
}

[data-theme="purple-salmon"] {
  --bg-primary: #1B1130;
  --bg-secondary: #241A3D;
  --bg-tertiary: #2F2150;
  --bg-card: rgba(36, 26, 61, 0.88);
  
  --text-primary: #F5F0F1;
  --text-secondary: #D6C9E8;
  --text-muted: #9884BE;
  
  --accent-teal: #F9906F;
  --accent-teal-light: #FBAE94;
  --accent-teal-dark: #E37350;
  --accent-teal-glow: #F9906F;
  --accent-mint: #C9B8E8;
  --accent-cream: #F5F0F1;
  
  --glass-bg: rgba(27, 17, 48, 0.82);
  --glass-border: rgba(249, 144, 111, 0.18);
  --glass-shadow: 0 8px 40px rgba(0, 0, 0, 0.7);
  
  --shadow-glow: 0 8px 48px rgba(249, 144, 111, 0.18);
  --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.5);
  --shadow-elevated: 0 12px 64px rgba(0, 0, 0, 0.7);
}

[data-theme="green-mango"] {
  --bg-primary: #10231C;
  --bg-secondary: #17332A;
  --bg-tertiary: #1E4235;
  --bg-card: rgba(23, 51, 42, 0.88);
  
  --text-primary: #FFEFD9;
  --text-secondary: #D9C4A0;
  --text-muted: #8FAE9E;
  
  --accent-teal: #DB7F45;
  --accent-teal-light: #E89D6C;
  --accent-teal-dark: #B8652F;
  --accent-teal-glow: #DB7F45;
  --accent-mint: #FFD49D;
  --accent-cream: #FFF3E0;
  
  --glass-bg: rgba(16, 35, 28, 0.82);
  --glass-border: rgba(219, 127, 69, 0.18);
  --glass-shadow: 0 8px 40px rgba(0, 0, 0, 0.7);
  
  --shadow-glow: 0 8px 48px rgba(219, 127, 69, 0.18);
  --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.5);
  --shadow-elevated: 0 12px 64px rgba(0, 0, 0, 0.7);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  transition: background var(--transition-base), color var(--transition-base);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(0, 188, 212, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(128, 203, 196, 0.04) 0%, transparent 60%),
    var(--bg-primary);
  z-index: -2;
  transition: background var(--transition-base);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 60%, rgba(0, 188, 212, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 70% 40%, rgba(128, 203, 196, 0.02) 0%, transparent 50%);
  z-index: -1;
  animation: ambientGlow 25s ease-in-out infinite alternate;
}

@keyframes ambientGlow {
  0% { opacity: 0.4; transform: scale(1) rotate(0deg); }
  100% { opacity: 1; transform: scale(1.15) rotate(3deg); }
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-teal);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-teal-light);
}

::selection {
  background: var(--accent-teal);
  color: #061214;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: background var(--transition-base), 
              border-color var(--transition-base),
              box-shadow var(--transition-base);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  transition: all var(--transition-base);
}

.navbar.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: normal;
  color: var(--text-primary);
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color var(--transition-fast);
}

.nav-logo:hover {
  color: var(--accent-teal);
}

.nav-logo .brand-text {
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-teal-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-badge {
  font-size: 0.55rem;
  letter-spacing: 2px;
  color: var(--accent-teal);
  background: rgba(0, 188, 212, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  border: 1px solid var(--glass-border);
  font-weight: 600;
}

.logo-planet {
  position: relative;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  animation: logoPlanetFloat 4s ease-in-out infinite;
}

@keyframes logoPlanetFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(8deg); }
}

.logo-planet .planet-core {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 35% 35%, 
    #4DD0E1, 
    #00ACC1 40%, 
    #00838F 70%, 
    #004D40 100%
  );
  box-shadow: 
    0 0 20px rgba(0, 188, 212, 0.25),
    inset -4px -4px 12px rgba(0, 0, 0, 0.4),
    inset 3px 3px 8px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.logo-planet .planet-core .mini-atmosphere {
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 40%, 
    rgba(255, 255, 255, 0.05) 0%,
    transparent 60%
  );
  animation: miniAtmoPulse 3s ease-in-out infinite alternate;
}

@keyframes miniAtmoPulse {
  0% { opacity: 0.3; transform: scale(0.9); }
  100% { opacity: 0.7; transform: scale(1.1); }
}

.logo-planet .mini-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotateX(70deg) rotateZ(15deg);
  width: 160%;
  height: 6px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 188, 212, 0.15);
  border-top-color: rgba(0, 188, 212, 0.4);
  border-bottom-color: rgba(0, 188, 212, 0.02);
  animation: miniRingSpin 12s linear infinite;
  pointer-events: none;
}

@keyframes miniRingSpin {
  0% { transform: translate(-50%, -50%) rotateX(70deg) rotateZ(0deg); }
  100% { transform: translate(-50%, -50%) rotateX(70deg) rotateZ(360deg); }
}

.logo-planet .mini-items {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.logo-planet .mini-items span {
  position: absolute;
  font-size: 0.55rem;
  animation: miniFly 6s ease-in-out infinite;
  opacity: 0.8;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.1));
}

.logo-planet .mini-items span:nth-child(1) {
  top: 5%;
  left: 10%;
  animation-delay: 0s;
}
.logo-planet .mini-items span:nth-child(2) {
  top: 15%;
  left: 60%;
  animation-delay: 1.5s;
}
.logo-planet .mini-items span:nth-child(3) {
  top: 55%;
  left: 5%;
  animation-delay: 3s;
}
.logo-planet .mini-items span:nth-child(4) {
  top: 60%;
  left: 70%;
  animation-delay: 4.5s;
}
.logo-planet .mini-items span:nth-child(5) {
  top: 30%;
  left: 75%;
  animation-delay: 2s;
}
.logo-planet .mini-items span:nth-child(6) {
  top: 75%;
  left: 40%;
  animation-delay: 5s;
}

@keyframes miniFly {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  25% { transform: translate(4px, -6px) scale(1.2) rotate(10deg); }
  50% { transform: translate(-3px, -10px) scale(0.9) rotate(-8deg); }
  75% { transform: translate(5px, -4px) scale(1.1) rotate(12deg); }
  100% { transform: translate(0, 0) scale(1) rotate(0deg); }
}

.logo-planet .mini-glow {
  position: absolute;
  top: -30%;
  left: -30%;
  width: 160%;
  height: 160%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 40% 30%, 
    rgba(0, 188, 212, 0.06),
    transparent 60%
  );
  animation: miniGlowPulse 2.5s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes miniGlowPulse {
  0% { opacity: 0.2; transform: scale(0.8); }
  100% { opacity: 0.6; transform: scale(1.2); }
}

.nav-menu {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color var(--transition-fast);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-teal-light));
  transition: width var(--transition-fast);
  border-radius: var(--radius-full);
}

.nav-link:hover,
.nav-link:focus {
  color: var(--text-primary);
}

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

.nav-link.active {
  color: var(--accent-teal);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.icon-btn {
  position: relative;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
}

.icon-btn:hover,
.icon-btn:focus {
  background: rgba(0, 188, 212, 0.08);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.icon-btn:focus-visible {
  outline: 2px solid var(--accent-teal);
  outline-offset: 2px;
}

.icon-btn .badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--accent-teal);
  color: #061214;
  font-size: 0.6rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  transition: transform var(--transition-fast);
}

.icon-btn .badge.hidden {
  transform: scale(0);
  opacity: 0;
}

.theme-picker-overlay {
  position: fixed;
  inset: 0;
  z-index: 998;
  display: none;
}

.theme-picker-overlay.active {
  display: block;
}

.theme-picker-panel {
  position: fixed;
  top: calc(var(--navbar-height) + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: min(340px, 90vw);
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevated);
  padding: 16px;
  z-index: 999;
}

.theme-picker-title {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  padding: 0 4px;
}

.theme-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  transition: background var(--transition-fast);
  font-family: var(--font-body);
  color: var(--text-primary);
  text-align: right;
}

.theme-option:hover {
  background: rgba(128, 128, 128, 0.08);
}

.theme-option.active {
  border-color: var(--accent-teal);
  background: rgba(128, 128, 128, 0.08);
}

.theme-option-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid var(--glass-border);
}

.theme-option-label {
  font-size: 0.9rem;
}

.theme-option-check {
  margin-right: auto;
  color: var(--accent-teal);
  opacity: 0;
}

.theme-option.active .theme-option-check {
  opacity: 1;
}

.lang-btn {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  min-width: auto;
  color: var(--accent-teal);
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  background: rgba(0, 188, 212, 0.1);
  border-color: var(--accent-teal);
}

.mobile-menu-btn {
  display: none;
}

.planet-hero {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 24px;
  animation: planetFloat 6s ease-in-out infinite;
}

@keyframes planetFloat {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  50% { transform: translateY(-18px) rotate(6deg) scale(1.02); }
}

.planet-sphere {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 30% 25%, 
    #4DD0E1, 
    #00ACC1 20%, 
    #00838F 45%, 
    #004D40 70%, 
    #00261F 100%
  );
  position: relative;
  box-shadow: 
    0 0 80px rgba(0, 188, 212, 0.25),
    0 0 160px rgba(0, 188, 212, 0.08),
    inset -25px -25px 80px rgba(0, 0, 0, 0.5),
    inset 15px 15px 60px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.06);
}

.planet-sphere::before {
  content: '';
  position: absolute;
  top: 20%;
  left: -10%;
  width: 120%;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.04), 
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.04),
    transparent
  );
  transform: rotate(-8deg);
}

.planet-sphere::after {
  content: '';
  position: absolute;
  top: 55%;
  left: -10%;
  width: 120%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.03), 
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.03),
    transparent
  );
  transform: rotate(5deg);
}

.planet-atmosphere {
  position: absolute;
  top: -12%;
  left: -12%;
  width: 124%;
  height: 124%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 55% 35%, 
    rgba(255, 255, 255, 0.06) 0%,
    rgba(0, 188, 212, 0.02) 30%,
    transparent 70%
  );
  animation: atmospherePulse 4s ease-in-out infinite alternate;
}

@keyframes atmospherePulse {
  0% { opacity: 0.4; transform: scale(1); }
  100% { opacity: 0.8; transform: scale(1.06); }
}

.planet-glow {
  position: absolute;
  top: -35%;
  left: -35%;
  width: 170%;
  height: 170%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 35% 25%, 
    rgba(0, 188, 212, 0.08),
    rgba(0, 188, 212, 0.02) 40%,
    transparent 70%
  );
  animation: glowPulse 3.5s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes glowPulse {
  0% { opacity: 0.3; transform: scale(0.85); }
  100% { opacity: 0.8; transform: scale(1.15); }
}

.planet-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotateX(78deg) rotateZ(22deg);
  width: 190%;
  height: 24px;
  border-radius: 50%;
  border: 3px solid rgba(0, 188, 212, 0.15);
  border-top-color: rgba(0, 188, 212, 0.5);
  border-bottom-color: rgba(0, 188, 212, 0.03);
  animation: ringSpin 22s linear infinite;
  pointer-events: none;
  box-shadow: 0 0 40px rgba(0, 188, 212, 0.04);
}

.planet-ring::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
  border-radius: 50%;
  border: 2px solid rgba(0, 188, 212, 0.06);
}

.planet-ring::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border-radius: 50%;
  border: 2px solid rgba(0, 188, 212, 0.04);
}

@keyframes ringSpin {
  0% { transform: translate(-50%, -50%) rotateX(78deg) rotateZ(0deg); }
  100% { transform: translate(-50%, -50%) rotateX(78deg) rotateZ(360deg); }
}

.floating-items {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-item {
  position: absolute;
  font-size: 2rem;
  animation: flyAround 14s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.08));
  opacity: 0.85;
  transform-origin: center;
}

.floating-item:nth-child(1) {
  animation-delay: 0s;
  animation-duration: 15s;
  top: 8%;
  left: 12%;
}
.floating-item:nth-child(2) {
  animation-delay: 1.8s;
  animation-duration: 12s;
  top: 18%;
  left: 55%;
}
.floating-item:nth-child(3) {
  animation-delay: 3.6s;
  animation-duration: 17s;
  top: 45%;
  left: 6%;
}
.floating-item:nth-child(4) {
  animation-delay: 0.9s;
  animation-duration: 14s;
  top: 55%;
  left: 62%;
}
.floating-item:nth-child(5) {
  animation-delay: 2.7s;
  animation-duration: 16s;
  top: 25%;
  left: 72%;
}
.floating-item:nth-child(6) {
  animation-delay: 4.5s;
  animation-duration: 13s;
  top: 72%;
  left: 32%;
}
.floating-item:nth-child(7) {
  animation-delay: 2.2s;
  animation-duration: 18s;
  top: 3%;
  left: 38%;
}
.floating-item:nth-child(8) {
  animation-delay: 4s;
  animation-duration: 15s;
  top: 82%;
  left: 68%;
}
.floating-item:nth-child(9) {
  animation-delay: 1.4s;
  animation-duration: 14s;
  top: 38%;
  left: 80%;
}
.floating-item:nth-child(10) {
  animation-delay: 3.2s;
  animation-duration: 16s;
  top: 88%;
  left: 10%;
}

@keyframes flyAround {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    opacity: 0.6;
  }
  12% {
    transform: translate(18px, -28px) scale(1.2) rotate(12deg);
    opacity: 1;
  }
  25% {
    transform: translate(-8px, -45px) scale(0.85) rotate(-8deg);
    opacity: 0.75;
  }
  37% {
    transform: translate(25px, -18px) scale(1.15) rotate(18deg);
    opacity: 1;
  }
  50% {
    transform: translate(-18px, -38px) scale(0.8) rotate(-12deg);
    opacity: 0.7;
  }
  62% {
    transform: translate(12px, -8px) scale(1.25) rotate(8deg);
    opacity: 1;
  }
  75% {
    transform: translate(-12px, -32px) scale(0.9) rotate(-6deg);
    opacity: 0.8;
  }
  87% {
    transform: translate(20px, -22px) scale(1.1) rotate(14deg);
    opacity: 0.95;
  }
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    opacity: 0.6;
  }
}

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 80px 24px 60px;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  animation: fadeUp 1.2s ease-out forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-badge {
  display: inline-block;
  padding: 6px 24px;
  border: 1px solid var(--accent-teal);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-top: 40px;
  margin-bottom: 24px;
  background: rgba(0, 188, 212, 0.05);
  font-weight: 500;
  animation: shimmerBorder 3s ease-in-out infinite;
}

html[dir="rtl"] .hero-badge {
  letter-spacing: normal;
  text-transform: none;
}

@keyframes shimmerBorder {
  0%, 100% { border-color: var(--accent-teal); box-shadow: 0 0 20px rgba(0, 188, 212, 0.05); }
  50% { border-color: var(--accent-teal-light); box-shadow: 0 0 40px rgba(0, 188, 212, 0.1); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 20px;
  background: linear-gradient(135deg, 
    var(--text-primary) 0%, 
    var(--accent-teal-light) 35%, 
    var(--accent-teal) 65%,
    var(--text-primary) 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: tealShimmer 6s ease-in-out infinite alternate;
}

@keyframes tealShimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.hero-sub {
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  font-weight: 300;
  color: var(--text-secondary);
  margin-bottom: 40px;
  letter-spacing: 1px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 40px;
  border: none;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-teal-dark));
  color: #061214;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-glow);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 56px rgba(0, 188, 212, 0.3);
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.glow-btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, 
    var(--accent-teal-light), 
    var(--accent-cream), 
    var(--accent-teal)
  );
  z-index: -1;
  filter: blur(16px);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.glow-btn:hover::before {
  opacity: 0.5;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 40px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: rgba(0, 188, 212, 0.06);
  border-color: var(--accent-teal);
  transform: translateY(-2px);
  box-shadow: 0 4px 32px rgba(0, 188, 212, 0.05);
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  color: var(--text-muted);
  animation: bounce 2.5s ease-in-out infinite;
  font-size: 1.4rem;
  opacity: 0.4;
  pointer-events: none;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(12px); opacity: 0.8; }
}

section {
  padding: 100px 24px;
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 12px;
}

.section-tag {
  display: inline-block;
  color: var(--accent-teal);
  font-size: 0.75rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 500;
  position: relative;
}

html[dir="rtl"] .section-tag {
  letter-spacing: normal;
  text-transform: none;
}

.section-tag::before,
.section-tag::after {
  content: '✦';
  margin: 0 12px;
  opacity: 0.5;
  font-size: 0.6rem;
  color: var(--accent-teal);
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
}

.filters-section {
  padding: 0 24px 3px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.products {
  padding-top: 4px;
}

.combined-filters .products-tag-inline {
  flex-basis: 100%;
  text-align: center;
  margin-top: 10px;
}

.filter-container {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 24px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-body);
  letter-spacing: 0.3px;
}

.filter-btn:hover {
  border-color: var(--accent-teal);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--accent-teal);
  color: #061214;
  border-color: var(--accent-teal);
  box-shadow: 0 4px 24px rgba(0, 188, 212, 0.2);
}

.combined-filters {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

.filter-label {
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
}

.filter-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-tag {
  padding: 4px 14px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  background: transparent;
}

.filter-tag:hover {
  border-color: var(--accent-teal);
  color: var(--text-primary);
}

.filter-tag.active {
  background: var(--accent-teal);
  color: #061214;
  border-color: var(--accent-teal);
}

.star-map {
  position: relative;
  height: 500px;
  background: 
    radial-gradient(circle at 50% 50%, 
      rgba(0, 188, 212, 0.04), 
      transparent 70%
    );
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  min-height: 400px;
}

.star-map::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(0, 188, 212, 0.04) 0%, transparent 30%),
    radial-gradient(circle at 30% 60%, rgba(0, 188, 212, 0.03) 0%, transparent 30%),
    radial-gradient(circle at 60% 30%, rgba(128, 203, 196, 0.03) 0%, transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(0, 188, 212, 0.03) 0%, transparent 30%),
    radial-gradient(circle at 50% 80%, rgba(0, 188, 212, 0.03) 0%, transparent 30%);
  pointer-events: none;
}

.star {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 52px;
  height: 52px;
  background: radial-gradient(circle at 30% 30%, 
    var(--accent-teal-light), 
    var(--accent-teal-dark)
  );
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(0, 188, 212, 0.2), inset 0 -2px 8px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.star::before {
  content: '';
  position: absolute;
  inset: -24px;
  border-radius: 50%;
  border: 1px solid rgba(0, 188, 212, 0.1);
  animation: pulse 4s ease-in-out infinite;
}

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

.star:hover,
.star:focus {
  transform: translate(-50%, -50%) scale(1.5);
  box-shadow: 0 0 80px rgba(0, 188, 212, 0.4);
}

.star:focus-visible {
  outline: 2px solid var(--accent-teal);
  outline-offset: 4px;
}

.star-label {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  white-space: nowrap;
  color: var(--text-primary);
  opacity: 1;
  letter-spacing: 1px;
  font-weight: 600;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.star:hover .star-label {
  opacity: 1;
  color: var(--accent-teal);
}

.star-preview {
  position: absolute;
  top: -48px;
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  border: 1px solid var(--glass-border);
  opacity: 0;
  transition: all var(--transition-fast);
  pointer-events: none;
  white-space: nowrap;
  color: var(--text-primary);
}

.star:hover .star-preview,
.star:focus .star-preview {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

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

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

.skeleton-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  padding: 24px;
  overflow: hidden;
}

.skeleton-image {
  height: 240px;
  border-radius: var(--radius-md);
  background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-secondary) 50%, var(--bg-tertiary) 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s ease-in-out infinite;
  margin-bottom: 16px;
}

.skeleton-line {
  height: 16px;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-secondary) 50%, var(--bg-tertiary) 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s ease-in-out infinite;
  margin-bottom: 8px;
}

.skeleton-line.short {
  width: 60%;
}

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

.product-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  padding: 24px;
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: -100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 188, 212, 0.03),
    rgba(0, 188, 212, 0.06),
    rgba(0, 188, 212, 0.03),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.8s ease;
  pointer-events: none;
}

.product-card:hover::before {
  transform: translateX(100%);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-elevated);
  border-color: var(--accent-teal);
}

.product-card:focus-visible {
  outline: 2px solid var(--accent-teal);
  outline-offset: 2px;
}

.product-card .card-image {
  height: 240px;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, 
    rgba(14, 36, 41, 0.8), 
    rgba(10, 26, 30, 0.6)
  );
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.product-card:hover .card-image {
  transform: scale(1.04);
  box-shadow: inset 0 0 60px rgba(0, 188, 212, 0.05);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.stock-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  color: var(--text-primary);
}

.stock-badge.in-stock {
  background: rgba(76, 175, 80, 0.2);
  color: #4CAF50;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.stock-badge.out-of-stock {
  background: rgba(244, 67, 54, 0.2);
  color: #F44336;
  border: 1px solid rgba(244, 67, 54, 0.3);
}

.stock-badge.urgent {
  background: rgba(255, 152, 0, 0.25);
  color: #FF9800;
  border: 1px solid rgba(255, 152, 0, 0.4);
  animation: urgentPulse 1.4s ease-in-out infinite;
}

@keyframes urgentPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.image-count-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.6rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-card h3 {
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 2px;
  color: var(--text-primary);
}

.product-card .price {
  color: var(--accent-teal);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.product-card .card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.product-card .card-actions button {
  flex: 1;
  padding: 10px 12px;
  border: none;
  border-radius: var(--radius-sm);
  background: rgba(0, 188, 212, 0.05);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.product-card .card-actions button:hover,
.product-card .card-actions button:focus {
  background: var(--accent-teal);
  color: #061214;
  transform: translateY(-2px);
}

.product-card .card-actions button:active {
  transform: scale(0.95);
}

.product-card .card-actions button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
}

.product-card .quick-view {
  background: rgba(0, 188, 212, 0.05);
}

.product-card .quick-view:hover {
  background: var(--accent-teal);
}

.product-card .add-wishlist {
  background: rgba(128, 203, 196, 0.05);
  flex: 0.4;
}

.product-card .add-wishlist:hover {
  background: var(--accent-mint);
}

.product-card .add-cart {
  background: rgba(0, 188, 212, 0.05);
  flex: 0.4;
}

.product-card .add-cart:hover {
  background: var(--accent-teal);
}

.product-card .add-compare {
  background: rgba(0, 188, 212, 0.05);
  flex: 0.4;
}

.product-card .add-compare:hover {
  background: var(--accent-teal);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: var(--accent-teal);
  color: #061214;
  z-index: 2;
}

.product-badge.popular {
  background: #FF6B35;
  color: white;
}

.product-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.02),
    rgba(0, 188, 212, 0.04),
    rgba(255, 255, 255, 0.02),
    transparent
  );
  transition: left 0.8s ease;
  pointer-events: none;
}

.product-card:hover::after {
  left: 100%;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 8px;
}

.product-rating .stars {
  color: var(--accent-teal);
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.product-rating .rating-count {
  color: var(--text-muted);
  font-size: 0.7rem;
}

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

.story-image {
  height: 500px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, 
    rgba(0, 188, 212, 0.06), 
    rgba(128, 203, 196, 0.03)
  );
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-arch {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 50% 80%, 
      rgba(0, 188, 212, 0.08), 
      transparent 60%
    );
  border-radius: var(--radius-lg);
}

.story-image-content {
  position: relative;
  z-index: 1;
  font-size: 6rem;
  color: var(--accent-teal);
  opacity: 0.2;
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-24px) rotate(3deg); }
}

.story-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 12px 0 16px;
  line-height: 1.4;
}

.story-text p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 16px;
  line-height: 1.8;
}

.story-quote {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--accent-teal);
  font-style: italic;
  padding: 16px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  margin: 20px 0 28px;
}

.story-stats {
  display: flex;
  gap: 40px;
  margin: 24px 0 32px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-teal);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.blog-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  transition: all var(--transition-base);
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-teal);
  box-shadow: var(--shadow-elevated);
}

.blog-image {
  height: 200px;
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.06), rgba(128, 203, 196, 0.03));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  border-bottom: 1px solid var(--glass-border);
}

.blog-content {
  padding: 24px;
}

.blog-tag {
  display: inline-block;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-teal);
  background: rgba(0, 188, 212, 0.08);
  padding: 2px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.blog-content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.blog-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.blog-date {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 12px;
}

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

.review-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  padding: 24px;
  transition: all var(--transition-base);
  text-align: center;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-teal);
}

.review-stars {
  color: var(--accent-teal);
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 12px;
  line-height: 1.6;
}

.review-author {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.reviews-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

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

.about-card {
  padding: 32px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition-base);
  cursor: default;
}

.about-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-teal);
  box-shadow: var(--shadow-elevated);
}

.about-icon {
  font-size: 2.8rem;
  margin-bottom: 12px;
  display: block;
}

.about-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.about-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  padding: 48px 24px 24px;
  margin-top: 40px;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--glass-border);
}

.footer-brand .logo-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 4px;
}

.footer-brand .brand-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-teal-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-weight: 400;
  margin-top: 2px;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.footer-social a {
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: color var(--transition-fast);
}

.footer-social a:hover {
  color: var(--accent-teal);
}

.footer-social a.rubika-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.footer-social a.rubika-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.footer-social a.rubika-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.footer-security {
  margin-top: 12px;
  font-size: 0.7rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-security i {
  color: var(--accent-teal);
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.footer-action-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: none;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.footer-action-btn i {
  font-size: 1rem;
}

.footer-action-btn:hover {
  transform: translateY(-3px);
}

.footer-action-tracking,
.footer-action-support,
.footer-action-faq,
.footer-action-about {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
}

.support-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.support-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.support-contact-item i {
  font-size: 1.2rem;
  color: var(--accent-teal);
  width: 20px;
  text-align: center;
}

.support-contact-item:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 8px;
}

.footer-legal-link {
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  font-size: 0.72rem;
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-legal-link i {
  color: var(--accent-teal);
  font-size: 0.72rem;
}

.footer-legal-link:hover {
  color: var(--accent-teal);
}

.register-legal-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 8px;
}

.footer-payment {
  display: flex;
  gap: 12px;
  font-size: 1.4rem;
}

.footer-payment i {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-payment i:hover {
  color: var(--accent-teal);
}

.drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 90vw;
  height: 100%;
  height: 100dvh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--glass-border);
  z-index: 2000;
  transition: right 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  padding: 24px;
  box-shadow: -8px 0 48px rgba(0, 0, 0, 0.4);
}

.drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 16px;
  flex-shrink: 0;
}

.drawer-header h3 {
  font-weight: 500;
  font-size: 1.1rem;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 0;
}

.drawer-body::-webkit-scrollbar {
  width: 4px;
}

.empty-cart {
  color: var(--text-muted);
  text-align: center;
  padding: 60px 0;
  font-size: 0.95rem;
}

.drawer-footer {
  border-top: 1px solid var(--glass-border);
  padding-top: 16px;
  flex-shrink: 0;
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.full-width {
  width: 100%;
  justify-content: center;
}

.drawer-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-border);
  gap: 12px;
}

.blog-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
  z-index: 2500;
}

.blog-sheet-overlay.open {
  opacity: 1;
  visibility: visible;
}

.blog-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 85vh;
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  border-radius: 24px 24px 0 0;
  z-index: 2600;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 -8px 48px rgba(0, 0, 0, 0.4);
}

.blog-sheet.open {
  transform: translateY(0);
}

.blog-sheet-handle {
  width: 48px;
  height: 5px;
  background: var(--glass-border);
  border-radius: 4px;
  margin: 12px auto;
  cursor: grab;
  touch-action: none;
}

.blog-sheet-header {
  padding: 0 24px 16px;
  border-bottom: 1px solid var(--glass-border);
  flex-shrink: 0;
}

.blog-sheet-header h2 {
  margin: 10px 0;
  font-size: 1.3rem;
}

.blog-sheet-body {
  padding: 20px 24px 40px;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  color: var(--text-muted);
  line-height: 2;
}

.pending-order-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--glass-border);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.pending-order-banner.show {
  display: flex;
}

body.has-pending-banner .navbar {
  top: 52px;
}

body.has-pending-banner {
  padding-top: 52px;
}

.pending-order-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.85rem;
}

.pending-order-reason {
  color: var(--accent-teal);
  font-size: 0.8rem;
}

.pending-order-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pending-order-timer {
  font-weight: 700;
  color: var(--accent-teal);
  font-size: 0.9rem;
  min-width: 48px;
}

.pending-order-btn {
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.8rem;
  cursor: pointer;
}

.pending-order-btn.primary {
  background: var(--accent-teal);
  color: #05201f;
  font-weight: 600;
}

.pending-order-btn.danger {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
}

.drawer-item-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.drawer-item-info .emoji {
  font-size: 1.5rem;
}

.drawer-item-info .name {
  font-size: 0.9rem;
}

.drawer-item-info .quantity {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.drawer-item-price {
  font-weight: 500;
  white-space: nowrap;
  color: var(--accent-teal);
}

.remove-item {
  color: var(--accent-mint) !important;
  padding: 4px 8px !important;
  font-size: 0.9rem !important;
}

.remove-item:hover {
  background: rgba(128, 203, 196, 0.1) !important;
}

.qty-btn {
  background: var(--glass-border);
  border: none;
  color: var(--text-primary);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all var(--transition-fast);
}

.qty-btn:hover {
  background: var(--accent-teal);
  color: #061214;
}

.unit-price {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.compare-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-border);
}

.compare-item-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.compare-item-info .emoji {
  font-size: 1.5rem;
}

.compare-item-info .name {
  font-size: 0.9rem;
}

.compare-item-price {
  font-weight: 500;
  color: var(--accent-teal);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 18, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.3s ease;
}

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

.modal-content {
  max-width: 500px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 28px;
  border-radius: var(--radius-lg);
  position: relative;
  animation: scaleUp 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

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

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 8px;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-content h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.legal-modal {
  max-width: 640px;
}

.legal-text {
  max-height: 55vh;
  overflow-y: auto;
  padding-inline-end: 8px;
}

.legal-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.modal-content p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 10px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 9px 14px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.88rem;
  transition: border-color var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent-teal);
}

.form-select {
  appearance: none;
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.checkbox-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent-teal);
  cursor: pointer;
}

.review-rating-input {
  display: flex;
  gap: 8px;
  font-size: 2rem;
  cursor: pointer;
}

.review-rating-input span {
  color: var(--text-muted);
  transition: color var(--transition-fast);
  user-select: none;
}

.review-rating-input span.active,
.review-rating-input span:hover {
  color: var(--accent-teal);
}

.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 18, 20, 0.97);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.search-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.search-container {
  width: 100%;
  max-width: 700px;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 2px solid var(--accent-teal);
  padding: 0 4px;
  transition: border-color var(--transition-fast);
}

.search-input-wrapper:focus-within {
  border-color: var(--accent-teal-light);
}

.search-icon {
  color: var(--text-muted);
  font-size: 1.2rem;
}

.search-input {
  flex: 1;
  padding: 20px 4px;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 1.6rem;
  outline: none;
  font-family: var(--font-body);
}

.search-input::placeholder {
  color: var(--text-muted);
  font-size: 1.2rem;
}

.voice-search-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 8px;
  transition: color var(--transition-fast);
}

.voice-search-btn:hover {
  color: var(--accent-teal);
}

.search-suggestions {
  margin-top: 20px;
}

.suggestion-category {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.suggestion-category span {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.suggestion-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.suggestion-tag {
  padding: 4px 14px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.suggestion-tag:hover {
  border-color: var(--accent-teal);
  color: var(--text-primary);
}

.search-results {
  margin-top: 24px;
  max-height: 400px;
  overflow-y: auto;
  width: 100%;
}

.search-result-item {
  padding: 16px 20px;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: background var(--transition-fast);
  border-radius: var(--radius-sm);
}

.search-result-item:hover {
  background: rgba(0, 188, 212, 0.05);
}

.search-result-item .emoji {
  font-size: 1.8rem;
}

.search-result-item .info {
  flex: 1;
}

.search-result-item .info .name {
  font-weight: 500;
}

.search-result-item .info .price {
  color: var(--accent-teal);
  font-size: 0.85rem;
}

.search-add-cart {
  background: var(--accent-teal);
  border: none;
  color: #061214;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.search-add-cart:hover {
  transform: scale(1.1);
}

.search-add-cart:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.close-search {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 1.8rem;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  transition: color var(--transition-fast);
}

.close-search:hover {
  color: var(--text-primary);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 1500;
  padding: 32px 24px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  align-self: flex-start;
}

.mobile-menu-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 1px solid var(--accent-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 24px auto 32px;
  color: var(--accent-teal);
  font-size: 2.2rem;
  background: radial-gradient(circle, rgba(0, 188, 212, 0.08), transparent 70%);
}

.mobile-menu-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.mobile-menu-body .nav-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 4px;
  color: var(--text-secondary);
  text-decoration: none;
  border: none;
  font-size: 1.05rem;
  transition: color var(--transition-fast);
}

.mobile-menu-body .nav-link:hover,
.mobile-menu-body .nav-link.active {
  color: var(--accent-teal);
}

.nav-menu .nav-badge {
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
}

.nav-menu .nav-badge::after {
  display: none;
}

.nav-menu .nav-badge-vendor {
  color: #4CAF50;
  background: rgba(76, 175, 80, 0.12);
  border: 1px solid rgba(76, 175, 80, 0.35);
}

.nav-menu .nav-badge-vendor:hover {
  background: rgba(76, 175, 80, 0.22);
  color: #4CAF50;
}

.nav-menu .nav-badge-admin {
  color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.nav-menu .nav-badge-admin:hover {
  background: rgba(212, 175, 55, 0.22);
  color: var(--accent-gold);
}

.nav-link-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-teal);
  flex-shrink: 0;
  opacity: 0.7;
}

.nav-link-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-teal);
  font-size: 1rem;
  flex-shrink: 0;
}

.nav-link-text {
  font-size: 1.05rem;
}

.mobile-menu-body .nav-link.nav-link-vendor .nav-link-icon {
  background: rgba(76, 175, 80, 0.15);
  color: #4CAF50;
}

.mobile-menu-body .nav-link.nav-link-vendor .nav-link-text {
  color: #4CAF50;
  font-weight: 600;
}

.mobile-menu-body .nav-link.nav-link-vendor .nav-link-dot {
  background: #4CAF50;
}

.mobile-menu-body .nav-link.nav-link-admin .nav-link-icon {
  background: rgba(212, 175, 55, 0.18);
  color: var(--accent-gold);
}

.mobile-menu-body .nav-link.nav-link-admin .nav-link-text {
  color: var(--accent-gold);
  font-weight: 600;
}

.mobile-menu-body .nav-link.nav-link-admin .nav-link-dot {
  background: var(--accent-gold);
}

.mobile-menu-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
  color: var(--accent-teal);
  opacity: 0.5;
  font-size: 0.7rem;
}

.mobile-menu-divider span {
  flex: 1;
  height: 1px;
  background: var(--glass-border);
}

.mobile-menu-login-btn {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-teal-light));
  color: #fff;
  border-radius: 30px;
  padding: 14px 24px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 16px;
  width: 100%;
  box-sizing: border-box;
  flex-shrink: 0;
}

.mobile-menu-login-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 380px;
  width: 100%;
}

.toast {
  padding: 16px 24px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-elevated);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideUp 0.4s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  transform-origin: bottom right;
}

.toast.success {
  border-left: 4px solid var(--accent-teal);
}

.toast.error {
  border-left: 4px solid var(--accent-mint);
}

.toast.info {
  border-left: 4px solid var(--accent-teal-light);
}

.toast .toast-icon {
  font-size: 1.4rem;
}

.toast .toast-content {
  flex: 1;
}

.toast .toast-title {
  font-weight: 600;
  font-size: 0.9rem;
}

.toast .toast-message {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.toast .toast-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  font-size: 1.2rem;
  transition: color var(--transition-fast);
}

.toast .toast-close:hover {
  color: var(--text-primary);
}

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

.toast.fade-out {
  animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
}

.quick-view-modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 18, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.3s ease;
}

.quick-view-content {
  max-width: 500px;
  width: 100%;
  padding: 40px;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  animation: scaleUp 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.quick-view-content .quick-view-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 30;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 50%;
  border: none;
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0;
  transition: color var(--transition-fast);
}

.quick-view-content .quick-view-close:hover {
  color: var(--text-primary);
}

.quick-view-content .quick-view-image-wrap {
  width: 90%;
  max-width: 90%;
  aspect-ratio: 1 / 1;
  margin: 0 auto 16px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.quick-view-content .quick-view-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  touch-action: none;
  cursor: zoom-in;
  will-change: transform;
}

.quick-view-content .quick-view-photo.zoom-active {
  transform: scale(2.2);
  transition: transform 0.05s linear;
  cursor: zoom-out;
}

.points-modal-body {
  text-align: center;
  padding: 8px 0 4px;
}

.points-level-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent-teal), transparent);
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 16px;
}

.points-value {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent-teal);
  margin-bottom: 8px;
}

.points-progress-track {
  width: 100%;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin: 16px 0 8px;
}

.points-progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--accent-teal);
  transition: width 0.4s ease;
}

.points-next-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.login-activity-title {
  margin-top: 24px;
  font-size: 1.1rem;
}

.login-activity-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.login-activity-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.notif-modal-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 60vh;
  overflow-y: auto;
}

.notif-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.notif-row:hover {
  background: rgba(255, 255, 255, 0.08);
}

.notif-row.unread {
  border-right: 3px solid var(--accent-teal);
}

.notif-row-text {
  font-size: 0.88rem;
  color: var(--text-primary);
}

.notif-row-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.quick-view-content .quick-view-image-wrap .fa-image {
  font-size: 3rem;
  color: var(--text-muted);
}

.show-story-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent-teal), transparent);
  border: none;
  color: #fff;
  padding: 12px;
  border-radius: var(--radius-full);
  margin: 16px 0 0;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(0, 188, 212, 0.25);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.show-story-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 188, 212, 0.35);
}

.show-story-btn i {
  font-size: 0.9rem;
}

.product-story {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 12px 0 20px;
  animation: storyFadeIn 0.6s ease both;
}

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

.product-story-image {
  height: 160px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.product-story-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.55));
}

.product-story-text {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.03);
}

.product-story-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--accent-teal);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 600;
}

.product-story-text p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-secondary);
  font-style: italic;
}

.quick-view-gallery {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.gallery-arrow.prev {
  left: 8px;
}

.gallery-arrow.next {
  right: 8px;
}

.gallery-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.gallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.gallery-dot.active {
  background: #fff;
  width: 16px;
  border-radius: 3px;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 6000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.lightbox-track::-webkit-scrollbar {
  display: none;
}

.lightbox-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  position: relative;
}

.lightbox-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 24px 26px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
  text-align: center;
  pointer-events: none;
}

.lightbox-caption p {
  color: #fff;
  font-size: 0.85rem;
  line-height: 1.7;
  margin: 0 0 6px;
  word-break: break-word;
}

.lightbox-caption span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.7rem;
}

.lightbox-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  touch-action: none;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 2;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.lightbox-arrow.prev {
  left: 20px;
}

.lightbox-arrow.next {
  right: 20px;
}

.img-loading {
  filter: blur(14px);
  transform: scale(1.08);
}

.card-image img,
.quick-view-photo,
.lightbox-slide img {
  transition: filter 0.35s ease, transform 0.35s ease;
}

.report-image-btn {
  position: absolute;
  bottom: 8px;
  left: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.75rem;
  cursor: pointer;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
}

.report-menu {
  position: absolute;
  bottom: 40px;
  left: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  z-index: 4;
  overflow: hidden;
  min-width: 170px;
  display: none;
}

.report-menu.open {
  display: block;
}

.report-menu button {
  display: block;
  width: 100%;
  text-align: right;
  padding: 8px 12px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 0.75rem;
  cursor: pointer;
}

.report-menu button:hover {
  background: rgba(255, 255, 255, 0.06);
}

.quick-view-content h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.quick-view-content .quick-view-price {
  color: var(--accent-teal);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.quick-view-content .quick-view-stock {
  font-size: 0.85rem;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.quick-view-content .quick-view-desc {
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.quick-view-content .quick-view-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.quick-view-content .quick-view-actions button {
  flex: 1;
  justify-content: center;
}

.quick-view-content .quick-view-actions button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.flash-sale {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 20px 0 30px;
  padding: 12px 24px;
  background: rgba(0, 188, 212, 0.05);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  flex-wrap: wrap;
}

.flash-sale-badge {
  color: var(--accent-teal);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.flash-sale-badge i {
  color: #FF6B35;
  animation: boltFlash 1s ease-in-out infinite;
}

@keyframes boltFlash {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.flash-timer {
  display: flex;
  gap: 12px;
}

.timer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  min-width: 45px;
}

.timer-item span:first-child {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-teal);
  font-variant-numeric: tabular-nums;
}

.timer-label {
  font-size: 0.5rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.price-filter {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

.sort-filter {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
  flex-wrap: wrap;
}

.sort-select {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--glass-border);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.8rem;
  cursor: pointer;
}

.price-label {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
}

.price-slider-container {
  flex: 1;
  max-width: 400px;
  min-width: 200px;
}

.price-slider {
  width: 100%;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--glass-border);
  border-radius: var(--radius-full);
  outline: none;
}

.price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-teal);
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 188, 212, 0.3);
}

.price-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-teal);
  cursor: pointer;
  border: none;
}

.price-values {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.popular-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
  color: #FF6B35;
  font-size: 0.8rem;
  font-weight: 600;
}

.popular-badge i {
  animation: pulse 2s ease-in-out infinite;
}

.popular-count {
  background: #FF6B35;
  color: white;
  border-radius: var(--radius-full);
  padding: 0 8px;
  font-size: 0.7rem;
}

.floating-heart {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  animation: floatHeart 2.5s ease-out forwards;
}

@keyframes floatHeart {
  0% {
    opacity: 1;
    transform: translateY(0) scale(0.5) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translateY(-200px) scale(1.5) rotate(45deg);
  }
}

.load-more-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.instagram-gallery {
  padding: 60px 24px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.instagram-item {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-base);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.instagram-item:hover {
  transform: scale(1.05);
  border-color: var(--accent-teal);
}

.instagram-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  display: flex;
  gap: 16px;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.instagram-item:hover .instagram-stats {
  opacity: 1;
}

.instagram-stats i {
  margin-right: 4px;
}

.contact {
  padding: 80px 24px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
}

.contact-method i {
  color: var(--accent-teal);
  width: 24px;
}

.newsletter {
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  text-align: center;
}

.newsletter h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.newsletter p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.newsletter-input {
  flex: 1;
  min-width: 200px;
  padding: 14px 20px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.newsletter-input:focus {
  border-color: var(--accent-teal);
}

.newsletter-success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--accent-teal);
  font-size: 1.1rem;
  padding: 20px 0;
}

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--accent-teal);
  color: #061214;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-glow);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.05);
}

.chat-button {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-teal-dark));
  color: #061214;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-elevated);
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-button:hover {
  transform: scale(1.1) translateY(-4px);
}

.chat-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #FF6B35;
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-widget {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 998;
  width: 340px;
  max-width: calc(100vw - 48px);
  height: 420px;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-elevated);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chat-header {
  padding: 16px 20px;
  background: var(--accent-teal);
  color: #061214;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header span i {
  margin-right: 8px;
}

.chat-close {
  background: none;
  border: none;
  color: #061214;
  cursor: pointer;
  font-size: 1.2rem;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.chat-close:hover {
  opacity: 1;
}

.chat-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-message {
  max-width: 85%;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  word-wrap: break-word;
}

.chat-message.user {
  align-self: flex-end;
  background: var(--accent-teal);
  color: #061214;
}

.chat-message.bot {
  align-self: flex-start;
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.chat-input-wrapper {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--glass-border);
}

.chat-input {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.chat-input:focus {
  border-color: var(--accent-teal);
}

.chat-send {
  padding: 10px 16px;
  border: none;
  border-radius: var(--radius-full);
  background: var(--accent-teal);
  color: #061214;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chat-send:hover {
  transform: scale(1.05);
}

#confettiCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 99999;
}

@media (max-width: 1024px) {
  .story-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .story-image {
    height: 350px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  :root {
    --navbar-height: 64px;
  }
  
  .nav-container {
    justify-content: center;
    gap: 24px;
  }
  
  .nav-menu {
    display: none !important;
  }
  
  .mobile-menu-btn {
    display: flex !important;
  }
  
  .nav-actions .icon-btn:not(.mobile-menu-btn):not(.lang-btn):not(#cartToggle):not(#wishlistToggle):not(#compareToggle):not(#themeToggle) {
    display: none;
  }
  
  .nav-actions .lang-btn {
    padding: 2px 10px;
    font-size: 0.65rem;
  }
  
  .logo-planet {
    width: 26px;
    height: 26px;
  }
  
  .logo-planet .mini-items span {
    font-size: 0.45rem;
  }
  
  .logo-planet .mini-ring {
    width: 140%;
    height: 4px;
  }
  
  .planet-hero {
    width: 100px;
    height: 100px;
  }
  
  .planet-hero .floating-item {
    font-size: 1.4rem;
  }
  
  .planet-ring {
    width: 170%;
    height: 18px;
    border-width: 2px;
  }
  
  section {
    padding: 60px 16px;
  }
  
  .filters-section {
    padding: 0 16px 32px;
  }
  
  .filter-container {
    gap: 8px;
  }
  
  .filter-btn {
    padding: 6px 16px;
    font-size: 0.7rem;
  }
  
  .combined-filters {
    flex-direction: column;
    gap: 10px;
  }
  
  .hero {
    min-height: 90vh;
    min-height: 90dvh;
    padding: 60px 16px 40px;
  }
  
  .hero-title {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    gap: 12px;
    margin: 0 auto;
  }
  
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
  }
  
  .star-map {
    height: 350px;
    min-height: 300px;
  }
  
  .star {
    width: 40px;
    height: 40px;
  }
  
  .star-label {
    font-size: 0.55rem;
    bottom: -24px;
  }
  
  .star-preview {
    display: none;
  }
  
  .product-grid,
  .skeleton-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
  }
  
  .product-card .card-image {
    height: 180px;
    font-size: 3.5rem;
  }
  
  .drawer {
    width: 100%;
    max-width: 100vw;
    right: -100%;
    padding: 16px;
  }
  
  .drawer.open {
    right: 0;
  }
  
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-actions {
    gap: 12px;
  }
  
  .search-input {
    font-size: 1.2rem;
    padding: 16px 4px;
  }
  
  .search-input::placeholder {
    font-size: 1rem;
  }
  
  .close-search {
    top: 16px;
    right: 16px;
    font-size: 1.4rem;
  }
  
  .quick-view-content {
    padding: 32px 24px;
  }
  
  .quick-view-content .quick-view-actions {
    flex-direction: column;
  }
  
  .toast-container {
    bottom: 16px;
    left: 16px;
    max-width: calc(100vw - 32px);
  }
  
  .modal-content {
    padding: 32px 24px;
    margin: 16px;
  }
  
  .story-stats {
    gap: 20px;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .flash-sale {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }
  
  .flash-timer {
    gap: 8px;
  }
  
  .timer-item {
    min-width: 35px;
    padding: 2px 8px;
  }
  
  .timer-item span:first-child {
    font-size: 1rem;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .newsletter {
    padding: 24px;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .chat-widget {
    width: calc(100vw - 32px);
    right: 16px;
    bottom: 80px;
    height: 380px;
  }
  
  .back-to-top {
    bottom: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
  
  .chat-button {
    bottom: 80px;
    right: 16px;
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }
  
  .price-filter {
    flex-direction: column;
    align-items: stretch;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .brand-badge {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }
  
  .hero-sub {
    font-size: 0.95rem;
  }
  
  .section-header h2 {
    font-size: 1.6rem;
  }
  
  .planet-hero {
    width: 75px;
    height: 75px;
  }
  
  .planet-hero .floating-item {
    font-size: 1rem;
  }
  
  .planet-ring {
    width: 150%;
    height: 12px;
    border-width: 1.5px;
  }
  
  .logo-planet {
    width: 22px;
    height: 22px;
  }
  
  .logo-planet .mini-items span {
    font-size: 0.4rem;
  }
  
  .product-grid,
  .skeleton-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  
  .product-card {
    padding: 16px;
  }
  
  .product-card .card-image {
    height: 140px;
    font-size: 2.8rem;
  }
  
  .product-card h3 {
    font-size: 0.85rem;
  }
  
  .product-card .price {
    font-size: 0.85rem;
  }
  
  .product-card .card-actions button {
    font-size: 0.65rem;
    padding: 6px 8px;
  }
  
  .product-card .quick-view {
    display: none;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-action-btn {
    width: 100%;
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .story-image {
    height: 250px;
  }
  
  .star-map {
    height: 280px;
    min-height: 250px;
  }
  
  .star {
    width: 32px;
    height: 32px;
  }
  
  .star-label {
    font-size: 0.5rem;
    bottom: -20px;
  }
  
  .drawer {
    padding: 12px;
  }
  
  .drawer-item {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .drawer-item-info {
    width: 100%;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

@media print {
  .navbar,
  .drawer,
  .search-overlay,
  .mobile-menu,
  .scroll-indicator,
  .hero-canvas,
  .filters-section,
  .chat-button,
  .chat-widget,
  .back-to-top,
  #confettiCanvas {
    display: none !important;
  }
  
  body {
    background: #fff !important;
    color: #000 !important;
  }
  
  .hero {
    min-height: auto !important;
    padding: 40px !important;
  }
  
  .product-card {
    break-inside: avoid;
    border: 1px solid #ddd !important;
    background: #fff !important;
  }
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-teal-light));
  z-index: 9999;
  width: 0;
  transition: width 0.1s;
}
.variant-picker {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
}
.variant-group-label {
  font-size: 13px;
  opacity: 0.7;
  display: block;
  margin-bottom: 6px;
}
.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.variant-option {
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
}
.variant-option.active {
  border-color: var(--primary, #d4af37);
  background: rgba(212,175,55,0.15);
}
.orders-modal-content {
  max-width: 480px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 24px;
}
.orders-modal-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 20px;
}
.orders-loading, .orders-empty {
  text-align: center;
  padding: 40px 0;
  opacity: 0.7;
}
.orders-list-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.order-row {
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.order-row:hover {
  border-color: var(--primary, #d4af37);
  background: rgba(212,175,55,0.06);
}
.order-row-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.order-row-number {
  font-weight: 600;
}
.order-row-sub {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  opacity: 0.7;
}
.order-status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
}
.order-status-badge.status-pending { background: rgba(255,193,7,0.15); color: #ffc107; }
.order-status-badge.status-processing { background: rgba(33,150,243,0.15); color: #2196f3; }
.order-status-badge.status-shipped { background: rgba(156,39,176,0.15); color: #9c27b0; }
.order-status-badge.status-delivered { background: rgba(76,175,80,0.15); color: #4caf50; }
.order-status-badge.status-cancelled { background: rgba(244,67,54,0.15); color: #f44336; }

.orders-back-btn {
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  margin-bottom: 16px;
  font-size: 14px;
  opacity: 0.8;
}
.tracking-order-number {
  margin-bottom: 16px;
}
.order-cancelled-badge {
  background: rgba(244,67,54,0.1);
  color: #f44336;
  padding: 12px;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 16px;
}
.tracking-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 20px;
}
.tracking-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  opacity: 0.4;
  position: relative;
}
.tracking-step.done { opacity: 1; }
.tracking-step:not(:last-child)::before {
  content: '';
  position: absolute;
  right: 15px;
  top: 38px;
  width: 2px;
  height: 24px;
  background: rgba(255,255,255,0.15);
}
.tracking-step.done:not(:last-child)::before {
  background: var(--primary, #d4af37);
}
.tracking-step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.tracking-step.done .tracking-step-dot {
  background: var(--primary, #d4af37);
  color: #000;
}
.tracking-step.current .tracking-step-dot {
  box-shadow: 0 0 0 4px rgba(212,175,55,0.25);
}
.tracking-step-info {
  display: flex;
  flex-direction: column;
}
.tracking-step-date {
  font-size: 11px;
  opacity: 0.6;
}
.tracking-number-box {
  background: rgba(255,255,255,0.05);
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 14px;
}
.tracking-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.tracking-item-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.tracking-item-emoji { font-size: 22px; }
.tracking-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.tracking-item-variant {
  font-size: 12px;
  opacity: 0.6;
}
.tracking-total {
  text-align: left;
  font-size: 15px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.product-spec-cubes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.spec-cube {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 62px;
  height: 62px;
  padding: 6px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: var(--bg-card);
  text-align: center;
}

.spec-cube i {
  color: var(--accent-teal);
  font-size: 1rem;
}

.spec-cube-label {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.spec-cube-value {
  font-size: 0.7rem;
  color: var(--text-primary);
  font-weight: 600;
}

.product-details-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 14px;
  margin-bottom: 10px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.product-details-toggle i {
  transition: transform 0.3s ease;
  color: var(--accent-teal);
}

.product-details-toggle.expanded i {
  transform: rotate(180deg);
}

.product-details-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.product-details-panel.expanded {
  max-height: 600px;
}

.spec-cubes-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.spec-cube-field {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 96px;
  height: 96px;
  padding: 8px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: var(--bg-card);
}

.spec-cube-field i {
  color: var(--accent-teal);
  font-size: 1rem;
}

.spec-cube-field span {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.spec-cube-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-size: 0.75rem;
  text-align: center;
  outline: none;
}
.customer-photos-box {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 30;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--accent-teal);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.customer-photos-box:hover {
  background: var(--accent-teal);
  color: #061214;
}

.cp-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
  z-index: 4500;
}

.cp-sheet-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cp-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 80vh;
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  border-radius: 24px 24px 0 0;
  z-index: 4600;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 -8px 48px rgba(0, 0, 0, 0.4);
}

.cp-sheet.open {
  transform: translateY(0);
}

.cp-sheet-handle {
  width: 48px;
  height: 5px;
  background: var(--glass-border);
  border-radius: 4px;
  margin: 12px auto;
  cursor: pointer;
}

.cp-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px 16px;
  border-bottom: 1px solid var(--glass-border);
  flex-shrink: 0;
}

.cp-sheet-header h2 {
  font-size: 1.1rem;
  margin: 0;
}

.cp-upload-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--accent-teal);
  color: #061214;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
}

.cp-sheet-body {
  padding: 20px 24px 40px;
  overflow-y: auto;
  overscroll-behavior-y: contain;
}

.cp-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 40px 0;
  font-size: 0.85rem;
}

.cp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.cp-item {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 1px solid var(--glass-border);
}

.cp-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cp-item-user {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 4px 6px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.6rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cp-composer {
  padding: 14px 24px;
  border-bottom: 1px solid var(--glass-border);
  flex-shrink: 0;
}

.cp-composer-previews {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 10px;
}

.cp-composer-previews img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  flex-shrink: 0;
}

.cp-composer textarea {
  width: 100%;
  resize: none;
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 10px 12px;
  font-family: inherit;
  font-size: 0.85rem;
}

.cp-composer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}

.cp-composer-cancel,
.cp-composer-submit {
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
}

.cp-composer-cancel {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--glass-border);
}

.cp-composer-submit {
  background: var(--accent-teal);
  color: #061214;
}
.related-products {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
  text-align: right;
}

.related-products h3 {
  font-size: 1rem;
  margin-bottom: 14px;
  color: var(--text-primary);
}

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

.related-product-card {
  cursor: pointer;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color var(--transition-fast);
}

.related-product-card:hover {
  border-color: var(--accent-teal);
}

.related-product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.related-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-product-name {
  font-size: 0.75rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.related-product-price {
  font-size: 0.75rem;
  color: var(--accent-teal);
  font-weight: 600;
}
.video-player-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-player-ambient {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(60px) brightness(0.45) saturate(1.4);
  transform: scale(1.25);
  pointer-events: none;
}

.video-player-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.85);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.video-player-overlay.is-open .video-player-stage {
  transform: scale(1);
  opacity: 1;
}

.video-player-media {
  position: relative;
  z-index: 2;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.65);
}

.video-player-tap-zone {
  position: absolute;
  top: 0;
  bottom: 90px;
  width: 35%;
  z-index: 3;
}

.video-player-tap-left { left: 0; }
.video-player-tap-right { right: 0; }

.video-player-seek-flash {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-size: 1.6rem;
  opacity: 0;
  z-index: 4;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.video-player-seek-flash span {
  font-size: 0.8rem;
}

.video-player-seek-flash-left { left: 12%; }
.video-player-seek-flash-right { right: 12%; }

.video-player-seek-flash.is-active {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.video-player-center-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.video-player-center-btn.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.video-player-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.video-player-progress {
  height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  margin-bottom: 12px;
}

.video-player-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  background: var(--accent-teal);
}

.video-player-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  font-size: 0.85rem;
}

.video-player-stats i {
  margin-right: 4px;
  color: var(--accent-teal);
}

.video-player-mute {
  margin-inline-start: auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.video-player-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10000;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.video-player-close:hover {
  border-color: var(--accent-teal);
  transform: scale(1.05);
}
.instagram-image video {
  pointer-events: none;
}
.instagram-item {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  outline: none;
}

.instagram-item:focus {
  outline: none;
}