.product-listing {
  padding: 2rem 0;
}

.filter-bar {
  margin-bottom: 0;
  padding-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.filter-section-title {
  font-size: 19px !important;
  font-weight: 600;
  color: #1a1a1a;
}

.hashtag-header {
  display: flex;
  align-items: center;
}

.hashtag-toggle {
  font-size: 19px;
  font-weight: 600;
  color: #1a1a1a;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
.hashtag-buttons .filter-btn { visibility: hidden; }
.hashtag-buttons .filter-btn.ready { visibility: visible; }
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hashtag-buttons {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height 0.4s ease, opacity 0.35s ease, transform 0.35s ease;
  margin-top: 0;
}

.hashtag-buttons.open {
  opacity: 1;
  transform: translateY(0);
  margin-top: 8px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 15px !important;
  color: #1a1a1a;
  background: #ffffff;
  border: 1px solid #d0d0d0;
  border-radius: 20px;
  padding: 6px 14px;
  cursor: pointer;
  transition: all 0.15s;
}

.filter-btn:hover {
  border-color: #888;
}

.filter-btn.active {
  background: var(--active-color);
  color: #ffffff;
  border-color: var(--active-color);
}

.filter-btn .plus {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.product-grid {
  display: grid;
  gap: 16px;
  margin-top: 2rem;
}

.product-listing[data-columns="3"] .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-listing[data-columns="4"] .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  display: block;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  text-decoration: none;
  outline: none;
  color: inherit;
}

.product-card,
.product-card:hover,
.product-card:visited,
.product-card:focus {
  text-decoration: none;
  outline: none;
  color: inherit;
}

.product-card:hover * {
  text-decoration: none !important;
  border-bottom: none !important;
}

a.product-card,
a.product-card:hover {
  text-decoration: none !important;
  -webkit-text-decoration: none !important;
}

.product-card__img {
  width: 100%;
  aspect-ratio: 1;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.badge-g2b {
  position: absolute;
  top: 10px;
  right: 10px;
  width: var(--g2b-size) !important;
  max-width: var(--g2b-size) !important;
  height: auto !important;
}

.product-card__img img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

.product-card__body {
  padding: 10px 12px 12px;
}

.product-card__cat {
  display: inline-block;
  font-size: 11px;
  color: #1a1a1a;
  background: #f1f1f1;
  border-radius: 12px;
  padding: 4px 8px;
  margin-bottom: 4px;
}

.product-card__name {
  font-size: var(--name-size);
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 4px;
  line-height: 1.5;
}

.product-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 9px;
}

.product-card__specs .spec {
  font-size: 14px;
  color: #666;
}

.product-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.product-card__tags .tag {
  font-size: 11px;
  color: #1a1a1a;
  background: #E6F1FB;
  border-radius: 4px;
  padding: 2px 7px;
}

.load-more-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 2rem;
  padding-bottom: 1.5rem;
  gap: 8px;
}

.btn-load-more {
  font-size: 16px;
  font-weight: 500;
  color: #1a1a1a;
  background: transparent;
  border: none;
  padding: 14px 8px;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.15s;
}
.btn-load-more:hover { opacity: 0.6; }

@media (max-width: 1024px) {
  .product-listing[data-columns="4"] .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));S
  }
}

@media (max-width: 768px) {
  .filter-bar {padding-bottom: 0;}
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)); 
  }
  .filter-section-title { font-size: 15px !important; }
  .hashtag-toggle { font-size: 15px; }
  .filter-btn { font-size: 13px !important; padding: 5px 12px; }
  .product-card { border-radius: 12px; }
  .product-card__name { font-size: 13px; }
  .product-card__specs .spec { font-size: 12px; }
 .product-card:hover { box-shadow: none !important; transform: none !important; border-color: #e8e8e8 !important; }
  .product-card:active { box-shadow: 0 8px 32px rgba(0,0,0,0.1) !important; transform: translateY(-2px) !important; border-color: transparent !important; }
  .product-card.no-hover { box-shadow: none !important; transform: none !important; border-color: #e8e8e8 !important; }
}