/* LAYER 3D — restrained motion, no layout-changing animation. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes l3d-enter {
    from { opacity: .15; translate: 0 14px; }
    to { opacity: 1; translate: 0 0; }
  }
  .l3d-enter { animation: l3d-enter .52s cubic-bezier(.22,.8,.25,1) both; animation-delay: var(--l3d-delay,0ms); }
  .hero-intro h1 { animation: l3d-enter .65s cubic-bezier(.22,.8,.25,1) both; }
  .hero-intro .sub { animation: l3d-enter .55s .09s cubic-bezier(.22,.8,.25,1) both; }
  .hero-intro .cta { animation: l3d-enter .55s .16s cubic-bezier(.22,.8,.25,1) both; }
  .hero-intro .chips { animation: l3d-enter .55s .22s cubic-bezier(.22,.8,.25,1) both; }
  .live-product,.related-track > article,.related-track > .card,.step,.grid > .card,.grid4 > .card {
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
  }
  .product-square img { transition: transform .38s cubic-bezier(.22,.8,.25,1); }
  .btn,.button,.cart-add,#demoPrintButton,.carousel-nav button,.related-controls button {
    transition: transform .18s ease, box-shadow .22s ease, background-color .22s ease;
  }
  .hero .demo-select-row,.demo-print-settings select,.demo-name-row input {
    transition: border-color .2s ease, box-shadow .2s ease;
  }
  .hero .demo-select-row:focus-within,.demo-print-settings select:focus,.demo-name-row input:focus {
    border-color: #ff5a1f; box-shadow: 0 0 0 3px rgba(255,90,31,.12);
  }
  .btn:active,.button:active,.cart-add:active,#demoPrintButton:active,.carousel-nav button:active,.related-controls button:active {
    transform: scale(.97);
  }
  @media (hover:hover) and (pointer:fine) {
    .live-product:hover,.related-track > article:hover,.related-track > .card:hover,.step:hover,.grid > .card:hover,.grid4 > .card:hover {
      transform: translateY(-3px); box-shadow: 0 12px 24px rgba(29,29,31,.10);
    }
    .live-product:hover .product-square img,.related-track > article:hover .product-square img,.product-square:hover img { transform: scale(1.045); }
    .btn.p:hover,.button:not(.secondary):hover,.cart-add:not(:disabled):hover,#demoPrintButton:hover {
      transform: translateY(-2px); box-shadow: 0 8px 19px rgba(255,90,31,.23);
    }
    .btn.g:hover,.button.secondary:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(29,29,31,.09); }
    .step:hover .n { background: #c64316; }
    .step .n { transition: background-color .22s ease; }
    .carousel-nav button:not(:disabled):hover,.related-controls button:not(:disabled):hover { transform: scale(1.05); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .l3d-enter,.hero-intro h1,.hero-intro .sub,.hero-intro .cta,.hero-intro .chips { animation:none!important; translate:none!important; opacity:1!important; }
  .live-product,.product-square img,.step,.grid > .card,.grid4 > .card,.btn,.button,.cart-add,#demoPrintButton { transition:none!important; }
}
