/*
Theme Name: ElectroGo v2 (borrador)
Theme URI: https://electrogo.com.ar
Description: Rediseño 2026 del child theme ElectroGo — dirección "marketplace pro". BORRADOR: no activar hasta aprobación.
Author: Obsidia Marketing & Media
Template: blocksy
Version: 7.2.0
Text Domain: electrogo
*/

/* =========================================================================
   ELECTROGO v2 — SISTEMA DE DISEÑO
   Paleta de marca intacta. Todo lo demás reconstruido sobre una escala
   consistente de espaciado, tipografía, radios y sombras.
   ========================================================================= */

:root {
  /* --- Marca (sin cambios) --- */
  --eg-blue:      #0C51F4;
  --eg-dark:      #00164A;
  --eg-mid:       #002170;
  --eg-white:     #FFFFFF;
  --eg-bg:        #f4f6fb;
  --eg-border:    #e8eaf2;
  --eg-text:      #101828;
  --eg-muted:     #64748b;
  --eg-light:     #eff6ff;
  --eg-green:     #00a650;

  /* --- Derivados nuevos --- */
  --eg-blue-700:  #0940c4;
  --eg-blue-50:   #eef4ff;
  --eg-blue-100:  #dbe6ff;
  --eg-navy-50:   #f2f5fc;
  --eg-green-50:  #e8f8ef;
  --eg-green-700: #007a3b;
  --eg-amber:     #b45309;
  --eg-amber-50:  #fff7ed;
  --eg-ink-60:    #475467;
  --eg-line-soft: #f0f2f8;

  /* --- Tipografía --- */
  --eg-font:      'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --eg-font-disp: 'Space Grotesk', 'Inter', system-ui, sans-serif;

  --fs-11: 11px;  --fs-12: 12px;  --fs-13: 13px;  --fs-14: 14px;
  --fs-15: 15px;  --fs-16: 16px;  --fs-18: 18px;  --fs-20: 20px;
  --fs-24: 24px;  --fs-30: 30px;

  /* --- Espaciado (base 4) --- */
  --s-1: 4px;   --s-2: 8px;   --s-3: 12px;  --s-4: 16px;  --s-5: 20px;
  --s-6: 24px;  --s-8: 32px;  --s-10: 40px; --s-12: 48px; --s-16: 64px;
  --s-20: 80px;

  /* --- Radios --- */
  --r-xs: 6px; --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 20px; --r-pill: 999px;

  /* --- Sombras --- */
  --sh-1: 0 1px 2px rgba(0,22,74,.05), 0 1px 3px rgba(0,22,74,.04);
  --sh-2: 0 4px 12px rgba(0,22,74,.08), 0 2px 4px rgba(0,22,74,.04);
  --sh-3: 0 12px 32px rgba(0,22,74,.14);
  --sh-4: 0 20px 48px rgba(0,22,74,.20);

  /* --- Layout --- */
  --eg-max: 1280px;
  --eg-gutter: 20px;
  --eg-header-h: 68px;

  --eg-ease: cubic-bezier(.4,0,.2,1);
}

/* =========================================================================
   1. BASE
   ========================================================================= */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--eg-font);
  color: var(--eg-text);
  background: var(--eg-bg);
  font-size: var(--fs-15);
  line-height: 1.5;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg { max-width: 100%; }
img, video { height: auto; }

a { color: var(--eg-blue); text-decoration: none; }
a:hover { color: var(--eg-blue-700); }

h1, h2, h3, h4 {
  font-family: var(--eg-font-disp);
  color: var(--eg-dark);
  letter-spacing: -.02em;
  line-height: 1.15;
  margin: 0;
}

button { font-family: inherit; }

input, select, textarea { font-family: inherit; font-size: max(16px, 1em); }

/* Foco visible y coherente en todo el sitio (accesibilidad). */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--eg-blue);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}

::selection { background: var(--eg-blue-100); color: var(--eg-dark); }

/* =========================================================================
   2. PRIMITIVAS DE LAYOUT
   ========================================================================= */

.eg-container {
  width: 100%;
  max-width: var(--eg-max);
  margin-inline: auto;
  padding-inline: var(--eg-gutter);
}

.eg-section { padding-block: var(--s-12); }
.eg-section--white { background: var(--eg-white); }
.eg-section--gray  { background: var(--eg-bg); }
.eg-section--dark  { background: var(--eg-dark); color: #fff; }
.eg-section--dark .eg-sec-title,
.eg-section--dark h2 { color: #fff; }

.eg-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-4);
  margin-bottom: var(--s-6);
}

.eg-sec-label, .eg-section__label {
  display: block;
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--eg-blue);
  margin: 0 0 var(--s-1);
}

.eg-sec-title, .eg-section__title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  margin: 0;
}

.eg-sec-link {
  flex-shrink: 0;
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--eg-blue);
  white-space: nowrap;
  padding: var(--s-2) 0;
}
.eg-sec-link:hover { text-decoration: underline; }

/* --- Botones --- */
.eg-btn,
.eg-btn-blue, .eg-btn--blue, .eg-btn-white, .eg-btn-ghost, .eg-btn-tienda {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  font-family: var(--eg-font);
  font-size: var(--fs-15);
  font-weight: 600;
  line-height: 1;
  padding: 13px var(--s-6);
  border-radius: var(--r-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .18s var(--eg-ease), color .18s var(--eg-ease),
              border-color .18s var(--eg-ease), transform .12s var(--eg-ease),
              box-shadow .18s var(--eg-ease);
  text-align: center;
}
.eg-btn:active,
.eg-btn-blue:active, .eg-btn-white:active, .eg-btn-ghost:active { transform: translateY(1px); }

.eg-btn-blue, .eg-btn--blue, .eg-btn-tienda {
  background: var(--eg-blue) !important;
  color: #fff !important;
  box-shadow: 0 1px 2px rgba(12,81,244,.24);
}
.eg-btn-blue:hover, .eg-btn--blue:hover, .eg-btn-tienda:hover {
  background: var(--eg-blue-700) !important;
  box-shadow: 0 4px 14px rgba(12,81,244,.28);
}

.eg-btn-white {
  background: #fff;
  color: var(--eg-dark);
  box-shadow: var(--sh-2);
}
.eg-btn-white:hover { background: #fff; color: var(--eg-blue); box-shadow: var(--sh-3); }

.eg-btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.32);
}
.eg-btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); color: #fff; }

/* --- Badges --- */
.eg-badge-green, .eg-badge-blue, .eg-badge-orange, .eg-pago-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-11);
  font-weight: 700;
  line-height: 1;
  padding: 5px 9px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.eg-badge-green  { background: var(--eg-green-50); color: var(--eg-green-700); }
.eg-badge-blue   { background: var(--eg-blue-50);  color: var(--eg-blue); }
.eg-badge-orange { background: var(--eg-amber-50); color: var(--eg-amber); }
.eg-pago-badge   { background: var(--eg-navy-50);  color: var(--eg-ink-60); }

.eg-ico { width: 22px; height: 22px; display: block; }

/* =========================================================================
   3. BARRA DE ANUNCIOS
   ========================================================================= */

.eg-ann-bar {
  background: var(--eg-dark);
  color: #fff;
  height: 34px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.eg-ann-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: eg-scroll 26s linear infinite;
  will-change: transform;
}
.eg-ann-item {
  display: inline-flex;
  align-items: center;
  font-size: var(--fs-12);
  font-weight: 500;
  letter-spacing: .01em;
  color: rgba(255,255,255,.92);
  padding-inline: var(--s-6);
  position: relative;
}
.eg-ann-item::after {
  content: '';
  position: absolute;
  right: -3px;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,.34);
}
@keyframes eg-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .eg-ann-track { animation: none; }
}

/* =========================================================================
   4. HEADER
   ========================================================================= */

.eg-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid var(--eg-border);
  transition: box-shadow .2s var(--eg-ease);
}
.eg-header.is-stuck { box-shadow: var(--sh-2); }
.admin-bar .eg-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .eg-header { top: 46px; } }

.eg-header__inner {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  height: var(--eg-header-h);
  max-width: var(--eg-max);
  margin-inline: auto;
  padding-inline: var(--eg-gutter);
}

/* --- Logo --- */
.eg-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  flex-shrink: 0;
  color: var(--eg-dark);
}
.eg-logo:hover { color: var(--eg-dark); }
.eg-logo__icon {
  width: 34px; height: 34px;
  border-radius: var(--r-sm);
  object-fit: cover;
  display: block;
}
.eg-logo__text {
  font-family: var(--eg-font-disp);
  font-size: var(--fs-20);
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--eg-dark);
  white-space: nowrap;
}
.eg-logo__text strong { color: var(--eg-blue); font-weight: 700; }

/* --- Buscador real (reemplaza el window.prompt del tema viejo) --- */
.eg-search {
  position: relative;
  flex: 1 1 auto;
  max-width: 620px;
  margin-inline: auto;
}
.eg-search__field {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  height: 42px;
  background: var(--eg-navy-50);
  border: 1px solid var(--eg-border);
  border-radius: var(--r-md);
  padding-left: var(--s-3);
  overflow: hidden;
  transition: border-color .18s var(--eg-ease), background .18s var(--eg-ease),
              box-shadow .18s var(--eg-ease);
}
.eg-search:focus-within .eg-search__field {
  background: #fff;
  border-color: var(--eg-blue);
  box-shadow: 0 0 0 3px var(--eg-blue-50);
}
.eg-search__ico { color: var(--eg-muted); flex-shrink: 0; }
.eg-search__input {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: var(--fs-14);
  color: var(--eg-text);
  padding: 0;
  min-width: 0;
  height: 100%;
}
.eg-search__input:focus { outline: none; }
.eg-search__input::placeholder { color: var(--eg-muted); }
.eg-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.eg-search__btn {
  flex-shrink: 0;
  align-self: stretch;
  border: 0;
  background: var(--eg-blue);
  color: #fff;
  font-size: var(--fs-14);
  font-weight: 600;
  padding-inline: var(--s-5);
  cursor: pointer;
  transition: background .18s var(--eg-ease);
}
.eg-search__btn:hover { background: var(--eg-blue-700); }

/* Panel de sugerencias */
.eg-search__panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--eg-border);
  border-radius: var(--r-md);
  box-shadow: var(--sh-3);
  overflow: hidden;
  z-index: 1200;
  max-height: min(70vh, 460px);
  overflow-y: auto;
}
.eg-search__panel[hidden] { display: none; }
.eg-sugg {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-2) var(--s-3);
  border-bottom: 1px solid var(--eg-line-soft);
  color: var(--eg-text);
}
.eg-sugg:last-of-type { border-bottom: 0; }
.eg-sugg:hover, .eg-sugg.is-active { background: var(--eg-blue-50); color: var(--eg-text); }
.eg-sugg__img {
  width: 44px; height: 44px;
  flex-shrink: 0;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--eg-line-soft);
  border-radius: var(--r-xs);
}
.eg-sugg__body { min-width: 0; flex: 1; }
.eg-sugg__name {
  display: block;
  font-size: var(--fs-13);
  font-weight: 500;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.eg-sugg__price {
  display: block;
  font-size: var(--fs-14);
  font-weight: 700;
  color: var(--eg-dark);
  margin-top: 2px;
}
.eg-sugg__all {
  display: block;
  text-align: center;
  padding: var(--s-3);
  font-size: var(--fs-13);
  font-weight: 600;
  color: var(--eg-blue);
  background: var(--eg-navy-50);
}
.eg-sugg__all:hover { background: var(--eg-blue-50); }
.eg-search__empty {
  padding: var(--s-5) var(--s-4);
  text-align: center;
  font-size: var(--fs-13);
  color: var(--eg-muted);
}

/* --- Acciones del header --- */
.eg-header__right, .eg-header__actions {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  flex-shrink: 0;
  margin-left: auto;
}

.eg-hact {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  height: 40px;
  padding-inline: var(--s-3);
  border-radius: var(--r-md);
  font-size: var(--fs-13);
  font-weight: 600;
  color: var(--eg-dark);
  white-space: nowrap;
  transition: background .18s var(--eg-ease), color .18s var(--eg-ease);
}
.eg-hact:hover { background: var(--eg-navy-50); color: var(--eg-blue); }
.eg-hact svg { flex-shrink: 0; }

.eg-hact--wa {
  background: var(--eg-green);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0,166,80,.24);
}
.eg-hact--wa:hover { background: var(--eg-green-700); color: #fff; }

/* --- Carrito con contador --- */
.eg-cart-wrap { position: relative; display: inline-flex; }
.eg-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  color: var(--eg-dark);
  background: var(--eg-navy-50);
  transition: background .18s var(--eg-ease), color .18s var(--eg-ease);
}
.eg-cart-btn:hover { background: var(--eg-blue-50); color: var(--eg-blue); }
.eg-cart-count {
  position: absolute;
  top: -5px; right: -6px;
  min-width: 19px; height: 19px;
  background: var(--eg-blue);
  color: #fff;
  border: 2px solid #fff;
  border-radius: var(--r-pill);
  font-family: var(--eg-font);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 4px;
  pointer-events: none;
}
.eg-cart-empty-c { display: none; }

/* --- Barra de categorías (2ª fila, estilo marketplace) --- */
.eg-catbar {
  border-top: 1px solid var(--eg-line-soft);
  background: #fff;
}
.eg-catbar__inner {
  display: flex;
  align-items: center;
  gap: var(--s-1);
  height: 44px;
  overflow-x: auto;
  scrollbar-width: none;
}
.eg-catbar__inner::-webkit-scrollbar { display: none; }
.eg-catbar__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px var(--s-3);
  border-radius: var(--r-sm);
  font-size: var(--fs-13);
  font-weight: 500;
  color: var(--eg-ink-60);
  white-space: nowrap;
  transition: background .18s var(--eg-ease), color .18s var(--eg-ease);
}
.eg-catbar__link:hover { background: var(--eg-navy-50); color: var(--eg-blue); }
.eg-catbar__link--accent { color: var(--eg-green-700); font-weight: 600; }
.eg-catbar__link--accent:hover { background: var(--eg-green-50); color: var(--eg-green-700); }
.eg-catbar__sep {
  width: 1px; height: 18px;
  background: var(--eg-border);
  margin-inline: var(--s-2);
  flex-shrink: 0;
}
.eg-catbar__spacer { margin-left: auto; }

/* --- Hamburguesa --- */
.eg-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: 0;
  border-radius: var(--r-md);
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
.eg-hamburger:hover { background: var(--eg-navy-50); }
.eg-hamburger__bar {
  display: block;
  width: 20px; height: 2px;
  background: var(--eg-dark);
  border-radius: 2px;
  transition: transform .3s var(--eg-ease), opacity .3s var(--eg-ease);
}
.eg-hamburger.is-open .eg-hamburger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.eg-hamburger.is-open .eg-hamburger__bar:nth-child(2) { opacity: 0; }
.eg-hamburger.is-open .eg-hamburger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================================
   5. MENÚ MOBILE
   ========================================================================= */

.eg-mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: min(330px, 88vw);
  height: 100%;
  background: #fff;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-110%);
  transition: transform .3s var(--eg-ease), opacity .3s var(--eg-ease), visibility 0s linear .3s;
  box-shadow: var(--sh-4);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.eg-mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition: transform .3s var(--eg-ease), opacity .3s var(--eg-ease), visibility 0s linear 0s;
}
.eg-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,22,74,.55);
  z-index: 99998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--eg-ease);
}
.eg-mobile-overlay.is-open { opacity: 1; pointer-events: auto; }

.eg-mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-4) var(--s-5);
  border-bottom: 1px solid var(--eg-line-soft);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.eg-mobile-menu__close {
  background: none;
  border: 0;
  cursor: pointer;
  padding: var(--s-2);
  color: var(--eg-dark);
  border-radius: var(--r-sm);
}
.eg-mobile-menu__close:hover { background: var(--eg-navy-50); }

.eg-mobile-nav { flex: 1; padding-block: var(--s-2); }
.eg-mobile-nav__list { list-style: none; margin: 0; padding: 0; }
.eg-mobile-nav__link, .eg-mobile-nav__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--s-4) var(--s-6);
  font-family: var(--eg-font);
  font-size: var(--fs-16);
  font-weight: 600;
  color: var(--eg-dark);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--eg-line-soft);
  cursor: pointer;
  text-align: left;
}
.eg-mobile-nav__link:hover, .eg-mobile-nav__toggle:hover { background: var(--eg-navy-50); }
.eg-mobile-nav__arrow { transition: transform .25s var(--eg-ease); flex-shrink: 0; }
.eg-mobile-nav__item--has-sub.is-open .eg-mobile-nav__arrow { transform: rotate(180deg); }
.eg-mobile-nav__sub {
  list-style: none;
  margin: 0; padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s var(--eg-ease);
  background: var(--eg-navy-50);
}
.eg-mobile-nav__item--has-sub.is-open .eg-mobile-nav__sub { max-height: 420px; }
.eg-mobile-nav__sublink {
  display: block;
  padding: var(--s-3) var(--s-8);
  font-size: var(--fs-14);
  font-weight: 500;
  color: var(--eg-mid);
  border-bottom: 1px solid #edf0ff;
}
.eg-mobile-nav__sublink--all { color: var(--eg-blue); font-weight: 700; }

.eg-mobile-menu__footer {
  padding: var(--s-5) var(--s-6) var(--s-8);
  border-top: 1px solid var(--eg-line-soft);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.eg-mobile-menu__wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  background: var(--eg-green);
  color: #fff;
  padding: var(--s-3) var(--s-5);
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: var(--fs-14);
}
.eg-mobile-menu__wa:hover { background: var(--eg-green-700); color: #fff; }
.eg-mobile-menu__shop {
  display: block;
  text-align: center;
  padding: var(--s-3);
  color: var(--eg-blue);
  font-weight: 600;
  font-size: var(--fs-14);
  border: 1px solid var(--eg-blue);
  border-radius: var(--r-md);
}
.eg-mobile-menu__shop:hover { background: var(--eg-blue-50); }

/* =========================================================================
   6. HERO
   ========================================================================= */

.eg-hero {
  background: linear-gradient(135deg, var(--eg-dark) 0%, var(--eg-mid) 100%);
  color: #fff;
  padding-block: var(--s-12);
  position: relative;
  overflow: hidden;
}
.eg-hero::after {
  content: '';
  position: absolute;
  top: -30%; right: -8%;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(12,81,244,.35) 0%, transparent 68%);
  pointer-events: none;
}
.eg-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--eg-max);
  margin-inline: auto;
  padding-inline: var(--eg-gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: var(--s-10);
}
.eg-hero__content { min-width: 0; }

.eg-hero__chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-pill);
  padding: 6px var(--s-4);
  font-size: var(--fs-12);
  font-weight: 500;
  color: rgba(255,255,255,.9);
  margin-bottom: var(--s-5);
}
.eg-hero__chip-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74,222,128,.22);
}

.eg-hero__title {
  font-size: clamp(30px, 4.6vw, 50px);
  font-weight: 700;
  color: #fff;
  line-height: 1.06;
  margin: 0 0 var(--s-4);
}
.eg-hero__title .eg-hl { color: #7aa5ff; }

.eg-hero__sub {
  font-size: var(--fs-16);
  line-height: 1.6;
  color: rgba(255,255,255,.76);
  margin: 0 0 var(--s-6);
  max-width: 46ch;
}

.eg-hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }

.eg-hero__stats {
  display: flex;
  gap: var(--s-8);
  margin-top: var(--s-8);
  padding-top: var(--s-6);
  border-top: 1px solid rgba(255,255,255,.14);
}
.eg-hero__stats > div { display: flex; flex-direction: column; gap: 2px; }
.eg-stat__number {
  font-family: var(--eg-font-disp);
  font-size: var(--fs-24);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.eg-stat__label {
  font-size: var(--fs-11);
  font-weight: 600;
  letter-spacing: .08em;
  color: rgba(255,255,255,.55);
}

.eg-hero__img {
  display: flex;
  min-width: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--sh-4);
  aspect-ratio: 4 / 3;
}
.eg-hero__img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: var(--s-6);
  text-align: center;
  font-size: var(--fs-13);
  color: var(--eg-muted);
  background: var(--eg-bg);
}

/* --- Carrusel --- */
.eg-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 300px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
}
.eg-carousel__track { position: relative; width: 100%; height: 100%; }
.eg-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .55s var(--eg-ease);
  display: flex;
  align-items: center;
  justify-content: center;
}
.eg-carousel__slide--active { opacity: 1; z-index: 1; }
.eg-carousel__media { width: 100%; height: 100%; object-fit: cover; }
.eg-carousel__link { position: absolute; inset: 0; display: block; line-height: 0; }
.eg-carousel__link .eg-carousel__media { width: 100%; height: 100%; box-sizing: border-box; }
.eg-carousel__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: var(--s-6) var(--s-4) var(--s-3);
  font-size: var(--fs-13);
  font-weight: 600;
  color: var(--eg-dark);
  text-align: center;
  background: linear-gradient(to top, rgba(255,255,255,.97) 40%, rgba(255,255,255,0));
  line-height: 1.3;
}
.eg-carousel__prev, .eg-carousel__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--eg-border);
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--eg-dark);
  box-shadow: var(--sh-1);
  transition: background .18s var(--eg-ease), transform .18s var(--eg-ease);
}
.eg-carousel__prev:hover, .eg-carousel__next:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.eg-carousel__prev { left: var(--s-3); }
.eg-carousel__next { right: var(--s-3); }
.eg-carousel__dots {
  position: absolute;
  bottom: var(--s-2);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 6px;
}
.eg-carousel__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(0,22,74,.22);
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: background .2s var(--eg-ease), transform .2s var(--eg-ease);
}
.eg-carousel__dot--active { background: var(--eg-blue); transform: scale(1.35); }

/* --- Franja de oferta: solo mobile (ver bloque responsive) --- */
.eg-offer-strip { display: none; }

/* =========================================================================
   7. BANNER SLIDER (home)
   ========================================================================= */

.eg-bslider-sec { background: var(--eg-bg); padding-block: var(--s-4) 0; }
.eg-bslider {
  position: relative;
  max-width: var(--eg-max);
  margin-inline: auto;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--sh-1);
}
.eg-bslider__track { position: relative; display: flex; }
.eg-bslide { min-width: 100%; display: block; line-height: 0; }
.eg-bslide img, .eg-bslide video { width: 100%; height: auto; display: block; }
.eg-bslider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--eg-border);
  background: rgba(255,255,255,.92);
  color: var(--eg-dark);
  font-size: var(--fs-18);
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sh-1);
  transition: background .18s var(--eg-ease);
}
.eg-bslider__arrow:hover { background: #fff; }
.eg-bslider__prev { left: var(--s-3); }
.eg-bslider__next { right: var(--s-3); }
.eg-bslider__dots {
  position: absolute;
  bottom: var(--s-3);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 6px;
}
.eg-bslider__dot {
  width: 8px; height: 8px;
  border-radius: var(--r-pill);
  border: 0;
  background: rgba(255,255,255,.6);
  box-shadow: 0 0 0 1px rgba(0,22,74,.14);
  cursor: pointer;
  padding: 0;
  transition: width .2s var(--eg-ease), background .2s var(--eg-ease);
}
.eg-bslider__dot.is-active { width: 22px; background: #fff; }

/* =========================================================================
   8. BANNER ESTÁTICO (fallback si no hay slider cargado)
   ========================================================================= */

.eg-banner-sec { padding-block: var(--s-4) 0; }
.eg-banner-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  background: linear-gradient(120deg, var(--eg-mid) 0%, var(--eg-blue) 100%);
  border-radius: var(--r-lg);
  padding: var(--s-8) var(--s-10);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.eg-banner-tag {
  display: inline-block;
  font-size: var(--fs-11);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  margin-bottom: var(--s-2);
}
.eg-banner-title {
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 var(--s-2);
  line-height: 1.1;
}
.eg-banner-title .eg-hl { color: #9dc0ff; }
.eg-banner-sub { font-size: var(--fs-14); color: rgba(255,255,255,.78); margin: 0 0 var(--s-5); }
.eg-banner-pct {
  font-family: var(--eg-font-disp);
  font-size: clamp(44px, 8vw, 90px);
  font-weight: 700;
  line-height: .9;
  color: #fff;
  text-align: right;
  flex-shrink: 0;
}
.eg-banner-pct span {
  display: block;
  font-size: var(--fs-16);
  font-weight: 600;
  letter-spacing: .18em;
  color: rgba(255,255,255,.6);
}

/* =========================================================================
   9. CATEGORÍAS RÁPIDAS
   ========================================================================= */

.eg-quickcats-sec { background: var(--eg-white); padding-block: var(--s-8); }
.eg-quickcats {
  max-width: var(--eg-max);
  margin-inline: auto;
  padding-inline: var(--eg-gutter);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--s-4);
}
.eg-quickcat {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  background: #fff;
  border: 1px solid var(--eg-border);
  border-radius: var(--r-md);
  color: var(--eg-dark);
  transition: border-color .18s var(--eg-ease), box-shadow .18s var(--eg-ease), transform .18s var(--eg-ease);
}
.eg-quickcat:hover {
  border-color: var(--eg-blue);
  box-shadow: var(--sh-2);
  transform: translateY(-2px);
  color: var(--eg-blue);
}
.eg-quickcat__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: var(--r-md);
  background: var(--eg-blue-50);
  color: var(--eg-blue);
}
.eg-quickcat__name { font-size: var(--fs-15); font-weight: 600; line-height: 1.25; }

/* =========================================================================
   10. TARJETA DE PRODUCTO  (home, archivos, búsqueda)
   ========================================================================= */

.eg-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-4);
}

.eg-product-card,
.woocommerce ul.products li.product {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--eg-border);
  border-radius: var(--r-md);
  overflow: hidden;
  color: var(--eg-text);
  transition: border-color .18s var(--eg-ease), box-shadow .18s var(--eg-ease), transform .18s var(--eg-ease);
  position: relative;
  height: 100%;
}
.eg-product-card:hover,
.woocommerce ul.products li.product:hover {
  border-color: var(--eg-blue-100);
  box-shadow: var(--sh-2);
  transform: translateY(-2px);
  color: var(--eg-text);
}

.eg-product-card__img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-4);
  overflow: hidden;
}
.eg-product-card__img img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform .3s var(--eg-ease);
}
.eg-product-card:hover .eg-product-card__img img { transform: scale(1.04); }

.eg-product-card__badge {
  position: absolute;
  top: var(--s-3); left: var(--s-3);
  z-index: 2;
  background: var(--eg-green);
  color: #fff;
  font-size: var(--fs-11);
  font-weight: 700;
  letter-spacing: .02em;
  padding: 4px 9px;
  border-radius: var(--r-xs);
  line-height: 1;
  text-transform: uppercase;
}

.eg-product-card__noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; height: 100%;
  background: var(--eg-navy-50);
}
.eg-noimg-logo { width: 56px; height: 56px; opacity: .28; border-radius: var(--r-sm); }

.eg-product-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  padding: var(--s-4);
  flex: 1;
}
.eg-product-card__brand {
  font-size: var(--fs-11);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--eg-muted);
}
.eg-product-card__brand:empty { display: none; }

.eg-product-card__name {
  font-family: var(--eg-font);
  font-size: var(--fs-14);
  font-weight: 500;
  line-height: 1.35;
  color: var(--eg-text);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.eg-product-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  font-family: var(--eg-font-disp);
  font-size: var(--fs-20);
  font-weight: 700;
  color: var(--eg-dark);
  line-height: 1.2;
  margin-top: var(--s-1);
}
.eg-product-card__price del {
  flex-basis: 100%;
  order: -1 !important;
  font-family: var(--eg-font);
  font-size: var(--fs-12);
  font-weight: 400;
  color: var(--eg-muted);
  text-decoration: line-through;
}
.eg-product-card__price ins { text-decoration: none; color: var(--eg-dark); }
.eg-product-card__price .woocommerce-Price-currencySymbol { font-size: .78em; font-weight: 600; }

.eg-product-card__installments, .eg-cuotas-note {
  font-size: var(--fs-12);
  font-weight: 600;
  color: var(--eg-green-700);
  line-height: 1.3;
}

.eg-product-card__cta {
  display: block;
  margin-top: auto;
  padding: var(--s-3) var(--s-4);
  border-top: 1px solid var(--eg-line-soft);
  font-size: var(--fs-13);
  font-weight: 600;
  color: var(--eg-blue);
  text-align: center;
  transition: background .18s var(--eg-ease);
}
.eg-product-card:hover .eg-product-card__cta { background: var(--eg-blue-50); }

/* =========================================================================
   11. FILAS DE RECOMENDADOS (scroller horizontal)
   ========================================================================= */

.eg-reco-wrap { background: var(--eg-bg); padding-block: var(--s-8) 0; }
.eg-reco { margin-bottom: var(--s-8); }
.eg-reco[hidden] { display: none; }

.eg-reco__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-4);
  margin-bottom: var(--s-4);
}
.eg-reco__title {
  font-size: var(--fs-18);
  font-weight: 700;
  color: var(--eg-dark);
  margin: 0;
}
.eg-reco__cta { font-size: var(--fs-13); font-weight: 600; color: var(--eg-blue); white-space: nowrap; }
.eg-reco__cta:hover { text-decoration: underline; }

.eg-reco__scroller { position: relative; }
.eg-reco__track {
  display: flex;
  gap: var(--s-3);
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  padding-bottom: var(--s-2);
  scrollbar-width: none;
}
.eg-reco__track::-webkit-scrollbar { display: none; }

.eg-reco__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--eg-border);
  background: #fff;
  color: var(--eg-dark);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sh-2);
  font-size: var(--fs-16);
  line-height: 1;
  transition: background .18s var(--eg-ease);
}
.eg-reco__arrow:hover { background: var(--eg-blue-50); color: var(--eg-blue); }
.eg-reco__prev { left: -14px; }
.eg-reco__next { right: -14px; }
@media (min-width: 900px) { .eg-reco__arrow { display: flex; } }

.eg-rcard {
  flex: 0 0 auto;
  width: 200px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--eg-border);
  border-radius: var(--r-md);
  overflow: hidden;
  color: var(--eg-text);
  position: relative;
  transition: border-color .18s var(--eg-ease), box-shadow .18s var(--eg-ease), transform .18s var(--eg-ease);
}
.eg-rcard:hover {
  border-color: var(--eg-blue-100);
  box-shadow: var(--sh-2);
  transform: translateY(-2px);
  color: var(--eg-text);
}
.eg-rcard__img {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-3);
  background: #fff;
}
.eg-rcard__img img { width: 100%; height: 100%; object-fit: contain; }
.eg-rcard__badge {
  position: absolute;
  top: var(--s-2); left: var(--s-2);
  z-index: 2;
  background: var(--eg-green);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: var(--r-xs);
  line-height: 1;
  text-transform: uppercase;
}
.eg-rcard__body { display: flex; flex-direction: column; gap: 3px; padding: var(--s-3); }
.eg-rcard__name {
  font-size: var(--fs-13);
  font-weight: 500;
  line-height: 1.35;
  color: var(--eg-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.eg-rcard__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  font-family: var(--eg-font-disp);
  font-size: var(--fs-16);
  font-weight: 700;
  color: var(--eg-dark);
}
.eg-rcard__price del { flex-basis: 100%; order: -1 !important; font-family: var(--eg-font); font-size: var(--fs-11); font-weight: 400; color: var(--eg-muted); }
.eg-rcard__price ins { text-decoration: none; }
.eg-rcard__cuotas { font-size: var(--fs-11); font-weight: 600; color: var(--eg-green-700); }

/* =========================================================================
   12. TRUST BAR · MARCAS · CTA FINAL
   ========================================================================= */

.eg-trust { background: #fff; border-block: 1px solid var(--eg-border); padding-block: var(--s-8); }
.eg-trust__inner {
  max-width: var(--eg-max);
  margin-inline: auto;
  padding-inline: var(--eg-gutter);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-6);
}
.eg-trust__item { display: flex; align-items: center; gap: var(--s-3); }
.eg-trust__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: var(--r-md);
  background: var(--eg-blue-50);
  color: var(--eg-blue);
}
.eg-trust__title { display: block; font-size: var(--fs-14); font-weight: 600; color: var(--eg-dark); line-height: 1.3; }
.eg-trust__sub   { display: block; font-size: var(--fs-12); color: var(--eg-muted); line-height: 1.3; }

.eg-brands { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.eg-brand-pill {
  padding: var(--s-2) var(--s-5);
  background: #fff;
  border: 1px solid var(--eg-border);
  border-radius: var(--r-pill);
  font-size: var(--fs-13);
  font-weight: 600;
  color: var(--eg-ink-60);
}

.eg-cta-final { background: var(--eg-dark); padding-block: var(--s-16); }
.eg-cta-final__inner {
  max-width: 680px;
  margin-inline: auto;
  padding-inline: var(--eg-gutter);
  text-align: center;
}
.eg-cta-final__title { font-size: clamp(22px, 3.4vw, 32px); font-weight: 700; color: #fff; margin: 0 0 var(--s-3); }
.eg-cta-final__sub { font-size: var(--fs-15); line-height: 1.6; color: rgba(255,255,255,.7); margin: 0 0 var(--s-6); }
.eg-cta-final__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  background: var(--eg-green);
  color: #fff;
  font-size: var(--fs-15);
  font-weight: 600;
  padding: 14px var(--s-8);
  border-radius: var(--r-md);
  box-shadow: 0 4px 16px rgba(0,166,80,.3);
  transition: background .18s var(--eg-ease), transform .12s var(--eg-ease);
}
.eg-cta-final__btn:hover { background: var(--eg-green-700); color: #fff; }
.eg-cta-final__btn:active { transform: translateY(1px); }

/* =========================================================================
   13. WHATSAPP FLOTANTE
   ========================================================================= */

.eg-whatsapp-float {
  position: fixed;
  right: var(--s-5); bottom: var(--s-5);
  z-index: 900;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,.42);
  transition: transform .18s var(--eg-ease), box-shadow .18s var(--eg-ease);
}
.eg-whatsapp-float:hover { transform: scale(1.07); box-shadow: 0 8px 26px rgba(37,211,102,.5); }

/* =========================================================================
   14. FOOTER
   ========================================================================= */

.eg-footer { background: var(--eg-dark); color: rgba(255,255,255,.7); padding-block: var(--s-16) var(--s-6); }
.eg-footer__inner { max-width: var(--eg-max); margin-inline: auto; padding-inline: var(--eg-gutter); }
.eg-footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--s-10);
  padding-bottom: var(--s-10);
}
.eg-footer__brand { max-width: 340px; }
.eg-footer__logo { display: inline-flex; align-items: center; gap: var(--s-2); margin-bottom: var(--s-4); }
.eg-footer__logo img { width: 32px; height: 32px; border-radius: var(--r-sm); }
.eg-footer__logo span {
  font-family: var(--eg-font-disp);
  font-size: var(--fs-18);
  font-weight: 700;
  color: #fff;
  letter-spacing: -.025em;
}
.eg-footer__logo strong { color: #7aa5ff; font-weight: 700; }
.eg-footer__tagline { font-size: var(--fs-14); line-height: 1.6; color: rgba(255,255,255,.6); margin: 0 0 var(--s-5); }
.eg-footer__wa {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  background: var(--eg-green);
  color: #fff;
  font-size: var(--fs-13);
  font-weight: 600;
  padding: 11px var(--s-5);
  border-radius: var(--r-md);
}
.eg-footer__wa:hover { background: var(--eg-green-700); color: #fff; }

.eg-footer__col-title {
  font-size: var(--fs-11);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
  margin: 0 0 var(--s-4);
}
.eg-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-3); }
.eg-footer__links a { font-size: var(--fs-14); color: rgba(255,255,255,.72); transition: color .18s var(--eg-ease); }
.eg-footer__links a:hover { color: #fff; }

.eg-footer__payments {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding-block: var(--s-5);
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: var(--fs-13);
  color: rgba(255,255,255,.6);
}
.eg-footer__payments svg { color: var(--eg-green); flex-shrink: 0; }
.eg-footer__payments strong { color: rgba(255,255,255,.85); font-weight: 600; }

.eg-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  flex-wrap: wrap;
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: var(--fs-12);
  color: rgba(255,255,255,.42);
}
.eg-footer__bottom a { color: rgba(255,255,255,.42); }
.eg-footer__bottom a:hover { color: rgba(255,255,255,.7); }

/* =========================================================================
   15. TIENDA / ARCHIVOS
   ========================================================================= */

.eg-shop-header { background: #fff; border-bottom: 1px solid var(--eg-border); padding-block: var(--s-8); }
.eg-shop-header__inner { max-width: var(--eg-max); margin-inline: auto; padding-inline: var(--eg-gutter); }
.eg-shop-header__title { font-size: clamp(24px, 3.4vw, 32px); font-weight: 700; margin: 0; }
.eg-shop-header__count { font-size: var(--fs-14); color: var(--eg-muted); margin-top: var(--s-1); }

/* Blocksy fuerza cabeceras de 250px en archivos (.hero-section): se compactan. */
.woocommerce .page-header,
.woocommerce-page .page-header,
.ct-page-title { min-height: 0 !important; padding-block: var(--s-6) !important; }
.woocommerce-page .hero-section,
.post-type-archive-product .hero-section,
.tax-product_cat .hero-section {
  height: auto !important;
  min-height: 0 !important;
  --height: auto;
  padding: 0 !important;
}
.woocommerce-page .hero-section .entry-header,
.post-type-archive-product .hero-section .entry-header,
.tax-product_cat .hero-section .entry-header {
  min-height: 0 !important;
  padding: var(--s-6) 0 !important;
}
.woocommerce-page .hero-section .page-title,
.post-type-archive-product .page-title {
  font-family: var(--eg-font-disp);
  font-size: clamp(24px, 3.4vw, 32px);
  color: var(--eg-dark);
}

/* Banner 16:9 de la tienda (solo se renderiza si hay imagen o video) */
.eg-shop-banner {
  max-width: var(--eg-max);
  margin-inline: auto;
  padding-inline: var(--eg-gutter);
  padding-top: var(--s-6);
}
.eg-shop-banner__inner {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--eg-surface-2, #eef1f8);
  box-shadow: var(--sh-sm);
}
.eg-shop-banner__inner img,
.eg-shop-banner__inner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
a.eg-shop-banner__inner { transition: transform .25s ease, box-shadow .25s ease; }
a.eg-shop-banner__inner:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
@media (max-width: 768px) {
  .eg-shop-banner { padding-top: var(--s-4); }
  .eg-shop-banner__inner { border-radius: var(--r-md); }
  /* con video vertical cargado, el banner pasa a 4:5 (formato que rinde en celular) */
  .eg-shop-banner__inner.has-mobile-video { aspect-ratio: 4 / 5; }
}

.eg-shop-layout {
  display: flex;
  align-items: flex-start;
  gap: var(--s-6);
  max-width: var(--eg-max);
  margin-inline: auto;
  padding-inline: var(--eg-gutter);
  padding-block: var(--s-8);
}
.eg-shop-main { flex: 1; min-width: 0; }

.eg-shop-filters {
  flex: 0 0 250px;
  width: 250px;
  position: sticky;
  top: calc(var(--eg-header-h) + 56px);
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  border: 1px solid var(--eg-border);
  border-radius: var(--r-md);
  padding: var(--s-5);
}
.eg-shop-filters::-webkit-scrollbar { width: 6px; }
.eg-shop-filters::-webkit-scrollbar-thumb { background: var(--eg-border); border-radius: var(--r-pill); }
.eg-shop-filters::-webkit-scrollbar-track { background: transparent; }

.eg-filters-toggle { display: none; }
.eg-filters-inner { display: block; }

/* Resultados + orden */
.woocommerce-result-count {
  font-size: var(--fs-13);
  color: var(--eg-muted);
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
}
.woocommerce-ordering select,
.eg-shop-main select {
  height: 40px;
  border: 1px solid var(--eg-border);
  border-radius: var(--r-md);
  background: #fff;
  font-size: var(--fs-14);
  padding-inline: var(--s-3);
  color: var(--eg-text);
}

/* Grilla de WooCommerce alineada a la de la home */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  padding: 0;
}

/* --- Anatomía de la card Blocksy (figure > título > cuotas > precio > meta > CTA) --- */
.woocommerce ul.products li.product figure {
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1;
  padding: var(--s-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  overflow: hidden;
  order: 0;
}
.woocommerce ul.products li.product figure .ct-media-container { display: flex; width: 100%; height: 100%; }
.woocommerce ul.products li.product figure img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  transition: transform .3s var(--eg-ease);
}
.woocommerce ul.products li.product:hover figure img { transform: scale(1.04); }

.woocommerce ul.products li.product span.onsale {
  position: absolute;
  top: var(--s-3); left: var(--s-3);
  right: auto; bottom: auto;
  z-index: 2;
  margin: 0;
  min-width: 0; min-height: 0;
  background: var(--eg-green);
  color: #fff;
  font-size: var(--fs-11);
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: var(--r-xs);
  line-height: 1.2;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  order: 1;
  font-family: var(--eg-font);
  font-size: var(--fs-14);
  font-weight: 500;
  line-height: 1.35;
  margin: 0;
  padding: var(--s-3) var(--s-4) 0;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title a {
  color: var(--eg-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title a:hover { color: var(--eg-blue); }

.woocommerce ul.products li.product .price {
  order: 2;
  display: block;
  margin: var(--s-1) 0 0;
  padding: 0 var(--s-4);
  color: var(--eg-dark);
}
.woocommerce ul.products li.product .price .sale-price,
.woocommerce ul.products li.product .price > .woocommerce-Price-amount {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.woocommerce ul.products li.product .price del {
  order: -1 !important;
  font-size: var(--fs-12);
  font-weight: 400;
  color: var(--eg-muted);
  opacity: 1;
}
.woocommerce ul.products li.product .price ins,
.woocommerce ul.products li.product .price > .woocommerce-Price-amount {
  font-family: var(--eg-font-disp);
  font-size: var(--fs-20);
  font-weight: 700;
  text-decoration: none;
  background: none;
}

.woocommerce ul.products li.product .eg-cuotas-note {
  order: 3;
  padding: 2px var(--s-4) 0;
}

.woocommerce ul.products li.product .entry-meta { display: none; }

.woocommerce ul.products li.product .ct-woo-card-actions {
  order: 5;
  margin-top: auto;
  padding-top: var(--s-3);
}
.woocommerce ul.products li.product .ct-woo-card-actions .button {
  display: block;
  width: 100%;
  background: #fff !important;
  color: var(--eg-blue) !important;
  border-top: 1px solid var(--eg-line-soft) !important;
  border-radius: 0 !important;
  font-size: var(--fs-13) !important;
  font-weight: 600 !important;
  text-align: center;
  padding: var(--s-3) var(--s-4) !important;
  box-shadow: none !important;
}
.woocommerce ul.products li.product:hover .ct-woo-card-actions .button {
  background: var(--eg-blue-50) !important;
  color: var(--eg-blue-700) !important;
}

/* Filtro por cuotas */
.eg-cuota-filter { margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px solid var(--eg-line-soft); }
.eg-cf-opt {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2) 0;
  font-size: var(--fs-13);
  font-weight: 500;
  color: var(--eg-ink-60);
  cursor: pointer;
}
.eg-cf-opt:hover { color: var(--eg-blue); }
.eg-cf-chk { width: 17px; height: 17px; accent-color: var(--eg-blue); cursor: pointer; flex-shrink: 0; }

/* =========================================================================
   16. FICHA DE PRODUCTO
   ========================================================================= */

.woocommerce-breadcrumb {
  font-size: var(--fs-12);
  color: var(--eg-muted);
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: var(--s-5);
}
.woocommerce-breadcrumb a { color: var(--eg-muted); }
.woocommerce-breadcrumb a:hover { color: var(--eg-blue); }

/* Galería contenida (Blocksy Flexy) */
.single-product .ct-product-gallery-container,
.single-product .flexy-container {
  background: #fff;
  border: 1px solid var(--eg-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  padding: var(--s-4);
}

.single-product .product_title {
  font-family: var(--eg-font-disp);
  font-size: clamp(21px, 2.6vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--eg-dark);
  margin: 0 0 var(--s-3);
}

/* Precio (markup Blocksy: p.price > span.sale-price > del + .eg-off-badge + ins):
   línea 1 = tachado chico + % OFF verde · línea 2 = precio grande */
.single-product .price {
  display: block;
  margin: 0 0 var(--s-4);
  color: var(--eg-dark);
  line-height: 1.15;
}
.single-product .price .sale-price,
.single-product .price > .woocommerce-Price-amount {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: var(--s-2);
}
.single-product .price del {
  order: 1 !important;
  font-family: var(--eg-font);
  font-size: var(--fs-14);
  font-weight: 400;
  color: var(--eg-muted);
  opacity: 1;
  text-decoration: line-through;
}
.single-product .price .eg-off-badge { order: 2 !important; }
.single-product .price ins,
.single-product .price > .woocommerce-Price-amount {
  order: 3 !important;
  flex-basis: 100%;
  text-decoration: none;
  background: none;
  color: var(--eg-dark);
  font-family: var(--eg-font-disp);
  font-size: clamp(28px, 3.4vw, 36px);
  font-weight: 700;
}
.eg-off-badge {
  display: inline-block;
  font-family: var(--eg-font);
  font-size: var(--fs-14);
  font-weight: 700;
  color: var(--eg-green);
}

.woocommerce-product-details__short-description {
  font-size: var(--fs-14);
  line-height: 1.6;
  color: var(--eg-ink-60);
  margin-bottom: var(--s-5);
}
.woocommerce-product-details__short-description::before {
  content: 'Lo que tenés que saber de este producto';
  display: block;
  font-family: var(--eg-font-disp);
  font-size: var(--fs-16);
  font-weight: 700;
  color: var(--eg-dark);
  margin-bottom: var(--s-2);
}

/* Stock */
.eg-stock-title { font-size: var(--fs-15); font-weight: 700; color: var(--eg-dark); }
.eg-stock-qty { font-size: var(--fs-13); color: var(--eg-muted); }
.single-product .stock.in-stock { color: var(--eg-green-700); font-weight: 600; }

/* --- Caja "Elegí cómo pagar" --- */
.eg-pagos-box {
  background: #fff;
  border: 1px solid var(--eg-border);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  margin-bottom: var(--s-5);
  box-shadow: var(--sh-1);
}
.eg-pagos-title {
  font-size: var(--fs-11);
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--eg-muted);
  margin: 0 0 var(--s-3);
}
.eg-cuota-btns { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-2); }
.eg-cuota-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border: 1.5px solid var(--eg-border);
  border-radius: var(--r-md);
  cursor: pointer;
  background: #fff;
  transition: border-color .18s var(--eg-ease), background .18s var(--eg-ease);
}
.eg-cuota-btn:hover { border-color: var(--eg-blue-100); background: var(--eg-navy-50); }
.eg-cuota-btn.eg-selected {
  border-color: var(--eg-blue);
  background: var(--eg-blue-50);
  box-shadow: 0 0 0 3px rgba(12,81,244,.08);
}
.eg-cb-left { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.eg-cb-title { font-size: var(--fs-15); font-weight: 700; color: var(--eg-dark); line-height: 1.25; }
.eg-cb-sub   { font-size: var(--fs-12); color: var(--eg-muted); line-height: 1.3; }
.eg-cb-right { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex-shrink: 0; text-align: right; }
.eg-cb-amount {
  font-family: var(--eg-font-disp);
  font-size: var(--fs-18);
  font-weight: 700;
  color: var(--eg-dark);
  line-height: 1.1;
  white-space: nowrap;
}
.eg-pagos-foot { font-size: var(--fs-12); color: var(--eg-muted); margin: var(--s-3) 0 0; line-height: 1.5; }

/* Banner-CTA "Pagar en X cuotas"
   (markup: .eg-sel-banner > .eg-sel-inner(monto+desc) + .eg-pagar-cta(txt+go) via JS) */
.eg-sel-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  margin-top: var(--s-3);
  padding: var(--s-3) var(--s-5);
  background: var(--eg-blue);
  border-radius: var(--r-md);
  color: #fff;
  cursor: pointer;
  transition: background .18s var(--eg-ease), box-shadow .18s var(--eg-ease);
  box-shadow: 0 2px 8px rgba(12,81,244,.24);
}
.eg-sel-banner:hover { background: var(--eg-blue-700); box-shadow: 0 4px 14px rgba(12,81,244,.3); }
.eg-sel-inner {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  padding: 0;
}
.eg-sel-monto {
  font-family: var(--eg-font-disp);
  font-size: var(--fs-18);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
}
.eg-sel-monto::after { content: '/mes'; font-family: var(--eg-font); font-size: var(--fs-12); font-weight: 500; color: rgba(255,255,255,.75); margin-left: 3px; }
.eg-sel-desc {
  font-size: var(--fs-12);
  color: rgba(255,255,255,.82);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.eg-pagar-cta {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  background: #fff;
  color: var(--eg-blue);
  font-size: var(--fs-14);
  font-weight: 700;
  padding: 10px var(--s-4);
  border-radius: var(--r-sm);
  white-space: nowrap;
}
.eg-pagar-txt { display: none; }
.eg-pagar-go { font-size: var(--fs-14); font-weight: 700; color: var(--eg-blue); }

/* --- Cantidad + botones --- */
.eg-qty-row, .single-product form.cart .quantity {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.eg-qty-label { font-size: var(--fs-14); font-weight: 600; color: var(--eg-dark); }
.single-product form.cart .quantity input.qty,
.eg-qty-row input.qty {
  width: 56px;
  height: 44px;
  text-align: center;
  border: 1px solid var(--eg-border);
  border-radius: var(--r-sm);
  font-size: var(--fs-15);
  font-weight: 600;
  color: var(--eg-dark);
}
.eg-qbtn, .eg-qm, .eg-qp {
  width: 40px; height: 44px;
  border: 1px solid var(--eg-border);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--eg-blue);
  font-size: var(--fs-18);
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .18s var(--eg-ease), border-color .18s var(--eg-ease);
}
.eg-qbtn:hover, .eg-qm:hover, .eg-qp:hover { background: var(--eg-blue-50); border-color: var(--eg-blue-100); }

.single-product form.cart {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.eg-buy-now,
.single-product form.cart button.single_add_to_cart_button {
  width: 100%;
  height: 50px;
  border-radius: var(--r-md);
  font-family: var(--eg-font);
  font-size: var(--fs-15);
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .18s var(--eg-ease), color .18s var(--eg-ease), box-shadow .18s var(--eg-ease);
}
.eg-buy-now {
  background: var(--eg-blue);
  color: #fff;
  box-shadow: 0 2px 8px rgba(12,81,244,.24);
}
.eg-buy-now:hover { background: var(--eg-blue-700); box-shadow: 0 4px 14px rgba(12,81,244,.3); }
.single-product form.cart button.single_add_to_cart_button {
  background: var(--eg-blue-50) !important;
  color: var(--eg-blue) !important;
  border-color: var(--eg-blue-100) !important;
}
.single-product form.cart button.single_add_to_cart_button:hover {
  background: var(--eg-blue-100) !important;
  color: var(--eg-blue-700) !important;
}

/* --- Badges de confianza --- */
.eg-trust-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding-block: var(--s-2);
  font-size: var(--fs-13);
  color: var(--eg-muted);
  line-height: 1.45;
}
.eg-trust-item strong { color: var(--eg-dark); font-weight: 600; }
.eg-trust-item svg { flex-shrink: 0; margin-top: 1px; }

/* Meta (SKU / categoría) */
.single-product .product_meta {
  font-size: var(--fs-12);
  color: var(--eg-muted);
  border-top: 1px solid var(--eg-line-soft);
  padding-top: var(--s-4);
  margin-top: var(--s-5);
}
.single-product .product_meta a { color: var(--eg-muted); }

/* Tabs */
.woocommerce-tabs ul.tabs {
  display: flex;
  gap: var(--s-1);
  border-bottom: 1px solid var(--eg-border);
  padding: 0 !important;
  margin: 0 0 var(--s-6) !important;
  list-style: none;
}
.woocommerce-tabs ul.tabs::before { display: none !important; }
.woocommerce-tabs ul.tabs li {
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.woocommerce-tabs ul.tabs li a {
  display: block;
  padding: var(--s-3) var(--s-5) !important;
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--eg-muted) !important;
  border-bottom: 2px solid transparent;
}
.woocommerce-tabs ul.tabs li.active a { color: var(--eg-blue) !important; border-bottom-color: var(--eg-blue); }

/* --- Ajustes al markup real de Blocksy en la ficha --- */

/* El banner tiene nodos de texto sueltos ("Pagarás", "·"): se anulan con font-size 0 */
.eg-sel-inner { font-size: 0; }
.eg-sel-inner > * { font-size: var(--fs-12); }
.eg-sel-inner .eg-sel-monto { font-size: var(--fs-18); }
.eg-sel-inner .eg-sel-desc { font-size: var(--fs-12); }

/* form.cart > .ct-cart-actions contiene cantidad + botones: orden Cantidad → Comprar → Añadir */
.single-product form.cart .ct-cart-actions {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.single-product form.cart .ct-cart-actions .eg-qty-row { order: 1; }
.single-product form.cart .ct-cart-actions .eg-buy-now { order: 2; }
.single-product form.cart .ct-cart-actions .single_add_to_cart_button { order: 3; }

.eg-buy-now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Spinners de cantidad de Blocksy (span.ct-increase / span.ct-decrease) */
.single-product form.cart .quantity {
  display: flex;
  align-items: center;
  gap: var(--s-2);
}
.single-product form.cart .quantity .ct-decrease,
.single-product form.cart .quantity .ct-increase {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 44px;
  border: 1px solid var(--eg-border);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--eg-blue);
  font-size: var(--fs-18);
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  transition: background .18s var(--eg-ease), border-color .18s var(--eg-ease);
}
.single-product form.cart .quantity .ct-decrease:hover,
.single-product form.cart .quantity .ct-increase:hover { background: var(--eg-blue-50); border-color: var(--eg-blue-100); }
.single-product form.cart .quantity .ct-decrease::before { content: '−'; }
.single-product form.cart .quantity .ct-increase::before { content: '+'; }
.single-product form.cart .quantity .ct-decrease { order: 1; }
.single-product form.cart .quantity input.qty { order: 2; }
.single-product form.cart .quantity .ct-increase { order: 3; }

/* El bloque de confianza de la ficha reusa la clase .eg-trust (div generado por JS):
   anular el estilo de sección de la home y acotar los SVG sin width */
.single-product .eg-trust {
  background: none;
  border: 0;
  padding: var(--s-4) 0 0;
  margin-top: var(--s-4);
  border-top: 1px solid var(--eg-line-soft);
}
.single-product .eg-trust .eg-trust-item svg,
.eg-trust-item svg { width: 20px; height: 20px; flex-shrink: 0; }

.eg-stock-title { margin-right: var(--s-2); }

/* Calculadora de envío (pisol): link secundario, no botón gigante */
.single-product a.pisol-shipping-calculator-button {
  background: transparent !important;
  color: var(--eg-blue) !important;
  border: 1px dashed var(--eg-blue-100) !important;
  box-shadow: none !important;
  border-radius: var(--r-sm) !important;
  font-size: var(--fs-13) !important;
  font-weight: 600 !important;
  padding: 9px var(--s-4) !important;
  display: inline-flex;
  width: auto;
}
.single-product a.pisol-shipping-calculator-button:hover { background: var(--eg-blue-50) !important; }

/* --- Barra de compra fija (mobile) --- */
.eg-sticky-buy {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 950;
  display: none;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  padding-bottom: calc(var(--s-3) + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-top: 1px solid var(--eg-border);
  box-shadow: 0 -4px 20px rgba(0,22,74,.1);
}
body.eg-show-sticky .eg-sticky-buy { display: flex; }
@media (min-width: 961px) { .eg-sticky-buy { display: none !important; } }
.eg-sb-info { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.eg-sb-price { font-family: var(--eg-font-disp); font-size: var(--fs-18); font-weight: 700; color: var(--eg-dark); line-height: 1.1; }
.eg-sb-sub { font-size: var(--fs-11); color: var(--eg-green-700); font-weight: 600; }
.eg-sb-btn {
  flex-shrink: 0;
  height: 46px;
  padding-inline: var(--s-6);
  border-radius: var(--r-md);
  background: var(--eg-blue);
  color: #fff;
  font-size: var(--fs-14);
  font-weight: 600;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.eg-sb-btn:hover { background: var(--eg-blue-700); color: #fff; }
body.eg-show-sticky .eg-whatsapp-float { bottom: 86px; }

/* =========================================================================
   17. CARRITO / CHECKOUT
   ========================================================================= */

.eg-cart-empty { text-align: center; padding: var(--s-12) var(--s-5); }
.eg-cart-empty-icon { font-size: 52px; display: block; margin-bottom: var(--s-4); }
.eg-cart-empty h3 { font-size: var(--fs-20); font-weight: 700; margin: 0 0 var(--s-2); }
.eg-cart-empty p { font-size: var(--fs-14); color: var(--eg-muted); margin: 0 0 var(--s-6); }

/* Cantidad editable en el resumen del checkout */
.eg-qty-editor {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  margin-top: var(--s-2);
}
.eg-qty-editor button {
  width: 26px; height: 26px;
  border: 1px solid var(--eg-border);
  border-radius: var(--r-xs);
  background: #fff;
  color: var(--eg-blue);
  font-size: var(--fs-14);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.eg-qty-editor button:hover { background: var(--eg-blue-50); }
.eg-qty-editor .eg-qr {
  width: auto;
  padding-inline: var(--s-2);
  font-size: var(--fs-11);
  font-weight: 500;
  color: var(--eg-muted);
  border-color: transparent;
}
.eg-qty-editor .eg-qr:hover { color: #b42318; background: #fef3f2; }
.eg-qty-editor .eg-qn {
  min-width: 22px;
  text-align: center;
  font-size: var(--fs-13);
  font-weight: 700;
  color: var(--eg-dark);
}

.eg-checkout-trust {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin-top: var(--s-6);
  padding: var(--s-4);
  background: var(--eg-green-50);
  border-radius: var(--r-md);
  font-size: var(--fs-13);
  color: var(--eg-green-700);
}

/* Popup "agregado al carrito" */
.eg-add-popup {
  position: fixed;
  right: var(--s-6); bottom: var(--s-6);
  z-index: 99999;
  background: #fff;
  border: 1px solid var(--eg-border);
  border-radius: var(--r-md);
  padding: var(--s-3) var(--s-4);
  box-shadow: var(--sh-3);
  display: flex;
  align-items: center;
  gap: var(--s-3);
  transform: translateY(16px);
  opacity: 0;
  transition: transform .3s var(--eg-ease), opacity .3s var(--eg-ease);
  pointer-events: none;
  min-width: 240px;
  max-width: 320px;
}
.eg-add-popup.eg-popup-show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.eg-popup-icon { font-size: 20px; flex-shrink: 0; }
.eg-popup-text { display: flex; flex-direction: column; gap: 1px; }
.eg-popup-title { font-size: var(--fs-14); font-weight: 700; color: var(--eg-dark); }
.eg-popup-sub { font-size: var(--fs-12); color: var(--eg-muted); }
.eg-popup-close { margin-left: auto; cursor: pointer; color: var(--eg-muted); font-size: var(--fs-18); flex-shrink: 0; }

/* Botones genéricos de WooCommerce */
.woocommerce .button,
.woocommerce a.button,
.woocommerce button.button {
  background: var(--eg-blue) !important;
  color: #fff !important;
  border-radius: var(--r-md) !important;
  font-family: var(--eg-font) !important;
  font-size: var(--fs-14) !important;
  font-weight: 600 !important;
  padding: 12px var(--s-6) !important;
  line-height: 1.2 !important;
}
.woocommerce .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover { background: var(--eg-blue-700) !important; color: #fff !important; }

.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border-top-color: var(--eg-blue) !important;
  border-radius: var(--r-md);
  font-size: var(--fs-14);
}

/* =========================================================================
   18. MI CUENTA · PUNTOS
   ========================================================================= */

.eg-points-card {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  background: linear-gradient(120deg, var(--eg-mid), var(--eg-blue));
  color: #fff;
  border-radius: var(--r-lg);
  padding: var(--s-5) var(--s-6);
  margin-bottom: var(--s-6);
}
.eg-points-ico { font-size: 28px; flex-shrink: 0; }
.eg-points-body h3 { color: #fff; font-size: var(--fs-16); margin: 0 0 2px; }
.eg-points-body p { margin: 0; font-size: var(--fs-13); color: rgba(255,255,255,.8); }

.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce-MyAccount-navigation li a {
  display: block;
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-sm);
  font-size: var(--fs-14);
  font-weight: 500;
  color: var(--eg-ink-60);
}
.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li a:hover { background: var(--eg-blue-50); color: var(--eg-blue); }

/* =========================================================================
   19. PÁGINAS INTERNAS
   ========================================================================= */

.eg-page-hero, .eg-about-hero {
  background: linear-gradient(135deg, var(--eg-dark), var(--eg-mid));
  color: #fff;
  padding-block: var(--s-16);
}
.eg-page-hero__inner, .eg-about-hero__inner {
  max-width: 848px;
  margin-inline: auto;
  padding-inline: var(--eg-gutter);
}
.eg-page-hero__label {
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin: 0 0 var(--s-2);
}
.eg-page-hero__title, .eg-about-hero__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.eg-about-body {
  max-width: 848px;
  margin-inline: auto;
  padding: var(--s-12) var(--eg-gutter);
  font-size: var(--fs-16);
  line-height: 1.7;
  color: var(--eg-ink-60);
}
.eg-about-body h2 { font-size: var(--fs-24); margin: var(--s-8) 0 var(--s-3); }

.eg-why-us__title { font-size: clamp(20px, 3vw, 26px); margin: 0 0 var(--s-6); }
.eg-why-us__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-4);
}
.eg-why-us__item {
  background: var(--eg-mid);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  color: #fff;
  text-align: center;
}
.eg-why-us__value {
  display: block;
  font-family: var(--eg-font-disp);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  margin-bottom: var(--s-2);
}
.eg-why-us__label { display: block; font-size: var(--fs-13); color: rgba(255,255,255,.72); line-height: 1.4; }

.eg-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-10);
  max-width: var(--eg-max);
  margin-inline: auto;
  padding: var(--s-12) var(--eg-gutter);
  align-items: start;
}
.eg-contact__title { font-size: var(--fs-24); margin: 0 0 var(--s-5); }
.eg-contact__item {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding-block: var(--s-4);
  border-bottom: 1px solid var(--eg-line-soft);
}
.eg-contact__item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: var(--r-md);
  background: var(--eg-blue-50);
  color: var(--eg-blue);
}
.eg-contact__item-label { display: block; font-size: var(--fs-12); color: var(--eg-muted); }
.eg-contact__item-val { display: block; font-size: var(--fs-15); font-weight: 600; color: var(--eg-dark); }
.eg-contact__wa-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-top: var(--s-5);
  background: var(--eg-green);
  color: #fff;
  font-size: var(--fs-14);
  font-weight: 600;
  padding: 12px var(--s-6);
  border-radius: var(--r-md);
}
.eg-contact__wa-btn:hover { background: var(--eg-green-700); color: #fff; }
.eg-contact__form-box {
  background: #fff;
  border: 1px solid var(--eg-border);
  border-radius: var(--r-lg);
  padding: var(--s-8);
}

/* =========================================================================
   20. FIXES DE PLUGINS (HUSKY/WOOF)
   ========================================================================= */

.woof_container_inner select.woof_select,
.woof_redraw_zone select {
  width: 100%;
  height: 40px;
  border: 1px solid var(--eg-border) !important;
  border-radius: var(--r-sm) !important;
  font-size: var(--fs-13);
  background: #fff;
  color: var(--eg-text);
  padding-inline: var(--s-2);
}
.woof_container { margin-bottom: var(--s-5) !important; }
.woof_container h4, .woof_container .woof_container_inner > h4 {
  font-size: var(--fs-11) !important;
  font-weight: 700 !important;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--eg-muted) !important;
  margin: 0 0 var(--s-3) !important;
}
.woof_list, .woof_list_checkbox { list-style: none; margin: 0; padding: 0; }
.woof_list li, .woof_list_checkbox li { padding-block: 5px; font-size: var(--fs-13); }
.woof_childs_list_opener { display: none !important; }
.woof_price_search_container .irs-bar,
.woof_price_search_container .irs-slider { background: var(--eg-blue) !important; }
.woof_submit_search_form_container { display: none !important; }

/* =========================================================================
   21. RESPONSIVE
   ========================================================================= */

@media (max-width: 1100px) {
  .eg-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eg-shop-filters { flex-basis: 220px; width: 220px; }
}

@media (max-width: 960px) {
  .eg-hero__inner { grid-template-columns: 1fr; gap: var(--s-8); }
  .eg-hero__img { aspect-ratio: 16 / 10; }
  .eg-footer__top { grid-template-columns: 1fr 1fr; gap: var(--s-8); }
  .eg-footer__brand { grid-column: 1 / -1; max-width: none; }
  .eg-trust__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eg-contact-layout { grid-template-columns: 1fr; gap: var(--s-8); }
}

@media (max-width: 860px) {
  /* Header: hamburguesa + logo + carrito arriba, buscador en su propia fila */
  .eg-hamburger { display: flex; }
  .eg-catbar { display: none; }
  .eg-header__inner { flex-wrap: wrap; height: auto; padding-block: var(--s-3); gap: var(--s-3); }
  .eg-search { order: 3; flex-basis: 100%; max-width: none; margin: 0; }
  .eg-hact--desktop, .eg-header-btn--desktop { display: none; }
  .eg-search__btn { padding-inline: var(--s-4); }
}

@media (max-width: 768px) {
  :root { --eg-gutter: 16px; }

  .eg-section { padding-block: var(--s-8); }
  .eg-sec-head { align-items: flex-start; }

  .eg-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
  .eg-quickcats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); }
  .eg-quickcat { flex-direction: column; text-align: center; gap: var(--s-2); padding: var(--s-4) var(--s-2); }
  .eg-quickcat__icon { width: 38px; height: 38px; }
  .eg-quickcat__name { font-size: var(--fs-12); }

  /* Hero mobile: carrusel arriba, franja de oferta como borde superior */
  .eg-hero { padding-block: var(--s-6) var(--s-8); }
  .eg-hero__inner { display: flex; flex-direction: column; align-items: stretch; gap: var(--s-6); }
  .eg-hero__content { order: 1; }
  .eg-hero__stats { gap: var(--s-6); margin-top: var(--s-6); padding-top: var(--s-5); }
  .eg-carousel { min-height: 240px; }

  .eg-offer-strip {
    display: flex;
    order: -2;
    align-items: center;
    gap: var(--s-2);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-bottom: -20px;
    padding: 10px var(--s-3) 24px;
    background: linear-gradient(120deg, var(--eg-mid), var(--eg-blue));
    border-radius: var(--r-md) var(--r-md) 0 0;
    color: #fff;
  }
  .eg-os-tag {
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: rgba(255,255,255,.18);
    padding: 3px 7px;
    border-radius: var(--r-xs);
  }
  .eg-os-title {
    flex: 1;
    min-width: 0;
    font-size: var(--fs-12);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .eg-os-go { flex-shrink: 0; font-size: var(--fs-14); }

  .eg-hero__img { order: -1; width: 100%; aspect-ratio: 1 / 1; border-radius: 0 0 var(--r-md) var(--r-md); }
  body.eg-has-bslider .eg-offer-strip { display: none; }
  body.eg-has-bslider .eg-hero__img { border-radius: var(--r-md); }

  /* Banner estático: en mobile lo reemplaza la franja de oferta */
  .eg-banner-sec { display: none; }

  /* Tienda: filtros como panel plegable */
  .eg-shop-layout { flex-direction: column; padding-block: var(--s-5); }
  .eg-shop-filters {
    position: static;
    width: 100%;
    flex-basis: auto;
    max-height: none;
    overflow-y: visible;
    padding: var(--s-4);
  }
  .eg-filters-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: 0;
    padding: 0;
    font-family: var(--eg-font);
    font-size: var(--fs-14);
    font-weight: 700;
    color: var(--eg-dark);
    cursor: pointer;
  }
  .eg-shop-filters .eg-filters-inner { display: none; padding-top: var(--s-4); }
  .eg-shop-filters.is-open .eg-filters-inner { display: block; }

  .eg-trust__inner { grid-template-columns: 1fr; gap: var(--s-4); }
  .eg-why-us__grid { grid-template-columns: 1fr; }
  .eg-footer { padding-block: var(--s-10) var(--s-5); }
  .eg-footer__top { grid-template-columns: 1fr; gap: var(--s-6); }
  .eg-footer__bottom { flex-direction: column; align-items: flex-start; gap: var(--s-2); }

  .eg-rcard { width: 160px; }
  .eg-reco-wrap { padding-block: var(--s-6) 0; }

  .eg-cta-final { padding-block: var(--s-12); }
  .eg-whatsapp-float { right: var(--s-4); bottom: var(--s-4); width: 50px; height: 50px; }
}

@media (max-width: 420px) {
  .eg-logo__text { font-size: var(--fs-16); }
  .eg-search__btn { display: none; }
  .eg-hero__stats { gap: var(--s-4); }
  .eg-stat__number { font-size: var(--fs-20); }
}

/* Impresión: sin adornos */
@media print {
  .eg-header, .eg-ann-bar, .eg-footer, .eg-whatsapp-float, .eg-sticky-buy, .eg-mobile-menu { display: none !important; }
}
