.browse-by-category.fullwidth {
  padding: 0 28px;
  max-width: 1440px;
  margin: auto;
}

.section:not(.xxxl-spacing-static, .xxl-spacing-static, .xl-spacing-static, .xxxl-spacing, .xxl-spacing, .xl-spacing,
.l-spacing, .m-spacing, .s-spacing, .xs-spacing, .xxs-spacing) .browse-by-category:first-child {
  padding-top: 60px;
}

.section:has(.template-x):not(.xxxl-spacing-static, .xxl-spacing-static, .xl-spacing-static, .xxxl-spacing, .xxl-spacing, .xl-spacing,
.l-spacing, .m-spacing, .s-spacing, .xs-spacing, .xxs-spacing) .browse-by-category.card.fullwidth:first-child {
  padding-top: 0px;
}

main .browse-by-category {
  margin: auto;
  max-width: 375px;
  word-wrap: initial;
}

main .browse-by-category .carousel-container .carousel-platform {
  align-items: start;
}

main .browse-by-category.card .carousel-container .carousel-platform {
  gap: 14px;
  margin: 6px 0 0 0;
  padding-left: 20px;
}

main .browse-by-category .carousel-container .button.carousel-arrow {
  position: absolute;
  top: 46px;
}

main .browse-by-category .browse-by-category-heading-section {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
}

main .browse-by-category .browse-by-category-heading-section .browse-by-category-heading {
  text-align: left;
  font-size: 28px;
  line-height: 30px;
}

main .browse-by-category .browse-by-category-sub-heading {
  text-align: left;
  font-size: 16px;
  line-height: 30px;
  padding-top: 5px;
  padding-left: 2px;
}

main .browse-by-category .browse-by-category-heading-section .browse-by-category-link-wrapper {
  margin: 8px 0 0;
}

main .browse-by-category .browse-by-category-link {
  font-size: 16px;
  line-height: 22px;
  display: flex;
  padding: 0;
  white-space: nowrap;
  width: max-content;
}

main .browse-by-category .browse-by-category-link::after {
  display: flex;
  width: 6px;
  height: 6px;
  border-top-width: 0;
  border-left-width: 0;
  border-bottom-width: 2px;
  border-right-width: 2px;
  border-style: solid;
  border-color: var(--color-info-accent);
  transform-origin: 75% 75%;
  transform: rotate(-45deg);
  content: "";
  margin-top: 5px;
  margin-left: 5px;
  margin-right: 2.25px;
}

main .browse-by-category:not(.card) .browse-by-category-card {
  position: relative;
  display: flex;
  gap: 8px;
  flex-direction: column;
  align-items: center;
  min-width: 123px;
  margin: 0;
  padding: 10px 8px 0 8px;
}

main .browse-by-category.card .browse-by-category-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

main .browse-by-category .browse-by-category-card-link {
  position: absolute;
  height: 100%;
  width: 100%;
}

main .browse-by-category:not(.card) .browse-by-category-card-link:hover ~ .browse-by-category-image-wrapper img {
  transform: scale(1.1) matrix(1, -0.07, 0.05, 1, 0, 0);
}

main .browse-by-category.card .browse-by-category-card-link:hover ~ .browse-by-category-image-wrapper img {
  transform: scale(1.1) matrix(1, -0.01, 0.01, 1, 0, 0);
}

main .browse-by-category .browse-by-category-image-wrapper {
  background-color: var(--color-gray-200);
  min-height: 90px;
  width: 148px;
  border-radius: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

main .browse-by-category:not(.card) .browse-by-category-image-wrapper img {
  display: block;
  object-fit: cover;
  width: 80px;
  height: 80px;
  transform: matrix(1, -0.07, 0.07, 1, 0, 0);
  box-shadow: 0 0 6px #0000001f;
  border-radius: 8px;
  opacity: 1;
  transition: transform 0.2s ease-in-out;
}

main .browse-by-category .browse-by-category-image-wrapper .browse-by-category-image-shadow {
  position: absolute;
  width: 76px;
  height: 76px;
  transform: matrix(0.97, -0.22, 0.22, 0.97, -6, 0);
  background: var(--color-gray-300) 0 0 no-repeat padding-box;
  border-radius: 10px;
  opacity: 1;
}

main .browse-by-category.card .browse-by-category-image-shadow-wrapper {
  display: block;
  object-fit: cover;
  transform: matrix(1, -0.07, 0.07, 1, 0, 0);
  border-radius: 8px;
  opacity: 1;
  transition: transform 0.2s ease-in-out;
}

main .browse-by-category.card .browse-by-category-image-wrapper {
  background-color: #f8f8f8;
  min-height: 90px;
  height: 116px;
  width: 182px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

main .browse-by-category.card .browse-by-category-image-wrapper img {
  display: block;
  object-fit: contain;
  width: fit-content;
  max-width: 110px;
  max-height: 97px;
  transform: matrix(1, -0.01, 0.01, 1, 0, 0);
  box-shadow: 0 0 6px #0000001f;
  border-radius: 8px;
  opacity: 1;
  transition: transform 0.2s ease-in-out;
}

main .browse-by-category.card .browse-by-category-image-wrapper .browse-by-category-image-shadow {
  position: absolute;
  width: 100%;
  height: 100%;
  transform: matrix(0.90, -0.18, 0.20, 0.90, -14, 0);
  background: #d6d6d6e5;
}

main .browse-by-category:not(.card) .browse-by-category-card-title {
  margin: 0;
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  max-width: 148px;
  text-align: center;
}

main .browse-by-category.card .browse-by-category-card-title {
  margin: 6px 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  align-self: start;
}

@media (min-width: 900px) {
  main .browse-by-category .browse-by-category-heading-section {
    flex-direction: row;
  }

  main .browse-by-category {
    max-width: 830px
  }
}

@media (min-width: 1200px) {
  main .browse-by-category {
    max-width: 1024px
  }
}
