* { box-sizing: border-box; }
body {margin: 0;}
/* ===== 本畫布自訂 CSS（畫布層） ===== */
/* css/_products.css */
.tpl-product-list .tpl-filter-search001.tpl-model.template-wrapper .product-filter {
  margin-bottom: clamp(28px, 3vw, 48px);
  padding: clamp(20px, 2.2vw, 32px);
  border: 1px solid #dcdcdc;
  background: #ffffff;
  box-shadow: inset 0 3px 0 var(--ColorPrimary, #b3540f);
}
.tpl-product-list .tpl-filter-search001.tpl-model.template-wrapper .product-filter-title {
  margin-bottom: 8px;
  font-size: clamp(20px, 1.5vw, 24px);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.tpl-product-list .tpl-filter-search001.tpl-model.template-wrapper .filter-row {
  position: relative;
  display: block;
  min-width: 0;
  margin: 0;
  padding: 18px 0 18px 126px;
  border: 0;
  border-bottom: 1px solid #dcdcdc;
}
.tpl-product-list .tpl-filter-search001.tpl-model.template-wrapper .filter-label {
  position: absolute;
  top: 18px;
  left: 0;
  width: 110px;
  font-weight: 700;
  line-height: 1.6;
}
.tpl-product-list .tpl-filter-search001.tpl-model.template-wrapper .filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.tpl-product-list .tpl-filter-search001.tpl-model.template-wrapper .filter-option {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  min-height: 28px;
  color: var(--TextColorSecondary, #5e5e5e);
  line-height: 1.6;
  cursor: pointer;
}
.tpl-product-list .tpl-filter-search001.tpl-model.template-wrapper .filter-option input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--ColorPrimary, #b3540f);
  cursor: pointer;
}
.tpl-product-list .tpl-filter-search001.tpl-model.template-wrapper .filter-option:has(input:checked) {
  color: var(--TextColorPrimary, #2a2a2a);
  font-weight: 500;
}
.tpl-product-list .tpl-filter-search001.tpl-model.template-wrapper .product-filter-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  padding-top: 24px;
}
.tpl-product-list .tpl-filter-search001.tpl-model.template-wrapper .product-filter-actions .btn-group {
  gap: 12px;
}
.tpl-product-list .tpl-filter-search001.tpl-model.template-wrapper .product-filter-actions .btn-link {
  width: 168px;
  height: 48px;
  margin-top: 0;
  cursor: pointer;
}
.tpl-product-list .tpl-filter-search001.tpl-model.template-wrapper .product-filter-summary {
  margin-right: auto;
  color: var(--TextColorSecondary, #5e5e5e);
}
@media (max-width: 767px) {
.tpl-product-list .tpl-filter-search001.tpl-model.template-wrapper .product-filter {
    padding: 20px 18px;
  }
.tpl-product-list .tpl-filter-search001.tpl-model.template-wrapper .filter-row {
    padding: 16px 0;
  }
.tpl-product-list .tpl-filter-search001.tpl-model.template-wrapper .filter-label {
    position: static;
    width: auto;
    margin-bottom: 10px;
  }
.tpl-product-list .tpl-filter-search001.tpl-model.template-wrapper .filter-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
  }
.tpl-product-list .tpl-filter-search001.tpl-model.template-wrapper .product-filter-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }
.tpl-product-list .tpl-filter-search001.tpl-model.template-wrapper .product-filter-actions .btn-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.tpl-product-list .tpl-filter-search001.tpl-model.template-wrapper .product-filter-actions .btn-link {
    width: 100%;
  }
.tpl-product-list .tpl-filter-search001.tpl-model.template-wrapper .product-filter-summary {
    margin-right: 0;
  }
}
@media (max-width: 650px) {
.tpl-product-list .tpl-filter-search001.tpl-model.template-wrapper .filter-options {
    grid-template-columns: minmax(0, 1fr);
  }
}