/* Smoely beweging (stap 09): één rustige entree voor de opening van elke pagina; inhoud is altijd zichtbaar.
   Hover-effecten alleen op apparaten met een muis; bij 'minder beweging' niets. */
@media (prefers-reduced-motion:no-preference){
  @keyframes sm-arrive{from{transform:translateY(.5rem)}to{transform:none}}
  .sm-home .hero2 .h2-copy,
  .sm-prod .entry-summary,
  .sm-legal .legal-intro,
  .sm-shop > h1,
  .sm-404-in{animation:sm-arrive 420ms ease-out}
}
/* Aanraakschermen: geen 'opgetilde' knoppen of kaarten die na een tik blijven hangen */
@media (hover:none){
  .sm-home .wp-block-button.bub .wp-block-button__link:hover,
  .sm-home .herocard.heroprod:hover,
  .sm-home .ctabs button:hover,
  .sm-prod .entry-summary .single_add_to_cart_button:hover,
  .sm-shop .button:hover,.sm-shop a.checkout-button:hover,.sm-shop #place_order:hover,
  .sitefoot a.sf-reply:hover,.sitefoot p.sf-phone:hover,
  #header .ct-header-cta .ct-button:hover,#header .ct-header-cart .ct-cart-item:hover,
  .sm-404-cards a:hover,.sm-404-home:hover,.cf-home:hover{transform:none}
}

/* tikvlakken telefoon */
body .chatform .frm-fluent-form .ff-el-input--content input.ff-el-form-control{min-height:44px;padding-top:8px;padding-bottom:8px}
body .chatform .frm-fluent-form .ff-el-input--content:has(input.ff-el-form-control){padding-bottom:2px}
.sm-404-lnk{padding:12px 4px;margin:-12px -4px}

/* toetsenbord: zichtbare focus */
body .chatform .frm-fluent-form .ff-el-input--content:has(.ff-el-form-control:focus-visible){outline:2px solid #3A2A24;outline-offset:3px}
body .chatform .frm-fluent-form .ff-el-form-control:focus{outline:none}
body .frm-fluent-form button.ff-btn-submit:focus-visible,.sm-home .cpanel:focus-visible{outline:2px solid #3A2A24;outline-offset:3px}
.sm-prod .opt2:has(input:focus-visible),.sm-prod .quantity:has(input.qty:focus-visible),.sm-prod label:has(> input[name=sm-pack]:focus-visible) > span{outline:2px solid #3A2A24;outline-offset:3px}

/* mobiel: geen dubbele zijmarge (themamarge + eigen --pad) */
@media (max-width:689.98px){
  .entry-content > .sm-shop,.entry-content > .sm-legal,.entry-content > .sm-contactpage{width:auto;max-width:none;margin-left:0;margin-right:0}
}
