/* Interaction timing follows the site's explicitly enabled motion preference. */
:root {
  scroll-behavior: smooth !important;
}

body .nav-dropdown {
  transition: opacity 240ms ease, transform 340ms cubic-bezier(.22, 1, .36, 1), visibility 340ms !important;
}

body .nav-chevron {
  transition: transform 280ms cubic-bezier(.22, 1, .36, 1) !important;
}

body .nav-toggle,
body .nav-dropdown a,
body .button,
body .add-button,
body .icon-button,
body .cart-trigger,
body .menu-button,
body .quantity button,
body .spec-link {
  transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease,
    box-shadow 280ms ease, transform 280ms cubic-bezier(.22, 1, .36, 1), scale 180ms ease !important;
}

body .search-input,
body .sort-select,
body #buildFields label,
body #buildFields select {
  transition: border-color 260ms ease, box-shadow 300ms ease, background-color 260ms ease !important;
}

body #buildFields label:focus-within {
  border-color: #69e2ec;
  box-shadow: 0 0 25px #5be3ec1a;
}

body .upgrade-choice {
  transition: transform 300ms cubic-bezier(.22, 1, .36, 1), border-color 260ms ease,
    box-shadow 320ms ease, background-color 260ms ease !important;
}

body .button:active,
body .add-button:active,
body .cart-trigger:active,
body .icon-button:active,
body .upgrade-choice:active {
  scale: .97;
}

body .why-point,
body .contact-box {
  transition: border-color 350ms ease, box-shadow 350ms ease !important;
}

@media (hover: hover) {
  body .why-point:hover,
  body .contact-box:hover {
    border-color: #63c4d088;
    box-shadow: 0 10px 35px #5be3ec0d;
  }

  body .nav-dropdown a:hover {
    transform: translateX(3px);
  }
}

body dialog[open] {
  animation: none !important;
}

body dialog[open]::backdrop {
  animation: motion-backdrop 280ms ease both !important;
}

@keyframes motion-backdrop {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 760px) {
  body .nav-dropdown {
    transition: max-height 320ms cubic-bezier(.22, 1, .36, 1), padding 320ms ease,
      opacity 240ms ease, transform 300ms ease, visibility 320ms !important;
  }
}
