/* 唐莊嚴 v2.0.10 — WooCommerce parent/child category navigator */
.tzyh-wc-cat-switcher{
  width:min(1180px,calc(100% - 48px));
  margin:22px auto 34px;
  padding:22px 24px 20px;
  background:#FCF9F5;
  border-top:2px solid #B89B50;
  border-bottom:1px solid #DED3C4;
}
.tzyh-wc-cat-kicker{
  display:block;
  margin-bottom:11px;
  color:#A32B26;
  font-size:9px;
  font-weight:700;
  letter-spacing:.22em;
}
.tzyh-wc-cat-links{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px 10px;
  font-family:"Noto Serif TC","Microsoft JhengHei",serif;
}
.tzyh-wc-cat-links a{
  color:#291107;
  font-size:14px;
  line-height:1.5;
  text-decoration:none;
  transition:color .2s ease,background .2s ease,border-color .2s ease;
}
.tzyh-wc-cat-links a:hover{color:#A32B26;}
.tzyh-wc-cat-links .tzyh-wc-cat-parent{
  padding:7px 12px;
  color:#fff;
  background:#291107;
  border:1px solid #291107;
  font-weight:600;
}
.tzyh-wc-cat-links .tzyh-wc-cat-child{
  padding:7px 10px;
  border:1px solid transparent;
}
.tzyh-wc-cat-links a.is-current{
  color:#fff;
  background:#B89B50;
  border-color:#B89B50;
}
.tzyh-wc-cat-sep{color:#C9BCA9;font-size:12px;}
.tzyh-wc-cat-note{
  margin:12px 0 0;
  color:#786B61;
  font-size:11px;
  line-height:1.7;
}

/* Product titles remain unmistakably clickable on WoodMart product archives. */
body.tax-product_cat .product-grid-item .wd-entities-title a,
body.tax-product_cat .product-grid-item .product-title a,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title a{
  cursor:pointer;
}

@media(max-width:767px){
  .tzyh-wc-cat-switcher{
    width:calc(100% - 24px);
    margin:14px auto 24px;
    padding:16px 14px;
    overflow:hidden;
  }
  .tzyh-wc-cat-links{
    flex-wrap:nowrap;
    overflow-x:auto;
    padding-bottom:4px;
    scrollbar-width:none;
  }
  .tzyh-wc-cat-links::-webkit-scrollbar{display:none;}
  .tzyh-wc-cat-links a,.tzyh-wc-cat-sep{flex:0 0 auto;}
  .tzyh-wc-cat-note{font-size:10px;}
}
