/* Interaction feedback only: no layout shifts, navigation interception or form logic. */
:root { --hy-feedback-time:160ms; --hy-feedback-ease:cubic-bezier(.2,.7,.2,1); }
.wp-site-blocks :where(a,button,input,select,textarea,summary):not([id^="huiyao-court-designer"] *) {
 transition-property:color,background-color,border-color,box-shadow,opacity,transform;
 transition-duration:var(--hy-feedback-time);
 transition-timing-function:var(--hy-feedback-ease);
 -webkit-tap-highlight-color:rgba(255,91,26,.18);
}
.wp-site-blocks :where(button,summary,select):not([id^="huiyao-court-designer"] *) { cursor:pointer; }
.wp-site-blocks :where(button:disabled,[aria-disabled="true"]) { cursor:not-allowed; }
.wp-site-blocks :where(a,button,input,select,textarea,summary):not([id^="huiyao-court-designer"] *):focus-visible {
 outline:2px solid #ff5b1a; outline-offset:4px;
}
.hy-footer-v2 :where(a,button):focus-visible { outline-color:#ffad87; }
/* The line reads as a link affordance; the current page remains marked. */
.hy-nav .wp-block-navigation-item__content,
.hy-footer-v2 nav a,.hy-footer-v2__about {
 background-image:linear-gradient(#ff976d,#ff976d);
 background-repeat:no-repeat; background-position:left bottom;
 background-size:0 2px;
 transition:background-size 180ms var(--hy-feedback-ease),color 160ms ease;
}
.hy-nav .wp-block-navigation-item__content[aria-current="page"] { background-size:100% 2px; }
.hy-nav .wp-block-navigation-item__content:focus-visible,
.hy-footer-v2 nav a:focus-visible,.hy-footer-v2__about:focus-visible { background-size:100% 2px; }
.wp-site-blocks :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea):focus-visible {
 box-shadow:0 0 0 3px rgba(255,91,26,.13);
}
.wp-site-blocks .hy-inquiry-field :is(input,select,textarea):focus-visible {
 outline:2px solid #ff5b1a; outline-offset:3px; border-color:#c7430e;
 box-shadow:0 0 0 3px rgba(255,91,26,.13);
}
.wp-site-blocks :where(input[type="checkbox"],input[type="radio"]) { accent-color:#c7430e; }
.wp-site-blocks :where(summary):focus-visible { background-color:rgba(255,91,26,.08); }
.hy-nav :where(.wp-block-navigation__responsive-container-open,.wp-block-navigation__responsive-container-close) { border-radius:4px; }
/* Hover movement is mouse-only: no sticky hover states on touch screens. */
@media(hover:hover) and (pointer:fine) {
 .hy-nav .wp-block-navigation-item__content:hover,
 .hy-footer-v2 nav a:hover,.hy-footer-v2__about:hover { background-size:100% 2px; }
 .wp-site-blocks :where(.hy-inquiry-submit:not(:disabled),.pvc-show-all:not(:disabled),.pvc-dialog-close,.hy-finish-button,.wp-block-navigation__responsive-container-open,.wp-block-navigation__responsive-container-close,.wp-block-button__link,.hy-product-action,.hy-application-action,.hy-footer-v2__button):not(:disabled):not([aria-disabled="true"]):hover {
  transform:translateY(-2px); box-shadow:0 3px 8px rgba(16,42,67,.15);
 }
 .hy-nav :where(.wp-block-navigation__responsive-container-open,.wp-block-navigation__responsive-container-close):hover { background-color:rgba(255,91,26,.12); }
 .wp-site-blocks summary:hover { background-color:rgba(255,91,26,.06); }
 .pvc-catalog-nav a:hover,.pvc-crumb a:hover { box-shadow:inset 0 -2px #ff5b1a; }
 .pvc-swatch:hover:not([aria-pressed="true"]) { outline:2px solid #ff976d; outline-offset:2px; }
 .pvc-swatch:focus-visible { outline:3px solid #c7430e; outline-offset:3px; }
 .pvc-collection-card:hover { box-shadow:0 5px 16px rgba(16,42,67,.12); }
}
.wp-site-blocks :where(.hy-inquiry-submit:not(:disabled),.pvc-show-all:not(:disabled),.pvc-dialog-close,.hy-finish-button,.wp-block-navigation__responsive-container-open,.wp-block-navigation__responsive-container-close,.wp-block-button__link,.hy-product-action,.hy-application-action,.hy-footer-v2__button):not(:disabled):not([aria-disabled="true"]):active {
 transform:translateY(1px) scale(.985); box-shadow:none;
}
/* Keep label contrast intact while pressing links; no blanket opacity changes. */
.wp-site-blocks :is(button:disabled,[aria-disabled="true"]):not([id^="huiyao-court-designer"] *) { transform:none; box-shadow:none; }
.hy-nav .wp-block-navigation__responsive-container.is-menu-open { animation:hy-menu-feedback 160ms ease-out; }
@keyframes hy-menu-feedback { from { opacity:0; } to { opacity:1; } }
/* Keep colour, focus and selection feedback, but remove movement when requested. */
@media(prefers-reduced-motion:reduce) {
 .wp-site-blocks :where(a,button,input,select,textarea,summary):not([id^="huiyao-court-designer"] *) { transition:none !important; }
 .wp-site-blocks :where(button,.wp-block-button__link,.hy-product-action,.hy-application-action,.hy-footer-v2__button):is(:hover,:active) { transform:none !important; }
 .hy-nav .wp-block-navigation__responsive-container.is-menu-open { animation:none !important; }
}
