/* Add custom CSS styles below */

/* ===== Store logo: bigger, never stretched ===== */
/* The logo file is a 300x300 square with empty space above and below
   the wordmark. Show a 2.3:1 window of it and let object-fit: cover
   trim that space, so the image keeps its shape. */
.main-nav-container .navbar-brand img {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  max-height: none !important;
  height: 40px !important;            /* mobile & tablet */
  /* Delete the next 3 lines if you upload a tightly cropped logo */
  aspect-ratio: 23 / 10;
  object-fit: cover !important;
  object-position: 50% 46%;
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
  .main-nav-container .navbar-brand img {
    height: 66px !important;          /* top of page */
  }

  /* Sticky header while scrolling */
  .main-nav-container.fixed-pinned .navbar-brand img {
    height: 54px !important;
  }
}

/* ===== Hero sliders: box follows the banner ratio (no cropping) ===== */
@media (min-width: 768px) {
  [component-id="493561694"] .swiper-slide,
  [component-id="1879937293"] .swiper-slide {
    height: auto !important;
    min-height: 0 !important;
  }

  /* 1st slider (top of page): 3:1 for 2400x800 banners */
  [component-id="493561694"] .swiper-slide {
    aspect-ratio: 3 / 1;
  }

  /* 2nd slider: 4:1 for 2400x600 banners */
  [component-id="1879937293"] .swiper-slide {
    aspect-ratio: 4 / 1;
  }
}

/* ==========================================================================
   T2 Animated Sliders — styles for the split modes ('pairs' / 'halves')
   ========================================================================== */

/* the native slider stays in the page as the data source, only hidden */
.t2ss-host > salla-slider { display: none !important; }

.t2ss {
  --t2ss-speed: 1100ms;
  position: relative;
  width: 100%;
  height: var(--t2ss-h-m, 420px);
  overflow: hidden;
  background: #fff;
  isolation: isolate;
}
@media (min-width: 768px) {
  .t2ss { height: var(--t2ss-h-d, 528px); }
}

.t2ss__stage {
  position: absolute;
  inset: 0;
  display: flex;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}
.t2ss.is-stacked .t2ss__stage { flex-direction: column; }

.t2ss__col {
  position: relative;
  flex: 1 1 50%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.t2ss__panel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  visibility: hidden;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.t2ss__panel.is-active,
.t2ss__panel.is-moving { visibility: visible; }

.t2ss__img {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform calc(var(--t2ss-speed) * 1.6) cubic-bezier(.22, .61, .36, 1);
  pointer-events: none;
  -webkit-user-drag: none;
}
.t2ss__panel.is-active .t2ss__img { transform: scale(1); }

/* one image cut in two: mode 'halves', or the last odd image in 'pairs' */
.t2ss__panel[data-fit="whole"] .t2ss__img { width: 200%; }
.t2ss__col--b .t2ss__panel[data-fit="whole"] .t2ss__img { inset-inline-start: -100%; }
.t2ss.is-stacked .t2ss__panel[data-fit="whole"] .t2ss__img { width: 100%; height: 200%; inset-inline-start: 0; }
.t2ss.is-stacked .t2ss__col--b .t2ss__panel[data-fit="whole"] .t2ss__img { top: -100%; }

/* captions (title / description of the slide, if filled in the editor) */
.t2ss__caps {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 72px;
  color: #fff;
  text-align: center;
  pointer-events: none;
}
.t2ss__cap {
  position: absolute;
  max-width: 680px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.t2ss__cap.is-active {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--t2ss-speed) * .5);
}
.t2ss__cap h2 {
  margin: 0 0 .5rem;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}
.t2ss__cap p {
  margin: 0;
  font-size: 1rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}

/* arrows */
.t2ss__arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #111;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease;
}
.t2ss__arrow:hover { transform: scale(1.06); background: #fff; }
.t2ss__arrow:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.t2ss__arrow--prev { inset-inline-start: 16px; }
.t2ss__arrow--next { inset-inline-end: 16px; }
.t2ss__arrow svg { width: 18px; height: 18px; }

/* dots */
.t2ss__dots {
  position: absolute;
  z-index: 4;
  bottom: 16px;
  left: 50%;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}
.t2ss__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(0, 0, 0, .28);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .7);
  cursor: pointer;
  transition: width .3s ease, background-color .3s ease;
}
.t2ss__dot.is-active { width: 24px; background: var(--color-primary, #111); }

.t2ss.is-single .t2ss__arrow,
.t2ss.is-single .t2ss__dots { display: none; }

@media (max-width: 767px) {
  .t2ss__arrow { width: 36px; height: 36px; margin-top: -18px; }
  .t2ss__arrow--prev { inset-inline-start: 10px; }
  .t2ss__arrow--next { inset-inline-end: 10px; }
  .t2ss__caps { padding: 0 52px; }
}

@media (prefers-reduced-motion: reduce) {
  .t2ss__img,
  .t2ss__cap { transition: none !important; }
}

/* ===== Split slider "سلايدر مقسوم (منتجات)": two square photos side by side =====
   Upload every photo at 1200x1200 px (any square image fits with no cropping).
   The box is always 2:1 (two squares), max 1280px wide, centered. */
[component-id="1131809173"] .t2ss {
  height: auto;
  aspect-ratio: 2 / 1;
  max-width: 1280px;
  margin-inline: auto;
}

/* ===== Thin gap between the Lash Nectar slider and the split slider (Lip Balm / Tonic) =====
   The theme removes the space between two full-width sliders; this adds a 12px gap back.
   Change 12px to make it thinner or thicker. */
section.s-block[component-id="1131809173"] {
  margin-top: 12px;
}