:root{
  --eme-ink:#0a0a0a;
  --eme-bg:#f7f7f5;
  --eme-card:#fff;
  --eme-border:#e8e8e8;
  --eme-soft:#f0f0ee;
  --eme-muted:#6b6b6b;
  --eme-muted2:#9b9b9b;
  --eme-red:#D90000;
  --eme-red2:#B80000;
  --eme-green:#16a34a;
  --eme-radius:20px;
  --eme-radius-sm:12px;
  --eme-shadow:0 18px 44px rgba(0,0,0,.06);
}
body.eme-sw{font-family:'Inter',sans-serif;-webkit-font-smoothing:antialiased;color:var(--eme-ink)}
body.eme-sw h1,body.eme-sw h2,body.eme-sw h3,body.eme-sw h4,body.eme-sw .entry-title,body.eme-sw .page-title,body.eme-sw .woocommerce-products-header__title{font-family:'Archivo',sans-serif;letter-spacing:-.02em;color:var(--eme-ink)}
body.eme-sw .site-header .cart-count,body.eme-sw .site-header .cart-counter,body.eme-sw .site-header .cart-contents .count,body.eme-sw .site-header .cart-contents-count,body.eme-sw .site-header .woostify-cart-count,body.eme-sw .site-header .shopping-cart-items-count,body.eme-sw .site-header .count,body.eme-sw .cart-badge{background:var(--eme-red)!important;color:#fff!important;border-color:var(--eme-red)!important}
body.eme-sw .site-header a[href*='cart'],body.eme-sw .site-header .cart-contents{transition:.2s ease}

body.eme-sw-woo{background:var(--eme-bg)}
body.eme-sw-woo .woocommerce-message,body.eme-sw-woo .woocommerce-info,body.eme-sw-woo .woocommerce-error{border:none;background:#fff;border-radius:16px;padding:18px 20px;box-shadow:var(--eme-shadow);color:var(--eme-ink);margin:16px 0}
body.eme-sw-woo .woocommerce-message{border-left:4px solid var(--eme-green)}
body.eme-sw-woo .woocommerce-info{border-left:4px solid var(--eme-ink)}
body.eme-sw-woo .woocommerce-error{border-left:4px solid var(--eme-red)}
body.eme-sw-woo .woocommerce-message::before,body.eme-sw-woo .woocommerce-info::before,body.eme-sw-woo .woocommerce-error::before{display:none}
body.eme-sw-woo .button,body.eme-sw-woo button,body.eme-sw-woo input[type=submit],body.eme-sw-woo .wp-element-button,body.eme-sw-woo .added_to_cart,body.eme-sw-woo .woocommerce a.button,body.eme-sw-woo .woocommerce button.button,body.eme-sw-woo .woocommerce input.button,body.eme-sw-woo .woocommerce #respond input#submit{border:none;border-radius:14px;background:var(--eme-ink);color:#fff;font-weight:800;letter-spacing:.02em;transition:.2s all;box-shadow:none;text-decoration:none}
body.eme-sw-woo .button:hover,body.eme-sw-woo button:hover,body.eme-sw-woo input[type=submit]:hover,body.eme-sw-woo .wp-element-button:hover,body.eme-sw-woo .added_to_cart:hover,body.eme-sw-woo .woocommerce a.button:hover,body.eme-sw-woo .woocommerce button.button:hover,body.eme-sw-woo .woocommerce input.button:hover,body.eme-sw-woo .woocommerce #respond input#submit:hover{background:var(--eme-red);color:#fff;transform:translateY(-1px)}
body.eme-sw-woo input[type=text],body.eme-sw-woo input[type=email],body.eme-sw-woo input[type=tel],body.eme-sw-woo input[type=password],body.eme-sw-woo input[type=search],body.eme-sw-woo input[type=number],body.eme-sw-woo textarea,body.eme-sw-woo select,body.eme-sw-woo .select2-container--default .select2-selection--single,body.eme-sw-woo .select2-container--default .select2-selection--multiple{border:2px solid var(--eme-border)!important;border-radius:14px!important;background:#fff!important;min-height:52px;padding:0 14px;color:var(--eme-ink);font-family:'Inter',sans-serif}
body.eme-sw-woo textarea{padding-top:14px;padding-bottom:14px;min-height:120px}
body.eme-sw-woo input:focus,body.eme-sw-woo textarea:focus,body.eme-sw-woo select:focus{outline:none;border-color:var(--eme-ink)!important}

/* === EME Sitewide UI V3 refinements === */
body.eme-sw{--eme-red:#D90000;--eme-red2:#B80000;--eme-yellow:var(--eme-red)}
body.eme-sw .site-header .cart-count,
body.eme-sw .site-header .cart-counter,
body.eme-sw .site-header .cart-contents .count,
body.eme-sw .site-header .cart-contents-count,
body.eme-sw .site-header .woostify-cart-count,
body.eme-sw .site-header .shopping-cart-items-count,
body.eme-sw .site-header .count,
body.eme-sw .cart-badge{background:var(--eme-red)!important;color:#fff!important;border-color:var(--eme-red)!important}
body.eme-sw .topbar strong,
body.eme-sw .announcement-bar strong,
body.eme-sw .header-top strong,
body.eme-sw [class*="announce"] strong,
body.eme-sw [class*="promo"] strong{color:#fff!important}
body.eme-sw .site-header [style*="#ffd600"],
body.eme-sw .site-header [style*="yellow"]{color:#fff!important;background-color:var(--eme-red)!important}

body.eme-sw-product-page .entry-header,
body.eme-sw-product-page .page-header,
body.eme-sw-product-page .woocommerce-products-header,
body.eme-sw-product-page .woostify-page-header{display:none!important}


/* === EME V6 desde V4: header consistente y mini-carrito legible === */
body.eme-sw-woo .site-header img.custom-logo,
body.eme-sw-woo #masthead img.custom-logo,
body.eme-sw-woo .site-header .site-branding img,
body.eme-sw-woo #masthead .site-branding img,
body.eme-sw-woo .woostify-logo img{max-height:74px!important;width:auto!important;object-fit:contain!important;}
body.eme-sw-woo .site-header .site-branding,
body.eme-sw-woo #masthead .site-branding{display:flex!important;align-items:center!important;}
body.eme-sw .woocommerce-mini-cart .quantity,
body.eme-sw .widget_shopping_cart_content .quantity,
body.eme-sw .woostify-cart-sidebar .quantity,
body.eme-sw .cart-sidebar .quantity,
body.eme-sw .offcanvas-cart .quantity,
body.eme-sw .site-header-cart .quantity{display:inline-flex!important;align-items:center!important;gap:8px!important;visibility:visible!important;opacity:1!important;height:auto!important;overflow:visible!important;color:var(--eme-ink)!important;}
body.eme-sw .woocommerce-mini-cart input.qty,
body.eme-sw .widget_shopping_cart_content input.qty,
body.eme-sw .woostify-cart-sidebar input.qty,
body.eme-sw .cart-sidebar input.qty,
body.eme-sw .offcanvas-cart input.qty,
body.eme-sw .site-header-cart input.qty,
body.eme-sw .quantity input.qty{color:var(--eme-ink)!important;background:#fff!important;opacity:1!important;visibility:visible!important;text-indent:0!important;width:54px!important;min-width:54px!important;height:40px!important;min-height:40px!important;line-height:40px!important;text-align:center!important;font-size:16px!important;font-weight:900!important;padding:0!important;border:1px solid var(--eme-border)!important;border-radius:12px!important;appearance:textfield!important;-moz-appearance:textfield!important;}
body.eme-sw .quantity input.qty::-webkit-outer-spin-button,
body.eme-sw .quantity input.qty::-webkit-inner-spin-button{opacity:1!important;margin:0!important;}
body.eme-sw .woocommerce-mini-cart .minus,
body.eme-sw .woocommerce-mini-cart .plus,
body.eme-sw .widget_shopping_cart_content .minus,
body.eme-sw .widget_shopping_cart_content .plus,
body.eme-sw .woostify-cart-sidebar .minus,
body.eme-sw .woostify-cart-sidebar .plus,
body.eme-sw .cart-sidebar .minus,
body.eme-sw .cart-sidebar .plus{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:34px!important;width:34px!important;height:34px!important;border-radius:999px!important;color:var(--eme-ink)!important;background:#fff!important;border:1px solid var(--eme-border)!important;font-weight:900!important;}
@media(max-width:820px){
  body.eme-sw-woo .site-header img.custom-logo,
  body.eme-sw-woo #masthead img.custom-logo,
  body.eme-sw-woo .site-header .site-branding img,
  body.eme-sw-woo #masthead .site-branding img,
  body.eme-sw-woo .woostify-logo img{max-height:60px!important;}
}

/* === EME V8: no agrandar header de Woostify en páginas Woo === */
body.eme-sw-woo .site-header img.custom-logo,
body.eme-sw-woo #masthead img.custom-logo,
body.eme-sw-woo .site-header .site-branding img,
body.eme-sw-woo #masthead .site-branding img,
body.eme-sw-woo .woostify-logo img{
  max-height:60px!important;
  width:auto!important;
  object-fit:contain!important;
}
@media(max-width:820px){
  body.eme-sw-woo .site-header img.custom-logo,
  body.eme-sw-woo #masthead img.custom-logo,
  body.eme-sw-woo .site-header .site-branding img,
  body.eme-sw-woo #masthead .site-branding img,
  body.eme-sw-woo .woostify-logo img{max-height:52px!important;}
}


/* === EME V69: Footer ecommerce premium tipo Shopify === */
body.eme-footer-enhanced footer.site-footer:not(#eme-premium-footer),
body.eme-footer-enhanced #colophon:not(#eme-premium-footer),
body.eme-footer-enhanced .site-footer:not(.eme-premium-footer){
  display:none!important;
}

#eme-premium-footer.eme-premium-footer{
  display:block!important;
  width:100%;
  margin:0;
  padding:54px 18px 28px;
  background:#f7f7f5;
  color:#111;
  border-top:1px solid #e8e8e4;
  font-family:'Inter',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}
#eme-premium-footer .eme-footer-inner{width:min(100%,1480px);margin:0 auto;}
#eme-premium-footer .eme-footer-top{display:grid;grid-template-columns:minmax(220px,340px) 1fr;gap:28px;align-items:stretch;margin-bottom:28px;}
#eme-premium-footer .eme-footer-brand{display:flex;flex-direction:column;justify-content:center;min-height:132px;padding:24px 28px;border:1px solid #e1e1dd;border-radius:28px;background:#fff;color:#111;text-decoration:none;box-shadow:0 18px 50px rgba(0,0,0,.04);}
#eme-premium-footer .eme-footer-logo{display:block;font-family:'Archivo',sans-serif;font-size:56px;line-height:.9;font-weight:900;letter-spacing:-.055em;}
#eme-premium-footer .eme-footer-tagline{display:block;margin-top:12px;color:#60605d;font-size:15px;line-height:1.35;font-weight:700;}
#eme-premium-footer .eme-footer-trust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
#eme-premium-footer .eme-footer-trust-item{display:flex;align-items:center;gap:14px;min-height:132px;padding:22px;border:1px solid #e1e1dd;border-radius:28px;background:#fff;box-shadow:0 18px 50px rgba(0,0,0,.04);}
#eme-premium-footer .eme-footer-trust-icon{display:flex;align-items:center;justify-content:center;width:46px;height:46px;min-width:46px;border-radius:16px;background:#f3f3f0;font-size:24px;}
#eme-premium-footer .eme-footer-trust-item strong{display:block;font-family:'Archivo',sans-serif;font-size:19px;line-height:1.05;letter-spacing:-.035em;font-weight:900;}
#eme-premium-footer .eme-footer-trust-item em{display:block;margin-top:6px;color:#6b6b67;font-size:14px;line-height:1.25;font-style:normal;font-weight:700;}
#eme-premium-footer .eme-footer-main{display:grid;grid-template-columns:1fr 1fr 1fr minmax(280px,1.25fr);gap:18px;padding:26px;border:1px solid #e1e1dd;border-radius:32px;background:#fff;box-shadow:0 22px 70px rgba(0,0,0,.05);}
#eme-premium-footer .eme-footer-col{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0;}
#eme-premium-footer .eme-footer-col h3{margin:0 0 8px;color:#111;font-family:'Archivo',sans-serif;font-size:18px;line-height:1;letter-spacing:-.035em;font-weight:900;}
#eme-premium-footer .eme-footer-col a{color:#676762;text-decoration:none;font-size:14px;line-height:1.25;font-weight:700;transition:color .18s ease, transform .18s ease;}
#eme-premium-footer .eme-footer-col a:hover{color:#111;transform:translateX(2px);}
#eme-premium-footer .eme-footer-contact p{max-width:320px;margin:0 0 4px;color:#676762;font-size:14px;line-height:1.5;font-weight:650;}
#eme-premium-footer .eme-footer-whatsapp{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 18px;border-radius:999px;background:#25d366;color:#fff!important;font-family:'Archivo',sans-serif;font-size:14px!important;font-weight:900!important;letter-spacing:-.01em;text-transform:uppercase;transform:none!important;}
#eme-premium-footer .eme-footer-whatsapp:hover{background:#18bf57;transform:translateY(-1px)!important;}
#eme-premium-footer .eme-footer-social{display:flex;gap:10px;margin-top:4px;}
#eme-premium-footer .eme-footer-social a{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 13px;border:1px solid #e5e5e2;border-radius:999px;background:#fafafa;color:#111;}
#eme-premium-footer .eme-footer-payments{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:18px;padding:20px 24px;border:1px solid #e1e1dd;border-radius:28px;background:#fff;}
#eme-premium-footer .eme-footer-payments strong{display:block;font-family:'Archivo',sans-serif;font-size:17px;line-height:1;font-weight:900;}
#eme-premium-footer .eme-footer-payments span{display:block;margin-top:6px;color:#70706b;font-size:13px;font-weight:700;}
#eme-premium-footer .eme-footer-payment-badges{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;}
#eme-premium-footer .eme-footer-payment-badges span{display:inline-flex;align-items:center;justify-content:center;min-height:30px;margin:0;padding:0 10px;border:1px solid #e5e5e2;border-radius:999px;background:#f8f8f6;color:#111;font-size:11px;line-height:1;font-weight:900;text-transform:uppercase;}
#eme-premium-footer .eme-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 4px 0;}
#eme-premium-footer .eme-footer-bottom p,#eme-premium-footer .eme-footer-bottom a{margin:0;color:#777772;font-size:13px;line-height:1.35;font-weight:700;text-decoration:none;}
#eme-premium-footer .eme-footer-bottom a:hover{color:#111;}
@media (min-width:1600px){#eme-premium-footer.eme-premium-footer{padding-left:28px;padding-right:28px;}}
@media (max-width:1024px){#eme-premium-footer .eme-footer-top{grid-template-columns:1fr;}#eme-premium-footer .eme-footer-main{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:760px){
  #eme-premium-footer.eme-premium-footer{padding:34px 14px 24px;}
  #eme-premium-footer .eme-footer-inner{width:100%;}
  #eme-premium-footer .eme-footer-top{gap:12px;margin-bottom:12px;}
  #eme-premium-footer .eme-footer-brand{min-height:112px;padding:22px;border-radius:24px;text-align:center;align-items:center;}
  #eme-premium-footer .eme-footer-logo{font-size:48px;}
  #eme-premium-footer .eme-footer-tagline{font-size:13px;}
  #eme-premium-footer .eme-footer-trust{grid-template-columns:1fr;gap:10px;}
  #eme-premium-footer .eme-footer-trust-item{min-height:auto;padding:16px;border-radius:22px;}
  #eme-premium-footer .eme-footer-trust-icon{width:40px;height:40px;min-width:40px;font-size:21px;border-radius:14px;}
  #eme-premium-footer .eme-footer-trust-item strong{font-size:16px;}
  #eme-premium-footer .eme-footer-trust-item em{font-size:12px;}
  #eme-premium-footer .eme-footer-main{grid-template-columns:1fr;gap:0;padding:6px 20px 20px;border-radius:26px;}
  #eme-premium-footer .eme-footer-col{padding:18px 0;border-bottom:1px solid #ecece8;}
  #eme-premium-footer .eme-footer-col:last-child{border-bottom:0;padding-bottom:0;}
  #eme-premium-footer .eme-footer-col h3{font-size:17px;margin-bottom:4px;}
  #eme-premium-footer .eme-footer-col a{font-size:14px;}
  #eme-premium-footer .eme-footer-contact p{max-width:none;font-size:13px;}
  #eme-premium-footer .eme-footer-whatsapp{width:100%;min-height:50px;border-radius:16px;}
  #eme-premium-footer .eme-footer-payments{display:block;margin-top:12px;padding:18px;border-radius:24px;}
  #eme-premium-footer .eme-footer-payment-badges{justify-content:flex-start;margin-top:12px;}
  #eme-premium-footer .eme-footer-bottom{display:block;text-align:center;padding-top:18px;}
  #eme-premium-footer .eme-footer-bottom a{display:inline-block;margin-top:8px;}
}
@media (max-width:390px){#eme-premium-footer.eme-premium-footer{padding-left:10px;padding-right:10px;}#eme-premium-footer .eme-footer-main{padding-left:16px;padding-right:16px;}}


/* === EME V70: ocultar footer original de Woostify / tema y dejar solo el footer premium === */
body.eme-footer-enhanced footer:not(#eme-premium-footer),
body.eme-footer-enhanced #footer,
body.eme-footer-enhanced #colophon,
body.eme-footer-enhanced .site-footer:not(.eme-premium-footer),
body.eme-footer-enhanced .woostify-footer,
body.eme-footer-enhanced .footer,
body.eme-footer-enhanced .footer-area,
body.eme-footer-enhanced .footer-widget-area,
body.eme-footer-enhanced .footer-widgets,
body.eme-footer-enhanced .footer-widgets-area,
body.eme-footer-enhanced .site-footer-widget,
body.eme-footer-enhanced .site-info,
body.eme-footer-enhanced .footer-bottom,
body.eme-footer-enhanced .footer-copyright,
body.eme-footer-enhanced .woostify-footer-widgets,
body.eme-footer-enhanced .woostify-footer-widget,
body.eme-footer-enhanced .woostify-footer-bar,
body.eme-footer-enhanced .elementor-location-footer{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  max-height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}

body.eme-footer-enhanced #eme-premium-footer,
body.eme-footer-enhanced #eme-premium-footer *{
  visibility:visible!important;
}

body.eme-footer-enhanced #eme-premium-footer{
  display:block!important;
  height:auto!important;
  max-height:none!important;
  min-height:0!important;
  overflow:visible!important;
}






/* === EME V74: footer seguro, full-width en PC y sin romper páginas internas === */
@media (min-width: 1025px){
  #eme-premium-footer.eme-premium-footer{
    padding-left:0!important;
    padding-right:0!important;
  }
  #eme-premium-footer .eme-footer-inner{
    width:min(calc(100vw - 72px), 1780px)!important;
    max-width:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  #eme-premium-footer .eme-footer-top{
    grid-template-columns:minmax(260px,.85fr) repeat(3,minmax(240px,1fr))!important;
    gap:18px!important;
  }
  #eme-premium-footer .eme-footer-brand{
    min-height:122px!important;
  }
  #eme-premium-footer .eme-footer-trust{
    display:contents!important;
  }
  #eme-premium-footer .eme-footer-trust-item{
    min-height:122px!important;
  }
  #eme-premium-footer .eme-footer-main{
    grid-template-columns:1fr 1fr 1fr 1.2fr!important;
  }
}

/* Oculta únicamente el footer viejo Elementor de la home, no páginas internas */
body.home [data-id="77f8c56"],
body.home [data-id="7753695"],
body.front-page [data-id="77f8c56"],
body.front-page [data-id="7753695"],
body.page-id-18 [data-id="77f8c56"],
body.page-id-18 [data-id="7753695"]{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  max-height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}

#eme-premium-footer .eme-footer-social{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  margin-top:8px!important;
}

#eme-premium-footer .eme-footer-social-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  padding:0!important;
  border:1px solid #e5e5e2!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#111!important;
  transform:none!important;
}

#eme-premium-footer .eme-footer-social-icon svg{
  width:21px!important;
  height:21px!important;
  fill:currentColor!important;
  display:block!important;
}

#eme-premium-footer .eme-footer-social-icon:hover{
  background:#111!important;
  color:#fff!important;
  transform:translateY(-1px)!important;
}

@media (max-width:760px){
  #eme-premium-footer .eme-footer-social-icon{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
  }
}


/* === EME V75: enlaces footer corregidos + ocultar footer viejo sin afectar páginas internas === */
.elementor-element-736d95,
.elementor-element-77f8c56,
.elementor-element-7753695,
[data-id="736d95"],
[data-id="77f8c56"],
[data-id="7753695"]{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  max-height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}

#eme-premium-footer,
#eme-premium-footer *{
  pointer-events:auto!important;
}

#eme-premium-footer a{
  cursor:pointer!important;
  position:relative;
  z-index:2;
}
