/* Sepahan 2.3.1.3: shop landing slider navigation + mobile story separation.
   Rules are scoped so product carousels, mobile square slider and story modal retain their styles. */
.sepahan-landing-slider-section .default-carousel.swiper {
  position: relative !important;
  overflow: hidden;
}
.sepahan-landing-slider-section .default-carousel.swiper > .sepahan-landing-slider-arrow {
  --swiper-navigation-size: 0px;
  position: absolute !important;
  top: 50% !important;
  bottom: auto !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(255,255,255,.72) !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.94) !important;
  box-shadow: 0 4px 16px rgba(15,23,42,.16) !important;
  color: #182337 !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  line-height: 1 !important;
  font-size: 0 !important;
  transform: translateY(-50%) !important;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, opacity .18s ease !important;
  z-index: 12 !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.sepahan-landing-slider-section .default-carousel.swiper > .sepahan-landing-slider-arrow.swiper-button-prev {
  right: 14px !important;
  left: auto !important;
}
.sepahan-landing-slider-section .default-carousel.swiper > .sepahan-landing-slider-arrow.swiper-button-next {
  left: 14px !important;
  right: auto !important;
}
.sepahan-landing-slider-section .default-carousel.swiper > .sepahan-landing-slider-arrow::before,
.sepahan-landing-slider-section .default-carousel.swiper > .sepahan-landing-slider-arrow::after {
  content: none !important;
  display: none !important;
}
.sepahan-landing-slider-section .default-carousel.swiper > .sepahan-landing-slider-arrow svg {
  display: block !important;
  flex-shrink: 0 !important;
  width: 20px !important;
  height: 20px !important;
  stroke: currentColor !important;
  fill: none !important;
  pointer-events: none;
}
.sepahan-landing-slider-section .default-carousel.swiper > .sepahan-landing-slider-arrow:not(.swiper-button-disabled):hover {
  background: #fff !important;
  color: var(--sepahan-primary,#2563eb) !important;
  box-shadow: 0 6px 21px rgba(15,23,42,.2) !important;
}
.sepahan-landing-slider-section .default-carousel.swiper > .sepahan-landing-slider-arrow:focus-visible {
  outline: 3px solid var(--sepahan-primary,#2563eb) !important;
  outline-offset: 2px;
}
.sepahan-landing-slider-section .default-carousel.swiper > .sepahan-landing-slider-arrow.swiper-button-disabled {
  opacity: .4 !important;
  cursor: default !important;
}
.dark .sepahan-landing-slider-section .default-carousel.swiper > .sepahan-landing-slider-arrow,
body.dark .sepahan-landing-slider-section .default-carousel.swiper > .sepahan-landing-slider-arrow {
  background: rgba(25,34,49,.88) !important;
  border-color: rgba(255,255,255,.18) !important;
  color: #fff !important;
}
@media (min-width: 769px) {
  /* Unhide legitimate desktop buttons even on small tablets (769–1023px). */
  .sepahan-landing-slider-section .default-carousel.swiper > .sepahan-landing-slider-arrow:not(.sepahan-hide-desktop-arrow) {
    display: inline-flex !important;
  }
  .sepahan-landing-slider-section .default-carousel.swiper > .sepahan-landing-slider-arrow.sepahan-hide-desktop-arrow {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .sepahan-landing-slider-section .default-carousel.swiper > .sepahan-landing-slider-arrow {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
  }
  .sepahan-landing-slider-section .default-carousel.swiper > .sepahan-landing-slider-arrow svg {
    width: 17px !important;
    height: 17px !important;
  }
  .sepahan-landing-slider-section .default-carousel.swiper > .sepahan-landing-slider-arrow.swiper-button-prev {
    right: 8px !important;
  }
  .sepahan-landing-slider-section .default-carousel.swiper > .sepahan-landing-slider-arrow.swiper-button-next {
    left: 8px !important;
  }
  /* Respect the Elementor mobile arrows switch, including mobile-only sliders. */
  .sepahan-landing-slider-section .default-carousel.swiper > .sepahan-landing-slider-arrow:not(.sepahan-hide-mobile-arrow) {
    display: inline-flex !important;
  }
  .sepahan-landing-slider-section .default-carousel.swiper > .sepahan-landing-slider-arrow.sepahan-hide-mobile-arrow {
    display: none !important;
  }
  /* Keep the story bar in document flow, separate from the home slider. */
  html body .sepahan-story-under-header {
    margin-bottom: max(12px, var(--sepahan-story-gap,12px)) !important;
    box-sizing: border-box;
  }
}
