.category-card__list {
  display: flex;
  flex-wrap: wrap;
  margin-right: -1px; }

.category-card__wrap {
  border: 1px solid #e4e4e4;
  aspect-ratio: 1;
  border-radius: 8px;
  padding: 8px;
  transition: all ease .3s; }
  @media (max-width: 1099px) {
    .category-card__wrap {
      width: calc(100% / 1);
      height: 324px;
      padding: 0;
      overflow: hidden;
      border-radius: 8px; } }
  @media (min-width: 1100px) {
    .category-card__wrap:hover {
      cursor: pointer;
      box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.25); } }
  .category-card__wrap-all {
    padding: 0px; }

.category-card__item {
  width: 100%;
  height: 100%;
  padding: 20px;
  padding-bottom: 30px;
  position: relative;
  background-color: #FFF;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  gap: 15px; }
  @media (max-width: 1099px) {
    .category-card__item {
      padding: 20px; } }
  .category-card__item--v2 {
    background-color: transparent; }
    .category-card__item--v2 .index-category__title {
      color: #fff; }
    .category-card__item--v2 .index-category__image {
      position: absolute;
      inset: 0; }
      .category-card__item--v2 .index-category__image img {
        width: 100%;
        height: 100%;
        object-fit: cover; }
      @media (max-width: 1249px) {
        .category-card__item--v2 .index-category__image {
          height: auto; } }
    .category-card__item--v2 .index-category__title {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0px;
      display: flex;
      justify-content: center;
      padding: 25px; }
      .category-card__item--v2 .index-category__title * {
        position: relative;
        z-index: 2; }
      .category-card__item--v2 .index-category__title:before {
        position: absolute;
        content: "";
        inset: 0;
        background: linear-gradient(0deg, rgba(34, 34, 34, 0.6) 0%, rgba(34, 34, 34, 0) 100%); }
    .category-card__item--v2 .lazy-img {
      transition: all 0.3s ease;
      transform: scale(1.005); }
    @media (min-width: 1100px) {
      .category-card__item--v2:hover {
        cursor: pointer; }
        .category-card__item--v2:hover .lazy-img {
          transform: scale(1.05); } }

.category-card__image {
  width: 100%;
  flex-grow: 1;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding-bottom: 75%; }
  @media (max-width: 1099px) {
    .category-card__image {
      padding-bottom: 0;
      height: 224px; } }
  .category-card__image .lazy-img-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0; }
  .category-card__image img {
    max-height: 100%;
    max-width: 100%; }

.category-card__title {
  color: #2B2A29;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600; }

.category-card__icon {
  width: 40px;
  height: 40px;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  transform: rotate(-90deg); }
  .category-card__icon .icon {
    fill: var(--theme-base-color); }

.category-card__bg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-position: center;
  background-repeat: no-repeat; }
  .category-card__bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0; }
    .category-card__bg-image img {
      width: 100%;
      height: 100%;
      object-fit: cover; }

.category-card .index-category__item-all {
  position: relative;
  background: linear-gradient(226.55deg, rgba(var(--theme-base-color-rgba), 0.6) 2.61%, rgba(var(--theme-base-accent-color-rgba), 0.6) 66.86%), var(--theme-base-color);
  background-position: 100% 0px;
  background-size: 300%;
  transition: all 0.3s ease; }
  .category-card .index-category__item-all a {
    color: #fff; }
    @media (min-width: 1024px) {
      .category-card .index-category__item-all a:hover {
        color: #fff; } }
  @media (min-width: 1100px) {
    .category-card .index-category__item-all:hover {
      cursor: pointer;
      background-size: 100%; } }
  .category-card .index-category__item-all:after {
    position: absolute;
    content: attr(data-content);
    text-transform: uppercase;
    font-size: 128px;
    color: #fff;
    opacity: 0.1; }

@media (max-width: 1099px) {
  .category-card--index {
    display: none; } }
