.ptf-product-filter{font-family:inherit;color:#090909;background:#f0f0f0;padding:18px 27px 26px;max-width:100%;box-sizing:border-box}
.ptf-product-filter *{box-sizing:border-box}.ptf-filter-topline{height:1px;width:100%;background:repeating-linear-gradient(to right,#161616 0 12px,transparent 12px 22px);margin-bottom:27px}
.ptf-filter-main-title{display:inline-block!important;color:#090909!important;font-size:21px!important;font-weight:800!important;line-height:1.3!important;margin:0 0 33px!important;border-bottom:3px solid #111;padding-bottom:6px;letter-spacing:0!important;text-transform:none!important}
.ptf-filter-form{margin:0}.ptf-filter-group{margin-bottom:43px}.ptf-filter-group-title{width:100%;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;background:transparent!important;border:0!important;color:#090909!important;font-size:21px!important;font-weight:500!important;line-height:1.4!important;text-align:left!important;padding:0 0 15px!important;min-height:0!important;box-shadow:none!important;text-transform:none!important;letter-spacing:0!important;cursor:pointer}
.ptf-filter-group-title:hover{color:#111!important}.ptf-filter-chevron{width:0;height:0;border-left:7px solid transparent;border-right:7px solid transparent;border-top:8px solid #000;transition:transform .2s;flex-shrink:0;margin-right:1px}
.ptf-filter-group-title[aria-expanded=false] .ptf-filter-chevron{transform:rotate(-90deg)}.ptf-filter-group-panel[hidden]{display:none!important}
.ptf-filter-choice{display:flex!important;align-items:center;gap:10px;margin:0 0 11px!important;cursor:pointer;font-size:16px!important;line-height:1.4!important;font-weight:400!important;color:#0b0b0b!important;min-width:0;padding:0!important}
.ptf-filter-choice input[type=checkbox]{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;margin:0!important;pointer-events:none}
.ptf-filter-box{width:16px;height:16px;min-width:16px;border:1px solid #111;border-radius:5px;background:transparent;display:inline-grid;place-items:center;transition:background .18s ease;color:#fff;position:relative}
.ptf-filter-choice input:checked +.ptf-filter-box{background:#111}.ptf-filter-choice input:checked +.ptf-filter-box:after{content:'';width:7px;height:4px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg);margin-top:-2px}
.ptf-filter-choice input:focus-visible +.ptf-filter-box{outline:2px solid #0f65c7;outline-offset:3px}
.ptf-filter-option-label{min-width:0}.ptf-filter-brand-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;row-gap:14px}
.ptf-filter-brand-grid .ptf-filter-choice{margin:0!important;gap:7px;min-height:28px}.ptf-filter-logo{display:block!important;max-width:100%!important;max-height:34px!important;width:auto!important;height:auto!important;object-fit:contain!important;border:0!important;box-shadow:none!important;background:transparent!important}
.ptf-filter-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.ptf-filter-apply{background:#070707!important;color:#fff!important;border-radius:7px!important;border:0!important;padding:11px 14px!important;min-height:40px!important;font-size:13px!important;font-weight:700!important;line-height:1!important;text-transform:none!important;letter-spacing:0!important;cursor:pointer}.ptf-filter-reset{color:#444!important;font-size:13px!important;text-decoration:underline!important}.ptf-filter-pagination{margin:24px 0;text-align:center}
@media(max-width:850px){.ptf-product-filter{padding:18px 21px}.ptf-filter-main-title{font-size:20px!important}.ptf-filter-group-title{font-size:19px!important}.ptf-filter-choice{font-size:15px!important}.ptf-filter-brand-grid{column-gap:10px}}


.ptf-mobile-filter-wrap{position:relative}
.ptf-mobile-filter-toggle{display:none;align-items:center;justify-content:center;gap:10px;background:#f7f7f7!important;color:#111!important;border:2px solid #111!important;border-radius:999px!important;padding:0 20px!important;height:48px!important;min-height:48px!important;font-size:16px!important;font-weight:700!important;line-height:1!important;cursor:pointer;box-shadow:none!important;text-transform:none!important;letter-spacing:0!important;white-space:nowrap}
.ptf-mobile-filter-toggle{gap:7px!important}
.ptf-mobile-filter-icon{display:inline-block!important;position:relative!important;width:15px!important;height:15px!important;flex:0 0 15px!important;background-repeat:no-repeat!important;background-position:center center!important;background-size:15px 15px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M2.3 3.25H13.7L9.35 8.65V12.2L6.65 13.45V8.65L2.3 3.25Z' stroke='%23111111' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important}
.ptf-mobile-filter-icon:before,.ptf-mobile-filter-icon:after{content:none!important}
.ptf-mobile-filter-overlay{display:none}
.ptf-mobile-filter-close{display:none}

@media(max-width:850px){
 .ptf-mobile-filter-toggle{display:inline-flex;margin:0 0 20px auto}
 .ptf-product-filter{display:none}
 .ptf-mobile-filter-wrap.is-open .ptf-product-filter{display:block;position:fixed;top:0;left:0;bottom:0;width:min(86vw,320px);height:100vh;overflow:auto;z-index:100000;background:#f0f0f0;padding:18px 26px 24px;box-shadow:8px 0 28px rgba(0,0,0,.18)}
 .ptf-mobile-filter-wrap.is-open .ptf-mobile-filter-overlay{display:block;position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:99999}
 .ptf-mobile-filter-close{display:block!important;position:absolute;top:12px;right:12px;background:transparent!important;border:0!important;color:#fff!important;font-size:44px!important;line-height:1!important;padding:0!important;min-height:0!important;z-index:100001;cursor:pointer;text-shadow:0 1px 2px rgba(0,0,0,.35)}
 .ptf-mobile-filter-wrap.is-open .ptf-mobile-filter-close{color:#fff!important;right:-42px;top:10px}
 .ptf-mobile-filter-wrap.is-open .ptf-filter-topline{margin-top:10px}
 .ptf-mobile-filter-wrap.is-open .ptf-filter-actions{position:sticky;bottom:0;background:#f0f0f0;padding:14px 0 4px;margin-top:22px}
 body.ptf-mobile-filter-open{overflow:hidden}
}
@media(min-width:851px){
 .ptf-product-filter{display:block!important}
}

/* v1.1.3: Independent mobile drawer when Flatsome sidebar is hidden */
.ptf-mobile-auto-filter{display:none!important}
@media(max-width:850px){
 .ptf-mobile-auto-filter{display:block!important}
 .ptf-mobile-auto-filter .ptf-mobile-filter-wrap{position:static}
 .ptf-mobile-auto-filter .ptf-mobile-filter-toggle{display:inline-flex!important;margin:0!important}
 .ptf-mobile-auto-filter .ptf-product-filter{display:none!important}
 .ptf-mobile-auto-filter .ptf-mobile-filter-wrap.is-open .ptf-product-filter{display:block!important;position:fixed!important;left:0!important;top:0!important;bottom:0!important;width:min(82vw,320px)!important;height:100dvh!important;overflow-y:auto!important;overflow-x:hidden!important;z-index:100001!important;padding:18px 26px 28px!important;background:#f0f0f0!important}
 .ptf-mobile-auto-filter .ptf-mobile-filter-wrap.is-open .ptf-mobile-filter-overlay{display:block!important;position:fixed!important;inset:0!important;z-index:100000!important;background:rgba(0,0,0,.62)!important}
 .ptf-mobile-auto-filter .ptf-mobile-filter-wrap.is-open .ptf-mobile-filter-close{position:fixed!important;left:calc(min(82vw,320px) + 10px)!important;right:auto!important;top:10px!important;width:42px!important;height:46px!important;z-index:100003!important;display:flex!important;align-items:center!important;justify-content:center!important;color:#fff!important;font-size:34px!important;border:0!important;background:transparent!important;text-shadow:none!important}
 .ptf-mobile-auto-filter .ptf-mobile-filter-wrap.is-open .ptf-mobile-filter-close:focus-visible{outline:2px solid #fff!important}
 .ptf-mobile-auto-filter .ptf-filter-topline{margin-top:12px}
 .ptf-mobile-filter-position{display:flex;justify-content:flex-end;align-items:center;margin:12px 0 18px;min-width:0}
 .woocommerce-ordering.ptf-order-with-filter{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;justify-content:space-between!important;width:100%!important}
 .woocommerce-ordering.ptf-order-with-filter .ptf-mobile-filter-toggle{margin:0 0 0 auto!important;flex-shrink:0!important}
 .ptf-mobile-auto-filter .ptf-mobile-filter-wrap:not(.is-open) .ptf-mobile-filter-overlay{display:none!important}
}

/* v1.1.4: keep auto mobile trigger visible even if the theme overrides buttons. */
@media(max-width:850px){
 .ptf-mobile-auto-filter{display:flex!important;justify-content:flex-end!important;align-items:center!important;width:100%;max-width:100%;margin:10px 0 18px!important;visibility:visible!important;opacity:1!important;}
 .ptf-mobile-auto-filter .ptf-mobile-filter-wrap{display:contents!important;}
 .ptf-mobile-auto-filter .ptf-mobile-filter-toggle{display:inline-flex!important;visibility:visible!important;opacity:1!important;flex:0 0 auto!important;position:relative!important;z-index:2!important;}
 .ptf-mobile-auto-filter .ptf-mobile-filter-wrap.is-open .ptf-product-filter{display:block!important;}
 .ptf-mobile-auto-filter .ptf-mobile-filter-wrap.is-open .ptf-mobile-filter-overlay{display:block!important;}
 .ptf-mobile-auto-filter.ptf-mobile-filter-fallback{position:fixed!important;right:14px!important;bottom:80px!important;width:auto!important;z-index:9998!important;margin:0!important;}
 .ptf-mobile-auto-filter.ptf-mobile-filter-fallback .ptf-mobile-filter-toggle{background:#fff!important;box-shadow:0 4px 18px rgba(0,0,0,.2)!important;}
}

/* v1.1.5: direct shop-loop hook placement, independent of Flatsome sidebar. */
@media(max-width:850px){
 .ptf-mobile-filter-hook,.ptf-mobile-auto-filter:not(.ptf-mobile-filter-fallback){
  display:flex!important;justify-content:flex-end!important;align-items:center!important;
  width:100%!important;max-width:100%!important;margin:12px 0 22px!important;
  position:relative!important;float:none!important;clear:both!important;
 }
 .ptf-mobile-filter-hook .ptf-mobile-filter-wrap{display:block!important;width:auto!important;}
 .ptf-mobile-filter-hook .ptf-mobile-filter-toggle{display:inline-flex!important;visibility:visible!important;opacity:1!important;}
 .ptf-mobile-auto-filter .ptf-mobile-filter-wrap.is-open .ptf-product-filter{display:block!important;}
 .ptf-mobile-auto-filter .ptf-mobile-filter-wrap.is-open .ptf-mobile-filter-overlay{display:block!important;}
}


/* ================================================
   v1.2.2 HUY HUNG SPORT – front-end filters
   Orange #FF8200 / Navy #0B326D / Cream #F2F2F2
   Scope strictly to the PTF product filter, not product cards.
================================================ */
.ptf-product-filter{
  --ptf-navy:#0B326D;
  --ptf-orange:#FF8200;
  --ptf-orange-dark:#F26700;
  --ptf-soft:#F2F2F2;
  --ptf-border:#E5EAF1;
  color:var(--ptf-navy);
  background:var(--ptf-soft);
  border:1px solid var(--ptf-border);
  border-radius:16px;
  padding:22px 21px 24px;
  box-shadow:0 3px 12px rgba(11,50,109,.045);
}
.ptf-product-filter .ptf-filter-topline{
  height:3px;
  width:54px;
  background:linear-gradient(90deg,#FFAD28,#FF7000);
  border-radius:99px;
  margin-bottom:19px;
}
.ptf-product-filter .ptf-filter-main-title{
  display:block!important;
  margin:0 0 22px!important;
  padding:0!important;
  border:0!important;
  color:var(--ptf-navy)!important;
  font-size:20px!important;
  font-weight:850!important;
  font-style:italic;
  text-transform:uppercase!important;
  letter-spacing:-.2px!important;
}
.ptf-product-filter .ptf-filter-group{
  margin:0 0 22px;
  padding:0 0 19px;
  border-bottom:1px solid #E3EAF1;
}
.ptf-product-filter .ptf-filter-group:last-of-type{
  margin-bottom:19px;
}
.ptf-product-filter .ptf-filter-group-title{
  display:flex!important;
  justify-content:space-between!important;
  align-items:center!important;
  width:100%;
  padding:0 0 13px!important;
  color:var(--ptf-navy)!important;
  font-weight:800!important;
  font-size:15px!important;
  line-height:1.4!important;
  border:0!important;
  background:transparent!important;
  text-transform:none!important;
  box-shadow:none!important;
}
.ptf-product-filter .ptf-filter-group-title:hover,
.ptf-product-filter .ptf-filter-group-title:focus-visible{
  color:var(--ptf-orange)!important;
}
.ptf-product-filter .ptf-filter-chevron{
  border:0!important;
  width:9px;
  height:9px;
  min-width:9px;
  transform:rotate(45deg);
  border-right:2px solid #637B9B!important;
  border-bottom:2px solid #637B9B!important;
  margin:0 4px 5px 0;
  transition:transform .2s ease;
}
.ptf-product-filter .ptf-filter-group-title[aria-expanded=false] .ptf-filter-chevron{
  transform:rotate(-45deg);
  margin-bottom:0;
}
.ptf-product-filter .ptf-filter-choice{
  display:flex!important;
  align-items:center;
  gap:10px;
  padding:6px 5px!important;
  margin:0 0 3px!important;
  border-radius:7px;
  color:#334866!important;
  font-size:13px!important;
  line-height:1.55!important;
  font-weight:500!important;
  transition:background .15s,color .15s;
}
.ptf-product-filter .ptf-filter-choice:hover{
  background:#EAF1FA!important;
  color:#0B326D!important;
}
.ptf-product-filter .ptf-filter-box{
  display:inline-grid;
  place-items:center;
  width:18px;
  height:18px;
  min-width:18px;
  border:1.5px solid #A9B7C9;
  background:#fff;
  border-radius:5px;
  transition:border-color .16s,background .16s;
}
.ptf-product-filter .ptf-filter-choice input[type=checkbox]:checked + .ptf-filter-box{
  border-color:var(--ptf-orange);
  background:linear-gradient(135deg,#FFAA27,#FF7400);
}
.ptf-product-filter .ptf-filter-choice input:focus-visible + .ptf-filter-box{
  outline:2px solid var(--ptf-orange);
  outline-offset:3px;
}
.ptf-product-filter .ptf-filter-logo{max-height:38px!important;}
.ptf-product-filter .ptf-filter-brand-grid{column-gap:10px;row-gap:7px;}
.ptf-product-filter .ptf-filter-actions{
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
  margin-top:8px;
}
.ptf-product-filter .ptf-filter-apply{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:1 1 145px;
  min-height:44px!important;
  padding:12px 20px!important;
  color:#fff!important;
  background:linear-gradient(135deg,#FFAD28,#FF6900)!important;
  border:1px solid #FF8A14!important;
  border-radius:999px!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1.2!important;
  box-shadow:0 4px 11px rgba(255,125,0,.16)!important;
  transition:filter .2s,box-shadow .2s,transform .2s;
}
.ptf-product-filter .ptf-filter-apply:hover{
  filter:brightness(1.04);
  box-shadow:0 6px 13px rgba(255,125,0,.23)!important;
  transform:translateY(-1px);
}
.ptf-product-filter .ptf-filter-reset{
  color:var(--ptf-navy)!important;
  font-size:12px!important;
  font-weight:650;
  text-decoration:none!important;
  white-space:nowrap;
}
.ptf-product-filter .ptf-filter-reset:hover{color:var(--ptf-orange)!important;}
/* Mobile trigger, matching site's orange CTA buttons. */
.ptf-mobile-filter-wrap .ptf-mobile-filter-toggle{
  display:none;
  min-height:43px!important;
  height:43px!important;
  padding:0 18px!important;
  color:#fff!important;
  background:linear-gradient(135deg,#FFAD28,#FF6900)!important;
  border:1px solid #FF951C!important;
  border-radius:999px!important;
  box-shadow:0 4px 11px rgba(255,125,0,.14)!important;
  font-size:13px!important;
  font-weight:800!important;
}
.ptf-mobile-filter-wrap .ptf-mobile-filter-icon{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M2.3 3.25H13.7L9.35 8.65V12.2L6.65 13.45V8.65L2.3 3.25Z' stroke='%23ffffff' stroke-width='1.55' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
}
@media(max-width:850px){
  .ptf-mobile-filter-wrap .ptf-mobile-filter-toggle{display:inline-flex!important;}
  .ptf-mobile-filter-wrap.is-open .ptf-product-filter,
  .ptf-mobile-auto-filter .ptf-mobile-filter-wrap.is-open .ptf-product-filter{
    background:#F2F2F2!important;
    border-radius:0!important;
    padding-top:24px!important;
  }
  .ptf-mobile-filter-wrap.is-open .ptf-filter-actions{
    background:#F2F2F2!important;
    padding:14px 0 10px;
    border-top:1px solid #E3EAF1;
    z-index:2;
  }
  .ptf-mobile-auto-filter.ptf-mobile-filter-fallback .ptf-mobile-filter-toggle{
    background:linear-gradient(135deg,#FFAD28,#FF6900)!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .ptf-product-filter .ptf-filter-apply,
  .ptf-product-filter .ptf-filter-choice{transition:none!important;transform:none!important;}
}

/* v1.2.3: Tablet/mobile drawer must be flush to the viewport edges;
   no outer rounded corners, keep internal buttons/inputs unchanged. */
@media (max-width:850px) {
  .ptf-mobile-filter-wrap.is-open > .ptf-product-filter,
  .ptf-mobile-filter-wrap.is-open .ptf-product-filter,
  .ptf-mobile-auto-filter .ptf-mobile-filter-wrap.is-open .ptf-product-filter {
    border-radius:0 !important;
    border-top-left-radius:0 !important;
    border-top-right-radius:0 !important;
    border-bottom-left-radius:0 !important;
    border-bottom-right-radius:0 !important;
    box-shadow:8px 0 24px rgba(11,50,109,.14) !important;
  }
}
