/* ===== MODERN OPTICS - Complete Stylesheet ===== */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --wine-50: #fdf2f4;
  --wine-100: #f9e0e5;
  --wine-200: #f0b8c3;
  --wine-300: #e48a9b;
  --wine-400: #d45c73;
  --wine-500: #7B0F25;
  --wine-600: #5E0918;
  --wine-700: #42050E;
  --wine-800: #2B0207;
  --wine-900: #170001;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --gray-950: #030712;

  --salmon: #E8917A;
  --salmon-light: #F4BBA8;
  --salmon-dark: #C96A4F;

  --primary: var(--wine-500);
  --primary-hover: var(--wine-600);
  --primary-dark: var(--wine-700);
  --accent: var(--salmon);

  --white: #ffffff;
  --black: #000000;

  --font-arabic: 'Cairo', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-primary: 0 4px 14px 0 rgba(114, 47, 55, 0.3);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);

  --max-width: 1280px;
  --header-height: 70px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-arabic);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  direction: rtl;
}

body.ltr { direction: ltr; font-family: var(--font-sans); }

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; font-size: inherit; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; outline: none; border: none; }

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

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-400); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-500); }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-100);
  transition: var(--transition);
}
.header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
  font-family: var(--font-serif);
}

.logo-img {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
}
.logo-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.logo-img.small {
  width: 28px;
  height: 28px;
}
.logo-img.medium {
  width: 64px;
  height: 64px;
}

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

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  position: relative;
  padding: 4px 0;
  transition: var(--transition);
}

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

.rtl .nav-link::after { left: auto; right: 0; }

.nav-link:hover { color: var(--gray-900); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--wine-600); }
.nav-link.active::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  background: var(--gray-100);
  transition: var(--transition);
  position: relative;
  font-size: 1.1rem;
}

.header-btn:hover { background: var(--wine-100); color: var(--wine-600); transform: translateY(-2px); }

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  background: var(--wine-600);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lang-btn {
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  color: var(--gray-700);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lang-btn:hover { background: var(--gray-200); }

.auth-btn {
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.auth-btn-primary {
  background: var(--wine-600);
  color: white;
}

.auth-btn-primary:hover { background: var(--wine-700); transform: translateY(-2px); box-shadow: var(--shadow-primary); }

.auth-btn-secondary {
  background: var(--gray-100);
  color: var(--gray-700);
}

.auth-btn-secondary:hover { background: var(--gray-200); }

.mobile-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--gray-700); cursor: pointer; }

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #84142A 0%, #6C1123 25%, #7B797C 50%, #6C1123 75%, #84142A 100%);
  background-size: 200% 200%;
  animation: heroGradient 15s ease-in-out infinite alternate;
  margin-top: 0;
  padding-top: var(--header-height);
}

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

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(123,121,124,0.08) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.rtl .hero-content { flex-direction: row-reverse; }

.hero-text {
  flex: 1;
  max-width: 580px;
}
.hero-text .hero-subtitle { max-width: 500px; }
.hero-text .hero-actions { justify-content: flex-start; }

.hero-visual {
  flex-shrink: 0;
  position: relative;
  width: 320px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-title span { color: var(--wine-500); }

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--gray-300);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 540px;
}

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

.hero-btn {
  padding: 16px 36px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition-bounce);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-btn-primary {
  background: var(--wine-600);
  color: white;
  box-shadow: var(--shadow-primary);
}

.hero-btn-primary:hover { background: var(--wine-700); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(114, 47, 55, 0.4); }

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

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

.hero-slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 12px;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 100px;
  right: 40px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.rtl .hero-scroll-indicator { right: auto; left: 40px; }

.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ===== FLOATING ELEMENTS ===== */
.floating-elements {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.floating-element {
  position: absolute;
  border-radius: var(--radius);
  opacity: 0.08;
  animation: float 20s ease-in-out infinite;
}

.floating-element:nth-child(1) {
  top: 15%;
  left: 10%;
  width: 120px;
  height: 120px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  top: 60%;
  left: 20%;
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.3);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation-delay: -5s;
}

.floating-element:nth-child(3) {
  top: 25%;
  right: 35%;
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.25);
  border-radius: 50% 50% 50% 0;
  animation-delay: -10s;
}

.floating-element:nth-child(4) {
  bottom: 20%;
  right: 30%;
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.2);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation-delay: -15s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-30px) rotate(5deg); }
  50% { transform: translateY(-15px) rotate(-3deg); }
  75% { transform: translateY(-40px) rotate(2deg); }
}

/* ===== HERO VISUAL ===== */
.hero-visual {
  flex-shrink: 0;
  position: relative;
  width: 480px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-deco-box {
  position: absolute;
  width: 460px;
  height: 320px;
  right: -15px;
  top: 20px;
  background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  z-index: 0;
  pointer-events: none;
}
.rtl .hero-deco-box { right: auto; left: -15px; }

.hero-image-box {
  position: relative;
  width: 440px;
  height: 300px;
  background: linear-gradient(145deg, #3a3d42, #2a2d32);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-slow);
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-image-box:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 70px rgba(0,0,0,0.5);
}
.hero-image-box .hero-image-inner {
  width: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image-box .hero-image-inner img {
  height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.3));
}

@media (max-width: 1200px) {
  .hero-visual { width: 380px; height: 280px; }
  .hero-image-box { width: 340px; height: 240px; }
  .hero-deco-box { width: 360px; height: 260px; right: -12px; top: 15px; }
  .rtl .hero-deco-box { right: auto; left: -12px; }
}
@media (max-width: 992px) {
  .hero-content { flex-direction: column; text-align: center; padding: 60px 24px; }
  .hero-text .hero-subtitle { max-width: 100%; }
  .hero-text .hero-actions { justify-content: center; }
  .hero-visual { width: 300px; height: 220px; margin-top: 20px; }
  .hero-image-box { width: 280px; height: 200px; }
  .hero-deco-box { width: 300px; height: 220px; right: -10px; top: 12px; }
  .rtl .hero-deco-box { right: auto; left: -10px; }
}
@media (max-width: 768px) {
  .hero-visual { display: none; }
}

/* ===== HOME CATEGORIES ===== */
.cat-home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 992px) {
  .cat-home-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 480px) {
  .cat-home-grid { grid-template-columns: 1fr; gap: 14px; }
}
.category-home-card:hover { transform: translateY(-6px) !important; box-shadow: 0 12px 32px rgba(0,0,0,0.15) !important; }
.rtl .category-home-card { text-align: center; }

/* ===== BESTSELLERS CAROUSEL ===== */
.bestsellers-carousel-wrapper {
  overflow: hidden;
  position: relative;
}
.bestsellers-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px 20px;
  scrollbar-width: none;
}
.bestsellers-carousel::-webkit-scrollbar { display: none; }
.bestsellers-carousel .product-card {
  flex: 0 0 260px;
  min-width: 260px;
}
.bestsellers-carousel .product-card .product-card-image { height: 200px; }

@media (max-width: 768px) {
  .bestsellers-carousel .product-card { flex: 0 0 200px; min-width: 200px; }
  .bestsellers-carousel .product-card .product-card-image { height: 160px; }
}

.section {
  padding: 100px 0;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--wine-50);
  color: var(--wine-700);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== ABOUT SECTION ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  position: relative;
  z-index: 1;
}

.about-image-main img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.about-image-accent {
  position: absolute;
  top: -20px;
  left: -20px;
  right: 40px;
  bottom: 40px;
  border: 3px solid var(--wine-600);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.rtl .about-image-accent { left: 40px; right: -20px; }

.about-experience {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: var(--wine-600);
  color: white;
  padding: 24px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  z-index: 2;
  text-align: center;
}

.rtl .about-experience { right: auto; left: -30px; }

.about-experience-number {
  font-size: 2.5rem;
  font-weight: 900;
  font-family: var(--font-serif);
  line-height: 1;
}

.about-experience-label {
  font-size: 0.85rem;
  opacity: 0.9;
  margin-top: 4px;
}

.about-content { padding-right: 20px; }
.rtl .about-content { padding-right: 0; padding-left: 20px; }

.about-content .section-tag { margin-bottom: 12px; }

.about-content .section-title { text-align: left; }
.rtl .about-content .section-title { text-align: right; }

.about-text {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 24px;
  font-size: 1rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-700);
}

.about-feature-icon {
  width: 36px;
  height: 36px;
  background: var(--wine-50);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wine-600);
  flex-shrink: 0;
}

/* ===== FEATURES SECTION ===== */
.features { background: var(--gray-50); }

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

.feature-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--wine-500), var(--wine-700));
  transform: scaleX(0);
  transition: var(--transition);
}

.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: var(--wine-200); }

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--wine-50);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--wine-600);
  transition: var(--transition);
}

.feature-card:hover .feature-icon { background: var(--wine-600); color: white; transform: scale(1.1) rotate(-5deg); }

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.feature-text {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ===== PRODUCTS SECTION ===== */
.products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.products-header .section-header { margin-bottom: 0; text-align: left; }
.rtl .products-header .section-header { text-align: right; }

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

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
  cursor: pointer;
}

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

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

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

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

.product-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  background: var(--wine-600);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rtl .product-card-badge { left: auto; right: 16px; }

.product-card-actions {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(20px);
  transition: var(--transition);
}

.rtl .product-card-actions { right: auto; left: 16px; transform: translateX(-20px); }

.product-card:hover .product-card-actions { opacity: 1; transform: translateX(0); }

.product-card-action {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: white;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  transition: var(--transition);
  font-size: 0.9rem;
}

.product-card-action:hover { background: var(--wine-600); color: white; }

.product-card-body {
  padding: 20px;
}

.product-card-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--wine-600);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.product-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
  transition: var(--transition);
}

.product-card:hover .product-card-title { color: var(--wine-600); }

.product-card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
  color: #f59e0b;
  font-size: 0.8rem;
}

.product-card-price {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-card-price-current {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
}

.product-card-price-old {
  font-size: 0.9rem;
  color: var(--gray-400);
  text-decoration: line-through;
}

.add-to-cart-btn {
  width: 100%;
  padding: 12px;
  background: var(--gray-900);
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  margin-top: 12px;
}

.add-to-cart-btn:hover { background: var(--wine-600); }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--gray-900); color: white; }

.testimonials .section-title { color: white; }
.testimonials .section-subtitle { color: var(--gray-400); }
.testimonials .section-tag { background: rgba(114, 47, 55, 0.15); color: var(--wine-400); }

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

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 36px;
  transition: var(--transition);
}

.testimonial-card:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-4px); }

.testimonial-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.testimonial-text {
  color: var(--gray-300);
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--wine-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* ===== CTA SECTION ===== */
.cta, .cta-section {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(114, 47, 55, 0.1) 0%, transparent 60%);
}

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

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
}

.cta-text {
  color: var(--gray-400);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

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

/* ===== FOOTER ===== */
.footer {
  background: var(--wine-700);
  color: rgba(255,255,255,0.7);
  padding-top: 80px;
}
.footer .logo { color: white; }
.footer .footer-link,
.footer .footer-contact-item { color: rgba(255,255,255,0.7); }
.footer .footer-link:hover { color: white; padding-right: 4px; padding-left: 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--gray-800);
}

.footer-brand .logo { color: white; margin-bottom: 16px; }

.footer-description {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--gray-800);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: var(--transition);
}

.footer-social-link:hover { background: var(--wine-600); color: white; transform: translateY(-3px); }

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
}

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

.footer-link {
  font-size: 0.9rem;
  color: var(--gray-400);
  transition: var(--transition);
}

.footer-link:hover { color: var(--wine-500); padding-left: 4px; }
.rtl .footer-link:hover { padding-left: 0; padding-right: 4px; }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.footer-contact-icon {
  width: 36px;
  height: 36px;
  background: var(--gray-800);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wine-500);
  flex-shrink: 0;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* ===== FORM STYLES ===== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  padding: 100px 24px 40px;
}

.auth-card {
  max-width: 460px;
  width: 100%;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 48px 40px;
}

.auth-header { text-align: center; margin-bottom: 36px; }

.auth-logo {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--wine-600), var(--wine-700));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin: 0 auto 16px;
}

.auth-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.auth-subtitle {
  font-size: 0.95rem;
  color: var(--gray-500);
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: var(--transition);
  color: var(--gray-900);
}

.form-input:focus { border-color: var(--wine-500); box-shadow: 0 0 0 4px rgba(114, 47, 55, 0.1); background: white; }

.form-input.error { border-color: var(--wine-500); }
.form-error { font-size: 0.8rem; color: var(--wine-600); margin-top: 4px; display: none; }
.form-error.visible { display: block; }

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--wine-600);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  margin-top: 8px;
}

.form-submit:hover { background: var(--wine-700); transform: translateY(-2px); box-shadow: var(--shadow-primary); }

.form-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--gray-500);
}

.form-footer a {
  color: var(--wine-600);
  font-weight: 600;
}

.form-footer a:hover { text-decoration: underline; }

.form-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: var(--gray-400);
  font-size: 0.85rem;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--wine-600);
}

/* ===== SHOP PAGE ===== */
.shop-page { padding-top: calc(var(--header-height) + 40px); min-height: 100vh; background: var(--gray-50); }

.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
}

.shop-filters {
  background: white;
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  height: fit-content;
  position: sticky;
  top: calc(var(--header-height) + 40px);
}

.filter-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}

.filter-group { margin-bottom: 24px; }

.filter-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 12px;
  display: block;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
}

.filter-option:hover { color: var(--gray-900); }

.filter-option input[type="checkbox"],
.filter-option input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--wine-600);
}

.shop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.shop-results {
  font-size: 0.9rem;
  color: var(--gray-500);
}

.shop-search {
  position: relative;
  flex: 1;
  min-width: 200px;
}
.shop-search-input {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--gray-700);
  background: white;
  transition: var(--transition);
  outline: none;
}
.shop-search-input:focus {
  border-color: var(--wine-600);
  box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
}
.shop-sort {
  padding: 10px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: white;
  font-size: 0.9rem;
  color: var(--gray-700);
  cursor: pointer;
}

/* ===== PRODUCT DETAIL ===== */
.product-detail { padding-top: calc(var(--header-height) + 40px); min-height: 100vh; }

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: calc(var(--header-height) + 40px);
}

.product-main-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-100);
  height: 500px;
  margin-bottom: 16px;
}

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

.product-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.product-thumb {
  height: 100px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.product-thumb.active { border-color: var(--wine-600); }
.product-thumb:hover { border-color: var(--wine-400); }

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

.product-info { padding-top: 20px; }

.product-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.rtl .product-breadcrumb { flex-direction: row-reverse; }

.product-breadcrumb a:hover { color: var(--wine-600); }

.product-name {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.product-rating-stars { color: #f59e0b; font-size: 0.95rem; }
.product-rating-text { font-size: 0.85rem; color: var(--gray-500); }

.product-price-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.product-price-current {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gray-900);
}

.product-price-old {
  font-size: 1.2rem;
  color: var(--gray-400);
  text-decoration: line-through;
}

.product-description {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.product-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  padding: 20px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
}

.product-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.product-meta-icon { color: var(--wine-600); width: 20px; text-align: center; }

.product-quantity {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.quantity-label { font-size: 0.9rem; font-weight: 600; color: var(--gray-700); }

.quantity-control {
  display: flex;
  align-items: center;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.quantity-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gray-700);
  background: var(--gray-50);
  transition: var(--transition);
}

.quantity-btn:hover { background: var(--gray-200); }

.quantity-input {
  width: 60px;
  height: 44px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-left: 2px solid var(--gray-200);
  border-right: 2px solid var(--gray-200);
}

.product-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.product-add-to-cart {
  flex: 1;
  padding: 16px 32px;
  background: var(--wine-600);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.product-add-to-cart:hover { background: var(--wine-700); transform: translateY(-2px); box-shadow: var(--shadow-primary); }

.product-wishlist {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gray-400);
  transition: var(--transition);
}

.product-wishlist:hover { border-color: var(--wine-300); color: var(--wine-600); background: var(--wine-50); }

/* Gallery slider */
.gallery-slider { position: relative; width: 100%; height: 100%; }
.gallery-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s ease; }
.gallery-slide.active { opacity: 1; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.9); color: var(--gray-800); font-size: 1rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,0.15); transition: var(--transition); cursor: pointer; }
.gallery-arrow:hover { background: white; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.gallery-prev { left: 16px; }
.gallery-next { right: 16px; }

/* Product badges */
.product-badge-row { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.product-badge-tag { display: inline-flex; align-items: center; padding: 4px 14px; border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; background: var(--wine-600); color: white; }
.stock-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; padding: 4px 14px; border-radius: var(--radius-full); }
.stock-badge.in-stock { background: #dcfce7; color: #16a34a; }
.stock-badge.out-of-stock { background: var(--wine-50); color: var(--wine-600); }
.saved-badge { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 700; background: #fef3c7; color: #d97706; }

/* Share buttons */
.product-share { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--gray-100); }
.share-label { font-size: 0.85rem; font-weight: 600; color: var(--gray-500); }
.share-link { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--gray-100); color: var(--gray-600); font-size: 1rem; transition: var(--transition); }
.share-link:hover { background: var(--wine-600); color: white; }

/* Related products */
.related-products { padding: 0 0 60px; }
.related-products .products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }

/* Order detail timeline */
.order-timeline { position: relative; padding: 20px 0; }
.order-timeline::before { content: ''; position: absolute; left: 20px; top: 0; bottom: 0; width: 2px; background: var(--gray-200); }
.rtl .order-timeline::before { left: auto; right: 20px; }
.timeline-item { position: relative; padding: 0 0 24px 52px; }
.rtl .timeline-item { padding: 0 52px 24px 0; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: 12px; width: 18px; height: 18px; border-radius: 50%; background: var(--gray-200); border: 3px solid white; box-shadow: 0 0 0 2px var(--gray-200); }
.rtl .timeline-dot { left: auto; right: 12px; }
.timeline-dot.completed { background: #16a34a; box-shadow: 0 0 0 2px #16a34a; }
.timeline-dot.active { background: var(--wine-600); box-shadow: 0 0 0 2px var(--wine-600); }
.timeline-label { font-weight: 600; font-size: 0.9rem; }
.timeline-date { font-size: 0.8rem; color: var(--gray-500); }

/* Admin filter bar */
.admin-filter-bar { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; flex-wrap: wrap; }
.admin-filter-bar select { padding: 8px 16px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm); font-family: inherit; font-size: 0.9rem; background: white; cursor: pointer; }
.admin-filter-bar select:focus { outline: none; border-color: var(--wine-600); }

/* ===== CART PAGE ===== */
.cart-page { padding-top: calc(var(--header-height) + 40px); min-height: 100vh; background: var(--gray-50); }

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
  align-items: start;
}

.cart-items { background: white; border-radius: var(--radius-md); box-shadow: var(--shadow); border: 1px solid var(--gray-100); overflow: hidden; }

.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 20px;
  padding: 20px 24px;
  align-items: center;
  border-bottom: 1px solid var(--gray-100);
}

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

.cart-item-image {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--gray-100);
}

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

.cart-item-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.cart-item-remove {
  font-size: 0.8rem;
  color: var(--wine-600);
  font-weight: 600;
  transition: var(--transition);
}

.cart-item-remove:hover { color: var(--wine-800); text-decoration: underline; }

.cart-item-total {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gray-900);
  text-align: right;
}

.rtl .cart-item-total { text-align: left; }

.cart-summary {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  padding: 32px;
  position: sticky;
  top: calc(var(--header-height) + 40px);
}

.cart-summary-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.cart-summary-label { color: var(--gray-500); }
.cart-summary-value { font-weight: 600; color: var(--gray-900); }

.cart-summary-divider {
  height: 1px;
  background: var(--gray-200);
  margin: 16px 0;
}

.cart-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.cart-summary-total-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
}

.cart-summary-total-value {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--wine-600);
}

.cart-checkout-btn {
  width: 100%;
  padding: 16px;
  background: var(--wine-600);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.cart-checkout-btn:hover { background: var(--wine-700); transform: translateY(-2px); box-shadow: var(--shadow-primary); }

.cart-empty {
  text-align: center;
  padding: 80px 24px;
}

.cart-empty-icon {
  font-size: 4rem;
  color: var(--gray-300);
  margin-bottom: 24px;
}

.cart-empty-text {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.cart-empty-sub {
  font-size: 0.95rem;
  color: var(--gray-500);
  margin-bottom: 24px;
}

/* ===== CHECKOUT PAGE ===== */
.checkout-page { padding-top: calc(var(--header-height) + 40px); min-height: 100vh; background: var(--gray-50); }

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: start;
}

.checkout-form {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  padding: 40px;
}

.checkout-form-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 28px;
}

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

.checkout-form-grid .full-width { grid-column: 1 / -1; }

/* ===== DASHBOARD ===== */
.dashboard-page {
  display: flex;
  min-height: 100vh;
  padding-top: var(--header-height);
  background: var(--gray-50);
}

.dashboard-sidebar {
  width: 260px;
  background: white;
  border-right: 1px solid var(--gray-200);
  padding: 32px 0;
  position: fixed;
  top: var(--header-height);
  left: 0;
  bottom: 0;
  overflow-y: auto;
}

.rtl .dashboard-sidebar { left: auto; right: 0; border-right: none; border-left: 1px solid var(--gray-200); }

.dashboard-user {
  padding: 0 24px 20px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 16px;
}

.dashboard-avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--wine-600), var(--wine-700));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.dashboard-user-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
}

.dashboard-user-role {
  font-size: 0.8rem;
  color: var(--gray-500);
  text-transform: capitalize;
}

.dashboard-nav { display: flex; flex-direction: column; gap: 4px; padding: 0 12px; }

.dashboard-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: var(--transition);
}

.dashboard-nav-item:hover { background: var(--gray-50); color: var(--gray-900); }

.dashboard-nav-item.active {
  background: var(--wine-50);
  color: var(--wine-600);
  font-weight: 600;
}

.dashboard-nav-icon { width: 20px; text-align: center; font-size: 1rem; }

.dashboard-main {
  flex: 1;
  margin-left: 260px;
  padding: 40px;
}

.rtl .dashboard-main { margin-left: 0; margin-right: 260px; }

.dashboard-header {
  margin-bottom: 32px;
}

.dashboard-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gray-900);
}

.dashboard-subtitle {
  font-size: 0.95rem;
  color: var(--gray-500);
  margin-top: 4px;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.stat-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.stat-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.stat-card-icon.red { background: var(--wine-50); color: var(--wine-600); }
.stat-card-icon.gray { background: var(--gray-100); color: var(--gray-600); }
.stat-card-icon.green { background: #ecfdf5; color: #059669; }
.stat-card-icon.blue { background: #eff6ff; color: #2563eb; }

.stat-card-number {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gray-900);
  line-height: 1;
}

.stat-card-label {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 4px;
}

.stat-card-change {
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 8px;
}

.stat-card-change.up { color: #059669; }
.stat-card-change.down { color: var(--wine-600); }

/* ===== ADMIN TABLE ===== */
.admin-card {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  overflow: hidden;
}

.admin-card-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.admin-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  text-align: left;
  padding: 14px 24px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.rtl .admin-table th { text-align: right; }

.admin-table td {
  padding: 16px 24px;
  font-size: 0.9rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
}

.admin-table tr:hover td { background: var(--gray-50); }

.admin-table .product-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-table .product-cell img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--gray-100);
}

.status-badge {
  display: inline-flex;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.status-badge.pending { background: #fef3c7; color: #d97706; }
.status-badge.completed { background: #d1fae5; color: #059669; }
.status-badge.processing { background: #dbeafe; color: #2563eb; }
.status-badge.cancelled { background: var(--wine-100); color: var(--wine-600); }

.action-btn {
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.action-btn.edit { background: var(--gray-100); color: var(--gray-700); }
.action-btn.edit:hover { background: var(--gray-200); }

.action-btn.delete { background: var(--wine-50); color: var(--wine-600); }
.action-btn.delete:hover { background: var(--wine-100); }

.action-btn.view { background: #eff6ff; color: #2563eb; }
.action-btn.view:hover { background: #dbeafe; }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active { display: flex; }

.modal {
  background: white;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-2xl);
  animation: modalIn 0.3s ease;
}

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

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

.modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gray-500);
  transition: var(--transition);
}

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

.modal-body { padding: 28px; }

.modal-footer {
  padding: 20px 28px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* ===== TOAST ===== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rtl .toast-container { right: auto; left: 24px; }

.toast {
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 300px;
}

.toast.success { background: #059669; }
.toast.error { background: var(--wine-600); }
.toast.info { background: #2563eb; }

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

.rtl .toast {
  animation-name: toastInRtl;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-content { padding: 0; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-filters { position: static; }
  .product-detail-layout { grid-template-columns: 1fr; gap: 40px; }
  .product-gallery { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .dashboard-sidebar { width: 220px; }
  .dashboard-main { margin-left: 220px; }
  .rtl .dashboard-main { margin-left: 0; margin-right: 220px; }
}

@media (max-width: 768px) {
  :root { --header-height: 70px; }

  .header { background: rgba(255,255,255,0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .nav { display: none; }
  .mobile-toggle { display: flex; }

  .nav.mobile-open {
    display: flex;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    box-shadow: var(--shadow-xl);
    z-index: 100;
    border-top: 1px solid var(--gray-200);
  }

  .rtl .nav.mobile-open { left: 0; right: 0; }

  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .hero { min-height: 100dvh; padding-top: var(--header-height); }
  .hero-content { padding: 40px 20px; }
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1rem; margin-bottom: 28px; }
  .hero-actions { flex-direction: column; }
  .hero-btn { justify-content: center; padding: 14px 28px; font-size: 0.95rem; }
  .hero-scroll-indicator { display: none; }
  .hero-badge { font-size: 0.75rem; padding: 6px 16px; }

  .section { padding: 60px 0; }
  .about-image-main img { height: 300px; }
  .about-experience { bottom: -20px; right: -10px; padding: 16px 20px; }
  .about-experience-number { font-size: 1.8rem; }
  .about-features { grid-template-columns: 1fr; }

  .product-main-image { height: 300px; }
  .product-thumb { height: 70px; }
  .product-name { font-size: 1.6rem; }
  .product-actions { flex-direction: column; }

  .cart-item { grid-template-columns: 80px 1fr; }
  .cart-item-image { width: 80px; height: 80px; }
  .cart-item-total { grid-column: 1 / -1; text-align: left; }
  .rtl .cart-item-total { text-align: right; }

  .dashboard-page { flex-direction: column; }
  .dashboard-sidebar {
    position: static;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
    padding: 16px 0;
  }
  .dashboard-main { margin-left: 0; padding: 24px; }
  .rtl .dashboard-main { margin-right: 0; }
  .dashboard-user { display: none; }
  .dashboard-nav { flex-direction: row; flex-wrap: wrap; padding: 0 16px; }

  .auth-card { padding: 32px 24px; }
  .checkout-form { padding: 24px; }
  .checkout-form-grid { grid-template-columns: 1fr; }

  .admin-table { font-size: 0.85rem; }
  .admin-table th, .admin-table td { padding: 12px 16px; }

  .hero-slider-dots { bottom: 20px; }
  .hero-arrow { width: 40px; height: 40px; font-size: 1rem; }

  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-header { flex-direction: column; align-items: stretch; }
  .shop-search { width: 100%; }
}

@media (max-width: 480px) {
  .header-inner { padding: 0 16px; }
  .container { padding: 0 16px; }

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

  .section-title { font-size: 1.6rem; }

  .hero { min-height: 100dvh; }
  .hero-content { padding: 30px 16px; }
  .hero-title { font-size: 1.6rem; }
  .hero-subtitle { font-size: 0.9rem; margin-bottom: 24px; }
  .hero-btn { padding: 12px 24px; font-size: 0.9rem; }

  .header-actions .auth-btn { display: none; }
}

/* ===== NEW HOME DESIGN ===== */
.home-hero {
  margin: 100px auto 0;
  max-width: var(--max-width);
  padding: 0 24px;
}
.home-hero-inner {
  display: flex;
  border-radius: 24px;
  overflow: hidden;
  min-height: 500px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
.home-hero-image {
  flex: 1;
  min-height: 500px;
  background-size: cover;
  background-position: center;
}
.home-hero-content {
  flex: 1;
  background: #6E0F1E;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 48px;
  color: white;
}
.home-hero-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}
.home-hero-content p {
  font-size: 1.05rem;
  opacity: 0.85;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}
.home-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 40px;
  background: white;
  color: var(--wine-500);
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  width: fit-content;
  font-family: var(--font-arabic);
}
.home-hero-btn { color: #6E0F1E; }
.home-hero-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.2); }
.home-hero-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.home-hero-dot {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: var(--gray-300);
  transition: all 0.3s;
}
.home-hero-dot.active { background: #6E0F1E; }

/* Categories Cards */
.home-cats { padding: 80px 0; }
.cat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.cat-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 280px;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.15); }
.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.cat-card:hover img { transform: scale(1.08); }
.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}
.cat-card-title {
  position: absolute;
  bottom: 24px;
  right: 24px;
  left: 24px;
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
}

/* Best Sellers */
.bestsellers { padding: 60px 0 100px; }
.bestsellers-header { text-align: center; margin-bottom: 48px; }
.bestsellers-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.bestsellers-sub {
  color: var(--gray-500);
  font-size: 1rem;
}
.bestsellers-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 0 24px 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  max-width: var(--max-width);
  margin: 0 auto;
}
.bestsellers-track::-webkit-scrollbar { height: 4px; }
.bestsellers-track::-webkit-scrollbar-track { background: var(--gray-100); border-radius: 2px; }
.bestsellers-track::-webkit-scrollbar-thumb { background: var(--wine-300); border-radius: 2px; }
.best-card {
  flex: 0 0 240px;
  scroll-snap-align: start;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.best-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.best-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* About Features */
.home-about { padding: 80px 0; background: var(--gray-50); }
.about-feats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.about-feat {
  text-align: center;
  padding: 40px 24px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: transform 0.3s ease;
}
.about-feat:hover { transform: translateY(-4px); }
.about-feat-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--wine-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--wine-500);
}
.about-feat h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.about-feat p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children > * { opacity: 0; transform: translateY(30px); }
.stagger-children.visible > * { animation: staggerIn 0.6s ease forwards; }
.stagger-children.visible > *:nth-child(1) { animation-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { animation-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { animation-delay: 0.15s; }
.stagger-children.visible > *:nth-child(4) { animation-delay: 0.2s; }
.stagger-children.visible > *:nth-child(5) { animation-delay: 0.25s; }
.stagger-children.visible > *:nth-child(6) { animation-delay: 0.3s; }
.stagger-children.visible > *:nth-child(7) { animation-delay: 0.35s; }
.stagger-children.visible > *:nth-child(8) { animation-delay: 0.4s; }
.stagger-children.visible > *:nth-child(9) { animation-delay: 0.45s; }
.stagger-children.visible > *:nth-child(10) { animation-delay: 0.5s; }
.stagger-children.visible > *:nth-child(11) { animation-delay: 0.55s; }
.stagger-children.visible > *:nth-child(12) { animation-delay: 0.6s; }
.stagger-children.visible > *:nth-child(13) { animation-delay: 0.65s; }
.stagger-children.visible > *:nth-child(14) { animation-delay: 0.7s; }
.stagger-children.visible > *:nth-child(15) { animation-delay: 0.75s; }
.stagger-children.visible > *:nth-child(16) { animation-delay: 0.8s; }
.stagger-children.visible > *:nth-child(17) { animation-delay: 0.85s; }
.stagger-children.visible > *:nth-child(18) { animation-delay: 0.9s; }
.stagger-children.visible > *:nth-child(19) { animation-delay: 0.95s; }
.stagger-children.visible > *:nth-child(20) { animation-delay: 1s; }

@keyframes staggerIn {
  to { opacity: 1; transform: translateY(0); }
}

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

/* ===== LOADING SPINNER ===== */
/* ===== SPLASH SCREEN ===== */
#splash-screen {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#splash-screen.splash-hidden {
  opacity: 0; visibility: hidden; pointer-events: none;
}
.splash-inner {
  text-align: center;
}
.splash-logo {
  width: 160px; height: 160px; object-fit: contain;
  margin-bottom: 16px;
  animation: splashPulse 1.5s ease-in-out infinite;
}
.splash-brand {
  font-family: var(--font-serif);
  font-size: 1.6rem; font-weight: 700;
  color: var(--wine-600);
  margin: 0 0 24px;
  letter-spacing: 1px;
}
.splash-bar {
  width: 180px; height: 3px;
  background: var(--gray-200);
  border-radius: 2px; overflow: hidden;
  margin: 0 auto;
}
.splash-bar-fill {
  width: 100%; height: 100%;
  background: var(--wine-600);
  border-radius: 2px;
  animation: splashLoad 1.8s ease-in-out infinite;
  transform-origin: left;
}
@keyframes splashPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
@keyframes splashLoad {
  0% { transform: scaleX(0.1); }
  50% { transform: scaleX(0.8); }
  100% { transform: scaleX(0.1); }
}

/* ===== SPINNER (fallback) ===== */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--gray-200);
  border-top-color: var(--wine-600);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 40px auto;
}

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

/* ===== NOTIFICATION BADGE ===== */
.notif-badge { display:none; }

/* ===== BUTTON STYLES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-red { background: var(--wine-600); color: white; }
.btn-red:hover { background: var(--wine-700); transform: translateY(-2px); box-shadow: var(--shadow-primary); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--gray-200);
  color: var(--gray-700);
}
.btn-outline:hover { border-color: var(--gray-900); color: var(--gray-900); }

.btn-sm { padding: 8px 16px; font-size: 0.8rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

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

/* ===== BLOG ===== */
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.blog-card:hover img { transform: scale(1.05); }
.rtl .faq-question { text-align: right; }
.rtl .faq-question i { margin-left: 0; margin-right: auto; }

/* ===== FAQ ===== */
.faq-question.active i { transform: rotate(180deg); }
.faq-answer.open { max-height: 300px; padding: 0 20px 8px; }
.rtl .faq-question { text-align: right; }

/* ===== GALLERY ===== */
.gallery-filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.gallery-filter-btn.active:hover { background: var(--primary); color: var(--white); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
#galleryModal.active { display: flex; }
#galleryModal:hover { cursor: pointer; }
#galleryModal img { cursor: default; }

/* ===== SIZE GUIDE ===== */
.size-step:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.size-chart table th, .size-chart table td { border-bottom: 1px solid var(--gray-100); }
.size-chart table tr:last-child td { border-bottom: none; }
.rtl .size-chart table th { text-align: right; }
.rtl .size-chart table td { text-align: right; }

/* ===== WHATSAPP FLOATING ICON ===== */
/* ===== NAV DROPDOWN ===== */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: white;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  padding: 8px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 100;
}

.rtl .nav-dropdown {
  left: auto;
  right: 50%;
  transform: translateX(50%) translateY(8px);
}

.nav-item-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}

.rtl .nav-item-dropdown:hover .nav-dropdown {
  transform: translateX(50%) translateY(4px);
}

.nav-dropdown-link {
  display: block;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}

.nav-dropdown-link:hover {
  background: var(--red-50);
  color: var(--red-600);
}

.nav-dropdown-mega {
  min-width: 240px;
}

@media (max-width: 768px) {
  .nav-item-dropdown .nav-dropdown {
    display: none;
    opacity: 0;
    visibility: hidden;
  }
}

/* ===== LENSES PAGE ===== */
.lenses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.lenses-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.lenses-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.lenses-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--red-50);
  color: var(--red-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.lenses-card:hover .lenses-icon {
  background: var(--red-600);
  color: white;
  transform: scale(1.1);
}

.lenses-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--gray-900);
}

.lenses-card-desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.shop-option-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.shop-option-card:hover div:first-child {
  background: var(--wine-600) !important;
  color: white !important;
}

@media (max-width: 600px) {
  .lenses-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 999;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  color: white;
}
.rtl .whatsapp-float {
  left: auto;
  right: 24px;
}


