﻿/* Advanced CSS Reset & Variables */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors */
  --gold-primary: #d4af37;
  --gold-light: #f7e98e;
  --gold-dark: #b8860b;
  --gold-gradient: linear-gradient(135deg, #ffd700, #ffa500, #ff8c00);

  --silver-primary: #c0c0c0;
  --silver-light: #e8e8e8;
  --silver-dark: #a0a0a0;
  --silver-gradient: linear-gradient(135deg, #e8e8e8, #c0c0c0, #a8a8a8);

  --diamond-gradient: linear-gradient(135deg, #ffffff, #f0f8ff, #e6e6fa);

  --black: #0a0a0a;
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;

  /* WhatsApp Green */
  --whatsapp-green: #25d366;
  --whatsapp-dark: #128c7e;

  /* Gradients */
  --bg-gradient: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a2a2a 100%);
  --glass-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.3);
  --shadow-gold: 0 8px 32px rgba(212, 175, 55, 0.3);
  --shadow-silver: 0 8px 32px rgba(192, 192, 192, 0.3);
  --shadow-whatsapp: 0 8px 32px rgba(37, 211, 102, 0.3);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 2rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50%;

  /* Typography */
  --font-primary: "Cormorant Garamond", serif;
  --font-secondary: "Montserrat", sans-serif;
}

/* RTL Support */
.rtl {
  direction: rtl;
  text-align: right;
}

/* Smooth transitions to prevent layout shifts */
html {
  transition: direction 0.3s ease;
}

body {
  transition: all 0.3s ease;
}

.nav-container {
  transition: all 0.3s ease;
}

.rtl .nav-menu {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.rtl .nav-actions {
  flex-direction: row-reverse;
}

.rtl .hero-text {
  text-align: right;
}

.rtl .hero-buttons {
  justify-content: flex-end;
}


.rtl .footer-content {
  text-align: right;
}

.rtl .card-content {
  text-align: right;
}

/* Language Switcher Styles */
.language-switcher {
  position: relative;
  margin-right: 1rem;
  transition: margin 0.3s ease;
  /* Fixed width to prevent jumping */
  min-width: 50px;
}

.rtl .language-switcher {
  margin-right: 0;
  margin-left: 1rem;
}

.language-current {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  padding: 0.5rem 0.30rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  color: black;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
  min-width: auto;
}

.language-current:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.lang-flag {
  font-size: 1.2rem;
}

.lang-code {
  font-weight: 600;
  letter-spacing: 0.5px;
}

.dropdown-arrow {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.language-switcher.open .dropdown-arrow {
  transform: rotate(180deg);
}

.language-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-fast);
  z-index: 1000;
  min-width: 150px;
  /* Prevent text direction from affecting dropdown */
  direction: ltr;
  text-align: left;
}

.rtl .language-dropdown {
  left: 0;
  right: auto;
  /* Keep dropdown content LTR for consistency */
  direction: ltr;
  text-align: left;
}

.language-switcher.open .language-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  color: var(--gray-800);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  /* Keep text direction consistent */
  text-align: left;
  direction: ltr;
}

/* Remove RTL text alignment for language options */
.rtl .language-option {
  text-align: left;
  direction: ltr;
}

.language-option:hover {
  background: var(--gray-50);
  color: var(--gold-primary);
}

.language-option:first-child {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.language-option:last-child {
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.lang-name {
  font-weight: 500;
}

/* Language Loader */
.language-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(5px);
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--white);
  font-weight: 500;
}

.loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid var(--gold-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* RTL Font Improvements */
.rtl {
  font-family: "Amiri", "Cairo", "Noto Sans Arabic", var(--font-secondary), sans-serif;
}

.rtl .hero-title,
.rtl .section-title {
  font-family: "Amiri", "Cairo", var(--font-primary), serif;
}

/* RTL Hero Background Adjustments */
.rtl .hero-subtitle,
.rtl .hero-title {
  text-align: right;
}

.rtl .hero-text {
  direction: rtl;
}

/* RTL Navigation Adjustments */
.rtl .nav-dropdown .dropdown-menu {
  left: auto;
  right: 0;
}

.rtl .nav-dropdown .dropdown-arrow {
  transform: scaleX(-1);
}

.rtl .nav-dropdown.open .dropdown-arrow {
  transform: scaleX(-1) rotate(180deg);
}

/* RTL Button Adjustments */
.rtl .btn .btn-icon {
  order: -1;
  margin-left: 0.5rem;
  margin-right: 0;
}

.rtl .btn-arrow {
  transform: scaleX(-1);
}

/* RTL Form Adjustments */
.rtl .form-group {
  text-align: right;
}

.rtl .form-row {
  flex-direction: row-reverse;
}

/* RTL Modal Adjustments */
.rtl .modal-content {
  text-align: right;
}

.rtl .modal-actions {
  flex-direction: row-reverse;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-secondary);
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  text-align: center;
  color: var(--white);
}

.loading-logo {
  margin-bottom: var(--space-lg);
}

.logo-ring {
  width: 80px;
  height: 80px;
  border: 3px solid transparent;
  border-top: 3px solid var(--gold-primary);
  border-right: 3px solid var(--silver-primary);
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-md);
  animation: spin 2s linear infinite;
}

.logo-text {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 600;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.loading-progress {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1px;
  margin: var(--space-lg) auto;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--gold-gradient);
  width: 0;
  animation: loading-progress 3s ease-in-out infinite;
}

.loading-text {
  font-size: 0.9rem;
  opacity: 0.7;
  animation: pulse 2s ease-in-out infinite;
}

.loading-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.loading-particles::before,
.loading-particles::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--gold-primary);
  border-radius: var(--radius-full);
  animation: float-particles 4s ease-in-out infinite;
}

.loading-particles::before {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.loading-particles::after {
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

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

@keyframes loading-progress {
  0%,
  100% {
    width: 0;
  }
  50% {
    width: 100%;
  }
}

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

@keyframes float-particles {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 1;
  }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.logo-symbol {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.symbol-ring {
  width: 100%;
  height: 100%;
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-full);
  animation: rotate-slow 10s linear infinite;
}

.symbol-diamond {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--silver-gradient);
  animation: rotate-reverse 8s linear infinite;
}

.logo-text {
  font-family: var(--font-primary);
}

.logo-main {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.logo-sub {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--gray-600);
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  gap: var(--space-xl);
  list-style: none;
}

.nav-link {
  position: relative;
  text-decoration: none;
  color: black;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.nav-link:hover {
  transform: translateY(-2px);
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Silver jewelry pages specific active link styling */
#silver-nav .nav-link.active {
  color: var(--silver-primary);
  font-weight: 600;
}

#silver-nav .nav-link.active::before {
  transform: translateY(0);
  color: var(--silver-primary);
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: var(--silver-primary);
  background-clip: unset;
}

/* Navigation Dropdown Styles */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dropdown-arrow {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-normal);
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-normal);
  z-index: 1000;
  border: 1px solid var(--gray-200);
  overflow: hidden;
  margin-top: 0.5rem;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: var(--gray-700);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  border-bottom: 1px solid var(--gray-100);
}

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

.dropdown-item:hover {
  background: var(--gray-50);
  color: var(--gold-primary);
  transform: translateX(4px);
}

.dropdown-item .item-icon {
  font-size: 1.1rem;
  opacity: 0.8;
  transition: all var(--transition-fast);
}

.dropdown-item:hover .item-icon {
  opacity: 1;
  transform: scale(1.1);
}

.item-text {
  font-weight: 500;
}

/* Gold Collection Dropdown Styling */
.nav-dropdown:first-of-type .dropdown-item:hover {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.1));
  color: var(--gold-dark);
}

.nav-dropdown:first-of-type .dropdown-item:hover .item-icon {
  filter: sepia(100%) saturate(200%) hue-rotate(35deg);
}

/* Silver Collection Dropdown Styling */
.nav-dropdown:nth-of-type(2) .dropdown-item:hover {
  background: linear-gradient(135deg, rgba(192, 192, 192, 0.1), rgba(169, 169, 169, 0.1));
  color: var(--silver-dark);
}

.nav-dropdown:nth-of-type(2) .dropdown-item:hover .item-icon {
  filter: sepia(100%) saturate(0%) brightness(0.8);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-btn:hover {
  background: var(--gray-100);
  transform: scale(1.1);
}

.btn-icon {
  width: 20px;
  height: 20px;
  color: var(--gray-700);
  transition: color var(--transition-normal);
}

.nav-btn:hover .btn-icon {
  color: var(--gold-primary);
}

.cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--gold-gradient);
  color: var(--white);
  border-radius: var(--radius-full);
  width: 18px;
  height: 18px;
  font-size: 0.7rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: transform var(--transition-bounce);
}

.cart-count.show {
  transform: scale(1);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

.menu-line {
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  transition: all var(--transition-normal);
  transform-origin: center;
}

.menu-toggle.active .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active .menu-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .menu-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@keyframes rotate-slow {
  to {
    transform: rotate(360deg);
  }
}

@keyframes rotate-reverse {
  to {
    transform: translate(-50%, -50%) rotate(-315deg);
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
}

/* Hero Slideshow */
.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  transform: scale(1.02);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.slideshow-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.3) 100%
  );
  z-index: 2;
}

/* Slideshow Indicators */
.slideshow-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 4;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.2);
}

.indicator.active {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.05) 100%);
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
}

.floating-element {
  position: absolute;
  border-radius: var(--radius-full);
  opacity: 0.6;
  animation: float-hero 8s ease-in-out infinite;
}

.gold-particle {
  background: var(--gold-gradient);
  box-shadow: var(--shadow-gold);
}

.silver-particle {
  background: var(--silver-gradient);
  box-shadow: var(--shadow-silver);
}

.diamond-particle {
  background: var(--diamond-gradient);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.5);
}

.floating-element:nth-child(1) {
  width: 120px;
  height: 120px;
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  width: 80px;
  height: 80px;
  top: 60%;
  left: 5%;
  animation-delay: 2s;
}

.floating-element:nth-child(3) {
  width: 60px;
  height: 60px;
  top: 30%;
  left: 20%;
  animation-delay: 4s;
}

.floating-element:nth-child(4) {
  width: 100px;
  height: 100px;
  bottom: 20%;
  right: 30%;
  animation-delay: 6s;
}

.floating-element:nth-child(5) {
  width: 40px;
  height: 40px;
  bottom: 40%;
  left: 80%;
  animation-delay: 1s;
}

@keyframes float-hero {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  33% {
    transform: translateY(-30px) rotate(120deg) scale(1.1);
  }
  66% {
    transform: translateY(15px) rotate(240deg) scale(0.9);
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px var(--space-lg) 0; /* Add top padding to avoid navbar overlap */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-text {
  max-width: 600px;
}

.hero-subtitle {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.5s forwards;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  display: inline-block;
}

.hero-title {
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  color: var(--white);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  display: inline-block;
}

.hero-gold {
  color: #d4af37; /* Classic gold color */
}

.hero-silver {
  color: #c0c0c0; /* Classic silver color */
}

/* Arabic-specific spacing for silver text */
[lang="ar"] .hero-silver {
  position: relative;
  left: -19px;
  bottom: -3px;
}

.title-line {
  display: block;
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
}

.title-line:nth-child(1) {
  animation-delay: 0.7s;
}
.title-line:nth-child(2) {
  animation-delay: 0.9s;
}
.title-line:nth-child(3) {
  animation-delay: 1.1s;
}

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.silver-text {
  background: var(--silver-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--space-xl);
  opacity: 0;
  animation: fadeInUp 1s ease-out 1.3s forwards;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  max-width: 600px;
  position: relative;
}

.hero-description::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(184, 134, 11, 0.1));
  border-radius: var(--radius-lg);
  z-index: -1;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 1s ease-out 1.5s forwards;
}

/* Buttons */
.btn {
  position: relative;
  padding: var(--space-md) var(--space-xl);
  border: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  overflow: hidden;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold-gradient);
  color: var(--white);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.4);
}

.btn-glass {
  background: var(--glass-gradient);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left var(--transition-slow);
}

.btn:hover .btn-shine {
  left: 100%;
}

.btn-text {
  position: relative;
  z-index: 1;
}

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

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jewelry-showcase {
  position: relative;
  width: 400px;
  height: 400px;
}

.showcase-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  opacity: 0;
  animation: zoomIn 1s ease-out 2s forwards;
}

.ring-band {
  width: 100%;
  height: 100%;
  border: 8px solid transparent;
  border-radius: var(--radius-full);
  background: var(--gold-gradient);
  background-clip: padding-box;
  position: relative;
  animation: rotate-slow 20s linear infinite;
}

.ring-diamond {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 20px;
  height: 20px;
  background: var(--diamond-gradient);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
  animation: sparkle 2s ease-in-out infinite;
}

.ring-glow {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
  animation: pulse-glow 3s ease-in-out infinite;
}

.showcase-necklace {
  position: absolute;
  top: 10%;
  right: 10%;
  width: 100px;
  height: 150px;
  opacity: 0;
  animation: fadeInLeft 1s ease-out 2.5s forwards;
}

.necklace-chain {
  width: 2px;
  height: 80%;
  background: var(--silver-gradient);
  margin: 0 auto;
  border-radius: 1px;
}

.necklace-pendant {
  width: 20px;
  height: 20px;
  background: var(--diamond-gradient);
  border-radius: var(--radius-full);
  margin: 10px auto 0;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
  animation: swing 4s ease-in-out infinite;
}

.showcase-earrings {
  position: absolute;
  bottom: 20%;
  left: 15%;
  display: flex;
  gap: 40px;
  opacity: 0;
  animation: fadeInRight 1s ease-out 3s forwards;
}

.earring {
  width: 15px;
  height: 40px;
  background: var(--gold-gradient);
  border-radius: 8px;
  position: relative;
  animation: sway 3s ease-in-out infinite;
}

.earring.left {
  animation-delay: 0s;
}
.earring.right {
  animation-delay: 1.5s;
}

.earring::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: var(--silver-gradient);
  border-radius: var(--radius-full);
}

@keyframes sparkle {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 255, 255, 1), 0 0 40px rgba(212, 175, 55, 0.5);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.1);
  }
}

@keyframes swing {
  0%,
  100% {
    transform: rotate(-5deg);
  }
  50% {
    transform: rotate(5deg);
  }
}

@keyframes sway {
  0%,
  100% {
    transform: rotate(-2deg);
  }
  50% {
    transform: rotate(2deg);
  }
}

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

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

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

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

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--gray-600);
  opacity: 0;
  animation: fadeInUp 1s ease-out 3.5s forwards;
}

.scroll-text {
  font-size: 0.8rem;
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.scroll-arrow {
  width: 2px;
  height: 40px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.arrow-line {
  width: 100%;
  height: 20px;
  background: var(--gray-400);
  animation: scroll-line 2s ease-in-out infinite;
}

.arrow-head {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid var(--gray-400);
}

@keyframes scroll-line {
  0%,
  100% {
    transform: translateY(-100%);
  }
  50% {
    transform: translateY(0);
  }
}

/* Collections Preview */
.collections-preview {
  padding: var(--space-3xl) 0;
  background: var(--white);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-md);
}

.section-title {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.2;
}

.section-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin-top: var(--space-md);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.collections-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-xl);
}

.collection-card {
  position: relative;
  height: 500px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-slow);
  background: var(--gray-100);
}

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

.card-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all var(--transition-slow);
}

.gold-collection .card-background {
  background: var(--gold-gradient);
}

.silver-collection .card-background {
  background: var(--silver-gradient);
}

.diamond-collection .card-background {
  background: var(--diamond-gradient);
}

.card-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--white);
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.diamond-collection .card-content {
  color: var(--gray-800);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.6) 100%);
}

.card-icon {
  width: 60px;
  height: 60px;
  margin-bottom: var(--space-lg);
}





.icon-diamond {
  width: 100%;
  height: 100%;
  background: currentColor;
  transform: rotate(45deg);
  position: relative;
  animation: sparkle-rotate 4s ease-in-out infinite;
}

@keyframes sparkle-rotate {
  0%,
  100% {
    transform: rotate(45deg) scale(1);
  }
  50% {
    transform: rotate(225deg) scale(1.1);
  }
}

.card-title {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.card-description {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: var(--space-lg);
}

.card-stats {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
  font-size: 0.9rem;
  opacity: 0.8;
}

.card-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: inherit;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
}

.diamond-collection .card-btn {
  background: rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.2);
}

.card-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(5px);
}

.diamond-collection .card-btn:hover {
  background: rgba(0, 0, 0, 0.2);
}

.btn-arrow {
  font-size: 1.2rem;
  transition: transform var(--transition-normal);
}

.card-btn:hover .btn-arrow {
  transform: translateX(5px);
}

.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  opacity: 0;
  transition: opacity var(--transition-slow);
  pointer-events: none;
  border-radius: var(--radius-full);
}

.collection-card:hover .card-glow {
  opacity: 0.3;
}

.gold-glow {
  background: radial-gradient(circle, var(--gold-primary) 0%, transparent 70%);
}

.silver-glow {
  background: radial-gradient(circle, var(--silver-primary) 0%, transparent 70%);
}

.diamond-glow {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
}

/* Featured Products */
.featured-products {
  padding: var(--space-3xl) 0;
  background: var(--gray-100);
}

.products-filter {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
  flex-wrap: wrap;
}

.filter-btn {
  padding: var(--space-sm) var(--space-lg);
  background: transparent;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-full);
  color: var(--gray-600);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  transition: left var(--transition-normal);
  z-index: 1;
}

.filter-btn span {
  position: relative;
  z-index: 2;
}

.filter-btn:hover::before,
.filter-btn.active::before {
  left: 0;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--gold-primary);
}

.products-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-slow);
  cursor: pointer;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.product-image {
  position: relative;
  height: 335px;
  background: var(--gray-100);
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.product-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 3;
}

.badge-gold {
  background: var(--gold-gradient);
  color: var(--white);
}

.badge-silver {
  background: var(--silver-gradient);
  color: var(--white);
}

.badge-diamond {
  background: var(--diamond-gradient);
  color: var(--gray-800);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120%; /* Make overlay taller for better coverage */
  background: linear-gradient(135deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

/* Ensure overlay height is consistent across all screen sizes */
@media (max-width: 768px) {
  .product-overlay {
    height: 130%; /* Even taller on mobile for better coverage */
  }
}

@media (max-width: 480px) {
  .product-overlay {
    height: 135%; /* Maximum height on small screens */
  }
}

.product-actions {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: var(--space-sm);
  opacity: 0;
  transition: all var(--transition-normal);
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(-10px);
}

.action-btn {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  color: var(--gray-800);
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.action-btn:hover {
  background: var(--white);
  transform: scale(1.1);
}

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

.product-info {
  padding: var(--space-lg);
}

.product-category {
  font-size: 0.8rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-xs);
}

.product-title {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.product-description {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

.product-price {
  font-size: 1.4rem;
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-md);
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.add-to-cart {
  flex: 1;
  padding: var(--space-sm) var(--space-md);
  background: var(--gold-gradient);
  color: var(--white);
  border: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.add-to-cart:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.wishlist-btn {
  width: 44px;
  height: 44px;
  border: 2px solid black;
  background: transparent;
  border-radius: var(--radius-lg);
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: var(--space-sm);
}

.wishlist-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.1);
}

.wishlist-btn.active {
  border-color: var(--gold-primary);
  background: var(--gold-primary);
  color: var(--white);
}

/* Craftsmanship Section */
.craftsmanship {
  padding: var(--space-3xl) 0;
  background: var(--gray-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.craftsmanship::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.03"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.03"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.craftsmanship-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  z-index: 2;
}

.craftsmanship-text .section-subtitle {
  color: var(--gold-primary);
}

.craftsmanship-text .section-title {
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.craftsmanship-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--gray-300);
  margin-bottom: var(--space-xl);
}

.craftsmanship-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.feature-icon {
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  background: whitesmoke;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-xs);
}

.feature-text p {
  color: var(--gray-400);
  line-height: 1.6;
}

.craftsmanship-visual {
  position: relative;
  height: 500px;
}

.visual-container {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-700) 100%);
  overflow: hidden;
}

.artisan-hands,
.crafting-tools,
.work-in-progress {
  position: absolute;
  border-radius: var(--radius-lg);
  background: var(--gray-600);
  opacity: 0.8;
}

.artisan-hands {
  width: 120px;
  height: 80px;
  top: 20%;
  left: 20%;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  animation: craft-motion 4s ease-in-out infinite;
}

.crafting-tools {
  width: 80px;
  height: 100px;
  top: 60%;
  right: 25%;
  background: var(--silver-gradient);
  animation: tool-motion 3s ease-in-out infinite 1s;
}

.work-in-progress {
  width: 60px;
  height: 60px;
  bottom: 25%;
  left: 40%;
  background: var(--diamond-gradient);
  border-radius: var(--radius-full);
  animation: sparkle-work 2s ease-in-out infinite 2s;
}

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

@keyframes tool-motion {
  0%,
  100% {
    transform: translateX(0) rotate(0deg);
  }
  50% {
    transform: translateX(10px) rotate(-10deg);
  }
}

@keyframes sparkle-work {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
  }
}

/* Special Campaigns Section */
.special-campaigns {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
}

.campaigns-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.campaigns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.campaign-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-slow);
  position: relative;
}

.campaign-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.campaign-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.campaign-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.campaign-card:hover .campaign-image img {
  transform: scale(1.1);
}

.campaign-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: var(--space-lg);
}

.campaign-badge {
  background: var(--gold-gradient);
  color: var(--white);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: var(--shadow-gold);
  animation: pulse-badge 2s ease-in-out infinite;
}

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

.campaign-content {
  padding: var(--space-xl);
}

.campaign-title {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--space-md);
}

.campaign-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-600);
  margin-bottom: var(--space-lg);
}

.campaign-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}

.campaign-price {
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.campaign-validity {
  font-size: 0.9rem;
  color: var(--gray-500);
  font-style: italic;
}

.campaign-btn {
  width: 100%;
  padding: var(--space-md);
  background: var(--gold-gradient);
  color: var(--white);
  border: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

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

.wedding-campaign {
  border-top: 4px solid #ff69b4;
}

.anniversary-campaign {
  border-top: 4px solid #dc143c;
}

.graduation-campaign {
  border-top: 4px solid #4169e1;
}

.campaigns-cta {
  text-align: center;
  padding: var(--space-3xl);
  background: var(--gray-900);
  border-radius: var(--radius-xl);
  color: var(--white);
}

.cta-content h3 {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--gray-300);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.whatsapp-btn {
  width: 60px;
  height: 60px;
  background: var(--whatsapp-green);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-whatsapp);
  animation: float-whatsapp 3s ease-in-out infinite;
}

.whatsapp-btn:hover {
  background: var(--whatsapp-dark);
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn svg {
  width: 32px;
  height: 32px;
  color: var(--white);
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: var(--gray-900);
  color: var(--white);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-lg);
}

.whatsapp-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid var(--gray-900);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

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

/* Newsletter */
.newsletter {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
  color: var(--white);
  text-align: center;
}

.newsletter-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.newsletter-text h3 {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.newsletter-text p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  gap: var(--space-sm);
  background: rgba(255, 255, 255, 0.1);
  padding: var(--space-xs);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group input {
  flex: 1;
  padding: var(--space-md);
  border: none;
  background: transparent;
  color: var(--white);
  font-size: 1rem;
  outline: none;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.submit-btn {
  padding: var(--space-md) var(--space-lg);
  background: var(--white);
  color: var(--gold-primary);
  border: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.submit-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Footer */
.footer {
  background: var(--black);
  color: var(--white);
  padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.brand-section {
  max-width: 400px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.brand-description {
  color: var(--gray-400);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.social-links {
  display: flex;
  gap: var(--space-md);
}

.social-link {
  width: 44px;
  height: 44px;
  background: var(--gray-800);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: all var(--transition-normal);
  text-decoration: none;
}

.social-link:hover {
  background: var(--gold-primary);
  color: var(--white);
  transform: translateY(-3px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.footer-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: var(--space-sm);
}

.footer-section a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color var(--transition-normal);
}

.footer-section a:hover {
  color: var(--gold-primary);
}

.contact-info p {
  color: var(--gray-400);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-lg) 0;
  border-top: 1px solid var(--gray-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gray-500);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-links a {
  color: var(--gray-500);
  text-decoration: none;
  transition: color var(--transition-normal);
}

.footer-links a:hover {
  color: var(--gold-primary);
}

/* Cart Sidebar */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -450px;
  width: 450px;
  height: 100vh;
  background: var(--white);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  transition: right var(--transition-slow);
  display: flex;
  flex-direction: column;
}

.cart-sidebar.open {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg);
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-50);
}

.cart-header h3 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-900);
}

.cart-close {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
}

.cart-close:hover {
  background: var(--gray-200);
  color: var(--gray-900);
}

.cart-close svg {
  width: 20px;
  height: 20px;
}

.cart-items {
  flex: 1;
  padding: var(--space-lg);
  overflow-y: auto;
}

.empty-cart {
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
  color: var(--gray-500);
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: var(--space-lg);
}

.empty-cart p {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: var(--space-sm);
  color: var(--gray-700);
}

.cart-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--gray-200);
}

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

.cart-item-image {
  width: 80px;
  height: 80px;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex-shrink: 0;
}

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

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--space-xs);
  font-size: 0.95rem;
}

.cart-item-price {
  color: var(--gold-primary);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.quantity-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--gray-300);
  background: var(--white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--gray-600);
}

.quantity-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.quantity-display {
  min-width: 30px;
  text-align: center;
  font-weight: 600;
  color: var(--gray-800);
}

.remove-btn {
  background: none;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
  transition: color var(--transition-normal);
  margin-left: auto;
  font-size: 0.85rem;
}

.remove-btn:hover {
  color: #ef4444;
}

.cart-footer {
  padding: var(--space-lg);
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
}

.cart-total {
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-lg);
  color: var(--gray-900);
}

.checkout-btn {
  width: 100%;
  padding: var(--space-md);
  background: var(--gold-gradient);
  color: var(--white);
  border: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

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

.checkout-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Cart Overlay */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  backdrop-filter: blur(5px);
}

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

/* Search Modal */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1002;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
}

.search-modal.open {
  opacity: 1;
  visibility: visible;
}

.search-content {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  animation: slideInDown 0.3s ease-out;
}

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

.search-header {
  display: flex;
  align-items: center;
  padding: var(--space-lg);
  border-bottom: 1px solid var(--gray-200);
}

.search-header input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.2rem;
  color: var(--gray-900);
  background: transparent;
}

.search-header input::placeholder {
  color: var(--gray-500);
}

.search-close {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  color: var(--gray-600);
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
}

.search-close:hover {
  background: var(--gray-100);
  color: var(--gray-900);
}

.search-results {
  padding: var(--space-lg);
  max-height: 400px;
  overflow-y: auto;
}

.search-suggestions h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.suggestion {
  padding: var(--space-xs) var(--space-md);
  background: var(--gray-100);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  color: var(--gray-700);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.suggestion:hover {
  background: var(--gold-primary);
  color: var(--white);
}

/* Wishlist Modal */
.wishlist-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
}

.wishlist-modal.open {
  opacity: 1;
  visibility: visible;
}

.wishlist-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.wishlist-content {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  animation: slideInUp 0.3s ease-out;
  display: flex;
  flex-direction: column;
}

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

.wishlist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  border-bottom: 1px solid var(--gray-200);
  background: var(--white);
}

.wishlist-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-900);
  margin: 0;
}

.wishlist-close {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  color: var(--gray-600);
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wishlist-close:hover {
  background: var(--gray-100);
  color: var(--gray-900);
}

.wishlist-items {
  flex: 1;
  padding: var(--space-lg);
  max-height: 500px;
  overflow-y: auto;
}

.empty-wishlist {
  text-align: center;
  padding: var(--space-xxl);
  color: var(--gray-600);
}

.empty-wishlist .empty-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.empty-wishlist p {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--gray-800);
}

.empty-wishlist span {
  font-size: 0.9rem;
  color: var(--gray-600);
}

.wishlist-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  transition: all var(--transition-normal);
}

.wishlist-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gold-primary);
}

.wishlist-item-image {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--gray-100);
  flex-shrink: 0;
}

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

.wishlist-item-details {
  flex: 1;
}

.wishlist-item-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--space-xs);
}

.wishlist-item-price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-primary);
  margin-bottom: var(--space-xs);
}

.wishlist-item-category {
  font-size: 0.9rem;
  color: var(--gray-600);
}

.wishlist-item-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.wishlist-item-btn {
  padding: var(--space-xs) var(--space-md);
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-normal);
  min-width: 120px;
}

.add-to-cart-btn {
  background: var(--gold-primary);
  color: var(--white);
}

.add-to-cart-btn:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

.remove-from-wishlist-btn {
  background: transparent;
  color: var(--gray-600);
  border: 1px solid var(--gray-300);
}

.remove-from-wishlist-btn:hover {
  background: var(--gray-100);
  color: var(--gray-800);
}

.wishlist-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg);
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
  gap: var(--space-md);
}

.clear-wishlist-btn,
.move-to-cart-btn {
  padding: var(--space-md) var(--space-lg);
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.clear-wishlist-btn {
  background: transparent;
  color: var(--gray-600);
  border: 1px solid var(--gray-300);
}

.clear-wishlist-btn:hover {
  background: var(--gray-100);
  color: var(--gray-800);
}

.move-to-cart-btn {
  background: var(--gold-primary);
  color: var(--white);
  flex: 1;
  max-width: 300px;
}

.move-to-cart-btn:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

.wishlist-btn .wishlist-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #e74c3c;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: all var(--transition-normal);
}

.wishlist-btn .wishlist-count.show {
  transform: scale(1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
    padding-top: 120px; /* Increased padding for mobile navbar */
  }

  .slideshow-indicators {
    bottom: 20px;
    gap: 10px;
  }

  .indicator {
    width: 10px;
    height: 10px;
  }

  .hero-visual {
    height: 400px;
  }

  .jewelry-showcase {
    width: 300px;
    height: 300px;
  }

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

  .craftsmanship-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

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

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--space-xl);
    padding-bottom: calc(var(--space-xl) + 20px); /* Extra bottom padding for dropdown overflow */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-primary) transparent;
  }

  .nav-menu::-webkit-scrollbar {
    width: 4px;
  }

  .nav-menu::-webkit-scrollbar-track {
    background: transparent;
  }

  .nav-menu::-webkit-scrollbar-thumb {
    background: var(--gold-primary);
    border-radius: 2px;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    padding: var(--space-md) 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
    position: relative;
  }

  .nav-link:hover {
    transform: translateX(10px);
    color: var(--gold-primary);
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: initial;
  }

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

  .nav-link::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 46%;
    width: 4px;
    height: 0;
    background: var(--gold-gradient);
    border-radius: 2px;
    transform: translateY(-50%);
    transition: height 0.3s ease;
  }

  .nav-link:hover::before,
  .nav-link.active::before {
    height: 60%;
  }

  .menu-toggle {
    display: flex;
    z-index: 1000;
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    position: relative; /* Add relative positioning for tooltip */
  }

  .menu-toggle:hover {
    background: rgba(212, 175, 55, 0.1);
  }

  .menu-line {
    background: var(--gray-800);
    border-radius: 1px;
  }

  .menu-toggle.active .menu-line {
    background: var(--gold-primary);
  }
}

/* Mobile Menu Tooltip - Hidden by default and only shown on mobile */
.mobile-menu-tooltip {
  display: none !important; /* Force hide by default */
  position: absolute;
  top: calc(100% + 8px); /* Position below the menu toggle */
  background: var(--gray-900);
  color: white;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-lg);
  font-size: 0.85rem;
  z-index: 900; /* Lower than language switcher */
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  max-width: 160px; /* Limit width to force text wrapping */
  white-space: normal; /* Allow text wrapping */
  text-align: center; /* Center the text */
}

/* Default LTR positioning - tooltip positioned to avoid going off-screen */
.mobile-menu-tooltip {
  right: 0; /* Align to right edge to prevent overflow */
  transform: translateY(-10px);
}

/* RTL positioning - same centering for consistency */
[dir="rtl"] .mobile-menu-tooltip,
html[lang="ar"] .mobile-menu-tooltip,
body.rtl .mobile-menu-tooltip {
  left: 50%;
  right: auto; /* Override the LTR right positioning */
  transform: translateX(-50%) translateY(-10px); /* Same centering */
}

/* Only enable tooltip on mobile when menu toggle is visible */
@media (max-width: 768px) {
  .mobile-menu-tooltip {
    display: block !important; /* Override the default hide */
    margin-top: var(--space-md); /* Extra space to avoid language switcher */
  }
  
  .mobile-menu-tooltip.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0); /* Show without centering transform for LTR */
  }

  /* RTL show state - keep centered */
  [dir="rtl"] .mobile-menu-tooltip.show,
  html[lang="ar"] .mobile-menu-tooltip.show,
  body.rtl .mobile-menu-tooltip.show {
    transform: translateX(-50%) translateY(0); /* Center and show for RTL */
  }

  /* RTL mobile overrides to ensure proper background coverage */
  [dir="rtl"] .mobile-menu-tooltip,
  html[lang="ar"] .mobile-menu-tooltip,
  body.rtl .mobile-menu-tooltip {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) translateY(-10px) !important;
  }

  .mobile-menu-tooltip .tooltip-content {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
  }

  .mobile-menu-tooltip .tooltip-icon {
    font-size: 1rem;
    animation: bounce 2s infinite;
  }

  .mobile-menu-tooltip .tooltip-text {
    font-weight: 500;
    line-height: 1.4;
  }

  /* Arrow positioning - right-aligned for LTR, centered for RTL */
  .mobile-menu-tooltip .tooltip-arrow {
    position: absolute;
    top: -6px;
    right: 20px; /* Position arrow towards the right for LTR */
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--gray-900);
  }

  /* RTL arrow positioning - keep centered */
  [dir="rtl"] .mobile-menu-tooltip .tooltip-arrow,
  html[lang="ar"] .mobile-menu-tooltip .tooltip-arrow,
  body.rtl .mobile-menu-tooltip .tooltip-arrow {
    left: 50%;
    right: auto;
    transform: translateX(-50%); /* Center the arrow for RTL */
  }

  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
    }
    40% {
      transform: translateY(-5px);
    }
    60% {
      transform: translateY(-3px);
    }
  }

  /* Responsive adjustments for mobile tooltip */
  @media (max-width: 480px) {
    .mobile-menu-tooltip {
      font-size: 0.8rem;
      padding: var(--space-xs) var(--space-sm);
      max-width: 140px; /* Smaller max width for smaller screens */
    }
  }

  @media (max-width: 360px) {
    .mobile-menu-tooltip {
      font-size: 0.75rem;
      max-width: 200px;
      white-space: normal;
      text-align: center;
    }
  }

  /* Mobile dropdown styles */
  .nav-dropdown {
    width: 100%;
  }

  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--gray-200);
  }

  .dropdown-menu {
    position: static;
    opacity: 0;
    visibility: hidden;
    transform: none;
    margin: 0;
    padding: 0;
    background: var(--gray-50);
    border: none;
    border-radius: 0;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-normal);
  }

  .nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 400px;
    padding: var(--space-sm) 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .nav-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
  }

  .dropdown-item {
    padding: var(--space-sm) var(--space-md);
    margin: 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.9rem;
  }

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

  .dropdown-item:hover {
    transform: none;
    padding-left: var(--space-lg);
  }

  /* Fix hero height for mobile */
  .hero {
    min-height: 85vh; /* Reduced from 100vh to 70vh for mobile */
    padding: var(--space-lg) 0;
    padding-top: 80px; /* Account for fixed navigation */
  }

  .hero-content {
    padding-top: 100px; /* Account for navbar on mobile */
  }

  /* Fix logo symbol on mobile */
  .logo-symbol {
    width: 32px;
    height: 32px;
  }

  .slideshow-indicators {
    bottom: 15px;
    gap: 8px;
  }

  .indicator {
    width: 8px;
    height: 8px;
    border-width: 1px;
  }

  .hero-title {
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    display: inline-block;
    color: var(--white);
  }

  .hero-subtitle {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    display: inline-block;
    font-size: 0.8rem;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: var(--space-lg);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }

  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .collections-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .collection-card {
    height: 400px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
  }

  .campaigns-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .form-group {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
  }

  .cart-sidebar {
    width: 100vw;
    right: -100vw;
  }

  .search-content {
    width: 95%;
    margin: var(--space-lg);
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-btn {
    width: 50px;
    height: 50px;
  }

  .whatsapp-btn svg {
    width: 28px;
    height: 28px;
  }

  .whatsapp-tooltip {
    display: none;
  }

  /* Enhanced Mobile Typography */
  .hero-description {
    font-size: 1rem;
    padding: var(--space-md);
    margin: 0 var(--space-md) var(--space-xl);
    max-width: calc(100% - 2rem);
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: var(--space-lg);
  }

  .section-description {
    font-size: 1rem;
    margin-bottom: var(--space-xl);
  }

  /* Enhanced Mobile Cards */
  .card-content {
    padding: var(--space-lg);
  }

  .card-title {
    font-size: 1.5rem;
  }

  .card-description {
    font-size: 0.9rem;
  }

  /* Enhanced Mobile Product Grid */
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
    padding: 0 var(--space-md);
  }

  .product-card {
    margin-bottom: var(--space-lg);
  }

  .product-image {
    height: 200px;
  }

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

  .product-description {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .product-price {
    font-size: 1.2rem;
  }

  /* Enhanced Mobile Forms */
  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: var(--space-md);
  }

  /* Enhanced Mobile Modals */
  .modal-content {
    width: 95%;
    height: 90vh;
    max-height: 90vh;
    margin: 5vh auto;
    border-radius: var(--radius-lg);
  }

  .modal-body {
    flex-direction: column;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
  }

  .modal-images {
    width: 100%;
    margin-bottom: var(--space-lg);
  }

  .modal-details {
    width: 100%;
    padding: 0 var(--space-md);
  }

  /* Enhanced Mobile Touch Targets */
  .btn {
    min-height: 44px;
    font-size: 1rem;
    padding: var(--space-md) var(--space-lg);
  }

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

  .wishlist-btn {
    min-width: 44px;
    height: 44px;
  }

  /* Enhanced Mobile Navigation Bar */
  .navbar {
    padding: var(--space-md) 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .nav-container {
    padding: 0 var(--space-md);
  }

  .logo-text .logo-main {
    font-size: 1.2rem;
  }

  .logo-text .logo-sub {
    font-size: 0.8rem;
  }

  /* Mobile Submit Button Centering */
  .submit-btn,
  .purchase-submit,
  button[type="submit"] {
    width: 100% !important;
    max-width: 300px !important;
    margin: 0 auto !important;
    display: block !important;
    text-align: center !important;
  }

  /* Enhanced Mobile Modal Actions */
  .modal-actions {
    flex-direction: column !important;
    gap: var(--space-md) !important;
    margin-top: var(--space-lg) !important;
    padding: 0 var(--space-md) !important;
  }

  .modal-actions .btn {
    width: 100% !important;
    min-height: 48px !important;
    font-size: 1rem !important;
    padding: var(--space-md) var(--space-lg) !important;
    border-radius: var(--radius-lg) !important;
    justify-content: center !important;
    display: flex !important;
    align-items: center !important;
    gap: var(--space-sm) !important;
  }

  .modal-actions .btn-primary {
    order: 1;
    margin-bottom: var(--space-sm) !important;
  }

  .modal-actions .btn-secondary {
    order: 2;
    margin-bottom: var(--space-sm) !important;
  }

  .modal-actions .btn-whatsapp {
    order: 3;
    font-size: 0.95rem !important;
  }

  .modal-actions .btn-whatsapp svg {
    width: 20px !important;
    height: 20px !important;
  }

  /* Enhanced Mobile Navigation Behavior */
  .nav-dropdown.active .dropdown-toggle::after {
    content: " (Tap again to open page)" !important;
    font-size: 0.7rem !important;
    color: var(--gold-light) !important;
    font-weight: 300 !important;
    display: block !important;
    margin-top: 2px !important;
  }

  .nav-dropdown .dropdown-toggle {
    position: relative !important;
    padding-bottom: 0.5rem !important;
  }

  /* Better touch targets for mobile navigation */
  .nav-dropdown .dropdown-toggle {
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: var(--space-sm) var(--space-md) !important;
  }

  .nav-dropdown .dropdown-arrow {
    width: 16px !important;
    height: 16px !important;
    transition: transform 0.3s ease !important;
  }

  .nav-dropdown.active .dropdown-arrow {
    transform: rotate(180deg) !important;
  }

  /* Fix AOS Overflow Issues for Smooth Mobile Scrolling */
  [data-aos] {
    overflow: hidden !important;
  }

  [data-aos].aos-animate {
    overflow: hidden !important;
  }

  /* Ensure smooth scrolling performance */
  * {
    -webkit-overflow-scrolling: touch !important;
  }

  body {
    overflow-x: hidden !important;
  }
}

/* RTL Mobile Navigation Fixes */
@media (max-width: 768px) {
  .rtl .nav-actions {
    flex-direction: row; /* Override row-reverse for mobile */
  }
  
  .rtl .nav-menu {
    text-align: center;
    /* Center the RTL mobile menu */
    transform: translateY(-110%);
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    top: 70px;
  }
  
  .rtl .nav-menu.open {
    transform: translateY(0);
  }
  
  .rtl .nav-link:hover {
    transform: translateX(-10px); /* Reverse direction for RTL */
  }
  
  .rtl .nav-link::before {
    left: auto;
    right: -9px; /* Move indicator to right side for RTL */
  }
  
  .rtl .dropdown-toggle {
    text-align: right;
  }
  
  .rtl .language-switcher {
    order: 1; /* Ensure language switcher stays in correct position */
  }
}

@media (max-width: 480px) {
  :root {
    --space-xs: 0.25rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 2.5rem;
    --space-3xl: 3rem;
  }

  /* Ultra Mobile Navigation */
  .nav-container {
    padding: var(--space-sm) var(--space-md);
  }

  .nav-menu {
    top: 60px;
    padding: var(--space-lg);
  }

  .nav-link {
    font-size: 1rem;
    padding: var(--space-sm) 0;
  }

  /* Ultra Mobile Logo */
  .logo-symbol {
    width: 28px;
    height: 28px;
  }

  .logo-main {
    font-size: 1.1rem;
  }

  .logo-sub {
    font-size: 0.7rem;
  }

  .hero {
    min-height: 60vh; 
    padding: var(--space-md) 0;
    padding-top: 70px; 
  }

  .hero-content {
    padding-top: 90px; 
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    display: inline-block;
    color: var(--white);
  }

  .hero-subtitle {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 1px;
  }

  .hero-description {
    font-size: 0.9rem;
    padding: var(--space-sm) var(--space-md);
    margin: 0 var(--space-sm) var(--space-lg);
    line-height: 1.5;
  }

  .hero-buttons {
    gap: var(--space-sm);
    padding: 0 var(--space-md);
  }

  .btn {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.9rem;
    min-height: 42px;
  }

  /* Ultra Mobile Sections */
  .section-title {
    font-size: 1.8rem;
    margin-bottom: var(--space-md);
  }

  .section-description {
    font-size: 0.9rem;
    margin-bottom: var(--space-lg);
  }

  /* Ultra Mobile Collections */
  .collections-grid {
    gap: var(--space-md);
    padding: 0 var(--space-sm);
  }

  .collection-card {
    height: 300px;
    margin: 0;
  }

  .card-content {
    padding: var(--space-md);
  }

  .card-title {
    font-size: 1.3rem;
  }

  .card-description {
    font-size: 0.85rem;
  }

  /* Ultra Mobile Products */
  .products-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: 0 var(--space-sm);
  }

  .product-card {
    max-width: 100%;
  }

  .product-image {
    height: 300px;
  }

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

  .product-description {
    font-size: 0.85rem;
  }

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

  /* Ultra Mobile Filters */
  .products-filter {
    gap: var(--space-xs);
    padding: 0 var(--space-sm);
    flex-wrap: wrap;
  }

  .filter-btn {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.8rem;
    min-width: auto;
  }

  /* Ultra Mobile Forms */
  .form-group {
    margin-bottom: var(--space-md);
  }

  .form-group label {
    font-size: 0.9rem;
    margin-bottom: var(--space-xs);
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 16px;
    padding: var(--space-sm) var(--space-md);
  }

  /* Ultra Mobile Modals */
  .modal-content {
    width: 98%;
    height: 95vh;
    margin: 2.5vh auto;
    border-radius: var(--radius-md);
  }

  .modal-header {
    padding: var(--space-md);
  }

  .modal-header h3 {
    font-size: 1.2rem;
  }

  .modal-body {
    padding: var(--space-md);
  }

  /* Ultra Mobile Actions */
  .nav-actions {
    gap: var(--space-xs);
  }

  .nav-btn {
    width: 36px;
    height: 36px;
  }

  .menu-toggle {
    width: 36px;
    height: 36px;
  }

  .menu-line {
    width: 20px;
  }

  /* Ultra Mobile Footer */
  .footer {
    padding: var(--space-lg) 0;
  }

  .footer-content {
    gap: var(--space-lg);
    padding: 0 var(--space-md);
  }

  .footer-logo {
    justify-content: center;
  }

  .contact-info {
    text-align: center;
  }

  .footer-section h4 {
    font-size: 1.1rem;
  }

  .footer-section {
    text-align: center;
  }

  /* Ultra Mobile Newsletter */
  .newsletter-text h3 {
    font-size: 1.5rem;
  }

  .newsletter-text p {
    font-size: 0.9rem;
  }

  .newsletter-form {
    gap: var(--space-sm);
  }

  .newsletter-form input {
    font-size: 16px;
  }

  /* Ultra Mobile Campaigns */
  .campaigns-grid {
    gap: var(--space-md);
    padding: 0 var(--space-sm);
  }

  .campaigns-cta {
    padding: var(--space-md);
  }

  .campaigns-cta h3 {
    font-size: 1.3rem;
  }

  /* Ultra Mobile Other Elements */
  .craftsmanship-visual {
    height: 250px;
  }

  .social-links {
    justify-content: center;
    gap: var(--space-md);
  }

  .whatsapp-float {
    bottom: 15px;
    right: 15px;
  }

  .whatsapp-btn {
    width: 45px;
    height: 45px;
  }

  .whatsapp-btn svg {
    width: 24px;
    height: 24px;
  }

  .cta-content h3 {
    font-size: 1.5rem;
  }

  .wishlist-content {
    width: 95%;
    max-height: 90vh;
  }

  .wishlist-item {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
  }

  .wishlist-item-image {
    width: 100px;
    height: 100px;
    align-self: center;
  }

  .wishlist-item-actions {
    flex-direction: row;
    justify-content: center;
    gap: var(--space-sm);
  }

  .wishlist-item-btn {
    min-width: 100px;
    font-size: 0.8rem;
  }

  .wishlist-actions {
    flex-direction: column;
    gap: var(--space-md);
  }

  .move-to-cart-btn {
    max-width: none;
  }
}

/* RTL Ultra Mobile Navigation Fixes */
@media (max-width: 480px) {
  .rtl .nav-actions {
    flex-direction: row; /* Keep normal order for ultra mobile */
  }
  
  .rtl .nav-link:hover {
    transform: translateX(-5px); /* Smaller movement for ultra mobile */
  }
}

/* AOS Animation Styles */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 0.6s;
  transition-timing-function: ease-out;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: none;
}

[data-aos="fade-up"] {
  transform: translateY(30px);
}

[data-aos="fade-left"] {
  transform: translateX(30px);
}

[data-aos="fade-right"] {
  transform: translateX(-30px);
}

[data-aos="zoom-in"] {
  transform: scale(0.8);
}

/* Performance Optimizations */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
     position: relative;
    width: 80px;
    height: 80px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

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

/* Focus styles */
button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .navbar,
  .cart-sidebar,
  .wishlist-modal,
  .floating-elements,
  .whatsapp-float {
    display: none !important;
  }

  .hero {
    min-height: auto;
    padding: var(--space-lg) 0;
  }

  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
  }
}

/* Product Modal */
.product-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: none;
}

.product-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 1000px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1001;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg);
  border-bottom: 1px solid var(--gray-200);
}

.modal-header h3 {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 600;
  color: black;
}

.modal-close {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  /* iOS Safari fixes */
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  z-index: 10;
  flex-shrink: 0;
}

.modal-close svg {
  width: 20px;
  height: 20px;
  /* iOS Safari SVG fixes */
  display: block;
  pointer-events: none;
}

.modal-close:hover {
  background: var(--gray-100);
  color: var(--gray-900);
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  padding: var(--space-lg);
}

.modal-images {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.main-image {
  position: relative;
  height: 400px;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.main-image img {
  width: 100%;
  height: 112%;
  object-fit: cover;
}

.thumbnail-images {
  display: flex;
  gap: var(--space-sm);
}

.thumbnail-item {
  position: relative;
  width: 80px;
  height: 80px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 2px solid transparent;
}

.thumbnail-item:hover,
.thumbnail-item.active {
  border-color: var(--primary-color);
}

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

.modal-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.product-badge {          
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  top: 2px;
  width: fit-content;
}

.product-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-600);
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.spec-item {
  padding: var(--space-xs) var(--space-sm);
  background: var(--gray-100);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--gray-700);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.rating-stars {
  color: var(--accent-color);
  font-size: 1.2rem;
}

.rating-text {
  color: var(--gray-600);
  font-size: 0.9rem;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
}

.current-price {
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.original-price {
  font-size: 1rem !important;
  color: #888 !important;
  text-decoration: line-through !important;
  margin-left: 8px !important;
  display: inline !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: #888 !important;
  background-clip: initial !important;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.btn-whatsapp {
  background: var(--whatsapp-green);
  color: var(--white);
  border: none;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-lg);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-whatsapp);
}

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

/* Purchase Modal */
.purchase-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1002;
  display: none;
}

.purchase-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.purchase-content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1003;
  animation: modalSlideIn 0.3s ease-out;
}

.purchase-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg);
  border-bottom: 1px solid var(--gray-200);
}

.purchase-header h3 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 600;
  color: black;
}

.purchase-body {
  padding: var(--space-lg);
}

.purchase-product {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--gray-200);
}

.product-summary {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.product-summary img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.product-details h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.product-details .product-badge {
  margin-bottom: var(--space-xs);
}

.product-details .product-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.purchase-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group label {
  font-weight: 600;
  color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: var(--space-sm);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: border-color var(--transition-normal);
  color: black;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.purchase-total {
  background: var(--gray-50);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin: var(--space-lg) 0;
}

.total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-xs) 0;
}

.total-final {
  border-top: 1px solid var(--gray-300);
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  font-weight: 700;
  font-size: 1.1rem;
}

.purchase-submit {
  width: 100%;
  padding: var(--space-md);
  background: var(--gradient-primary);
  color: burlywood;
  border: none;
  border-radius: var(--radius-lg);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.legal-notice {
  margin: var(--space-sm) 0;
  padding: var(--space-xs);
  text-align: center;
}

.legal-notice p {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.85rem;
  line-height: 1.4;
}

.legal-notice a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.legal-notice a:hover {
  color: var(--accent-gold-dark);
  text-decoration: underline;
}

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

.purchase-note {
  margin-top: var(--space-md);
  padding: var(--space-sm);
  background: var(--blue-50);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* Success Message */
.success-message {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1004;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.8);
}

.success-message.show {
  display: flex;
}

.success-content {
  background: var(--white);
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  text-align: center;
  max-width: 400px;
  width: 90%;
  animation: modalSlideIn 0.3s ease-out;
}

.success-icon {
  width: 60px;
  height: 60px;
  background: var(--green-500);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  margin: 0 auto var(--space-md);
}

.success-content h3 {
  margin-bottom: var(--space-sm);
  color: var(--gray-900);
}

.success-content p {
  margin-bottom: var(--space-lg);
  color: var(--gray-600);
}

/* Mobile Responsiveness for Modals */
@media (max-width: 768px) {
  .modal-body {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .main-image {
    height: 300px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .modal-content,
  .purchase-content {
    width: 95%;
    margin: var(--space-md);
  }
  
  .modal-header h3 {
    font-size: 1.5rem;
  }
  
  .purchase-header h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .modal-content,
  .purchase-content {
    width: 98%;
    margin: var(--space-sm);
  }
  
  .main-image {
    height: 250px;
  }
  
  .current-price {
    font-size: 1.5rem;
  }
}

/* Cookie Banner & Preferences Styles */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--glass-gradient);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding: var(--space-lg);
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  display: none;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.cookie-text {
  flex: 1;
}

.cookie-text h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--gold-primary);
  margin-bottom: var(--space-xs);
}

.cookie-text p {
  color: var(--gray-300);
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.cookie-actions .btn {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.cookie-modal.show {
  opacity: 1;
}

.cookie-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  cursor: pointer;
}

.cookie-modal-content {
  background: var(--glass-gradient);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 20px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease-in-out;
}

.cookie-modal.show .cookie-modal-content {
  transform: scale(1);
}

.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.cookie-modal-header h3 {
  font-family: var(--font-heading);
  color: var(--gold-primary);
  font-size: 1.5rem;
}

.close-btn {
  background: none;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
  padding: var(--space-xs);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close-btn:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-primary);
}

.close-btn svg {
  width: 20px;
  height: 20px;
}

.cookie-modal-body {
  padding: var(--space-lg);
}

.cookie-description {
  color: var(--gray-300);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.cookie-category {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 12px;
  padding: var(--space-md);
  transition: all 0.3s ease;
}

.cookie-category:hover {
  border-color: rgba(212, 175, 55, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.category-info h4 {
  font-family: var(--font-heading);
  color: var(--gold-primary);
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}

.category-info p {
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-switch label {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--gray-600);
  border-radius: 24px;
  transition: 0.3s;
}

.toggle-switch label:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
}

.toggle-switch input:checked + label {
  background-color: var(--gold-primary);
}

.toggle-switch input:checked + label:before {
  transform: translateX(26px);
}

.toggle-switch.disabled {
  opacity: 0.6;
  pointer-events: none;
}

.toggle-switch.disabled label {
  cursor: not-allowed;
}

.cookie-modal-footer {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-lg);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  justify-content: flex-end;
}

.cookie-modal-footer .btn {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.9rem;
}

/* Cookie Notification */
.cookie-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--glass-gradient);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: var(--space-md);
  z-index: 10002;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  min-width: 300px;
  max-width: 400px;
}

.cookie-notification.show {
  transform: translateX(0);
}

.cookie-notification.success {
  border-color: rgba(34, 197, 94, 0.3);
}

.cookie-notification.error {
  border-color: rgba(239, 68, 68, 0.3);
}

.cookie-notification.info {
  border-color: rgba(59, 130, 246, 0.3);
}

.notification-content {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.notification-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.notification-message {
  color: var(--black);
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 500;
}

.cookie-notification.success .notification-icon {
  color: #22c55e;
}

.cookie-notification.error .notification-icon {
  color: #ef4444;
}

.cookie-notification.info .notification-icon {
  color: #3b82f6;
}

/* Mobile Responsiveness for Cookie Elements */
@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
  
  .cookie-actions {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .cookie-modal-content {
    width: 95%;
    margin: var(--space-sm);
  }
  
  .cookie-modal-footer {
    flex-direction: column;
  }
  
  .cookie-modal-footer .btn {
    width: 100%;
  }
  
  .category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }
  
  .toggle-switch {
    align-self: flex-end;
  }
}

@media (max-width: 480px) {
  .cookie-banner {
    padding: var(--space-md);
  }
  
  .cookie-actions .btn {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.8rem;
  }
  
  .cookie-modal-content {
    width: 98%;
    margin: var(--space-xs);
  }
  
  .cookie-notification {
    right: 10px;
    left: 10px;
    min-width: auto;
    max-width: none;
  }
}

/* Mobile Responsive Styles for Language Switcher */
@media (max-width: 768px) {
  .language-switcher {
    margin-right: 0.5rem;
  }

  .rtl .language-switcher {
    margin-right: 0;
    margin-left: 0.5rem;
  }

  .language-current {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }

  .lang-code {
    display: none;
  }

  .language-dropdown {
    min-width: 120px;
    right: -20px;
  }

  .rtl .language-dropdown {
    right: auto;
    left: -20px;
  }

  .language-option {
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .language-switcher {
    margin-right: 0.25rem;
  }

  .rtl .language-switcher {
    margin-right: 0;
    margin-left: 0.25rem;
  }

  .language-current {
    padding: 0.3rem 0.6rem;
  }

  .lang-flag {
    font-size: 1rem;
  }
}

/* Print Styles */
@media print {
  .language-switcher,
  .language-loader {
    display: none !important;
  }
}




