@font-face {
  font-family: PeydaRegular;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../../Fonts/peyda/PeydaWeb-Regular.woff') format('woff');
}

@font-face {
  font-family: Peyda;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../../Fonts/peyda/PeydaWeb-Medium.woff') format('woff');
}
@font-face {
  font-family: PeydaSemiBold;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../../Fonts/peyda/PeydaWeb-SemiBold.woff') format('woff');
}
@font-face {
  font-family: DemiBold;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../../Fonts/peyda/PeydaWeb-Bold.woff') format('woff');
}
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translate3d(10%, 0, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@-webkit-keyframes slideInDown {
  0% {
      -webkit-transform: translate3d(0, -100%, 0);
      transform: translate3d(0, -100%, 0);
      visibility: visible
  }
  to {
      -webkit-transform: translateZ(0);
      transform: translateZ(0)
  }
}

html{
    scroll-behavior: smooth;
}

body {
  font-family: Peyda, sans-serif;
  direction: rtl;
  color: var(--body-color);
  background-color: #f2f2f2;

  font-size: 14px;
}


.offer-product {
  background-image: url("../../Images/Bg-image/offer-cms.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
  z-index: 1;
}

/*font-style*/

*::-webkit-scrollbar {
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 4px;
}
*::-webkit-scrollbar-thumb {
  background-color: var(--Primary);
  border-radius: 5px;
}


.header.header_class{
  -webkit-box-shadow: 0 4px 16px var(--Primary);
  box-shadow: 0 4px 16px var(--Primary);
  animation:slideInDown 0.6s;
}


/*desighn*/
.font-shadow:hover .font-shadow-text {
  text-shadow: 1px 1px 0 #ffffff, 2px 2px 0 #ffffff;
  -moz-text-shadow: 1px 1px 0 #ffffff, 2px 2px 0 #ffffff;
  -webkit-text-shadow: 1px 1px 0 #ffffff, 2px 2px 0 #ffffff;
}
.afterDesignTwo::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  opacity: 0;
  -khtml-opacity: 0;
  -webkit-opacity: 0;
  -moz-opacity: 0;
  background: rgba(28, 28, 28, 0.3);
  transform: rotateY(-90deg) rotateX(-90deg);
  -webkit-transform: rotateY(-90deg) rotateX(-90deg);
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.afterDesignTwo:hover:after {
  transform: rotateY(0) rotateX(0);
  -webkit-transform: rotateY(0) rotateX(0);
  opacity: 1;
  -khtml-opacity: 1;
  -webkit-opacity: 1;
  -moz-opacity: 1;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.borderDesign {
  position: relative;
  border-width: 5px;
}
.borderDesign::after,
.borderDesign::before {
  top: -5px;
  left: -5px;
  bottom: -5px;
  right: -5px;
  content: "";
  position: absolute;
  -webkit-transform-origin: center;
  transform-origin: center;
  box-sizing: inherit;
  z-index: 9;
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
  -webkit-transition: -webkit-transform 0.5s;
  transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
  transition: transform 0.5s, -webkit-transform 0.5s;
}
.borderDesign::after {
  border-top-width: 5px;
  border-top-style: solid;
  border-top-color: var(--Primary);
  border-bottom-width: 5px;
  border-bottom-style: solid;
  border-bottom-color: var(--Primary);
  -webkit-transform: scale3d(0, 1, 1);
  transform: scale3d(0, 1, 1);
}
.borderDesign::before {
  border-left-width: 5px;
  border-left-style: solid;
  border-left-color: var(--Primary);
  border-right-width: 5px;
  border-right-style: solid;
  border-right-color: var(--Primary);
  -webkit-transform: scale3d(1, 0, 1);
  transform: scale3d(1, 0, 1);
}
.borderDesign:hover::after,
.borderDesign:hover::before {
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
  -webkit-transition: -webkit-transform 0.5s;
  transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
  transition: transform 0.5s, -webkit-transform 0.5s;
}

.afterDesign {
  position: relative;
  overflow: hidden;
}
.afterDesign::before,
.afterDesign::after {
  background: rgba(0, 0, 0, 0.1) none repeat scroll 0 0;
  content: " ";
  height: 0;
  padding: 0;
  position: absolute;
  transition: all 0.8s ease-out 0s;
  -webkit-transition: all 0.6s ease-out 0s;
  -moz-transition: all 0.6s ease-out 0s;
  -ms-transition: all 0.6s ease-out 0s;
  -o-transition: all 0.6s ease-out 0s;
  width: 0;
  transform: rotate(180deg);
  z-index: 1;
}
.afterDesign::after {
  bottom: 0;
  right: 0;
}
.afterDesign::before {
  left: 0;
  top: 0;
}
.afterDesign:hover:before,
.afterDesign:hover:after {
  height: 100%;
  width: 100%;
  transform: rotate(0);
}

/*desighn*/

/*start-side-nav*/
.side-menu-li {
  position: relative;
}
.side-menu-a {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: 0.75rem;
  color: var(--gray);
  font-weight: 700;
  transition-duration: 300ms;
}
.side-menu-a:hover {
  color: var(--Primary);
  transition-duration: 300ms;
}
.side-menu-li .side-menu-div {
  display: none;
  position: absolute;
  top: 0;
  inset-inline-start: 90%;
  min-width: 250px;
  width: max-content;
  min-height: 150px;
  -webkit-margin-start: 1.75rem;
  margin-inline-start: 1.75rem;
  z-index: 100;
}
.side-menu-li .side-menu-div .side-menu-div-nav {
  background-color: white;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}
.side-menu-div-nav::after {
  content: "";
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-inline-end: 12px solid var(--Primary);
  position: absolute;
  top: 10px;
  inset-inline-start: -12px;
}
.side-menu-li:hover .side-menu-div {
  animation: fadeInLeft 0.5s ease-in-out;
  display: block;
}

/*End-side-nav*/

/*slider*/
.swiper-button-prev,
.swiper-button-next {
  background-color: var(--Secondary);
  border-radius: 9999px;
  width: 2.5rem;
  height: 2.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 500ms;
}
.swiper-button-prev {
  transform: translate(-100px);
}
.swiper-button-next {
  transform: translate(100px);
}
.swiper:hover .swiper-button-prev,
.swiper:hover .swiper-button-next {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: all 500ms;
}
.swiper-button-prev::after,
.swiper-button-next::after {
  color: white;
  font-size: 20px;
}
/*slider*/

.offer-product::after {
  content: "";
  display: block;
  position: absolute;
  left: 10px;
  right: 10px;
  top: 10px;
  bottom: 10px;
  background: linear-gradient(90deg, #000000 50%, transparent 50%),
    linear-gradient(90deg, #000000 50%, transparent 50%),
    linear-gradient(0deg, #000000 50%, transparent 50%),
    linear-gradient(0deg, #000000 50%, transparent 50%);
  background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
  background-size: 5px 1px, 5px 1px, 1px 5px, 1px 5px;
  background-position: 0px 0px, 100% 100%, 0px 100%, 100% 0px;
  animation: border-dance 4s infinite linear;
  -webkit-animation: border-dance 4s infinite linear;
  -moz-animation: border-dance 4s infinite linear;
  -o-animation: border-dance 4s infinite linear;
  z-index: -1;
}
@keyframes border-dance {
  0% {
    background-position: 0px 0px, 100px 100%, 0px 100%, 100% 0px;
  }
  100% {
    background-position: 100px 0px, 0px 100%, 0px 0px, 100% 100px;
  }
}
.offer-product-span::before,
.offer-product-span::after {
  content: "";
  background: var(--Secondary);
  height: 1px;
  width: 25%;
  z-index: 9;
  display: block;
  position: absolute;
  top: 10px;
  bottom: auto;
}
.offer-product-span::after {
  inset-inline-end: -2px;
  inset-inline-start: auto;
}
.offer-product-span::before {
  inset-inline-start: -2px;
  inset-inline-end: auto;
}

/*sectionSive*/
.blog-design:after {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  -webkit-opacity: 0;
  -moz-opacity: 0;
  -khtml-opacity: 0;
  transition-duration: 300ms;
  -webkit-transition-duration: 300ms;
  -moz-transition-duration: 300ms;
  -ms-transition-duration: 300ms;
  -o-transition-duration: 300ms;
}
.blog-design:hover:after {
  opacity: 1;
  -webkit-opacity: 1;
  -moz-opacity: 1;
  -khtml-opacity: 1;
  transition-duration: 300ms;
  -webkit-transition-duration: 300ms;
  -moz-transition-duration: 300ms;
  -ms-transition-duration: 300ms;
  -o-transition-duration: 300ms;
  background: rgba(0, 0, 0, 0.1);
}
/*sectionSive*/


.tabbarMobile {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 54px;
  list-style: none;
  visibility: visible;
  z-index: 1049;
  /*transition: transform .6s cubic-bezier(.19,1,.22,1);*/
  /*transform: translateY(200%);*/
  -webkit-box-shadow: 0 -16px 16px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 -16px 16px 0 rgba(0, 0, 0, 0.1);
}
.tabbarMobile_active {
  margin: 0 auto;
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  outline-width: 4px;
  outline-color: var(--Secondary);
  
  
  background-color: var(--primary-light);
 
  -webkit-transform: translateY(-25%);
  -ms-transform: translateY(-25%);
  transform: translateY(-25%);
  -webkit-box-shadow: 0px 0px 1px 3px var(--mustard-color);
  box-shadow: 0px 0px 1px 3px var(--mustard-color);
}


@media screen and (max-width: 1023px) {
  .contain {
    width: 95% !important;
    margin: 0 auto;
  }
}
@media screen and (min-width: 1024px) {
  .contain {
    width: 95% !important;
    margin: 0 auto;
  }
}
@media screen and (min-width: 1280px) {
  .contain {
    width: 85% !important;
    margin: 0 auto;
  }
}


