/* ==========================================================================
   متجر مكانك - MKANAK STORE
   Luxury Dark Green & Warm Cream Visual Identity
   Primary: #0a281e | Accent: #061b14 | Text/Accent: #f2ede4
   ========================================================================== */

:root {
  /* Colors */
  --bg-primary: #0a281e;
  --bg-deep: #061b14;
  --bg-surface: #0c3327;
  --bg-surface-elevated: #103d2f;
  --bg-card: rgba(12, 51, 39, 0.75);
  
  --color-cream: #f2ede4;
  --color-cream-muted: rgba(242, 237, 228, 0.78);
  --color-cream-dim: rgba(242, 237, 228, 0.5);
  
  --border-subtle: rgba(242, 237, 228, 0.1);
  --border-medium: rgba(242, 237, 228, 0.22);
  --border-focus: rgba(242, 237, 228, 0.45);
  
  --accent-gold: #cbb279;
  --accent-gold-soft: rgba(203, 178, 121, 0.18);
  --accent-emerald: #195843;
  --discord-blurple: #5865f2;

  /* Typography */
  --font-arabic: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-latin: 'Outfit', sans-serif;

  /* Layout & Spacing */
  --container-max-w: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(4, 17, 12, 0.4);
  --shadow-md: 0 8px 24px rgba(4, 17, 12, 0.6);
  --shadow-lg: 0 16px 40px rgba(4, 17, 12, 0.8);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  direction: rtl;
  text-align: right;
  background-color: var(--bg-deep);
  color: var(--color-cream);
  font-family: var(--font-arabic);
  -webkit-font-smoothing: antialiased;
}

html[dir="ltr"] {
  direction: ltr;
  text-align: left;
  font-family: var(--font-latin), var(--font-arabic);
}

body {
  background: radial-gradient(circle at 50% 0%, #0d3b2c 0%, var(--bg-primary) 45%, var(--bg-deep) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ==========================================================================
   حماية المحتوى والصور (ANTI-THEFT & CONTENT PROTECTION)
   - تعطيل تحديد النصوص وسحب الصور في الواجهة
   ========================================================================== */
.store-protected {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.store-protected img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  pointer-events: auto;
}

.store-protected input,
.store-protected textarea {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* ==========================================================================
   1. شاشة البداية (SPLASH SCREEN) - أنيميشن تجميع الحروف (Letters Assembly)
   ========================================================================== */
.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: radial-gradient(circle at center, #0f3d2f 0%, #071f17 55%, #03100a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: transform 0.75s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.65s ease;
  pointer-events: all;
}

.splash-screen.splash-hidden {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none !important;
  visibility: hidden !important;
}

.splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  position: relative;
}

/* شعار تجميع قطع حروف مكانك (Letters Assembly) */
.splash-assembly-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  direction: rtl;
  gap: 2px;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.assembly-letter {
  display: inline-block;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--color-cream);
  text-shadow: 0 4px 20px rgba(242, 237, 228, 0.35);
  opacity: 0;
  transform: translateY(-40px) scale(0.6) rotate(-6deg);
  animation: letterAssemble 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--i) * 0.09s);
}

@keyframes letterAssemble {
  0% {
    opacity: 0;
    transform: translateY(-40px) scale(0.6) rotate(-6deg);
    filter: blur(6px);
  }
  70% {
    transform: translateY(4px) scale(1.06) rotate(1deg);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
    filter: blur(0);
  }
}

.splash-cream-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 120px;
  background: radial-gradient(ellipse, rgba(242, 237, 228, 0.16) 0%, rgba(16, 61, 47, 0.3) 50%, transparent 80%);
  z-index: 1;
  filter: blur(20px);
  border-radius: 50%;
  animation: glowSoftPulse 1.2s alternate infinite ease-in-out;
}

@keyframes glowSoftPulse {
  0% { opacity: 0.4; transform: translate(-50%, -50%) scale(0.9); }
  100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.splash-slogan {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-cream-muted);
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
  animation: sloganFadeIn 1.1s ease forwards;
}

@keyframes sloganFadeIn {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

.splash-loader {
  width: 140px;
  height: 3px;
  background: rgba(242, 237, 228, 0.12);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.loader-bar {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 45%;
  background: linear-gradient(90deg, #cbb279, #f2ede4);
  border-radius: 4px;
  animation: splashLoading 1.2s infinite ease-in-out;
}

@keyframes splashLoading {
  0% { right: -45%; }
  50% { right: 25%; width: 65%; }
  100% { right: 100%; width: 30%; }
}

/* ==========================================================================
   2. الشريط العلوي (NAVBAR) - خط عريض وأنيق مدمج مع الواجهة
   ========================================================================== */
.top-announcement {
  background: linear-gradient(90deg, #071f17 0%, #0d382b 50%, #071f17 100%);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  padding: 7px 0;
  color: var(--color-cream-muted);
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 100%;
}

.announcement-tag {
  flex-shrink: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  background: var(--accent-gold-soft);
  color: var(--accent-gold);
  border: 1px solid rgba(203, 178, 121, 0.35);
  padding: 3px 12px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.78rem;
  line-height: 1.3;
  min-height: 24px;
}

.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 27, 20, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.navbar-wrapper.scrolled {
  background: rgba(4, 18, 13, 0.96);
  border-bottom-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

/* اسم المتجر المدمج بالواجهة بدون مربعات مقصوصة */
.brand-typographic-link {
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast);
  user-select: none;
}

.brand-typographic-link:hover {
  transform: translateY(-1px);
}

.brand-text-main {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--color-cream);
  line-height: 1.1;
  letter-spacing: 0.5px;
  text-shadow: 0 0 16px rgba(242, 237, 228, 0.15);
}

.brand-text-sub {
  font-family: var(--font-latin);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--accent-gold);
  line-height: 1;
}

.nav-actions {
  position: relative;
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
}

/* زر تبديل العملة ($ USD | SAR ر.س) */
.currency-switch-box {
  position: relative;
  z-index: 1002;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(242, 237, 228, 0.06);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-latin), var(--font-arabic);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
  transition: all var(--transition-fast);
}

.currency-switch-box:hover {
  background: rgba(242, 237, 228, 0.12);
  border-color: var(--border-medium);
}

.curr-opt {
  color: var(--color-cream-dim);
  transition: color var(--transition-fast);
  pointer-events: none;
}

.curr-opt.active-curr {
  color: var(--color-cream);
  font-weight: 800;
  text-shadow: 0 0 8px rgba(242, 237, 228, 0.3);
}

.curr-sep {
  opacity: 0.3;
  pointer-events: none;
}

/* زر تبديل اللغة (AR / EN) */
.lang-switch-btn {
  position: relative;
  z-index: 1002;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(242, 237, 228, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--color-cream-muted);
  font-size: 0.84rem;
  font-weight: 600;
  font-family: var(--font-latin);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
  transition: all var(--transition-fast);
}

.lang-switch-btn:hover {
  background: rgba(242, 237, 228, 0.12);
  border-color: var(--border-medium);
  color: var(--color-cream);
}

.lang-switch-btn .active-lang {
  color: var(--color-cream);
  font-weight: 800;
  pointer-events: none;
}

.lang-sep {
  opacity: 0.35;
  pointer-events: none;
}

.btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #124b38 0%, #0a2d21 100%);
  color: var(--color-cream);
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid var(--border-medium);
  box-shadow: 0 4px 14px rgba(4, 18, 13, 0.5);
  transition: all var(--transition-smooth);
}

.btn-discord:hover {
  background: linear-gradient(135deg, #176048 0%, #0e3d2d 100%);
  border-color: rgba(242, 237, 228, 0.4);
  box-shadow: 0 6px 20px rgba(4, 18, 13, 0.7);
  transform: translateY(-2px);
}

.discord-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ==========================================================================
   3. الواجهة الترحيبية وشريط الإحصائيات (HERO & STATS)
   ========================================================================== */
.hero-section {
  padding: 48px 0 30px;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(16, 61, 47, 0.6);
  border: 1px solid var(--border-subtle);
  color: var(--color-cream-muted);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-gold);
  box-shadow: 0 0 8px var(--accent-gold);
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.25;
  color: var(--color-cream);
  max-width: 850px;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-cream-muted);
  max-width: 680px;
  margin-bottom: 30px;
  line-height: 1.7;
}

/* شريط الإحصائيات الحية مع العداد التصاعدي */
.stats-counter-strip {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  max-width: 840px;
  background: rgba(12, 51, 39, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-latin);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--color-cream);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-cream-muted);
}

.stat-divider {
  width: 1px;
  height: 38px;
  background: var(--border-subtle);
}

/* ==========================================================================
   4. شريط الأقسام السريع (SMOOTH SCROLL CATEGORY BAR)
   ========================================================================== */
.categories-nav-section {
  padding: 8px 0 10px;
  position: sticky;
  top: 74px;
  z-index: 900;
  background: rgba(6, 27, 20, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.categories-nav-shell {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.categories-nav-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  flex: 1;
}

.categories-nav-wrapper::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* أزرار الأسهم للشاشات الكبيرة (Desktop Scroll Arrows) */
.cat-nav-arrow {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: rgba(16, 61, 47, 0.9);
  border: 1px solid var(--border-medium);
  border-radius: 50%;
  color: var(--color-cream);
  cursor: pointer;
  touch-action: manipulation;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  z-index: 10;
}

.cat-nav-arrow:hover {
  background: rgba(203, 178, 121, 0.22);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: scale(1.08);
}

.cat-nav-arrow:active {
  transform: scale(0.92);
}

@media (min-width: 860px) {
  .cat-nav-arrow {
    display: inline-flex;
  }
}

.categories-nav-hint {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-gold);
  white-space: nowrap;
}

.categories-track {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  padding: 4px 2px;
}

.category-chip-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(12, 51, 39, 0.6);
  border: 1px solid var(--border-subtle);
  color: var(--color-cream-muted);
  font-size: 0.92rem;
  font-weight: 600;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.category-chip-link:hover {
  background: rgba(16, 61, 47, 0.95);
  border-color: var(--color-cream);
  color: var(--color-cream);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

.chip-featured {
  background: rgba(203, 178, 121, 0.15);
  border-color: rgba(203, 178, 121, 0.4);
  color: var(--accent-gold);
}
.chip-featured:hover {
  background: rgba(203, 178, 121, 0.28);
}

.category-chip-png {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.category-count {
  background: rgba(242, 237, 228, 0.12);
  padding: 1px 7px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-family: var(--font-latin);
}

/* ==========================================================================
   5. قسم العروض الخاصة والترتيب (FEATURED DEALS)
   ========================================================================== */
.featured-deals-section {
  padding: 35px 0 45px;
  background: linear-gradient(180deg, rgba(16, 61, 47, 0.25) 0%, transparent 100%);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 25px;
  scroll-margin-top: 140px;
}

.featured-header {
  margin-bottom: 24px;
}

.featured-fire-badge {
  display: inline-block;
  background: rgba(220, 53, 69, 0.18);
  border: 1px solid rgba(220, 53, 69, 0.4);
  color: #ff949c;
  font-size: 0.76rem;
  font-weight: 800;
  font-family: var(--font-latin);
  letter-spacing: 1.5px;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.featured-main-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--color-cream);
  margin-bottom: 4px;
}

.featured-sub-title {
  font-size: 0.88rem;
  color: var(--color-cream-muted);
}

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

.featured-highlight-card {
  border-color: rgba(203, 178, 121, 0.4);
  box-shadow: 0 8px 24px rgba(4, 18, 13, 0.6), 0 0 16px rgba(203, 178, 121, 0.08);
}
.featured-badge-gold {
  background: rgba(14, 46, 35, 0.95);
  color: var(--accent-gold);
  border: 1px solid rgba(203, 178, 121, 0.5);
}

/* ==========================================================================
   6. صفوف الأقسام المتتابعة (SEQUENTIAL CATEGORY SECTIONS)
   ========================================================================== */
.store-categories-container {
  padding: 20px 0 60px;
}

.category-block-section {
  margin-bottom: 55px;
  scroll-margin-top: 140px;
}

.category-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

/* ==========================================================================
   بنر القسم الترويجي (CATEGORY PROMOTIONAL BANNER)
   - يظهر مباشرة تحت عنوان القسم كصورة عريضة
   - حواف دائرية أنيقة (border-radius: 14px)
   - ارتفاع متجاوب مع أقصى ارتفاع 280px وخاصية object-fit: cover
   ========================================================================== */
.category-banner-wrapper {
  width: 100%;
  margin-bottom: 24px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #030e09;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.category-banner-img {
  width: 100%;
  max-height: 280px;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  transition: transform 0.5s ease;
}

.category-banner-wrapper:hover .category-banner-img {
  transform: scale(1.015);
}

@media (max-width: 768px) {
  .category-banner-img {
    max-height: 180px;
  }
}

.cat-header-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cat-custom-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(16, 61, 47, 0.8);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6px;
}

.cat-custom-png-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cat-icon-badge {
  font-size: 1.6rem;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #103d2f 0%, #061b14 100%);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.cat-bullet-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-gold);
}

.cat-block-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-cream);
}

.cat-block-desc {
  font-size: 0.85rem;
  color: var(--color-cream-muted);
}

.cat-products-count {
  font-size: 0.84rem;
  color: var(--color-cream-dim);
  background: rgba(242, 237, 228, 0.05);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  display: inline-flex;
  gap: 4px;
}

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

/* ==========================================================================
   بطاقة المنتج (PRODUCT CARD)
   - حركة خفيفة جداً وسريعة 60 FPS بالاعتماد على كرت الشاشة (GPU Acceleration)
   - صعود ناعم 5px للأعلى مع ظل عميق وإطار خفيف متوهج بلون المتجر
   - تكبير ناعم جداً لصورة المنتج (scale: 1.03) داخل الإطار
   ========================================================================== */
.product-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              box-shadow 0.32s ease,
              opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* رفع البطاقة بنعومة بمقدار 5px مع ظل عميق وإطار متوهج بلون المتجر الذهبي */
.product-card:hover {
  transform: translate3d(0, -5px, 0);
  border-color: rgba(203, 178, 121, 0.48);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55),
              0 0 24px rgba(203, 178, 121, 0.14);
}

.product-card:active {
  transform: translate3d(0, -2px, 0) scale(0.988);
}

.product-image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #051912;
  overflow: hidden;
  transform: translateZ(0); /* قص فائق الدقة للزوايا عبر GPU */
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* تكبير ناعم جداً لصورة المنتج بنسبة 1.03 دون الخروج عن الإطار */
.product-card:hover .product-image {
  transform: scale(1.03) translateZ(0);
}

.product-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(6, 27, 20, 0.88);
  backdrop-filter: blur(8px);
  color: var(--accent-gold);
  border: 1px solid rgba(203, 178, 121, 0.35);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

html[dir="ltr"] .product-badge {
  right: auto;
  left: 14px;
}

.out-of-stock-card {
  opacity: 0.75;
}
.out-of-stock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 13, 9, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}
.out-of-stock-overlay span {
  background: rgba(220, 53, 69, 0.85);
  color: #fff;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
}

.product-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--color-cream);
  margin-bottom: 8px;
  line-height: 1.4;
}

/* عرض أول سطرين فقط مع قطع النص بنقاط (Webkit-line-clamp: 2) لحفظ تناسق الكروت */
.product-desc.clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 44px;
  max-height: 44px;
  font-size: 0.88rem;
  color: var(--color-cream-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

/* السعر بالعملة ($ أو SAR) */
.product-price-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  direction: ltr; /* Keeps symbol & number aligned */
}

.price-curr {
  font-family: var(--font-latin), var(--font-arabic);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.price-val {
  font-family: var(--font-latin);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--color-cream);
}

.btn-order-discord {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #134e3b 0%, #0d382b 100%);
  border: 1px solid var(--border-medium);
  color: var(--color-cream);
  font-weight: 700;
  font-size: 0.88rem;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(4, 18, 13, 0.4);
}

.btn-order-discord:hover {
  background: linear-gradient(135deg, #186049 0%, #104233 100%);
  border-color: var(--color-cream);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(4, 18, 13, 0.6);
}

.btn-order-disabled {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  background: rgba(242, 237, 228, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--color-cream-dim);
  font-size: 0.84rem;
  cursor: not-allowed;
}

.empty-category-notice {
  padding: 30px;
  background: rgba(12, 51, 39, 0.35);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  text-align: center;
  color: var(--color-cream-muted);
}

/* ==========================================================================
   7. النافذة المنبثقة لإتمام الطلب (ORDER MODAL) مع صورة المنتج المختار
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(3, 13, 9, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: linear-gradient(145deg, #0e3b2c 0%, #061f16 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95) translateY(15px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  left: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(242, 237, 228, 0.08);
  color: var(--color-cream);
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

html[dir="ltr"] .modal-close-btn {
  left: auto;
  right: 18px;
}

.modal-close-btn:hover {
  background: rgba(242, 237, 228, 0.2);
  transform: rotate(90deg);
}

.modal-header {
  text-align: center;
  margin-bottom: 18px;
}

/* إطار صورة المنتج المختار */
.modal-product-img-frame {
  width: 100%;
  height: 175px;
  border-radius: 12px;
  background: #030e09;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  margin-bottom: 14px;
}

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

.modal-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-cream);
  margin-bottom: 4px;
}

.modal-subtitle {
  font-size: 0.86rem;
  color: var(--color-cream-muted);
}

.modal-product-summary {
  background: rgba(4, 18, 13, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

/* ==========================================================================
   زر نسخ كود الطلب وشريط التنبيه الخفيف
   ========================================================================== */
.modal-copy-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: rgba(4, 18, 13, 0.75);
  border: 1px solid var(--border-subtle);
}

.btn-copy-order-code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #186049 0%, #0d3b2c 100%);
  color: var(--color-cream);
  font-weight: 700;
  font-size: 0.88rem;
  border: 1px solid var(--border-medium);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-copy-order-code:hover {
  background: linear-gradient(135deg, #1f785b 0%, #114c38 100%);
  border-color: var(--color-cream);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.btn-copy-order-code.copied {
  background: linear-gradient(135deg, #198754 0%, #12633d 100%);
  border-color: #7ae7ad;
  color: #fff;
}

.copy-toast {
  font-size: 0.84rem;
  font-weight: 700;
  color: #7ae7ad;
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.25s ease;
  pointer-events: none;
}

.copy-toast.show {
  opacity: 1;
  transform: translateX(0);
}

.footer-cat-mini-img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  vertical-align: middle;
  margin-left: 6px;
}

.modal-prod-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.modal-prod-info strong {
  font-size: 1rem;
  color: var(--color-cream);
}

.modal-badge-chip {
  font-size: 0.74rem;
  color: var(--accent-gold);
}

.modal-prod-price {
  font-family: var(--font-latin);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-cream);
  direction: ltr;
}

/* حفظ الأسطر وتنسيق النص في وصف المودال (white-space: pre-line) */
.modal-product-full-desc {
  white-space: pre-line;
  line-height: 1.7;
  font-size: 0.9rem;
  color: var(--color-cream-muted);
  background: rgba(3, 14, 10, 0.65);
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  margin-bottom: 20px;
  max-height: 180px;
  overflow-y: auto;
}

.modal-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.step-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.86rem;
  color: var(--color-cream-muted);
}

.step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(203, 178, 121, 0.2);
  color: var(--accent-gold);
  border: 1px solid rgba(203, 178, 121, 0.4);
  font-family: var(--font-latin);
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* أزرار الطلب جنباً إلى جنب (ديسكورد + واتساب) بتصميم متناسق */
.modal-order-buttons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}

@media (max-width: 520px) {
  .modal-order-buttons-grid {
    grid-template-columns: 1fr;
  }
}

.btn-modal-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.92rem;
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.modal-btn-icon {
  flex-shrink: 0;
  display: block;
}

/* زر الطلب عبر الديسكورد */
.btn-modal-discord {
  background: linear-gradient(135deg, #195843 0%, #103b2c 100%);
  color: var(--color-cream);
  border: 1px solid var(--border-focus);
}

.btn-modal-discord:hover {
  background: linear-gradient(135deg, #1f6e54 0%, #144937 100%);
  border-color: var(--color-cream);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(4, 18, 13, 0.6);
  color: #fff;
}

/* زر الطلب عبر الواتساب المباشر بلون وأيقونة الواتساب الرسمية الفخمة */
.btn-modal-whatsapp {
  background: linear-gradient(135deg, #198754 0%, #0d5333 100%);
  color: #ffffff;
  border: 1px solid rgba(37, 211, 102, 0.55);
}

.btn-modal-whatsapp:hover {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-color: #25D366;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  color: #ffffff;
}

.btn-modal-cancel {
  width: 100%;
  padding: 8px;
  border-radius: var(--radius-md);
  color: var(--color-cream-dim);
  font-size: 0.86rem;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.btn-modal-cancel:hover {
  color: var(--color-cream);
}

/* ==========================================================================
   فيزياء أزرار الطلب والتحويل (TACTILE BUTTON PRESS PHYSICS)
   - تأثير ضغط ناعم (active scale: 0.97) بالاعتماد الصرف على transform
   ========================================================================== */
.btn-order-discord,
.btn-modal-order,
.btn-discord,
.btn-copy-order-code,
.category-chip-link,
.lang-switch-btn,
.currency-switch-box {
  will-change: transform;
  transition: transform 0.16s cubic-bezier(0.2, 0, 0, 1),
              box-shadow 0.2s ease,
              background 0.2s ease,
              border-color 0.2s ease;
}

.btn-order-discord:active,
.btn-modal-order:active,
.btn-discord:active,
.btn-copy-order-code:active,
.category-chip-link:active,
.lang-switch-btn:active,
.currency-switch-box:active {
  transform: scale(0.97) !important;
}

/* ==========================================================================
   أيقونة الواتساب العائمة (FLOATING WHATSAPP BUTTON)
   - تطفو أسفل الشاشة بتنسيق فخم ومريح
   - تأثير وميض خفيف وهادئ (Subtle Pulse) مع تسريع عتادي
   ========================================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 26px;
  left: 26px;
  z-index: 1200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  cursor: pointer;
  text-decoration: none;
  will-change: transform, box-shadow;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  animation: waSubtlePulse 3.2s infinite ease-in-out;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease;
}

html[dir="ltr"] .floating-whatsapp-btn {
  left: auto;
  right: 26px;
}

@keyframes waSubtlePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.65), 0 0 18px rgba(37, 211, 102, 0.35);
  }
}

.floating-whatsapp-btn:hover {
  animation-play-state: paused;
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 34px rgba(37, 211, 102, 0.7);
  color: #ffffff;
}

.floating-whatsapp-btn:active {
  transform: scale(0.95) !important;
}

.floating-whatsapp-svg {
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.floating-whatsapp-btn:hover .floating-whatsapp-svg {
  transform: rotate(5deg) scale(1.05);
}

.floating-whatsapp-pulse {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.7);
  animation: waPulseAnim 3.2s infinite cubic-bezier(0.24, 0, 0.38, 1);
  pointer-events: none;
}

@keyframes waPulseAnim {
  0% {
    transform: scale(0.92);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

/* ==========================================================================
   الظهور الفوري 100% بدون أي تأخير زمني وتمرير فائق السرعة (Instant Zero-Lag Display)
   ========================================================================== */
.scroll-reveal,
.product-card,
.category-block-section,
.featured-deals-section {
  opacity: 1 !important;
  visibility: visible !important;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal,
  .product-card,
  .floating-whatsapp-btn,
  .floating-whatsapp-pulse {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.floating-whatsapp-tooltip {
  position: absolute;
  top: 50%;
  right: calc(100% + 14px);
  transform: translate(10px, -50%);
  background: rgba(6, 27, 20, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--color-cream);
  border: 1px solid rgba(37, 211, 102, 0.4);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

html[dir="ltr"] .floating-whatsapp-tooltip {
  right: auto;
  left: calc(100% + 14px);
  transform: translate(-10px, -50%);
}

.floating-whatsapp-btn:hover .floating-whatsapp-tooltip {
  opacity: 1;
  transform: translate(0, -50%);
}

/* ==========================================================================
   8. التذييل الفاخر (FOOTER)
   ========================================================================== */
.footer-wrapper {
  background: #030f0a;
  border-top: 1px solid var(--border-subtle);
  padding: 55px 0 0;
  margin-top: 40px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  padding-bottom: 25px;
}

.footer-brand-typographic {
  margin-bottom: 12px;
}

.footer-text-brand {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-cream);
  line-height: 1.1;
}

.footer-text-sub {
  display: block;
  font-family: var(--font-latin);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: var(--accent-gold);
}

.footer-about {
  font-size: 0.9rem;
  color: var(--color-cream-muted);
  line-height: 1.8;
  max-width: 440px;
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-cream);
  margin-bottom: 14px;
}

/* شبكة أقسام المتجر المنظمة (Footer Categories Grid) */
.footer-categories-section {
  padding: 24px 0 35px;
  border-top: 1px solid rgba(242, 237, 228, 0.08);
}

.footer-cat-heading-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.footer-cat-heading-wrap .footer-heading {
  margin-bottom: 0;
  white-space: nowrap;
}

.footer-cat-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(203, 178, 121, 0.3) 0%, rgba(203, 178, 121, 0.02) 100%);
}

html[dir="ltr"] .footer-cat-divider-line {
  background: linear-gradient(270deg, rgba(203, 178, 121, 0.3) 0%, rgba(203, 178, 121, 0.02) 100%);
}

.footer-categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.footer-cat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(12, 51, 39, 0.55);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer-cat-card:hover {
  background: rgba(16, 61, 47, 0.95);
  border-color: rgba(203, 178, 121, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.footer-cat-icon-frame {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(4, 20, 15, 0.7);
  border: 1px solid rgba(203, 178, 121, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-cat-icon-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.footer-cat-icon-fallback {
  font-size: 0.95rem;
}

.footer-cat-card-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.footer-cat-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-cat-count {
  font-size: 0.72rem;
  color: var(--color-cream-muted);
}

@media (max-width: 1200px) {
  .footer-categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  .footer-categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .footer-categories-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 9px;
  }
  .footer-cat-card {
    padding: 8px 10px;
    gap: 8px;
    border-radius: 10px;
  }
  .footer-cat-icon-frame {
    width: 28px;
    height: 28px;
    border-radius: 6px;
  }
  .footer-cat-icon-img {
    width: 17px;
    height: 17px;
  }
  .footer-cat-name {
    font-size: 0.8rem;
  }
  .footer-cat-count {
    font-size: 0.68rem;
  }
}

.footer-guarantee {
  font-size: 0.88rem;
  color: var(--color-cream-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

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

.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(242, 237, 228, 0.06);
  border: 1px solid var(--border-subtle);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-cream);
  transition: all var(--transition-fast);
}

.social-chip:hover {
  background: rgba(242, 237, 228, 0.14);
  border-color: var(--border-medium);
}

.footer-bottom {
  border-top: 1px solid rgba(242, 237, 228, 0.06);
  padding: 22px 0;
  font-size: 0.84rem;
  color: var(--color-cream-dim);
}

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

.designer-tag {
  color: var(--accent-gold);
  font-weight: 600;
}

/* ==========================================================================
   9. التوافق مع الشاشات (RESPONSIVE STYLES)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.1rem;
  }
  
  .stats-counter-strip {
    flex-direction: column;
    gap: 16px;
  }
  .stat-divider {
    width: 60%;
    height: 1px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .navbar-container {
    height: 64px;
  }

  .brand-text-main {
    font-size: 1.35rem;
  }

  .btn-discord span {
    display: none;
  }

  .btn-discord {
    padding: 7px 11px;
  }

  .hero-title {
    font-size: 1.65rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

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

  .footer-bottom-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ==========================================================================
   10. كلاسات الحركات التفاعلية والأنيميشن فائق الخفة (60 FPS GPU ANIMATIONS)
   - صعود كروت المنتجات Hover Lift (+5px) مع ظل عميق وإطار ذهبي متوهج
   - تكبير ناعم لصورة المنتج (scale: 1.03) دون تجاوز الحواف
   - تأثير ضغط ناعم (active scale: 0.97) لجميع أزرار الطلب والتحويل
   - تأثير نبض دوري هادئ (Subtle Pulse) على زر الواتساب العائم
   - تأثير ظهور تدريجي ناعم (Scroll Fade-in) للعناصر والأقسام عند التمرير
   ========================================================================== */

/* 1. كروت المنتجات: صعود ناعم 5px وتوهج ذهبي وتكبير الصورة 1.03 */
.product-card {
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              box-shadow 0.32s ease,
              opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
  transform: translate3d(0, -5px, 0) !important;
  border-color: rgba(203, 178, 121, 0.5) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(203, 178, 121, 0.16) !important;
}

.product-card:active {
  transform: translate3d(0, -2px, 0) scale(0.985) !important;
}

.product-image-box {
  overflow: hidden !important;
  transform: translateZ(0);
}

.product-image {
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.product-card:hover .product-image {
  transform: scale(1.03) translateZ(0) !important;
}

/* 2. أزرار الطلب والتحويل: تأثير ضغط فيزيائي ناعم (active scale: 0.97) */
.btn-order-discord,
.btn-modal-order,
.btn-modal-discord,
.btn-modal-whatsapp,
.btn-discord,
.btn-copy-order-code,
.category-chip-link,
.lang-switch-btn,
.currency-switch-box {
  will-change: transform;
  transition: transform 0.15s cubic-bezier(0.2, 0, 0, 1),
              box-shadow 0.2s ease,
              background 0.2s ease,
              border-color 0.2s ease;
}

.btn-order-discord:active,
.btn-modal-order:active,
.btn-modal-discord:active,
.btn-modal-whatsapp:active,
.btn-discord:active,
.btn-copy-order-code:active,
.category-chip-link:active,
.lang-switch-btn:active,
.currency-switch-box:active {
  transform: scale(0.97) !important;
}

/* 3. زر الواتساب العائم: تأثير نبض وميض هادئ (Subtle Pulse) */
.floating-whatsapp-btn {
  will-change: transform, box-shadow;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  animation: waSubtlePulse 3s infinite ease-in-out !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

@keyframes waSubtlePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.7), 0 0 20px rgba(37, 211, 102, 0.35);
  }
}

.floating-whatsapp-btn:hover {
  animation-play-state: paused !important;
  transform: scale(1.1) translateY(-3px) !important;
  box-shadow: 0 12px 34px rgba(37, 211, 102, 0.75) !important;
}

.floating-whatsapp-btn:active {
  transform: scale(0.95) !important;
}

.floating-whatsapp-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.75);
  animation: waPulseRipple 3s infinite cubic-bezier(0.24, 0, 0.38, 1) !important;
  pointer-events: none;
}

@keyframes waPulseRipple {
  0% {
    transform: scale(0.92);
    opacity: 0.9;
  }
  60% {
    transform: scale(1.38);
    opacity: 0;
  }
  100% {
    transform: scale(1.38);
    opacity: 0;
  }
}

/* 4. إلغاء تأخير التمرير والظهور الفوري 100% (Instant Zero-Lag Display) */
.scroll-reveal,
.product-card {
  opacity: 1 !important;
  visibility: visible !important;
}

.product-card:hover {
  transform: translate3d(0, -5px, 0) !important;
  border-color: rgba(203, 178, 121, 0.5) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(203, 178, 121, 0.16) !important;
}
