/* ======================================
   HOMEPAGE ONLY (body.index)
   No scroll = transparent nav
   <!-- بسم الله الرحمن الرحيم -->

   ====================================== */
body.index #mainnav.main-nav-container.shadow-default.bg-white:not(.scrolled) {
  background-color: transparent !important;
  box-shadow: none !important;
  position: absolute !important; /* so hero slides under it */
  top: 45px !important;          /* or 0 if you prefer */
  left: 0; right: 0;
  z-index: 999;
}

/* White text/icons at top */
body.index #mainnav:not(.scrolled) a,
body.index #mainnav:not(.scrolled) i,
body.index #mainnav:not(.scrolled) custom-main-menu a,
body.index #mainnav:not(.scrolled) custom-main-menu a i {
  color: #fff !important;
  fill: #fff !important;
}

/* ======================================
   HOMEPAGE SCROLLED (has .scrolled)
   ====================================== */
body.index #mainnav.main-nav-container.scrolled {
  background-color: #fff !important;
  position: fixed !important;
  top: 0 !important;
  left: 0; right: 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

/* Black text/icons when scrolled */
body.index #mainnav.scrolled a,
body.index #mainnav.scrolled i,
body.index #mainnav.scrolled custom-main-menu a,
body.index #mainnav.scrolled custom-main-menu a i {
  color: #000 !important;
  fill: #000 !important;
}

/* ======================================
   NON-HOMEPAGE (body:not(.index))
   ====================================== */
body:not(.index) #mainnav.main-nav-container.shadow-default {
  background-color: #fff !important;
  position: static !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;
  top: auto !important;
}

body:not(.index) #mainnav a,
body:not(.index) #mainnav i,
body:not(.index) #mainnav custom-main-menu a,
body:not(.index) #mainnav custom-main-menu a i {
  color: #000 !important;
  fill: #000 !important;
}
.sub-menu.w-56 a,
.sub-menu.w-56 a span {
  color: #000 !important;
  fill: #000 !important;
}
/* ============ HOMEPAGE UN-SCROLLED (transparent, white text) ============ */
body.index #mainnav:not(.scrolled) {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important; /* ensure it's on top */
  background: transparent !important;
  box-shadow: none !important;
}
body.index #mainnav:not(.scrolled) a,
body.index #mainnav:not(.scrolled) i,
body.index #mainnav:not(.scrolled) custom-main-menu a,
body.index #mainnav:not(.scrolled) custom-main-menu a i {
  color: #fff !important;
  fill: #fff !important;
}

/* ============ HOMEPAGE SCROLLED (white bg, black text) ============ */
body.index #mainnav.scrolled {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important; /* again, keep it on top */
  background: #fff !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}
body.index #mainnav.scrolled a,
body.index #mainnav.scrolled i,
body.index #mainnav.scrolled custom-main-menu a,
body.index #mainnav.scrolled custom-main-menu a i {
  color: #000 !important;
  fill: #000 !important;
}

/*5ht change top navbar */
/* Luxurious top navbar style */
.top-navbar {
  background-color: #000 !important; /* or a subtle gradient */
  border-bottom: 1px solid #e2b662;  /* thin gold line */
  padding: 0.5rem 0;
  font-size: 0.875rem;               /* refined text size */
}

.top-navbar,
.top-navbar a,
.top-navbar i,
.top-navbar button,
.top-navbar .header-buttons .btn--rounded-gray,
.top-navbar .sicon-sar,
.top-navbar .sicon-search {
  color: #e2b662 !important;
  fill: #e2b662 !important;
}

/* Remove default background on currency/language button & give gold outline */
.top-navbar .header-buttons .btn--rounded-gray {
  background: transparent !important;
  border: 1px solid #e2b662;
}

/* Hover effect: slightly lighter gold */
.top-navbar a:hover {
  color: #ffdc88 !important;
}

/*6th small slider change*/
/* 1) Dark background & padding */
.s-block--categories.merge-with-top-component {
  background-color: transparent !important;
  padding: 2rem 0;
}

/* 2) Luxurious block title */
.s-block--categories .block-title,
.s-block--categories .section-title {
  font-size: 1.5rem;
  color: #e2b662 !important;
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

/* 3) Category cards (slides) */
.s-block--categories .slide--cat-entry {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 1.5rem;
  color: #fff !important;
  text-decoration: none;
  transition: all 0.3s ease;
}
.s-block--categories .slide--cat-entry:hover {
  background: #1a1a1a;
  border-color: #e2b662;
}
.s-block--categories .slide--cat-entry i {
  font-size: 2rem;
  color: #e2b662 !important;
  margin-bottom: 0.5rem;
}
.s-block--categories .slide--cat-entry h2 {
  font-size: 1.125rem;
  margin: 0;
  color: #fff !important;
  text-align: center;
}
.s-block--hero-slider.s-block--full-bg.wide-placeholder {
  margin-bottom: 2rem !important; /* or 40px, etc. */
}


/* 4) Slider arrows/pagination */
.salla-slider .swiper-button-next,
.salla-slider .swiper-button-prev {
  color: #e2b662 !important;
  fill: #e2b662 !important;
  opacity: 0.8;
}
.salla-slider .swiper-button-next:hover,
.salla-slider .swiper-button-prev:hover {
  opacity: 1;
}
.salla-slider .swiper-pagination-bullet {
  background-color: #e2b662 !important;
}

/*****************************************
  SPLIT SECTION LAYOUT (Desktop)
*****************************************/
.my-split-section {
  display: flex !important;
  flex-direction: row !important;  /* side-by-side columns on desktop */
  align-items: center;             /* vertically center content */
  justify-content: center;         /* horizontally center content if needed */
  margin: 40px 0;
  min-height: 400px;
  background: #fff;                /* white background */
  direction: ltr !important;       /* keep left column truly on left */
}

/* Left Column: One large image */
.my-split-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px;
}
.my-split-left .big-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Right Column: Small carousel + heading + text */
.my-split-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;   /* center carousel & text horizontally */
  justify-content: center;
  padding: 40px;
  text-align: center;    /* center the heading & paragraph */
  background: #fff;
  color: #000;
}
.my-split-right h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
}
.my-split-right p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 500px;
  margin: 1rem auto 0;
}

/*****************************************
  SMALL CAROUSEL (Right Column)
*****************************************/
.my-small-carousel {
  margin: 20px auto;
  max-width: 300px;
  position: relative;
  /* Optionally, add overflow hidden if needed */
  overflow: hidden;
}

/* Hide all slides except the active one */
.my-small-carousel .my-split-slide {
  display: none;
}
.my-small-carousel .my-split-slide.active {
  display: block;
}
.my-small-carousel .my-split-slide img {
  width: 100%;
  height: auto;
}

/* Pagination Dots */
.my-pagination-dots {
  text-align: center;
  margin-top: 1rem;
}
.my-pagination-dots .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ccc;
  margin: 0 3px;
  cursor: pointer;
}
.my-pagination-dots .dot.active {
  background: #000;
}

/*****************************************
  RESPONSIVE LAYOUT (Mobile <= 768px)
*****************************************/
@media (max-width: 768px) {
  .my-split-section {
    flex-direction: column !important;
    align-items: center;
  }
  .my-split-left, .my-split-right {
    width: 100% !important;
    max-width: none !important;
    padding: 20px;
  }
  .my-split-right h2 {
    font-size: 1.2rem;
  }
  .my-split-right p {
    font-size: 0.95rem;
  }
}



/****************************************************
  DESKTOP DEFAULT: HALF-PEEK HORIZONTAL CAROUSEL
****************************************************/
.my-half-peek-carousel {
  width: 100vw;
  height: 100vh; /* full screen height on desktop */
  margin: 0;
  padding: 0;
  background: #fff;
  overflow: hidden; /* hide scrollbars if they appear at edges */
}

.my-carousel-wrapper {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;   /* horizontal scroll */
  overflow-y: hidden; /* disable vertical scroll */
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  cursor: grab;       /* “hand” cursor on desktop */
  height: 100%;
  touch-action: pan-x; /* allow horizontal panning on touch devices */
}

/* Hide scrollbars visually */
.my-carousel-wrapper::-webkit-scrollbar {
  display: none;
}
.my-carousel-wrapper {
  scrollbar-width: none;
}

/* Each slide: half the viewport width, full viewport height */
.my-slide {
  flex: 0 0 auto;
  width: 50vw;
  height: 100vh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  transition: transform 0.3s ease;
}

.my-slide:hover {
  transform: scale(1.02);
}

/****************************************************
  SLIDE LABELS: "BAGS" / "DISCOVER"
****************************************************/
.my-slide-label {
  position: absolute;
  bottom: 20px;             /* Adjust to move text higher/lower */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;       /* center multiple lines */
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  /* No explicit font-size here; we define them in .slide-title/.slide-subtitle */
}

/* The big, bold title text (e.g., “BAGS”) */
.my-slide-label h2.slide-title {
  margin: 0;              /* remove default H2 margin */
  font-size: 3rem;        /* bigger text for the main title */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;    /* space between letters */
}

/* The smaller subtitle text (e.g., “DISCOVER”) */
.my-slide-label .slide-subtitle {
  margin-top: 0.5rem;
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 3px;    /* space out letters */
}

/* “Grabbing” cursor while dragging */
.grabbing {
  cursor: grabbing !important;
}

/****************************************************
  MOBILE OVERRIDE (max-width: 768px)
****************************************************/
@media (max-width: 768px) {
  /* Keep horizontal scroll, but scale slides down */
  .my-half-peek-carousel {
    width: 100% !important;
    height: auto !important;
  }
  .my-carousel-wrapper {
    height: auto !important;
    overflow-y: auto; /* allow vertical scrolling */
    touch-action: auto; /* allow natural scrolling */
  }
  /* On mobile: maybe 80% of screen width, 60% of screen height per slide */
  .my-slide {
    width: 80vw !important; /* partial peek if you have multiple slides */
    height: 60vh !important;
  }

  /* Slightly smaller text on mobile */
  .my-slide-label h2.slide-title {
    font-size: 2rem;
  }
  .my-slide-label .slide-subtitle {
    font-size: 0.9rem;
  }
}



/*************************************************************
  1) GOLD->BLACK BACKGROUND & HEADING
*************************************************************/
/*************************************************************
  BACKGROUND & LAYOUT
*************************************************************/
.s-block--logos-slider.s-block--full-bg.bg-gray-100 {
  /* Keep your gold-to-black background */
  background: linear-gradient(to bottom, #e2b662 0%, #000 100%) !important;
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
  position: relative;
  overflow: hidden;
}

/* Hide the original grid once our JS replaces it */
.s-block--logos-slider .grid.carousel-replaced {
  display: none !important;
}

/* Container styles remain the same; just ensure full width if needed */
.s-block--logos-slider .container {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

/* Title container can remain centered */
.s-block--logos-slider .s-block__title {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/*************************************************************
  MARQUEE WRAPPER & ROWS
*************************************************************/
.marquee-wrapper {
  width: 100%;
  padding: 20px 0;
}

.marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  /* The row height can be adjusted as desired */
  height: 120px;
  white-space: nowrap; /* Ensures items stay in one horizontal line */
  margin-bottom: 30px;
}
.marquee:last-child {
  margin-bottom: 0;
}

/*************************************************************
  MARQUEE CONTENT & ANIMATIONS
*************************************************************/
/* We'll store two full sets side by side (200% width).
   This allows a seamless scroll from one copy to the next. */
.marquee-content {
  display: inline-flex;
  width: 200%;
  animation: marqueeLeft 20s linear infinite;
}

/* The second row (marquee-right) scrolls in the opposite direction */
.marquee-right .marquee-content {
  animation: marqueeRight 20s linear infinite;
}

/* "Left" scroll: from 0% to -50% */
@keyframes marqueeLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* "Right" scroll: from -50% to 0% */
@keyframes marqueeRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/*************************************************************
  BRAND ITEMS
*************************************************************/
.marquee-item {
  /* Base item size and spacing */
  flex: 0 0 200px;
  height: 100px;
  margin: 0 10px;

  /* Visual styling */
  background: #fff !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1rem !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.marquee-item:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 10;
}

.marquee-item img {
  max-width: 80%;
  max-height: 50px;
  object-fit: contain;
}
/* Force the marquee to remain LTR even in Arabic mode */
html[lang="ar"] .marquee-wrapper,
html[lang="ar"] .marquee {
  direction: ltr !important;
}

/* Also center the section title in Arabic if it was shifting */
html[lang="ar"] .s-block--logos-slider .s-block__title {
  text-align: center !important;
  float: none !important;
}


/*************************************************************
  RESPONSIVE BREAKPOINTS
*************************************************************/
@media (max-width: 768px) {
  /* Force the grid to show on mobile */
  .s-block--logos-slider .grid.carousel-replaced {
    display: grid !important;
  }

  /* Force the marquee to hide on mobile */
  .marquee-wrapper {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .s-block__title {
    text-align: center !important;
    /* Optional: reduce top/bottom spacing if needed */
    margin: 0 auto 1rem auto !important;
  }
  /* If .right-side is messing with alignment, override that too */
  .right-side {
    text-align: center !important;
    float: none !important; /* or remove any floats if used */
  }
}

/* ======================================
B2B SERVICES   ====================================== */
/* ============== B2B CONTACT BLOCK ============== */
/* ============== B2B CONTACT BLOCK ============== */
.custom-contact-info {
  margin-top: 2rem;
  background: linear-gradient(135deg, #ffffff, #fefefe);
  border: 1px solid #e2b662;  /* Gold accent border */
  border-radius: 8px;
  padding: 2rem;
  line-height: 1.8;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: right;
  direction: rtl;            /* Right-to-left for Arabic */
  font-family: 'Cairo', sans-serif; /* Use an Arabic-friendly font */
}

.custom-contact-info .contact-title {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
}

.custom-contact-info .contact-desc {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #555;
}

/* Each row for a contact item */
.contact-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.75rem 0;
  white-space: nowrap;
}

.contact-row strong {
  color: #000;
  margin-left: 0.5rem;   /* In RTL, use margin-left */
}

.custom-contact-info a {
  color: #e2b662;
  text-decoration: none;
  font-size: 1.1rem;
}

.custom-contact-info a:hover {
  text-decoration: underline;
}

/* WhatsApp link styling */
.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.whatsapp-link img {
  width: 28px;
  height: 28px;
  display: inline-block !important;
  vertical-align: middle;
}

.force-ltr {
  direction: ltr;
  unicode-bidi: bidi-override;
  display: inline-block; /* ensures the override is applied cleanly */
}

/* ================== CONTACT-US PAGE BLOCK ================== */
.contact-us-info {
  margin-top: 1.5rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 1.5rem;
  line-height: 1.6;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-align: right; /* keep Arabic alignment */
  direction: rtl;    /* ensure Arabic text flows RTL */
}

/* Small descriptive text */
.contactus-desc {
  margin-bottom: 1rem;
  color: #555;
  font-size: 1.1rem;
}

/* Each row for phone, email, WhatsApp */
.contactus-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.75rem 0;
  white-space: nowrap;
}

.contactus-row strong {
  color: #000;
  margin-left: 0.5rem; /* In RTL, margin-left gives space after the label */
}

/* Force phone number to appear LTR */
.force-ltr {
  display: inline-block;
  direction: ltr;
  unicode-bidi: bidi-override;
}

/* Links with gold color */
.contact-us-info a {
  color: #e2b662;
  text-decoration: none;
  font-size: 1.1rem;
}
.contact-us-info a:hover {
  text-decoration: underline;
}

/* WhatsApp link & icon alignment */
.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.whatsapp-link img {
  width: 24px;
  height: 24px;
  display: inline-block !important;
  vertical-align: middle;
}