:root {
  --gold: #d4af37;
  --gold-rgb: 212, 175, 55;
  --gold-light: #f9e4b7;
  --dark: #050505;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.02);
  --wa-green: #25d366;
}

* { box-sizing: border-box; }

/* ✅ إصلاح مشكلة الخلفية البيضاء عند السحب (Overscroll Fix) */
html {
  background-color: #000;
  height: 100%;
  overscroll-behavior: none;
}

/* تحسين استجابة اللمس للأزرار والروابط */
button, a, input, select, textarea, .choices__inner {
  touch-action: manipulation;
}

/* === Custom Scrollbar & Selection === */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-light); }

::selection {
  background: var(--gold);
  color: #000;
}

body {
  font-family: 'Zain', sans-serif;
  min-height: 100vh;
  min-height: 100dvh;
  background: transparent; /* ✅ جعل الخلفية شفافة لإظهار النجوم */
  color: var(--white);
  overflow-x: hidden;
  margin: 0;
  text-align: center;
  line-height: 1.7;
  scroll-behavior: smooth;
  background-attachment: fixed;
  overscroll-behavior: none;
}

#particles-js {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle, #151515 0%, #000000 100%);
}

.main-content { padding: 40px 15px; }

/* Header */
.main-header {
  position: relative;
  padding: 60px 20px 50px;
  margin-bottom: 40px;
  background: radial-gradient(circle at center, rgba(var(--gold-rgb), 0.03) 0%, transparent 70%);
  border-bottom: 1px solid rgba(var(--gold-rgb), 0.05);
}
.logo-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 35px;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.logo-wrapper:hover { transform: scale(1.05); }

/* Metallic Sheen Effect */
.logo-wrapper::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(120deg, transparent 20%, rgba(var(--gold-rgb), 0.8) 50%, transparent 80%);
  background-size: 200% 100%;
  background-repeat: no-repeat;
  background-position: -200% 0;
  -webkit-mask: url('../icons/ALGHANEM/GHANEM.png') center/contain no-repeat;
  mask: url('../icons/ALGHANEM/GHANEM.png') center/contain no-repeat;
  z-index: 3;
  animation: sheenEffect 3s infinite;
  pointer-events: none;
  will-change: background-position;
}

.main-logo { width: clamp(160px, 25vw, 220px); height: auto; position: relative; z-index: 2; filter: drop-shadow(0 0 30px rgba(var(--gold-rgb), 0.25)); }

/* === New Sections Styles === */

/* Philosophy Section */
.philosophy-section {
  padding: 80px 40px;
  background: linear-gradient(135deg, #111 0%, #000 100%);
  border-radius: 40px;
  margin: 100px 0;
  border: 1px solid rgba(var(--gold-rgb), 0.15);
  box-shadow: 0 40px 100px rgba(0,0,0,0.7);
  position: relative;
  overflow: hidden;
  background-attachment: fixed;
}
.philosophy-section::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(var(--gold-rgb), 0.08) 0%, transparent 70%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}
.philosophy-content {
  position: relative;
  z-index: 1;
  text-align: right;
}
.philosophy-title {
  font-family: 'Zain', serif;
  font-size: 2.8rem;
  color: var(--gold);
  margin-bottom: 30px;
  display: flex; align-items: center; gap: 15px;
}
.philosophy-text {
  font-size: 1.3rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 25px;
}
.philosophy-quote {
  font-family: 'Zain', serif;
  font-size: 1.5rem;
  color: #fff;
  border-right: 5px solid var(--gold);
  padding: 30px 40px 30px 20px;
  margin: 40px 0;
  background: rgba(var(--gold-rgb), 0.1);
  border-radius: 20px;
  position: relative;
}
.philosophy-img-wrapper {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  border: 1px solid rgba(var(--gold-rgb), 0.3);
  z-index: 1;
}
.philosophy-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.philosophy-img-wrapper:hover .philosophy-img {
  transform: scale(1.08);
}

/* Families Grid */
.families-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.family-card {
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 25px;
  padding: 0;
  transition: 0.4s ease;
  text-align: right;
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.family-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 20px 60px rgba(var(--gold-rgb), 0.15);
}

.family-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 0;
  margin: 0;
  border: none;
  padding: 0;
  background: transparent;
  transition: 0.6s;
  filter: brightness(0.9);
}
.family-card:hover .family-img {
  transform: scale(1.05);
  filter: brightness(1.1);
  box-shadow: none;
  border-color: transparent;
}

.family-content {
  padding: 25px;
  background: linear-gradient(to bottom, rgba(20,20,20,0.95), #000);
  flex-grow: 1;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(var(--gold-rgb), 0.1);
}
.family-title {
  color: var(--gold);
  font-family: 'Zain', serif;
  font-size: 1.6rem;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(var(--gold-rgb), 0.15);
  padding-bottom: 15px;
  text-align: center;
}
.family-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  opacity: 0.9;
  color: #e0e0e0;
}

/* Aging Section */
.aging-section {
  background: radial-gradient(circle at 30% 30%, #1a1a1a 0%, #000000 80%);
  padding: 60px;
  border-radius: 30px;
  margin: 100px 0;
  border: 1px solid rgba(var(--gold-rgb), 0.3);
  box-shadow: inset 0 0 60px rgba(0,0,0,0.6);
  position: relative;
  overflow: hidden;
  background-attachment: fixed;
}
.aging-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Oud Section Content */
.oud-content {
  padding: 10px;
  text-align: right;
}
.oud-title {
  font-family: 'Zain', serif;
  font-size: 2.4rem;
  color: var(--gold);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.oud-desc {
  font-size: 1.1rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  white-space: pre-line;
}
.oud-highlight {
  background: linear-gradient(270deg, rgba(var(--gold-rgb), 0.15) 0%, transparent 100%);
  border-right: 4px solid var(--gold);
  padding: 20px 25px;
  border-radius: 8px;
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Footer */
.main-footer {
  margin-top: 80px;
  padding: 70px 20px 30px;
  background: linear-gradient(to bottom, #080808 0%, #000000 100%);
  border-top: 1px solid rgba(var(--gold-rgb), 0.1);
  position: relative;
  overflow: hidden;
}

/* Top Glow Line */
.main-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  box-shadow: 0 0 20px rgba(var(--gold-rgb), 0.5);
}

.main-footer .container {
  position: relative;
  z-index: 2;
}

.brand-title {
  font-family: 'Zain', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  margin-top: 15px;
  line-height: 1.3;
  background: linear-gradient(to bottom, var(--gold-light) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-subtitle { letter-spacing: 8px; opacity: 0.8; font-size: 1rem; margin-bottom: 30px; color: var(--gold); text-transform: uppercase; }

/* Footer Contact */
.footer-contact {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  margin-bottom: 40px;
}
.footer-email-link {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: 0.3s;
  padding: 12px 35px;
  background: rgba(10, 10, 10, 0.8);
  border-radius: 50px;
  border: 1px solid rgba(var(--gold-rgb), 0.3);
  backdrop-filter: blur(5px);
}
.footer-email-link:hover {
  background: rgba(var(--gold-rgb), 0.1);
  color: #fff;
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Footer Social Icons */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 10px;
}
.footer-social-link {
  width: 45px; height: 45px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
}
.footer-social-link:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(var(--gold-rgb), 0.3);
}

/* Footer Navigation */
.footer-nav {
  margin: 40px 0;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}
.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 10px 25px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-weight: 500;
}
.footer-link:hover {
  color: #000;
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(var(--gold-rgb), 0.25);
}

/* Copyright */
.footer-copyright {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 25px;
  margin-top: 20px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.5px;
}

/* Contact Bar */
.header-contact-bar {
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(20, 20, 20, 0.8);
  backdrop-filter: blur(15px);
  padding: 12px 40px; border-radius: 100px;
  border: 1px solid rgba(var(--gold-rgb), 0.3);
  margin-bottom: 30px; gap: 30px; flex-wrap: wrap;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3), inset 0 1px 1px rgba(255,255,255,0.05);
  transition: 0.4s;
}
.header-contact-bar:hover {
  border-color: var(--gold);
  box-shadow: 0 20px 50px rgba(var(--gold-rgb), 0.15), inset 0 1px 1px rgba(255,255,255,0.1);
}
.contact-item {
  position: relative;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  padding: 8px 5px;
  transition: 0.3s;
  opacity: 0.8;
}
.contact-item i { margin-left: 10px; color: var(--gold); transition: 0.3s; }
.contact-item:hover { color: #fff; opacity: 1; }
.contact-item:hover i { transform: translateY(-3px); text-shadow: 0 0 10px var(--gold); }

/* Creative Underline */
.contact-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; width: 0%; height: 2px;
  background: var(--gold);
  transition: 0.3s;
  box-shadow: 0 0 8px var(--gold);
}
.contact-item:hover::after { width: 100%; }
.v-separator { display: none; }

/* Social */
.social-dock {
  display: flex; justify-content: center; gap: 25px; margin-top: 25px;
  padding: 10px 30px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  width: fit-content;
  margin-left: auto; margin-right: auto;
  backdrop-filter: blur(5px);
}
.dock-link {
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative; text-decoration: none;
}

/* Brand Colors & Effects */
.dock-link[aria-label="فيسبوك"]:hover {
  background: #1877F2; border-color: #1877F2;
  box-shadow: 0 0 25px rgba(24, 119, 242, 0.6);
  transform: translateY(-5px) scale(1.1);
}
.dock-link[aria-label="إنستجرام"]:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d62976 60%, #285AEB 90%);
  border-color: transparent;
  box-shadow: 0 0 25px rgba(214, 41, 118, 0.6);
  transform: translateY(-5px) scale(1.1);
}
.dock-link[aria-label="قناة واتساب"]:hover {
  background: #25D366; border-color: #25D366;
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.6);
  transform: translateY(-5px) scale(1.1);
  color: #fff;
}

/* Tooltip */
.dock-link::after {
  content: attr(aria-label);
  position: absolute; bottom: -40px; left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(0, 0, 0, 0.8); color: #fff;
  padding: 5px 12px; border-radius: 6px;
  font-size: 0.8rem; white-space: nowrap;
  opacity: 0; visibility: hidden; transition: 0.3s;
  pointer-events: none; border: 1px solid rgba(255,255,255,0.1);
}
.dock-link:hover::after { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.wa-channel-style { border-color: rgba(37, 211, 102, 0.5); color: #25d366; position: relative; }
.badge-new {
  position: absolute; top: -8px; right: -8px;
  background: #ff0000; color: #fff;
  font-size: 0.65rem; font-weight: bold;
  padding: 2px 8px; border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  animation: bounce 2s infinite;
}

/* ✅ تحريك أيقونة التثبيت لجذب الانتباه */
#installAppBtn i, #footerInstallBtn i, #updateContentBtn i, #footerUpdateBtn i {
  animation: bounce 2s infinite;
  text-shadow: 0 0 10px var(--gold);
}

/* Divider */
.section-divider { color: var(--gold); font-family: 'Zain', serif; margin: 50px 0 30px; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.divider { border-top: 1px solid rgba(var(--gold-rgb), 0.15); width: 60%; margin: 40px auto; }

/* Section Enhancements */
.section-block {
  position: relative;
  margin: 100px 0;
}
.section-block::before {
  content: '';
  position: absolute;
  inset: -20px 0;
  background: radial-gradient(circle at 50% 0, rgba(var(--gold-rgb), 0.06), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.section-block > * { position: relative; z-index: 1; }

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}
.section-title::before,
.section-title::after {
  content: '';
  height: 1px;
  width: 60px;
  background: linear-gradient(90deg, transparent, rgba(var(--gold-rgb), 0.6));
}
.section-title::after {
  background: linear-gradient(90deg, rgba(var(--gold-rgb), 0.6), transparent);
}

.wa-send-btn {
  width: 100%; padding: 12px;
  background: var(--wa-green);
  border: none; border-radius: 50px;
  font-weight: bold; color: #fff; font-size: 1rem;
  transition: 0.3s;
}
.wa-send-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(37,211,102,0.4); }

/* Floating Install Button */
.floating-install {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #000;
  width: auto; height: 42px;
  padding: 0 18px;
  border-radius: 50px;
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  font-size: 1.1rem;
  box-shadow: 0 6px 15px rgba(var(--gold-rgb), 0.3);
  z-index: 1000;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: 0.3s;
  animation: bounce 2s infinite;
  backdrop-filter: blur(4px);
}

.floating-install span {
  font-size: 0.9rem;
  font-weight: bold;
  font-family: 'Zain', serif;
  white-space: nowrap;
}

.floating-install:hover {
  transform: translateY(-3px);
  background: #fff;
  color: var(--gold);
  box-shadow: 0 8px 20px rgba(255,255,255,0.2);
}

/* Fix map height */
.row.g-4 { align-items: stretch; }
.premium-map-card { height: 100%; min-height: 360px; }
.premium-map-card iframe { width: 100%; height: 100%; min-height: 360px; }

/* عناصر العطور المتعددة */
.item-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.6fr auto;
  gap: 10px;
  margin-bottom: 12px;
  align-items: center;
}
.item-row .choices {
  margin-bottom: 0;
}
.remove-item {
  background: rgba(192, 57, 43, 0.1);
  color: #c0392b;
  border: 1px solid rgba(192, 57, 43, 0.3);
  width: 40px; height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  transition: 0.3s;
}
.remove-item:hover {
  background: #c0392b;
  color: #fff;
  transform: rotate(15deg);
}
/* Animations for Rows */
.item-entering { animation: slideDown 0.3s ease forwards; }
.item-leaving { animation: fadeOut 0.3s ease forwards; }

.validation-msg {
  font-size: 0.8rem;
  color: #e74c3c;
  margin-top: 5px;
  display: none;
  text-align: right;
}

.add-item-btn { opacity: 0.8; font-size: 0.9rem; background: transparent; border: 1px dashed var(--gold); color: var(--gold); padding: 10px; border-radius: 12px; width: 100%; font-weight: bold; margin-top: 10px; cursor: pointer; }
.add-item-btn:hover { background: var(--gold); color: #000; box-shadow: 0 6px 14px rgba(var(--gold-rgb), 0.35); }

/* صفحة الأصناف */
.catalog-page { text-align: center; }
.catalog-header { margin-bottom: 30px; }
.back-home { color: var(--gold); text-decoration: none; font-size: 0.9rem; }
.back-home:hover { text-decoration: underline; }

/* أدوات البحث والفلترة */
.catalog-controls { margin-bottom: 35px; position: relative; z-index: 5; }
.search-container {
  position: relative;
  max-width: 500px;
  margin: 0 auto 20px;
}
.search-icon {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  color: var(--gold);
  opacity: 0.7;
  pointer-events: none;
}
.search-input {
  width: 100%;
  padding: 15px 50px 15px 20px;
  border-radius: 50px;
  border: 1px solid rgba(var(--gold-rgb), 0.3);
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(10px);
  color: #fff;
  text-align: right;
  font-size: 1rem;
  transition: 0.3s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.search-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(var(--gold-rgb), 0.15);
  background: rgba(30, 30, 30, 0.8);
  outline: none;
}
.filter-bar { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.filter-btn {
  padding: 8px 25px;
  border-radius: 50px;
  border: 1px solid rgba(var(--gold-rgb), 0.4);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  font-size: 0.95rem;
  transition: 0.3s;
  font-weight: bold;
}
.filter-btn.active, .filter-btn:hover { background: var(--gold); color: #000; box-shadow: 0 5px 15px rgba(var(--gold-rgb), 0.25); transform: translateY(-2px); }

/* كروت الأصناف */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.product-card, .product-card-pro {
  background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(var(--gold-rgb), 0.15);
  border-radius: 25px;
  padding: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  backdrop-filter: blur(5px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card::before, .product-card-pro::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 25px;
  padding: 1px;
  background: linear-gradient(140deg, rgba(var(--gold-rgb), 0.35), transparent 40%, rgba(var(--gold-rgb), 0.15));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.product-card::after, .product-card-pro::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 60%);
  opacity: 0.4;
  transition: 0.4s;
  pointer-events: none;
}
.product-card:hover::before, .product-card-pro:hover::before { opacity: 1; }
.product-card:hover::after, .product-card-pro:hover::after { opacity: 0.7; }
.product-card:focus-within, .product-card-pro:focus-within {
  outline: 2px solid rgba(var(--gold-rgb), 0.6);
  outline-offset: 2px;
}

.product-card:hover, .product-card-pro:hover {
  transform: translateY(-10px);
  border-color: var(--gold);
  box-shadow: 0 20px 50px rgba(var(--gold-rgb), 0.15);
  background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
}
.product-img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 15px rgba(var(--gold-rgb), 0.2));
  transition: transform 0.5s ease;
  animation: productGlow 3s infinite alternate ease-in-out;
  will-change: transform, filter;
}
.product-card:hover .product-img, .product-card-pro:hover .product-img {
  transform: scale(1.1) rotate(3deg);
}
.product-title {
  font-family: 'Zain', serif;
  font-size: 1.4rem;
  color: #fff;
  margin: 15px 0 5px;
  transition: color 0.3s;
  letter-spacing: 0.3px;
}
.product-card:hover .product-title, .product-card-pro:hover .product-title {
  color: var(--gold);
}
.product-type { font-size: 0.9rem; color: rgba(255,255,255,0.6); display: block; margin-bottom: 15px; }

/* تغليف كروت الكتالوج + الأصناف */
.catalogs-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin: 30px auto 60px;
  max-width: 1200px;
}

/* ===== Choices.js Theme ===== */
.choices {
  text-align: right;
  direction: rtl;
}
.choices__inner {
  background: rgba(20, 20, 20, 0.6) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 15px !important;
  padding: 12px 15px !important;
  min-height: 58px !important;
  padding-right: 40px !important;
  transition: all 0.3s ease !important;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2) !important;
}
.choices:hover .choices__inner {
  border-color: rgba(var(--gold-rgb), 0.5) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}
.choices__list--dropdown,
.choices__list[aria-expanded] {
  background: #1a1a1a !important;
  border-radius: 15px !important;
  border: 1px solid rgba(var(--gold-rgb), 0.2) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
  margin-top: 5px !important;
}
.choices__item--selectable { color: #fff !important; }
.choices__item--selectable.is-highlighted { background: var(--gold) !important; color: #000 !important; }
.choices__placeholder { color: rgba(255,255,255,0.6) !important; }

.choices[data-type*="select-one"]:after {
  right: auto !important;
  left: 12px !important;
  border-color: var(--gold) transparent transparent !important;
}

select.form-control.filled,
.choices.filled .choices__inner {
  border-color: rgba(var(--gold-rgb), 0.5) !important;
  background: rgba(20, 20, 20, 0.8) !important;
}
.choices.is-focused .choices__inner {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 4px rgba(var(--gold-rgb), 0.2), inset 0 2px 4px rgba(0,0,0,0.1) !important;
  background: rgba(20, 20, 20, 0.8) !important;
}

/* سطر الثقة */
.brand-trust {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  margin: 10px 0 20px;
}

/* زر CTA الرئيسي */
.hero-cta {
  display: inline-block;
  background: var(--gold);
  color: #000;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(var(--gold-rgb), 0.35);
  margin-bottom: 25px;
  transition: 0.3s;
}
.hero-cta:hover {
  transform: translateY(-2px);
  background: #d6b56c;
}

/* قسم الأصناف الجديدة */
.new-products-grid {
  margin-bottom: 40px;
}

.new-card {
  position: relative;
}

.new-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #000;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 30px;
  z-index: 2;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  animation: badgePulse 2s infinite;
  white-space: nowrap;
}
.toggle-new-btn{
  margin: 20px auto;
  padding: 12px 30px;
  border-radius: 50px;
  border: 1px solid rgba(var(--gold-rgb), 0.5);
  background: rgba(var(--gold-rgb), 0.1);
  color: var(--gold);
  font-weight: bold;
  cursor: pointer;
  transition: .3s;
  display: inline-flex; align-items: center; gap: 8px;
}
.toggle-new-btn:hover{
  background: var(--gold);
  color: #000;
}

#newProductsSection {
  display: none;
}
.no-new-msg{
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin: 15px 0 30px;
}

.product-name-badge {
  position: absolute;
  top: 78%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* تأثير الملصق الأسطواني: تدرج يحاكي الانحناء */
  background: linear-gradient(90deg, rgba(5,5,5,0.95) 0%, rgba(45,45,45,0.98) 20%, rgba(45,45,45,0.98) 80%, rgba(5,5,5,0.95) 100%);
  border-top: 1px solid rgba(var(--gold-rgb), 0.6);
  border-bottom: 1px solid rgba(var(--gold-rgb), 0.6);
  color: var(--gold);
  font-family: 'Zain', serif;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 4px;
  width: 82%; /* عرض ثابت نسبياً ليحاكي عرض القارورة */
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 8px 25px rgba(0,0,0,0.7);
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.9);
  letter-spacing: 0.5px;
}

/* تحسين مظهر الأسماء الطويلة */
.product-name-badge.small-name {
  font-size: 0.9rem;
  width: 90%;
}

/* تثبيت التموضع بالنسبة للصورة وليس الكرت */
.product-image-wrap {
  position: relative;
  flex-shrink: 0; /* منع الصورة من الانكماش عند طول النص */
}

.product-image-wrap::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-20deg);
  transition: 0.6s ease;
}
.product-card:hover .product-image-wrap::after,
.product-card-pro:hover .product-image-wrap::after {
  left: 140%;
}


.product-info{
  margin-bottom: 10px;
}

.product-actions{
  margin-top: auto;
}

.product-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(var(--gold-rgb), 0.18), rgba(var(--gold-rgb), 0.06));
  border: 1px solid rgba(var(--gold-rgb), 0.6);
  color: var(--gold-light);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
  width: 100%;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.product-btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 0%; height: 100%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  transition: 0.3s;
  z-index: -1;
}

.product-btn:hover {
  color: #000;
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(var(--gold-rgb), 0.3);
}

.product-btn:hover::before {
  width: 100%;
}

/* تحسين زر نفذت الكمية */
.product-btn:disabled {
  background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
  border-color: #444;
  color: #888;
  cursor: not-allowed;
  box-shadow: none;
  transform: none !important;
}
.product-btn:disabled::before, .product-btn:disabled::after { display: none; }

/* تأثير وميض للزر */
.product-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -150%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  animation: btnShimmer 3s infinite;
  pointer-events: none;
  z-index: -1;
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 50px;
  height: 50px;
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 999;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transform: translateY(20px);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #fff;
  transform: translateY(-5px);
}

/* === Modern Branch Card === */
.branch-card-modern {
  display: flex;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.02);
  background: linear-gradient(145deg, rgba(30, 30, 30, 0.6) 0%, rgba(20, 20, 20, 0.8) 100%);
  border: 1px solid rgba(var(--gold-rgb), 0.15);
  border-radius: 30px;
  overflow: hidden;
  margin-bottom: 40px;
  transition: 0.4s;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.branch-card-modern:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4), 0 20px 50px rgba(var(--gold-rgb), 0.15);
}
.branch-info {
  flex: 1;
  min-width: 300px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: right;
}
.branch-map {
  flex: 1;
  min-width: 300px;
  min-height: 350px;
}
.branch-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(1) invert(0.05);
  transition: 0.5s;
}
.branch-card-modern:hover .branch-map iframe {
  filter: grayscale(0) invert(0);
}

.branch-badge {
  display: inline-block;
  background: var(--gold);
  color: #000;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 15px;
  align-self: flex-start;
  box-shadow: 0 4px 10px rgba(var(--gold-rgb), 0.3);
}
.branch-title-text {
  font-family: 'Zain', serif;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 10px;
}
.branch-address {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.branch-contacts-grid {
  display: grid;
  gap: 15px;
  margin-bottom: 30px;
}
.contact-line {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255,255,255,0.03);
  padding: 10px 15px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: 0.3s;
}
.contact-line:hover {
  background: rgba(var(--gold-rgb), 0.1);
  border-color: var(--gold);
}
.contact-icon-box {
  width: 35px; height: 35px;
  background: rgba(var(--gold-rgb), 0.2);
  color: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
}
.contact-links a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  margin-left: 10px;
  transition: 0.3s;
}
.contact-links a:hover { color: var(--gold); }

.branch-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  border: 1px solid var(--wa-green);
  color: var(--wa-green);
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
  align-self: flex-start;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.2);
}
.branch-wa-btn:hover {
  background: var(--wa-green);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
}

/* === Modern Catalog Cards === */
.catalog-card-modern {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(var(--gold-rgb), 0.15);
  border-radius: 30px;
  padding: 40px 30px;
  transition: 0.4s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.catalog-card-modern:hover {
  border-color: var(--gold);
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.catalog-card-modern::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at top right, rgba(var(--gold-rgb), 0.08), transparent 70%);
  opacity: 0;
  transition: 0.4s;
}
.catalog-card-modern:hover::before { opacity: 1; }

.catalog-icon-box {
  width: 90px; height: 90px;
  background: rgba(var(--gold-rgb), 0.1);
  border: 1px solid rgba(var(--gold-rgb), 0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 25px;
  transition: 0.4s;
  position: relative;
  z-index: 1;
}
.catalog-card-modern:hover .catalog-icon-box {
  background: var(--gold);
  color: #000;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 25px rgba(var(--gold-rgb), 0.5);
}

.catalog-content { position: relative; z-index: 1; width: 100%; }

.catalog-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 15px;
}

.catalog-title {
  font-family: 'Zain', serif;
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 15px;
}

.catalog-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 35px;
}

.catalog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 35px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
  width: 100%;
  font-size: 1rem;
}

.catalog-btn.primary {
  background: var(--gold);
  color: #000;
}
.catalog-btn.primary:hover {
  background: #fff;
  box-shadow: 0 5px 20px rgba(255,255,255,0.2);
}

.catalog-btn.secondary {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}
.catalog-btn.secondary:hover {
  background: var(--gold);
  color: #000;
}

/* === Modern Order Form === */
.order-card-modern {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(var(--gold-rgb), 0.15);
  border-radius: 30px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: 0.4s;
  margin-top: 20px;
}
.order-card-modern:hover {
  border-color: var(--gold);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.order-summary {
  background: linear-gradient(135deg, rgba(var(--gold-rgb), 0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(var(--gold-rgb), 0.25);
  border-radius: 18px;
  padding: 18px 22px;
  margin: 20px 0 30px;
  text-align: right;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03), 0 10px 25px rgba(0,0,0,0.25);
}
.summary-title {
  font-family: 'Zain', serif;
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}
.summary-row:last-of-type { border-bottom: none; }
.summary-row strong { color: #fff; }
.summary-hint {
  margin-top: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.order-card-modern::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.order-header-modern {
  text-align: center;
  margin-bottom: 35px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.order-icon-modern {
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(var(--gold-rgb), 0.2) 0%, transparent 70%);
  color: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 15px;
  border: 1px solid rgba(var(--gold-rgb), 0.2);
  box-shadow: 0 0 25px rgba(var(--gold-rgb), 0.15);
}
.order-card-modern .form-control {
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 15px;
  padding: 15px;
  min-height: 58px;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}
.order-card-modern .form-control:hover {
  border-color: rgba(var(--gold-rgb), 0.5);
  background: rgba(255, 255, 255, 0.05);
}
.order-card-modern .form-control:focus {
  background: rgba(20, 20, 20, 0.8);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(var(--gold-rgb), 0.2), inset 0 2px 4px rgba(0,0,0,0.1);
}
.order-card-modern label {
  color: rgba(255, 255, 255, 0.6);
}
.order-card-modern .form-floating > label {
  padding: 12px 15px;
}
.order-card-modern .form-control:read-only {
  background: rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.5);
}
/* Qty Wrapper */
.qty-wrapper {
  display: flex;
  align-items: center;
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  overflow: hidden;
  height: 58px;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}
.qty-wrapper:hover {
  border-color: rgba(var(--gold-rgb), 0.5);
}
.qty-btn {
  background: transparent;
  border: none;
  color: var(--gold);
  width: 35px;
  height: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: 0.2s;
}
.qty-btn:hover {
  background: rgba(var(--gold-rgb), 0.2);
  color: #fff;
}
.item-qty {
  border: none !important;
  background: transparent !important;
  text-align: center !important;
  padding: 0 !important;
  height: 100% !important;
  margin: 0 !important;
  appearance: textfield;
  -moz-appearance: textfield;
  box-shadow: none !important;
  border-radius: 0 !important;
  color: #fff !important;
  font-weight: bold;
}
.item-qty:focus {
  box-shadow: none !important;
}
.item-qty::-webkit-outer-spin-button,
.item-qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: rgba(37, 211, 102, 0.95); /* WhatsApp Green */
  color: #fff;
  padding: 15px 30px;
  border-radius: 50px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9999;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  font-weight: bold;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.8);
  transform-origin: right;
  transform: scaleX(0);
}

.toast-notification.show .toast-progress {
  animation: toastTimer 4s linear forwards;
}

@keyframes toastTimer {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

/* Intro Cards Section */
.intro-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 60px 0;
}
.intro-card {
  background: #0f0f0f;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 25px;
  overflow: hidden;
  transition: 0.4s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.intro-card:hover {
  transform: translateY(-10px);
  border-color: var(--gold);
  box-shadow: 0 20px 50px rgba(var(--gold-rgb), 0.15);
}
.intro-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 250px;
}
/* Dark Gradient Overlay */
.intro-img-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.5) 100%);
  z-index: 1;
  transition: 0.4s;
}
/* Shine Effect */
.intro-img-wrapper::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  z-index: 2;
  transition: none;
}
.intro-card:hover .intro-img-wrapper::after {
  left: 150%;
  transition: 0.7s ease-in-out;
}
.intro-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s;
  filter: brightness(0.9);
}
.intro-card:hover .intro-card-img {
  transform: scale(1.05);
  filter: brightness(1.1);
}
.intro-card-content {
  padding: 30px;
  text-align: right;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.intro-card-content h3 {
  color: var(--gold);
  font-family: 'Zain', serif;
  font-size: 1.6rem;
  margin-bottom: 15px;
}
.intro-card-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 25px;
  flex-grow: 1;
  white-space: pre-line;
}
.intro-card-btn {
  display: inline-block;
  text-align: center;
  padding: 12px 25px;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  align-self: flex-start;
  font-size: 0.95rem;
}
.intro-card-btn:hover {
  background: var(--gold);
  color: #000;
  box-shadow: 0 5px 15px rgba(var(--gold-rgb), 0.3);
}

/* === Custom Modal Styles === */
.custom-modal-content {
  background: linear-gradient(145deg, rgba(30, 30, 30, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(var(--gold-rgb), 0.3);
  color: #fff;
  border-radius: 25px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  overflow: hidden;
}
.custom-modal-header {
  border-bottom: 1px solid rgba(var(--gold-rgb), 0.1);
  padding: 20px 25px;
}
.custom-modal-title {
  color: var(--gold);
  font-family: 'Zain', serif;
  font-size: 1.4rem;
}
.custom-modal-body {
  text-align: center;
  font-size: 1.1rem;
  padding: 30px 25px;
}
.modal-icon-box {
  font-size: 3.5rem;
  color: var(--wa-green);
  margin-bottom: 15px;
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.modal-text-secondary {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  margin-top: 10px;
}
.modal-product-preview {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 15px;
  margin: 15px auto;
  border: 1px solid rgba(var(--gold-rgb), 0.2);
  max-width: 220px;
}
.modal-product-img {
  width: 80px; height: 80px; object-fit: contain;
  margin-bottom: 10px;
  filter: drop-shadow(0 5px 10px rgba(0,0,0,0.3));
}
.modal-product-name {
  color: var(--gold); font-family: 'Zain', serif; font-size: 1.2rem; margin: 0;
}
.custom-modal-footer {
  border-top: 1px solid rgba(var(--gold-rgb), 0.1);
  justify-content: center;
  gap: 15px;
  padding: 20px;
  background: rgba(0,0,0,0.2);
}
.btn-rounded-custom {
  border-radius: 50px;
  padding: 10px 30px;
  transition: 0.3s;
  font-weight: bold;
}
.btn-gold-custom {
  background: var(--gold);
  color: #000;
  border: 1px solid var(--gold);
}
.btn-gold-custom:hover {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 5px 15px rgba(255,255,255,0.2);
  transform: translateY(-2px);
}
.btn-secondary-custom {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  animation: pulse-light 2s infinite;
}
@keyframes pulse-light {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.btn-secondary-custom:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}

/* ===== Consolidated Responsive Styles ===== */
@media (max-width: 992px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .mobile-menu-btn { display: block !important; }
}

@media (max-width: 768px) {
  .catalogs-wrapper { grid-template-columns: 1fr; }
  .families-grid { grid-template-columns: 1fr; }
  .intro-cards-grid { grid-template-columns: 1fr; gap: 20px; margin: 40px 0; }
  .main-header { padding: 40px 15px 30px; }
  .brand-title { font-size: 1.6rem; white-space: normal; line-height: 1.3; }
  .brand-subtitle { letter-spacing: 3px; margin-bottom: 20px; }
  
  .products-grid { gap: 10px; }

  .product-title { font-size: 1.1rem; }
  
  .philosophy-section { padding: 50px 20px; }
  .philosophy-content { text-align: center; }
  .philosophy-title { justify-content: center; }
  .philosophy-quote { margin: 25px 0; padding: 20px; }
  .philosophy-title { font-size: 1.6rem; white-space: normal; }
  .philosophy-img { height: 350px; object-fit: cover; }
  .philosophy-img-wrapper { border-radius: 20px; }

  .aging-section { padding: 40px 10px; }
  .oud-content { text-align: center; padding: 0; }
  .oud-title { justify-content: center; font-size: 1.7rem; white-space: normal; }

  .header-contact-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    width: 95%;
    border-radius: 25px;
  }
  .header-contact-bar .contact-item {
    font-size: 0.9rem;
    padding: 8px 12px;
    background: rgba(255,255,255,0.05) !important;
    border-radius: 20px;
    justify-content: center;
  }
  .contact-item::after { display: none; }

  .social-dock {
    gap: 15px;
    padding: 10px 20px;
    width: 95%;
    flex-wrap: wrap;
  }

  .branch-card-modern { flex-direction: column-reverse; }
  .branch-map { min-height: 250px; }
  .branch-info { text-align: center; align-items: center; }
  .branch-address { justify-content: center; }
  .branch-wa-btn { align-self: center; width: 100%; }
  .branch-badge { align-self: center; }
  .branch-title-text { font-size: 1.5rem; white-space: normal; }

  .section-divider { font-size: 1.6rem; white-space: normal; margin: 40px 0 20px; }
  .section-title::before, .section-title::after { width: 30px; }
  .divider { margin: 30px auto; }
  .catalog-title { font-size: 1.6rem; white-space: normal; }
  .family-img { height: 210px; }
  .family-content { padding: 20px; }
  .intro-card-content h3 { font-size: 1.4rem; white-space: normal; }

  .order-card { padding: 25px 18px; }

  .item-row {
    grid-template-columns: 1fr 1fr auto !important;
    gap: 8px;
    align-items: center;
  }
  
  /* Product takes full width */
  .item-row .choices:nth-of-type(1) { grid-column: 1 / -1; }
  /* Size takes 1st column */
  .item-row .choices:nth-of-type(2) { grid-column: 1; }
  .item-row .choices:nth-of-type(2),
  .item-row .qty-wrapper,
  .item-row .remove-item {
    margin-top: 12px;
  }
  
  /* Qty takes 2nd column */
  .item-row .qty-wrapper {
    width: 100%;
    grid-column: 2;
    height: 52px;
    align-items: center;
  }
  .item-row .qty-btn { height: 100%; width: 35px; }
  .item-row .item-qty {
    height: 100% !important;
    line-height: 52px !important;
    width: 100% !important;
  }
  
  /* Delete button takes 3rd column */
  .remove-item { margin-top: 0; width: 40px !important; grid-column: 3; margin-left: 0; margin-right: 0; }

  /* تثبيت ارتفاع حقل وحدة القياس في الجوال */
  .item-row .choices__inner {
    min-height: 52px !important;
    height: 52px !important;
    display: flex;
    align-items: center;
  }
  .item-row .choices__list--single {
    padding: 0 !important;
    display: flex;
    align-items: center;
    height: 100%;
  }
  .item-row .choices[data-type*="select-one"] .choices__inner {
    padding: 0 40px 0 15px !important;
  }
  .product-img { height: 180px; }
  
  .toast-notification { width: 90%; font-size: 0.9rem; padding: 12px 20px; }
  
  .intro-card-btn { width: 100%; }

  /* === Mobile Visual Enhancements === */
  /* Touch Feedback (Active States) */
  .product-card:active, .product-card-pro:active,
  .family-card:active,
  .branch-card-modern:active, .catalog-card-modern:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
    border-color: var(--gold);
  }

  .product-btn:active, .hero-cta:active, .wa-send-btn:active, .filter-btn:active {
    transform: scale(0.95);
  }

  /* Better Touch Targets */
  .filter-btn { padding: 10px 20px; margin: 2px; }

  .mobile-sidebar { width: 86vw; right: -86vw; }

  /* === تحسينات النافذة المنبثقة للجوال === */
  .custom-modal-content { border-radius: 20px; }
  .custom-modal-header { padding: 15px 20px; }
  .custom-modal-body { padding: 20px 15px; }
  
  /* عرض المنتج بشكل أفقي لتوفير المساحة */
  .modal-product-preview {
    max-width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 15px;
    text-align: right;
  }
  .modal-product-img { width: 60px; height: 60px; margin-bottom: 0; }
  .modal-product-name { font-size: 1.1rem; margin: 0; text-align: right; flex: 1; }
  
  /* أزرار كاملة العرض لسهولة الضغط */
  .custom-modal-footer { flex-direction: column; gap: 10px; padding: 15px 20px; }
  .btn-rounded-custom { width: 100%; padding: 12px; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .product-img { animation: none !important; }
}

/* =========================================
   ✅ القائمة الجانبية للجوال (Mobile Sidebar)
   ========================================= */

/* زر القائمة (Hamburger) */
.mobile-menu-btn {
  position: fixed;
  top: 25px;
  right: 20px;
  background: rgba(15, 15, 15, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 1.4rem;
  padding: 8px 14px;
  border-radius: 12px;
  cursor: pointer;
  z-index: 1100;
  display: none;
  transition: 0.3s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.mobile-menu-btn:hover { background: var(--gold); color: #000; }

/* حاوية القائمة */
.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -320px; /* مخفية افتراضياً */
  width: 280px;
  height: 100%;
  background: rgba(10, 10, 10, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2000;
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 40px rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(var(--gold-rgb), 0.3);
  overflow: hidden;
}
.mobile-sidebar.active { right: 0; }
.mobile-sidebar::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.mobile-sidebar > * { position: relative; z-index: 1; }
#sidebar-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.sidebar-header {
  padding: 18px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), transparent);
}
.sidebar-logo { width: 50px; height: auto; filter: drop-shadow(0 0 5px var(--gold)); }
.sidebar-logo-large { width: 140px; height: auto; display: block; margin: 12px auto 6px; filter: drop-shadow(0 0 12px rgba(var(--gold-rgb), 0.45)); }
.close-sidebar-btn { background: transparent; border: none; color: #fff; font-size: 1.4rem; cursor: pointer; transition: 0.3s; }
.close-sidebar-btn:hover { color: var(--gold); transform: rotate(90deg); }

.sidebar-nav { padding: 40px 18px 8px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; flex: 1; }
.sidebar-link {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 14px;
  border-radius: 12px;
  transition: 0.3s;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}
.sidebar-link i { color: var(--gold); width: 25px; text-align: center; font-size: 1.2rem; }
.sidebar-link::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateY(-50%) scale(0);
  transition: 0.2s ease;
  box-shadow: 0 0 10px rgba(var(--gold-rgb), 0.6);
}
.sidebar-link:hover, .sidebar-link:active, .sidebar-link.active {
  background: linear-gradient(270deg, rgba(var(--gold-rgb), 0.2) 0%, transparent 100%);
  color: #fff;
  border-color: rgba(var(--gold-rgb), 0.4);
  transform: translateX(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.sidebar-link:hover::after,
.sidebar-link.active::after { transform: translateY(-50%) scale(1); }

.sidebar-link.active i { color: #fff; text-shadow: 0 0 10px var(--gold); }

.sidebar-link.install-btn { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%); color: #000; font-weight: bold; margin-top: 16px; justify-content: center; box-shadow: 0 8px 20px rgba(var(--gold-rgb), 0.25); }
.sidebar-link.install-btn i { color: #000; }
.sidebar-link.install-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(var(--gold-rgb), 0.4); }

/* ✅ تأثير دخول العناصر بالتتابع */
@keyframes slideInItem {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

.mobile-sidebar.active .sidebar-link {
  animation: slideInItem 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  opacity: 0; /* إخفاء العنصر قبل بدء الحركة */
}

.mobile-sidebar.active .sidebar-link:nth-child(1) { animation-delay: 0.2s; }
.mobile-sidebar.active .sidebar-link:nth-child(2) { animation-delay: 0.3s; }
.mobile-sidebar.active .sidebar-link:nth-child(3) { animation-delay: 0.4s; }
.mobile-sidebar.active .sidebar-link:nth-child(4) { animation-delay: 0.5s; }
.mobile-sidebar.active .sidebar-link:nth-child(5) { animation-delay: 0.6s; }

.sidebar-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 14px 20px 8px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.sidebar-social a {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  transition: 0.3s;
  text-decoration: none;
}
.sidebar-social a:hover { background: var(--gold); color: #000; transform: translateY(-3px); }

.sidebar-logo-large { width: 150px; height: auto; display: block; margin: 10px auto 6px; filter: drop-shadow(0 0 12px rgba(var(--gold-rgb), 0.45)); }
.sidebar-logo-block {
  padding: 10px 20px 8px;
  text-align: center;
  border-top: 1px dashed rgba(255,255,255,0.08);
  border-bottom: 1px dashed rgba(255,255,255,0.08);
  margin: 6px 18px 8px;
}
.sidebar-logo-text {
  font-family: 'Zain', serif;
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 1px;
}
.sidebar-branch-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 18px 12px;
  align-items: center;
  justify-content: center;
}
.sidebar-branch-buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 10px;
  justify-content: space-between;
  width: 100%;
}
.sidebar-branch-buttons .branch-wa-btn {
  flex: 1;
  width: auto;
  min-width: 0;
  justify-content: center;
}
.sidebar-branch-title {
  color: var(--gold);
  font-family: 'Zain', serif;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  text-align: center;
}
.sidebar-branch-actions .branch-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(37, 211, 102, 0.45);
  color: #eafff5;
  background: rgba(37, 211, 102, 0.12);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: 0.3s;
}
.sidebar-branch-actions .branch-wa-btn:hover {
  background: #25d366;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
}
.sidebar-footer { padding: 10px 20px 18px; text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.45); }

.sidebar-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 1999; opacity: 0; visibility: hidden; transition: 0.4s; backdrop-filter: blur(6px); }
.sidebar-overlay.active { opacity: 1; visibility: visible; }

/* ✅ Offline Message */
.offline-message {
  position: fixed;
  bottom: 16px;
  left: auto;
  right: 16px;
  width: auto;
  background: transparent;
  color: #c0392b;
  text-align: center;
  padding: 0;
  font-weight: bold;
  z-index: 10000;
  transform: translateY(150%);
  transition: transform 0.3s ease;
  display: flex; align-items: center; justify-content: center;
  box-shadow: none;
  pointer-events: none;
}
.offline-message i {
  font-size: 56px;
  line-height: 1;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.35));
}
.offline-message.show {
  transform: translateY(0);
}

/* ✅ Update Notification */
.update-notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(150px);
  background: rgba(20, 20, 20, 0.95);
  border: 1px solid var(--gold);
  color: #fff;
  padding: 15px 25px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 10000;
  transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  width: max-content;
  max-width: 90%;
}
.update-notification.show { transform: translateX(-50%) translateY(0); }
.update-text { font-size: 0.95rem; font-weight: bold; }
.update-btn { background: var(--gold); color: #000; border: none; padding: 8px 20px; border-radius: 30px; font-weight: bold; cursor: pointer; font-size: 0.9rem; white-space: nowrap; transition: 0.3s; }
.update-btn:hover { background: #fff; transform: scale(1.05); }


/* === Exclusive Ribbon (شريطة التميز) === */
.exclusive-ribbon {
  position: absolute;
  top: -4px;
  left: auto;
  right: -4px;
  width: 100px;
  height: 100px;
  overflow: hidden;
  z-index: 5;
  pointer-events: none;
  filter: drop-shadow(-2px 3px 4px rgba(0,0,0,0.4));
}
.exclusive-ribbon span {
  position: absolute;
  display: block;
  width: 160px;
  padding: 8px 0;
  color: #fff;
  font-family: 'Zain', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  text-align: center;
  right: auto;
  left: -35px;
  top: 22px;
  transform: rotate(45deg);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.25);
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  letter-spacing: 0.5px;
}
/* Shine Effect */
.exclusive-ribbon span::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  transform: skewX(-20deg);
  animation: ribbonShine 3s infinite ease-in-out;
}

body.sidebar-open { overflow: hidden; }

/* ✅ إخفاء أزرار التثبيت على الشاشات الكبيرة (سطح المكتب) */
@media (min-width: 992px) {
  #installAppBtn,
  #footerInstallBtn,
  #floatingInstallBtn,
  #sidebarInstallBtn,
  .sidebar-link.install-btn {
    display: none !important;
  }
}

/* === Mobile Performance Optimization === */
@media (max-width: 768px) {
  .product-card, .product-card-pro, .branch-card-modern, .catalog-card-modern,
  .header-contact-bar, .social-dock, .custom-modal-content, .toast-notification {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(20, 20, 20, 0.95); /* لون مصمت بدلاً من الزجاجي */
  }
  .product-img { will-change: transform; animation: none !important; } /* تحسين أداء الحركة وإيقاف الوهج */
  .logo-wrapper::after { animation: none !important; display: none !important; } /* إيقاف لمعان الشعار */
  
  /* Exclusive Ribbon Mobile */
  .exclusive-ribbon { width: 70px; height: 70px; top: -3px; right: -3px; }
  .exclusive-ribbon span { width: 110px; padding: 5px 0; font-size: 0.65rem; left: -22px; top: 16px; }

  /* New Badge / Best Seller Mobile */
  .new-badge {
    font-size: 0.65rem;
    padding: 4px 8px;
    top: 8px;
    left: 8px;
  }

  .product-name-badge {
    font-size: 0.9rem;
    padding: 4px 8px;
    width: 85%;
  }

  /* ✅ منع تكبير الشاشة المزعج في الآيفون عند الكتابة */
  input, select, textarea, .form-control, .choices__input, .choices__inner {
    font-size: 16px !important;
  }

  /* ✅ إلغاء تأثيرات التحريك (Hover) التي تعلق على الجوال */
  .product-card:hover, .product-card-pro:hover,
  .branch-card-modern:hover, .catalog-card-modern:hover,
  .intro-card:hover, .footer-link:hover, .contact-item:hover,
  .dock-link:hover, .product-btn:hover {
    transform: none !important;
    box-shadow: none !important;
  }
  
  /* تكبير زر الحذف قليلاً ليسهل لمسه */
  .remove-item { width: 44px !important; height: 44px !important; }
}

/* === News Ticker (شريط الأخبار) === */
.news-ticker-bar {
  width: 100%;
  background: linear-gradient(90deg, #000, #111);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 50px;
  height: 42px;
  overflow: hidden;
  position: relative;
  z-index: 1050;
  display: flex;
  align-items: center;
  margin-top: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3), 0 0 20px rgba(212, 175, 55, 0.15);
}
.ticker-content {
  display: inline-block;
  white-space: nowrap;
  animation: ticker-move 30s linear infinite;
  will-change: transform;
}
.news-ticker-bar:hover .ticker-content { animation-play-state: paused; }
.ticker-item {
  display: inline-block;
  padding: 0 30px;
  color: var(--gold);
  font-family: 'Zain', sans-serif;
  font-weight: bold;
  font-size: 1rem;
}
.ticker-item::after {
  content: "✦";
  margin-right: 30px;
  color: rgba(255,255,255,0.3);
}
@keyframes ticker-move {
  0% { transform: translateX(-100vw); }
  100% { transform: translateX(100%); }
}
