.woocommerce .page-description {
  margin-bottom:0;
}

.tgr-shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0 0 2rem;
}

.tgr-filter {
  position: relative;
  flex: 1 1 180px;
  min-width: 160px;
}

.tgr-filter__toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #000000;
  border-radius: 6px;
  padding: 0.65rem 0.9rem;
  background: #ffffff;
  text-align: left;
  font-weight: 600;
}

.tgr-filter__toggle:hover {
  background-color:#ffffff;
  border-color:#000000;
}

.tgr-filter__chevron {
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-bottom: 8px;
}

.tgr-filter.is-open .tgr-filter__chevron {
  transform: rotate(-135deg);
  margin-bottom: -4px;
}

.tgr-filter__badge {
  background: #111;
  color: #fff;
  border-radius: 999px;
  padding: 0 0.35rem;
  font-size: 0.75rem;
  line-height: 1.4;
  margin-left: auto;
  margin-right: 0.5rem;
}

.tgr-filter__panel {
  position: absolute;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #000000;
  border-radius: 8px;
  padding: 1rem;
  z-index: 100;
  display: none;
}

.tgr-filter.is-open button {
  border-bottom-left-radius:0;
  border-bottom-right-radius:0;
  border-bottom:0;
}

.tgr-filter.is-open .tgr-filter__panel {
  display: block;
  border-top-style: dashed;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.tgr-filter__panel button:hover {
  background-color: unset;
}

.tgr-filter__options {
  max-height: 240px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.tgr-filter__option {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  cursor:pointer;
  text-align: left;
  line-height: 1.3;
}

.tgr-filter__option input {
  margin:unset;
  flex: 0 0 30px;
}

.tgr-filter__clear {
  background: transparent;
  border: none;
  color: #000000;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
}

.tgr-filter__clear:hover {
  color: #111;
}

.tgr-shop-loop-bar {
  margin-bottom: 1rem;
}

.tgr-shop-grid {
  position: relative;
  min-height: 320px;
}

.tgr-shop-grid.is-loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.85);
  z-index: 3;
}

.tgr-shop-grid.is-loading::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 3px solid #d3d3d3;
  border-top-color: #111;
  border-radius: 50%;
  animation: tgrSpinner 0.8s linear infinite;
  z-index: 4;
}

@keyframes tgrSpinner {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 767px) {
  .tgr-filter {
    flex: 1 1 100%;
  }

  .tgr-filter__panel {
    position: static;
    box-shadow: none;
  }
}
