/* Photo position only; gallery behavior is unchanged. */
#products .shoe-gallery-count,#productModal .shoe-gallery-count{left:auto!important;right:8px!important}

/* Keep the complete newsletter title on one line in its available column. */
.newsletter .newsletter-in>div{min-width:0!important;max-width:100%!important;container-type:inline-size;width:100%}
.newsletter .newsletter-in h2{white-space:nowrap!important;text-wrap:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;font-size:clamp(12px,4.5vw,32px)!important;font-size:clamp(8px,5.5cqi,32px)!important;letter-spacing:-.04em!important;line-height:1.15!important}

/* Remove shine/reflection behind the Quick contact / WhatsApp wording. */
footer .footer-whatsapp::before,
footer .footer-whatsapp .footer-contact-copy::before,
footer .footer-whatsapp .footer-contact-copy::after,
footer .footer-whatsapp .footer-contact-copy small::before,
footer .footer-whatsapp .footer-contact-copy small::after,
footer .footer-whatsapp .footer-contact-copy strong::before,
footer .footer-whatsapp .footer-contact-copy strong::after{content:none!important;display:none!important}
footer .footer-whatsapp .footer-contact-copy,
footer .footer-whatsapp .footer-contact-copy *{background:transparent!important;box-shadow:none!important;text-shadow:none!important;filter:none!important;-webkit-box-reflect:unset!important}

/* Only phone footer artwork moves, leaving its layout space and other sizes intact. */
@media(max-width:600px){
  footer .footer-brand-block .official-footer-sign,
  footer .footer-brand-block .official-footer-sign:hover{transform:translateY(-14px)!important}
}

/* Restore the usual breathing room above the device edge. The focused composer
   stays flush to the keyboard once the visual viewport contracts. */
#customerChatModal[data-chat-mode="order"] .customer-chat-form{padding-bottom:max(12px,env(safe-area-inset-bottom))!important}
#customerChatModal[data-chat-mode="order"][data-keyboard-open="true"] .customer-chat-form{padding-bottom:2px!important}

/* The document stays fixed while the actual filter body owns vertical scrolling. */
html.filter-open,body.filter-open{touch-action:auto!important}
#universalFilter{grid-template-rows:auto minmax(0,1fr) auto!important;overflow:hidden!important}
#universalFilter #universalFilterBody{min-height:0!important;max-height:100%!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;touch-action:pan-y!important;-webkit-overflow-scrolling:touch!important}
.filter-overlay-active{touch-action:none!important}
