/* ============================================
   EQUATION HOME — معادلة البيت
   Luxury CSS Injection for Zid Store
  ============================================ */

/* خط ذهبي تحت العنوان فقط — لا شيء آخر */

h3.title.parallax-item {
  position: relative !important;
  display: inline-block !important;
  padding-bottom: 10px !important;
}

h3.title.parallax-item::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 1px !important;
  background: linear-gradient(
    to left,
    #B8965A,
    #D4AF7A 40%,
    #B8965A 70%,
    transparent
  ) !important;
  animation: goldLine 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards !important;
  transform-origin: right !important;
}

@keyframes goldLine {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}

/* إخفاء الـ checkbox */
#eq-faq-toggle {
  display: none;
}

/* إخفاء قائمة الأسئلة افتراضياً */
.max-w-3xl.mx-auto.flex.flex-col.gap-3 {
  display: none;
}

/* إظهارها عند تفعيل الـ checkbox */
#eq-faq-toggle:checked ~ * .max-w-3xl.mx-auto.flex.flex-col.gap-3,
#eq-faq-toggle:checked ~ .max-w-3xl.mx-auto.flex.flex-col.gap-3 {
  display: flex;
}

/* تصميم العنوان */
.text-center.mb-8 h2 {
  cursor: pointer;
  user-select: none;
}

/* === إصلاح المساحة الفارغة في صفحة المنتج === */

/* إيقاف التمدد العمودي للـ Grid */
.img-and-details--warpper {
  align-items: start !important;
}

/* خلفية بيضاء بدل الرمادي */
swiper-container.main-swipper {
  background-color: #fff !important;
}

/* إزالة الحد الأدنى للارتفاع */
swiper-container.main-swipper swiper-slide .min-h-96 {
  min-height: auto !important;
}

/* الصورة تاخذ حجمها الطبيعي */
swiper-container.main-swipper swiper-slide .min-h-96 img.product-img {
  object-fit: contain !important;
  height: auto !important;
  width: 100% !important;
}

/* === خط ذهبي فاخر بين الأقسام === */
div.main > div.home > .spacer {
  display: flex;
  align-items: center;
  justify-content: center;
}

div.main > div.home > .spacer::before,
div.main > div.home > .spacer::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #C4A882 15%,
    #B8965A 40%,
    #D4AF7A 50%,
    #B8965A 60%,
    #C4A882 85%,
    transparent 100%
  );
  opacity: 0.5;
}

div.main > div.home > .spacer::before {
  margin-left: 10%;
  margin-right: 12px;
}

div.main > div.home > .spacer::after {
  margin-right: 10%;
  margin-left: 12px;
}

/* === إخفاء الخط من أي spacer يأتي بعد spacer آخر === */
div.main > div.home > .spacer + style + .spacer::before,
div.main > div.home > .spacer + style + .spacer::after,
div.main > div.home > .spacer + .spacer::before,
div.main > div.home > .spacer + .spacer::after {
  display: none;
}

/* === خط ذهبي تحت الجملة الختامية === */
#paragraph-4428f707-1520-465c-a3f1-2381c7b972e0::after {
  content: "";
  display: block;
  width: 60%;
  height: 1px;
  margin: 30px auto 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #C4A882 15%,
    #B8965A 40%,
    #D4AF7A 50%,
    #B8965A 60%,
    #C4A882 85%,
    transparent 100%
  );
  opacity: 0.5;
}

/* === نقل فيديو اليوتيوب لآخر slide === */

/* الـ Main Carousel */
swiper-container.main-swipper > swiper-slide:has(.video-wrapper) {
  order: 99 !important;
}

/* الـ Thumbnails */
swiper-container.product-swiper-thumbs > swiper-slide:has(.image-wrapper) {
  order: 99 !important;
}

/* === إصلاح القائمة الجانبية — النسخة الإنجليزية فقط === */

/* 1. تغيير "القائمة" إلى "Menu" */
body.en-us .side-menu h2.menu-title {
  font-size: 0 !important;
}

body.en-us .side-menu h2.menu-title::after {
  content: "Menu";
  font-size: 18px;
  font-weight: 500;
  font-family: 'Noto Nastaliq Urdu', sans-serif;
}

/* 2. تكبير أول حرف من كل كلمة */
body.en-us .side-menu .menu-content button span.mr-auto {
  text-transform: capitalize !important;