@import url('https://fonts.googleapis.com/css2?family=Lemonada:wght@300..700&display=swap') !important;



.s-block {
    margin-top: 0REM;
    PADDING-BOTTOM: 2REM;
}

.banner--fixed img {
    border-radius: 0rem;
}
.top-navbar 
{ padding-bottom: .375rem; padding-top: .375rem; background: #D67933; color: white; }
.top-navbar .s-search-input { background-color: white; border-style: none; }







/* ===============================
   GRID CENTER + RESPONSIVE
================================= */

section:nth-of-type(2) .md\:grid-cols-3 {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 220px));
    justify-content: center; /* يخلي العناصر في النص */
    align-items: center;
    gap: 15px;
    margin: 0 auto;
    max-width: 1300px;
}

/* ===============================
   MOBILE
================================= */
@media (max-width: 767px) {
    section:nth-of-type(2) .md\:grid-cols-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: center;
        gap: 10px;
    }

    section:nth-of-type(2) .banner-entry {
        height: 130px !important;
        background-color: transparent;
    }
}

/* ===============================
   TABLET
================================= */
@media (min-width: 768px) and (max-width: 1023px) {
    section:nth-of-type(2) .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-content: center;
        gap: 15px;
    }

    section:nth-of-type(2) .banner-entry {
        height: 180px;
    }
}

/* ===============================
   DESKTOP
================================= */
@media (min-width: 1024px) {
    section:nth-of-type(2) .md\:grid-cols-3 {
        grid-template-columns: repeat(5, minmax(0, 220px));
        justify-content: center;
        gap: 20px;
    }

    section:nth-of-type(2) .banner-entry {
        position: relative;
        height: 300px;
        overflow: hidden;
        border-radius: 8px;
        background-color: transparent;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        padding: 12px;
        text-align: center;
        color: #fff;

        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/* ===============================
   SPECIAL FIRST BANNER (لو عندك Two Row)
================================= */
@media (min-width: 768px) {
    section:nth-of-type(2) .two-row .banner-entry:first-child {
        height: 88%;
    }
}
@media (max-width: 768px) {

  section:nth-of-type(2) .banner-entry {
        height: 150px !important;
    }
}




section:nth-of-type(2) .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 220px));
        justify-content: center;
        gap: 20px;
    }



.footer-is-light .store-footer .store-footer__inner {
    --tw-border-opacity: 1;
    border-bottom-color: #e5e7eb;
    border-bottom-color: rgba(229, 231, 235, var(--tw-border-opacity, 1));
    --tw-bg-opacity: 1;
    background-color: #f3f4f6;
    /* background-color: red; */
    background: url(https://i.ibb.co/BFt8fGJ/Vector-2.png);
    background-size: cover;
    color: white;
    padding-top: 106px;
}


footer{    background-color: white;
}


@media (min-width: 1024px) {

.s-slider-block__title h2 {
    position: relative;
    font-size: 52px;
    line-height: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    color: #6E412E !important;
}



}

@media (max-width: 768px) {
.s-slider-block__title h2 {
    position: relative;
    font-size: 20px;
    line-height: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    color: #6E412E !important;
}


}



/* Salla Raed Theme - Primary Color */

:root {
  --color-primary: #6E412E !important;
  --color-primary-dark: #563123 !important;
  --color-primary-light: #95644D !important;
  --color-primary-reverse: #FFFFFF !important;
}

/* Primary backgrounds */
.bg-primary,
.btn-primary,
.s-button-primary {
  background-color: #6E412E !important;
  color: #FFFFFF !important;
}

/* Primary text */
.text-primary,
.product-price,
a.text-primary {
  color: #6E412E !important;
}

/* Primary borders */
.border-primary {
  border-color: #6E412E !important;
}

/* Button hover */
.btn-primary:hover,
.s-button-primary:hover {
  background-color: #563123 !important;
}



custom-salla-product-card.s-product-card-entry {
  border: 3px solid transparent !important;
  border-radius: 16px !important;
  background:
    linear-gradient(#FFFFFF, #FFFFFF) padding-box,
    linear-gradient(
      180deg,
      #6E412E 0%,
      #F8F8F8 100%
    ) border-box !important;
  overflow: hidden;
}

/* Website Background */
html,
body,
body.store-home {
  background-color: #FBF4F3 !important;
}

/* Main Sections Background */
main,
.store-content,
.s-block {
  background-color: #FBF4F3 !important;
}
    .s-product-card-content {
        padding: 1.25rem;
        background: #FBF4F3 !important;
    }


custom-salla-product-card.s-product-card-entry {
  background-color: #FFFFFF !important;
}

custom-salla-product-card.s-product-card-entry {
  border: 3px solid transparent !important;
  border-radius: 16px !important;
  background:
    linear-gradient(#FBF4F3, #FBF4F3) padding-box,
    linear-gradient(
      180deg,
      #6E412E 0%,
      #F8F8F8 100%
    ) border-box !important;
  overflow: hidden;
}
.banner--fixed img {
    border-radius: 0rem;
    background: transparent;
}/*----------start slider -----------*/
.s-block--photos-slider {
    margin-top: 0 !important;
}

.swiper {
    padding-left: 0 !important;
}

salla-slider.photos-slider .swiper-slide {
    position: relative;
    margin-left: 1.1rem;
    margin-right: 0.5rem;
    height: auto;
    width: 100%;
    overflow: hidden;
    padding-left: 0;
    padding-right: 0;
}


/*----------end slider -----------*/

.footer-is-light .store-footer .store-footer__inner {
    --tw-border-opacity: 1;
    border-bottom-color: #e5e7eb;
    border-bottom-color: rgba(229, 231, 235, var(--tw-border-opacity, 1));
    --tw-bg-opacity: 1;
    background-color: #f3f4f6;
    /* background-color: red; */
    background: #FBF4F3;
    background-size: cover;
    color: #6E412E;
    padding-top: 106px;
}.footer-is-light .store-footer {
    --tw-bg-opacity: 1;
    background-color: #f9fafb;
    background-color: transparent;
    --tw-text-opacity: 1;
    color: #374151;
    color: rgba(55, 65, 81, var(--tw-text-opacity, 1));
}
.bg-inherit {
    background-color: #FBF4F3;
}

















.section-heading {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px; /* المسافة بين العنوان والأقسام */
  color: #333;
}

/* تنسيق الحاوية التي تحتوي على الفئات */
.categories-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center; /* محاذاة العناصر في المنتصف */
}

/* باقي التنسيقات كما هي */
.category-item {
  flex: 1 1 calc(20% - 40px);
  max-width: 200px;
  box-shadow: none !important;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.category-item a {
  display: block;
  text-align: center;
  padding: 10px;
}

.category-item img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 0;
}

.category-item:hover {
  transform: scale(1.05);
  box-shadow: none;
}

@media (max-width: 768px) {
  .category-item {
    flex: 1 1 calc(50% - 20px);
  }


  
  .categories-section .section-heading {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    color: #138794;
    font-weight: 700;
    line-height: 100%;
    padding-top: 0;
}
  .categories-section .categories-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 10px
  }

  .categories-section .categories-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    padding-right: 10px;
    padding-left: 10px;
}
}

@media (max-width: 480px) {
  .category-item {
    flex: 1 1 100%;
  }


  
}
.section-heading {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 48px;
    color: #333;
    PADDING-TOP: 64PX;
}
.categories-container {
    display: flex;
    flex-wrap: inherit;
    gap: 3px;
    justify-content: space-evenly;
}

.boxItem {
    position: relative;
    width: calc(50% - 10px);
    height: auto;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    background-color: white;
    transition: transform 0.3s ease;
}

.categories-section {    background: white;}
.category-item {
    flex: 1 1 calc(20% - 40px);
    max-width: 300px;
    box-shadow: none !important;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}.categories-container {
    display: flex;
    flex-wrap: inherit;
    gap: 3px;
    justify-content: center !important;
}





  .categories-section .categories-container {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    padding-right: 135.1px;
    padding-left: 135.1px;
}.categories-section .section-heading {
    text-align: center;
    font-size: 55px;
    font-weight: 700;
    margin: 0 0 20px;
    color: #138794;
    font-weight: 700;
    line-height: 150%;
}


.categories-section {
    background: transparent;
}

.categories-section .section-heading {
    text-align: center;
    font-size: 25px;
    font-weight: 700;
    margin: 0 0 20px;
    color: #6E412E;
    font-weight: bolder;
    line-height: 150%;
    font-style: italic;
}@media (max-width: 768px) {

 .categories-section .categories-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    padding-right: 10px;
    padding-left: 10px;
}}



.navbar-brand img {
    max-height: 5rem;
    max-width: 100px;
    width: auto;
}


@media (min-width: 480px) {
    .navbar-brand img {
        max-width: 202px;
    }
}


/* Nakhati Footer Logo */
footer a[href="https://nakhate.com/ar/"]:has(h3)::before {
    content: "";
    display: block;
    width: 150px;
    height: 100px;
    background-image: url("https://cdn.files.salla.network/other/734325651/a8f009cf-a74f-4609-b56c-4e752a39be8f-original.webp");
    background-size: contain;
    background-position: right center;
    background-repeat: no-repeat;
    margin-bottom: 12px;
}

footer a[href="https://nakhate.com/ar/"]:has(h3) {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

footer a[href="https://nakhate.com/ar/"]:has(h3)::before {
    width: 178px;
    height: 100px;
    background-image: url(https://cdn.files.salla.network/other/734325651/a8f009cf-a74f-4609-b56c-4e752a39be8f-original.webp);
    background-size: contain;
    background-repeat: no-repeat;
    margin-bottom: 12px;
}