/* ==================== Main ==================== */
salla-button .s-button-btn,
.btn--outline-primary {
  border-radius: 50px!important;
}
.page-single h1 {
  color: var(--color-primary);
}
/* ========== Change Currency To Default ========== */
salla-modal.temp-hid {
  display: none;
}
/* ========== Fix Offer PopUp Styling Issue ========== */
.s-offer-modal-slider .swiper-wrapper {
  justify-content: start;
}
.s-offer-modal-slider .s-offer-modal-slider-item {
  max-width: initial;
  flex-grow: 0;
  width: 140px;
  box-sizing: content-box;
}
.s-offer-modal-product-name {
  width: auto;
  white-space: normal;
}
/* ========== Products Cards ========== */
.s-product-card-promotion-title,
.promotion-badge {
  border-radius: 4px!important;
  right: auto!important;
  left: 5%!important;
  color: #fff;
  line-height: 1rem;
}
.s-product-card-promotion-title.has-discount,
.promotion-badge.has-discount {
  background-color: var(--color-primary);
}
.s-product-card-promotion-title::before,
.promotion-badge::before {
  content: '';
  position: absolute;
  left: 50%;
  top:50%;
  transform: translate(-50%,-50%);
  height: 100%;
  width: 100%;
  background-color: #674384bf;
  background-color: color-mix(in srgb, var(--color-primary) 75%, transparent);
  border-radius: 4px;
  animation: 2s infinite pigging
}
@keyframes pigging {
  100%,75% {
    transform: translate(-50%,-50%) scale(1.4);
    opacity: 0;
  }
}
.s-product-card-vertical .s-product-card-image {
  height: auto;
  flex: initial !important;
}
.s-product-card-content {
  flex-grow: 1;
}
.s-product-card-content-sub {
  margin-top: auto;
}
.s-product-card-rating {
  display: none;
}
.s-product-card-content-footer {
  margin-top: 0;
}
/* ========== Offer Section ========== */
.s-offer-wrapper h2::before,
.s-offer-wrapper .s-slider-block__title-nav {
  display: none;
}
.s-offer-wrapper h2 {
  font-weight: bold;
}
/* ========== Footer ========== */
.store-footer .s-social-link a {
  height: 3rem;
  width: 3rem;
}
.store-footer .s-social-link a svg {
  height: 1.25rem;
  width: 1.25rem;
}
/* ========== WhatsApp Icon ========== */
.float-wa {
  position: fixed;
  width: 58px;
  height: 58px;
  bottom: 21px;
  right: 25px;
  z-index: 11;
  color: #fff;
}
.hidden-msg span,
.hidden-msg .hide-msg-btn {
  display: none;
}
.float-wa a {
  width: 100%;
  height: 100%;
  box-shadow: rgb(136, 136, 136) 0px 1px 7px;
  background-color: #4dc247;
  border-radius: 50px;
  font-size: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.float-wa span {
  content: "يا هلا👋 عندك سؤال؟ تواصل معنا";
  position: absolute;
  width: 170px;
  box-shadow: rgb(136, 136, 136) 0px 1px 7px;
  border: 1px solid rgb(226, 226, 226);
  border-radius: 5px;
  background: white;
  color: #000;
  text-align: center;
  padding: 7px 10px;
  line-height: 16px;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 16.24px;
  right: 51px;
  visibility: hidden;
  opacity: 0;
  animation: waSpn 0.64s cubic-bezier(0.23, 1, 0.32, 1) 120s forwards;
}
@keyframes waSpn {
  0% {
    visibility: visible;
  }
  100% {
    visibility: visible;
    opacity: 1;
    right: 81px;
  }
}
.float-wa span::after {
  content: "";
  top: 50%;
  position: absolute;
  background: white;
  border-bottom: 1px solid rgb(226, 226, 226);
  border-right: 1px solid rgb(226, 226, 226);
  margin-top: -4px;
  width: 8px;
  height: 8px;
  z-index: 1;
  transform: rotate(-45deg);
  right: -5px;
}
.hide-msg-btn {
  position: absolute;
  background: #ef4444;
  width: 0;
  height: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  visibility: hidden;
  animation: waBtn 0.32s cubic-bezier(0.23, 1, 0.32, 1) 125s forwards;
}
@keyframes waBtn {
  0% {
    right: 250px;
    top: 6px;
    visibility: visible;
  }
  100% {
    width: 24px;
    height: 24px;
    right: 238px;
    top: -6px;
    visibility: visible;
  }
}
@media(max-width: 1024px) {
  .float-wa {
    bottom: 60px;
  }
}
@media(min-width: 1024px) {
  .product-single .float-wa {
    bottom: 86px;
  }
}
[id^="gb-widget"] {
  display: none;
}
/* ========== New Customer PopUp ========== */
.new-cus-popup {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999999;
  background: rgba(0, 0, 0, 0.4);
  transition: all 0.4s;
  visibility: hidden;
  opacity: 0;
}
.new-cus-popup.show {
  visibility: visible;
  opacity: 1;
}
.new-cus-popup div {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  direction: rtl;
  width: 260px;
  height: 260px;
  Max-width: 99%;
}
.new-cus-popup img {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
  border-radius: 16px;
}
.new-cus-popup i {
	position: absolute;
	top: 5px;
	right: 10px;
	color: #fe0606;
	font-size: 36px;
	padding: 0;
	cursor: pointer;
}
@media (min-width: 480px) {
  .new-cus-popup div {
    width: 360px;
    height: 360px;
  }
}

/* ==================== Home Page ==================== */
/* ========== Static Cards ========== */
.s-product-card-horizontal {
  flex-direction: column;
}
.s-product-card-horizontal .s-product-card-content {
  text-align: center !important;
}
.s-product-card-horizontal .s-product-card-image {
  width: 100%;
}
.s-product-card-horizontal .s-product-card-content {
  position: initial;
}
.s-product-card-horizontal .s-product-card-content-title a {
  display: block;
}
.s-product-card-horizontal .s-product-card-content-sub {
  justify-content: center;
}
.s-product-card-horizontal .s-product-card-wishlist-btn {
  position: absolute;
}
.s-product-card-horizontal .s-product-card-wishlist-btn:not(:hover) {
  opacity: 0.75;
}
.s-product-card-horizontal .s-button-btn {
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 360px) {
  .s-products-list-horizontal-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: .625rem;
  }
}
@media (360px <= width <= 520px) {
  .s-product-card-horizontal .s-product-card-content {
    padding: 10px;
  }
  .s-product-card-horizontal .s-product-card-content-sub {
    margin-bottom: 10px;
  } 
  .s-product-card-horizontal .s-product-card-sale-price span {
    margin: 0 !important;
  }
}
@media (min-width: 768px) {
  .s-products-list-horizontal-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    padding: 0 0.625rem;
  }
}
@media (min-width: 1024px) {
  .s-products-list-horizontal-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}
/* ========== Testimonials ========== */
.s-block--testimonials {
  background-color: #f5f7f9;
  background-color: var(--color-grey);
  padding: 40px 0;
}
.s-block--testimonials .swiper-slide > div {
  background-color: #fff;
  border-radius: 25px 25px 0 25px;
  position: relative;
  padding-top: 70px;
}
.s-block--testimonials img {
  margin-top: 0;
  content: url(https://i.ibb.co/cTzxVNG/Whats-App-Image-2024-02-05-at-5-32-49-PM.jpg);
}
.s-block--testimonials h4 {
  color: var(--color-primary);
  margin-top: -5px;
  padding-top: 0;
}
.s-block--testimonials salla-rating-stars {
  position: absolute;
  left: 0px;
  top: 30px;
  background-color: #55326f;
  padding: 10px 20px 5px;
  border-radius: 0 25px 25px 0;
}
.s-block--testimonials salla-rating-stars svg {
  height: 1.2rem;
  width: 1.2rem !important;
}
.s-block--testimonials .sicon-quote-open {
  display: none;
}

/* ==================== Categories Page ==================== */
.product-index .page-header.has-overlay--before::before {
  display: none;
}

/* ==================== Product Page ==================== */
.sort-cont > * {
  margin-top: .875rem;
}
/* ========== Details ========== */
.product-tabs {
  margin-top: 0;
  border: none;
}
.product-tabs .tabs {
  display: none;
}
.product-tabs .tabs__item {
  padding-right: 0;
  padding-left: 0;
}
#product-details-tab {
  padding-top: 0;
}
#product-details-tab ul,
#product-details-tab ol {
  padding-right: 20px;
}
#product-details-tab ul,
#product-details-tab ul li {
  list-style: disc;
}
#product-details-tab ol,
#product-details-tab ol li {
  list-style: decimal;
}
.article--main.read-more-close {
  position: relative;
  height: 300px;
  overflow: hidden;
}
.article--main.read-more-close::after {
  content: "";
  display: block;
  width: 100%;
  height: 100px;
  background: #fff;
  background: linear-gradient(0deg,rgb(255,255,255) 0%,rgba(255,255,255,0) 100%);
  position: absolute;
  bottom: 0;
  right: 0;
}
.read-more-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
}
.read-more-wrap:before,
.read-more-wrap:after {
  content: "";
  display: inline-block;
  flex: 1;
  background: #f5f7f9;
  background: #dedede;
  height: 1px;
}
.read-more-btn {
  padding: 8px 15px;
  border: 1px solid #ccc;
  margin: 0 15px;
  border-radius: 50px;
  color: #333;
  background-color: #ddd;
}
#product-comments-tab {
  display: block;
  padding-top: 2rem;
}
.s-comment-form-action salla-button,
.s-comment-form-action salla-button button {
  width: 100%;
}
/* ========== Custome special Offer ========== */
.s-slider-block__title > div:not(:has(.s-slider-block__title-nav)) {
  padding-inline-end: 2.75rem;
}
salla-offer .s-offer-corner-badge:has(+.cus) {
  z-index: 2;
}
salla-offer:has(+salla-offer) .s-offer-wrapper {
  margin-bottom: 1rem !important;
}
.s-offer-wrapper + .s-offer-wrapper {
  display: none;
}
/* ===== Related Products ===== */
.page-container + .relative,
.s-products-slider-card:empty {
  display: none;
}
.page-container + .relative:has(.s-product-card-entry) {
  display: block;
}
/* ========== Fixed Bar ========== */
.product-fixed-bar div:has(>salla-quantity-input) {
  display: none
}
.s-add-product-button-main .s-add-product-button-mini-checkout {
  --salla-fast-checkout-button-border-radius: 50px!important;
}
@media(max-width: 1024px) {
  .product-single .main-content > div:has(.starting-or-normal-price) {
    display: flex;
  }
  .product-fixed-bar .product-form>div:first-child {
    display:none;
  }
  .product-fixed-bar .product-form>div:last-child {
    flex-grow: 1;
  }
}