:root{
  --ef-dark:#0B3A5B;          /* Azul médico oscuro */
  --ef-dark-2:#06263E;        /* Azul noche para footer/nav */
  --ef-teal:#1F7A9B;          /* Celeste clínico */
  --ef-teal-2:#2A95B8;        /* Celeste activo */
  --ef-pink:#28A745;          /* Verde salud para CTA */
  --ef-green:#28A745;
  --ef-green-dark:#1E7E34;
  --ef-orange:#F59E0B;        /* Ofertas, descuentos y badges */
  --ef-bg:#F5FAFC;
  --ef-soft:#EAF6FB;
  --ef-border:#DCE8EF;
  --ef-text:#1F2D36;
  --ef-muted:#64748B;
  --ef-card:#fff;
  --ef-shadow:0 10px 28px rgba(11,58,91,.10);
  --ef-radius:18px;
  --ef-wrap:min(1180px,94vw);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:#fff;color:var(--ef-text);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;line-height:1.55;padding-bottom:76px}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
button,input,select,textarea{font:inherit}
.screen-reader-text,.skip-link{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip-link:focus{left:16px;top:16px;width:auto;height:auto;z-index:99999;background:#fff;padding:10px 14px;border-radius:10px}
.ef-wrap{width:var(--ef-wrap);margin-inline:auto}
.ef-header{position:sticky;top:0;z-index:999;background:#fff;box-shadow:0 2px 14px rgba(0,0,0,.08)}
.ef-topbar{display:none;background:var(--ef-dark);color:#fff;font-size:.88rem}
.ef-topbar-inner{display:flex;gap:22px;align-items:center;justify-content:flex-end;min-height:34px}
.ef-topbar a{opacity:.95}.ef-topbar a:hover{color:#CDEFF8}
.ef-mainbar{display:grid;grid-template-columns:44px minmax(108px,1fr) auto;gap:10px;align-items:center;min-height:76px}
.ef-logo{display:flex;align-items:center;min-width:0}.ef-logo img{max-height:54px;width:auto}.ef-logo-text{font-weight:900;color:var(--ef-dark);font-size:1.05rem;line-height:1.1}
.ef-icon-btn{border:0;background:#f2f5f7;border-radius:14px;min-width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;color:var(--ef-dark);font-weight:900;cursor:pointer;position:relative}
.ef-icon-btn:hover{background:#e7f4f4;color:var(--ef-teal)}
.ef-menu-toggle span{display:block;width:22px;height:2px;background:var(--ef-dark);margin:3px 0;border-radius:2px}
.ef-actions{display:flex;gap:8px;align-items:center}.ef-cart-link span{position:absolute;right:-5px;top:-6px;background:var(--ef-pink);color:#fff;border-radius:999px;font-size:.72rem;min-width:18px;height:18px;display:grid;place-items:center;padding:0 4px}
.ef-search{display:none;align-items:center;background:#f4f7f8;border:1px solid var(--ef-border);border-radius:16px;overflow:hidden;min-height:48px}
.ef-search input{border:0;background:transparent;outline:0;width:100%;padding:12px 14px;color:var(--ef-text)}
.ef-search button{border:0;background:var(--ef-teal);color:#fff;font-weight:900;padding:0 18px;align-self:stretch;cursor:pointer}
.ef-search-panel{padding:0 3vw 12px;background:#fff;border-top:1px solid var(--ef-border)}.ef-search-mobile{display:flex}
.ef-desktop-nav{display:none;background:var(--ef-dark);color:#fff}.ef-nav-inner{display:flex;align-items:center;min-height:48px;gap:22px}.ef-menu{display:flex;align-items:center;gap:18px;margin:0;padding:0;list-style:none}.ef-menu a{font-weight:700}.ef-nav-highlight{font-weight:900;color:#fff}.ef-nav-highlight:hover,.ef-menu a:hover{color:#CDEFF8}
.ef-mega{position:relative}.ef-mega-btn{border:0;background:var(--ef-teal);color:#fff;border-radius:12px;padding:10px 14px;font-weight:900;cursor:pointer}.ef-mega-panel{display:none;position:absolute;top:calc(100% + 8px);left:0;width:720px;max-width:90vw;background:#fff;color:var(--ef-text);border:1px solid var(--ef-border);border-radius:20px;box-shadow:var(--ef-shadow);padding:18px;grid-template-columns:repeat(3,1fr);gap:8px}.ef-mega:hover .ef-mega-panel,.ef-mega:focus-within .ef-mega-panel{display:grid}.ef-mega-panel a{padding:10px;border-radius:12px;color:var(--ef-text);font-weight:700}.ef-mega-panel a:hover{background:var(--ef-soft);color:var(--ef-teal)}
.ef-drawer{position:fixed;top:0;bottom:0;left:0;width:min(88vw,380px);background:#fff;z-index:2000;transform:translateX(-105%);transition:transform .22s ease;box-shadow:20px 0 35px rgba(0,0,0,.16);overflow:auto;padding-bottom:30px}.ef-drawer.is-open{transform:translateX(0)}.ef-drawer-backdrop{position:fixed;inset:0;background:rgba(21,39,45,.45);z-index:1999}.ef-drawer-head{height:68px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;background:var(--ef-dark);color:#fff}.ef-drawer-close{border:0;background:transparent;color:#fff;font-size:2rem;line-height:1;cursor:pointer}.ef-drawer-search{display:grid;grid-template-columns:1fr auto;gap:8px;padding:16px;border-bottom:1px solid var(--ef-border)}.ef-drawer-search input{border:1px solid var(--ef-border);border-radius:12px;padding:12px;min-width:0}.ef-drawer-search button{border:0;border-radius:12px;background:var(--ef-pink);color:#fff;font-weight:900;padding:0 14px}.ef-drawer-section{padding:16px}.ef-drawer-section h3{margin:0 0 10px;color:var(--ef-dark)}.ef-drawer-section a{display:flex;align-items:center;padding:12px 0;border-bottom:1px solid #eef1f3;color:var(--ef-text);font-weight:800}
.ef-hero{background:linear-gradient(135deg,#f7fbfc 0%,#fff 55%,#e6f5f5 100%);padding:28px 0}.ef-hero-grid{display:grid;gap:22px;align-items:center}.ef-kicker{display:inline-flex;background:#fff;border:1px solid var(--ef-border);color:var(--ef-teal);font-weight:900;border-radius:999px;padding:8px 12px;margin-bottom:10px}.ef-hero h1{font-size:clamp(2rem,7vw,4rem);line-height:1.02;margin:0 0 14px;color:var(--ef-dark)}.ef-hero p{font-size:1.06rem;color:var(--ef-muted);margin:0 0 18px;max-width:680px}.ef-hero-search{display:grid;grid-template-columns:1fr auto;background:#fff;border:2px solid #d8e9e9;border-radius:18px;box-shadow:var(--ef-shadow);overflow:hidden;margin-bottom:16px}.ef-hero-search input{border:0;outline:0;padding:15px;min-width:0}.ef-hero-search button{border:0;background:var(--ef-pink);color:#fff;font-weight:900;padding:0 18px}.ef-hero-actions{display:flex;gap:12px;flex-wrap:wrap}.ef-primary,.ef-secondary{display:inline-flex;align-items:center;justify-content:center;border-radius:14px;padding:13px 18px;font-weight:900}.ef-primary{background:var(--ef-pink);color:#fff}.ef-secondary{background:#fff;color:var(--ef-dark);border:1px solid var(--ef-border)}.ef-hero-media{min-height:220px}.ef-hero-img,.ef-hero-placeholder{border-radius:24px;box-shadow:var(--ef-shadow);background:#fff;min-height:260px}.ef-hero-img{width:100%;height:100%;object-fit:cover}.ef-hero-placeholder{display:grid;place-items:center;text-align:center;padding:28px}.ef-hero-placeholder span{font-size:4rem}.ef-hero-placeholder strong{font-size:1.8rem;color:var(--ef-dark)}.ef-hero-placeholder em{color:var(--ef-muted);font-style:normal}
.ef-section{padding:28px 0}.ef-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.ef-section-head h2{margin:0;color:var(--ef-dark);font-size:1.45rem}.ef-section-head a{color:var(--ef-teal);font-weight:900}.ef-cat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.ef-cat-card{background:#fff;border:1px solid var(--ef-border);border-radius:18px;padding:14px;min-height:118px;display:grid;place-items:center;text-align:center;box-shadow:0 6px 18px rgba(21,39,45,.07);font-weight:900;color:var(--ef-dark)}.ef-cat-card img{width:54px;height:54px;object-fit:contain}.ef-cat-icon{font-size:2rem}.ef-cat-card:hover{border-color:var(--ef-teal);transform:translateY(-1px)}
.ef-services-grid{display:grid;grid-template-columns:1fr;gap:12px}.ef-service-card{background:var(--ef-dark);color:#fff;border-radius:20px;padding:18px;box-shadow:var(--ef-shadow)}.ef-service-card strong{display:block;font-size:1.1rem;margin-bottom:6px}.ef-service-card span{color:#dce7eb}.ef-service-card:nth-child(even){background:var(--ef-teal)}
.ef-product-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(190px,64vw);gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 2px 12px;-webkit-overflow-scrolling:touch}.ef-product-card{position:relative;background:#fff;border:1px solid var(--ef-border);border-radius:20px;box-shadow:0 8px 22px rgba(21,39,45,.07);overflow:hidden;scroll-snap-align:start}.ef-product-media{display:grid;place-items:center;background:#fff;padding:12px;height:178px}.ef-product-img{max-height:154px;object-fit:contain}.ef-sale-badge{position:absolute;top:10px;left:10px;background:var(--ef-pink);color:#fff;font-weight:900;font-size:.78rem;border-radius:999px;padding:5px 9px}.ef-product-body{padding:12px}.ef-product-card h3{font-size:.98rem;line-height:1.3;margin:0 0 10px;color:var(--ef-dark);min-height:2.6em}.ef-price{font-weight:900;color:var(--ef-dark);margin-bottom:10px}.ef-price del{color:#8d9aa1;font-weight:600}.ef-price ins{text-decoration:none;color:var(--ef-pink)}.ef-product-actions .button,.ef-add{display:flex!important;justify-content:center!important;align-items:center!important;width:100%;min-height:42px;border-radius:13px!important;background:var(--ef-teal)!important;color:#fff!important;font-weight:900!important;border:0!important;padding:10px!important}.ef-product-actions .added_to_cart{display:block;text-align:center;margin-top:8px;color:var(--ef-teal);font-weight:900}
.ef-health-grid{display:grid;gap:18px;background:var(--ef-soft);border-radius:24px;padding:24px}.ef-health-copy h2{margin-top:0;color:var(--ef-dark)}.ef-health-list{display:grid;gap:10px}.ef-health-list div{background:#fff;border:1px solid var(--ef-border);border-radius:16px;padding:14px;font-weight:800}.ef-brand-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(130px,1fr);gap:10px;overflow-x:auto;padding-bottom:8px}.ef-brand-rail span{background:#fff;border:1px solid var(--ef-border);border-radius:16px;padding:16px;text-align:center;font-weight:900;color:var(--ef-dark);box-shadow:0 6px 18px rgba(21,39,45,.06)}.ef-info-block{background:#fff;border-top:1px solid var(--ef-border)}.ef-info-block h2{color:var(--ef-dark)}.ef-info-block p{color:var(--ef-muted)}
.ef-breadcrumbs{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:.9rem;color:var(--ef-muted);margin:18px 0}.ef-breadcrumbs a{color:var(--ef-teal);font-weight:800}.ef-page-head h1,.ef-content-page h1{color:var(--ef-dark);font-size:clamp(2rem,6vw,3.2rem)}.ef-content-page,.ef-archive,.ef-shop-wrap{padding:24px 0 42px}.ef-entry-content{max-width:980px}.ef-entry-content h2,.ef-entry-content h3{color:var(--ef-dark)}.ef-entry-content a{color:var(--ef-teal);font-weight:800;text-decoration:underline}.ef-single-thumb{border-radius:22px;box-shadow:var(--ef-shadow);margin:18px 0}.ef-post-grid{display:grid;gap:16px}.ef-post-card{display:grid;grid-template-columns:110px 1fr;gap:14px;background:#fff;border:1px solid var(--ef-border);border-radius:18px;padding:12px;box-shadow:0 6px 18px rgba(21,39,45,.06)}.ef-post-thumb img{width:110px;height:100%;min-height:110px;object-fit:cover;border-radius:14px}.ef-post-card h2{font-size:1.1rem;margin:0 0 8px;color:var(--ef-dark)}.ef-post-card p{margin:0;color:var(--ef-muted)}.ef-post-meta{color:var(--ef-muted);font-weight:700}
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px!important}.woocommerce ul.products li.product{width:auto!important;margin:0!important;background:#fff;border:1px solid var(--ef-border);border-radius:20px;padding:12px!important;box-shadow:0 6px 20px rgba(21,39,45,.07)}.woocommerce ul.products li.product a img{height:170px;object-fit:contain;margin:0 auto 10px!important}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:.98rem!important;color:var(--ef-dark);font-weight:900}.woocommerce span.onsale{background:var(--ef-pink)!important;border-radius:999px!important}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{background:var(--ef-teal)!important;color:#fff!important;border-radius:13px!important;font-weight:900!important}.woocommerce div.product .product_title{color:var(--ef-dark)}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--ef-pink);font-weight:900}.woocommerce-cart table.cart,.woocommerce-checkout table.shop_table{border-radius:18px;overflow:hidden}.woocommerce-checkout .col2-set,.woocommerce-checkout #order_review{background:#fff;border:1px solid var(--ef-border);border-radius:22px;padding:18px;box-shadow:0 8px 22px rgba(21,39,45,.06);margin-bottom:18px}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{border:1px solid var(--ef-border);border-radius:14px;padding:13px;min-height:48px}.woocommerce-checkout-review-order-table{font-size:.95rem}
.ef-footer{background:var(--ef-dark);color:#fff;padding:34px 0 88px}.ef-footer-grid{display:grid;gap:22px}.ef-footer h2,.ef-footer h3{margin-top:0;color:#fff}.ef-footer p{color:#d9e5e8}.ef-footer a{display:block;color:#d9e5e8;margin:8px 0}.ef-footer a:hover{color:#fff}.ef-footer-bottom{border-top:1px solid rgba(255,255,255,.14);margin-top:22px;padding-top:18px;display:grid;gap:8px;color:#d9e5e8;font-size:.9rem}
.ef-bottom-nav{position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:1px solid var(--ef-border);display:grid;grid-template-columns:repeat(5,1fr);z-index:1000;padding:6px 4px calc(6px + env(safe-area-inset-bottom));box-shadow:0 -8px 24px rgba(0,0,0,.10)}.ef-bottom-nav a,.ef-bottom-nav button{border:0;background:transparent;color:var(--ef-dark);font-weight:900;display:grid;place-items:center;gap:2px;font-size:1.22rem}.ef-bottom-nav span{font-size:.72rem}.ef-bottom-nav a:hover,.ef-bottom-nav button:hover{color:var(--ef-teal)}
@media(min-width:720px){
  body{padding-bottom:0}.ef-topbar{display:block}.ef-mainbar{grid-template-columns:230px 1fr auto;min-height:86px}.ef-menu-toggle{display:none}.ef-search{display:flex}.ef-search-toggle{display:none}.ef-desktop-nav{display:block}.ef-hero-grid{grid-template-columns:1.05fr .95fr}.ef-cat-grid{grid-template-columns:repeat(4,1fr)}.ef-services-grid{grid-template-columns:repeat(4,1fr)}.ef-product-rail{grid-auto-columns:230px}.ef-health-grid{grid-template-columns:1.2fr .8fr}.ef-footer-grid{grid-template-columns:1.4fr repeat(3,1fr)}.ef-bottom-nav{display:none}.ef-post-grid{grid-template-columns:repeat(2,1fr)}.woocommerce ul.products{grid-template-columns:repeat(4,minmax(0,1fr))}.ef-footer{padding-bottom:34px}
}
@media(min-width:1040px){.ef-cat-grid{grid-template-columns:repeat(6,1fr)}.ef-product-rail{grid-auto-columns:245px}.ef-post-grid{grid-template-columns:repeat(3,1fr)}}

/* ===== v1.1 San Nicolas-like mobile UX fixes: sticky visible search, SVG icons, drawer menu ===== */
.ef-app-header{background:#fff;position:sticky;top:0;z-index:1500;border-bottom:1px solid var(--ef-border);box-shadow:0 2px 12px rgba(21,39,45,.07)}
.ef-mainbar-v2{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:10px;align-items:center;min-height:74px;padding:8px 0}
.ef-icon-btn svg,.ef-bottom-nav svg,.ef-drawer svg,.ef-mega-btn svg,.ef-search button svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2.25;stroke-linecap:round;stroke-linejoin:round;display:block}
.ef-icon-btn{background:#f0f4f6;color:var(--ef-dark);border-radius:16px;box-shadow:none}
.ef-icon-btn:hover,.ef-icon-btn:focus-visible{background:#e6f6f6;color:var(--ef-teal);outline:2px solid rgba(31,122,155,.18)}
.ef-menu-toggle{box-shadow:0 8px 18px rgba(21,39,45,.06)}
.ef-logo-v2{justify-content:center;min-width:0;text-align:center}
.ef-logo-v2 .custom-logo-link{display:flex;align-items:center;justify-content:center;min-width:0}
.ef-logo-v2 img,.ef-logo-v2 .custom-logo{max-height:54px;max-width:min(238px,42vw);width:auto;object-fit:contain}
.ef-logo-text{font-size:1.35rem;letter-spacing:-.04em;font-weight:950;line-height:.9;color:var(--ef-dark);display:inline-block;text-align:left}
.ef-actions-v2{gap:10px;justify-content:flex-end;min-width:max-content}.ef-action-account{display:inline-flex}.ef-cart-link span{right:-6px;top:-7px;background:var(--ef-pink);font-weight:900;min-width:22px;height:22px;font-size:.78rem;border:2px solid #fff}
.ef-search-desktop{display:none}
.ef-mobile-searchbar{display:block;background:#fff;padding:0 0 12px;border-top:1px solid #f0f4f6}
.ef-search-always{display:flex;min-height:58px;border-radius:17px;background:#eef2f5;border:0;box-shadow:inset 0 0 0 1px rgba(21,39,45,.03);overflow:hidden}
.ef-search-always input{font-size:1.02rem;padding:15px 16px;color:var(--ef-text)}
.ef-search-always input::placeholder{color:#6b7a83;opacity:.9}
.ef-search-always button{background:var(--ef-teal);min-width:68px;display:flex;align-items:center;justify-content:center;color:#fff;border-radius:0 17px 17px 0}
.ef-search-always button svg{width:27px;height:27px}
.ef-search-panel{display:none!important}
.ef-desktop-nav-v2{display:none}.ef-desktop-nav-v2 svg{width:19px;height:19px;vertical-align:middle;margin-right:6px}.ef-pink-link{color:var(--ef-pink)!important}.ef-mega-btn{display:inline-flex;align-items:center;gap:8px}.ef-mega-btn svg{width:20px;height:20px}.ef-mega-panel strong{color:var(--ef-teal)}

.ef-drawer-v2{width:min(82vw,430px);border-radius:0;box-shadow:28px 0 54px rgba(0,0,0,.24);padding-bottom:110px}.ef-drawer-v2.is-open{transform:translateX(0)}
.ef-drawer-head-v2{height:72px;background:var(--ef-teal);font-size:1.22rem;letter-spacing:.01em;padding:0 22px}.ef-drawer-head-v2 strong{font-weight:900;max-width:80%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ef-drawer-close{width:42px;height:42px;display:grid;place-items:center;border-radius:12px}.ef-drawer-close:hover{background:rgba(255,255,255,.13)}.ef-drawer-close svg{width:30px;height:30px;color:#fff}
.ef-drawer-quick{padding:14px 22px 0}.ef-drawer-line,.ef-category-row{display:grid;grid-template-columns:34px 1fr 22px;gap:12px;align-items:center;min-height:64px;border-bottom:1px solid #edf1f3;color:var(--ef-dark);font-weight:760;font-size:1.06rem}.ef-drawer-line svg:first-child{color:var(--ef-dark);width:28px;height:28px}.ef-drawer-line svg:last-child,.ef-category-row svg{color:#acb5ba;width:22px;height:22px;justify-self:end}.ef-drawer-line:hover,.ef-category-row:hover{color:var(--ef-teal)}
.ef-drawer-section-v2{padding:16px 22px 0}.ef-drawer-section-v2 h3{color:var(--ef-teal);font-size:1rem;margin:18px 0 8px;font-weight:900}.ef-category-row{grid-template-columns:1fr 22px;min-height:58px;font-size:1.05rem}.ef-drawer-details{border-bottom:1px solid #edf1f3}.ef-drawer-details summary{cursor:pointer;list-style:none;min-height:58px;display:flex;align-items:center;color:var(--ef-dark);font-weight:780}.ef-drawer-details summary::-webkit-details-marker{display:none}.ef-drawer-details summary:after{content:'›';margin-left:auto;color:#acb5ba;font-size:1.8rem;line-height:1;transition:transform .18s}.ef-drawer-details[open] summary:after{transform:rotate(90deg)}.ef-drawer-subcats{display:grid;gap:4px;padding:0 0 14px 12px}.ef-drawer-subcats a{padding:9px 0;color:#5d6c73;font-weight:700}.ef-drawer-subcats a:hover{color:var(--ef-teal)}
.ef-drawer-backdrop{z-index:1499}.ef-drawer{z-index:1600}

.ef-bottom-nav-v2{height:78px;grid-template-columns:repeat(5,1fr);padding:7px 3px calc(7px + env(safe-area-inset-bottom));z-index:1450}.ef-bottom-nav-v2 a,.ef-bottom-nav-v2 button{font-size:1rem;color:var(--ef-dark);gap:4px;min-height:58px}.ef-bottom-nav-v2 svg{width:26px;height:26px}.ef-bottom-nav-v2 span{font-size:.76rem;line-height:1.05;font-weight:900}.ef-bottom-nav-v2 a:hover,.ef-bottom-nav-v2 button:hover,.ef-bottom-nav-v2 a:focus-visible,.ef-bottom-nav-v2 button:focus-visible{color:var(--ef-teal);outline:0}.ef-bottom-nav-v2 .ef-bottom-cart{position:relative}.ef-bottom-nav-v2 .ef-bottom-cart:after{content:'';position:absolute;bottom:-7px;left:18%;right:18%;height:4px;background:var(--ef-teal);border-radius:999px}.ef-site-main{min-height:45vh}

/* Evita que menús largos del footer se vean como contenido principal en móvil */
.ef-footer{margin-top:28px}.ef-footer-menu{margin:0;padding:0;list-style:none}.ef-footer-menu li{margin:0}.ef-footer-menu a{margin:8px 0}

@media(max-width:719px){
  body{padding-bottom:86px}.ef-topbar{display:none!important}.ef-mainbar-v2 .ef-menu-toggle{grid-column:1}.ef-logo-v2{grid-column:2}.ef-actions-v2{grid-column:3}.ef-actions-v2 .ef-icon-btn{min-width:46px;height:46px}.admin-bar .ef-app-header{top:0}.ef-site-main{padding-top:0}.ef-hero{padding-top:18px}.ef-hero-search{display:none!important}
}
@media(min-width:720px){
  body{padding-bottom:0}.ef-mainbar-v2{grid-template-columns:230px minmax(320px,1fr) auto;min-height:86px}.ef-mainbar-v2 .ef-menu-toggle{display:none}.ef-logo-v2{justify-content:flex-start}.ef-logo-v2 img,.ef-logo-v2 .custom-logo{max-width:230px;max-height:62px}.ef-search-desktop{display:flex;min-height:54px;border-radius:16px;background:#eef2f5;border:0}.ef-search-desktop input{padding:15px 18px;font-size:1rem}.ef-search-desktop button{min-width:62px;display:flex;align-items:center;justify-content:center;border-radius:0 16px 16px 0}.ef-mobile-searchbar{display:none}.ef-desktop-nav-v2{display:block}.ef-nav-inner{gap:20px}.ef-nav-highlight{display:inline-flex;align-items:center;gap:2px}.ef-drawer-v2{width:420px}.ef-bottom-nav-v2{display:none}
}
@media(min-width:1080px){.ef-mainbar-v2{grid-template-columns:260px minmax(420px,1fr) auto}.ef-logo-v2 img,.ef-logo-v2 .custom-logo{max-width:255px}.ef-actions-v2 .ef-icon-btn{min-width:48px;height:48px}.ef-nav-inner{gap:24px}}

/* ===== v3 FIX: desktop/mobile menu collapsed + related products in one row ===== */
.ef-desktop-nav,
.ef-desktop-nav-v2{
  overflow:visible!important;
}
.ef-desktop-nav .ef-nav-inner,
.ef-desktop-nav-v2 .ef-nav-inner{
  position:relative;
  overflow:visible!important;
  flex-wrap:nowrap;
}
.ef-desktop-nav .ef-menu,
.ef-desktop-nav-v2 .ef-menu{
  flex-wrap:nowrap;
  align-items:center;
  min-width:0;
}
.ef-desktop-nav .ef-menu > li,
.ef-desktop-nav-v2 .ef-menu > li{
  position:relative;
  list-style:none;
  margin:0;
  padding:0;
  white-space:nowrap;
}
.ef-desktop-nav .ef-menu li ul,
.ef-desktop-nav .ef-menu .sub-menu,
.ef-desktop-nav-v2 .ef-menu li ul,
.ef-desktop-nav-v2 .ef-menu .sub-menu{
  display:none!important;
  position:absolute!important;
  top:calc(100% + 12px);
  left:0;
  z-index:2100;
  width:280px;
  max-height:min(72vh,620px);
  overflow:auto;
  margin:0!important;
  padding:10px!important;
  list-style:none!important;
  background:#fff!important;
  color:var(--ef-text)!important;
  border:1px solid var(--ef-border)!important;
  border-radius:16px!important;
  box-shadow:0 18px 44px rgba(21,39,45,.22)!important;
}
.ef-desktop-nav .ef-menu li.is-open > ul,
.ef-desktop-nav .ef-menu li.is-open > .sub-menu,
.ef-desktop-nav .ef-menu li:focus-within > ul,
.ef-desktop-nav .ef-menu li:focus-within > .sub-menu,
.ef-desktop-nav-v2 .ef-menu li.is-open > ul,
.ef-desktop-nav-v2 .ef-menu li.is-open > .sub-menu,
.ef-desktop-nav-v2 .ef-menu li:focus-within > ul,
.ef-desktop-nav-v2 .ef-menu li:focus-within > .sub-menu{
  display:block!important;
}
.ef-desktop-nav .ef-menu .sub-menu li,
.ef-desktop-nav-v2 .ef-menu .sub-menu li{
  display:block;
  position:relative;
  white-space:normal;
}
.ef-desktop-nav .ef-menu .sub-menu a,
.ef-desktop-nav-v2 .ef-menu .sub-menu a{
  display:block;
  padding:10px 12px;
  border-radius:10px;
  color:var(--ef-text)!important;
  font-size:.94rem;
  line-height:1.3;
}
.ef-desktop-nav .ef-menu .sub-menu a:hover,
.ef-desktop-nav .ef-menu .sub-menu a:focus,
.ef-desktop-nav-v2 .ef-menu .sub-menu a:hover,
.ef-desktop-nav-v2 .ef-menu .sub-menu a:focus{
  background:var(--ef-soft)!important;
  color:var(--ef-teal)!important;
}
.ef-desktop-nav .ef-menu .sub-menu .sub-menu,
.ef-desktop-nav-v2 .ef-menu .sub-menu .sub-menu{
  left:calc(100% + 8px);
  top:0;
}
.ef-submenu-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:24px;
  height:24px;
  margin-left:4px;
  border:0;
  border-radius:8px;
  background:rgba(255,255,255,.12);
  color:#fff;
  cursor:pointer;
  font-size:16px;
  line-height:1;
}
.ef-submenu-toggle:hover,
.ef-submenu-toggle:focus{
  background:rgba(255,255,255,.22);
  outline:0;
}
.ef-menu .menu-item-has-children.is-open > .ef-submenu-toggle{
  transform:rotate(180deg);
}
.ef-mega .ef-mega-panel{
  display:none!important;
}
.ef-mega.is-open .ef-mega-panel,
.ef-mega:focus-within .ef-mega-panel{
  display:grid!important;
}
@media (max-width:719px){
  .ef-desktop-nav,
  .ef-desktop-nav-v2{
    display:none!important;
    height:0!important;
    min-height:0!important;
    padding:0!important;
    overflow:hidden!important;
  }
  .ef-mobile-searchbar{
    display:block!important;
    position:sticky;
    top:74px;
    z-index:1400;
    background:#fff;
    border-bottom:1px solid var(--ef-border);
  }
  .admin-bar .ef-mobile-searchbar{top:74px;}
}
@media (min-width:720px){
  .ef-desktop-nav-v2{
    display:block!important;
    min-height:54px;
  }
  .ef-desktop-nav-v2 .ef-nav-inner{
    min-height:54px;
  }
}

/* WooCommerce: keep suggested/related products on one visual line. */
.woocommerce div.product .related.products,
.woocommerce div.product .upsells.products{
  clear:both;
  width:100%;
  margin-top:28px;
}
.woocommerce div.product .related.products ul.products,
.woocommerce div.product .upsells.products ul.products{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:16px!important;
  align-items:stretch!important;
  width:100%!important;
}
.woocommerce div.product .related.products ul.products li.product,
.woocommerce div.product .upsells.products ul.products li.product{
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  float:none!important;
  clear:none!important;
  margin:0!important;
  display:flex!important;
  flex-direction:column;
}
.woocommerce div.product .related.products ul.products li.product a img,
.woocommerce div.product .upsells.products ul.products li.product a img{
  width:100%!important;
  height:170px!important;
  object-fit:contain!important;
}
@media (max-width:719px){
  .woocommerce div.product .related.products ul.products,
  .woocommerce div.product .upsells.products ul.products{
    grid-template-columns:none!important;
    grid-auto-flow:column!important;
    grid-auto-columns:minmax(160px,46vw)!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    padding:4px 2px 14px!important;
  }
  .woocommerce div.product .related.products ul.products li.product,
  .woocommerce div.product .upsells.products ul.products li.product{
    scroll-snap-align:start;
  }
  .woocommerce div.product .related.products ul.products li.product a img,
  .woocommerce div.product .upsells.products ul.products li.product a img{
    height:145px!important;
  }
}
@media (min-width:720px) and (max-width:980px){
  .woocommerce div.product .related.products ul.products,
  .woocommerce div.product .upsells.products ul.products{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:12px!important;
  }
  .woocommerce div.product .related.products ul.products li.product a img,
  .woocommerce div.product .upsells.products ul.products li.product a img{
    height:145px!important;
  }
}

/* ===== v4 RESPONSIVE FIX: header compact, menus collapsed, footer clean ===== */
:root{--ef-nav-h:54px;}
body{overflow-x:hidden;}
.ef-site-main,
.ef-wrap,
.woocommerce,
.woocommerce-page{max-width:100%;}
p,li,a,span,strong,h1,h2,h3,h4,h5,h6,td,th,button,input,select{overflow-wrap:anywhere;word-break:normal;}
.ef-header{width:100%;}
.ef-mainbar-v2{width:var(--ef-wrap);}
.ef-logo-v2 img,.ef-logo-v2 .custom-logo{object-fit:contain;}
.ef-search input{min-width:0;}

/* Desktop nav: never becomes a giant block. */
.ef-desktop-nav-v2{
  background:var(--ef-dark);
  color:#fff;
  min-height:var(--ef-nav-h);
  height:var(--ef-nav-h);
  overflow:visible!important;
}
.ef-desktop-nav-v2 .ef-nav-inner{
  min-height:var(--ef-nav-h)!important;
  height:var(--ef-nav-h)!important;
  display:flex!important;
  align-items:center!important;
  gap:clamp(8px,1.1vw,18px)!important;
  flex-wrap:nowrap!important;
  overflow:visible!important;
}
.ef-desktop-nav-v2 .ef-nav-highlight,
.ef-desktop-nav-v2 .ef-mega-btn,
.ef-desktop-nav-v2 .ef-more-btn{
  min-height:42px;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  border-radius:12px;
  padding:8px clamp(8px,1vw,14px)!important;
  font-size:clamp(.78rem,.86vw,.95rem)!important;
  line-height:1.12!important;
  font-weight:900!important;
  white-space:nowrap!important;
  max-width:190px;
}
.ef-desktop-nav-v2 .ef-nav-highlight svg{flex:0 0 auto;width:18px;height:18px;}
.ef-desktop-nav-v2 .ef-pink-link{color:var(--ef-pink)!important;}
.ef-desktop-nav-v2 .ef-mega{position:relative;flex:0 0 auto;}
.ef-mega:hover .ef-mega-panel,
.ef-mega:focus-within .ef-mega-panel{display:none!important;}
.ef-mega.is-open .ef-mega-panel{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr));
  width:min(760px,94vw);
  max-height:min(72vh,640px);
  overflow:auto;
  top:calc(100% + 10px);
  left:0;
  z-index:2400;
}

/* Primary menu is now inside a collapsed “Más” panel, never open by default. */
.ef-more-menu{position:relative;flex:0 0 auto;}
.ef-more-btn{
  border:0;
  cursor:pointer;
  background:rgba(255,255,255,.10);
  color:#fff;
}
.ef-more-btn::after{content:'⌄';font-size:14px;margin-left:4px;}
.ef-more-menu.is-open .ef-more-btn::after{transform:rotate(180deg);display:inline-block;}
.ef-more-panel{
  display:none!important;
  position:absolute;
  right:0;
  top:calc(100% + 10px);
  z-index:2450;
  width:min(360px,92vw);
  max-height:min(76vh,640px);
  overflow:auto;
  background:#fff;
  color:var(--ef-text);
  border:1px solid var(--ef-border);
  border-radius:18px;
  box-shadow:0 20px 50px rgba(21,39,45,.25);
  padding:10px;
}
.ef-more-menu.is-open .ef-more-panel{display:block!important;}
.ef-more-panel .ef-menu,
.ef-more-panel .ef-more-list{
  display:block!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
  width:100%!important;
}
.ef-more-panel .ef-menu > li{
  display:block!important;
  margin:0!important;
  padding:0!important;
  position:relative!important;
  white-space:normal!important;
  border-bottom:1px solid #edf1f3;
}
.ef-more-panel .ef-menu > li:last-child{border-bottom:0;}
.ef-more-panel .ef-menu a{
  display:block!important;
  padding:12px 42px 12px 12px!important;
  color:var(--ef-text)!important;
  font-size:.96rem!important;
  line-height:1.35!important;
  border-radius:10px;
}
.ef-more-panel .ef-menu a:hover{background:var(--ef-soft)!important;color:var(--ef-teal)!important;}
.ef-more-panel .ef-submenu-toggle{
  position:absolute;
  right:8px;
  top:8px;
  width:32px;
  height:32px;
  margin:0;
  background:#eef3f5;
  color:var(--ef-dark);
  border-radius:10px;
}
.ef-more-panel .ef-menu li ul,
.ef-more-panel .ef-menu .sub-menu,
.ef-more-panel .ef-menu .children{
  display:none!important;
  position:static!important;
  width:auto!important;
  max-height:none!important;
  overflow:visible!important;
  box-shadow:none!important;
  border:0!important;
  border-radius:0!important;
  background:#f7fafb!important;
  padding:0 0 8px 12px!important;
  margin:0 0 8px 0!important;
  list-style:none!important;
}
.ef-more-panel .ef-menu li.is-open > ul,
.ef-more-panel .ef-menu li.is-open > .sub-menu,
.ef-more-panel .ef-menu li.is-open > .children{display:block!important;}
.ef-more-panel .ef-menu .sub-menu a,
.ef-more-panel .ef-menu .children a{font-size:.9rem!important;padding:9px 10px!important;}

/* Footer: show a compact legal/info menu, never the full nested site tree expanded. */
.ef-footer{overflow:hidden;}
.ef-footer-grid{
  align-items:start;
  grid-template-columns:minmax(0,1.25fr) minmax(0,.85fr) minmax(0,.85fr) minmax(0,1.15fr)!important;
  gap:clamp(18px,3vw,48px)!important;
}
.ef-footer-grid > div{min-width:0;}
.ef-footer h2{font-size:clamp(1.18rem,1.35vw,1.6rem);line-height:1.15;margin-bottom:14px;}
.ef-footer h3{font-size:clamp(1rem,1vw,1.15rem);line-height:1.2;margin-bottom:12px;}
.ef-footer p,.ef-footer a{font-size:clamp(.88rem,.92vw,1rem);line-height:1.55;}
.ef-footer-menu,
.ef-footer-menu ul,
.ef-footer-menu li{margin:0!important;padding:0!important;list-style:none!important;}
.ef-footer-menu > li{margin:0 0 6px!important;}
.ef-footer-menu .sub-menu,
.ef-footer-menu .children{display:none!important;}
.ef-footer-menu a{display:block;margin:0 0 8px!important;max-width:100%;}

/* WooCommerce text/product layout does not overflow. */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product{min-width:0;overflow:hidden;}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-loop-product__title,
.product_title{overflow-wrap:anywhere;line-height:1.25!important;}
.woocommerce ul.products li.product a img{width:100%!important;max-width:100%!important;object-fit:contain;}
.woocommerce .woocommerce-ordering select{max-width:100%;min-height:38px;border:1px solid var(--ef-border);border-radius:10px;padding:6px 10px;}

@media(max-width:1180px) and (min-width:720px){
  .ef-mainbar-v2{grid-template-columns:190px minmax(280px,1fr) auto!important;gap:10px!important;}
  .ef-logo-v2 img,.ef-logo-v2 .custom-logo{max-width:170px!important;max-height:58px!important;}
  .ef-desktop-nav-v2 .ef-nav-highlight:nth-of-type(n+4){display:none!important;}
  .ef-desktop-nav-v2 .ef-nav-inner{gap:8px!important;}
}
@media(max-width:920px) and (min-width:720px){
  .ef-mainbar-v2{grid-template-columns:150px minmax(230px,1fr) auto!important;}
  .ef-logo-text{font-size:1rem!important;}
  .ef-desktop-nav-v2 .ef-nav-highlight:nth-of-type(n+3){display:none!important;}
  .ef-more-panel{right:0;}
}
@media(max-width:719px){
  body{font-size:clamp(15px,4vw,17px);padding-bottom:88px;}
  .ef-header{top:0;}
  .ef-mainbar-v2{min-height:70px!important;grid-template-columns:48px minmax(0,1fr) auto!important;gap:8px!important;padding:8px 0;}
  .ef-logo-v2 img,.ef-logo-v2 .custom-logo{max-width:min(190px,42vw)!important;max-height:52px!important;}
  .ef-logo-text{font-size:clamp(.9rem,4vw,1.2rem)!important;line-height:.92!important;}
  .ef-actions-v2{gap:6px!important;}
  .ef-actions-v2 .ef-icon-btn{min-width:44px!important;width:44px!important;height:44px!important;border-radius:14px!important;}
  .ef-mobile-searchbar{position:sticky!important;top:70px!important;padding:8px 0 10px!important;z-index:1400!important;}
  .ef-search-always{min-height:54px!important;border-radius:16px!important;}
  .ef-search-always input{font-size:clamp(.94rem,4vw,1.05rem)!important;padding:12px 14px!important;}
  .ef-search-always button{min-width:60px!important;}
  .ef-footer{padding:26px 0 98px!important;}
  .ef-footer-grid{grid-template-columns:1fr!important;gap:22px!important;}
  .ef-footer-menu .sub-menu,.ef-footer-menu .children{display:none!important;}
  .ef-drawer-v2{width:min(88vw,430px)!important;}
  .ef-drawer-line,.ef-category-row{font-size:clamp(.96rem,4vw,1.08rem)!important;}
  .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
  .woocommerce ul.products li.product{padding:10px!important;border-radius:16px!important;}
  .woocommerce ul.products li.product a img{height:130px!important;}
  .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:.9rem!important;min-height:auto!important;}
  .woocommerce .woocommerce-ordering{float:none!important;width:100%!important;margin:10px 0 18px!important;}
  .woocommerce .woocommerce-ordering select{width:100%!important;}
}
@media(max-width:390px){
  .ef-actions-v2 .ef-action-account{display:none!important;}
  .ef-logo-v2 img,.ef-logo-v2 .custom-logo{max-width:150px!important;}
  .woocommerce ul.products li.product a img{height:115px!important;}
}


/* ===== v5 SPEED + READABILITY FIX ===== */
body{
  font-size:17px;
  line-height:1.66;
  text-rendering:optimizeLegibility;
}
.ef-entry-content,
.ef-content-page,
.ef-shop-wrap,
.woocommerce div.product,
.woocommerce-Tabs-panel,
.woocommerce-product-details__short-description{
  font-size:1rem;
  line-height:1.68;
}
.ef-entry-content p,
.ef-entry-content li,
.woocommerce-Tabs-panel p,
.woocommerce-Tabs-panel li,
.woocommerce-product-details__short-description p,
.ef-info-block p,
.ef-health-copy p,
.ef-post-card p{
  font-size:1.0625rem;
  line-height:1.72;
}
.woocommerce ul.products li.product .price,
.ef-price,
.woocommerce div.product p.price{
  font-size:1.05rem;
}
/* Keep H1/H2/H3 sizes stable while body text grows. */
h1,.ef-hero h1,.product_title{font-size:clamp(2rem,5.2vw,3.2rem);}
h2,.ef-section-head h2{font-size:clamp(1.45rem,2.2vw,2rem);}
h3{font-size:clamp(1.08rem,1.35vw,1.24rem);}
/* Make selected pages feel faster visually: reserve header/product spaces and avoid layout shifts. */
.ef-header{contain:layout style;}
.ef-product-card,.woocommerce ul.products li.product{content-visibility:auto;contain-intrinsic-size:260px 360px;}
.ef-post-card{content-visibility:auto;contain-intrinsic-size:220px 280px;}
.ef-cat-card{content-visibility:auto;contain-intrinsic-size:140px 160px;}
/* Desktop product/category cards: readable but compact. */
@media(min-width:720px){
  .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:1rem!important;line-height:1.32!important;}
  .woocommerce ul.products li.product .button{font-size:.95rem!important;}
}
@media(max-width:719px){
  body{font-size:17px;line-height:1.66;}
  .ef-entry-content p,
  .ef-entry-content li,
  .woocommerce-Tabs-panel p,
  .woocommerce-Tabs-panel li,
  .woocommerce-product-details__short-description p{font-size:1.04rem;line-height:1.7;}
}


/* ===== v6: categorías con ilustración semántica + sliders locales ===== */
.ef-cat-card{
  position:relative;
  overflow:hidden;
  min-height:142px;
  justify-content:center;
  gap:12px;
  background:linear-gradient(180deg,#fff 0%,#fbfdfe 100%);
}
.ef-cat-card img{
  width:76px!important;
  height:76px!important;
  object-fit:contain!important;
  margin:0 auto 8px!important;
}
.ef-cat-visual{
  width:88px;
  height:70px;
  display:grid;
  place-items:center;
  border-radius:22px;
  margin:0 auto 8px;
  background:linear-gradient(135deg,#eef9fb,#fff);
  box-shadow:inset 0 0 0 1px rgba(11,58,91,.06);
}
.ef-cat-visual svg{
  width:74px;
  height:56px;
  fill:none;
  stroke:#16333a;
  stroke-width:5;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.ef-cat-visual-flu{background:linear-gradient(135deg,#e7f8ff,#fff4c9)}
.ef-cat-visual-allergy{background:linear-gradient(135deg,#eef4ff,#f7fff4)}
.ef-cat-visual-pain{background:linear-gradient(135deg,#fff3ef,#f8fbff)}
.ef-cat-visual-skin{background:linear-gradient(135deg,#fff0f5,#ecfff6)}
.ef-cat-visual-heart{background:linear-gradient(135deg,#ffeef2,#eef9ff)}
.ef-cat-visual-diabetes{background:linear-gradient(135deg,#f0fff4,#eaf6ff)}
.ef-cat-visual-digestive{background:linear-gradient(135deg,#fff8e9,#f2fff5)}
.ef-cat-visual-antibiotic{background:linear-gradient(135deg,#eff6ff,#fff5e9)}
.ef-cat-visual-oral{background:linear-gradient(135deg,#f4fbff,#fff)}
.ef-cat-visual-vitamin{background:linear-gradient(135deg,#fff7d9,#effffa)}
.ef-cat-visual-convenience{background:linear-gradient(135deg,#f2fbff,#fff7fb)}
.ef-cat-visual-drink{background:linear-gradient(135deg,#e9fbff,#f7fff0)}
.ef-cat-visual-flu svg{stroke:#007d8b}.ef-cat-visual-allergy svg{stroke:#4f6fd7}.ef-cat-visual-pain svg{stroke:#d25d32}.ef-cat-visual-skin svg{stroke:#b04e80}.ef-cat-visual-heart svg{stroke:#d72456}.ef-cat-visual-diabetes svg{stroke:#008f78}.ef-cat-visual-digestive svg{stroke:#c37b22}.ef-cat-visual-antibiotic svg{stroke:#d13636}.ef-cat-visual-oral svg{stroke:#0b7892}.ef-cat-visual-vitamin svg{stroke:#c99100}.ef-cat-visual-convenience svg{stroke:#008c8c}.ef-cat-visual-drink svg{stroke:#1672a6}

.ef-local-rail{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(230px,1fr);
  gap:16px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  padding:4px 2px 16px;
  scrollbar-width:thin;
  content-visibility:auto;
  contain-intrinsic-size:280px;
}
.ef-local-rail .ef-product-card{
  min-width:230px;
  scroll-snap-align:start;
}
.ef-local-card{
  scroll-snap-align:start;
  min-width:230px;
}
.ef-local-card a{
  min-height:190px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:12px;
  padding:20px;
  border:1px solid var(--ef-border);
  border-radius:22px;
  background:linear-gradient(180deg,#fff 0%,#f7fbfc 100%);
  box-shadow:0 10px 24px rgba(21,39,45,.07);
  color:var(--ef-dark);
  text-decoration:none;
}
.ef-local-card a:hover,.ef-local-card a:focus-visible{
  transform:translateY(-2px);
  box-shadow:0 18px 36px rgba(21,39,45,.12);
  outline:2px solid rgba(31,122,155,.18);
}
.ef-local-icon{
  width:54px;
  height:54px;
  border-radius:18px;
  display:grid;
  place-items:center;
  color:#fff;
  background:var(--ef-teal);
}
.ef-local-icon svg{width:30px;height:30px;stroke:currentColor;fill:none;stroke-width:2.2}
.ef-local-card strong{font-size:1.08rem;line-height:1.2;color:var(--ef-dark)}
.ef-local-card em{font-style:normal;color:#667780;font-size:.94rem;line-height:1.35}
@media(min-width:1020px){
  .ef-local-rail{grid-auto-columns:calc((100% - 80px)/6);overflow-x:auto;}
  .ef-local-rail .ef-product-card,.ef-local-card{min-width:0;}
}
@media(max-width:719px){
  .ef-cat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
  .ef-cat-card{min-height:130px!important;padding:14px 8px!important;}
  .ef-cat-visual{width:76px;height:62px;border-radius:18px;}
  .ef-cat-visual svg{width:64px;height:50px;}
  .ef-local-rail{grid-auto-columns:minmax(220px,76vw);gap:14px;padding-bottom:14px;}
  .ef-local-card a{min-height:178px;padding:18px;}
}


/* ===== v7: bottom nav sin buscador + sliders/cards del mismo tamaño ===== */
.ef-bottom-nav-v2{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
.ef-bottom-nav-v2 a,
.ef-bottom-nav-v2 button{
  min-width:0;
}
.ef-bottom-nav-v2 .ef-bottom-cart:after{
  left:22%;
  right:22%;
}

/* Igualar altura de cards en sliders sin agregar JS ni librerías */
.ef-product-rail,
.ef-local-rail{
  align-items:stretch;
}
.ef-product-rail .ef-product-card,
.ef-local-rail .ef-product-card{
  height:100%;
  min-height:330px;
  display:flex;
  flex-direction:column;
}
.ef-product-rail .ef-product-media,
.ef-local-rail .ef-product-media{
  height:170px;
  min-height:170px;
  display:grid;
  place-items:center;
}
.ef-product-rail .ef-product-img,
.ef-local-rail .ef-product-img,
.ef-product-rail .attachment-woocommerce_thumbnail,
.ef-local-rail .attachment-woocommerce_thumbnail{
  width:100%;
  max-width:160px;
  height:150px!important;
  max-height:150px!important;
  object-fit:contain!important;
  margin:auto!important;
}
.ef-product-rail .ef-product-body,
.ef-local-rail .ef-product-body{
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
}
.ef-product-rail .ef-product-card h3,
.ef-local-rail .ef-product-card h3{
  min-height:3.2em;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.ef-product-rail .ef-product-actions,
.ef-local-rail .ef-product-actions{
  margin-top:auto;
}
.ef-local-card{
  height:100%;
  min-height:210px;
  display:flex;
}
.ef-local-card a{
  width:100%;
  height:100%;
  min-height:210px;
}
.ef-local-card strong{
  min-height:2.45em;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.ef-local-card em{
  min-height:2.7em;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
@media(min-width:1020px){
  .ef-product-rail.ef-local-rail,
  .ef-local-rail{
    grid-auto-columns:calc((100% - 80px)/6)!important;
  }
  .ef-product-rail:not(.ef-local-rail){
    grid-auto-columns:calc((100% - 70px)/6)!important;
  }
}
@media(max-width:719px){
  .ef-bottom-nav-v2 svg{width:27px;height:27px;}
  .ef-bottom-nav-v2 span{font-size:.78rem;}
  .ef-product-rail .ef-product-card,
  .ef-local-rail .ef-product-card{min-height:320px;}
  .ef-local-card,
  .ef-local-card a{min-height:198px;}
}


/* ===== v8 PALETA AZUL MÉDICO + VERDE SALUD ===== */
.ef-header{background:#fff;}
.ef-topbar,.ef-desktop-nav-v2,.ef-desktop-nav,.ef-footer{background:var(--ef-dark-2)!important;}
.ef-drawer-head-v2{background:linear-gradient(135deg,var(--ef-dark),var(--ef-teal))!important;}
.ef-search button,.ef-search-always button,.ef-search-desktop button{background:var(--ef-teal)!important;}
.ef-search button:hover,.ef-search-always button:hover,.ef-search-desktop button:hover{background:var(--ef-teal-2)!important;}
.ef-primary,.ef-drawer-search button{background:var(--ef-green)!important;color:#fff!important;}
.ef-primary:hover,.ef-drawer-search button:hover{background:var(--ef-green-dark)!important;}
.ef-mega-btn,.ef-product-actions .button,.ef-add,.ef-service-card:nth-child(even),.ef-local-icon{background:var(--ef-green)!important;color:#fff!important;}
.ef-mega-btn:hover,.ef-product-actions .button:hover,.ef-add:hover{background:var(--ef-green-dark)!important;}
.ef-pink-link,.ef-sale-badge,.ef-cart-link span{background:transparent;color:var(--ef-orange)!important;}
.ef-sale-badge,.ef-cart-link span{background:var(--ef-orange)!important;color:#fff!important;}
.ef-price ins,.woocommerce ul.products li.product .price ins{color:var(--ef-green-dark)!important;}
.ef-hero{background:linear-gradient(135deg,#F5FAFC 0%,#FFFFFF 52%,#EAF6FB 100%)!important;}
.ef-kicker{color:var(--ef-teal)!important;border-color:var(--ef-border)!important;background:#fff!important;}
.ef-secondary:hover,.ef-cat-card:hover,.ef-section-head a:hover,.links a:hover,.internal a:hover{color:var(--ef-teal)!important;border-color:var(--ef-teal)!important;}
.ef-bottom-nav-v2 .ef-bottom-cart:after{background:var(--ef-green)!important;}
.ef-bottom-nav-v2 a:hover,.ef-bottom-nav-v2 button:hover,.ef-bottom-nav-v2 a:focus-visible,.ef-bottom-nav-v2 button:focus-visible{color:var(--ef-green)!important;}
.ef-footer a:hover{color:#BFEFFF!important;}
.ef-cat-visual-convenience svg{stroke:var(--ef-teal)!important;}
