/* Shop preview only: native WooCommerce loop and pagination remain untouched. */
.nodosbyg-shop-preview .nodos-shop-preview-editorial {
  max-width: 1240px;
  margin: 0 auto 2.5rem;
  padding: 0 1.25rem;
}

.nodosbyg-shop-preview .nodos-shop-preview-intro {
  max-width: 46rem;
  margin-bottom: 1.5rem;
}

.nodosbyg-shop-preview .nodos-shop-preview-intro p {
  margin: 0;
}

.nodosbyg-shop-preview .nodos-shop-category-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}

.nodosbyg-shop-preview .nodos-shop-category-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .55rem 1rem;
  border: 1px solid currentColor;
  color: inherit;
  text-decoration: none;
}

.nodosbyg-shop-preview .nodos-shop-category-link:hover,
.nodosbyg-shop-preview .nodos-shop-category-link:focus-visible {
  background: #111;
  color: #fff;
}

@media (max-width: 767px) {
  .nodosbyg-shop-preview ul.products > li.product {
    min-height: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
}

@media (max-width: 479px) {
  .nodosbyg-shop-preview .nodos-shop-preview-editorial {
    padding: 0 1rem;
  }

  .nodosbyg-shop-preview .nodos-shop-category-shortcuts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nodosbyg-shop-preview .nodos-shop-category-link {
    justify-content: center;
    min-width: 0;
    padding-inline: .5rem;
  }
}
