/* Enmarkalia Header PRO - styles isolated to ehp */
body.ehp-replace-header #header,body.ehp-replace-header header.ct-header{display:none!important}
.ehp-root,.ehp-drawer{font-family:inherit;color:#242424}
.ehp-root *,.ehp-drawer *{box-sizing:border-box}
.ehp-root{position:relative;z-index:999;background:#fff;border-bottom:1px solid #eee}
.ehp-root.ehp-sticky{position:sticky;top:0}
.admin-bar .ehp-root.ehp-sticky{top:32px}
.ehp-announcement{text-align:center;background:#f7f7f6;font-size:12px;letter-spacing:.02em;padding:8px 12px}
.ehp-top{background:#fff}
.ehp-top-inner{max-width:1440px;margin:auto;min-height:86px;display:flex;align-items:center;gap:35px;padding:12px 30px}
.ehp-logo{font-size:23px;font-weight:600;letter-spacing:.09em;color:#222!important;text-decoration:none!important;white-space:nowrap}
.ehp-logo img{display:block;max-height:55px;max-width:240px;width:auto}
.ehp-search{margin:auto;max-width:520px;width:100%;height:43px;border:1px solid #e2e2e2;display:flex;align-items:center;background:#fafafa}
.ehp-search input{border:0!important;background:transparent!important;box-shadow:none!important;outline:none!important;min-width:0;flex:1;font-size:14px;padding:10px 15px!important;height:100%}
.ehp-search button,.ehp-drawer-search button{border:0!important;background:transparent!important;color:#333!important;padding:8px 13px!important;cursor:pointer}
.ehp-root svg,.ehp-drawer svg{height:23px;width:23px;display:block}
.ehp-actions{display:flex;gap:23px;align-items:center}
.ehp-actions a{color:#222!important;text-decoration:none!important;position:relative}
.ehp-cart-count{position:absolute;top:-7px;right:-11px;font-size:10px;background:#242424;color:white;border-radius:20px;padding:1px 5px;min-width:16px;text-align:center}
.ehp-desktop-nav{display:flex;justify-content:center;align-items:center;gap:35px;min-height:51px;border-top:1px solid #f0f0f0;padding:0 25px}
.ehp-nav-list{display:flex;align-items:center;justify-content:center;gap:35px;margin:0!important;padding:0!important;list-style:none!important}
.ehp-nav-list li{position:relative;list-style:none!important;margin:0!important;padding:0!important}
.ehp-desktop-nav a{font-size:13px;font-weight:500;color:#333!important;text-decoration:none!important;white-space:nowrap;padding:16px 0;display:inline-block}
.ehp-desktop-nav a:hover{text-decoration:underline!important;text-underline-offset:5px}
.ehp-nav-highlight{font-weight:650!important}
.ehp-desktop-nav .sub-menu{display:none;position:absolute;top:100%;left:-18px;min-width:220px;background:#fff;box-shadow:0 12px 25px #0002;padding:10px 18px!important;z-index:10;list-style:none!important}
.ehp-desktop-nav li:hover>.sub-menu,.ehp-desktop-nav li:focus-within>.sub-menu{display:block}
.ehp-desktop-nav .sub-menu a{padding:10px 0;display:block}
.ehp-menu-trigger{display:none}
.ehp-overlay[hidden]{display:none}
.ehp-overlay{position:fixed;inset:0;background:#0008;z-index:100000}
.ehp-drawer{position:fixed;top:0;bottom:0;left:0;width:min(88vw,380px);background:#fff;z-index:100001;overflow:auto;padding:22px;transform:translateX(-105%);transition:transform .25s ease;box-shadow:4px 0 30px #0002}
.ehp-drawer.ehp-open{transform:translateX(0)}
.ehp-drawer-head{display:flex;align-items:center;justify-content:space-between;font-size:19px;margin-bottom:22px}
.ehp-close,.ehp-menu-trigger{border:0!important;background:transparent!important;color:#222!important;padding:5px!important;cursor:pointer}
.ehp-drawer-search{display:flex;border:1px solid #e5e5e5;margin-bottom:18px}
.ehp-drawer-search input{border:0!important;background:#fff!important;box-shadow:none!important;flex:1;min-width:0;font-size:14px;padding:12px!important}
.ehp-photo-link{display:block;background:#242424;color:#fff!important;text-decoration:none!important;padding:15px;margin-bottom:14px;font-weight:500}
.ehp-mobile-nav .ehp-nav-list{display:block!important}
.ehp-mobile-nav .ehp-nav-list li{border-bottom:1px solid #eee}
.ehp-mobile-nav .ehp-nav-list a{display:block;padding:14px 3px;color:#242424!important;text-decoration:none!important;font-size:15px}
.ehp-mobile-nav .sub-menu{display:block;list-style:none!important;margin:0 0 8px 15px!important;padding:0!important}
.ehp-mobile-nav .sub-menu a{font-size:13px;padding:10px 3px;color:#666!important}
.ehp-secondary-link{display:block;padding:15px 3px;color:#222!important;text-decoration:none!important;border-bottom:1px solid #eee}
.ehp-preview-note{position:fixed;bottom:12px;right:12px;z-index:100002;background:#222;color:#fff;padding:9px 13px;font-size:12px}
@media(max-width:1024px){.ehp-desktop-nav{gap:18px}.ehp-nav-list{gap:18px}.ehp-top-inner{gap:20px}}
@media(max-width:850px){.ehp-desktop-nav,.ehp-top .ehp-search{display:none}.ehp-menu-trigger{display:block}.ehp-top-inner{min-height:65px;padding:10px 17px;gap:13px;justify-content:space-between}.ehp-logo{font-size:18px;letter-spacing:.045em;margin-right:auto}.ehp-logo img{max-height:42px;max-width:165px}.ehp-actions{gap:16px}.ehp-actions svg{width:22px;height:22px}.ehp-announcement{font-size:10px;padding:7px 8px}}
@media(max-width:782px){.admin-bar .ehp-root.ehp-sticky{top:46px}}
@media(prefers-reduced-motion:reduce){.ehp-drawer{transition:none}}

/* Defend against global theme SVG rules, including broad width:100% selectors. */
#ehp-header svg,#ehp-drawer svg{display:block!important;width:23px!important;height:23px!important;min-width:23px!important;max-width:23px!important;min-height:23px!important;max-height:23px!important;fill:none!important;stroke:currentColor!important}
#ehp-header .ehp-menu-trigger,#ehp-header .ehp-search button,#ehp-drawer button{width:auto!important;height:auto!important;min-width:0!important;box-shadow:none!important}
#ehp-header .ehp-nav-list,#ehp-drawer .ehp-nav-list{list-style:none!important}
#ehp-header .ehp-nav-list li,#ehp-drawer .ehp-nav-list li{list-style:none!important}

/* v1.1.0: navegación refinada y buscador móvil */
#ehp-header .ehp-logo img{max-width:260px;max-height:62px}
#ehp-header .ehp-mobile-search-trigger{display:none;border:0!important;background:transparent!important;padding:5px!important;color:#242424!important;cursor:pointer}
#ehp-header .ehp-mobile-search[hidden]{display:none!important}
#ehp-header .ehp-mobile-search{display:none;background:#fff;padding:10px 17px;border-top:1px solid #eee}
#ehp-header .ehp-mobile-search input{min-width:0;flex:1;border:1px solid #ddd!important;background:#fff!important;padding:11px!important;font-size:15px}
#ehp-header .ehp-mobile-search button{background:#242424!important;color:white!important;border:0!important;padding:9px 12px!important}
#ehp-header .ehp-mobile-search button svg{stroke:white!important}
#ehp-header .ehp-desktop-nav .sub-menu{border:1px solid #eee;border-radius:3px;box-shadow:0 15px 35px #00000014}
#ehp-drawer .ehp-mobile-nav .ehp-nav-list li.menu-item-has-children,#ehp-drawer .ehp-mobile-nav .ehp-nav-list li.ehp-has-children{position:relative}
#ehp-drawer .ehp-mobile-nav .ehp-nav-list li.ehp-has-children>a{padding-right:48px}
#ehp-drawer .ehp-submenu-toggle{position:absolute;right:0;top:3px;border:0!important;background:transparent!important;width:44px!important;height:44px!important;font-size:20px;cursor:pointer;color:#333!important}
#ehp-drawer .ehp-mobile-nav .sub-menu{display:none!important;margin:0 0 10px 10px!important;padding:0 0 0 12px!important;border-left:1px solid #e5e5e5}
#ehp-drawer .ehp-mobile-nav li.ehp-expanded>.sub-menu{display:block!important}
#ehp-drawer .ehp-mobile-nav .sub-menu a{font-size:14px!important}
#ehp-drawer .ehp-photo-link{text-align:center;font-size:14px;letter-spacing:.015em}
#ehp-drawer .ehp-mobile-nav .ehp-nav-list a{min-height:48px}
@media(max-width:850px){
 #ehp-header .ehp-mobile-search-trigger{display:block}
 #ehp-header .ehp-mobile-search:not([hidden]){display:flex}
 #ehp-header .ehp-top-inner{gap:9px}
 #ehp-header .ehp-logo img{max-height:45px;max-width:185px}
 #ehp-header .ehp-actions{gap:12px}
}
@media(max-width:380px){#ehp-header .ehp-logo img{max-width:145px}#ehp-header .ehp-actions{gap:8px}}

/* 1.1.1: identidad visual del panel móvil. Scoped para no alterar Blocksy. */
#ehp-drawer{padding:0!important;background:#fff!important;color:#262626!important;scrollbar-width:thin}
#ehp-drawer .ehp-drawer-head{position:sticky;top:0;z-index:3;background:#fff;padding:20px 22px 15px;margin:0!important;border-bottom:1px solid #e9e9e9;font-size:19px!important;letter-spacing:-.02em}
#ehp-drawer .ehp-close{border:0!important;background:transparent!important;padding:4px!important;color:#252525!important}
#ehp-drawer .ehp-drawer-search{margin:19px 20px 20px!important;border:1px solid #e4e4e4!important;border-radius:4px!important;background:#fafafa!important;overflow:hidden}
#ehp-drawer .ehp-drawer-search input{font-size:14px!important;background:#fafafa!important;padding:13px!important}
#ehp-drawer .ehp-drawer-section{font-size:10px!important;font-weight:700!important;letter-spacing:.15em!important;color:#858585!important;margin:16px 22px 8px!important}
#ehp-drawer .ehp-mobile-nav{padding:0 20px!important}
#ehp-drawer .ehp-mobile-nav .ehp-nav-list{padding:0!important;margin:0!important}
#ehp-drawer .ehp-mobile-nav .ehp-nav-list>li{border-bottom:1px solid #ededed!important;margin:0!important}
#ehp-drawer .ehp-mobile-nav .ehp-nav-list>li>a{padding:16px 42px 16px 3px!important;font-size:15px!important;line-height:1.3!important;font-weight:550!important;letter-spacing:.005em!important;color:#292929!important}
#ehp-drawer .ehp-mobile-nav .ehp-nav-list>li>a:hover{color:#6b9fa3!important}
#ehp-drawer .ehp-submenu-toggle{top:5px!important;right:0!important;width:42px!important;height:43px!important;font-size:23px!important;color:#555!important;border-radius:3px!important}
#ehp-drawer .ehp-mobile-nav li.ehp-expanded>.ehp-submenu-toggle{color:#719fa3!important}
#ehp-drawer .ehp-mobile-nav .sub-menu{margin:0 0 10px 6px!important;padding:0 0 0 14px!important;border-left:2px solid #8ab5b8!important}
#ehp-drawer .ehp-mobile-nav .sub-menu li{border:0!important}
#ehp-drawer .ehp-mobile-nav .sub-menu a{padding:11px 3px!important;color:#565656!important;font-size:14px!important}
#ehp-drawer .ehp-photo-link{margin:0 20px 22px!important;padding:15px 12px!important;border-radius:3px!important;background:#242424!important;color:white!important;text-align:center!important;text-decoration:none!important;font-size:13px!important;font-weight:600!important;letter-spacing:.02em!important}
#ehp-drawer .ehp-secondary-link{display:block!important;margin:0 20px!important;padding:15px 3px!important;border-bottom:1px solid #ededed!important;text-decoration:none!important;color:#363636!important;font-size:14px!important;font-weight:500!important}
#ehp-drawer .ehp-drawer-foot{margin:24px 0 0!important;padding:25px 22px 35px!important;background:#f6f8f8!important;display:flex;flex-direction:column;gap:10px}
#ehp-drawer .ehp-drawer-foot span{font-size:10px!important;letter-spacing:.13em!important;color:#777!important;font-weight:700!important}
#ehp-drawer .ehp-drawer-foot a{color:#303030!important;text-decoration:none!important;font-size:14px!important;font-weight:600!important}
#ehp-drawer .ehp-drawer-foot small{font-size:12px!important;color:#777!important;line-height:1.6!important}
@media(prefers-reduced-motion:no-preference){#ehp-drawer .ehp-mobile-nav .sub-menu a{transition:color .15s ease}}

/* v1.1.2 — selector integrado, separado del sticky */
.ehp-group-switch{position:relative;z-index:998;background:#f8f8f8;border-bottom:1px solid #ededed;font-family:inherit}
.ehp-group-inner{max-width:1440px;margin:0 auto;min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:3px 30px}
.ehp-group-caption{font-size:10px;color:#888;letter-spacing:.06em;white-space:nowrap}
.ehp-group-links{display:flex;align-items:stretch;justify-content:center;gap:0;max-width:540px;flex:1;min-width:0}
.ehp-group-item{height:40px;min-width:0;flex:1;display:flex;align-items:center;justify-content:center;padding:5px 18px;border-bottom:2px solid transparent;opacity:.62;transition:opacity .2s,border-color .2s}
.ehp-group-item+.ehp-group-item{border-left:1px solid #e8e8e8}
.ehp-group-item:hover,.ehp-group-item.is-active{opacity:1}
.ehp-group-item.is-active{border-bottom-color:#70abaa}
.ehp-group-item img{display:block;width:auto;max-width:100%;max-height:30px;object-fit:contain}
.ehp-drawer-brands{display:flex;flex-direction:column;gap:0;padding:0 22px 14px}
.ehp-drawer-brands a{display:flex;justify-content:space-between;align-items:center;padding:12px 0;color:#333;text-decoration:none;border-bottom:1px solid #eee;font-size:14px}
.ehp-drawer-brands a[aria-current="page"]{font-weight:700;color:#358f8e}
@media(max-width:850px){.ehp-group-switch{display:none}}

/* v1.1.3 — marcas tipográficas: sin duplicar el logotipo principal */
@media(min-width:851px){
 .ehp-group-switch{background:#fafafa;border-bottom:1px solid #eeeeee}
 .ehp-group-inner{min-height:32px;padding:0 24px;justify-content:center}
 .ehp-group-links{max-width:none;flex:0 1 auto;align-items:center;gap:30px}
 .ehp-group-item{height:32px;flex:0 0 auto;min-width:auto;padding:0 3px;opacity:1;font-size:11px;line-height:1;letter-spacing:.015em;font-weight:400;color:#777!important;text-decoration:none!important;border-bottom:2px solid transparent;white-space:nowrap}
 .ehp-group-item+.ehp-group-item{border-left:0}
 .ehp-group-item:hover{color:#222!important}
 .ehp-group-item.is-active{font-weight:600;color:#222!important;border-bottom-color:#70abaa}
}

/* v1.1.4 — cabecera minimalista, franja informativa muy estrecha */
@media(min-width:851px){
 .ehp-group-switch{background:#f8f7f5;border-bottom:1px solid #efefef;overflow:hidden}
 .ehp-group-switch:before,.ehp-group-switch:after{content:"";position:absolute;top:0;bottom:0;width:106px;pointer-events:none;opacity:.42;background:linear-gradient(118deg,transparent 0 18%,#62cba0 18% 40%,transparent 40% 48%,#aaa 48% 69%,transparent 69%)}
 .ehp-group-switch:before{left:0}
 .ehp-group-switch:after{right:0;transform:scaleX(-1);background:linear-gradient(118deg,transparent 0 9%,#9eaa00 9% 28%,transparent 28% 34%,#ffd000 34% 52%,transparent 52% 58%,#d60049 58% 75%,transparent 75% 81%,#7edab4 81%)}
 .ehp-group-inner{max-width:1440px;min-height:38px;display:grid;grid-template-columns:1fr auto 1fr;gap:20px;padding:0 35px}
 .ehp-group-inner:before{content:"GRUPO MARCO DECOR";font-size:10px;letter-spacing:.22em;color:#626262;justify-self:start;align-self:center}
 .ehp-group-inner:after{content:"TRES MARCAS, UN MISMO PROPÓSITO";font-size:10px;letter-spacing:.1em;color:#666;justify-self:end;align-self:center}
 .ehp-group-links{gap:28px}
 .ehp-group-item{height:38px;font-size:12px}
 .ehp-group-item.is-active{border-bottom-color:#61c9a0}
}
.ehp-benefits{background:#fff;border-bottom:1px solid #f0f0f0;font-family:inherit;color:#444}
.ehp-benefits-inner{max-width:1250px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:36px;padding:5px 18px}
.ehp-benefit{display:flex;align-items:center;gap:9px;white-space:nowrap;min-width:0}
.ehp-benefit svg{display:block;width:20px;height:20px;flex:0 0 20px;color:#777}
.ehp-benefit span{display:flex;align-items:baseline;gap:5px;min-width:0}
.ehp-benefit strong{font-size:11px;line-height:1.2;font-weight:550;color:#454545}
.ehp-benefit small{font-size:10px;line-height:1.2;color:#929292}
@media(min-width:851px) and (max-width:1150px){.ehp-group-inner:after{display:none}.ehp-group-inner{grid-template-columns:1fr auto}.ehp-benefits-inner{gap:12px}.ehp-benefit span{display:block}.ehp-benefit small{display:none}}
@media(max-width:850px){.ehp-benefits{display:none}}

/* v1.1.5 — bandas cromáticas en el orden del boceto y un poco más de aire en el logo */
@media(min-width:851px){
 .ehp-group-switch:before{left:0;right:auto;transform:none;opacity:.32;background:linear-gradient(118deg,transparent 0 18%,#83d4ae 18% 43%,transparent 43% 49%,#858585 49% 73%,transparent 73%)}
 .ehp-group-switch:after{right:0;left:auto;transform:scaleX(-1);opacity:.30;background:linear-gradient(118deg,transparent 0 9%,#a5b900 9% 27%,transparent 27% 32%,#ffcc00 32% 50%,transparent 50% 55%,#dc0050 55% 74%,transparent 74% 79%,#7ed4a4 79% 96%,transparent 96%)}
 #ehp-header .ehp-top-inner{min-height:88px;padding-top:13px;padding-bottom:13px}
}

/* v1.1.6 — corrección efectiva: aire real para el logo y franjas sin espejo */
@media(min-width:851px){
 #ehp-header .ehp-top-inner{min-height:112px!important;padding-top:22px!important;padding-bottom:22px!important}
 #ehp-header .ehp-logo img{max-height:65px!important;max-width:270px!important}
 .ehp-group-switch:before{left:0!important;right:auto!important;transform:none!important;width:112px!important;opacity:.34!important;background:linear-gradient(118deg,transparent 0 13%,#83d4ae 13% 39%,transparent 39% 46%,#898989 46% 73%,transparent 73%)!important}
 .ehp-group-switch:after{right:0!important;left:auto!important;transform:none!important;width:112px!important;opacity:.32!important;background:linear-gradient(118deg,transparent 0 6%,#83d4ae 6% 25%,transparent 25% 29%,#dc0050 29% 48%,transparent 48% 52%,#ffcc00 52% 71%,transparent 71% 75%,#a5b900 75% 96%,transparent 96%)!important}
}

/* v1.1.7 — cuatro bandas completas, sin recorte del primer color */
@media(min-width:851px){
 .ehp-group-switch:after{
  box-sizing:border-box!important;
  right:0!important;left:auto!important;top:0!important;bottom:0!important;
  width:148px!important;transform:none!important;opacity:.32!important;
  background:linear-gradient(118deg,
   transparent 0% 8%,
   #83d4ae 8% 24%,
   transparent 24% 29%,
   #dc0050 29% 45%,
   transparent 45% 50%,
   #ffcc00 50% 66%,
   transparent 66% 71%,
   #a5b900 71% 87%,
   transparent 87% 100%)!important;
 }
}

/* v1.1.8 — margen de seguridad para evitar el recorte de la franja menta */
@media(min-width:851px){
 .ehp-group-switch:after{
  right:14px!important;
  width:150px!important;
  background:linear-gradient(118deg,
   transparent 0% 14%,
   #83d4ae 14% 29%,
   transparent 29% 33%,
   #dc0050 33% 48%,
   transparent 48% 52%,
   #ffcc00 52% 67%,
   transparent 67% 71%,
   #a5b900 71% 86%,
   transparent 86% 100%)!important;
 }
}

/* v1.1.9 — Header compacto fijo; Rewards nunca compite con el header */
@media (min-width: 768px) {
 .ehp-root.ehp-sticky.ehp-scroll-fixed {position:fixed!important;top:0!important;left:0;right:0;width:100%;z-index:10020;box-shadow:0 5px 18px rgba(0,0,0,.07)}
 body.admin-bar .ehp-root.ehp-sticky.ehp-scroll-fixed{top:32px!important}
 .ehp-root.ehp-scroll-fixed .ehp-desktop-nav{display:none!important}
 .ehp-root.ehp-scroll-fixed .ehp-top-inner{min-height:65px!important;padding-top:7px!important;padding-bottom:7px!important}
 .ehp-root.ehp-scroll-fixed .ehp-logo img{max-height:49px!important}
}
@media (min-width:768px) and (max-width:782px){body.admin-bar .ehp-root.ehp-sticky.ehp-scroll-fixed{top:46px!important}}
@media(max-width:767px){.ehp-root.ehp-sticky.ehp-scroll-fixed{position:relative!important}}

/* v1.2.0 — acciones de cliente PRO, total de cesta calculado por WooCommerce */
#ehp-header .ehp-actions{display:flex;align-items:center;gap:22px}
#ehp-header .ehp-actions a{display:inline-flex;align-items:center;gap:11px;min-width:0}
#ehp-header .ehp-actions a:hover{color:#333!important}
#ehp-header .ehp-actions svg{width:23px;height:23px;flex:none}
#ehp-header .ehp-action-label{display:flex;flex-direction:column;gap:4px;white-space:nowrap;line-height:1.1}
#ehp-header .ehp-action-label strong{font-size:13px;font-weight:600;color:#242424}
#ehp-header .ehp-action-label small{font-size:11px;color:#888;font-weight:400}
#ehp-header .ehp-actions-divider{height:32px;width:1px;background:#e5e5e5;flex:none}
#ehp-header .ehp-cart-live{display:flex;align-items:center;gap:5px;white-space:nowrap}
#ehp-header .ehp-cart-amount{font-size:14px;color:#222;font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums}
#ehp-header .ehp-cart-amount .woocommerce-Price-amount{font-size:inherit;color:inherit;font-weight:inherit}
#ehp-header .ehp-cart-amount .woocommerce-Price-currencySymbol{font-size:inherit}
#ehp-header .ehp-cart-count{position:absolute;top:-8px;left:13px;right:auto;z-index:2}
#ehp-header .ehp-cart-action{position:relative}
#ehp-header.ehp-scroll-fixed .ehp-action-label{display:none}
#ehp-header.ehp-scroll-fixed .ehp-cart-amount{display:inline}
#ehp-header.ehp-scroll-fixed .ehp-cart-action .ehp-action-label{display:flex}
#ehp-header.ehp-scroll-fixed .ehp-cart-action .ehp-action-label strong{display:none}
#ehp-header.ehp-scroll-fixed .ehp-actions-divider{height:25px}
@media(max-width:1200px) and (min-width:851px){#ehp-header .ehp-top-inner{gap:20px!important}#ehp-header .ehp-actions{gap:13px}#ehp-header .ehp-action-label small{display:none}}
@media(max-width:850px){#ehp-header .ehp-action-label,#ehp-header .ehp-actions-divider{display:none!important}#ehp-header .ehp-actions{gap:16px}#ehp-header .ehp-cart-count{top:-8px;left:13px}#ehp-header.ehp-scroll-fixed .ehp-cart-action .ehp-action-label{display:none!important}}

/* v1.2.1 — acciones cliente legibles y total visible */
@media(min-width:851px){
 #ehp-header .ehp-top-inner{max-width:1500px!important;gap:clamp(20px,3vw,50px)!important}
 #ehp-header .ehp-logo{flex:0 0 auto!important}
 #ehp-header .ehp-search{flex:1 1 440px!important;max-width:520px!important;min-width:240px!important;margin-inline:auto!important}
 #ehp-header .ehp-actions{flex:0 0 315px!important;min-width:315px!important;justify-content:flex-end!important;gap:17px!important}
 #ehp-header .ehp-actions a{gap:12px!important;flex-shrink:0!important}
 #ehp-header .ehp-actions svg{width:25px!important;height:25px!important}
 #ehp-header .ehp-action-label{display:flex!important;gap:5px!important}
 #ehp-header .ehp-action-label strong{font-size:14px!important;font-weight:650!important;line-height:1.15!important}
 #ehp-header .ehp-action-label small{display:block!important;font-size:11px!important;line-height:1.15!important}
 #ehp-header .ehp-cart-amount,#ehp-header .ehp-cart-amount .woocommerce-Price-amount{font-size:16px!important;font-weight:750!important;letter-spacing:-.02em!important}
 #ehp-header .ehp-actions-divider{height:35px!important}
 #ehp-header .ehp-cart-count{top:-9px!important;left:15px!important;right:auto!important;line-height:1.3!important;font-size:10px!important}
 #ehp-header.ehp-scroll-fixed .ehp-actions{flex-basis:220px!important;min-width:220px!important}
 #ehp-header.ehp-scroll-fixed .ehp-account-action .ehp-action-label{display:none!important}
 #ehp-header.ehp-scroll-fixed .ehp-cart-action .ehp-action-label{display:flex!important}
 #ehp-header.ehp-scroll-fixed .ehp-cart-action .ehp-action-label strong{display:none!important}
}
@media(min-width:851px) and (max-width:1100px){#ehp-header .ehp-actions{flex-basis:280px!important;min-width:280px!important}#ehp-header .ehp-top-inner{gap:18px!important}#ehp-header .ehp-logo img{max-width:205px!important}}
@media(max-width:850px){#ehp-header .ehp-actions{flex:0 0 auto!important}#ehp-header .ehp-action-label{display:none!important}}

/* v1.2.2 — importe de cesta siempre visible en móvil */
@media(max-width:850px){
 #ehp-header .ehp-actions{gap:12px!important;align-items:center!important;flex-shrink:0!important}
 #ehp-header .ehp-account-action{flex:0 0 auto!important}
 #ehp-header .ehp-account-action .ehp-action-label{display:none!important}
 #ehp-header .ehp-cart-action{display:inline-flex!important;align-items:center!important;gap:8px!important;flex-shrink:0!important}
 #ehp-header .ehp-cart-action .ehp-action-label,
 #ehp-header.ehp-scroll-fixed .ehp-cart-action .ehp-action-label{display:flex!important;flex-direction:column!important;min-width:max-content!important;gap:0!important}
 #ehp-header .ehp-cart-action .ehp-action-label strong{display:none!important}
 #ehp-header .ehp-cart-live{display:flex!important;align-items:center!important;gap:0!important}
 #ehp-header .ehp-cart-amount{display:inline-block!important;white-space:nowrap!important;font-size:13px!important;font-weight:750!important;letter-spacing:-.02em!important;font-variant-numeric:tabular-nums!important}
 #ehp-header .ehp-cart-amount .woocommerce-Price-amount{font-size:inherit!important;font-weight:inherit!important}
 #ehp-header .ehp-cart-count{position:absolute!important;top:-8px!important;left:14px!important;right:auto!important}
 #ehp-header .ehp-logo{min-width:0!important}
}
@media(max-width:380px){
 #ehp-header .ehp-logo img{max-width:130px!important}
 #ehp-header .ehp-actions{gap:9px!important}
 #ehp-header .ehp-cart-action{gap:6px!important}
 #ehp-header .ehp-cart-amount{font-size:12px!important}
}

/* v1.2.4 — carrito editorial: icono clásico, artículos y precio protagonista */
@media(min-width:851px){
 #ehp-header .ehp-cart-action{gap:15px!important;align-items:center!important}
 #ehp-header .ehp-cart-action>svg{width:29px!important;height:29px!important;stroke-width:1.65!important}
 #ehp-header .ehp-cart-action .ehp-action-label{display:flex!important;position:relative!important;gap:5px!important;min-width:155px!important}
 #ehp-header .ehp-cart-action .ehp-action-label>strong{font-size:11px!important;letter-spacing:.075em!important;font-weight:650!important;color:#777!important;line-height:1.25!important;padding-right:0!important}
 #ehp-header .ehp-cart-action .ehp-cart-live{display:flex!important;align-items:baseline!important;gap:0!important}
 #ehp-header .ehp-cart-action .ehp-cart-count{position:absolute!important;top:0!important;left:86px!important;right:auto!important;z-index:1!important;background:none!important;border-radius:0!important;padding:0!important;min-width:0!important;color:#777!important;font-size:11px!important;font-weight:600!important;line-height:1.25!important}
 #ehp-header .ehp-cart-action .ehp-cart-count:after{content:' ARTÍCULOS';font-weight:500;letter-spacing:.025em}
 #ehp-header .ehp-cart-amount,#ehp-header .ehp-cart-amount .woocommerce-Price-amount{font-size:23px!important;font-weight:650!important;letter-spacing:-.035em!important;line-height:1.1!important;color:#202020!important}
 #ehp-header .ehp-cart-amount .woocommerce-Price-currencySymbol{font-size:inherit!important}
 #ehp-header .ehp-actions{flex-basis:355px!important;min-width:355px!important}
 #ehp-header.ehp-scroll-fixed .ehp-actions{flex-basis:260px!important;min-width:260px!important}
 #ehp-header.ehp-scroll-fixed .ehp-cart-action .ehp-action-label>strong{display:block!important}
 #ehp-header.ehp-scroll-fixed .ehp-cart-amount,#ehp-header.ehp-scroll-fixed .ehp-cart-amount .woocommerce-Price-amount{font-size:19px!important}
}
@media(min-width:851px) and (max-width:1150px){
 #ehp-header .ehp-actions{flex-basis:325px!important;min-width:325px!important}
 #ehp-header .ehp-cart-amount,#ehp-header .ehp-cart-amount .woocommerce-Price-amount{font-size:21px!important}
}
@media(max-width:850px){
 #ehp-header .ehp-cart-action>svg{stroke-width:1.7!important}
 #ehp-header .ehp-cart-count{background:#242424!important;color:white!important;border-radius:20px!important;position:absolute!important;top:-8px!important;left:14px!important;padding:1px 5px!important;font-size:10px!important}
 #ehp-header .ehp-cart-amount,#ehp-header .ehp-cart-amount .woocommerce-Price-amount{font-size:15px!important;font-weight:750!important}
}
@media(max-width:380px){#ehp-header .ehp-cart-amount,#ehp-header .ehp-cart-amount .woocommerce-Price-amount{font-size:13px!important}}

/* v1.2.5 — desktop: carrito alineado como bloque editorial */
@media(min-width:851px){
 #ehp-header .ehp-cart-action{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important}
 #ehp-header .ehp-cart-action>svg{flex:0 0 29px!important;align-self:center!important}
 #ehp-header .ehp-cart-action .ehp-action-label,
 #ehp-header.ehp-scroll-fixed .ehp-cart-action .ehp-action-label{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:4px!important;min-width:145px!important;text-align:left!important}
 #ehp-header .ehp-cart-action .ehp-action-label>strong{display:block!important;align-self:flex-start!important;margin:0!important;padding:0!important;line-height:1.2!important}
 #ehp-header .ehp-cart-action .ehp-cart-live{display:block!important;position:static!important;width:auto!important;line-height:1.1!important}
 #ehp-header .ehp-cart-action .ehp-cart-count{top:0!important;left:89px!important;right:auto!important}
 #ehp-header .ehp-cart-action .ehp-cart-amount{display:block!important;text-align:left!important;margin:0!important}
}

/* v1.2.6 — alineación efectiva: icono en línea con el importe */
@media (min-width:851px){
 #ehp-header .ehp-cart-action{display:grid!important;grid-template-columns:30px minmax(0,1fr)!important;column-gap:11px!important;align-items:center!important;justify-content:start!important;}
 #ehp-header .ehp-cart-action>svg{grid-column:1!important;grid-row:1!important;align-self:end!important;margin-bottom:1px!important;transform:translateY(-1px)!important;width:27px!important;height:27px!important;}
 #ehp-header .ehp-cart-action .ehp-action-label,#ehp-header.ehp-scroll-fixed .ehp-cart-action .ehp-action-label{grid-column:2!important;grid-row:1!important;display:grid!important;grid-template-columns:max-content max-content!important;grid-template-rows:14px 27px!important;column-gap:7px!important;row-gap:1px!important;align-items:start!important;justify-items:start!important;min-width:0!important;position:relative!important;}
 #ehp-header .ehp-cart-action .ehp-action-label>strong,#ehp-header.ehp-scroll-fixed .ehp-cart-action .ehp-action-label>strong{grid-column:1!important;grid-row:1!important;display:block!important;align-self:start!important;font-size:10px!important;line-height:14px!important;letter-spacing:.055em!important;}
 #ehp-header .ehp-cart-action .ehp-cart-live{grid-column:1 / -1!important;grid-row:2!important;position:static!important;display:block!important;line-height:27px!important;}
 #ehp-header .ehp-cart-action .ehp-cart-count{position:absolute!important;top:0!important;left:78px!important;right:auto!important;line-height:14px!important;font-size:10px!important;}
 #ehp-header .ehp-cart-action .ehp-cart-amount,#ehp-header .ehp-cart-action .ehp-cart-amount .woocommerce-Price-amount{display:inline-block!important;font-size:23px!important;line-height:27px!important;font-weight:700!important;white-space:nowrap!important;}
 #ehp-header.ehp-scroll-fixed .ehp-cart-action .ehp-cart-amount,#ehp-header.ehp-scroll-fixed .ehp-cart-action .ehp-cart-amount .woocommerce-Price-amount{font-size:19px!important;}
}

/* v1.2.7 — número de artículos más legible, sin alterar móvil */
@media(min-width:851px){
 #ehp-header .ehp-cart-action .ehp-cart-count{color:#30343a!important;font-weight:750!important;}
 #ehp-header .ehp-cart-action .ehp-cart-count:after{color:#30343a!important;font-weight:650!important;}
}

/* v1.2.8 — microajuste exclusivo escritorio, sin tocar los totales */
@media(min-width:851px){
 #ehp-header .ehp-cart-action{column-gap:5px!important;}
 #ehp-header .ehp-cart-action .ehp-action-label>strong,
 #ehp-header.ehp-scroll-fixed .ehp-cart-action .ehp-action-label>strong{transform:translateY(-3px)!important;}
 #ehp-header .ehp-cart-action .ehp-cart-count{top:-3px!important;}
}

/* v1.2.9 — acercar el carrito al importe (solo escritorio) */
@media(min-width:851px){
 #ehp-header .ehp-cart-action{grid-template-columns:21px minmax(0,1fr)!important;column-gap:0!important;}
 #ehp-header .ehp-cart-action>svg{width:20px!important;height:20px!important;min-width:20px!important;flex-basis:20px!important;transform:none!important;margin-bottom:3px!important;}
}

/* v1.2.10 — recuperar icono grande y acercarlo al importe en escritorio */
@media(min-width:851px){
 #ehp-header .ehp-cart-action{grid-template-columns:27px minmax(0,1fr)!important;column-gap:1px!important;}
 #ehp-header .ehp-cart-action>svg{width:27px!important;height:27px!important;min-width:27px!important;flex-basis:27px!important;margin-bottom:1px!important;transform:translateY(-1px)!important;}
}

/* v1.2.11 — menú editorial premium, solo escritorio */
@media(min-width:851px){
 #ehp-header .ehp-desktop-nav{min-height:55px!important;background:#fff!important;border-top:1px solid #f1f2f2!important;border-bottom:1px solid #eceeed!important;}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list,#ehp-header .ehp-desktop-nav .ehp-nav-list{gap:42px!important;}
 #ehp-header .ehp-desktop-nav .ehp-nav-list>li>a{position:relative!important;display:inline-flex!important;align-items:center!important;min-height:54px!important;padding:15px 3px!important;color:#29323a!important;font-size:13px!important;font-weight:600!important;letter-spacing:.018em!important;text-decoration:none!important;transition:color .2s ease!important;}
 #ehp-header .ehp-desktop-nav .ehp-nav-list>li>a:after{content:"";position:absolute;left:3px;right:3px;bottom:8px;height:2px;border-radius:2px;background:#79cfae;transform:scaleX(0);transform-origin:center;transition:transform .22s ease;}
 #ehp-header .ehp-desktop-nav .ehp-nav-list>li:hover>a,#ehp-header .ehp-desktop-nav .ehp-nav-list>li:focus-within>a{color:#16242a!important;}
 #ehp-header .ehp-desktop-nav .ehp-nav-list>li:hover>a:after,#ehp-header .ehp-desktop-nav .ehp-nav-list>li:focus-within>a:after,#ehp-header .ehp-desktop-nav .ehp-nav-list>li.current-menu-item>a:after,#ehp-header .ehp-desktop-nav .ehp-nav-list>li.current-menu-ancestor>a:after{transform:scaleX(1);}
 #ehp-header .ehp-desktop-nav .sub-menu{border-radius:7px!important;box-shadow:0 12px 30px rgba(18,29,36,.10)!important;}
}
@media(min-width:851px) and (max-width:1100px){#ehp-header .ehp-desktop-nav .ehp-nav-list{gap:24px!important;}}

/* v1.2.12 — navegación escalable: mega menú con subcategorías reales de WP */
@media(min-width:851px){
 #ehp-header .ehp-desktop-nav{position:relative!important;isolation:isolate;min-height:62px!important;padding:0 24px!important;}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list{display:flex!important;flex-wrap:wrap!important;gap:0 43px!important;max-width:1250px!important;margin-inline:auto!important;justify-content:center!important;}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>a{font-size:15px!important;font-weight:570!important;letter-spacing:.005em!important;min-height:61px!important;padding:17px 4px!important;}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>a:after{bottom:10px!important;left:4px!important;right:4px!important;background:#26b3a6!important;height:2px!important;}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li.menu-item-has-children>a{padding-right:17px!important;}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li.menu-item-has-children>a:before{content:'';position:absolute;right:2px;top:50%;width:5px;height:5px;border-right:1px solid #6d777c;border-bottom:1px solid #6d777c;transform:translateY(-70%) rotate(45deg);}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu{position:absolute!important;left:50%!important;top:calc(100% - 1px)!important;transform:translateX(-50%)!important;display:grid!important;grid-template-columns:repeat(auto-fit,minmax(175px,1fr))!important;gap:18px 30px!important;width:max-content!important;min-width:260px!important;max-width:min(1100px,calc(100vw - 60px))!important;padding:27px 32px 30px!important;background:#fff!important;border:1px solid #edf0f0!important;border-top:2px solid #55c3ad!important;border-radius:0 0 10px 10px!important;box-shadow:0 18px 40px rgba(17,29,39,.13)!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transition:opacity .16s ease,visibility .16s ease!important;z-index:1000!important;}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li:hover>.sub-menu,#ehp-header .ehp-desktop-nav>.ehp-nav-list>li:focus-within>.sub-menu{opacity:1!important;visibility:visible!important;pointer-events:auto!important;}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu>li{min-width:175px!important;}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu>li>a{font-size:13px!important;font-weight:700!important;color:#172b38!important;padding:6px 0 10px!important;white-space:normal!important;text-decoration:none!important;}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu>li>a:hover{color:#168f83!important;}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu .sub-menu{display:block!important;position:static!important;min-width:0!important;width:auto!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important;}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu .sub-menu a{font-size:12px!important;font-weight:450!important;color:#57636b!important;line-height:1.35!important;padding:7px 0!important;white-space:normal!important;}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu .sub-menu a:hover{color:#148e83!important;text-decoration:none!important;}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu>li:not(:has(>.sub-menu))>a{font-weight:500!important;padding:8px 0!important;}
}
@media(min-width:851px) and (max-width:1100px){#ehp-header .ehp-desktop-nav>.ehp-nav-list{gap:0 25px!important;}}
@media(max-width:850px){#ehp-drawer .ehp-mobile-nav .sub-menu .sub-menu{margin-left:10px!important;border-left:1px solid #d6e8e5!important;}}

/* v1.2.13 — navegación Montserrat, legibilidad reforzada */
@media(min-width:851px){
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>a{font-family:Montserrat,Inter,Arial,sans-serif!important;font-size:14px!important;font-weight:500!important;letter-spacing:.012em!important;}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li.current-menu-item>a,#ehp-header .ehp-desktop-nav>.ehp-nav-list>li.current-menu-ancestor>a{font-weight:600!important;}
}

/* v1.2.14 — ajuste fino exclusivo de navegación de escritorio */
@media (min-width:851px){
 #ehp-header .ehp-desktop-nav>.ehp-nav-list{column-gap:32px!important;}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>a{font-family:Montserrat,Inter,Arial,sans-serif!important;font-size:15px!important;font-weight:500!important;letter-spacing:.005em!important;}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu{min-width:290px!important;padding:26px 30px 28px!important;}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu>li>a{font-family:Montserrat,Inter,Arial,sans-serif!important;font-size:14px!important;line-height:1.5!important;padding-top:10px!important;padding-bottom:10px!important;}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu .sub-menu a{font-family:Montserrat,Inter,Arial,sans-serif!important;font-size:14px!important;line-height:1.5!important;}
}
@media (min-width:851px) and (max-width:1100px){#ehp-header .ehp-desktop-nav>.ehp-nav-list{column-gap:22px!important;}}

/* v1.2.15 — encabezado del carrito alineado hacia la izquierda.
   Sólo escritorio; se conserva el icono, el importe y el HTML dinámico. */
@media (min-width:851px){
 #ehp-header .ehp-cart-action .ehp-action-label>strong,
 #ehp-header.ehp-scroll-fixed .ehp-cart-action .ehp-action-label>strong{
  transform:translate(-27px,0)!important;
  white-space:nowrap!important;
 }
 #ehp-header .ehp-cart-action .ehp-cart-count{
  top:0!important;left:51px!important;white-space:nowrap!important;
 }
}

/* Header MAX PRO 26 — megamenu desktop, scoped to the plugin */
@media(min-width:851px){
 #ehp-header .ehp-desktop-nav{position:relative!important;isolation:auto!important}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li{position:static!important}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu{left:50%!important;top:100%!important;width:min(1060px,calc(100vw - 64px))!important;max-width:1060px!important;min-width:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px 26px!important;padding:28px 32px!important;border-radius:0 0 14px 14px!important;box-shadow:0 24px 48px rgba(17,29,39,.14)!important;transform:translateX(-50%) translateY(7px)!important;transition:opacity .18s ease,visibility .18s ease,transform .18s ease!important}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li:hover>.sub-menu,#ehp-header .ehp-desktop-nav>.ehp-nav-list>li:focus-within>.sub-menu{transform:translateX(-50%) translateY(0)!important}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu>li{min-width:0!important}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu>li>a{white-space:normal!important;font-size:14px!important;padding:11px 0!important;border-bottom:1px solid #f0f2f2!important}
 #ehp-header .ehp-desktop-nav .ehp-mega-feature{grid-column:span 2!important;grid-row:span 3!important;align-self:stretch!important}
 #ehp-header .ehp-desktop-nav .ehp-mega-feature>a{position:relative!important;display:flex!important;flex-direction:column!important;justify-content:flex-end!important;min-height:235px!important;height:100%!important;overflow:hidden!important;border:0!important;border-radius:9px!important;padding:22px!important;color:white!important;background:#1b2933!important;text-decoration:none!important}
 #ehp-header .ehp-mega-feature img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;opacity:.7!important;transition:transform .3s ease!important}
 #ehp-header .ehp-mega-feature>a:hover img{transform:scale(1.045)!important}
 #ehp-header .ehp-mega-feature>a:before{content:'';position:absolute;inset:0;background:linear-gradient(transparent 25%,rgba(9,19,25,.8));z-index:1}
 #ehp-header .ehp-mega-feature span,#ehp-header .ehp-mega-feature strong,#ehp-header .ehp-mega-feature em{position:relative;z-index:2;color:white!important}
 #ehp-header .ehp-mega-feature span{font-size:10px;letter-spacing:.13em;font-weight:700}
 #ehp-header .ehp-mega-feature strong{font-size:22px;line-height:1.2;margin:7px 0}
 #ehp-header .ehp-mega-feature em{font-size:12px;font-style:normal}
}
@media(max-width:850px){#ehp-drawer .ehp-mega-feature{display:none!important}}
@media(prefers-reduced-motion:reduce){#ehp-header .ehp-mega-feature img{transition:none!important}}

/* 1.3.1: dropdowns adapt to real number of subcategories. */
@media(min-width:851px){
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu{width:max-content!important;min-width:230px!important;max-width:min(1060px,calc(100vw - 64px))!important;grid-template-columns:repeat(1,minmax(190px,1fr))!important;gap:4px 18px!important;padding:15px 22px!important}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu:has(>li:nth-child(5)){width:min(720px,calc(100vw - 64px))!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:23px 27px!important}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu:has(>li:nth-child(9)){width:min(1000px,calc(100vw - 64px))!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu>li>a{padding:9px 0!important}
}

/* v1.3.2 — Premium responsive desktop menu; no external CSS. */
@media(min-width:851px){
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>a{transition:color .18s ease!important}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu{border:1px solid #e7eeed!important;border-top:2px solid #37b9a7!important;box-shadow:0 18px 42px rgba(15,32,42,.13)!important;overflow:hidden!important}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu>li>a{display:block!important;border-bottom:0!important;border-radius:6px!important;padding:10px 12px!important;transition:background .16s ease,color .16s ease!important}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu>li:not(.ehp-mega-feature)>a:hover,#ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu>li:not(.ehp-mega-feature)>a:focus-visible{background:#eff8f6!important;color:#126c62!important}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu:has(>li:nth-child(3)){width:min(520px,calc(100vw - 48px))!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:19px!important;gap:5px 10px!important}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu:has(>li:nth-child(7)){width:min(770px,calc(100vw - 48px))!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu:has(>li:nth-child(11)){width:min(1040px,calc(100vw - 48px))!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu:has(>.ehp-mega-feature){width:min(850px,calc(100vw - 48px))!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch!important}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu>.ehp-mega-feature{grid-column:3!important;grid-row:1 / span 5!important;min-width:0!important}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu>.ehp-mega-feature>a{padding:20px!important;min-height:200px!important}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu>.ehp-mega-feature>a:hover{background:#1b2933!important}
}
@media(min-width:851px) and (max-width:1100px){#ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu:has(>.ehp-mega-feature){grid-template-columns:repeat(3,minmax(0,1fr))!important}}

/* Header PRO 1.3.3 - búsqueda AJAX, aislada al módulo */
#ehp-header .ehp-search,#ehp-header .ehp-mobile-search,#ehp-drawer .ehp-drawer-search{position:relative}
#ehp-header .ehp-live-results,#ehp-drawer .ehp-live-results{position:absolute;top:calc(100% + 5px);left:0;right:0;z-index:999999;background:#fff;border:1px solid #e6e9ec;border-radius:12px;box-shadow:0 18px 40px rgba(17,31,44,.16);padding:7px;max-height:380px;overflow-y:auto;text-align:left}
#ehp-header .ehp-live-results[hidden],#ehp-drawer .ehp-live-results[hidden]{display:none!important}
#ehp-header .ehp-live-item,#ehp-drawer .ehp-live-item{display:flex;align-items:center;gap:12px;padding:8px;border-radius:8px;color:#192733;text-decoration:none;min-height:64px}
#ehp-header .ehp-live-item:hover,#ehp-drawer .ehp-live-item:hover{background:#f1f7f6}
#ehp-header .ehp-live-item img,#ehp-drawer .ehp-live-item img{width:48px;height:48px;flex:0 0 48px;object-fit:contain;border-radius:5px;background:#f8f8f8}
#ehp-header .ehp-live-item span,#ehp-drawer .ehp-live-item span{display:flex;flex-direction:column;min-width:0;gap:3px}
#ehp-header .ehp-live-item strong,#ehp-drawer .ehp-live-item strong{font-size:12px;font-weight:600;line-height:1.35;white-space:normal}
#ehp-header .ehp-live-item small,#ehp-drawer .ehp-live-item small{font-size:12px;font-weight:700;color:#132c3a}
#ehp-header .ehp-live-empty,#ehp-drawer .ehp-live-empty{margin:0;padding:14px;font-size:12px;color:#667}
#ehp-header .ehp-live-all,#ehp-drawer .ehp-live-all{width:100%!important;display:block!important;text-align:center!important;background:#192733!important;color:white!important;border:0!important;border-radius:7px!important;padding:10px!important;font-size:12px!important;cursor:pointer}

/* Header PRO 1.3.4 - panel AJAX premium en escritorio y móvil */
#ehp-header .ehp-search{overflow:visible!important;z-index:25}
#ehp-header .ehp-search .ehp-live-results{left:50%;right:auto;width:min(420px,calc(100vw - 32px));transform:translateX(-50%);top:calc(100% + 9px);padding:9px!important;border-radius:13px!important;box-shadow:0 20px 48px rgba(17,31,44,.17)!important}
#ehp-header .ehp-live-item,#ehp-drawer .ehp-live-item{min-height:76px!important;gap:13px!important;padding:9px!important}
#ehp-header .ehp-live-item img,#ehp-drawer .ehp-live-item img{width:58px!important;height:58px!important;flex:0 0 58px!important;object-fit:contain!important}
#ehp-header .ehp-live-item strong,#ehp-drawer .ehp-live-item strong{font-size:13px!important;line-height:1.4!important}
#ehp-header .ehp-live-item small,#ehp-drawer .ehp-live-item small{font-size:13px!important;line-height:1.3!important}
#ehp-header .ehp-live-all,#ehp-drawer .ehp-live-all{margin-top:5px!important;padding:12px!important;font-weight:650!important}
#ehp-drawer .ehp-drawer-search{overflow:visible!important;position:relative!important;z-index:30!important}
#ehp-drawer .ehp-drawer-search .ehp-live-results{display:block;position:absolute!important;top:calc(100% + 7px)!important;left:0!important;right:0!important;width:100%!important;box-sizing:border-box!important;max-height:min(380px,55dvh)!important;overflow-y:auto!important;z-index:999999!important;border-radius:10px!important;box-shadow:0 15px 38px rgba(17,31,44,.19)!important}
#ehp-drawer .ehp-drawer-search .ehp-live-results[hidden]{display:none!important}
#ehp-drawer .ehp-drawer-search input{min-width:0!important;width:100%!important}
#ehp-drawer .ehp-drawer-search .ehp-live-item{gap:8px!important;min-height:62px!important;padding:7px 5px!important}
#ehp-drawer .ehp-drawer-search .ehp-live-item img{width:44px!important;height:44px!important;flex:0 0 44px!important}
#ehp-drawer .ehp-drawer-search .ehp-live-item strong{font-size:12px!important}
#ehp-drawer .ehp-drawer-search .ehp-live-item small{font-size:11px!important}
#ehp-drawer .ehp-drawer-search .ehp-live-all{font-size:11px!important}
@media(max-width:850px){#ehp-header .ehp-mobile-search{position:relative;z-index:30;overflow:visible!important}#ehp-header .ehp-mobile-search .ehp-live-results{top:calc(100% + 4px)!important;left:17px!important;right:17px!important;max-height:55dvh!important}#ehp-drawer .ehp-drawer-search{margin-bottom:22px!important}}

/* MAX PRO 26 · 1.3.5: polish mega menu and search; scoped to header */
@media(min-width:851px){
#ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu{border:1px solid #e8ecee!important;border-top:2px solid #43bba6!important;border-radius:0 0 14px 14px!important;box-shadow:0 22px 45px rgba(15,31,43,.13)!important;padding:14px!important;gap:5px 12px!important}
#ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu>li:not(.ehp-mega-feature)>a{padding:12px 14px!important;border-radius:8px!important;font-size:13px!important;line-height:1.45!important;transition:background .18s ease,color .18s ease!important}
#ehp-header .ehp-search .ehp-live-results{border:1px solid #e4e9eb!important;padding:11px!important}
}
#ehp-header .ehp-live-item,#ehp-drawer .ehp-live-item{border-bottom:1px solid #f0f2f3!important;border-radius:7px!important}
#ehp-header .ehp-live-item:last-of-type,#ehp-drawer .ehp-live-item:last-of-type{border-bottom:0!important}
#ehp-header .ehp-live-item small,#ehp-drawer .ehp-live-item small{font-weight:750!important;color:#142a3a!important}
#ehp-header .ehp-live-all,#ehp-drawer .ehp-live-all{letter-spacing:.015em!important;transition:background .18s ease!important}
#ehp-header .ehp-live-all:hover,#ehp-drawer .ehp-live-all:hover{background:#284256!important}
@media(max-width:850px){
#ehp-drawer .ehp-drawer-search{position:relative!important;overflow:visible!important;isolation:isolate}
#ehp-drawer .ehp-drawer-search .ehp-live-results{z-index:1000!important;box-shadow:0 16px 32px rgba(15,31,43,.17)!important}
#ehp-drawer .ehp-live-item{min-height:65px!important}
#ehp-drawer .ehp-live-all{font-size:12px!important}
}

/* 1.3.6 — Editorial megamenu: always show category feature if image exists.
   Keep small dropdowns when the category has no promotional image. */
@media(min-width:851px){
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu:has(>.ehp-mega-feature){
   display:grid!important;width:min(850px,calc(100vw - 48px))!important;max-width:850px!important;
   min-height:258px!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(250px,1.35fr)!important;
   grid-auto-flow:row!important;align-content:start!important;gap:8px 18px!important;padding:22px!important;
 }
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu:has(>.ehp-mega-feature)>li:not(.ehp-mega-feature){grid-column:1 / 3!important;min-width:0!important;}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu:has(>.ehp-mega-feature)>li:not(.ehp-mega-feature)>a{font-size:14px!important;font-weight:650!important;padding:12px 14px!important;}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu>.ehp-mega-feature{grid-column:3!important;grid-row:1 / span 20!important;align-self:stretch!important;min-width:0!important;display:block!important;}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu>.ehp-mega-feature>a{height:100%!important;min-height:210px!important;padding:22px!important;}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu>.ehp-mega-feature img{display:block!important;}
}
@media(min-width:851px) and (max-width:1050px){
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li>.sub-menu:has(>.ehp-mega-feature){width:min(720px,calc(100vw - 32px))!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(210px,1fr)!important;}
}

/* 1.3.7 — premium editorial menu; entirely inside Header PRO. */
@media (min-width:851px){
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li.ehp-has-feature{position:static!important}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li.ehp-has-feature>.sub-menu{
  box-sizing:border-box!important;position:absolute!important;left:50%!important;right:auto!important;
  width:min(720px,calc(100vw - 36px))!important;min-width:0!important;max-width:none!important;
  transform:translateX(-50%)!important;display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)!important;
  grid-auto-rows:min-content!important;grid-auto-flow:row!important;
  align-content:start!important;align-items:start!important;column-gap:24px!important;row-gap:8px!important;
  min-height:310px!important;padding:20px!important;border-radius:0 0 16px 16px!important;
  box-shadow:0 22px 52px rgba(13,28,39,.17)!important;overflow:hidden!important;
 }
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li.ehp-has-feature>.sub-menu>li:not(.ehp-mega-feature){
  grid-column:1!important;min-width:0!important;max-width:100%!important;margin:0!important;
 }
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li.ehp-has-feature>.sub-menu>li:not(.ehp-mega-feature)>a{
  display:block!important;white-space:normal!important;padding:14px 16px!important;
  font-size:14px!important;font-weight:600!important;line-height:1.4!important;
  border:0!important;border-radius:9px!important;
 }
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li.ehp-has-feature>.sub-menu>li.ehp-mega-feature{
  grid-column:2!important;grid-row:1 / span 30!important;align-self:stretch!important;
  display:block!important;min-width:0!important;width:100%!important;height:100%!important;
 }
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li.ehp-has-feature>.sub-menu>li.ehp-mega-feature>a{
  box-sizing:border-box!important;position:relative!important;display:flex!important;
  flex-direction:column!important;justify-content:flex-end!important;align-items:flex-start!important;
  width:100%!important;height:100%!important;min-height:268px!important;
  padding:24px!important;border-radius:12px!important;overflow:hidden!important;
  background:#1b2933!important;text-align:left!important;white-space:normal!important;
 }
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li.ehp-has-feature>.sub-menu>li.ehp-mega-feature>a>img{
  display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  object-fit:cover!important;opacity:.9!important;
 }
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li.ehp-has-feature>.sub-menu>li.ehp-mega-feature>a:before{
  content:''!important;position:absolute!important;inset:0!important;z-index:1!important;
  background:linear-gradient(to bottom,rgba(10,20,25,.05) 15%,rgba(10,20,25,.82) 100%)!important;
 }
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li.ehp-has-feature>.sub-menu>li.ehp-mega-feature>a>span{font-size:10px!important;letter-spacing:.14em!important;margin-bottom:8px!important}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li.ehp-has-feature>.sub-menu>li.ehp-mega-feature>a>strong{display:block!important;font-size:28px!important;line-height:1.13!important;margin:0 0 12px!important;white-space:normal!important}
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li.ehp-has-feature>.sub-menu>li.ehp-mega-feature>a>em{font-size:13px!important;font-weight:600!important}
}
@media(min-width:851px) and (max-width:950px){
 #ehp-header .ehp-desktop-nav>.ehp-nav-list>li.ehp-has-feature>.sub-menu{width:min(650px,calc(100vw - 28px))!important;column-gap:14px!important;padding:16px!important}
}


/* v1.3.8 — banda cromática responsive. Reservamos espacio a las franjas
   decorativas y reducimos titulares antes de que puedan tapar los enlaces. */
@media (min-width:851px){
 .ehp-group-switch{isolation:isolate}
 .ehp-group-switch::before,.ehp-group-switch::after{z-index:0}
 .ehp-group-inner{
  position:relative;z-index:1;
  padding-left:clamp(126px,10.5vw,175px)!important;
  padding-right:clamp(172px,12.5vw,205px)!important;
  gap:clamp(10px,1.5vw,20px)!important;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;
 }
 .ehp-group-inner::before,.ehp-group-inner::after{
  min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;
  white-space:nowrap;font-size:clamp(8px,.75vw,10px);
  letter-spacing:clamp(.035em,.075vw,.17em);
 }
 .ehp-group-links{position:relative;z-index:2;flex:0 0 auto;min-width:0;gap:clamp(12px,1.7vw,27px)!important;white-space:nowrap}
 .ehp-group-item{flex:0 0 auto;white-space:nowrap}
}
@media (min-width:851px) and (max-width:1240px){
 .ehp-group-inner{grid-template-columns:minmax(0,1fr) auto!important;}
 .ehp-group-inner::after{display:none!important}
 .ehp-group-inner::before{font-size:9px;letter-spacing:.08em}
}
@media (min-width:851px) and (max-width:950px){
 .ehp-group-inner::before{content:'MARCO DECOR';}
 .ehp-group-item{font-size:11px!important}
}
