/* Fuentes locales (sin peticiones a Google Fonts) */
@font-face{font-family:"Exo 2";font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/exo2.woff2) format("woff2")}
@font-face{font-family:"Exo 2";font-style:italic;font-weight:100 900;font-display:swap;src:url(../fonts/exo2-italic.woff2) format("woff2")}
@font-face{font-family:"DM Sans";font-style:normal;font-weight:100 1000;font-display:swap;src:url(../fonts/dmsans.woff2) format("woff2")}

/* Base mínima */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:#fff;color:#556070;font-family:"DM Sans",system-ui,sans-serif;font-size:15.2px;line-height:1.7;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto}
a{color:#00709A}
p{margin:0 0 .9rem}
p:last-child{margin-bottom:0}
button,input,select,textarea{font:inherit}
button,[type=submit],[type=button]{cursor:pointer}
.rn-main{display:block;overflow-x:clip}
.rn-main:focus{outline:none}

/* Accesibilidad: foco visible y "Saltar al contenido" */
:focus-visible{outline:3px solid #00709A;outline-offset:2px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link:focus{clip:auto;width:auto;height:auto;margin:0;z-index:100000;top:12px;left:12px;padding:12px 20px;background:#0A2244;color:#fff;border-radius:6px;font-weight:600;text-decoration:none}

/* WooCommerce: miniatura de tarjeta (fondo claro + badges) y migas de pan */
.rn-thumb{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;margin-bottom:16px;overflow:hidden;border-radius:8px;background:#F3F6F9}
.rn-thumb img{width:100%!important;height:100%!important;margin:0!important;padding:20px;object-fit:contain;mix-blend-mode:multiply;transition:transform .5s}
li.product:hover .rn-thumb img{transform:scale(1.05)}
.rn-thumb .onsale{position:absolute;top:12px;left:12px;right:auto;z-index:2;min-width:0;min-height:0;margin:0;padding:4px 8px;border-radius:4px;background:#A9CB0B;color:#0A2244;font-family:"Exo 2",sans-serif;font-size:12px;font-weight:700;line-height:1.2}
.rn-sin-stock{position:absolute;top:12px;right:12px;z-index:2;padding:4px 8px;border-radius:4px;background:#0A2244;color:#fff;font-family:"Exo 2",sans-serif;font-size:12px;font-weight:600;line-height:1.2}
.woocommerce-breadcrumb .rn-sep{margin:0 8px;color:#A9CB0B}

/* Contenido sin Elementor (respaldo) */
.rn-contenido,.rn-fallback{max-width:1200px;margin:0 auto;padding:40px 16px}

@media (prefers-reduced-motion: reduce){.elementor-invisible{visibility:visible!important}.animated{animation:none!important}}

/* WooCommerce: carrito y finalizar compra (gana al CSS por defecto de los widgets de Elementor Pro) */
.elementor-widget-woocommerce-cart,.elementor-widget-woocommerce-checkout-page{font-family:"DM Sans",system-ui,sans-serif!important}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row select,.woocommerce form .form-row textarea{width:100%!important;min-height:48px!important;padding:12px 14px!important;border:1px solid #E2E8F0!important;border-radius:6px!important;background:#fff!important;color:#0A2244!important;font:inherit!important;font-size:15px!important;line-height:1.4!important;box-shadow:none!important;box-sizing:border-box!important}
.woocommerce form .form-row textarea{min-height:110px!important}
.woocommerce form .form-row input.input-text:focus,.woocommerce form .form-row select:focus,.woocommerce form .form-row textarea:focus{border-color:#00AEED!important;outline:0}
.woocommerce form .form-row .woocommerce-input-wrapper{display:block;width:100%}
.woocommerce form .form-row label{color:#0A2244;font-weight:500;font-size:14px}
.woocommerce form .form-row .select2-container{width:100%!important;display:block}
.woocommerce form .form-row .select2-container .select2-selection--single{height:48px!important;min-height:48px!important;padding:0!important;border:1px solid #E2E8F0!important;border-radius:6px!important;background:#fff!important}
.woocommerce form .form-row .select2-container .select2-selection--single .select2-selection__rendered{height:46px!important;padding:0 40px 0 14px!important;line-height:46px!important;color:#0A2244!important;font-size:15px}
.woocommerce form .form-row .select2-container .select2-selection--single .select2-selection__arrow{top:0!important;right:8px!important;height:46px!important}
.select2-dropdown{border-color:#E2E8F0!important;font-family:"DM Sans",system-ui,sans-serif}
.select2-results__option--highlighted[aria-selected],.select2-results__option--highlighted[data-selected]{background:#00AEED!important;color:#0A2244!important}
/* Métodos de envío: debajo de "Envío", a lo ancho (sin quedar encajonados a la derecha) */
.woocommerce ul#shipping_method,.woocommerce ul.woocommerce-shipping-methods{clear:both;width:100%;padding-top:4px!important;text-align:left!important}
.woocommerce ul#shipping_method li,.woocommerce ul.woocommerce-shipping-methods li{display:flex!important;align-items:flex-start;gap:8px;width:100%;text-align:left!important}
.woocommerce ul#shipping_method li label{flex:1 1 auto;min-width:0;overflow-wrap:normal!important;word-break:normal!important}
.woocommerce .woocommerce-shipping-destination,.woocommerce .woocommerce-shipping-calculator{clear:both;text-align:left!important}
/* Avisos de WooCommerce ("se ha añadido a tu carrito"…) al ancho del contenedor, mismo espacio arriba y abajo */
.rn-main>.woocommerce-notices-wrapper{width:min(1200px,calc(100% - 32px));margin:24px auto}
.rn-main>.woocommerce-notices-wrapper:empty{display:none}
.rn-main>.woocommerce-notices-wrapper>*+*{margin-top:12px!important}
.rn-main>.woocommerce-notices-wrapper .woocommerce-message,.rn-main>.woocommerce-notices-wrapper .woocommerce-info,.rn-main>.woocommerce-notices-wrapper .woocommerce-error{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:0;padding:14px 16px 14px 52px;border:0;border-left:4px solid #A9CB0B;border-radius:6px;background:#F3F6F9;color:#0A2244;font-family:"DM Sans",system-ui,sans-serif;line-height:1.5}
.rn-main>.woocommerce-notices-wrapper .woocommerce-message::before,.rn-main>.woocommerce-notices-wrapper .woocommerce-info::before,.rn-main>.woocommerce-notices-wrapper .woocommerce-error::before{top:50%;left:20px;transform:translateY(-50%)}
.rn-main>.woocommerce-notices-wrapper .woocommerce-message::after,.rn-main>.woocommerce-notices-wrapper .woocommerce-info::after{content:none}
.rn-main>.woocommerce-notices-wrapper .button{float:none!important;order:2;margin:0 0 0 auto!important;padding:10px 18px!important;line-height:1.2!important;border-radius:6px;background:#00AEED;color:#0A2244;font-family:"Exo 2",sans-serif;font-weight:600}
.rn-main>.woocommerce-notices-wrapper .woocommerce-info{border-left-color:#00AEED}.rn-main>.woocommerce-notices-wrapper .woocommerce-error{border-left-color:#E2401C}
.rn-main>.woocommerce-notices-wrapper .button:hover{background:#A9CB0B;color:#0A2244}
