/* Desktop styles */
@media screen and (min-width: 750px) {
  .products .product-card-block-item {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .tabs-title {
    font-size: var(--tabs-title-size);
  }

  .litabs:hover {
    box-shadow:
      0 2px 4px rgba(0, 0, 0, 0.12),
      0 0 6px rgba(0, 0, 0, 0.04);
    border-radius: 7px;
  }

  .litabs .product__title,
  .litabs h3,
  .litabs .price {
    padding: 0 12px;
  }

  .tab:hover {
    background-color: var(--background-color);
    color: var(--active-color);
  }

  .litabs .card-wrapper-tag {
    margin-bottom: 15px;
    padding: 0 2px;
  }
}

/* Tabs container */
.tabs {
  list-style: none;
  margin: 0 0 20px;
  position: relative;
  padding: 0;
  max-height: 60px;
  transition: all 0.2s;
  display: grid;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* Tabs title */
.tabs-title {
  text-align: center;
  color: var(--tabs-title-color);
  font-size: 40px;
  margin-bottom: var(--tabs-title-mb);
}

/* Tab items */
.tab {
  padding: 10px 20px;
  cursor: pointer;
  background-color: var(--label-bg);
  color: var(--label-color);
  flex: 1;
  font-size: 18px;
  text-align: center;
}

.tab.active {
  background-color: var(--active-bg);
  color: var(--active-color);
}

/* Tab content */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Products grid */
.products {
  list-style: none;
  padding: 0;
  gap: 15px;
  display: grid;
}

.litabs {
  transition: all 0.3s;
}

.product {
  flex: 1 1 calc(33.333% - 10px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 10px;
  text-align: center;
}

.products .animation-delay-show-container .product__title {
  margin-top: 8px;
}

.products .product-card-block-item {
  background: initial;
  text-decoration: none;
  margin-top: 0px;
  padding: 0 2px;
}

.products .product-card-block-item .price-item--sale,
.products .product-card-block-item .price-item--regular {
  color: #ce2226;
}

.products .product-card-block-item .price__sale .price-item--regular {
  color: #0006;
  text-decoration: line-through;
}

@media screen and (max-width: 750px) {
  .tabs-title {
    font-size: var(--tabs-title-m-size);
  }

  .litabs {
    border-radius: 6px;
    overflow: hidden;
  }

  .tab {
    flex: 1;
    display: inline-block;
    padding: 10px 15px;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
  }

  .tabs-title {
    font-size: 20px;
  }

  .tabs {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .tabs::-webkit-scrollbar {
    display: none;
  }

  .products .product-card-block-item {
    padding: 0;
    margin: 2px 0px;
    line-height: 19px;
  }

  .products .product-card-block-item {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box !important;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
  }
}

/* Skeleton loading */
.load-sentinel {
  width: 100%;
  visibility: hidden;
  height: 1px;
}
.load-sentinel.active {
  visibility: visible;
  height: auto;
}
/* .skeleton-list {
  display: grid;
  grid-template-columns: repeat(var(--grid-column-mobile), 1fr);
  gap: 15px;
  padding: 0;
  list-style: none;
}
@media screen and (min-width: 750px) {
  .skeleton-list {
    grid-template-columns: repeat(var(--grid-column-desktop), 1fr);
  }
} */
.skeleton-item {
  padding: 8px;
}
.skeleton-image {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 4px;
}
.skeleton-title {
  height: 16px;
  width: 80%;
  margin-top: 8px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 4px;
}
.skeleton-price {
  height: 14px;
  width: 50%;
  margin-top: 8px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 4px;
}
@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Load more button */
.load-more-btn {
  padding: calc(var(--button-border-thickness) + 9px)
    calc(var(--button-border-thickness) + 18px);
  background-color: rgb(var(--color-button-background));
  color: rgb(var(--color-button-text));
  border: none;
  border-radius: var(--button-border-radius);
  cursor: pointer;
  font-size: var(--body2-font-size);
  transition: opacity 0.2s;
}
.load-more-btn:hover {
  opacity: 0.9;
}
.load-more-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
