:root{--mx-blue:#1748A3;--mx-orange:#FF8D37;--mx-ink:#17263F;--mx-light:#F3F6FC}
.mx-store-access{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem;font:600 .9rem "DM Sans",system-ui,sans-serif;min-width:0}
.mx-store-access a,.mx-account-options a{color:var(--mx-blue);padding:.55rem .7rem;background:white;border:1px solid #dce5f5;border-radius:.55rem;text-decoration:none}
.mx-store-access a:hover,.mx-store-access a:focus-visible,.mx-account-options a:hover{border-color:var(--mx-blue);text-decoration:underline}
header.mx-head{flex-wrap:wrap}
header :is(.mx-cart,a[aria-label="Mi cuenta"])[hidden]{display:none!important}
.mx-account-options{display:flex;flex-wrap:wrap;gap:.6rem;margin:0 0 1.25rem}
.woocommerce-account .woocommerce-form{background:var(--mx-light);border:1px solid #dce5f5;border-radius:.8rem;padding:clamp(1rem,3vw,2rem)}
.woocommerce-account .woocommerce-form h2,.woocommerce-account main h1{font-family:"Manrope",system-ui,sans-serif;color:var(--mx-ink)}
.woocommerce-account .woocommerce-form :is(input[type=text],input[type=email],input[type=password]){box-sizing:border-box;width:100%;min-width:0;border:1px solid #9eafce;border-radius:.5rem;background:white;color:var(--mx-ink);padding:.7rem}
.woocommerce-account .woocommerce-form button[type=submit]{background:var(--mx-blue);color:white;border-radius:.5rem}
.woocommerce-account .woocommerce-form{scroll-margin-top:4rem}
@media(max-width:782px){.mx-store-access{flex-basis:100%;padding-block:.35rem}.mx-store-access a{min-height:2.25rem;box-sizing:border-box}.woocommerce-account #customer_login{display:block}.woocommerce-account #customer_login :is(.col-1,.col-2){float:none;width:100%;min-width:0}}
body:not(.wp-admin):not(.mx-standalone){color:#17263F;background:#F3F6FC;font-family:"DM Sans",system-ui,sans-serif}
body:not(.wp-admin):not(.mx-standalone) :is(main h1,main h2,main h3){font-family:Manrope,system-ui,sans-serif;color:#17263F}
.site-header .hostinger-ai-menu{background:#fff!important;border-bottom:1px solid #dce5f5}
.site-header .hostinger-ai-menu-wrapper{align-items:center}
.site-footer{background:#17263F;color:#fff}
.site-footer a{color:inherit}
.woocommerce :is(.woocommerce-message,.woocommerce-info,.woocommerce-error){border-radius:.55rem}
:is(.woocommerce-account,.woocommerce-checkout,.woocommerce-cart) main :is(input:not([type=checkbox]):not([type=radio]),select,textarea){max-width:100%;box-sizing:border-box}
:is(.woocommerce-account,.woocommerce-checkout,.woocommerce-cart) main :is(.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout){min-width:0}
@media(max-width:782px){.site-header .mx-store-access{grid-column:1/-1;justify-content:center}.woocommerce-account table.shop_table{display:block;max-width:100%;overflow-x:auto}}

/* Shared treatments for WordPress, Elementor and WooCommerce content. */
body:is(.page,.single-product,.tax-product_cat,.error404) main
:is(.wp-block-button__link,.elementor-button,.single_add_to_cart_button,
.wc-block-components-checkout-place-order-button,.wc-block-cart__submit-button,
.woocommerce-button,[type=submit]):not(.wp-block-search__button) {
  background-color:var(--mx-blue);
  color:#fff;
  border-radius:.55rem;
  font-family:"DM Sans",system-ui,sans-serif;
}
body:is(.page,.single-product,.tax-product_cat,.error404) main
:is(.wp-block-button__link,.elementor-button,.single_add_to_cart_button,
.wc-block-components-checkout-place-order-button,.wc-block-cart__submit-button,
.woocommerce-button,[type=submit]):focus-visible {
  outline:3px solid var(--mx-orange);
  outline-offset:3px;
}
body:is(.page,.single-product,.tax-product_cat,.error404) main
:is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),textarea,select) {
  max-width:100%;
  box-sizing:border-box;
  border-radius:.45rem;
}
:is(.woocommerce-account,.woocommerce-cart,.woocommerce-checkout,.single-product) main
:is(.woocommerce-MyAccount-content,.woocommerce-product-details__short-description,.wc-block-components-totals-wrapper) {
  overflow-wrap:anywhere;
  min-width:0;
}
main :is(.wc-block-product,.products .product) {
  box-sizing:border-box;
  min-width:0;
  border:1px solid #dce5f5;
  border-radius:.75rem;
  padding:clamp(.65rem,2vw,1rem);
  background:#fff;
  overflow-wrap:anywhere;
}
main :is(.wc-block-product,.products .product) img {
  max-width:100%;
  height:auto;
  border-radius:.5rem;
}
body:is(.page-id-31,.page-id-32,.page-id-119) main :is(p,li,label) {
  overflow-wrap:anywhere;
}
body.page-id-32 main :is(input[type=text],input[type=email],textarea),
body.page-id-119 main :is(input[type=text],input[type=email],input[type=password],input[type=tel],select) {
  width:100%;
  padding:.65rem;
  border:1px solid #9eafce;
  background:#fff;
  color:var(--mx-ink);
}
.site-footer :is(h2,h3,h4){color:inherit;font-family:Manrope,system-ui,sans-serif}
@media(max-width:782px) {
  body:is(.page-id-31,.page-id-32,.page-id-119) main .wp-block-column{min-width:0}
  body:is(.page-id-31,.page-id-32,.page-id-119) main img{max-width:100%;height:auto}
  .woocommerce-account .woocommerce-MyAccount-navigation ul{display:flex;flex-wrap:wrap;gap:.4rem;padding:0;list-style:none}
}
header.mx-shared-head{box-sizing:border-box;width:min(1240px,92%);margin-inline:auto;display:flex;align-items:center;gap:14px;flex-wrap:wrap;min-height:80px;padding-block:.65rem;background:transparent}
header.mx-shared-head a{text-decoration:none}
header.mx-shared-head .mx-logo{display:inline-flex;align-items:center;gap:7px;color:#1748A3;font:800 34px/.86 Manrope,system-ui,sans-serif;letter-spacing:-.055em;white-space:nowrap}
header.mx-shared-head .mx-logo svg{flex:none;height:auto}
header.mx-shared-head .mx-logo i{color:#FF8D37;font-style:normal}
header.mx-shared-head .mx-logo small{display:block;font:800 7px/1 "DM Sans",system-ui,sans-serif;letter-spacing:.2em;margin-top:7px;color:#17263F}
header.mx-shared-head nav{display:flex;justify-content:center;flex-wrap:wrap;align-items:center;gap:12px;flex:1}
header.mx-shared-head nav a{color:#17263F;font-weight:700;font-size:14px}
header.mx-shared-head nav [data-mayorix-panel]{display:none!important}
header.mx-shared-head .mx-search{display:flex;align-items:center;border:1px solid #d3deef;border-radius:9px;overflow:hidden;background:#fff}
header.mx-shared-head .mx-search input{font:inherit;font-size:14px;min-width:0;width:156px;padding:9px;border:0}
header.mx-shared-head .mx-search button{font:700 13px "DM Sans",system-ui,sans-serif;background:#FF8D37;color:#17263F;border:0;padding:10px;cursor:pointer}
.woocommerce-account .woocommerce-form{margin-top:.9rem}
@media(max-width:980px){header.mx-shared-head nav{order:3;flex:1 1 100%;justify-content:flex-start}}
@media(max-width:640px){header.mx-shared-head .mx-search{order:4;flex:1 1 100%}header.mx-shared-head .mx-search input{flex:1}header.mx-shared-head .mx-logo{font-size:26px}header.mx-shared-head .mx-logo svg{width:32px}header.mx-shared-head .mx-logo small{font-size:5.6px}}
header.mx-shared-head :is(.mx-menu-toggle,nav)[hidden]{display:none!important}
header.mx-shared-head .mx-menu-toggle{margin-left:auto;min-height:44px;border:1px solid #dce5f5;border-radius:.55rem;background:#fff;color:var(--mx-blue);font:700 .9rem "DM Sans",system-ui,sans-serif;padding:0 .85rem}
header.mx-shared-head :is(a,button):focus-visible,.mx-shared-footer a:focus-visible{outline:3px solid #FF8D37;outline-offset:3px}
footer.mx-shared-footer{background:#17263F;color:#fff;padding:clamp(1.5rem,4vw,3rem) 0;font-family:"DM Sans",system-ui,sans-serif}
footer.mx-shared-footer .mx-footer-inner{display:grid;grid-template-columns:2fr 1fr 1.25fr;gap:1.5rem;width:min(1240px,92%);margin-inline:auto;align-items:start}
.mx-shared-footer :is(nav,.mx-footer-contact){display:grid;gap:.45rem;min-width:0;overflow-wrap:anywhere}
.mx-shared-footer a{color:inherit;text-decoration:none}
.mx-shared-footer a:hover{text-decoration:underline}
.mx-shared-footer .mx-footer-brand{font:800 2rem Manrope,system-ui,sans-serif}
.mx-shared-footer .mx-footer-brand span{color:#FF8D37}
.mx-shared-footer small{grid-column:1/-1;border-top:1px solid #61718d;padding-top:1rem}
@media(max-width:640px){footer.mx-shared-footer .mx-footer-inner{grid-template-columns:1fr}.mx-shared-head nav a{padding:.45rem 0}.mx-shared-head .mx-store-access a{min-height:44px}}
:is(.woocommerce-cart,.woocommerce-checkout) :is(.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout) {
  min-width:0;
  color:var(--mx-ink);
}
:is(.woocommerce-cart,.woocommerce-checkout) :is(.wc-block-components-sidebar,.wc-block-components-main) {
  min-width:0;
  overflow-wrap:anywhere;
}
:is(.woocommerce-cart,.woocommerce-checkout) :is(.wc-block-components-button,.wc-block-components-quantity-selector button):focus-visible {
  outline:3px solid var(--mx-orange);
  outline-offset:2px;
}
@media(max-width:640px) {
  :is(.woocommerce-cart,.woocommerce-checkout) :is(.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout) {padding-inline:clamp(.5rem,3vw,1rem)}
  .woocommerce-cart .wc-block-cart-items__row img{max-width:100%;height:auto}
}
header.mx-shared-head{position:relative;gap:clamp(.45rem,1.5vw,1.25rem)}
header.mx-shared-head #mx-primary-menu{flex:1;order:initial;justify-content:flex-start}
.mx-header-actions{display:flex;align-items:center;gap:.4rem;margin-left:auto}
.mx-header-actions :is(summary,.mx-menu-toggle,.mx-cart-slot>a){display:inline-flex;align-items:center;justify-content:center;gap:.35rem;min-height:44px;padding:.45rem .55rem;box-sizing:border-box;border:none;background:transparent;color:#17263F;font:700 .875rem "DM Sans",system-ui,sans-serif;cursor:pointer;white-space:nowrap}
.mx-header-actions summary::-webkit-details-marker{display:none}
.mx-header-actions :is(details, .mx-cart-slot){position:relative}
header.mx-shared-head .mx-search-control .mx-search,.mx-account-control .mx-account-links{position:absolute;top:100%;right:0;z-index:50;background:#fff;border:1px solid #dce5f5;border-radius:.65rem;box-shadow:0 6px 20px #17263f16}
.mx-account-links{display:grid;gap:.15rem}
.mx-account-control .mx-account-links{min-width:205px;padding:.45rem}
.mx-account-links a{display:block;padding:.65rem;font-weight:600;color:#17263F}
.mx-cart-slot .wc-block-mini-cart__button{display:flex;align-items:center;gap:.3rem;min-height:44px}
.mx-catalog-filter{margin:0 0 1rem;color:#17263F}
.mx-catalog-filter summary{cursor:pointer;font-weight:700;min-height:44px;align-content:center}
.mx-catalog-filter nav{display:flex;flex-wrap:wrap;gap:.55rem 1rem;padding:.25rem 0 .75rem}
.mx-catalog-filter a{color:#1748A3}
@media(max-width:680px){
 header.mx-shared-head{width:94%;min-height:58px;gap:.2rem}
 header.mx-shared-head .mx-logo{font-size:24px;gap:4px}
 header.mx-shared-head .mx-logo svg{width:28px}
 .mx-header-actions{gap:0}
 .mx-header-actions :is(summary,.mx-menu-toggle,.mx-cart-slot>a){padding-inline:.28rem;font-size:.78rem;min-width:44px}
 .mx-header-actions .mx-search-control summary span,.mx-header-actions .mx-cart-text,.mx-header-actions .mx-account-control{display:none}
 header.mx-shared-head #mx-primary-menu{order:3;flex:1 0 100%;display:grid;justify-content:stretch;gap:0;border-top:1px solid #dce5f5;padding:.35rem 0}
 header.mx-shared-head #mx-primary-menu a{min-height:44px;align-content:center;box-sizing:border-box;padding:.55rem .4rem}
 header.mx-shared-head .mx-header-actions,header.mx-shared-head .mx-header-actions details{position:static}
 header.mx-shared-head .mx-search-control .mx-search{left:0;right:0;margin:0}
}
@media (max-width:680px) {
  .tax-product_cat .wp-block-woocommerce-catalog-sorting,
  .tax-product_cat .woocommerce-ordering {
    min-width:0;
    max-width:100%;
  }
  .tax-product_cat .woocommerce-ordering select.orderby {
    display:block;
    width:100%;
    min-width:0;
    max-width:100%;
    box-sizing:border-box;
  }
}

.mx-account-picker { max-width: 760px; margin: 1.5rem auto; padding: clamp(1rem, 3vw, 2rem); border: 1px solid #d9e2f0; border-radius: 1rem; background: #fff; }
.mx-account-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1rem; }
.mx-account-types article { min-width: 0; padding: 1rem; border: 1px solid #d9e2f0; border-radius: .85rem; }
.mx-account-types a { color: #1748a3; font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
.mx-account-picker[hidden], .woocommerce #customer_login > [hidden] { display: none !important; }
.woocommerce #customer_login:has(> [hidden]) > :not([hidden]) { width: 100%; max-width: 550px; float: none; margin-inline: auto; }

@media (max-width: 680px) {
  .woocommerce-checkout .wp-block-group.has-global-padding > .wp-block-post-content {
    max-width: 100%;
  }
}

.mx-account-picker { color: #17263f; }
.mx-account-picker h2 { margin: 0 0 .35rem; }
.mx-account-picker h2 + p { margin: 0 0 1rem; }
.mx-account-picker .mx-account-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: .5rem;
  padding: 1rem; border: 1px solid #d9e2f0; border-radius: .85rem;
  color: #17263f; text-decoration: none; font-weight: 400;
}
.mx-account-card small { border-radius: 999px; background: #f3f6fc; color: #1748a3; padding: .2rem .55rem; font-weight: 700; }
.mx-account-card:hover, .mx-account-card[aria-current] { border-color: #1748a3; background: #f3f6fc; }
.mx-account-card:focus-visible { outline: 2px solid #1748a3; outline-offset: 3px; }
.mx-account-picker > [hidden] { display: none !important; }
.mx-account-picker > .u-column2 { width: 100%; float: none; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid #d9e2f0; }
.mx-account-picker form.register { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; border: none; padding: 0; }
.mx-account-picker form.register > * { grid-column: 1 / -1; min-width: 0; }
.mx-account-picker form.register > .mx-registration-name { grid-column: auto; }
.mx-account-picker form.register input { width: 100%; border-radius: 999px; }
.mx-account-picker form.register button[name="register"] { width: 100%; }
@media (max-width: 420px) {
  .mx-account-picker form.register > .mx-registration-name { grid-column: 1 / -1; }
}

.woocommerce #customer_login > .mx-login-panel { width: 100%; max-width: 550px; float: none; margin-inline: auto; }
.mx-account-picker form.register input:focus-visible,
.mx-account-picker .mx-password-toggle:focus-visible { outline: 2px solid #1748a3; outline-offset: 2px; }
.mx-account-picker form.register button[name="register"] { background: #1748a3; color: #fff; }
.mx-account-picker .mx-password-toggle { min-height: 44px; margin-top: .25rem; }

header.mx-shared-head .mx-logo img.mx-header-brand-image { display:block; width:190px; max-width:100%; height:auto; }
.mx-shared-footer .mx-footer-brand img.mx-footer-brand-image { display:block; width:185px; max-width:100%; height:auto; background:#fff; border-radius:8px; padding:6px; }
@media(max-width:680px) { header.mx-shared-head .mx-logo img.mx-header-brand-image { width:clamp(112px,39vw,152px); } }

/* Keep the shared header inline when the checkout template forces block display. */
body.woocommerce-checkout .wp-site-blocks > header.mx-shared-head{display:flex!important}
