/* =========================================================
   WC Product Taxonomy – Frontend Styles
   ========================================================= */

/* ----------------------------------------------------------
   Product detail – single product page
   ---------------------------------------------------------- */

.wc-pt-product-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0 16px;
  background: #f8f8f8;
  border-radius: 8px;
}

.wc-pt-meta-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.9em;
  flex-wrap: wrap;
}

.wc-pt-meta-icon {
  display: inline-flex;
  align-items: center;
  color: #444;
  flex-shrink: 0;
}

.wc-pt-meta-icon svg {
  width: 15px;
  height: 15px;
}

.wc-pt-meta-label {
  font-weight: 600;
  color: #222;
  white-space: nowrap;
}

.wc-pt-meta-sep {
  color: #999;
  margin-right: 2px;
}

.wc-pt-meta-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.wc-pt-term-link {
  display: inline-block;
  padding: 3px 10px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 0.85em;
  color: #333;
  text-decoration: none;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
}

.wc-pt-term-link:hover {
  background: #c48c46;
  border-color: #c48c46;
  color: #fff;
  text-decoration: none;
}

/* ----------------------------------------------------------
   Filter widget – sidebar / shortcode
   ---------------------------------------------------------- */

.wc-pt-filter-widget {
  margin-bottom: 1.8em;
}

.wc-pt-filter-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid #222;
}

.wc-pt-filter-icon {
  display: inline-flex;
  align-items: center;
  color: #222;
}

.wc-pt-filter-icon svg {
  width: 16px;
  height: 16px;
}

.wc-pt-filter-title {
  margin: 0;
  font-size: 0.85em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #222;
}

.wc-pt-filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wc-pt-filter-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 10px;
  border-radius: 6px;
  color: #555;
  text-decoration: none;
  font-size: 0.9em;
  transition:
    background 0.15s,
    color 0.15s;
}

.wc-pt-filter-link:hover {
  background: #f0f0f0;
  color: #111;
  text-decoration: none;
}

.wc-pt-filter-link.is-active {
  background: #222;
  color: #fff;
  font-weight: 600;
}

.wc-pt-filter-link.is-active .wc-pt-filter-count {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.wc-pt-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  background: #eee;
  border-radius: 10px;
  font-size: 0.78em;
  color: #666;
  font-weight: 600;
  flex-shrink: 0;
}

.wc-pt-filter-group-label {
  gap: 6px;
}

.wc-pt-filter-pills {
  gap: 8px;
}

.wc-pt-pill {
  margin-right: 6px;
  margin-bottom: 6px;
}
