@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');

/* colors */
:root {
  --main: rgb(205, 189, 244);
  --border-radius: 15px;
  --gray: lightgray;
  --bg: white;
}

body {
  font-family: 'Tajawal', serif;
}

/*
-----------------
header 
-----------------
*/
/* 
center links in header  
*/
header [class='main-nav-container shadow-default bg-white'] {
  box-shadow: none;
}

@media (min-width: 1025px) {
  header
    [class='flex items-stretch justify-between relative']
    .flex.items-center:first-of-type {
    width: 50% !important;
    display: flex !important;
    align-content: space-between;
    justify-content: space-between !important;
  }

  header
    [class='flex items-stretch justify-between relative']
    .flex.items-center
    custom-main-menu {
    justify-content: flex-end !important;
  }

  [class='main-menu mm-spn--open'] {
    display: flex;
    justify-items: flex-end !important;
    justify-content: flex-end;
    margin-left: 0;
    margin-right: 0;
    margin-left: -55%;
  }

  [class='main-menu mm-spn--open'] li a span {
    border: 1px solid var(--gray);
    border-radius: var(--border-radius);
    padding: 5px 10px;
  }

  [class='main-menu mm-spn--open'] li a span:hover {
    border-color: var(--main);
  }
}

/* remove colors from background */
.header-search.flex-1
  salla-search
  .s-search-modal
  .s-search-container
  .s-search-input-wrapper
  input,
.header-buttons .btn--rounded-gray {
  background-color: transparent !important;
}

.header-search.flex-1
  salla-search
  .s-search-modal
  .s-search-container
  .s-search-input-wrapper
  input {
  border: 1px solid var(--gray);
  border-radius: var(--border-radius);
}

/* remove border on icon */
.header-btn i {
  border: none !important;
}

/* hide arrow from sliders */
section.s-block--photos-slider .s-slider-button-icon {
  display: none;
}

/* body colors */
header [class="flex items-stretch justify-between relative"],
footer .store-footer__inner,
footer,
footer [class="md:flex items-center justify-between py-4 container text-center"],
body [class="app-inner flex flex-col min-h-full"],
header,
/* header #mainnav, */
footer .store-footer__inner,
body {
  background-color: var(--fff) !important;
}

/* footer hide app section */
footer salla-apps-icons {
  display: none;
}

/* categories  section*/
section.s-block--categories .container salla-slider .swiper {
  padding: 0;
  margin: 0 !important;
}

section.s-block--categories .container salla-slider .swiper .swiper-wrapper {
  justify-content: center !important;
  flex-wrap: wrap;
}

/* categories images  */
[class='s-block s-block--banners container'] {
  margin-top: 0;
}

[class='s-block s-block--banners container'] .grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

[class='s-block s-block--banners container'] .grid .banner-entry.square-photos {
  height: 180px;
  width: 170px;
  background-color: transparent;
}

/* intro section */
.s-block.s-block--photos-slider {
  text-align: center;
}

.s-block.s-block--photos-slider [style='list-style-type: none; padding: 0px;'] {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* product card */
.s-product-card-image {
  background-color: transparent;
}

custom-salla-product-card .s-product-card-price,
custom-salla-product-card .s-product-card-sale-price {
  width: 100%;
  text-align: center;
}

custom-salla-product-card {
  text-align: center;
}

.s-product-card-content {
  padding: 0;
  padding-top: 5px;
}

/* product section */
salla-products-slider
  .s-slider-block__title
  [class='s-slider-block__title-right']
  h2 {
  text-align: center;
  padding: 0;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  background-image: linear-gradient(90deg, var(--main), #4ecdc4);
  background-size: 100% 4px;
  background-position: bottom;
  background-repeat: no-repeat;

  /*     padding-bottom: 10px;
  border-bottom: 2px dotted #333;
  box-shadow: 0 4px 6px -6px #333; */

  /*    border-bottom: 4px double var(--main);
  padding-bottom: 2px;  */

  /*     text-decoration: underline wavy var(--main);
    text-decoration-thickness: 2px;
  text-underline-offset: 5px; */

  /*      padding-bottom: 10px;
  border-bottom: 2px solid #4ecdc4;
  box-shadow: 0 4px 15px -4px rgba(78, 205, 196, 0.4); */
}

/* salla-products-slider
  .s-slider-block__title
  [class='s-slider-block__title-right']
  h2 {
  position: relative;
}

salla-products-slider
  .s-slider-block__title
  [class='s-slider-block__title-right']
  h2::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #4568dc, #b06ab3);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

salla-products-slider
  .s-slider-block__title
  [class='s-slider-block__title-right']
  h2:hover::after {
  transform: scaleX(1);
} */

salla-products-slider
  .s-slider-block__title
  [class='s-slider-block__title-right'] {
  text-align: center;
  padding: 0;
}

/* salla-products-slider .s-slider-block__title::before {
  content: '';
  width: 90px;
} */

/* site features  */
section.s-block--features .grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

section.s-block--features .s-block--features__item:first-child {
  grid-column: unset !important;
}

section.s-block--features .s-block--features__item .feature-icon {
  width: 70px !important;
  height: 70px !important;
  border-radius: 0;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  /*   border:1px solid red; */
}

section.s-block--features .s-block--features__item .feature-icon i {
  display: none;
}

section.s-block--features .s-block--features__item:first-child .feature-icon {
  /* background: url('https://i.imgur.com/FwRTOb7.png'); */
  background: url('https://i.imgur.com/s6oQdt0.png');
}

section.s-block--features
  .grid
  .s-block--features__item:nth-child(2)
  .feature-icon {
  background: url('https://i.imgur.com/TYOb3r8.png');
}

section.s-block--features
  .grid
  .s-block--features__item:nth-child(3)
  .feature-icon {
  background: url('https://i.imgur.com/IJx8cOy.png');
}

/* footer { */
footer .text-sm.copyright-text a {
  display: none !important;
}
/* center items */
footer,
footer p,
footer {
  text-align: center;
}

footer p,
footer h3 {
  width: 100% !important;
  max-width: unset !important;
}

footer salla-social,
footer #contact-slot {
  display: flex;
  justify-content: center;
}

footer [class='container grid grid-col-1 lg:grid-cols-6 gap-8 lg:gap-6'] {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

footer [class='container grid grid-col-1 lg:grid-cols-6 gap-8 lg:gap-6'] > div {
  width: 30%;
  max-width: 33%;
}

@media (max-width: 660px) {
  footer [class='container grid grid-col-1 lg:grid-cols-6 gap-8 lg:gap-6'] {
    flex-direction: column;
  }

  footer
    [class='container grid grid-col-1 lg:grid-cols-6 gap-8 lg:gap-6']
    > div {
    width: 100%;
    max-width: 100%;
  }
}

/* intro conaitner */
.intro-container p {
  font-size: 1.5rem;
  font-weight: bold !important;
  /*   color:var(--main); */
  margin-bottom: 15px;
}

.intro-container p {
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid #000;
  /*   animation: typing 3.5s steps(40, end) forwards, blink-caret 0.75s step-end infinite; */
  /*   width: 0; */
}

/* @keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: #000;
  }
} */

.intro-container p {
  animation: fadeInBottom 1s ease forwards;
  opacity: 0;
}

@keyframes fadeInBottom {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* reduce white space  */
footer.store-footer,
section.s-block--photos-slider {
  margin-top: 16px;
}

section.s-block--photos-slider .swiper {
  padding: 0;
}

section.s-block.container {
  margin-top: 16px;
}

section.s-block.container [class='s-slider-block__title'] {
  margin-bottom: 12px;
}

footer .store-footer__inner {
  padding-bottom: 8px;
  border-bottom: none !important;
  padding-top: 0;
}

footer [class='lg:hidden contact-social'] {
  border-top: none;
  padding: 0 !important;
  margin-top: 6px !important;
}

footer [class='max-w-sm leading-6 mb-6'] {
  margin-bottom: 0 !important;
}

footer
  [class='md:flex items-center justify-between py-4 container text-center'] {
  padding: 0;
  padding-top: 5px;
}

/* pop up  */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background-image: url('https://i.imgur.com/P6U5H69.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 350px;
  width: 90%;
  position: relative;
  height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 50px;
  /*   border:1px solid red; */
}

.popup-text {
  color: white;
  /*   font-size: 18px; */
  /*   margin-bottom: 20px; */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  direction: rtl;
  font-weight: bold;
}

.whatsapp-button {
  margin-top: 1rem;
  background-color: #00d889;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.3s;
  max-width: 50%;
  margin-right: 25%;
}

.whatsapp-button:hover {
  opacity: 0.9;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}