/* v1.3 — smooth horizontal carousel, accessible proportional controls */
.ptfh-home .ptfh-hero-slider{isolation:isolate;touch-action:pan-y;}
.ptfh-home .ptfh-hero-slide,
.ptfh-home .ptfh-hero-slide.is-active{
  opacity:1;visibility:visible;
  transition:none;
  transform:translate3d(100%,0,0);
  will-change:transform;
  pointer-events:none;
  backface-visibility:hidden;
}
.ptfh-home .ptfh-hero-slide.is-active{transform:translate3d(0,0,0);pointer-events:auto;z-index:1;}
.ptfh-home .ptfh-hero-slide.ptfh-from-left{transform:translate3d(-100%,0,0);}
.ptfh-home .ptfh-hero-slide.ptfh-from-right{transform:translate3d(100%,0,0);}
.ptfh-home .ptfh-hero-slide.ptfh-animating{transition:transform .78s cubic-bezier(.22,1,.36,1);}
.ptfh-home .ptfh-slide-prev,.ptfh-home .ptfh-slide-next{
  display:grid;place-items:center;
  width:40px;height:40px;min-width:40px;min-height:40px;
  padding:0;margin:0;border:1px solid rgba(255,255,255,.26);
  border-radius:50%;background:rgba(18,25,31,.36);
  color:#fff;font-size:0;line-height:1;
  box-shadow:0 2px 12px rgba(0,0,0,.12);
  backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);
  opacity:.82;z-index:5;
  transition:background .22s ease,opacity .22s ease,transform .22s ease,border-color .22s ease;
  -webkit-tap-highlight-color:transparent;
}
.ptfh-home .ptfh-slide-prev{left:clamp(10px,2.2vw,34px)}
.ptfh-home .ptfh-slide-next{right:clamp(10px,2.2vw,34px)}
.ptfh-home .ptfh-slide-prev svg,.ptfh-home .ptfh-slide-next svg{
  display:block;width:18px;height:18px;fill:none;stroke:currentColor;
  stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;
}
.ptfh-home .ptfh-slide-prev:hover,.ptfh-home .ptfh-slide-next:hover{
  opacity:1;background:rgba(18,25,31,.65);border-color:rgba(255,255,255,.62);
  transform:translateY(-50%) scale(1.055);
}
.ptfh-home .ptfh-slide-prev:focus-visible,.ptfh-home .ptfh-slide-next:focus-visible,
.ptfh-home .ptfh-slide-dots button:focus-visible{outline:2px solid #fff;outline-offset:3px;}
.ptfh-home .ptfh-slide-dots{
  bottom:clamp(12px,1.7vw,22px);gap:7px;align-items:center;
  padding:8px 11px;border-radius:99px;
  background:rgba(18,25,31,.18);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);
  z-index:5;
}
.ptfh-home .ptfh-slide-dots button{
  display:block;flex:0 0 auto;width:7px;height:7px;min-width:0;min-height:0;
  margin:0;padding:0;background:rgba(255,255,255,.58);border:0;border-radius:10px;
  box-shadow:none;opacity:1;
  transition:width .35s ease,background .35s ease,opacity .35s ease;
}
.ptfh-home .ptfh-slide-dots button.is-active{width:22px;height:7px;background:#fff;}
.ptfh-home .ptfh-hero-slider:not(:hover):not(:focus-within) .ptfh-slide-prev,
.ptfh-home .ptfh-hero-slider:not(:hover):not(:focus-within) .ptfh-slide-next{opacity:.7;}
@media(max-width:767px){
  .ptfh-home .ptfh-slide-prev,.ptfh-home .ptfh-slide-next{
    width:34px;height:34px;min-width:34px;min-height:34px;
    opacity:.76;background:rgba(18,25,31,.28);
  }
  .ptfh-home .ptfh-slide-prev{left:9px}.ptfh-home .ptfh-slide-next{right:9px}
  .ptfh-home .ptfh-slide-prev svg,.ptfh-home .ptfh-slide-next svg{width:16px;height:16px}
  .ptfh-home .ptfh-slide-dots{bottom:13px;padding:7px 10px;gap:6px}
  .ptfh-home .ptfh-slide-dots button{width:6px;height:6px}
  .ptfh-home .ptfh-slide-dots button.is-active{width:19px;height:6px}
}
@media(prefers-reduced-motion:reduce){
  .ptfh-home .ptfh-hero-slide.ptfh-animating{transition:none !important;}
  .ptfh-home .ptfh-slide-prev,.ptfh-home .ptfh-slide-next,
  .ptfh-home .ptfh-slide-dots button{transition:none !important;}
}

/* v1.4.4: Both homepage hero navigation buttons use Huy Hung Sport orange. */
.ptfh-home .ptfh-hero-slider .ptfh-slide-prev,
.ptfh-home .ptfh-hero-slider .ptfh-slide-next{
  width:50px;height:50px;min-width:50px;min-height:50px;
  display:grid;place-items:center;
  border:1px solid rgba(255,255,255,.7);
  border-radius:50%;color:#fff;
  opacity:1;
  box-shadow:0 7px 20px rgba(0,28,76,.27),inset 0 1px 0 rgba(255,255,255,.3);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  transition:transform .25s cubic-bezier(.2,.8,.2,1),background .25s ease,box-shadow .25s ease,border-color .25s ease,opacity .25s ease;
}
.ptfh-home .ptfh-hero-slider .ptfh-slide-prev,
.ptfh-home .ptfh-hero-slider .ptfh-slide-next{background:linear-gradient(140deg,#ffad28,#ff6900)}
.ptfh-home .ptfh-hero-slider .ptfh-slide-prev svg,
.ptfh-home .ptfh-hero-slider .ptfh-slide-next svg{width:21px;height:21px;stroke:#fff;stroke-width:2.6}
.ptfh-home .ptfh-hero-slider .ptfh-slide-prev:hover,
.ptfh-home .ptfh-hero-slider .ptfh-slide-prev:focus-visible,
.ptfh-home .ptfh-hero-slider .ptfh-slide-next:hover,
.ptfh-home .ptfh-hero-slider .ptfh-slide-next:focus-visible{
  background:linear-gradient(140deg,#ffb743,#f97316);
  box-shadow:0 10px 25px rgba(235,101,0,.33),0 0 0 4px rgba(255,137,16,.19);
  transform:translateY(-50%) scale(1.09);
}
.ptfh-home .ptfh-hero-slider:not(:hover):not(:focus-within) .ptfh-slide-prev,
.ptfh-home .ptfh-hero-slider:not(:hover):not(:focus-within) .ptfh-slide-next{opacity:.92}
.ptfh-home .ptfh-hero-slider .ptfh-slide-prev:focus-visible,
.ptfh-home .ptfh-hero-slider .ptfh-slide-next:focus-visible{outline:2px solid #fff;outline-offset:4px}
.ptfh-home .ptfh-hero-slider .ptfh-slide-dots button.is-active{
  background:linear-gradient(90deg,#ff8c00 0%,#ffae26 100%);
  box-shadow:0 0 0 2px rgba(255,255,255,.2);
}
@media(max-width:767px){
  .ptfh-home .ptfh-hero-slider .ptfh-slide-prev,
  .ptfh-home .ptfh-hero-slider .ptfh-slide-next{width:38px;height:38px;min-width:38px;min-height:38px}
  .ptfh-home .ptfh-hero-slider .ptfh-slide-prev svg,
  .ptfh-home .ptfh-hero-slider .ptfh-slide-next svg{width:17px;height:17px}
}
@media(prefers-reduced-motion:reduce){
  .ptfh-home .ptfh-hero-slider .ptfh-slide-prev,
  .ptfh-home .ptfh-hero-slider .ptfh-slide-next{transition:none}
}

/* v2.0.2 — Hero arrows only appear on banner hover on hover-capable devices. */
@media (hover:hover) and (pointer:fine) {
  .ptfh-home .ptfh-hero .ptfh-hero-slider .ptfh-slide-prev,
  .ptfh-home .ptfh-hero .ptfh-hero-slider .ptfh-slide-next {
    opacity:0 !important;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .24s ease,visibility 0s linear .24s,transform .25s cubic-bezier(.2,.8,.2,1),background .25s ease,box-shadow .25s ease !important;
  }
  .ptfh-home .ptfh-hero:hover .ptfh-hero-slider .ptfh-slide-prev,
  .ptfh-home .ptfh-hero:hover .ptfh-hero-slider .ptfh-slide-next,
  .ptfh-home .ptfh-hero:focus-within .ptfh-hero-slider .ptfh-slide-prev,
  .ptfh-home .ptfh-hero:focus-within .ptfh-hero-slider .ptfh-slide-next {
    opacity:1 !important;
    visibility:visible;
    pointer-events:auto;
    transition-delay:0s !important;
  }
}
/* Touchscreens have no reliable hover: keep controls accessible. */
@media (hover:none), (pointer:coarse) {
  .ptfh-home .ptfh-hero .ptfh-hero-slider .ptfh-slide-prev,
  .ptfh-home .ptfh-hero .ptfh-hero-slider .ptfh-slide-next {
    opacity:1 !important;
    visibility:visible;
    pointer-events:auto;
  }
}
