/* Add custom CSS styles below */ 
@media only screen and (width <= 10024px) {
    .desk-menu-like-mob.mm-ocd-opened .btn--close-sm {
        opacity: 1 !important;
        /* visibility: visible !important; */
        transform: translateY(0) !important;
        z-index: 99999999 !important;
        margin-left: 65px;
      background-color: white;
      color: red;
    }}


/*
  Compact category grid override for Jouri's Aali draft.
  Paste this at the VERY END of the existing custom CSS in Salla.
  Mobile: 3 columns, 84px circles. Desktop: 6 columns, 96px circles.
*/

body.index .categore_home {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px 8px !important;
  align-items: start !important;
  justify-items: center !important;
  overflow: visible !important;
}

/* If Aali wraps the category cards in Swiper, convert that inner wrapper to a grid too. */
body.index .categore_home .categore_home {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px 8px !important;
  width: 100% !important;
  height: auto !important;
  transform: none !important;
}

body.index .categore_home .categore_home {
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  display: flex !important;
  justify-content: center !important;
}

body.index .categore_home a {
  width: 100%;
  max-width: 126px;
  margin-inline: auto;
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
  justify-content: flex-start;
  gap: 6px !important;
  color: #2c2026;
  text-align: center !important;
  font-size: 12px !important;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

body.index .categore_home img {
  display: block;
  width: 84px !important;
  min-width: 84px !important;
  max-width: 84px !important;
  height: 84px !important;
  min-height: 84px !important;
  max-height: 84px !important;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(100, 52, 73, 0.14);
  border-radius: 50% !important;
  background: #f8f1ed;
  object-fit: cover !important;
  object-position: center;
  box-shadow: 0 3px 10px rgba(62, 31, 46, 0.08);
}

@media (min-width: 768px) {
  body.index .categ-wrapper,
  body.index .categore_home .swiper-wrapper {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 20px 14px !important;
  }

  body.index .categore_home img {
    width: 96px !important;
    min-width: 96px !important;
    max-width: 96px !important;
    height: 96px !important;
    min-height: 96px !important;
    max-height: 96px !important;
  }

  body.index .categore_home a { font-size: 14px !important; }
}