.border-primary.border-4 {
  border-width: 2px;
  width: 12rem;
  height: auto;
}

/* header */
.top-navbar {
  display: none;
}

@media only screen and (min-width: 1024px) {
  .main-menu li.root-level:hover > a {
    background: #663398;
    color: #fff;
  }
  .main-menu li.root-level > a {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding-top: 7px;
    padding-top: 16px;
    padding-bottom: 23px;
    font-weight: 700;
    margin: 0 1.5px;
  }
  .main-menu li .sub-menu {
    margin-right: 1.5px;
    background: #663397;
    color: #fff;
    border: none;
  }
  .main-menu .has-children li a:hover,
  .main-menu .has-children .has-children:hover > a {
    color: #663397;
    background-color: #fff;
  }
}

.main-menu .sub-menu {
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  overflow: hidden;
}

@media only screen and (max-width: 768px) {
  .s-block--store-features .container > .block {
    display: grid;
    gap: 0.625rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .s-block--store-features .container > .block div:first-child {
    grid-column: span 2 / span 2;
  }
  .s-block--store-features .container > .block div {
    margin: 0;
  }
}

.s-block--brands img {
  transition: 0.3s;
}

.s-block--brands img:hover {
  scale: 1.2;
}

.s-block--brands {
  background: #3e3e3e;
}
.s-block--brands img {
  transition: 0.3s;
  filter: brightness(0) invert(1);
}

.s-block--brands h2 {
  color: #fff;
}
.s-block--brands .border-primary.border-4 {
  display: none;
}

.s-block--brands img {
  max-height: 110px;
}

@media only screen and (min-width: 1024px) {
  .s-block--brands img {
    max-height: 134px;
    width: 139px;
  }
  .s-block--brands a {
    position: relative;
  }
  .s-block--brands .grid > a:not(:last-child)::after {
    content: "";
    display: block;
    position: absolute;
    left: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    height: 50%;
    width: 1px;
    background: #ffffff52;
  }
}
.s-block--brands img:hover {
  filter: brightness(0) invert(1);
}

.s-button-element:not(:disabled):not([loading]) {
  pointer-events: auto;
  border-radius: 10px !important;
}

.main-nav-container.fixed-pinned .navbar-brand img {
  max-height: 80px;
  filter: none;
}

.product-card--primary-buttons button,
.product-card--primary-buttons salla-button {
  color: #ffffff !important;
}
.product-card--primary-buttons button i,
.product-card--primary-buttons salla-button i {
  color: #ffffff !important;
}

.product-card__buttons > div button {
  background: #4e4e4e;
  border-radius: 50% !important;
}

.product-card__buttons > div button:hover {
  animation: none;
}
.product-card__addToCart__btn salla-button button {
  background: #4e4e4e;
}

.product-card__actions div button {
  background: #4e4e4e;
}

@media only screen and (min-width: 1024px) {
  .main-menu li:hover > .sub-menu {
    width: 180px;
  }
}
.s-block--brands h2 {
  color: #fff;
  font-size: 25px;
}

@media only screen and (max-width: 768px) {
  .product-card--fit-height .product-card__image {
    height: 227px !important;
  }
  .s-products-slider-card {
    max-width: 181px;
  }
  salla-slider .slide--one-fourth {
    max-width: 230px;
  }
  .s-block--brands .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .s-block--brands h2 {
    font-size: 18px;
  }
  .s-block--categories salla-slider .slide--one-sixth {
    width: 33%;
  }
  .s-block--categories .slide--cat-entry {
    height: 100px;
  }
  .s-block--categories .slide--cat-entry i {
    font-size: 25px;
  }
  .s-block--categories .slide--cat-entry h4 {
    font-size: 13px;
  }
  .s-block--categories .carousel-slider .swiper {
    padding-left: 10px;
  }
  .store-links-items {
    columns: 2;
  }

  .store-footer__inner .grid {
    gap: 0;
  }

  .store-links-items a::after {
    content: "";
    position: absolute;
    right: -12px;
    display: block;
    background: #fff;
    background-repeat: no-repeat;
    background-position: center;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    top: 50%;
transform: translateY(-50%);
  }
}

.rounded_contacts > a:nth-child(2) i {
  margin: 0;
}
.rounded_contacts > a:nth-child(2) .unicode,
.rounded_contacts > a:nth-child(3) {
  display: none;
}
.rounded_contacts {
  gap: 10px;
}
ul.rounded_contacts {
  margin-bottom: 10px;
}
.mm-ocd-opened .btn--close-sm {
  background: rebeccapurple;
}

.slide--cat-entry {
  border-color: #eee;
  transition: 0.3s;
  scale: 0.9;
}

.slide--cat-entry:hover {
  border-color: #663399;
  scale: 0.95;
}
.s-block--categories .s-slider-block__title {
  border-bottom: 1px solid #eee;
}
[dir="rtl"] .s-slider-block__title-right {
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 10px;
}

@media (min-width: 768px) {
  .s-slider-block__title {
    margin-bottom: 2rem;
    margin-right: 0;
  }
}
.store-footer__curve {
  display: none;
}
.s-block--circle-links salla-slider .custom-width {
  width: auto !important;
}

.s-block--circle-links salla-slider .custom-width {
  width: auto !important;
}

@media (max-width: 768px) {
  div.store-footer__inner > div > div.text-center.order-1 {
    margin-top: 2rem;
  }

  .s-block--testimonials .home-block-title h2 {
    font-size: 1.3rem;
  }
}

/** تحسين القائمة السفلية Selia Team**/
.selia-bottom-nav-search {
	display: none;
}
.selia-bottom-nav-icon > i {
	font-size: 1.1rem !important;
}

.selia-bottom-nav-items .s-cart-summary-total .sicon-sar , .selia-bottom-nav-button span{
	font-size: 0.9rem !important;
}

.selia-bottom-nav-items .s-cart-summary-total{
	gap: 3px;
}


.selia-bottom-nav-items{
  justify-content: space-between; 
    padding-inline: 15px;
}

.selia-bottom-nav-items .s-cart-summary-count{
    font-size: 10px !important;
        height: 1rem;
    width: 1rem;
}

/** تعديل كلمة السلة بالقائمة السفلية **/
.selia-bottom-nav .s-cart-summary-wrapper .s-cart-summary-content .s-cart-summary-total i {display:none}
.selia-bottom-nav-icon i {font-size: 1.38rem !important;}
.selia-bottom-nav .s-cart-summary-wrapper .s-cart-summary-content .s-cart-summary-total {font-size: 0 !important;}
.selia-bottom-nav .s-cart-summary-wrapper .s-cart-summary-content .s-cart-summary-total:after {content:'السلة'; font-size: 0.9rem !important; font-weight: 500;margin-right: -8px;margin-top:3px}