/* Quatang.me product category — built with WooCommerce hooks, no parent overrides. */
.tax-product_cat .shop-page-title { display: none; }
.tax-product_cat .shop-container { padding-top: 14px; }
.qt-catalog-hero { position: relative; min-height: 235px; display: flex; align-items: center; margin-bottom: 18px; padding: 28px 34px; overflow: hidden; border-radius: 12px; background: #eefaf7 center / cover no-repeat; }
.qt-catalog-hero-copy { width: 52%; }
.qt-catalog-hero h1 { margin: 0 0 8px; font-size: 38px; line-height: 1.05; }
.qt-catalog-hero-copy > p:not(.qt-eyebrow) { margin-bottom: 24px; font-size: 16px; }
.qt-catalog-benefits { display: flex; gap: 22px; color: var(--qt-navy); font-size: 12px; font-weight: 700; }
.qt-catalog-benefits span { display: inline-flex; gap: 6px; align-items: center; }
.qt-catalog-chips { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 22px; padding: 14px; border: 1px solid var(--qt-border); border-radius: 12px; background: #fff; }
.qt-catalog-chip { color: var(--qt-ink); text-align: center; font-size: 12px; font-weight: 600; }
.qt-catalog-chip-image { display: grid; width: 68px; height: 68px; margin: 0 auto 7px; overflow: hidden; place-items: center; border: 2px solid transparent; border-radius: 50%; background: var(--qt-mint); font-size: 31px; }
.qt-catalog-chip-image img { width: 100%; height: 100%; object-fit: cover; }
.qt-catalog-chip.is-active .qt-catalog-chip-image, .qt-catalog-chip:hover .qt-catalog-chip-image { border-color: var(--qt-green); }
.qt-catalog-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 22px; }
.qt-catalog-sidebar { align-self: start; overflow: hidden; border: 1px solid var(--qt-border); border-radius: 10px; background: #fff; }
.qt-filter-group { padding: 17px 16px; border-bottom: 1px solid var(--qt-border); }
.qt-filter-group:last-child { border-bottom: 0; }
.qt-filter-group h3 { margin: 0 0 12px; font-size: 15px; }
.qt-filter-group label, .qt-filter-group a { display: flex; gap: 7px; align-items: center; margin: 0 0 9px; color: #536875; font-size: 12px; line-height: 1.35; }
.qt-filter-group input { width: 15px; height: 15px; margin: 0; accent-color: var(--qt-green); }
.qt-catalog-toolbar { display: flex; min-height: 48px; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.qt-catalog-toolbar > div { display: flex; gap: 5px; align-items: baseline; }
.qt-catalog-toolbar h2 { margin: 0; font-size: 23px; }
.qt-catalog-toolbar span { color: var(--qt-muted); font-size: 12px; }
.qt-catalog-toolbar .woocommerce-ordering { margin: 0; }
.qt-catalog-toolbar select { height: 38px; border: 0; border-radius: 999px; background-color: #f5faf8; box-shadow: none; font-size: 12px; }
.tax-product_cat .products { margin: 0 -7px; }
.tax-product_cat .product-small { padding: 7px; }
.tax-product_cat .product-small .col-inner { overflow: hidden; height: 100%; border: 1px solid var(--qt-border); border-radius: 9px; background: #fff; box-shadow: 0 3px 13px rgba(8,43,69,.05); }
.tax-product_cat .product-small .box-image img { aspect-ratio: 1 / 1; object-fit: cover; }
.tax-product_cat .product-small .box-image .image-none { aspect-ratio: 1 / 1; overflow: hidden; }
.tax-product_cat .product-small .box-image .image-none > a { display: block; width: 100%; height: 100%; }
.tax-product_cat .product-small .box-image .image-none img { width: 100% !important; height: 100% !important; }
.tax-product_cat .product-small .box-text { padding: 10px 40px 12px 10px; }
.tax-product_cat .product-title a { min-height: 36px; display: -webkit-box; overflow: hidden; font-size: 12px; font-weight: 700; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.tax-product_cat .price { color: #ef4035; font-size: 15px; font-weight: 800; }
.tax-product_cat .price del { color: #9aa7ad; font-size: 10px; }
.tax-product_cat .badge-container { width: auto; height: auto; margin: 9px 0 0 9px; }
.tax-product_cat .badge,
.tax-product_cat .badge-inner { width: auto; height: auto; min-height: 0; border-radius: 999px; }
.tax-product_cat .badge-inner { padding: 6px 10px; background: var(--qt-coral); font-size: 10px; line-height: 1; box-shadow: 0 2px 7px rgba(226,68,57,.22); }
.tax-product_cat .image-tools.top.right { top: 7px; right: 7px; opacity: 1; transform: none; }
.tax-product_cat .image-tools.grid-tools { display: block !important; z-index: 4; right: 7px; bottom: 7px; left: auto; width: 30px !important; opacity: 1; transform: none; }
.tax-product_cat .add-to-cart-grid { display: grid; width: 30px !important; min-width: 30px; height: 30px; padding: 0 !important; place-items: center; border: 0; border-radius: 7px; background: var(--qt-coral) !important; }
.tax-product_cat .add-to-cart-grid .cart-icon { display: none; }
.tax-product_cat .add-to-cart-grid::before { width: 16px; height: 16px; background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1'/%3E%3Ccircle cx='19' cy='20' r='1'/%3E%3Cpath d='M3 4h2l2.4 11.2a2 2 0 0 0 2 1.6h8.9a2 2 0 0 0 2-1.6L22 8H6'/%3E%3C/svg%3E"); content: ""; }

/* Quatang.me product detail. */
.single-product .product-main { padding: 26px 0 12px; }
.single-product .product-gallery { max-width: 50%; flex-basis: 50%; }
.single-product .product-info { max-width: 50%; flex-basis: 50%; padding-left: 28px; border-left: 0; }
.single-product #product-sidebar { display: none; }
.single-product .product-images { overflow: hidden; border-radius: 12px; background: #fff7f4; }
.single-product .product-gallery-slider img { aspect-ratio: 1 / 1; object-fit: cover; }
.single-product .product-thumbnails .col { padding: 5px; }
.single-product .product-thumbnails img { border-radius: 8px; }
.single-product .product-title { margin: 7px 0 8px; font-size: 30px; line-height: 1.12; }
.qt-product-badge { display: inline-block; padding: 5px 9px; border-radius: 999px; color: #e24439; background: #fff0ed; font-size: 11px; font-weight: 800; }
.qt-product-proof { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin-bottom: 11px; color: #526977; font-size: 12px; }
.qt-product-proof span + span { padding-left: 9px; border-left: 1px solid var(--qt-border); }
.qt-stars { color: #ffad0a; letter-spacing: 1px; }
.single-product .product-page-price { display: flex; gap: 12px; align-items: center; margin: 11px 0; }
.single-product .product-page-price ins { order: -1; color: #e52e25; font-size: 29px; font-weight: 800; }
.single-product .product-page-price del { color: #9ca6ab; font-size: 16px; }
.single-product .product-short-description { color: #4b606d; font-size: 14px; line-height: 1.65; }
.single-product .product_meta { display: none; }
.qt-product-options { margin-top: 18px; }
.qt-option-row { margin-bottom: 14px; }
.qt-option-row > strong, .qt-quantity-row > strong { display: block; margin-bottom: 7px; color: var(--qt-navy); font-size: 13px; }
.qt-color-options, .qt-version-options, .qt-quantity-row, .qt-purchase-actions { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.qt-color-swatch { width: 52px; height: 42px; min-height: 0; padding: 0; border: 2px solid transparent; border-radius: 7px; background: linear-gradient(135deg,#ff8f9d,#fbd0d2); }
.qt-color-swatch.is-cream { background: linear-gradient(135deg,#f2e4ce,#fffaf1); }
.qt-color-swatch.is-green { background: linear-gradient(135deg,#0b6f5b,#9cc8b7); }
.qt-color-swatch.is-active, .qt-color-swatch:hover { border-color: var(--qt-green); }
.qt-option-button { min-height: 36px; padding: 0 13px; border: 1px solid var(--qt-border); border-radius: 7px; color: #516673; background: #fff; font-size: 11px; }
.qt-option-button.is-active { border-color: var(--qt-green); color: var(--qt-green-dark); background: #f1fbf8; }
.qt-quantity-row { margin: 15px 0; }
.qt-quantity-row > strong { width: 100%; }
.qt-quantity { display: flex; overflow: hidden; border: 1px solid var(--qt-border); border-radius: 7px; }
.qt-quantity button, .qt-quantity input { width: 36px; height: 36px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; text-align: center; box-shadow: none; }
.qt-quantity input { appearance: textfield; }
.qt-stock { color: var(--qt-green); font-size: 12px; }
.qt-purchase-actions { margin-top: 16px; }
.qt-purchase-actions .button { min-height: 46px; margin: 0; padding: 0 24px; line-height: 46px; }
.qt-add-cart { flex: 1; color: #fff !important; background: var(--qt-coral) !important; opacity: 1 !important; }
.qt-buy-now { flex: 1; border: 1px solid var(--qt-coral); color: var(--qt-coral) !important; background: #fff !important; text-align: center; }
.qt-single-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0 0; padding: 20px 12px; border-top: 1px solid var(--qt-border); border-bottom: 1px solid var(--qt-border); background: #f5fcfa; }
.qt-single-trust > div { display: grid; grid-template-columns: 36px 1fr; align-items: center; }
.qt-single-trust > div > span { grid-row: span 2; color: var(--qt-green); font-size: 28px; }
.qt-single-trust strong, .qt-single-trust small { display: block; }
.qt-single-trust strong { color: var(--qt-navy); font-size: 12px; }
.qt-single-trust small { color: var(--qt-muted); font-size: 11px; }
.single-product .woocommerce-tabs { padding-top: 18px; }
.single-product .product-footer > .container.row > .col.large-9 { max-width: 100%; flex-basis: 100%; }
.single-product .product-tabs { border-bottom: 1px solid var(--qt-border); }
.single-product .product-tabs li a { font-size: 13px; text-transform: none; }
.single-product .tab-panels { padding: 18px 0 8px; }
.qt-product-description { display: grid; grid-template-columns: 1fr 42%; gap: 34px; align-items: center; }
.qt-product-description h2 { font-size: 24px; }
.qt-product-description ul { margin: 18px 0 0; list-style: none; }
.qt-product-description li { margin-bottom: 10px; }
.qt-product-description img { width: 100%; border-radius: 12px; }
.qt-info-tab { max-width: 850px; padding: 8px 0 18px; }
.qt-info-tab h2 { font-size: 23px; }
.qt-info-tab table { margin: 0; border: 1px solid var(--qt-border); border-radius: 8px; }
.qt-info-tab th, .qt-info-tab td { padding: 11px 14px; border-bottom: 1px solid var(--qt-border); font-size: 13px; }
.qt-info-tab th { width: 180px; color: var(--qt-navy); background: #f7fbfa; }
.single-product .related-products-wrapper .product-title a { font-size: 13px; font-weight: 700; }
.single-product .related-products-wrapper .box-text { padding: 10px; }
.single-product .product-footer #reviews { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--qt-border); }

@media (max-width: 849px) {
  .qt-catalog-hero-copy { width: 62%; }
  .qt-catalog-chips { grid-template-columns: repeat(3, 1fr); }
  .qt-catalog-layout { grid-template-columns: 1fr; }
  .qt-catalog-sidebar { display: none; }
  .single-product .product-gallery, .single-product .product-info { max-width: 100%; flex-basis: 100%; }
  .single-product .product-info { padding-left: 15px; }
  .qt-single-trust { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 549px) {
  .qt-catalog-hero { min-height: 260px; padding: 20px; background-position: 68% center; }
  .qt-catalog-hero::before { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(238,250,247,.98),rgba(238,250,247,.78),rgba(238,250,247,.1)); content: ""; }
  .qt-catalog-hero-copy { z-index: 1; width: 78%; }
  .qt-catalog-hero h1 { font-size: 30px; }
  .qt-catalog-benefits { flex-direction: column; gap: 6px; }
  .qt-catalog-chips { display: flex; overflow-x: auto; padding: 10px; }
  .qt-catalog-chip { min-width: 82px; }
  .qt-catalog-chip-image { width: 58px; height: 58px; }
  .qt-catalog-toolbar { align-items: flex-start; flex-direction: column; gap: 10px; }
  .tax-product_cat .product-small { max-width: 50%; flex-basis: 50%; }
  .tax-product_cat .product-small .box-text { min-height: 88px; padding: 8px 9px 10px; }
  .tax-product_cat .product-title a { min-height: 32px; font-size: 11px; line-height: 1.35; }
  .tax-product_cat .price { font-size: 13px; }
  .tax-product_cat .price del { display: block; }
  .single-product .product-title { font-size: 26px; }
  .qt-purchase-actions .button { width: 100%; flex: 1 0 100%; }
  .qt-single-trust { grid-template-columns: 1fr 1fr; }
  .qt-product-description { grid-template-columns: 1fr; }
}
