/* ============================================================
   EL FARMACÉUTICO SV — main.css  v1.0.0
   ============================================================ */

/* ── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'DM Sans', system-ui, sans-serif; color: #1a1c1e; background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
p { margin: 0; }

/* ── VARIABLES ──────────────────────────────────────────── */
:root {
  --g900: #0b2f5b; --g800: #11467d; --g700: #195e9b;
  --g600: #2377bc; --g500: #3393dc; --g400: #54a9eb;
  --g300: #7fc4f5; --g100: #d8ecfb; --g50: #eff7fe;
  --amber: #e88c1a; --amber-lt: #fdecd0;
  --gr900: #1a1c1e; --gr700: #3d4147; --gr500: #6b7280;
  --gr300: #d1d5db; --gr100: #f4f5f7; --gr50: #f9fafb;
  --sh-sm: 0 1px 3px rgba(0,0,0,.07);
  --sh-md: 0 4px 14px rgba(0,0,0,.09);
  --sh-lg: 0 10px 32px rgba(0,0,0,.11);
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 22px;
}

/* ── PAGE WRAPPER ───────────────────────────────────────── */
.efm-page-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.efm-main { flex: 1; }

/* ── ANNOUNCEMENT BAR ───────────────────────────────────── */
.efm-announce { background: var(--g700); color: #fff; text-align: center; padding: 9px 16px; font-size: 13px; font-weight: 500; }
.efm-announce a { color: var(--g100); text-decoration: underline; }

/* ── HEADER ─────────────────────────────────────────────── */
.efm-header { background: #fff; border-bottom: 1px solid var(--gr300); box-shadow: var(--sh-sm); position: sticky; top: 0; z-index: 100; }
.efm-header-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 20px; height: 64px; }

.efm-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.efm-logo-icon { width: 36px; height: 36px; background: var(--g600); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; }
.efm-logo-icon svg { width: 20px; height: 20px; fill: #fff; }
/* Custom logo from WordPress */
.efm-logo .custom-logo { max-height: 44px; width: auto; border-radius: 0; }
.efm-logo-name { font-family: 'DM Serif Display', serif; font-size: 17px; color: var(--g800); white-space: nowrap; }
.efm-logo-name span { color: var(--g500); }

.efm-nav { display: flex; align-items: center; gap: 2px; flex: 1; min-width: 0; overflow-x: auto; overflow-y: visible; scrollbar-width: none; -ms-overflow-style: none; }
.efm-nav::-webkit-scrollbar { display: none; }
.efm-nav a, .efm-nav-item { padding: 6px 11px; border-radius: var(--r-sm); font-size: 14px; font-weight: 500; color: var(--gr700); transition: background .15s, color .15s; white-space: nowrap; display: inline-block; }
.efm-nav a:hover, .efm-nav a.current-menu-item { background: var(--g50); color: var(--g700); }
/* WP nav menu reset */
.efm-nav-menu { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; flex-wrap: nowrap; min-width: max-content; }
.efm-nav-menu li { list-style: none; position: relative; }
.efm-nav-menu li a { padding: 6px 11px; border-radius: var(--r-sm); font-size: 14px; font-weight: 500; color: var(--gr700); display: block; transition: background .15s; }
.efm-nav-menu li a:hover, .efm-nav-menu li.current-menu-item > a, .efm-nav-menu li.current-menu-ancestor > a { background: var(--g50); color: var(--g700); }
/* Sub-menu */
.efm-nav-menu .sub-menu { display: none; position: absolute; top: calc(100% + 8px); left: 0; background: #fff; border: 1px solid var(--gr300); border-radius: var(--r-md); box-shadow: var(--sh-md); min-width: 220px; z-index: 50; padding: 6px; }
.efm-nav-menu li:hover > .sub-menu { display: block; }
.efm-nav-menu .sub-menu li a { border-radius: var(--r-sm); padding: 8px 12px; font-size: 13px; white-space: nowrap; }

.efm-hactions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.efm-hbtn-search { width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--gr100); display: flex; align-items: center; justify-content: center; }
.efm-hbtn-search svg { stroke: var(--gr700); }
.efm-hbtn-cart { display: flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: var(--r-sm); background: var(--gr100); font-size: 14px; font-weight: 500; color: var(--gr700); white-space: nowrap; }
.efm-hbtn-cart svg { stroke: var(--gr700); }
.efm-hbtn-wa { display: flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: var(--r-sm); background: var(--g600); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; transition: background .15s; }
.efm-hbtn-wa:hover { background: var(--g700); color: #fff; }
.efm-hbtn-wa svg { fill: #fff; width: 15px; height: 15px; }
.efm-mobile-toggle { display: none; padding: 8px; border-radius: var(--r-sm); }

/* Search bar */
.efm-search-bar { background: var(--g50); border-bottom: 1px solid var(--g100); padding: 12px 24px; }
.efm-search-bar-inner { max-width: 1200px; margin: 0 auto; display: flex; gap: 12px; align-items: center; }
.efm-search-bar .search-form { flex: 1; display: flex; gap: 8px; }
.efm-search-bar .search-field { flex: 1; padding: 10px 14px; border: 1.5px solid var(--gr300); border-radius: var(--r-md); font-size: 14px; outline: none; font-family: inherit; }
.efm-search-bar .search-field:focus { border-color: var(--g500); }
.efm-search-bar .search-submit { padding: 10px 18px; background: var(--g600); color: #fff; border-radius: var(--r-md); font-size: 14px; font-weight: 600; font-family: inherit; border: none; cursor: pointer; }
.efm-search-close { padding: 8px; border-radius: var(--r-sm); }
.efm-search-close svg { stroke: var(--gr700); }

/* Mobile nav */
.efm-mobile-nav { background: #fff; border-top: 1px solid var(--gr300); padding: 16px 24px; }
.efm-mobile-menu { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; }
.efm-mobile-menu li { list-style: none; }
.efm-mobile-menu li a { display: block; padding: 10px 12px; border-radius: var(--r-sm); font-size: 15px; font-weight: 500; color: var(--gr700); transition: background .15s; }
.efm-mobile-menu li a:hover { background: var(--g50); color: var(--g700); }
.efm-mobile-wa { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 11px 16px; background: var(--g600); color: #fff; border-radius: var(--r-md); font-size: 14px; font-weight: 600; }
.efm-mobile-wa svg { fill: #fff; width: 16px; height: 16px; }

/* ── SECCIONES BASE ─────────────────────────────────────── */
.efm-sec { padding: 64px 24px; }
.efm-bg-white { background: #fff; }
.efm-bg-gray  { background: var(--gr50); }
.efm-sec-inner { max-width: 1200px; margin: 0 auto; }
.efm-sec-hd { text-align: center; margin-bottom: 40px; }
.efm-sec-tag { display: inline-block; padding: 4px 12px; border-radius: 20px; background: var(--g100); color: var(--g700); font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 10px; }
.efm-sec-title { font-family: 'DM Serif Display', serif; font-size: clamp(22px, 3vw, 34px); color: var(--gr900); margin-bottom: 10px; font-weight: 400; }
.efm-sec-sub { font-size: 16px; color: var(--gr500); max-width: 540px; margin: 0 auto; line-height: 1.65; }

/* ── HERO ───────────────────────────────────────────────── */
.efm-hero { background: linear-gradient(135deg, #0b2f5b 0%, #195e9b 55%, #3393dc 100%); padding: 68px 24px 76px; position: relative; overflow: hidden; }
.efm-hero-pattern { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 28px 28px; }
.efm-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.efm-hero-grid { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: center; }
.efm-hero-badge { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.22); padding: 5px 13px; border-radius: 20px; font-size: 12px; font-weight: 600; color: var(--g100); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 20px; width: fit-content; }
.efm-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; display: inline-block; flex-shrink: 0; }
.efm-hero h1 { font-family: 'DM Serif Display', serif; font-size: clamp(30px, 4.5vw, 50px); color: #fff; line-height: 1.15; margin-bottom: 18px; font-weight: 400; }
.efm-hero h1 em { font-style: italic; color: #b5def9; }
.efm-hero-desc { font-size: 16px; color: rgba(255,255,255,.82); margin-bottom: 30px; max-width: 460px; line-height: 1.75; }
.efm-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.efm-cta-primary { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: var(--r-md); background: #fff; color: var(--g800); font-size: 15px; font-weight: 600; box-shadow: var(--sh-md); transition: transform .15s; }
.efm-cta-primary:hover { transform: translateY(-2px); color: var(--g800); }
.efm-cta-primary svg { stroke: var(--g800); fill: none; }
.efm-cta-secondary { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: var(--r-md); background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.42); font-size: 15px; font-weight: 600; transition: background .15s; }
.efm-cta-secondary:hover { background: rgba(255,255,255,.1); color: #fff; }
.efm-hero-trust { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 28px; }
.efm-trust-item { display: flex; align-items: center; gap: 7px; font-size: 13px; color: rgba(255,255,255,.75); }
.efm-trust-item svg { fill: var(--g300); flex-shrink: 0; }

/* Search Card */
.efm-search-card { background: #fff; border-radius: var(--r-xl); padding: 26px; box-shadow: var(--sh-lg); }
.efm-sc-title { font-size: 15px; font-weight: 600; color: var(--gr900); margin-bottom: 14px; }
.efm-sc-tabs { display: flex; gap: 4px; background: var(--gr100); border-radius: var(--r-sm); padding: 3px; margin-bottom: 14px; }
.efm-sc-tab { flex: 1; padding: 7px 8px; border-radius: 5px; font-size: 13px; font-weight: 500; color: var(--gr500); text-align: center; cursor: pointer; transition: background .15s; }
.efm-sc-tab.efm-active { background: #fff; color: var(--gr900); box-shadow: var(--sh-sm); }
.efm-sc-input-wrap { position: relative; margin-bottom: 10px; }
.efm-sc-input-wrap svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); stroke: var(--gr500); fill: none; pointer-events: none; }
.efm-sc-input { width: 100%; padding: 11px 12px 11px 36px; border: 1.5px solid var(--gr300); border-radius: var(--r-md); font-family: inherit; font-size: 14px; color: var(--gr900); outline: none; transition: border-color .15s; }
.efm-sc-input:focus { border-color: var(--g500); }
.efm-sc-input::placeholder { color: var(--gr500); }
.efm-sc-btn { width: 100%; padding: 12px; border-radius: var(--r-md); background: var(--g600); color: #fff; font-family: inherit; font-size: 15px; font-weight: 600; border: none; cursor: pointer; transition: background .15s; }
.efm-sc-btn:hover { background: var(--g700); }
.efm-sc-popular { margin-top: 13px; }
.efm-sc-popular p { font-size: 12px; color: var(--gr500); margin-bottom: 7px; }
.efm-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.efm-tag { padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 500; background: var(--gr100); color: var(--gr700); transition: background .15s; display: inline-block; }
.efm-tag:hover { background: var(--g100); color: var(--g700); }

/* ── STRIP SERVICIOS ────────────────────────────────────── */
.efm-strip { background: var(--g50); border-bottom: 1px solid var(--g100); }
.efm-strip-inner { max-width: 1200px; margin: 0 auto; padding: 18px 24px; display: flex; flex-wrap: wrap; }
.efm-svc { flex: 1 1 200px; display: flex; align-items: center; gap: 12px; padding: 8px 20px; border-right: 1px solid var(--g100); }
.efm-svc:last-child { border-right: none; }
.efm-svc-icon { width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--g100); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.efm-svc-icon svg { stroke: var(--g700); fill: none; }
.efm-svc strong { display: block; font-size: 13px; font-weight: 600; color: var(--gr900); }
.efm-svc span { font-size: 12px; color: var(--gr500); }

/* ── CATEGORÍAS ─────────────────────────────────────────── */
.efm-cats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.efm-cat { display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 18px 10px; border-radius: var(--r-lg); border: 1.5px solid var(--gr300); background: #fff; text-align: center; transition: border-color .15s, transform .15s, box-shadow .15s; }
.efm-cat:hover { border-color: var(--g400); transform: translateY(-3px); box-shadow: var(--sh-md); }
.efm-cat-ic { width: 46px; height: 46px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; }
.efm-cat-ic svg { fill: none; }
.efm-ic-amber { background: #FEF3E2; } .efm-ic-amber svg { stroke: #C67B1A; }
.efm-ic-blue  { background: #EDF5FF; } .efm-ic-blue  svg { stroke: #2563EB; }
.efm-ic-green { background: var(--g50); } .efm-ic-green svg { stroke: var(--g700); }
.efm-ic-pink  { background: #FFF0F3; } .efm-ic-pink  svg { stroke: #C0394D; }
.efm-ic-mint  { background: #F0FFF4; } .efm-ic-mint  svg { stroke: #166534; }
.efm-ic-purp  { background: #FDF4FF; } .efm-ic-purp  svg { stroke: #7E22CE; }
.efm-ic-ora   { background: #FFF7ED; } .efm-ic-ora   svg { stroke: #C2410C; }
.efm-ic-teal  { background: #F0FDFA; } .efm-ic-teal  svg { stroke: #0F766E; }
.efm-cat-name { font-size: 13px; font-weight: 600; color: var(--gr700); line-height: 1.3; }
.efm-cat-count { font-size: 11px; color: var(--gr500); }
.efm-view-all { text-align: center; margin-top: 28px; }
.efm-btn-outline { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: var(--r-md); border: 1.5px solid var(--gr300); color: var(--gr700); font-size: 14px; font-weight: 600; background: #fff; transition: border-color .15s, color .15s, background .15s; }
.efm-btn-outline:hover { border-color: var(--g500); color: var(--g700); background: var(--g50); }
.efm-btn-outline svg { stroke: currentColor; fill: none; }

/* ── PRODUCTOS ──────────────────────────────────────────── */
.efm-prods-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.efm-prod { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--gr300); overflow: hidden; transition: box-shadow .15s, transform .15s; }
.efm-prod:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.efm-prod-img-link { display: block; }
.efm-prod-img { aspect-ratio: 1; background: var(--gr100); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.efm-prod-img img { width: 100%; height: 100%; object-fit: cover; }
.efm-prod-img svg { stroke: var(--gr300); fill: none; }
.efm-prod-rx, .efm-prod-sale { position: absolute; top: 8px; right: 8px; background: var(--amber-lt); color: var(--amber); font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 4px; }
.efm-prod-sale { background: #fde8e8; color: #c0394d; }
.efm-prod-body { padding: 12px; }
.efm-prod-name { font-size: 13px; font-weight: 600; color: var(--gr900); margin-bottom: 3px; line-height: 1.4; }
.efm-prod-gen { font-size: 11px; color: var(--gr500); margin-bottom: 8px; }
.efm-prod-price { font-size: 16px; font-weight: 700; color: var(--g700); }
.efm-prod-price .woocommerce-Price-amount { font-size: 16px; font-weight: 700; color: var(--g700); }
.efm-prod-price del { color: var(--gr500); font-size: 13px; }
.efm-prod-btn { width: 100%; margin-top: 10px; padding: 8px; background: var(--g600); color: #fff; border-radius: var(--r-sm); font-family: inherit; font-size: 13px; font-weight: 600; display: block; text-align: center; transition: background .15s; }
.efm-prod-btn:hover { background: var(--g700); color: #fff; }

/* ── DIRECTORIO ─────────────────────────────────────────── */
.efm-dir-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 36px; }
.efm-dir-type { padding: 20px 14px; border-radius: var(--r-lg); border: 1.5px solid var(--gr300); text-align: center; background: #fff; display: block; transition: border-color .15s, background .15s; }
.efm-dir-type:hover { border-color: var(--g400); background: var(--g50); }
.efm-dir-type-emoji { font-size: 26px; margin-bottom: 8px; display: block; }
.efm-dir-type-name { font-size: 14px; font-weight: 600; color: #374151; margin-bottom: 4px; display: block; }
.efm-dir-type-sub { font-size: 12px; color: var(--gr500); display: block; }
.efm-dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.efm-dir-card { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--gr300); padding: 18px; display: flex; gap: 13px; align-items: flex-start; transition: box-shadow .15s, transform .15s; }
.efm-dir-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.efm-dir-avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--g100); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: 'DM Serif Display', serif; font-size: 17px; color: var(--g700); overflow: hidden; }
.efm-dir-avatar-img { width: 100%; height: 100%; object-fit: cover; }
.efm-dir-name { font-size: 14px; font-weight: 600; color: var(--gr900); margin-bottom: 3px; }
.efm-dir-spec { font-size: 12px; color: var(--g700); font-weight: 500; margin-bottom: 5px; }
.efm-dir-loc { font-size: 12px; color: var(--gr500); display: flex; align-items: center; gap: 4px; }
.efm-dir-loc svg { stroke: var(--gr500); fill: none; }
.efm-dir-acts { margin-top: 10px; display: flex; gap: 7px; }
.efm-dir-btn-p { padding: 6px 11px; border-radius: var(--r-sm); border: 1px solid var(--gr300); font-size: 12px; font-weight: 500; color: var(--gr700); background: #fff; display: inline-block; transition: background .15s; }
.efm-dir-btn-p:hover { background: var(--gr100); color: var(--gr700); }
.efm-dir-btn-w { padding: 6px 11px; border-radius: var(--r-sm); background: var(--g600); font-size: 12px; font-weight: 500; color: #fff; display: inline-block; transition: background .15s; }
.efm-dir-btn-w:hover { background: var(--g700); color: #fff; }

/* ── BANNER USA ─────────────────────────────────────────── */
.efm-usa { background: linear-gradient(135deg, var(--g800) 0%, var(--g600) 100%); padding: 56px 24px; }
.efm-usa-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.efm-usa h2 { font-family: 'DM Serif Display', serif; font-size: clamp(24px, 3vw, 36px); color: #fff; margin-bottom: 14px; font-weight: 400; line-height: 1.2; }
.efm-usa-desc { font-size: 15px; color: rgba(255,255,255,.8); margin-bottom: 24px; line-height: 1.7; }
.efm-usa-feats { display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; }
.efm-usa-feat { display: flex; align-items: center; gap: 9px; font-size: 14px; color: rgba(255,255,255,.85); }
.efm-usa-feat svg { fill: var(--g300); flex-shrink: 0; }
.efm-usa-cta { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: var(--r-md); background: #fff; color: var(--g800); font-size: 15px; font-weight: 700; box-shadow: var(--sh-md); transition: transform .15s; }
.efm-usa-cta:hover { transform: translateY(-2px); color: var(--g800); }
.efm-usa-cta svg { stroke: var(--g800); fill: none; }
.efm-flags { display: flex; gap: 14px; align-items: center; justify-content: center; }
.efm-flag { background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.22); border-radius: var(--r-lg); padding: 22px 18px; text-align: center; flex: 1; }
.efm-flag-em { font-size: 38px; margin-bottom: 10px; display: block; }
.efm-flag-name { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 3px; display: block; }
.efm-flag-cov { font-size: 12px; color: rgba(255,255,255,.65); display: block; }
.efm-flag-arrow { font-size: 22px; color: rgba(255,255,255,.45); flex-shrink: 0; align-self: center; }

/* ── FAQ ────────────────────────────────────────────────── */
.efm-faq-list { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.efm-faq-item { background: #fff; border-radius: var(--r-md); border: 1px solid var(--gr300); overflow: hidden; }
.efm-faq-q { width: 100%; padding: 17px 18px; display: flex; justify-content: space-between; align-items: center; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--gr900); text-align: left; cursor: pointer; }
.efm-faq-q svg { stroke: var(--gr500); fill: none; flex-shrink: 0; transition: transform .25s; }
.efm-faq-item.efm-open .efm-faq-q svg { transform: rotate(45deg); }
.efm-faq-a { padding: 0 18px; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
.efm-faq-item.efm-open .efm-faq-a { max-height: 220px; padding: 0 18px 16px; }
.efm-faq-a p { font-size: 14px; color: #4b5563; line-height: 1.7; border-top: 1px solid var(--gr300); padding-top: 12px; }

/* ── FOOTER ─────────────────────────────────────────────── */
.efm-footer { background: var(--gr900); color: rgba(255,255,255,.68); }
.efm-footer-main { max-width: 1200px; margin: 0 auto; padding: 52px 24px 36px; display: grid; grid-template-columns: 260px 1fr 1fr 1fr; gap: 44px; }
.efm-flogo { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.efm-flogo-icon { width: 30px; height: 30px; background: var(--g600); border-radius: 5px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.efm-flogo-icon svg { fill: #fff; width: 16px; height: 16px; }
.efm-flogo-name { font-family: 'DM Serif Display', serif; font-size: 15px; color: #fff; }
.efm-fdesc { font-size: 13px; line-height: 1.7; margin-bottom: 18px; }
.efm-fcontact { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 9px; }
.efm-fcontact svg { stroke: var(--g400); fill: none; flex-shrink: 0; }
.efm-fcontact a { color: rgba(255,255,255,.68); transition: color .15s; }
.efm-fcontact a:hover { color: var(--g400); }
.efm-fcol-title { font-size: 11px; font-weight: 600; color: #fff; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 14px; display: block; }
.efm-flinks { display: flex; flex-direction: column; gap: 9px; }
.efm-flinks a { font-size: 13px; color: rgba(255,255,255,.6); transition: color .15s; }
.efm-flinks a:hover { color: var(--g400); }
.efm-fcoverage { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.8; }
.efm-footer-bot { border-top: 1px solid rgba(255,255,255,.1); max-width: 1200px; margin: 0 auto; padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.efm-footer-bot p { font-size: 12px; color: rgba(255,255,255,.38); }
.efm-reg-badge { display: flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid rgba(255,255,255,.15); border-radius: 20px; font-size: 11px; color: rgba(255,255,255,.55); }
.efm-reg-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--g400); display: inline-block; flex-shrink: 0; }
.efm-flegal { display: flex; gap: 18px; }
.efm-flegal a { font-size: 12px; color: rgba(255,255,255,.38); transition: color .15s; }
.efm-flegal a:hover { color: rgba(255,255,255,.7); }

/* ── WA FLOAT ───────────────────────────────────────────── */
.efm-wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 9999; width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--g700), var(--g500)); box-shadow: 0 4px 16px rgba(35,119,188,.35); display: flex; align-items: center; justify-content: center; transition: transform .2s, box-shadow .2s; }
.efm-wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 22px rgba(37,211,102,.52); }
.efm-wa-float svg { fill: #fff; width: 28px; height: 28px; }

/* ── BLOG / POSTS ───────────────────────────────────────── */
.efm-post-card { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--gr300); overflow: hidden; margin-bottom: 24px; }
.efm-post-thumb img { width: 100%; height: 220px; object-fit: cover; }
.efm-post-body { padding: 20px; }
.efm-post-meta { font-size: 12px; color: var(--gr500); margin-bottom: 8px; }
.efm-post-meta a { color: var(--g600); }
.efm-post-title { font-family: 'DM Serif Display', serif; font-size: 20px; font-weight: 400; margin-bottom: 10px; line-height: 1.3; }
.efm-post-title a:hover { color: var(--g600); }
.efm-post-excerpt { font-size: 14px; color: var(--gr500); line-height: 1.65; }
.efm-pagination { margin-top: 32px; }
.efm-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--r-sm); border: 1px solid var(--gr300); font-size: 14px; font-weight: 500; color: var(--gr700); margin: 0 3px; transition: background .15s; }
.efm-pagination .page-numbers.current, .efm-pagination .page-numbers:hover { background: var(--g600); border-color: var(--g600); color: #fff; }

/* ── SINGLE POST / PAGE ─────────────────────────────────── */
.efm-single-header { margin-bottom: 24px; }
.efm-single-title { font-family: 'DM Serif Display', serif; font-size: clamp(24px, 3.5vw, 36px); font-weight: 400; line-height: 1.2; margin-top: 12px; }
.efm-single-thumb { border-radius: var(--r-lg); overflow: hidden; margin-bottom: 32px; }
.efm-single-thumb img { width: 100%; max-height: 460px; object-fit: cover; }
.efm-single-content { font-size: 16px; line-height: 1.8; color: #374151; }
.efm-single-content h2, .efm-single-content h3 { font-family: 'DM Serif Display', serif; font-weight: 400; margin: 28px 0 12px; }
.efm-single-content p { margin-bottom: 16px; }
.efm-single-content a { color: var(--g600); text-decoration: underline; }
.efm-single-content img { border-radius: var(--r-md); margin: 16px 0; }
.efm-single-footer { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--gr300); }
.efm-post-tags { font-size: 13px; color: var(--gr500); margin-bottom: 16px; }
.efm-post-tags a { color: var(--g600); }

/* ── PAGE CONTENT ───────────────────────────────────────── */
.efm-page-title { font-family: 'DM Serif Display', serif; font-size: clamp(24px, 4vw, 40px); font-weight: 400; margin-bottom: 28px; color: var(--gr900); }
.efm-page-body { font-size: 16px; line-height: 1.8; color: #374151; }
.efm-page-body h2, .efm-page-body h3 { font-family: 'DM Serif Display', serif; font-weight: 400; margin: 24px 0 10px; }
.efm-page-body p { margin-bottom: 16px; }
.efm-page-body a { color: var(--g600); text-decoration: underline; }
.efm-page-body ul, .efm-page-body ol { padding-left: 20px; margin-bottom: 16px; }
.efm-page-body li { margin-bottom: 6px; list-style: disc; }

/* ── WOOCOMMERCE ────────────────────────────────────────── */
/* Importado desde woocommerce.css */

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .efm-footer-main { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 900px) {
  .efm-hero-grid { grid-template-columns: 1fr; }
  .efm-search-card { display: none; }
  .efm-dir-types { grid-template-columns: repeat(2, 1fr); }
  .efm-usa-inner { grid-template-columns: 1fr; }
  .efm-nav, .efm-hbtn-wa { display: none; }
  .efm-mobile-toggle { display: flex; }
  .efm-svc { border-right: none; border-bottom: 1px solid var(--g100); }
  .efm-svc:last-child { border-bottom: none; }
}
@media (max-width: 640px) {
  .efm-sec { padding: 44px 16px; }
  .efm-cats-grid { grid-template-columns: repeat(3, 1fr); }
  .efm-footer-main { grid-template-columns: 1fr; }
  .efm-footer-bot { flex-direction: column; text-align: center; }
  .efm-hbtn-cart span { display: none; }
  .efm-dir-types { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .efm-cats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── ANIMACIONES HERO ───────────────────────────────────── */
@keyframes efm-fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.efm-hero h1       { animation: efm-fade-up .6s ease both; }
.efm-hero-desc     { animation: efm-fade-up .6s .1s ease both; }
.efm-hero-ctas     { animation: efm-fade-up .6s .2s ease both; }
.efm-hero-trust    { animation: efm-fade-up .6s .3s ease both; }


/* ============================================================
   OPTIMIZACIÓN FIRST MOBILE + RENDIMIENTO v1.1.0
   ============================================================ */
:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
}

html { text-size-adjust: 100%; }
body { font-family: var(--font-sans); overflow-x: hidden; }
body.efm-menu-open { overflow: hidden; }

.efm-logo-name,
.efm-sec-title,
.efm-page-title,
.efm-post-title,
.efm-single-title,
.efm-hero h1,
.efm-usa h2,
.efm-widget-title,
.efm-flogo-name { font-family: var(--font-serif); }

.efm-skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 99999;
  background: #fff;
  color: var(--g800);
  border-radius: 10px;
  padding: 10px 14px;
  border: 1px solid var(--gr300);
  box-shadow: var(--sh-md);
}
.efm-skip-link:focus { top: 12px; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(51,147,220,.28);
  outline-offset: 2px;
}

[id] { scroll-margin-top: 92px; }

.efm-sec:not(.efm-hero),
.efm-strip,
.efm-usa {
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

.efm-header { backdrop-filter: saturate(180%) blur(6px); }
.efm-header--scrolled { box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.efm-header-inner {
  height: 60px;
  padding: 0 14px;
  gap: 12px;
}
.efm-logo { min-width: 0; }
.efm-logo .custom-logo { max-height: 38px; }
.efm-logo-name {
  font-size: 15px;
  line-height: 1.05;
  white-space: normal;
}
.efm-nav,
.efm-hbtn-wa { display: none; }
.efm-mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gr100);
}
.efm-hbtn-cart {
  padding: 8px 10px;
  min-height: 38px;
}
.efm-hbtn-cart span { display: none; }
.efm-hbtn-search,
.efm-mobile-toggle { width: 38px; height: 38px; }

.efm-search-bar { padding: 10px 14px; }
.efm-search-bar-inner { gap: 10px; }
.efm-search-bar .search-form { min-width: 0; }
.efm-search-bar .search-field { min-width: 0; }

.efm-mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 12px 14px 18px;
  box-shadow: var(--sh-lg);
  max-height: calc(100vh - 80px);
  overflow: auto;
}
.efm-mobile-menu .sub-menu {
  display: block;
  padding-left: 12px;
  margin-top: 4px;
}
.efm-mobile-menu .sub-menu a { font-size: 14px; color: var(--gr500); }

.efm-hero {
  padding: 34px 16px 42px;
}
.efm-hero-grid {
  grid-template-columns: 1fr;
  gap: 22px;
}
.efm-hero h1 { font-size: clamp(28px, 9vw, 40px); }
.efm-hero-desc {
  max-width: none;
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 22px;
}
.efm-hero-ctas { flex-direction: column; }
.efm-cta-primary,
.efm-cta-secondary {
  width: 100%;
  justify-content: center;
}
.efm-hero-trust {
  gap: 10px 12px;
  margin-top: 22px;
}
.efm-search-card {
  display: block;
  padding: 18px;
  border-radius: 18px;
}
.efm-sc-tabs {
  flex-wrap: wrap;
}
.efm-sc-tab {
  min-width: calc(50% - 2px);
}
.efm-sc-btn {
  min-height: 46px;
}
.efm-tags { gap: 8px; }

.efm-strip-inner {
  padding: 12px 16px;
  display: grid;
  grid-template-columns: 1fr;
}
.efm-svc {
  padding: 12px 0;
  border-right: 0;
  border-bottom: 1px solid var(--g100);
}
.efm-svc:last-child { border-bottom: 0; }

.efm-sec { padding: 42px 16px; }
.efm-sec-hd {
  margin-bottom: 24px;
  text-align: left;
}
.efm-sec-sub {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  font-size: 15px;
}

.efm-cats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.efm-cat { min-height: 132px; }

.efm-prods-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.efm-prod-body { padding: 10px; }
.efm-prod-name { font-size: 12px; }
.efm-prod-gen { font-size: 11px; }
.efm-prod-price,
.efm-prod-price .woocommerce-Price-amount { font-size: 15px; }
.efm-prod-btn { padding: 10px 8px; }
.efm-prod-img img { object-fit: contain; padding: 10px; background: #fff; }

.efm-dir-types { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.efm-dir-grid { grid-template-columns: 1fr; gap: 14px; }
.efm-dir-card { padding: 14px; }

.efm-usa {
  padding: 42px 16px;
}
.efm-usa-inner {
  grid-template-columns: 1fr;
  gap: 24px;
}
.efm-flags {
  gap: 10px;
  align-items: stretch;
}
.efm-flag {
  padding: 18px 14px;
}

.efm-faq-q { padding: 15px 16px; }
.efm-faq-a p { font-size: 14px; }

.efm-footer-main {
  grid-template-columns: 1fr;
  gap: 26px;
  padding: 40px 16px 28px;
}
.efm-footer-bot {
  padding: 16px;
  flex-direction: column;
  text-align: center;
}
.efm-flegal {
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
}

.efm-wa-float {
  width: 48px;
  height: 48px;
  right: 16px;
  bottom: 16px;
}

@media (min-width: 641px) {
  .efm-header-inner { padding: 0 18px; }
  .efm-sec { padding: 52px 18px; }
  .efm-cats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .efm-prods-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .efm-header-inner { height: 66px; padding: 0 24px; }
  .efm-hbtn-cart span { display: inline; }
  .efm-hero { padding: 54px 24px 60px; }
  .efm-hero-ctas { flex-direction: row; }
  .efm-cta-primary,
  .efm-cta-secondary { width: auto; }
  .efm-strip-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .efm-dir-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .efm-footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 901px) {
  .efm-header-inner { height: 72px; gap: 14px; }
  .efm-logo-name { font-size: 16px; white-space: nowrap; }
  .efm-nav-menu li a { padding: 6px 9px; font-size: 13px; }
  .efm-hbtn-cart { padding: 8px 12px; font-size: 13px; }
  .efm-nav,
  .efm-hbtn-wa { display: flex; }
  .efm-mobile-toggle,
  .efm-mobile-nav { display: none !important; }
  .efm-hero-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 42px; }
  .efm-search-card { display: block; }
  .efm-strip-inner { display: flex; }
  .efm-svc {
    border-right: 1px solid var(--g100);
    border-bottom: 0;
    padding: 8px 20px;
  }
  .efm-svc:last-child { border-right: 0; }
  .efm-sec { padding: 64px 24px; }
  .efm-sec-hd { text-align: center; margin-bottom: 40px; }
  .efm-sec-sub { max-width: 540px; margin-left: auto; margin-right: auto; }
  .efm-cats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .efm-prods-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
  .efm-dir-types { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .efm-usa-inner { grid-template-columns: 1fr 1fr; gap: 56px; }
  .efm-footer-main { grid-template-columns: 260px 1fr 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}


/* ── LOGO BRAND v1.3 ───────────────────────────────────── */
.efm-brand-logo,
.efm-footer-logo {
  display: block;
  height: auto;
  width: auto;
}
.efm-brand-logo {
  max-height: 52px;
  max-width: min(340px, 44vw);
}
.efm-footer-logo {
  max-width: 260px;
  max-height: 80px;
}
.efm-logo {
  min-width: 0;
  max-width: min(340px, 44vw);
}
.efm-flogo {
  display: inline-flex;
  align-items: center;
}

/* ── SEARCH FORM v1.3 ──────────────────────────────────── */
.efm-site-search {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  gap: 8px;
  width: 100%;
}
.efm-site-search-scope,
.efm-site-search .search-field,
.efm-site-search .search-submit {
  min-height: 44px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-family: inherit;
}
.efm-site-search-scope {
  border: 1.5px solid var(--gr300);
  background: #fff;
  padding: 0 12px;
  color: var(--gr800);
}
.efm-site-search .search-field {
  border: 1.5px solid var(--gr300);
  padding: 0 14px;
}
.efm-site-search .search-submit,
.efm-site-search-submit {
  border: none;
  padding: 0 18px;
  background: var(--g600);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.efm-page-subtitle {
  margin: 8px 0 24px;
  color: var(--gr500);
}

/* ── MOBILE MENU FIX v1.3 ──────────────────────────────── */
[hidden] { display: none !important; }
.efm-header { overflow: visible; }
.efm-mobile-nav {
  z-index: 150;
  background: #fff;
  border-top: 1px solid var(--gr300);
}
body.efm-menu-open .efm-mobile-nav {
  display: block !important;
}
.efm-mobile-nav[hidden] {
  display: none !important;
}
.efm-mobile-menu > li > a {
  font-weight: 700;
}
.efm-mobile-menu .sub-menu {
  margin-left: 6px;
  border-left: 2px solid var(--g100);
}

/* ── CATEGORY IMAGE CARDS v1.3 ─────────────────────────── */
.efm-cat {
  padding: 12px;
  align-items: stretch;
}
.efm-cat-media {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #eef7ff 0%, #dceefd 100%);
  border: 1px solid #d4e6f5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.efm-cat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.efm-cat-name,
.efm-cat-count {
  text-align: left;
}

/* ── PRODUCT CARD IMAGE ────────────────────────────────── */
.efm-prod-placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--g600);
  background: linear-gradient(135deg, #eef7ff 0%, #dceefd 100%);
}
.efm-prod-placeholder svg {
  width: 58px;
  height: 58px;
  fill: currentColor;
}

@media (max-width: 900px) {
  .efm-brand-logo {
    max-height: 44px;
    max-width: 60vw;
  }
  .efm-site-search {
    grid-template-columns: 1fr;
  }
  .efm-search-bar .search-form,
  .efm-site-search {
    width: 100%;
  }
}

@media (min-width: 901px) {
  .efm-brand-logo {
    max-height: 56px;
    max-width: 360px;
  }
}


/* ============================================================
   RENDIMIENTO VISUAL v1.5.0
   ============================================================ */
body.home .efm-strip,
body.home .efm-sec,
body.home .efm-footer,
body.home footer {
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}
body.home .efm-hero,
body.home .efm-header,
body.home .efm-announce {
  content-visibility: visible;
}
.efm-brand-logo { max-height: 52px; width: auto; }
.efm-prod-img img,
.efm-cat-media img { image-rendering: auto; }
