/* Add custom CSS styles below */ 
@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@400..700&display=swap');

body {
  font-family: "El Messiri", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  background-color: #f5f5dc33 !important;
}

body:after {
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    position: fixed;
    z-index: 999999;
    background: #FFF6C8 url(https://cdn.salla.sa/cdn-cgi/image/fit=scale-down,width=400,height=400,onerror=redirect,format=auto/xnGVg/L3Kz3rvBux85IqkFm1DIjSaHuD2MRLMuIBtReNiX.png);
    left: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 300px;
    animation-name: fade-in;
    animation-duration: 2s;
    transform: scale(0);
    border: none;
    filter: invert(0); /* تأكد من أن الفلتر ليس معكوسًا */
}

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

:root {
    --dark-beige: #8B7D6B;
    --light-beige: #F5F5DC;
    --light-gold: #b0854d;
    
    --color-1: #EE4540;
    --color-2: #C72C41;
    --color-3: #801336;
    --color-4: #510A32;
    --color-5: #2D142C;
    --load: linear-gradient(135deg, var(--color-5), var(--color-3), var(--color-4));
}

.navbar-brand img {
  max-height: 4.5rem !important;
}

.bg-inherit {
   background: linear-gradient(-135deg, #000000, var(--color-3), var(--color-1));
   color: #fff;
}

.header-btn i,
.header-btn__icon.icon {
  background: #fff;
  color: var(--color-4);
}

.s-cart-summary-total {
  color: #fff;
}

.main-menu li>a:hover {
  color: #ffd39b;
}

.top-navbar {
  background: var(--color-5);
  color: #fff;
}

.s-search-icon svg {
  fill: #36454F;
}

.sicon-menu {
  color: #fff; /* تم تصحيح الخطأ هنا */
}

.top-navbar .s-search-input {
  background: #fff;
}

.top-navbar .s-search-input::placeholder {
  color: #304152;
}

.s-product-card-fit-height .s-product-card-image {
    height: 18rem;
    max-height: 25rem;
}

.s-product-card-content-title a {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.s-product-card-content {
  padding: 12px;
  text-align: center;
  border-radius: 24px !important;
  background: linear-gradient(to bottom, #2d142c, #801336d4, #ff817d);
  margin: 6px 7px;
  border: 1px solid #a07d3170;
}

.s-product-card-image {
  background: #fff;
  img {
   border-radius: 24px !important;
   background-color: #fff;
   padding: 5px;
  }
}

.s-product-card-content-sub {
  justify-content: center;
}

.s-product-card-price {
  font-size: 1rem;
  color: #fff;
}

salla-add-product-button .s-button-btn {
    border-color: #fff !important;
    box-shadow: 0 2px 3px 0 #211d1563;
    transition: all 0.4s ease;
    background: linear-gradient(to left, #3c103e, #ce5487, #ffffff);
    color: #fff;
}
salla-add-product-button .s-button-btn:hover { /* تم إصلاح الإغلاق الصحيح هنا */
    background:#fff !important;
    box-shadow: 0 2px 4px 0 #d8b7768c;
    color: var(--color-4);
}

.s-product-card-entry {
    border: 1px solid #eeeed4;
    box-shadow: 0 2px 2px #dedecf7d;
    border-radius: 24px;
    overflow: hidden;
}

.s-block__title h2,
.s-slider-block__title h2 {
    border-right: 5px solid var(--color-2);
    padding-right: 5px;
    padding-top: 3px;
    padding-bottom: 1px;
}

.s-block__display-all i {
    display: inline-block;
    border: 1px solid #000;
    padding: 5px;
    border-radius: 50%;
    color: #fff;
    background: var(--color-4);
}

.s-slider-nav-arrow {
  width: 2.2rem;
  height: 2.2rem;
   background: var(--color-4);
  
  svg {
    fill:  #fff;
  }
}

section.s-block.container {
  padding: 2rem;
  margin-top: 4rem;
  background: #F3F4F6;
  border-radius: 18px;
}

.footer-is-light .store-footer .store-footer__inner {
  background: linear-gradient(135deg, var(--color-5), var(--color-3), var(--color-4));
  color: #fff;
  border-radius: 60px;
}

.footer-is-light .store-footer {
  background: #000;
  padding-top: 2rem;
  padding-right: 2rem;
  padding-left: 2rem;
}

.copyright-text p {
  color: var(--color-1);
}

.s-payments-list-item {
  background-color: #fff;
}

@media (min-width: 1280px) {
    .container {
        max-width:1420px;
    }
}

@media (min-width: 1024px) {
    .s-products-list-vertical-cards {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
    .lg\:grid-cols-6 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    .store-footer__inner .container > div:nth-child(2) {
       grid-column: span 2 / span 2;
  }
  .s-products-slider-card {
        width:20%
    }
}

@media (max-width: 520px) {
  .s-products-slider-card {
     max-width: 150px;
     padding-left: 0.2rem;
     padding-right: 0.2rem;
  }
  section.s-block.container {
    padding: 1rem;
  }
  .footer-is-light .store-footer {
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .footer-is-light .store-footer .store-footer__inner {
    border-radius: 28px;
  }
  .s-product-card-fit-height .s-product-card-image {
    height: 13rem;
    max-height: 16rem;
  }
  .s-product-card-content {
    padding: 8px;
  }
  salla-add-product-button .s-button-btn {
    padding: 5px;
    font-size: 13px;
  }
  .s-product-card-price {
    font-size: 14px;
  }
}

.store-footer__inner .container > div:nth-child(1) a h3 {
    font-size: 50px;
}

.banner--fixed img {
  background: transparent;
}
.s-product-card-content {
    padding: 12px;
    text-align: center;
    border-radius: 24px !important;
    background: linear-gradient(45deg, #ffe385, #ddb457, #ffe692);
    margin: 6px 7px;
    border: 1px solid #a07d3170;
}
salla-add-product-button .s-button-btn {
    background: linear-gradient(to top, #b19742, #ddb457, #b19742);
}

.s-product-card-content {
    background: linear-gradient(45deg, #ffe385, #ddb457, #ffe692);
}

.bg-inherit {
    background: linear-gradient(to right, #ffe385, #ddb457,#e7c371 ,#f3cc75 ,#d8be71, #967041);
}

.footer-is-light .store-footer .store-footer__inner {
    background: linear-gradient(45deg, #ffe385, #ddb457, #ffe692);
}
.footer-bottom.flex.flex-col.lg\:flex-row.items-center.justify-between.py-4.gap-4::before {
    width: 100%;
    position: absolute;
    content: " JUDY MARKETING برمجة وتطوير ";
    bottom: 0;
    left: 0;
    text-align: center;
    color: #FFF;
    padding: 4px;
}