/* Shared finishing rules. Keep icon controls separate from primary actions. */
body.entoma-production{--en-focus-ring:rgba(52,105,209,.16);--en-focus-border:#7698da;--en-control-radius:12px}
body.entoma-production :is(.btn,.button-primary,#submitbtn,.en-art-form>button,.cta-call){display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px;min-height:48px;line-height:1.35!important;text-align:center!important;border-radius:var(--en-control-radius)!important;text-decoration:none!important;vertical-align:middle;transition:background-color .2s ease,color .2s ease,border-color .2s ease,box-shadow .2s ease!important}
body.entoma-production :is(.btn,#submitbtn,.en-art-form>button):not(:disabled):not(.ghost):not(.secondary){color:#fff!important}
@media(hover:hover){
 body.entoma-production :is(.btn,#submitbtn,.en-art-form>button):not(:disabled):not(.ghost):not(.secondary):hover{background:#204bb5!important;border-color:#204bb5!important;color:#fff!important}
 body.entoma-production :is(.btn.ghost,.btn.secondary):hover{background:#edf3ff!important;color:#214fb8!important;border-color:#b8cbed!important}
}
body.entoma-production :is(.btn,#submitbtn,.en-art-form>button)>:is(span,strong){color:inherit!important}
/* A focus halo must not change the size or position of a field. */
body.entoma-production :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=file]):not([type=submit]),select,textarea),
body.entoma-production #entoma-chat-text{border-radius:12px!important;background-color:#fcfdff!important;transition:border-color .24s ease,box-shadow .3s ease,background-color .24s ease!important;transform:none!important}
body.entoma-production :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=file]):not([type=submit]),select,textarea):focus,
body.entoma-production #entoma-chat-text:focus{outline:2px solid transparent!important;outline-offset:2px!important;border-color:var(--en-focus-border)!important;background-color:#fff!important;box-shadow:0 0 0 4px var(--en-focus-ring)!important}
body.entoma-production :is(input,textarea)::placeholder{color:#748398;opacity:1}
body.entoma-production :is(input,select,textarea)[aria-invalid=true]{border-color:#bf4554!important}
body.entoma-production :is(.en-art-request,.ec-calc,.ec-order){background:#f2f6fc!important}
body.entoma-production .ec-photo-cta{background:#f0f5ff!important}
/* Remove old optical shifts and use the same logo dimensions on every template. */
body.entoma-production footer.site-footer>.wrap{box-sizing:border-box!important;width:100%!important;max-width:1180px!important;margin-inline:auto!important;padding-inline:32px!important}
body.entoma-production footer.site-footer .footer-map>.brand{display:flex!important;justify-content:flex-start!important;align-items:center!important;width:240px!important;max-width:100%!important;margin:0 0 16px!important;padding:0!important;position:static!important;transform:none!important}
body.entoma-production footer.site-footer .brand img.brand-logo{display:block!important;position:static!important;inset:auto!important;float:none!important;width:240px!important;height:auto!important;max-width:100%!important;max-height:none!important;margin:0!important;padding:0!important;transform:none!important;object-fit:contain!important;object-position:left center!important}
/* Close controls use a stable square hit area, without inherited button padding. */
body.entoma-production :is(#entoma-chat-close,.en-contact-close,.en-review-close){display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 44px!important;width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;margin:0!important;line-height:1!important;border-radius:12px!important;box-shadow:none!important;background:#f1f4f8!important;color:#18334c!important;border:0!important;font:400 26px/1 system-ui!important}
body.entoma-production .order-dialog .dialog-close{display:flex!important;align-items:center!important;justify-content:center!important;width:fit-content!important;margin:0 0 0 auto!important;min-height:44px!important;line-height:1!important;padding:12px 16px!important;border-radius:12px!important;background:#f1f4f8!important;color:#18334c!important;box-shadow:none!important}
body.entoma-production #entoma-chat-form button{display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1.35!important;border-radius:12px!important}
@media(hover:hover){body.entoma-production :is(#entoma-chat-close,.en-contact-close,.en-review-close,.order-dialog .dialog-close):hover{background:#e5edf8!important}}
@media(max-width:700px){
 body.entoma-production footer.site-footer>.wrap{padding-inline:20px!important}
 body.entoma-production footer.site-footer .footer-map>.brand,body.entoma-production footer.site-footer .brand img.brand-logo{width:220px!important}
 body.entoma-production :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){font-size:16px!important}
}
@media(prefers-reduced-motion:reduce){body.entoma-production :is(input,textarea,select,.btn,.cta-call,#submitbtn,.en-art-form>button){transition:none!important}}
@media(forced-colors:active){body.entoma-production :is(input,select,textarea):focus{outline:2px solid Highlight!important}}
