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

.body--footer-wrapper.footer-wrapper .store-footer__inner {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    --color-primary: var(--footer-text);
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
}








.jm-gallery {
  background: transparent;
  padding: 40px 90px;
}

.jm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 266px;
  gap: 20px;
  width: 90%;
  margin: auto;
  direction: ltr;
}

/* الكروت */
.jm-card {
  position: relative;
  border-radius: 25px;
  overflow: hidden;
  background: #111;

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

.jm-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #f6f1e6;
}

/* الأحجام */
.jm-big {
  grid-row: span 2;
}

.jm-wide {
  grid-column: span 2;
}

/* النصوص */
.jm-overlay {
  position: absolute;
  bottom: 20px;
  right: 20px;
  color: #fff;
}

.jm-overlay h2 {
  background: rgba(0,0,0,0.6);
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 20px;
  line-height: 1.5;
}

.jm-center {
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
}

.jm-text {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #333;
  font-size: 14px;
}

/* موبايل */
@media (max-width: 768px) {
  .jm-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .jm-big,
  .jm-wide {
    grid-column: span 1;
    grid-row: span 1;
  }
}

@media (max-width: 576px) {
  .jm-gallery {
    display: none !important;
  }
}










section.s-block.s-block--logos-slider .grid.grid-cols-4.lg\:grid-cols-8.grid-flow-row.gap-2.lg\:gap-4 {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;

    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
}

/* كل البراندات داخل السكشن ده فقط */
section.s-block.s-block--logos-slider .grid > a.brand-item {
    display: flex !important;

    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;

    align-items: center;
    justify-content: center;

    padding: 10px;
    border-radius: 12px;
}

/* الصور */
section.s-block.s-block--logos-slider .grid > a.brand-item img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

/* لو فيه سلايدر أو hidden من JS */
section.s-block.s-block--logos-slider * {
    animation: none !important;
}