﻿.elwan-section {
  margin: 40px 0;
}

.elwan-section__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.elwan-section__head-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.elwan-section__title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  white-space: nowrap;
}

.elwan-section__view-all {
  white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #0b4f78 !important;
    font-size: 14px;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.elwan-section__view-all:hover {
  background: transparent !important;
}

[dir="rtl"] .elwan-section {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .elwan-section__title {
  text-align: right;
}

[dir="ltr"] .elwan-section {
  direction: ltr;
  text-align: left;
}

[dir="ltr"] .elwan-section__title {
  text-align: left;
}

.elwan-cats {
  width: 100%;
  display: flex;
  gap: 12px;
  align-items: center;
  overflow: auto hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 6px 2px;
  cursor: grab;
}

[dir="rtl"] .elwan-cats {
  direction: rtl;
}

[dir="ltr"] .elwan-cats {
  direction: ltr;
}

.elwan-cats::-webkit-scrollbar {
  display: none;
}

.elwan-cats.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.elwan-cats__item {
  white-space: nowrap;
  font-size: 14px;
  padding: 6px 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: #fff;
  transition: 0.15s;
}

.elwan-cats__item:hover {
  background: rgba(0, 0, 0, 0.03);
}

.elwan-cats__item.is-active {
  border-color: rgba(0, 0, 0, 0.25);
  font-weight: 700;
}

.elwan-products-wrap {
  position: relative;
  overflow: visible;
}

.elwan-products-wrap {
  position: relative;
  overflow: visible;
}

.elwan-products-rail {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 0 0 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
  will-change: opacity, transform;
}

.elwan-products-rail::-webkit-scrollbar {
  display: none;
}

.elwan-products-rail.is-filtering-out {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.elwan-rail-arrow {
  display: none;
  position: absolute;
  top: 46%;
  width: 34px;
  height: 34px;
  cursor: pointer;
  z-index: 3;
  line-height: 1;
  text-align: center !important;
  display: flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  direction: ltr !important;
  unicode-bidi: isolate !important;
}

.elwan-rail-arrow[disabled] {
  opacity: 0.35;
  cursor: default;
}

.elwan-section__empty {
  margin: 0;
}

.tax-product_tag.elwan-tag-has-slider .elwan-tag-header-slider {
  margin-bottom: 24px;
}

@media (max-width: 1200px) {
  .elwan-section {
    margin: 32px 0;
  }

  .elwan-section__title {
    font-size: 22px;
  }

  .elwan-rail-arrow--prev {
    left: -30px;
  }

  .elwan-rail-arrow--next {
    right: -30px;
  }
}

@media (max-width: 768px) {
  .elwan-section {
    margin: 24px 0;
  }

  .elwan-section__head {
    align-items: flex-start;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .elwan-section__head-top {
    width: 100%;
    align-items: center;
    gap: 8px;
  }

  .elwan-section__title {
    font-size: 20px;
    white-space: normal;
    line-height: 1.25;
    flex: 1 1 auto;
  }

  .elwan-section__view-all {
    font-size: 13px;
    padding: 6px 12px;
  }

  .elwan-cats {
    width: 100%;
    gap: 8px;
    padding: 4px 0;
  }

  .elwan-cats__item {
    font-size: 13px;
    padding: 6px 9px;
  }

  .elwan-products-wrap.has-overflow .elwan-rail-arrow {
    display: none;
  }

  .tax-product_tag.elwan-tag-has-slider .elwan-tag-header-slider {
    margin-bottom: 16px;
  }
}

@media (max-width: 480px) {
  .elwan-section__title {
    font-size: 20px;
  }
}

/*==============================
 * home page elwan sections
================================*/
@media (max-width: 768px){
  .mcb-section-5n8z6ntp {
    padding: 0 !important;
  }
  section.mcb-section-5n8z6ntp .section_wrapper {
    padding: 0 !important;
}
.elwan-section__head {
    padding: 0 33px;
}
}

