/* Add custom CSS styles below */ 
:root {
    --fontColor: #000;
    --bodyColor: #fde9e0;
    --navBgColor: linear-gradient(to right, #8eced9, #31a6ba);
    --navFontColor: #FFF;
    --btnHoverColor: #e88d68;
    --btnHoverFontColor: #000;
    /* --cartBg: linear-gradient(to right, #4f8ac4, #305477); */
    --cardfontColor: linear-gradient(to right, #3e3e3e, #242424) ;
    --searchInputBg: #ddd;
    --searchInputColor: #000;
}


body {
    background: var(--bodyColor);
}

/* nav bar    */
#mainnav .inner {
    background: var(--navBgColor);
    color: var(--navFontColor);
    border-top: 1px solid var(--cardfontColor);
}

/* ------------------------------ */

@media only screen and (max-width: 1024px) {
    #mobile-menu {
        color: #fff;
        background: #000;
    }
}


/* 
.navbar-brand img{
    border-radius: 50%;
    background-color: var(--btnHoverColor);
  } */


/* تحريك اللوجو  */
#mainnav .navbar-brand {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;

    animation: bounce 2s infinite ease-in-out;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.navbar-brand:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
    /* Glowing effect */
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.header-btn__icon {
    color: var(--navFontColor)
}

/* 
.main-menu {
    padding-top: 0;
}

@media only screen and (min-width: 1024px) {
    .main-menu {
        padding-top: 0;
    }

    .main-menu li.root-level>a {
        padding-top: 25px;
        padding-bottom: 25px;
        min-width: 90px !important;
        text-align: center;
        display: inline-block;
        transition: all .2s ease-in-out;
    }

    .main-menu li>a:hover {
        border-radius: 35px 2px;
        background-color: var(--btnHoverColor);
        color: var(--btnHoverFontColor);
    }

    .main-nav-container {
        min-height: fit-content !important;
    }
}

.main-nav-container {
    min-height: fit-content !important;
} */

/* search input */
.top-navbar .s-search-input {
    
        border-style: none;
        border: 2px solid #000;
        color: #000 !important;
        background: #ddd;
        }


/* ----------- */

/* first section   */

/* all sectiopn container has panner child  */

/* only first section  */
header+section .container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

header+section {
    margin-top: 0 !important;
}

@media (min-width: 640px) {
    header+section {
        margin-top: 0 !important;
    }
}

@media only screen and (min-width: 1024px) {
    section>.container {
        padding-left: 0;
        padding-right: 0;
    }
}

/* تواصل معنا اخفائها  */
.top-navbar .s-contacts {
    visibility: hidden;
}

/* كارت المنتجات طول الاسم  */
.s-product-card-content-title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

/* -------------------------------------- */
/* خلفية الكروت 
.s-product-card-entry {
    background: var(--cartBg);
    color: var(--cardfontColor)
}

.s-product-card-content-title a {
    color: var(--cardfontColor)
}

/* button in cart  */
/* .s-product-card-content-footer .s-button-element {
    background-color: #fff5f5;
    color: #000
}

.s-product-card-content-footer .s-button-element:hover {
    color: var(--btnHoverFontColor);
    background-color: var(--btnHoverColor);
} */
*/

/* ------------------------------------------------- */
.banner img {
    background-color: transparent !important;
}

@media only screen and (min-width: 1024px) {
    .banner-entry {
        min-height: 250px !important;
    }
}

/* ------------------------------ */
/* // بانر متحرك */
/* Ticker Wrapper */
.ticker-wrapper {
    width: 100%;
    background-color: var(--navBgColor);
    color: #000;
    overflow: hidden;
    padding: 10px 0;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 999;
    /* Ensure it appears above other elements */
    position: relative;
}

/* Ticker */
.ticker {
    display: flex;
    width: 100%;
    animation: tickerScroll 15s linear infinite;
}

.ticker-item {
    white-space: nowrap;
    padding: 0 30px;
    font-size: 1.2em;
    font-family: Arial, sans-serif;
}

/* Adjust font size for smaller screens */
@media (max-width: 768px) {
    .ticker-item {
        font-size: 1em;
        padding: 0 20px;
    }
}

/* Keyframes */
@keyframes tickerScroll {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}



/* كروت التصنيفات  */
@media (max-width: 768px) {
    section .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lazy__bg {
        background-size: contain !important;
        background-repeat: no-repeat;
    }
}

.lazy__bg {
    background-size: contain;
    background-repeat: no-repeat;
}

@media (min-width: 640px) {
    .two-row .banner-entry:first-child {
        grid-column: span 1 / span 1;
        grid-row: span 1 / span 1;
    }

    section .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


#welcomePopup img {
    margin: 0 !important;
}

.banner img {
    background: transparent;
}

/* // ازالة خلفية كروت التصنيفات */
section .grid a {
    background-color: transparent !important;
    ;
}

/* ---------- */
.store-footer {
    margin-top: 0;
}

/* عشان لو اسم المنتج طويل نقصو */
.s-product-card-content-title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}


/* مميزات المتجر  سكشن */
.app-inner section:nth-last-of-type(2) .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;

}

.app-inner section:nth-last-of-type(2) .grid .s-block--features__item:first-child {
    grid-column: span 1 / span 1 !important;
}















/*product card*/
:root {
  --prodCard-width: 280px;
  --prodCard-width-sm: 210px;

  --prodCard-height: 210px;
  --prodCard-height-sm: 180px;

  /* --prodCard-background: linear-gradient(to right, #353535, #6e6e6e); */
  --prodCard-background: #e88f6b;
  --prodCard-background-hover: transparent;
  --prodCard-text: #fff;
  --prodCard-price: #000;
  --prodCard-btn-width: 120px;
  --prodCard-btn-background: #000;
  --prodCard-btn-color: #fff;
  --prodCard-img-background: #31a6ba;
  ;
  /*  --prodCard-img-width: 135px;
  --prodCard-img-width-sm: 60px;
--prodCard-img-height: 170px;
  --prodCard-img-height-sm: 70px;*/
  --prodCard-btn-wishList-bg: tomato;
  --prodCard-btn-wishList-color: #fff;
}



/*product card*/


.s-product-card-entry {
  position: relative;
  width: var(--prodCard-width);
  height: var(--prodCard-height);
  border-radius: 2px !important;
  background: var(--prodCard-background);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4),
    0 1px 3px rgba(255, 255, 255, 0.1);
  /* الظل */
  transition: all .4s ease-in-out;
}

.s-product-card-entry:hover {
  transform: translateY(-8px);
  /* رفع البطاقة عند التمرير عليها */
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.6),
    0 4px 6px rgba(255, 255, 255, 0.2);
  background: transparent;
  border: 2px solid #fff;
}

.s-product-card-entry:hover .s-product-card-content-title a {
  color: #000 !important;
}

.s-product-card-image {
  position: absolute;
  right: 60%;
  top: 50%;
  transform: translateY(-50%) !important;
  width: 50% !important;
  height: 75% !important;
  border-radius: 2px !important;
  background: var(--prodCard-img-background);
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.5),
    0 5px 8px rgba(0, 0, 0, 0.3);
  /* More prominent shadow for light background */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.s-product-card-image:hover {
  transform: translateY(-10px);
  /* Slight lift on hover */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3),
    0 4px 8px rgba(0, 0, 0, 0.2);
  /* Stronger shadow on hover */
}

.s-product-card-image a img {
  width: 100%;
  /* Ensure image fits the card */
  border-radius: 8px;
  /* Match card's corners */
  display: block;
  /* Ensures no extra spacing */
}

.s-product-card-content {
  width: 65%;
  height: 100%;
}

.s-product-card-content-title a {
  color: var(--prodCard-text)
}

.s-product-card-content-sub {
  color: var(--prodCard-price);
}

salla-add-product-button {
  width: var(--prodCard-btn-width) !important;
}

salla-add-product-button salla-button .s-button-element i {
  font-size: 14px;
  color: tomato;
}

salla-add-product-button salla-button .s-button-element {
  background: var(--prodCard-btn-background);
  color: var(--prodCard-btn-color);
  border: none;
  border-radius: 5px;
  font-size: 10px;
}


custom-salla-product-card {
  margin: auto !important
}



.s-product-card-wishlist-btn button {
  background: var(--prodCard-btn-wishList-bg);
  color: var(--prodCard-btn-wishList-color);
}

@media only screen and (max-width: 992px) {
  .s-product-card-entry {
    width: var(--prodCard-width-sm);
    height: var(--prodCard-height-sm);
  }


  salla-add-product-button salla-button .s-button-element {
    width: 70px;
    height: 35px;
    padding: 5px;
    font-size: 8px;
  }

  .s-product-card-content-title a {
    font-size: 14px;
  }

  .s-product-card-price {
    font-size: 10px;
    line-height: 1.25rem;
  }
}

/*تظبيط ال grid بتاع الكروت */
.s-products-list-wrapper {
  gap: 20px;
}

@media (max-width: 590px) {
  .s-products-list-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 768px) {
  .s-products-list-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .swiper-wrapper {
    gap: 40px;
  }
}

.s-product-card-vertical .s-product-card-wishlist-btn button {
  display: none;
}








/*product card*/


.s-product-card-entry {
  position: relative;
  width: var(--prodCard-width);
  height: var(--prodCard-height);
  border-radius: 2px !important;
  background: var(--prodCard-background);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4),
    0 1px 3px rgba(255, 255, 255, 0.1);
  /* الظل */
  transition: all .4s ease-in-out;
}

.s-product-card-entry:hover {
  transform: translateY(-8px);
  /* رفع البطاقة عند التمرير عليها */
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.6),
    0 4px 6px rgba(255, 255, 255, 0.2);
  background: transparent;
  border: 2px solid #fff;
}

.s-product-card-entry:hover .s-product-card-content-title a {
  color: #000 !important;
}

.s-product-card-image {
  position: absolute;
  right: 60%;
  top: 50%;
  transform: translateY(-50%) !important;
  width: 50% !important;
  height: 75% !important;
  border-radius: 2px !important;
  background: var(--prodCard-img-background);
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.5),
    0 5px 8px rgba(0, 0, 0, 0.3);
  /* More prominent shadow for light background */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.s-product-card-image:hover {
  transform: translateY(-10px);
  /* Slight lift on hover */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3),
    0 4px 8px rgba(0, 0, 0, 0.2);
  /* Stronger shadow on hover */
}

.s-product-card-image a img {
  width: 100%;
  /* Ensure image fits the card */
  border-radius: 8px;
  /* Match card's corners */
  display: block;
  /* Ensures no extra spacing */
}

.s-product-card-content {
  width: 65%;
  height: 100%;
}

.s-product-card-content-title a {
  color: var(--prodCard-text)
}

.s-product-card-content-sub {
  color: var(--prodCard-price);
}

salla-add-product-button {
  width: var(--prodCard-btn-width) !important;
}

salla-add-product-button salla-button .s-button-element i {
  font-size: 14px;
  color: tomato;
}

salla-add-product-button salla-button .s-button-element {
  background: var(--prodCard-btn-background);
  color: var(--prodCard-btn-color);
  border: none;
  border-radius: 5px;
  font-size: 10px;
}


custom-salla-product-card {
  margin: auto !important
}



.s-product-card-wishlist-btn button {
  background: var(--prodCard-btn-wishList-bg);
  color: var(--prodCard-btn-wishList-color);
}

@media only screen and (max-width: 992px) {
  .s-product-card-entry {
    width: var(--prodCard-width-sm);
    height: var(--prodCard-height-sm);
  }


  salla-add-product-button salla-button .s-button-element {
    width: 70px;
    height: 35px;
    padding: 5px;
    font-size: 8px;
  }

  .s-product-card-content-title a {
    font-size: 14px;
  }

  .s-product-card-price {
    font-size: 10px;
    line-height: 1.25rem;
  }
}

/*تظبيط ال grid بتاع الكروت */
.s-products-list-wrapper {
  gap: 20px;
}

@media (max-width: 590px) {
  .s-product-card-entry {
    width: 135px;
    height: 120px;
  }

  salla-add-product-button salla-button .s-button-element {
    width: 50px;
    height: 25px;
    padding: 3px;
    font-size: 8px;
  }

  .s-product-card-content-title a {
    font-size: 12px;
    line-height: 12px;
  }

  .s-product-card-price {
    font-size: 10px;
    line-height: 6px;
  }

  @media (min-width: 768px) {
    .s-products-list-wrapper {
      grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
  }

  /* Swiper Slider gap */
  @media only screen and (max-width:639px) {
    .swiper-wrapper {
      gap: 16px;
    }
  }

  @media only screen and (min-width:765px) {
    .swiper-wrapper {
      gap: 45px;
    }
  }

  /* كارت المنتجات طول الاسم  */
  .s-product-card-content-title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
  }

  .s-product-card-content-sub {
    margin: 0;
    height: 20%;

  }
}