@import url(https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900;1000&display=swap);
 
:root {
      --main-color: #c0a153;
    --second-color:#c0a153;
    --third-color:#fff ;
}

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

/* Loading --*/ziadhassan

body:after {
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  position: fixed;
  z-index: 999999;
  background: var(--third-color)
    url(https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/Arje/IfYF0AxaXTvtqYJhnVmXUt19xQ4yA8RjZSxf1OyP.png);
  left: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 320px;
  animation-name: fade-in;
  animation-duration: .3s;
  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,html {
	font-family: Cairo, sans-serif !important
}

.s-advertisement-content-main{
    display: inline-block;
    color: #FFF;
    animation: pulse .8s infinite;
}

.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
    }
}

li#offers {
    animation: pulse .5s infinite;
    color: #F00;
}

@media(max-width: 480px) {
    .s-block:not(:first-of-type){
      margin-top: 50px !important;
    }
}

.s-block.s-block--fixed-banner > .container {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0px;
  padding-right: 0px;
}

.s-block {
  margin-top: unset;
}

@media(min-width: 767px) {
  .s-block {
    margin-bottom: 4rem !important;
  }
}

/* h2, product title,price*/
.s-slider-block__title h2, .s-product-card-content-title a, i.header-btn__icon.sicon-user-circle, i.header-btn__icon.icon.sicon-shopping-bag {
  color: var(--main-color);
}

.s-slider-block__title {
    margin-bottom: 30px !important;
}
.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-product-card-entry {
    text-align: center;
    border: 2px solid var(--main-color);
    border-radius: 0.35rem;
    height: 420px
}

.s-button-btn, .s-price-range-number-input {
    border-radius: 0.35rem;
background: rgb(192,161,83);
background: linear-gradient(90deg, rgba(192,161,83,1) 43%, rgba(218,200,154,1) 68%);;
    color: var(--third-color);
    font-weight: bold;
    border-color: var(--main-color);
 order-top-left-radius: 0.25rem;
    border-top-right-radius: 2rem;
    border-bottom-right-radius: 0.25rem;
    border-bottom-left-radius: 2rem;
};
}

.s-product-card-fit-height .s-product-card-image {
    height: unset !important;
    max-height: unset !important;
}


salla-slider.photos-slider .swiper-slide {
    margin-left: 5px !important;
    margin-right: 5px !important;
    width: 100% !important;
}

@media (min-width: 768px) {
    salla-slider.photos-slider .swiper:where([dir="rtl"], [dir="rtl"] *) {
        padding-left: 0px !important;
    }
}

.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%);
}

.store-footer__inner {
    background: var(--second-color) !important;
    color: var(--second-color) !important;
}

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

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

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

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

.md\:grid-cols-3 a.banner-entry.square-photos {
    height: 250px !important;
}

@media(max-width: 480px) {
    .grid.md\:grid-cols-3.two-row.grid-flow-row.gap-3.sm\:gap-8 {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        zoom:33%
       
    }
    .md\:grid-cols-3 a.banner-entry.square-photos {
        height: 250px !important;
        width: 100%;
        
    }
}

/* Footer Start */
.store-footer {
    background: var(--second-color) !important;
    padding: 40px 20px;
    font-size: 14px;
    text-align: center;
    color: var(--third-color);
    position: relative;
    overflow: hidden;
}

.store-footer a h3:nth-child(1) {
    font-size: 1.3rem;
    color: transparent;
    background-image: url(https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/Arje/IfYF0AxaXTvtqYJhnVmXUt19xQ4yA8RjZSxf1OyP.png);
    filter: brightness(10);
    background-size: 30%;
    background-repeat: no-repeat;
    scale: 1.7;
    line-height: 3;
    background-position: center;

}

.footer-is-light .store-footer .store-footer__inner {
    background-color: transparent;
}

.store-footer__inner {
    background-color: transparent !important;
    text-align: center;
    margin: auto;
}

.store-footer__inner .flex {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
}

.store-footer__inner .max-w-sm {
    margin: auto;
    color: var(--third-color);
    margin-bottom: 15px;
}

.store-footer h3 {
    color: var(--third-color);
    font-size: 1.3rem;
    /* Maintaining original font size */
    padding: 10px 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.s-contacts-list {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.store-footer p {
    color: var(--main-color);
    font-size: 1rem;
    margin: 15px 0;
    line-height: 1.6;
    transition: transform 0.3s ease;
}

.store-footer a {
    color: var(--third-color);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
}

.store-footer i {
    color: var(--third-color);
    border-color: var(--main-color);
    margin: 0 5px;
    transition: transform 0.3s ease;
}

@media (min-width: 1024px) {
    .rtl\:lg\:pl-20:where([dir="rtl"], [dir="rtl"] *) {
        padding-left: 0rem;
    }
}

.copyright-text p {
    color: var(--third-color);
    font-size: 12px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .store-footer {
        padding: 30px 10px;
    }

    .store-footer h3 {
        font-size: 1.3rem;
    }

    .store-footer p {
        font-size: 0.9rem;
    }

    .store-footer::after {
        font-size: 14px;
    }
}

@media only screen and (max-width: 600px) {
    .store-footer h3 {
        font-size: 15px !important;
    }
    .gap-4 {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .s-menu-topnav-list {
        padding: 0;
        box-shadow: none;
    }
}

.copyright-text p {
    color: var(--main-color)!important;
}

.s-contacts-icon {
    border-color: 1px solid var(--main-color) !important;
}

@media only screen and (max-width: 600px) {
    .store-footer__inner h3 {
        font-size: 14px !important;
    }

    .s-product-card-entry {
        height: 390px;
    }

    .square-photos {
        width: 100%;
        transition-duration: 0.5s;
        transition-property: scale;
        border-radius: 30px;
        height: 220px;

    }
}
.grid-col-1 {
    flex-direction: column;

}

@media (min-width: 1024px) {
.store-footer__inner {
    padding-top: 2rem;
    padding-bottom: 0rem;
}
}

.store-footer__inner {
    border-radius: 16px;
    box-shadow: 0 2px rgba(153,88,88,0.29)important;
    border: 1px solid rgba(255, 255, 255, 0.29) !important;
}


label {
    color: var(--main-color);
}

span.text-sm.copyright-text {
    color: #FFF;
}

#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(--main-color)}

/* اخفِ رابط سلة داخل سطر الحقوق */
footer.store-footer span.text-sm.copyright-text a[href*="salla"]{
  display: none !important;
}

/* اخفِ النص الأصلي داخل الفقرة */
footer.store-footer span.text-sm.copyright-text p.text-gray-400{
  font-size: 0 !important;      /* يخفي النص الأصلي */
  line-height: 0 !important;
  margin: 0 !important;
}

/* استبدله بالنص المطلوب */
footer.store-footer span.text-sm.copyright-text p.text-gray-400::after{
  content: "الحقوق محفوظة | موجة الرياضة SPORTS WAVE";
  display: block;
  font-size: 0.95rem;            /* حجم النص الفعلي */
  line-height: 1.6;
  text-align: center;
  direction: rtl;
  color: #fff !important;        /* غيّر اللون إذا لزم */
  margin: 0;
}

/* === Fix وضوح الصور + نحافظ على ثبات الصفحة === */

/* 1) رجّع الصور لوضعها الطبيعي (لا نفرض نسبة على img) */
:where([class*="hero"] img,
       [class*="banner"] img,
       [class*="slider"] img,
       [class*="product"] img,
       .product-card img,
       .product-item img){
  aspect-ratio: auto !important;
  width: 100%;
  height: auto;
  image-rendering: auto;
}

/* 2) نطبّق النسبة على الحاوية (الكونتينر) بدل الصورة */
:where(.product-card [class*="image"],
       .product-item [class*="image"],
       [class*="product"] [class*="image"],
       [class*="thumb"],
       [class*="media"]){
  aspect-ratio: 1 / 1;      /* مربّع لثَماثيل/صور المنتجات */
  overflow: hidden;
}

/* نخلي الصورة تملأ الحاوية بشكل نظيف */
:where(.product-card [class*="image"] img,
       .product-item [class*="image"] img,
       [class*="product"] [class*="image"] img,
       [class*="thumb"] img,
       [class*="media"] img){
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* لو عندك هيرو/بانر: ما نفرض عليه نسبة من الصورة نفسها */
:where([class*="hero"], [class*="banner"], [class*="slider"]){
  aspect-ratio: auto;
}

}/* Add custom CSS styles below */