@charset "UTF-8";
html#ecwid_html body#ecwid_body .ec-size .ec-store .ec-page-title + .ec-grid {
  display: flex !important;
  flex-direction: column;
}

html#ecwid_html body#ecwid_body .ec-size .ec-store .ec-page-title + .ec-grid .grid__categories {
  order: 2;
}

html#ecwid_html body#ecwid_body .ec-size .ec-store .grid__wrap .grid__products {
  order: 1;
}

/* DESKTOP — 4 collection categories per row */
.ec-size .ec-store .grid__categories .grid-category {
  width: 25% !important;
}

/* PHONE — 3 collection categories per row */
@media screen and (max-width: 600px) {
  .ec-size .ec-store .grid__categories .grid-category {
    width: 33.333% !important;
  }
  /* Collection names on phone */
  .grid-category__title,
.grid-category__title-inner,
.grid-category__title-inner span {
    font-size: 12px !important;
    line-height: 1.2 !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }
}

/* Fix collection names on mobile */
@media screen and (max-width: 600px) {
  .grid-category__title,
.grid-category__title-inner,
.grid-category__title-inner span {
    font-size: 11px !important;
    line-height: 1.15 !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }
}

/* Make collection pictures uniform on phone */
@media screen and (max-width: 600px) {
  .grid-category__image {
    aspect-ratio: 3 / 4 !important;
    overflow: hidden !important;
  }
  .grid-category__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}
