/* Add custom CSS styles below */ 
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap');

:root {
    --main-color: #e8b927;
    --second-color:#454545;
    --third-color:#fff;
    --hover-color: #454545;
    --logo: url(https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/YnNdg/aLsjtXC25h8ISUMJADRREoifeyYcUNi7uQUo9SPr.png);
}
*, html, body {
  font-family: cairo;
}
/* -----Body Start -------- */
body:after {
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  position: fixed;
  z-index: 999999;
  background: var(--third-color)
    var(--logo);
  left: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 160px;
  animation-name: fade-in;
  animation-duration: .5s;
  transform: scale(0);
  border: none;
}

@keyframes fade-in {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    75% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(.1);
    }
}

/* -----Body End -------- */

/* Header Start-------- */
/* logo */
.topnav-is-dark .top-navbar {
  background-color: var(--main-color) !important;
}
.navbar-brand img:hover {
  transform: rotate(360deg) scale(1.1);
  transition: 0.8s;
}

.navbar-brand img {
    max-height: 4rem !important;
}
@media only screen and (min-width: 1024px) {
    .main-menu li>a {
      padding-left: 0.55rem !important;
      padding-right: 0.55rem
    }
}
/* ----- Header End -------- */

/* ----- S-Block Start -------- */
.s-block:first-of-type .container {
  max-width: 100% !important;
}

.s-block:not(:first-of-type){
    margin-top: 20px !important;
}
.s-block {
  margin-top: unset;
}

@media(min-width: 767px) {
  .s-block {
    margin-bottom: 1rem !important;
  }
}
/* ----- S-Block End -------- */

/* ----- S-Slider Start -------- */
.s-slider-block__title h2, .s-product-card-content-title a, .s-product-card-price {
  color: var(--second-color);
}

.s-slider-block__title h2:where([dir="rtl"], [dir="rtl"] *) {
    padding-left: 0rem !important;
}

.s-slider-block__title-left {
    display: none;
}

.s-slider-block__title h2::after {
    background-color: var(--main-color);
    bottom: -10px;
    height: 2px;
    width: 100%;
    position: relative;
    content: "";
    display: block;
}

.s-products-slider-card:hover {
  color: var(--hover-color);
}
.s-product-card-vertical {
  transition: all 0.3s ease-out;
  border: 1px solid var(--main-color);
}
.s-product-card-entry:hover,
.s-block--features__item:hover {
  cursor: pointer;
}
.s-product-card-content-sub {
  justify-content: center;
  color:var(--hover-color);
}
.s-product-card-content-sub:hover {
  color: var(--hover-color);
}
.s-product-card-vertical:hover {
  /* transform: scale(1.05);*/
  box-shadow: var(--hover-color) -1px 2px 16px;
}

.s-product-card-image img {
  max-width: 100%;
}
.s-product-card-content {
  color: black;
}
.s-product-card-content a {
  color: var(--second-color);
  text-align: center;
}
.s-product-card-content-title a:hover {
  color: var(--hover-color);
}
.s-product-card-image img {
    background: var(--third-color);
}
.s-button-btn {
  position: relative;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 10px 20px var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  outline: none;
  overflow: hidden;
}

.s-button-btn:hover {
  background-color: var(--main-color);
  color: white;
}
.s-product-card-vertical .s-product-card-wishlist-btn button {
  background-color: var(--hover-color) !important;
}
.s-button-element:not(:disabled):not([loading]) {
  pointer-events: auto;
  border-color: var(--second-color);
  color: var(--third-color);
  background: var(--second-color);
}
.s-button-element:not(:disabled):not([loading]):hover {
  border-color: var(--main-color);
  color: var(--third-color);
  background-color: var(--main-color);
}

.s-button-btn::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100%;
  background-image: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0) 70%
  );
  top: 0;
  left: -100px;
  opacity: 0.6;
}

.s-button-btn:hover::before {
  animation: shine 1.5s ease-out infinite;
}


@keyframes shine {
  0% {
    left: -100px;
  }

  60% {
    left: 100%;
  }

  to {
    left: 100%;
  }
}



.s-block__title, .index .s-slider-block__title, .s-block--categories .s-slider-block__title, .s-product-card-starting-price, .s-product-card-content-sub, .s-social-list, .store-footer__inner ul{
    justify-content: center;
}

.s-block--features__item, .s-block--features__item:hover {
  box-shadow: 0 10px 17px rgb(0 0 0 / 25%), 0 10px 10px rgb(0 0 0 / 22%);
}

button.undefined.s-button-element.s-button-btn.s-button-solid.s-button-wide.s-button-primary.s-button-loader-center {
    background: var(--second-color);
    color: var(--third-color);
}

@media (max-width: 1024px) {
    salla-slider.photos-slider .swiper:where([dir="rtl"], [dir="rtl"] *) {
        padding-right: 1rem;
        width: 100% !important;
        padding-left: 0px;
        padding-right: 0px;
    }
}
/* ----- S-Slider End -------- */

section.s-block.s-block--features.container {
  text-align: center;
}

section.s-block.s-block--features.container:before {
    content: "مميزات المتجر";
    color: var(--second-color);
    font-size: 20px;
    font-weight: bold;
    line-height: 2px;
}

.s-block--features__item, .s-block--features__item:hover {
    margin-top: 20px;
}

/***** Category Responsive Start *****/

@media (min-width: 768px) {
    .md\:grid-cols-3 {
        grid-template-columns: repeat(auto-fit, minmax(0, 1fr)) !important;
    }
    
}

@media (max-width: 350px) {
.md\:grid-cols-3 a.banner-entry.square-photos {
  height: 40px !important;
  width: 100% !important;
}
}

@media (min-width: 351px) and (max-width: 480px) {
    .md\:grid-cols-3 a.banner-entry.square-photos {
        height: 50px !important;
        width: 100%;
    }
}



@media screen and (min-width:480px) and (max-width:520px) {
.md\:grid-cols-3 a.banner-entry.square-photos {
  height: 70px !important;
  width: 100% !important;
}
}

@media screen and (min-width:521px) and (max-width:766px) {
.md\:grid-cols-3 a.banner-entry.square-photos {
  height: 80px !important;
  width: 100% !important;
}
}

@media screen and (min-width:767px) and (max-width:867px) {
.md\:grid-cols-3 a.banner-entry.square-photos {
  height: 85px !important;
  width: 100% !important;
}
}

@media screen and (min-width:868px) and (max-width:1000px) {
.md\:grid-cols-3 a.banner-entry.square-photos {
  height: 100px !important;
  width: 100% !important;
}
}

@media screen and (min-width:1001px) and (max-width:1200px) {
.md\:grid-cols-3 a.banner-entry.square-photos {
  height: 135px !important;
  width: 100% !important;
}
}
@media screen and (min-width:1201px) and (max-width:1400px) {
.md\:grid-cols-3 a.banner-entry.square-photos {
  height: 130px !important;
  width: 100% !important;
}
}

@media screen and (min-width:1400px) {
.md\:grid-cols-3 a.banner-entry.square-photos {
  height: 150px !important;
  width: 100% !important;
}
}

.grid.one-row.md\:grid-cols-3.grid-flow-row.gap-3.sm\:gap-8 {
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr)) !important;
}

.grid.md\:grid-cols-3.two-row.grid-flow-row.gap-3.sm\:gap-8 {
      grid-template-columns: repeat(auto-fit, minmax(0, 1fr)) !important;
    }
    
/***** Category Responsive End *****/

/* ----- Footer Start -------- */
.store-footer .contact-social ul,
.footer-is-light .store-footer .store-footer__inner {
    text-align: center !important;
    justify-content: center !important;
}

.store-footer h3 {
    background-color: #585454 !important;
    color: var(--main-color) !important;
    border-radius: 8px;
    font-weight: bold;
    padding-top: 0.3rem;
    width: 100%;
    padding-bottom: 0.3rem;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.store-footer a, .store-footer p, .max-w-sm.leading-6.mb-6 {
    color: var(--third-color);
}
a.hover\:text-primary {
    color: #000 !important;
}

p.text-gray-400.mb-2\.5.md\:mb-0 {
    color: var(--second-color) !important;
}

.store-footer .store-footer__inner:before{
    text-align: center;
    content: "";
    display: block;
    height: 110px;
    width: 140px;
    margin: auto auto 20px;
    background-image: var(--logo);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    animation: sigal 1200ms linear infinite;
}

@keyframes sigal {
    0% {
        filter: drop-shadow(2px 4px 6px #504d46)
    }

    100% {
        filter: none;
    }
}

.store-footer a .rtl\:ml-2\.5,
.s-slider-nav-arrow,
.header-btn__icon {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.store-footer a .rtl\:ml-2\.5 {
    background: var(--second-color); !important;
}

.footer-is-light .store-footer .social-link {
    border-color: transparent;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.store-footer__inner
{
background-color: #585454 !important;
border-radius:20px  20px!important;

}
@media only screen and (min-width: 600px) {

    .lg\:grid-cols-6 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lg\:col-span-2 {
        grid-column: span 1/span 1;
    }
}

.copyright-text > a {
  color: var(--main-color);
}

.s-contacts-list-vertical {
    align-items: center !important;
}
/* ----- Footer End -------- */

/* ----- Whatsapp Start -------- */
#wa-widget-send-button{width:55px!important;height:55px!important;border-radius:50%!important}.home-slider:not(.photos-slider) .swiper-slide:not(.photos-slider)::before{background:0 0!important}#whatsappButton{position:fixed;bottom:100px;right:20px;width:60px;height:60px;background-color:var(--main-color);border-radius:50%;text-align:center;font-size:27px;color:#FFF;box-shadow:2px 2px 5px rgba(0,0,0,.3);cursor:pointer;display:flex;justify-content:center;align-items:center;z-index:1000}#whatsappButton i{color:#fff!important}#whatsappButton:hover{background-color:var(--hover-color)}
}
/* ----- Whatsapp End -------- */