/* Marketplace / products listing (Elementor + shop) */

.ggce-shop-elementor .ggce-shop-section {
  padding-top: 0;
}

.ggce-shop-section__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 48px;
}

.ggce-shop-section__head .market-filters {
  margin-bottom: 0;
  justify-content: flex-end;
}

.ggce-shop-intro {
  font-size: 12px;
  color: var(--stone);
  line-height: 1.9;
  max-width: 520px;
  margin-top: 12px;
}

.ggce-shop-elementor .product-grid--cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.ggce-shop-elementor .product-grid--cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.ggce-shop-elementor .product-grid--cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.ggce-shop-elementor .product-grid--cols-1 {
  grid-template-columns: 1fr;
}

.ggce-shop-section .product-name a,
.ggce-shop-elementor .product-name a {
  color: var(--ivory);
  text-decoration: none;
  transition: color 0.25s;
}

.ggce-shop-section .product-name a:hover,
.ggce-shop-elementor .product-name a:hover {
  color: var(--gold);
}

.ggce-shop-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--stone);
  padding: 48px 24px;
}

.ggce-shop-pagination {
  margin-top: 40px;
  text-align: center;
}

.ggce-shop-pagination .page-numbers {
  display: inline-flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ggce-shop-pagination .page-numbers li {
  list-style: none;
}

.ggce-shop-pagination a,
.ggce-shop-pagination span {
  display: inline-block;
  min-width: 36px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  color: var(--stone);
  text-decoration: none;
  font-size: 11px;
}

.ggce-shop-pagination a:hover,
.ggce-shop-pagination .current {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.market-filters .filter-btn {
  text-decoration: none;
  display: inline-block;
}

@media (max-width: 1024px) {
  .ggce-shop-elementor .product-grid--cols-4,
  .ggce-shop-elementor .product-grid--cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .ggce-shop-elementor .product-grid--cols-4,
  .ggce-shop-elementor .product-grid--cols-3,
  .ggce-shop-elementor .product-grid--cols-2 {
    grid-template-columns: 1fr;
  }

  .ggce-shop-section__head {
    flex-direction: column;
  }

  .ggce-shop-section__head .market-filters {
    justify-content: flex-start;
  }
}
