/* Motion is feedback, never a prerequisite to read or operate the page. */
.tst-redesign :is(.reveal,.hero-copy,.hero-image) {animation:none}
.tst-redesign .product-card:hover .product-picture img {transform:none}
.tst-redesign .product-card:hover .quick-view {transform:none}
.tst-redesign :is(.button,.wp-element-button,.icon-button,.tstd-save,.tstd-shortcut,.tst-action-card,.main-nav a,.tstd-bottom a,.tstd-shell button,.tst-shop-links a) {
  transition:background-color var(--tst-duration-ui) var(--tst-ease-ui),border-color var(--tst-duration-ui) var(--tst-ease-ui),color var(--tst-duration-ui) var(--tst-ease-ui),box-shadow var(--tst-duration-ui) var(--tst-ease-ui),translate var(--tst-duration-ui) var(--tst-ease-out),scale var(--tst-duration-press) var(--tst-ease-out);
}
.tst-redesign :is(input,select,textarea,.tstd-search-field,.tstd-city,.tst-pop-input-group,.select2-selection--single,.wc-block-components-quantity-selector) {transition:border-color var(--tst-duration-ui) var(--tst-ease-ui),box-shadow var(--tst-duration-ui) var(--tst-ease-ui)}
.tst-redesign :is(.product-picture,.tstd-card-media>a,.tst-saved-media) {overflow:hidden}
.tst-redesign :is(.product-picture,.tstd-card-media>a,.tst-saved-media)>img {transition:scale var(--tst-duration-hero) var(--tst-ease-out)}
.tst-redesign :is(.button,.text-link,.tst-inline-link,.tstd-section-heading a,.tstd-shortcut)>.tst-icon:last-child {transition:translate var(--tst-duration-ui) var(--tst-ease-out)}
.tst-redesign .site-header {transition:box-shadow var(--tst-duration-panel) var(--tst-ease-ui),background-color var(--tst-duration-panel) var(--tst-ease-ui)}
/* Scroll hiding never removes native keyboard destinations or changes document clearance. */
@media(max-width:900px) {
  /* Sticky layout space is unchanged; only the painted header moves with native scroll. */
  .tst-redesign.tst-header-scroll>header.site-header {translate:0 calc(-1 * var(--tst-header-offset,0px))}
  .tst-redesign.tst-header-scroll>header.site-header.tst-header-hidden {pointer-events:none}
  .tst-redesign.tst-header-scroll>header.site-header:focus-within {translate:0 0;pointer-events:auto}
  /* Scroll owns progress. Material feedback must never interpolate the offset. */
  .tst-redesign .tstd-bottom {--tst-material-transition:none;translate:0 var(--tst-dock-offset,0px);transition:none}
  .tst-redesign .tstd-bottom.tst-dock-hidden {pointer-events:none}
  .tst-redesign .tstd-bottom:focus-within {--tst-material-transition:none;translate:0 0;pointer-events:auto;transition:none}
}
/* Header scroll depth is owned by glass.css material variables. */
.tst-redesign .tstd-filter-panel:not([hidden]),
.tst-redesign .main-nav.open,
.tst-redesign .tstd-map-preview {animation:tst-panel-in var(--tst-duration-panel) var(--tst-ease-out)}
.tst-redesign .tracking-result,
.tst-redesign #tstd-message:not(:empty) {animation:tst-panel-in var(--tst-duration-panel) var(--tst-ease-out)}
.tst-redesign details[open]>:not(summary) {animation:tst-panel-in var(--tst-duration-ui) var(--tst-ease-out)}
.tst-redesign .tstd-filter-toolbar button[aria-pressed=true] {box-shadow:inset 0 0 0 1px var(--green)}
.tst-redesign .tstd-save[aria-pressed=true] .tst-icon {animation:tst-saved var(--tst-duration-panel) var(--tst-ease-out)}
.tst-redesign .tst-catalog-filters>summary .tst-icon:last-child {transition:transform var(--tst-duration-ui) var(--tst-ease-out)}
.tst-redesign [aria-busy=true] {cursor:progress}
.tst-redesign .tstd-shell[aria-busy=true] {opacity:1}
@media(hover:hover) and (pointer:fine) {
  .tst-redesign :is(.product-picture,.tstd-card-media>a,.tst-saved-media):hover>img {scale:1.035}
  .tst-redesign :is(.product-card,.tstd-card,.tst-saved-card):not(.tst-card--product-featured):focus-within img:not(.tst-icon) {scale:1.025}
  .tst-redesign .tst-action-card:where(:not([aria-disabled=true],[aria-busy=true])):hover {translate:0 -2px}
  /* Shortcut colors belong to their own surfaces, not the whole mobile hit area. */
  .tst-redesign .tstd-shortcut:hover {translate:0 -2px}
  .tst-redesign :is(.text-link,.tst-inline-link,.tstd-section-heading a,.tstd-shortcut):where(:not(:disabled,.disabled,[aria-disabled=true],[aria-busy=true])):hover>.tst-icon:last-child {translate:3px 0}
}
@media(hover:hover) and (pointer:fine) and (min-width:601px) {
  .tst-redesign .tstd-shortcut:not(.tstd-shortcut--pop):hover {border-color:var(--tst-ink)}
}
@media(hover:hover) and (pointer:fine) and (max-width:600px) {
  .tst-redesign .tstd-shortcut:not(.tstd-shortcut--pop):hover>.tstd-shortcut-icon {box-shadow:inset 0 0 0 2px var(--tst-ink)}
}
/* Navigation keeps a stable hit box: its selection marker measures this geometry. */
.tst-redesign :is(.button,.wp-element-button,.icon-button,.tstd-save,.tstd-shortcut,.main-nav a,.tstd-bottom a,.tstd-shell button):active:not(:disabled,.disabled,[aria-disabled=true],[aria-busy=true]):not(.button,.wp-element-button,[type=submit],[data-tst-nav-item],[data-tst-nav-hover],.nav-tools .icon-button,.tstd-save--icon,.tst-mobile-save,.tst-gallery-save>.button) {scale:.98}
@keyframes tst-panel-in {from {opacity:.5;translate:0 6px} to {opacity:1;translate:0 0}}
@keyframes tst-saved {0%,100% {scale:1} 45% {scale:1.14}}
@media(prefers-reduced-motion:reduce) {
  .tst-redesign.tst-header-scroll>header.site-header {translate:none!important;pointer-events:auto}
  .tst-redesign *, .tst-redesign *::before, .tst-redesign *::after {animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .tst-redesign :is(.button,.wp-element-button,.icon-button,.tstd-save,.tstd-shortcut,.tst-action-card,.main-nav a,.tstd-bottom a,.tstd-shell button,.product-picture>img,.tstd-card-media>a>img,.tst-saved-media>img) {scale:none!important;translate:none!important}
}
