/* Add custom CSS styles below */ 
.s-block {
    margin-top: 0REM;
    PADDING-BOTTOM: 2REM;
}

.top-navbar 
{ padding-bottom: .375rem; padding-top: .375rem; background: #22293B; 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;
    }
}

/* تنسيق العنوان الرئيسي داخل القسم */
.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;
  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);
}

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

@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: #f7d8e9;
    transition: transform 0.3s ease;
}

.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: #22293B;
    color: white;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}
/* Track */
::-webkit-scrollbar-track {
  background: #fff;
}
/* Handle */
::-webkit-scrollbar-thumb {
  background: #004b7c;
}