/*
Theme Name:  ElectroA V2
Theme URI:   https://www.electroamazingperu.com
Author:      Publika2
Author URI:  https://www.publika2.com
Description: Tema personalizado para Electro Amazing SAC. E-commerce con soporte WooCommerce.
Version:     7.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: electroa
Tags:        e-commerce, woocommerce, electronics, custom-colors, full-width-template, sticky-post

WooCommerce:             true
WooCommerce:             true
WC requires at least:    8.0
WC tested up to:         9.0
*/

/* =====================================================
   VARIABLES & TOKENS
===================================================== */
:root {
  --primary:    #4A6CF7;
  --primary-dk: #3730A3;
  --primary-lt: #EEF2FF;
  --green:      #10B981;
  --green-lt:   #ECFDF5;
  --gray-50:    #F9FAFB;
  --gray-100:   #F3F4F6;
  --gray-200:   #E5E7EB;
  --gray-300:   #D1D5DB;
  --gray-400:   #9CA3AF;
  --gray-500:   #6B7280;
  --gray-600:   #4B5563;
  --gray-700:   #374151;
  --gray-800:   #1F2937;
  --gray-900:   #111827;
  --white:      #ffffff;
  --red:        #EF4444;
  --wa:         #25D366;
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  20px;
  --radius-2xl: 24px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg:  0 8px 24px rgba(0,0,0,0.12);
  --max-w:      1280px;
  --font:       'Space Grotesk', sans-serif;
}

/* =====================================================
   RESET & BASE
===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--gray-50);
  color: var(--gray-900);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dk); }
img { max-width: 100%; height: auto; display: block; }
input, select, textarea, button { font-family: var(--font); }

/* =====================================================
   TOPBAR
===================================================== */
.ea-topbar {
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  padding: 8px 24px;
}
.ea-topbar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.ea-topbar__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* =====================================================
   HEADER
===================================================== */
.ea-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}
.ea-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.ea-header__left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.ea-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.ea-cats-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-100);
  border: none;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  color: var(--gray-800);
  cursor: pointer;
  transition: background .2s;
}
.ea-cats-btn:hover { background: var(--gray-200); }

/* SEARCH */
.ea-search {
  position: relative;
  flex-grow: 1;
  max-width: 420px;
}
.ea-search input {
  width: 100%;
  padding: 10px 40px 10px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 9999px;
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
}
.ea-search input:focus { border-color: var(--primary); }
.ea-search__icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: 14px;
  pointer-events: none;
}
/* Lupa clicable (V7) */
.ea-search__btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--gray-400);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
}
.ea-search__btn:hover,
.ea-search__btn:focus-visible { background: var(--primary); color: var(--white); outline: none; }

/* NAV */
.ea-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
}
.ea-nav a {
  color: var(--gray-700);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.ea-nav a:hover,
.ea-nav a.active { color: var(--primary); border-bottom-color: var(--primary); }
.ea-nav a.offers { color: var(--green); }

/* HEADER ACTIONS */
.ea-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.ea-icon-btn {
  background: none;
  border: none;
  color: var(--gray-600);
  font-size: 20px;
  cursor: pointer;
  position: relative;
  padding: 4px;
}
.ea-cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--primary);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ea-mobile-toggle { display: none; }

/* =====================================================
   DRAWERS (overlay + panel)
===================================================== */
.ea-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  cursor: pointer;
}
.ea-overlay.active { display: block; }

.ea-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  background: var(--white);
  z-index: 210;
  overflow-y: auto;
  transition: transform .3s ease;
}
.ea-drawer--left { left: 0; width: 320px; max-width: 85vw; transform: translateX(-110%); }
.ea-drawer--right { right: 0; width: 400px; max-width: 100vw; transform: translateX(110%); display: flex; flex-direction: column; }
.ea-drawer.open { transform: translateX(0); }

.ea-drawer__head {
  padding: 16px;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ea-drawer__head h2 { font-size: 18px; font-weight: 700; margin: 0; display: flex; align-items: center; gap: 8px; }
.ea-drawer__close { background: none; border: none; font-size: 20px; color: var(--gray-500); cursor: pointer; }

/* MOBILE MENU DRAWER */
.ea-mobile-menu__footer {
  margin-top: auto;
  padding: 16px;
  border-top: 1px solid var(--gray-100);
  background: var(--gray-50);
}
.ea-mobile-menu__nav {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 500;
  font-size: 15px;
}
.ea-mobile-menu__nav a {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 6px;
}
.ea-mobile-menu__nav a.active {
  background: var(--primary-lt);
  color: var(--primary);
}
.ea-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background: var(--wa);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(37,211,102,0.35);
  margin-bottom: 16px;
}
.ea-social-row { display: flex; justify-content: center; gap: 12px; }
.ea-social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CART DRAWER */
.ea-cart-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ea-cart-item {
  display: flex;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  position: relative;
}
.ea-cart-item__img {
  width: 72px;
  height: 72px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  overflow: hidden;
}
.ea-cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.ea-cart-item__info { flex-grow: 1; }
.ea-cart-item__name { font-size: 14px; font-weight: 700; margin: 0 0 2px; padding-right: 20px; }
.ea-cart-item__cat { font-size: 12px; color: var(--gray-500); margin: 0 0 8px; }
.ea-cart-item__bottom { display: flex; justify-content: space-between; align-items: center; }
.ea-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
}
.ea-qty button {
  padding: 4px 10px;
  background: none;
  border: none;
  color: var(--gray-600);
  cursor: pointer;
}
.ea-qty span { padding: 4px 8px; font-size: 14px; font-weight: 500; }
.ea-cart-price { font-weight: 700; color: var(--primary); }
.ea-cart-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
}
.ea-cart-footer {
  padding: 16px;
  border-top: 1px solid var(--gray-100);
  background: var(--gray-50);
}
.ea-cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.ea-cart-subtotal__label { color: var(--gray-600); font-weight: 500; }
.ea-cart-subtotal__val { font-size: 20px; font-weight: 700; }
.ea-cart-actions { display: flex; flex-direction: column; gap: 12px; }
.ea-btn-outline {
  width: 100%;
  padding: 12px;
  background: none;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  text-align: center;
}
.ea-btn-primary {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  text-align: center;
  box-shadow: 0 8px 20px rgba(74,108,247,0.3);
  cursor: pointer;
}
.ea-cart-empty {
  text-align: center;
  color: var(--gray-400);
  padding: 32px 0;
}

/* =====================================================
   WHATSAPP FLOAT
===================================================== */
.ea-wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--wa);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 24px rgba(37,211,102,0.45);
  z-index: 300;
  transition: transform .2s;
}
.ea-wa-float:hover { transform: scale(1.08); color: var(--white); }

/* =====================================================
   FOOTER
===================================================== */
.ea-footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 56px 24px 24px;
}
.ea-footer__inner { max-width: var(--max-w); margin: 0 auto; }
.ea-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.ea-footer__logo img { height: 40px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
.ea-footer__desc { font-size: 14px; line-height: 1.6; color: var(--gray-400); margin: 0 0 20px; max-width: 320px; }
.ea-footer__social { display: flex; gap: 12px; }
.ea-footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gray-800);
  color: var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.ea-footer__social a:hover { background: var(--primary); color: var(--white); }
.ea-footer__col h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 16px;
}
.ea-footer__col nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.ea-footer__col nav a { color: var(--gray-400); transition: color .2s; }
.ea-footer__col nav a:hover { color: var(--white); }
.ea-footer__col nav a.active-footer { color: var(--primary); font-weight: 600; }
.ea-footer__contact { display: flex; flex-direction: column; gap: 14px; font-size: 14px; }
.ea-footer__contact a { display: flex; gap: 10px; color: var(--gray-400); align-items: start; }
.ea-footer__contact a i { margin-top: 2px; }
.ea-footer__bottom {
  border-top: 1px solid var(--gray-800);
  margin-top: 40px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.ea-footer__bottom p { font-size: 13px; color: var(--gray-500); margin: 0; }
.ea-footer__bottom a { color: var(--gray-400); text-decoration: underline; }

/* =====================================================
   PAGE HERO (banner interno)
===================================================== */
.ea-page-hero {
  padding: 56px 24px;
  border-radius: var(--radius-2xl);
  margin: 24px;
  text-align: center;
}
.ea-page-hero__badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.ea-page-hero h1 { font-size: 42px; font-weight: 800; line-height: 1.15; margin: 0 0 16px; }
.ea-page-hero p { font-size: 18px; color: var(--gray-600); margin: 0 auto; max-width: 640px; line-height: 1.6; }

/* =====================================================
   HOME – HERO
===================================================== */
.ea-hero {
  position: relative;
  overflow: hidden;
  background: var(--primary-lt);
  padding: 56px 24px;
  border-radius: var(--radius-2xl);
  margin: 24px;
}
.ea-hero__inner { max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 1; }
.ea-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.ea-hero__badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.ea-hero h1 { font-size: 48px; font-weight: 800; color: var(--gray-900); line-height: 1.1; margin: 0 0 20px; }
.ea-hero h1 span { color: var(--green); }
.ea-hero__desc { font-size: 18px; color: var(--gray-600); margin: 0 0 28px; line-height: 1.6; }
.ea-hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 36px; }
.ea-hero__cta-main {
  padding: 14px 24px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(74,108,247,0.3);
  transition: opacity .2s;
}
.ea-hero__cta-main:hover { opacity: .9; color: var(--white); }
.ea-hero__cta-sec {
  padding: 14px 24px;
  background: var(--white);
  border: 1px solid #A7F3D0;
  color: #059669;
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ea-hero__cta-sec:hover { color: #059669; background: var(--green-lt); }
.ea-hero__feats { display: flex; flex-wrap: wrap; gap: 28px; }
.ea-hero__feat { display: flex; align-items: start; gap: 10px; }
.ea-hero__feat-icon { color: var(--green); font-size: 20px; }
.ea-hero__feat h4 { font-size: 14px; font-weight: 700; margin: 0 0 2px; }
.ea-hero__feat p { font-size: 12px; color: var(--gray-500); margin: 0; }
.ea-hero__image { position: relative; height: 380px; border-radius: 20px; overflow: hidden; }
.ea-hero__image img { width: 100%; height: 100%; object-fit: cover; }

/* =====================================================
   SECTIONS SHARED
===================================================== */
.ea-section { max-width: var(--max-w); margin: 0 auto; padding: 40px 24px; }
.ea-section--sm { padding: 16px 24px 40px; }
.ea-section--lg { padding: 16px 24px 56px; }
.ea-section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.ea-section__head h2 { font-size: 26px; font-weight: 700; margin: 0; }
.ea-section__link { color: var(--primary); font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 6px; }

/* =====================================================
   CATEGORY CARDS
===================================================== */
.ea-cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.ea-cat-card {
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  color: inherit;
  transition: transform .2s, box-shadow .2s;
}
.ea-cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ea-cat-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-lt);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.ea-cat-card h3 { font-weight: 700; color: var(--gray-900); margin: 0 0 4px; font-size: 14px; }
.ea-cat-card p { font-size: 12px; color: var(--gray-400); margin: 0; }

/* =====================================================
   PROMO BANNERS
===================================================== */
.ea-promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ea-promo-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.ea-info-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
  align-items: start;
}
.ea-promo-card {
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
  min-height: 180px;
  display: flex;
  align-items: center;
}
.ea-promo-card--blue { background: linear-gradient(135deg, var(--primary), var(--primary-dk)); color: var(--white); }
.ea-promo-card--green { background: linear-gradient(135deg, #14B8A6, var(--green)); color: var(--white); }
.ea-promo-card--white { background: var(--white); border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm); justify-content: space-between; }
.ea-promo-card__content { position: relative; z-index: 1; max-width: 60%; }
.ea-promo-card__eyebrow { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; display: block; margin-bottom: 8px; }
.ea-promo-card h3 { font-size: 24px; font-weight: 700; margin: 0 0 4px; }
.ea-promo-card p { font-size: 14px; margin: 0 0 16px; }
.ea-promo-btn-white { display: inline-block; background: var(--white); font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: var(--radius-sm); }
.ea-promo-btn-white--blue { color: var(--primary); }
.ea-promo-btn-white--green { color: #0D9488; }
.ea-promo-card__icon { color: rgba(74,108,247,0.15); font-size: 56px; }
.ea-promo-btn-border { display: inline-block; border: 1px solid var(--primary); color: var(--primary); font-size: 13px; font-weight: 600; padding: 6px 16px; border-radius: var(--radius-sm); }

/* =====================================================
   PRODUCT CARDS
===================================================== */
.ea-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.ea-product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 16px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.ea-product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ea-product-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--primary-lt);
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  z-index: 2;
}
.ea-product-card__badge--red {
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
}
.ea-product-card__img {
  aspect-ratio: 1;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
}
.ea-product-card__img img { width: 100%; height: 100%; object-fit: cover; }
.ea-product-card h3 { font-size: 14px; font-weight: 600; margin: 0 0 4px; flex-grow: 1; }
.ea-product-card__desc { font-size: 12px; color: var(--gray-400); margin: 0 0 12px; flex-grow: 1; }
.ea-product-card__bottom { display: flex; justify-content: space-between; align-items: center; }
.ea-product-card__price { font-size: 18px; font-weight: 700; color: var(--primary); }
.ea-product-card__price--sale { color: var(--green); }
.ea-product-card__orig { font-size: 11px; color: var(--gray-400); text-decoration: line-through; display: block; }
.ea-add-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.ea-add-btn:hover { background: var(--primary); color: var(--white); }
.ea-fav-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--gray-400);
  z-index: 2;
  cursor: pointer;
}

/* =====================================================
   VALUE PROPS
===================================================== */
.ea-values {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.ea-value { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.ea-value__icon { font-size: 28px; }
.ea-value h4 { font-size: 14px; font-weight: 700; margin: 0 0 4px; }
.ea-value p { font-size: 12px; color: var(--gray-500); margin: 0; }

/* =====================================================
   NEWSLETTER
===================================================== */
.ea-newsletter {
  background: var(--gray-900);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.ea-newsletter h3 { color: var(--white); font-size: 22px; font-weight: 700; margin: 0 0 8px; }
.ea-newsletter p { color: var(--gray-400); font-size: 14px; margin: 0; }
.ea-newsletter__form { display: flex; gap: 12px; flex-wrap: wrap; }
.ea-newsletter__form input {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 14px;
  width: 260px;
  max-width: 100%;
  outline: none;
}
.ea-newsletter__form button {
  padding: 12px 24px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
}

/* =====================================================
   PRODUCTOS PAGE – LAYOUT
===================================================== */
.ea-products-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}
.ea-filters {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 96px;
}
.ea-filters__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.ea-filters__head h3 { font-size: 15px; font-weight: 700; margin: 0; }
.ea-filters__clear { background: none; border: none; color: var(--primary); font-size: 12px; font-weight: 600; cursor: pointer; }
.ea-filter-group { margin-bottom: 20px; }
.ea-filter-group h4 { font-size: 12px; font-weight: 700; color: var(--gray-700); text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 10px; }
.ea-filter-options { display: flex; flex-direction: column; gap: 2px; }
.ea-filter-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 6px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 13px;
  color: var(--gray-700);
  transition: background .15s;
}
.ea-filter-label:hover { background: var(--gray-50); }
.ea-filter-label input { accent-color: var(--primary); }
.ea-filter-label span.count { font-size: 11px; color: var(--gray-400); }
.ea-results-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 12px; flex-wrap: wrap; }
.ea-sort-select {
  padding: 8px 12px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 13px;
  background: var(--white);
  outline: none;
}
.ea-view-toggle { display: flex; border: 1px solid var(--gray-200); border-radius: var(--radius-sm); overflow: hidden; }
.ea-view-toggle button { padding: 9px 12px; border: none; background: var(--white); color: var(--gray-400); cursor: pointer; }
.ea-view-toggle button.active { background: var(--primary); color: var(--white); }
.ea-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ea-list-view { display: flex; flex-direction: column; gap: 12px; }
.ea-list-view .ea-product-card {
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 12px;
}
.ea-list-view .ea-product-card__img {
  width: 100px;
  height: 100px;
  margin-bottom: 0;
  flex-shrink: 0;
}
.ea-list-view .ea-product-card h3 { margin: 0; }
.ea-list-view .ea-product-card__desc { display: none; }
.ea-list-view .ea-product-card__bottom {
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  margin-left: auto;
}
.ea-list-view .ea-product-card__badge {
  top: 8px;
  left: 8px;
}
.ea-load-more { text-align: center; margin-top: 32px; }
.ea-load-more button {
  padding: 12px 28px;
  background: var(--white);
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
.ea-filters-toggle-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-100);
  border: none;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px;
  color: var(--gray-800);
  cursor: pointer;
}
.ea-no-results {
  text-align: center;
  padding: 64px 16px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
}

/* =====================================================
   NOSOTROS
===================================================== */
.ea-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ea-story-image { height: 360px; border-radius: 20px; overflow: hidden; }
.ea-story-image img { width: 100%; height: 100%; object-fit: cover; }
.ea-stats-grid {
  background: var(--gray-900);
  border-radius: 20px;
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.ea-stat h3 { color: var(--white); font-size: 32px; font-weight: 800; margin: 0 0 4px; }
.ea-stat p { color: var(--gray-400); font-size: 13px; margin: 0; }
.ea-values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ea-value-card {
  background: var(--white);
  padding: 28px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.ea-value-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green-lt);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 16px;
}
.ea-value-card h4 { font-size: 15px; font-weight: 700; margin: 0 0 6px; }
.ea-value-card p { font-size: 13px; color: var(--gray-500); margin: 0; line-height: 1.5; }
.ea-cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-dk));
  border-radius: 20px;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--white);
}
.ea-cta-banner h3 { font-size: 22px; font-weight: 700; margin: 0 0 8px; }
.ea-cta-banner p { font-size: 14px; color: #E0E7FF; margin: 0; }
.ea-cta-btn {
  padding: 14px 24px;
  background: var(--white);
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ea-cta-btn:hover { color: var(--primary); opacity: .9; }

/* =====================================================
   ANTI-CONFLICTO ELEMENTOR (ICONOS FONT AWESOME)
===================================================== */
i.fa-solid, i.fas,
span.fa-solid, span.fas {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}
i.fa-brands, i.fab,
span.fa-brands, span.fab {
    font-family: "Font Awesome 6 Brands" !important;
}

/* =====================================================
   CONTACTO
===================================================== */
.ea-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.ea-contact-form-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.ea-contact-form-card h2 { font-size: 22px; font-weight: 700; margin: 0 0 8px; }
.ea-contact-form-card > p { font-size: 14px; color: var(--gray-500); margin: 0 0 24px; }
.ea-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.ea-form-group { margin-bottom: 16px; }
.ea-form-group label { font-size: 13px; font-weight: 600; color: var(--gray-700); display: block; margin-bottom: 6px; }
.ea-form-group input,
.ea-form-group select,
.ea-form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
}
.ea-form-group input:focus,
.ea-form-group select:focus,
.ea-form-group textarea:focus { border-color: var(--primary); }
.ea-form-group textarea { resize: vertical; }
.ea-form-group select { background: var(--white); }
.ea-cat-checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ea-cat-check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-700);
  padding: 8px 10px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.ea-cat-check-label input { accent-color: var(--primary); width: 15px; height: 15px; }
.ea-submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(74,108,247,0.3);
  transition: opacity .2s;
}
.ea-submit-btn:hover { opacity: .9; }
.ea-success-msg { text-align: center; padding: 40px 0; }
.ea-success-msg i { font-size: 48px; color: var(--green); margin-bottom: 16px; }
.ea-success-msg h3 { font-size: 22px; font-weight: 700; margin: 0 0 8px; }
.ea-success-msg p { font-size: 14px; color: var(--gray-500); margin: 0 0 24px; }
.ea-contact-info-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.ea-contact-info-card h3 { font-size: 16px; font-weight: 700; margin: 0 0 16px; }
.ea-contact-info-items { display: flex; flex-direction: column; gap: 16px; }
.ea-contact-info-item { display: flex; gap: 12px; color: var(--gray-700); align-items: start; }
.ea-contact-info-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ea-contact-info-item__icon--blue { background: var(--primary-lt); color: var(--primary); }
.ea-contact-info-item__icon--green { background: var(--green-lt); color: var(--wa); }
.ea-contact-info-item span { font-size: 13px; line-height: 1.5; padding-top: 6px; }
.ea-map { border-radius: 20px; overflow: hidden; border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm); height: 280px; }
.ea-map iframe { width: 100%; height: 100%; border: 0; }

/* =====================================================
   CARRITO
===================================================== */
.ea-cart-page { max-width: var(--max-w); margin: 0 auto; padding: 40px 24px 56px; }
.ea-cart-page__grid { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.ea-cart-table { background: var(--white); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }

.ea-checkout-page { max-width: var(--max-w); margin: 0 auto; padding: 40px 24px 56px; }
.ea-cart-row {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
  align-items: center;
}
.ea-cart-row__img { width: 80px; height: 80px; background: var(--gray-50); border-radius: var(--radius-md); overflow: hidden; flex-shrink: 0; }
.ea-cart-row__img img { width: 100%; height: 100%; object-fit: cover; }
.ea-cart-row__info { flex-grow: 1; }
.ea-cart-row__name { font-size: 15px; font-weight: 600; margin: 0 0 4px; }
.ea-cart-row__cat { font-size: 13px; color: var(--gray-500); margin: 0; }
.ea-cart-row__right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.ea-cart-row__price { font-size: 16px; font-weight: 700; color: var(--primary); }
a.remove.ea-cart-row__remove, 
.woocommerce a.remove.ea-cart-row__remove { 
  display: flex !important; 
  align-items: center; 
  justify-content: center; 
  width: 32px !important; 
  height: 32px !important; 
  background: none !important; 
  border: none !important; 
  color: var(--gray-400) !important; 
  font-size: 16px !important; 
  text-decoration: none !important; 
}
a.remove.ea-cart-row__remove:hover, 
.woocommerce a.remove.ea-cart-row__remove:hover { 
  color: var(--red) !important; 
  background: none !important; 
}
.ea-order-summary {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 96px;
}
.ea-order-summary h3 { font-size: 18px; font-weight: 700; margin: 0 0 20px; }
.ea-summary-line { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 12px; }
.ea-summary-line--total { font-size: 18px; font-weight: 700; border-top: 1px solid var(--gray-100); padding-top: 12px; margin-top: 4px; }
.ea-checkout-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(74,108,247,0.3);
  margin-top: 16px;
  transition: opacity .2s;
}
.ea-checkout-btn:hover { opacity: .9; color: var(--white); }

/* =====================================================
   FINALIZAR COMPRA
===================================================== */
.ea-checkout-grid { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.ea-checkout-form { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--gray-100); padding: 32px; box-shadow: var(--shadow-sm); }
.ea-checkout-form h2 { font-size: 20px; font-weight: 700; margin: 0 0 24px; }
.ea-section-divider { border-top: 1px solid var(--gray-100); margin: 24px 0; }
.ea-payment-methods { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.ea-payment-method {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color .2s;
}
.ea-payment-method.selected { border-color: var(--primary); background: var(--primary-lt); }
.ea-payment-method input { accent-color: var(--primary); }

/* =====================================================
   PRODUCTO INDIVIDUAL
===================================================== */
.ea-product-detail { max-width: var(--max-w); margin: 0 auto; padding: 32px 24px 56px; }
.ea-product-detail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-bottom: 48px; }
.ea-product-detail__gallery { position: sticky; top: 96px; }
.ea-product-detail__main-img { aspect-ratio: 1; background: var(--gray-50); border-radius: 20px; overflow: hidden; margin-bottom: 12px; }
.ea-product-detail__main-img img { width: 100%; height: 100%; object-fit: cover; }
.ea-product-detail__thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.ea-thumb {
  width: 68px;
  height: 68px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .2s;
}
.ea-thumb.active { border-color: var(--primary); }
.ea-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ea-product-detail__badge { display: inline-block; background: var(--primary-lt); color: var(--primary); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 6px; margin-bottom: 12px; }
.ea-product-detail h1 { font-size: 28px; font-weight: 800; margin: 0 0 8px; line-height: 1.2; }
.ea-product-detail__price { font-size: 32px; font-weight: 800; color: var(--primary); margin: 16px 0; }
.ea-product-detail__orig { font-size: 16px; color: var(--gray-400); text-decoration: line-through; margin-right: 12px; }
.ea-product-detail__discount { background: var(--red); color: var(--white); font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 6px; }
.ea-product-detail__add {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin: 24px 0;
}
.ea-add-cart-btn {
  flex-grow: 1;
  padding: 14px 24px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(74,108,247,0.3);
}
.ea-wa-buy-btn {
  flex-grow: 1;
  padding: 14px 24px;
  background: var(--wa);
  color: var(--white);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.ea-wa-buy-btn:hover { color: var(--white); opacity: .9; }
.ea-product-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.ea-product-feature { display: flex; align-items: start; gap: 10px; }
.ea-product-feature i { color: var(--green); margin-top: 2px; }
.ea-product-feature h4 { font-size: 13px; font-weight: 700; margin: 0 0 2px; }
.ea-product-feature p { font-size: 12px; color: var(--gray-500); margin: 0; }
.ea-tab-nav { display: flex; border-bottom: 1px solid var(--gray-200); margin-bottom: 24px; }
.ea-tab-btn {
  padding: 12px 20px;
  border: none;
  background: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .2s, border-color .2s;
}
.ea-tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.ea-spec-table { width: 100%; border-collapse: collapse; }
.ea-spec-table tr:nth-child(odd) td { background: var(--gray-50); }
.ea-spec-table td { padding: 10px 14px; font-size: 14px; border-bottom: 1px solid var(--gray-100); }
.ea-spec-table td:first-child { font-weight: 600; color: var(--gray-600); width: 40%; }
.ea-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray-500); margin-bottom: 24px; flex-wrap: wrap; }
.ea-breadcrumb a { color: var(--gray-500); }
.ea-breadcrumb a:hover { color: var(--primary); }
.ea-breadcrumb span { color: var(--gray-400); }
.ea-related h2 { font-size: 22px; font-weight: 700; margin: 0 0 20px; }

/* =====================================================
   LIBRO DE RECLAMACIONES
===================================================== */
.ea-complaints-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.ea-complaints-info { background: var(--white); border-radius: var(--radius-xl); padding: 32px; border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm); }
.ea-complaints-info h2 { font-size: 20px; font-weight: 700; margin: 0 0 16px; }
.ea-legal-note { background: var(--gray-50); border-left: 3px solid var(--primary); padding: 16px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-bottom: 20px; font-size: 13px; color: var(--gray-600); line-height: 1.6; }
.ea-complaints-steps { display: flex; flex-direction: column; gap: 20px; }
.ea-complaint-step { display: flex; gap: 12px; align-items: start; }
.ea-complaint-step__num { width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; flex-shrink: 0; }
.ea-complaint-step h4 { font-size: 14px; font-weight: 700; margin: 0 0 4px; }
.ea-complaint-step p { font-size: 13px; color: var(--gray-500); margin: 0; line-height: 1.5; }

/* =====================================================
   WOOCOMMERCE OVERRIDES
===================================================== */
.woocommerce #page { background: var(--gray-50); }
.woocommerce-page .woocommerce { max-width: var(--max-w); margin: 32px auto; padding: 0 24px; }
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 24px !important; }
.woocommerce ul.products li.product { background: var(--white); border-radius: var(--radius-lg); padding: 16px; border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm); }
.woocommerce ul.products li.product a img { border-radius: var(--radius-md); }
.woocommerce ul.products li.product .price { color: var(--primary); font-weight: 700; font-size: 18px; }
.woocommerce ul.products li.product .button, .woocommerce a.button, .woocommerce button.button { background: var(--primary) !important; color: var(--white) !important; border-radius: var(--radius-sm) !important; font-weight: 600 !important; transition: opacity .2s !important; }
.woocommerce ul.products li.product .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { opacity: .9 !important; }
.woocommerce div.product { max-width: var(--max-w); margin: 32px auto; padding: 0 24px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--primary) !important; font-size: 28px !important; font-weight: 800 !important; }
.woocommerce div.product .woocommerce-product-gallery__image img { border-radius: 20px; }
.woocommerce .woocommerce-breadcrumb { font-size: 13px; color: var(--gray-500); }
.woocommerce .woocommerce-breadcrumb a { color: var(--gray-500); }
.woocommerce form.checkout { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.woocommerce #order_review, .woocommerce-page #order_review { background: var(--white); border-radius: var(--radius-lg); padding: 24px; border: 1px solid var(--gray-100); }
.woocommerce table.shop_table { border-radius: var(--radius-lg); overflow: hidden; }
.woocommerce .widget_shopping_cart .total .amount,
.woocommerce .widget_shopping_cart .total .amount { color: var(--primary); font-weight: 700; }
.woocommerce .star-rating span::before { color: #F59E0B; }
.woocommerce .onsale { background: var(--red) !important; border-radius: 6px !important; }
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-error { 
  background: var(--white) !important;
  border: 1px solid var(--primary-lt) !important;
  border-left: 4px solid var(--primary) !important;
  color: var(--gray-700) !important;
  border-radius: var(--radius-md) !important;
  padding: 16px 24px !important;
  margin-bottom: 24px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.woocommerce-notices-wrapper .woocommerce-error { border-left-color: var(--red) !important; }
.woocommerce-notices-wrapper .woocommerce-message a.button,
.woocommerce-notices-wrapper .woocommerce-info a.button,
.woocommerce-notices-wrapper .woocommerce-error a.button { 
  background: var(--primary) !important; 
  color: var(--white) !important;
  border-radius: var(--radius-sm) !important;
  padding: 8px 16px !important;
  font-weight: 600 !important;
  margin-left: 16px !important;
}
.woocommerce-notices-wrapper .woocommerce-message::before,
.woocommerce-notices-wrapper .woocommerce-info::before,
.woocommerce-notices-wrapper .woocommerce-error::before {
  color: var(--primary) !important;
  position: static !important;
  margin-right: 12px;
}
.woocommerce-notices-wrapper .woocommerce-error::before { color: var(--red) !important; }
.woocommerce nav.woocommerce-pagination ul li a:focus, .woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--primary) !important; color: var(--white) !important; border-color: var(--primary) !important; }

/* =====================================================
   SEARCH DROPDOWN (V2.1)
===================================================== */
.ea-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  border: 1px solid var(--gray-100);
  padding: 16px;
  z-index: 50;
  max-height: 360px;
  overflow-y: auto;
}
.ea-search-dropdown[hidden] {
  display: none !important;
}

/* =====================================================
   CHECKOUT OVERRIDES (V2.1)
===================================================== */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
}
.woocommerce form .form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--gray-700);
}
.woocommerce-checkout #payment {
  background: var(--gray-50) !important;
  border-radius: var(--radius-lg) !important;
}
.woocommerce-checkout #payment div.payment_box {
  background: var(--white) !important;
  border: 1px solid var(--gray-200) !important;
  color: var(--gray-600) !important;
}
.woocommerce-checkout #payment div.payment_box::before {
  border-bottom-color: var(--gray-200) !important;
}

/* =====================================================
   THANKYOU PAGE
===================================================== */
.ea-thankyou-page { width: 100%; margin: 0 auto; padding: 0; }
.ea-thankyou-page__header { text-align: center; margin-bottom: 40px; }
.ea-thankyou-page__header h2 { font-size: 28px; font-weight: 700; color: var(--gray-900); margin: 0 0 8px; }
.ea-thankyou-page__header p { font-size: 16px; color: var(--gray-500); margin: 0; }
.ea-order-overview { list-style: none; padding: 24px; margin: 0; background: var(--gray-50); border-radius: var(--radius-lg); display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; }
.ea-order-overview li { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--gray-500); }
.ea-order-overview li strong { font-size: 15px; color: var(--gray-900); font-weight: 600; }
.ea-order-details-box { background: transparent; border: none; padding: 0; box-shadow: none; margin-top: 32px; }
.ea-order-details-box h2 { font-size: 20px; font-weight: 700; margin: 0 0 24px; border-bottom: 1px solid var(--gray-100); padding-bottom: 16px; }
.ea-order-details-box table { width: 100%; border-collapse: collapse; table-layout: fixed; word-break: break-word; }
.ea-order-details-box th, .ea-order-details-box td { padding: 16px 0; border-bottom: 1px solid var(--gray-100); text-align: left; }
.ea-order-details-box th { font-weight: 600; color: var(--gray-700); width: 75%; }
.ea-order-details-box th:last-child { width: 25%; }
.ea-order-details-box tfoot th { color: var(--gray-900); width: 75%; }
.ea-order-details-box tfoot th:last-child { width: 25%; }
.ea-order-details-box tfoot tr:last-child th, .ea-order-details-box tfoot tr:last-child td { border-bottom: none; font-size: 18px; font-weight: 700; color: var(--primary); }

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 1023px) {
  .ea-desktop-nav, .ea-desktop-search, .ea-desktop-cats { display: none !important; }
  .ea-mobile-toggle { display: flex !important; }
  .ea-cat-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .ea-product-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .ea-promo-grid { grid-template-columns: 1fr !important; }
  .ea-promo-grid-2 { grid-template-columns: 1fr !important; }
  .ea-info-layout { grid-template-columns: 1fr !important; }
  .ea-values { grid-template-columns: repeat(3, 1fr) !important; }
  .ea-footer__grid { grid-template-columns: repeat(2, 1fr) !important; }
  .ea-hero__grid { grid-template-columns: 1fr !important; }
  .ea-hero__image { height: 280px; }
  .ea-products-layout { grid-template-columns: 1fr !important; }
  .ea-filters { display: none; }
  .ea-filters.mobile-open { display: block; position: fixed; top: 0; bottom: 0; left: 0; width: 300px; max-width: 90vw; z-index: 250; overflow-y: auto; border-radius: 0; }
  .ea-story-grid { grid-template-columns: 1fr !important; }
  .ea-values-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .ea-stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .ea-contact-grid { grid-template-columns: 1fr !important; }
  .ea-cart-page__grid { grid-template-columns: 1fr !important; }
  .ea-checkout-grid { grid-template-columns: 1fr !important; }
  .ea-product-detail__grid { grid-template-columns: 1fr !important; }
  .ea-complaints-grid { grid-template-columns: 1fr !important; }
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; }
  .ea-filters-toggle-btn { display: flex !important; }
  .ea-product-detail__gallery { position: static !important; }
}

@media (max-width: 640px) {
  .ea-cat-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .ea-product-grid { grid-template-columns: 1fr !important; }
  .ea-values { grid-template-columns: repeat(2, 1fr) !important; }
  .ea-footer__grid { grid-template-columns: 1fr !important; }
  .ea-grid-3 { grid-template-columns: repeat(2, 1fr) !important; }
  .ea-form-row { grid-template-columns: 1fr !important; }
  .ea-cat-checks { grid-template-columns: repeat(2, 1fr) !important; }
  .ea-hero h1 { font-size: 32px; }
  .ea-page-hero h1 { font-size: 30px; }
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (min-width: 1024px) {
  .ea-mobile-toggle { display: none !important; }
  .ea-filters-toggle-btn { display: none !important; }
}

/* =====================================================
   ANIMATIONS
===================================================== */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ea-fade-in { animation: fadeIn .4s ease forwards; }

@media (max-width: 640px) {
  /* Centrar barra superior en móvil y ocultar los dos últimos anuncios */
  .ea-topbar__inner { justify-content: center; text-align: center; }
  .ea-topbar__item { justify-content: center; width: 100%; }
  .ea-topbar__item:nth-child(2),
  .ea-topbar__item:nth-child(3) { display: none !important; }

  .ea-cart-page, .ea-checkout-page { padding: 20px 16px; }
  .ea-checkout-form, .ea-cart-table, .ea-order-summary { padding: 20px 16px; }
  .ea-product-tabs, .ea-product-pdf { padding: 20px 16px; margin-top: 32px; }
  .ea-thankyou-page { margin-top: 24px; padding: 0 0 40px 0 !important; }
  .ea-order-overview { grid-template-columns: 1fr; gap: 16px; padding: 16px; }
  .ea-order-details-box { padding: 16px 0; border:none; box-shadow:none; }
  
  /* Convertir tabla de resumen de pedido en lista apilada para móviles */
  .ea-order-details-box table, 
  .ea-order-details-box thead, 
  .ea-order-details-box tbody, 
  .ea-order-details-box th, 
  .ea-order-details-box td, 
  .ea-order-details-box tr {
    display: block;
    width: 100% !important;
  }
  .ea-order-details-box thead { display: none; }
  .ea-order-details-box tbody tr { padding: 16px 0; border-bottom: 1px solid var(--gray-100); }
  .ea-order-details-box tbody td { padding: 0 0 8px 0; border: none; }
  .ea-order-details-box tbody td:last-child { font-weight: 700; color: var(--primary); font-size: 16px; }
  
  .ea-order-details-box tfoot tr { display: flex; flex-direction: column; padding: 12px 0; border-bottom: 1px solid var(--gray-100); }
  .ea-order-details-box tfoot th { padding: 0 0 4px 0; border: none; color: var(--gray-500); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
  .ea-order-details-box tfoot td { padding: 0; border: none; font-weight: 700; color: var(--gray-900); font-size: 16px; }
  .ea-order-details-box tfoot tr:last-child td { color: var(--primary); }
  .ea-cart-row { flex-wrap: wrap; }
  .ea-cart-row__img { width: 64px; height: 64px; }
  .ea-cart-row__right { width: 100%; flex-direction: row; justify-content: space-between; align-items: center; margin-top: 12px; }
}

@media print {
  header, footer, .ea-newsletter, .ea-drawer-overlay, .ea-mobile-toggle, .ea-desktop-nav, .ea-desktop-search, .ea-desktop-cats, .no-print { display: none !important; }
  .ea-thankyou-page { margin: 0; padding: 0; max-width: 100%; }
  .ea-order-overview { background: transparent !important; padding: 0 !important; margin-bottom: 24px !important; }
  .ea-order-details-box { box-shadow: none !important; border: none !important; padding: 0 !important; }
  button { display: none !important; }
  body, html { background: #fff !important; }
}

/* ==========================================================================
   AJUSTES SUGERIDOS POR EL USUARIO PARA EL CHECKOUT DE WOOCOMMERCE 
   (Fallback de seguridad para el checkout nativo)
   ========================================================================== */
.woocommerce-checkout .site-main, 
.woocommerce-checkout .content-area,
.woocommerce-checkout article {
    max-width: var(--max-w) !important;
    margin: 0 auto !important;
    padding: 20px;
    width: 100% !important;
    box-sizing: border-box;
}

@media screen and (min-width: 992px) {
    .woocommerce-checkout form.checkout {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
        width: 100% !important;
    }
    .woocommerce-checkout #customer_details {
        flex: 0 0 58% !important;
        max-width: 58% !important;
        float: none !important;
    }
    .woocommerce-checkout #order_review,
    .woocommerce-checkout #order_review_heading {
        flex: 0 0 38% !important;
        max-width: 38% !important;
        float: none !important;
    }
    .woocommerce-checkout #order_review_heading {
        width: 38% !important;
        margin-top: 0;
    }
}

@media screen and (max-width: 991px) {
    .woocommerce-checkout form.checkout {
        display: block !important;
        width: 100% !important;
    }
    .woocommerce-checkout #customer_details,
    .woocommerce-checkout #order_review,
    .woocommerce-checkout .col2-set .col-1, 
    .woocommerce-checkout .col2-set .col-2 {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .woocommerce-checkout form.woocommerce-checkout .form-row {
        width: 100% !important;
        float: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* ==========================================================================
   WOOCOMMERCE GUTENBERG BLOCKS (NATIVO)
   ========================================================================== */

/* Asegurar el ancho completo en páginas de carrito y checkout */
.woocommerce-cart .ea-container, 
.woocommerce-checkout .ea-container {
    max-width: 1300px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Contenedores principales de los bloques */
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    font-family: var(--font) !important;
}

/* Ocultar botones de wishlist de terceros (corazones) */
.yith-wcwl-add-to-wishlist,
.tinv-wraper,
.woosw-btn,
.wishlist-button,
.product .tinvwl_add_to_wishlist_button { 
    display: none !important; 
}

/* Títulos de los bloques */
.wc-block-components-title {
    font-family: var(--font) !important;
    color: var(--gray-900) !important;
    font-weight: 700 !important;
}

/* Botones principales (Pagar, Actualizar, etc.) */
.wc-block-components-button:not(.is-link) {
    background-color: var(--primary) !important;
    color: var(--white) !important;
    border-radius: 9999px !important;
    font-weight: 600 !important;
    font-family: var(--font) !important;
    border: none !important;
    transition: opacity 0.2s ease !important;
}
.wc-block-components-button:not(.is-link):hover {
    opacity: 0.9 !important;
    color: var(--white) !important;
}

/* Inputs de formulario (Solo bordes y fondo, sin afectar el padding nativo para los floating labels) */
.wc-block-components-text-input input, 
.wc-block-components-combobox-control input, 
.wc-block-components-textarea textarea,
.wc-block-components-country-input select,
.wc-block-components-state-input select {
    border-radius: var(--radius-sm) !important;
    border: 1px solid var(--gray-200) !important;
    font-family: var(--font) !important;
    background: var(--white) !important;
}
.wc-block-components-text-input input:focus, 
.wc-block-components-combobox-control input:focus, 
.wc-block-components-textarea textarea:focus,
.wc-block-components-country-input select:focus,
.wc-block-components-state-input select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 1px var(--primary) !important;
    outline: none !important;
}

/* Paneles laterales / Resumen (Cajas blancas) */
.wc-block-checkout__sidebar,
.wc-block-cart__sidebar,
.wc-block-cart-items,
.wc-block-checkout__main {
    background: var(--white) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-sm) !important;
    padding: 32px !important;
    border: 1px solid var(--gray-100) !important;
}

/* Radio buttons y Checkboxes */
.wc-block-components-radio-control__input,
.wc-block-components-checkbox__input {
    accent-color: var(--primary) !important;
}

/* Precios */
.wc-block-components-product-price,
.wc-block-components-totals-item__value {
    color: var(--primary) !important;
    font-weight: 600 !important;
}

/* Alertas y Notificaciones */
.wc-block-components-notice-banner {
    border-radius: var(--radius-md) !important;
    font-family: var(--font) !important;
}
.wc-block-components-notice-banner.is-success {
    border-left: 4px solid var(--green) !important;
    background: #f0fdf4 !important;
}
.wc-block-components-notice-banner.is-error {
    border-left: 4px solid #ef4444 !important;
    background: #fef2f2 !important;
}

/* Carrito Vacío Gutenberg */
.wc-block-cart__empty-cart {
    text-align: center;
    padding: 64px 20px;
}
.wc-block-cart__empty-cart .wc-block-components-empty-state__icon {
    display: none !important;
}
.wc-block-cart__empty-cart::before {
    content: '\f290'; /* FontAwesome Shopping Bag */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 80px;
    color: var(--primary);
    display: block;
    margin-bottom: 24px;
}
.wc-block-components-empty-state__action .wp-block-button__link {
    background: var(--primary) !important;
    color: var(--white) !important;
    border-radius: 9999px !important;
    padding: 14px 40px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    border: none !important;
    transition: opacity 0.2s ease;
}
.wc-block-components-empty-state__action .wp-block-button__link:hover {
    opacity: 0.9 !important;
}

/* Vista móvil de los bloques */
@media (max-width: 640px) {
    .wc-block-checkout__sidebar,
    .wc-block-cart__sidebar,
    .wc-block-cart-items,
    .wc-block-checkout__main {
        padding: 16px !important;
    }
    
    /* Hacer que las tablas de WooCommerce (como el carrito) sean responsivas en móvil */
    .woocommerce table.shop_table, 
    .woocommerce-page table.shop_table {
        display: block;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* =====================================================
   WOOCOMMERCE CART & QTY STEPPER (Ported from wp-theme-electroa)
===================================================== */
.woocommerce-cart .cart-empty {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 64px 24px;
  text-align: center;
  list-style: none;
  font-size: 18px;
  font-weight: 700;
}
.woocommerce-cart .cart-empty::before {
  content: '\f07a';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  display: block;
  font-size: 40px;
  color: var(--gray-200);
  margin-bottom: 16px;
}
.woocommerce-cart .wc-empty-cart-message + .return-to-shop {
  text-align: center;
  display: block;
  margin-top: 20px;
}

/* Stepper +/- de cantidad */
.ea-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.ea-qty-stepper button {
  background: none;
  border: none;
  padding: 8px 12px;
  font-size: 15px;
  color: var(--gray-600);
  cursor: pointer;
  outline: none;
}
.ea-qty-stepper button:hover {
  background: var(--gray-50);
}
.woocommerce .ea-qty-stepper .qty,
.ea-qty-stepper .qty {
  border: none;
  border-left: 1px solid var(--gray-200);
  border-right: 1px solid var(--gray-200);
  width: 70px !important;
  max-width: none !important;
  text-align: center;
  padding: 8px 4px;
  font-size: 16px !important;
  -moz-appearance: textfield;
}
.ea-qty-stepper .qty::-webkit-outer-spin-button,
.ea-qty-stepper .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ==========================================================================
   CARRITO Y CHECKOUT (MIGRADO DE V1)
   ========================================================================== */
.ea-cart-layout { display: grid; grid-template-columns: 1.8fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 1023px) { .ea-cart-layout { grid-template-columns: 1fr; } }

.woocommerce table.shop_table_responsive,
.woocommerce table.shop_table { border: 1px solid var(--gray-100); border-radius: var(--radius-lg); background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.04); border-collapse: separate; border-spacing: 0; }
.woocommerce table.shop_table th { border-bottom: 1px solid var(--gray-100); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--gray-500); }
.woocommerce table.shop_table td { border-bottom: 1px solid var(--gray-100); vertical-align: middle; }
.woocommerce table.shop_table tr:last-child td { border-bottom: none; }
.woocommerce table.cart img { width: 80px; height: 80px; object-fit: cover; border-radius: 12px; }
.woocommerce table.cart td.product-name a { font-weight: 700; color: var(--gray-900); font-size: 15px; }
.woocommerce table.cart td.product-price,
.woocommerce table.cart td.product-subtotal { font-weight: 700; color: var(--primary); font-size: 16px; }
.woocommerce table.cart td.actions .button { width: auto; }
.woocommerce-cart-form__cart-item .remove { color: var(--gray-400) !important; font-size: 18px; }

.woocommerce-cart .cart-collaterals,
.woocommerce-checkout .woocommerce-checkout-review-order { background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius-lg); padding: 24px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.woocommerce-cart .cart-collaterals { position: sticky; top: 96px; }
.woocommerce-cart .cart_totals h2 { font-size: 16px; font-weight: 700; margin: 0 0 16px; }
.woocommerce-cart .cart_totals table { border: none; box-shadow: none; }
.woocommerce-cart .cart_totals table th,
.woocommerce-cart .cart_totals table td { border: none; border-top: 1px solid var(--gray-100); font-size: 14px; padding: 10px 0; }
.woocommerce-cart .cart_totals .order-total .amount { font-size: 22px; font-weight: 800; color: var(--gray-900); }

@media (max-width: 767px) {
  .woocommerce table.shop_table_responsive thead,
  .woocommerce table.cart thead { display: none; }
  .woocommerce table.shop_table_responsive,
  .woocommerce table.shop_table_responsive tbody,
  .woocommerce table.shop_table_responsive tr,
  .woocommerce table.shop_table_responsive td { display: block; width: 100%; }
  .woocommerce table.shop_table_responsive tr { padding: 16px; border-bottom: 1px solid var(--gray-100); }
  .woocommerce table.shop_table_responsive tr:last-child { border-bottom: none; }
  .woocommerce table.shop_table_responsive td { border: none !important; padding: 6px 0 !important; text-align: left !important; }
  .woocommerce table.shop_table_responsive td::before { display: none; } 
  .woocommerce table.cart td.product-remove { position: absolute; top: 12px; right: 12px; }
  .woocommerce table.cart tr { position: relative; }
  .woocommerce table.cart td.product-thumbnail,
  .woocommerce table.cart td.product-name { display: inline-block; vertical-align: top; }
  .woocommerce table.cart td.product-thumbnail { width: 80px; margin-right: 12px; }
  .woocommerce table.cart td.product-name { width: calc(100% - 92px); padding-right: 32px; }
  .woocommerce table.cart td.product-quantity,
  .woocommerce table.cart td.product-subtotal { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
  .woocommerce table.cart td.product-quantity::after { content: "Cantidad"; order: -1; font-size: 12px; color: var(--gray-500); font-weight: 600; }
  .woocommerce table.cart td.product-subtotal::after { content: "Subtotal"; order: -1; font-size: 12px; color: var(--gray-500); font-weight: 600; }
  .woocommerce-cart .cart-collaterals { position: static; margin-top: 24px; }
}

/* CHECKOUT */
.woocommerce-checkout .col2-set,
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields { max-width: 100%; }
.woocommerce-checkout form .form-row { max-width: 100%; padding: 0 0 12px; }
.woocommerce-checkout form .form-row input.input-text,
.woocommerce-checkout form .form-row textarea,
.woocommerce-checkout form .form-row select,
.woocommerce-checkout .select2-container {
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
}
.woocommerce-checkout .select2-container .select2-selection--single { height: auto; padding: 6px 4px; border-radius: var(--radius-sm); border: 1px solid var(--gray-200); }
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review { background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius-lg); padding: 24px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.woocommerce-checkout .woocommerce-checkout-payment { background: var(--gray-50); border-radius: var(--radius-lg); padding: 16px; }
.woocommerce-checkout ul.payment_methods li { padding: 12px 0; }
.woocommerce-checkout .col2-set { display: block; }


/* =====================================================================
   V7.0 – MEJORAS: hero dinámico, galería con zoom + visor,
                   chat de WhatsApp, buscador
===================================================================== */

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
html.ea-no-scroll, html.ea-no-scroll body { overflow: hidden !important; }

/* Header pegajoso debajo de la barra de administración de WordPress */
.admin-bar .ea-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ea-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .ea-header { top: 0; } }

/* ---------------------------------------------------------------------
   HERO – SLIDER DINÁMICO
--------------------------------------------------------------------- */
.ea-hero--slider {
  background: linear-gradient(135deg, #EEF2FF 0%, #F4F6FF 50%, #ECFDF5 100%);
  padding: 56px 24px 32px;
  isolation: isolate;
}
.ea-hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ea-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  animation: eaBlob 18s ease-in-out infinite alternate;
}
.ea-hero__blob--1 { width: 420px; height: 420px; background: #A5B4FC; top: -140px; left: -80px; }
.ea-hero__blob--2 { width: 360px; height: 360px; background: #6EE7B7; bottom: -160px; right: 10%; animation-delay: -6s; }
.ea-hero__blob--3 { width: 260px; height: 260px; background: #93C5FD; top: 30%; left: 45%; opacity: .35; animation-delay: -12s; }
.ea-hero__grid-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(74,108,247,.18) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 0%, transparent 70%);
          mask-image: radial-gradient(ellipse at 30% 40%, #000 0%, transparent 70%);
}
@keyframes eaBlob {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(40px, 30px) scale(1.08); }
  100% { transform: translate(-30px, 20px) scale(.95); }
}

/* Textos apilados: el contenedor toma la altura del más alto */
.ea-hero__slides-text { display: grid; }
.ea-hero__slide-text {
  grid-area: 1 / 1;
  visibility: hidden;
  pointer-events: none;
}
.ea-hero__slide-text.is-active { visibility: visible; pointer-events: auto; }
.ea-hero__slide-text > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1);
}
.ea-hero__slide-text.is-active > * { opacity: 1; transform: none; }
.ea-hero__slide-text.is-active > *:nth-child(2) { transition-delay: .08s; }
.ea-hero__slide-text.is-active > *:nth-child(3) { transition-delay: .16s; }
.ea-hero__slide-text.is-active > *:nth-child(4) { transition-delay: .24s; }
.ea-hero__slide-text.is-leaving { visibility: visible; }
.ea-hero__slide-text.is-leaving > * { opacity: 0; transform: translateY(-12px); transition-duration: .3s; transition-delay: 0s; }

.ea-hero__title { font-size: 48px; font-weight: 800; color: var(--gray-900); line-height: 1.1; margin: 0 0 20px; }
.ea-hero__title span { color: var(--green); }
.ea-hero h1 span,
.ea-hero__title span {
  background: linear-gradient(90deg, #10B981, #14B8A6 60%, #4A6CF7);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ea-hero__badge { box-shadow: 0 6px 16px rgba(74,108,247,.3); }
.ea-hero__cta-main { transition: transform .2s, box-shadow .2s, opacity .2s; }
.ea-hero__cta-main:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(74,108,247,.38); opacity: 1; }
.ea-hero__cta-main--wa { background: var(--wa); box-shadow: 0 8px 20px rgba(37,211,102,.35); }
.ea-hero__cta-main--wa:hover { box-shadow: 0 12px 26px rgba(37,211,102,.45); }

/* Imagen / visual */
.ea-hero__visual {
  position: relative;
  transform: translate(var(--px, 0px), var(--py, 0px));
  transition: transform .4s ease-out;
}
.ea-hero--slider .ea-hero__image {
  height: 420px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 30px 60px -20px rgba(55,48,163,.35), 0 0 0 1px rgba(255,255,255,.6) inset;
}
.ea-hero__slide-media {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .9s ease;
}
.ea-hero__slide-media.is-active { opacity: 1; z-index: 1; }
.ea-hero__slide-media > img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 7s ease-out;
}
.ea-hero__slide-media.is-active > img { transform: scale(1); }

/* Diapositiva de producto */
.ea-hero__slide-media.is-product {
  background: radial-gradient(circle at 50% 42%, #fff 0%, #fff 38%, #EEF2FF 100%);
}
.ea-hero__slide-media.is-product::after {          /* sombra suave bajo el producto */
  content: ""; position: absolute; left: 50%; bottom: 92px;
  width: 46%; height: 22px; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(17,24,39,.16), transparent 70%);
  pointer-events: none;
}
.ea-hero__product {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 36px 36px 90px;
}
.ea-hero__product img {
  max-width: 78%; max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;             /* el fondo blanco de la foto se funde */
  transform: scale(.92);
  transition: transform 1s cubic-bezier(.2,.8,.2,1);
}
.ea-hero__slide-media.is-active .ea-hero__product img { transform: scale(1); animation: eaFloat 6s ease-in-out infinite 1s; }
@keyframes eaFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.ea-hero__product-tag {
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: rgba(255,255,255,.85);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(17,24,39,.08);
}
.ea-hero__product-name {
  flex: 1; min-width: 0;
  font-size: 14px; font-weight: 600; color: var(--gray-800);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ea-hero__product-price { font-size: 17px; font-weight: 800; color: var(--primary); white-space: nowrap; }
.ea-hero__product-price del { font-size: 12px; color: var(--gray-400); font-weight: 500; margin-right: 4px; }
.ea-hero__product-price ins { text-decoration: none; }
.ea-hero__product-pct { background: var(--red); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; }

/* Chips flotantes */
.ea-hero__chip {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px;
  background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(17,24,39,.12);
  animation: eaChip 5s ease-in-out infinite;
}
.ea-hero__chip b { display: block; font-size: 13px; color: var(--gray-900); line-height: 1.2; }
.ea-hero__chip small { display: block; font-size: 11px; color: var(--gray-500); }
.ea-hero__chip-icon {
  width: 34px; height: 34px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-lt); color: var(--primary); font-size: 15px;
}
.ea-hero__chip-icon--green { background: var(--green-lt); color: var(--green); }
.ea-hero__chip--a { top: 22px; left: -26px; }
.ea-hero__chip--b { bottom: 96px; right: -22px; animation-delay: -2.5s; }
@keyframes eaChip { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Controles */
.ea-hero__controls {
  display: flex; align-items: center; gap: 14px;
  margin-top: 28px;
}
.ea-hero__arrow {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(74,108,247,.2);
  background: var(--white); color: var(--primary);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background .2s, color .2s, transform .2s;
}
.ea-hero__arrow:hover { background: var(--primary); color: var(--white); transform: scale(1.06); }
.ea-hero__dots { display: flex; gap: 8px; align-items: center; }
.ea-hero__dot {
  position: relative;
  width: 28px; height: 8px;
  padding: 0; border: none; border-radius: 99px;
  background: rgba(74,108,247,.2);
  overflow: hidden; cursor: pointer;
  transition: width .4s ease;
}
.ea-hero__dot.is-active { width: 56px; }
.ea-hero__dot-fill {
  position: absolute; inset: 0;
  background: var(--primary);
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left;
}
.ea-hero.no-autoplay .ea-hero__dot.is-active .ea-hero__dot-fill { transform: scaleX(1); }
.ea-hero.is-autoplay .ea-hero__dot.is-active .ea-hero__dot-fill {
  animation: eaHeroProgress var(--ea-hero-delay, 6s) linear forwards;
}
.ea-hero.is-paused .ea-hero__dot.is-active .ea-hero__dot-fill { animation-play-state: paused; }
@keyframes eaHeroProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 1023px) {
  .ea-hero--slider { padding: 36px 20px 24px; margin: 16px; }
  .ea-hero--slider .ea-hero__image { height: 320px; }
  .ea-hero__chip--a { left: 10px; top: 12px; }
  .ea-hero__chip--b { right: 10px; bottom: 84px; }
  .ea-hero__controls { justify-content: center; }
}
@media (max-width: 640px) {
  .ea-hero--slider { margin: 12px; padding: 28px 16px 20px; border-radius: 20px; }
  .ea-hero__title { font-size: 32px; }
  .ea-hero--slider .ea-hero__image { height: 260px; }
  .ea-hero__chip { display: none; }
  .ea-hero__feats { gap: 16px; }
  .ea-hero__product { padding: 20px 20px 76px; }
}
@media (prefers-reduced-motion: reduce) {
  .ea-hero__blob, .ea-hero__chip, .ea-hero__product img { animation: none !important; }
  .ea-hero__slide-media > img { transition: none; transform: none; }
}

/* ---------------------------------------------------------------------
   GALERÍA DE PRODUCTO – ZOOM
--------------------------------------------------------------------- */
.ea-gallery__stage {
  position: relative;
  cursor: zoom-in;
  background: var(--white);
  border: 1px solid var(--gray-100);
  -webkit-user-select: none; user-select: none;
  outline: none;
}
.ea-gallery__stage:focus-visible { box-shadow: 0 0 0 3px rgba(74,108,247,.35); }
.ea-gallery__stage img {
  transition: transform .25s ease-out, opacity .15s ease;
  will-change: transform;
}
.ea-gallery__stage.is-zooming img { transform: scale(2.2); }
.ea-gallery__stage.is-switching img { opacity: 0; }

.ea-gallery__expand,
.ea-gallery__nav {
  position: absolute; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.95);
  color: var(--gray-800);
  box-shadow: 0 4px 14px rgba(17,24,39,.14);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  transition: background .2s, color .2s, opacity .2s, transform .2s;
}
.ea-gallery__expand:hover,
.ea-gallery__nav:hover { background: var(--primary); color: var(--white); }
.ea-gallery__expand { top: 14px; right: 14px; }
.ea-gallery__nav { top: 50%; transform: translateY(-50%); opacity: 0; }
.ea-gallery__nav--prev { left: 14px; }
.ea-gallery__nav--next { right: 14px; }
.ea-gallery__stage:hover .ea-gallery__nav,
.ea-gallery__stage:focus-within .ea-gallery__nav { opacity: 1; }
.ea-gallery__count {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  background: rgba(17,24,39,.7); color: #fff;
  font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 99px;
}
.ea-gallery__sale {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--red); color: #fff;
  font-size: 13px; font-weight: 700;
  padding: 4px 10px; border-radius: 8px;
}
.ea-gallery__hint {
  position: absolute; left: 50%; bottom: 14px; z-index: 2;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.92);
  color: var(--gray-600);
  font-size: 12px; font-weight: 500;
  padding: 6px 12px; border-radius: 99px;
  box-shadow: 0 4px 12px rgba(17,24,39,.08);
  white-space: nowrap;
  pointer-events: none;
  transition: opacity .2s;
}
.ea-gallery__hint i { color: var(--primary); }
.ea-gallery__hint-touch { display: none; }
.ea-gallery__stage.is-zooming .ea-gallery__hint,
.ea-gallery__stage.is-zooming .ea-gallery__count,
.ea-gallery__stage.is-zooming .ea-gallery__sale { opacity: 0; }
@media (hover: none) {
  .ea-gallery__stage { cursor: pointer; }
  .ea-gallery__nav { opacity: 1; width: 36px; height: 36px; font-size: 13px; }
  .ea-gallery__hint-desk { display: none; }
  .ea-gallery__hint-touch { display: inline; }
}
.ea-product-detail__thumbs { flex-wrap: nowrap; overflow-x: auto; padding: 2px; scrollbar-width: thin; }
.ea-thumb { flex: 0 0 auto; padding: 0; transition: border-color .2s, transform .2s, opacity .2s; opacity: .75; }
.ea-thumb:hover { opacity: 1; transform: translateY(-2px); }
.ea-thumb.active { opacity: 1; box-shadow: 0 0 0 3px rgba(74,108,247,.15); }

/* ---------------------------------------------------------------------
   VISOR EMERGENTE (LIGHTBOX)
--------------------------------------------------------------------- */
.ea-lightbox {
  position: fixed; inset: 0; z-index: 100000;
  background: rgba(10,12,22,.94);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
}
.ea-lightbox.is-open { opacity: 1; visibility: visible; }
.ea-lightbox__top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px;
  color: #fff;
}
.ea-lightbox__count { font-size: 14px; font-weight: 600; opacity: .85; }
.ea-lightbox__tools { display: flex; gap: 8px; }
.ea-lightbox__btn,
.ea-lightbox__nav {
  width: 44px; height: 44px; border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.12);
  color: #fff; font-size: 17px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
}
.ea-lightbox__btn:hover,
.ea-lightbox__nav:hover { background: rgba(255,255,255,.25); }
.ea-lightbox__nav { position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); width: 52px; height: 52px; }
.ea-lightbox__nav--prev { left: 18px; }
.ea-lightbox__nav--next { right: 18px; }
.ea-lightbox__stage {
  position: absolute; top: 72px; bottom: 110px; left: 84px; right: 84px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  touch-action: none;
}
.ea-lightbox__img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  cursor: zoom-in;
  transform-origin: center center;
  transition: transform .28s cubic-bezier(.2,.8,.2,1), opacity .2s;
  -webkit-user-select: none; user-select: none;
}
.ea-lightbox__img.is-instant { transition: none; }
.ea-lightbox__img.is-loading { opacity: .35; }
.ea-lightbox.is-zoomed .ea-lightbox__img { cursor: grab; }
.ea-lightbox.is-zoomed .ea-lightbox__img:active { cursor: grabbing; }
.ea-lightbox__thumbs {
  position: absolute; left: 0; right: 0; bottom: 34px; z-index: 3;
  display: flex; justify-content: center; gap: 8px;
  padding: 0 16px;
  overflow-x: auto;
}
.ea-lightbox__thumb {
  flex: 0 0 auto;
  width: 58px; height: 58px;
  padding: 0; border-radius: 10px; overflow: hidden;
  border: 2px solid transparent;
  background: #fff;
  opacity: .5; cursor: pointer;
  transition: opacity .2s, border-color .2s;
}
.ea-lightbox__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ea-lightbox__thumb:hover { opacity: .85; }
.ea-lightbox__thumb.active { opacity: 1; border-color: var(--primary); }
.ea-lightbox__hint {
  position: absolute; left: 0; right: 0; bottom: 8px; z-index: 3;
  margin: 0; text-align: center;
  color: rgba(255,255,255,.55); font-size: 12px;
}
.ea-lightbox.is-zoomed .ea-lightbox__hint { opacity: 0; }
@media (max-width: 640px) {
  .ea-lightbox__stage { left: 8px; right: 8px; top: 64px; bottom: 100px; }
  .ea-lightbox__nav { width: 40px; height: 40px; font-size: 14px; background: rgba(17,24,39,.6); box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
  .ea-lightbox__nav--prev { left: 8px; }
  .ea-lightbox__nav--next { right: 8px; }
  .ea-lightbox__btn[data-act="zoom-in"],
  .ea-lightbox__btn[data-act="zoom-out"] { display: none; }
  .ea-lightbox__thumb { width: 48px; height: 48px; }
}

/* ---------------------------------------------------------------------
   WHATSAPP – BOTÓN + VENTANA DE CHAT
--------------------------------------------------------------------- */
.ea-wa {
  position: fixed; right: 24px; bottom: 24px; z-index: 9990;
  display: flex; flex-direction: column; align-items: flex-end;
  font-family: var(--font);
}
.ea-wa .ea-wa-float { position: relative; right: auto; bottom: auto; z-index: 2; cursor: pointer; }
.ea-wa-float__icon,
.ea-wa-float__close { position: absolute; transition: transform .3s ease, opacity .25s ease; }
.ea-wa-float__close { opacity: 0; transform: rotate(-90deg) scale(.6); font-size: 24px; }
.ea-wa.is-open .ea-wa-float__icon { opacity: 0; transform: rotate(90deg) scale(.6); }
.ea-wa.is-open .ea-wa-float__close { opacity: 1; transform: none; }
.ea-wa-float__ping {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--wa);
  animation: eaPing 2.4s cubic-bezier(0,0,.2,1) infinite;
  z-index: -1;
}
.ea-wa.is-open .ea-wa-float__ping { display: none; }
@keyframes eaPing { 0% { transform: scale(1); opacity: .55; } 80%,100% { transform: scale(1.7); opacity: 0; } }

.ea-wa__panel {
  position: absolute; right: 0; bottom: 76px;
  width: 370px; max-width: calc(100vw - 32px);
  max-height: calc(100vh - 120px);
  display: flex; flex-direction: column;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(17,24,39,.25), 0 0 0 1px rgba(17,24,39,.04);
  transform-origin: bottom right;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(12px) scale(.92);
  transition: opacity .25s ease, transform .3s cubic-bezier(.2,.9,.3,1.2), visibility .25s;
}
.ea-wa.is-open .ea-wa__panel { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }

.ea-wa__head {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 16px 16px 18px;
  background: linear-gradient(135deg, #075E54, #128C7E);
  color: #fff;
}
.ea-wa__avatar {
  position: relative; flex: 0 0 46px;
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.ea-wa__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.ea-wa__dot {
  position: absolute; right: 0; bottom: 1px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #9CA3AF; border: 2px solid #128C7E;
}
.ea-wa.is-online .ea-wa__dot { background: #25D366; }
.ea-wa__who { flex: 1; min-width: 0; line-height: 1.3; }
.ea-wa__who strong { display: block; font-size: 16px; }
.ea-wa__who span { display: block; font-size: 12px; opacity: .85; }
.ea-wa__close {
  width: 34px; height: 34px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.15); color: #fff;
  cursor: pointer; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.ea-wa__close:hover { background: rgba(255,255,255,.28); }

.ea-wa__body {
  flex: 1; overflow-y: auto;
  padding: 18px 16px;
  display: flex; flex-direction: column; gap: 12px;
  background-color: #EFEAE2;
  background-image: radial-gradient(rgba(7,94,84,.07) 1px, transparent 1px);
  background-size: 16px 16px;
}
.ea-wa__bubble {
  position: relative;
  align-self: flex-start;
  max-width: 92%;
  background: #fff;
  padding: 10px 12px 18px;
  border-radius: 0 12px 12px 12px;
  font-size: 14px; color: var(--gray-800); line-height: 1.5;
  box-shadow: 0 1px 1px rgba(0,0,0,.08);
  animation: eaBubble .4s ease .15s both;
}
.ea-wa__bubble::before {
  content: ""; position: absolute; top: 0; left: -8px;
  border-width: 0 8px 8px 0; border-style: solid;
  border-color: transparent #fff transparent transparent;
}
.ea-wa__bubble-name { display: block; font-size: 12px; font-weight: 700; color: #128C7E; margin-bottom: 2px; }
.ea-wa__time { position: absolute; right: 10px; bottom: 4px; font-size: 10px; color: var(--gray-400); }
@keyframes eaBubble { from { opacity: 0; transform: translateY(6px) scale(.97); } to { opacity: 1; transform: none; } }

.ea-wa__hours {
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  box-shadow: 0 1px 1px rgba(0,0,0,.06);
}
.ea-wa__hours-head {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  font-weight: 700; color: var(--gray-800);
  margin-bottom: 8px;
}
.ea-wa__hours-head i { color: #128C7E; margin-right: 4px; }
.ea-wa__badge {
  font-size: 11px; font-weight: 700;
  padding: 3px 8px; border-radius: 99px;
  background: var(--gray-100); color: var(--gray-500);
}
.ea-wa.is-online .ea-wa__badge { background: #DCFCE7; color: #15803D; }
.ea-wa__hours ul { list-style: none; margin: 0; padding: 0; }
.ea-wa__hours li {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 5px 8px; margin: 0 -8px;
  border-radius: 8px;
  color: var(--gray-500);
}
.ea-wa__hours li b { font-weight: 600; color: var(--gray-700); text-align: right; }
.ea-wa__hours li.is-today { background: #F0FDF4; color: var(--gray-800); font-weight: 600; }
.ea-wa__hours li.is-today b { color: #128C7E; }
.ea-wa__offline {
  margin: 10px 0 0;
  padding: 8px 10px;
  background: #FFFBEB; color: #92400E;
  border-radius: 8px;
  font-size: 12px; line-height: 1.45;
}
.ea-wa__quick { display: flex; flex-wrap: wrap; gap: 6px; }
.ea-wa__chip {
  border: 1px solid #128C7E;
  background: #fff; color: #075E54;
  font-size: 12px; font-weight: 600;
  padding: 6px 12px; border-radius: 99px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.ea-wa__chip:hover { background: #E7F7F3; }
.ea-wa__chip.is-selected { background: #128C7E; color: #fff; }

.ea-wa__form {
  display: flex; flex-direction: column; gap: 10px;
  padding: 12px 14px 14px;
  background: #fff;
  border-top: 1px solid var(--gray-100);
}
.ea-wa__form textarea {
  width: 100%;
  resize: none;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 10px 12px;
  font-family: inherit; font-size: 13px; line-height: 1.45;
  color: var(--gray-800);
  outline: none;
  transition: border-color .2s;
}
.ea-wa__form textarea:focus { border-color: #25D366; }
.ea-wa__send {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border: none; border-radius: 12px;
  background: var(--wa); color: #fff;
  font-family: inherit; font-size: 15px; font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(37,211,102,.35);
  transition: transform .2s, box-shadow .2s;
}
.ea-wa__send i { font-size: 18px; }
.ea-wa__send:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(37,211,102,.45); }

/* Burbuja de invitación */
.ea-wa__teaser {
  position: absolute; right: 74px; bottom: 10px;
  display: flex; align-items: center;
  background: #fff;
  border-radius: 14px 14px 4px 14px;
  box-shadow: 0 10px 30px rgba(17,24,39,.18);
  opacity: 0; transform: translateX(10px);
  transition: opacity .3s, transform .3s;
}
.ea-wa__teaser.is-visible { opacity: 1; transform: none; }
.ea-wa__teaser-text {
  border: none; background: none;
  padding: 12px 6px 12px 16px;
  font-family: inherit; font-size: 14px; font-weight: 600; color: var(--gray-800);
  white-space: nowrap; cursor: pointer;
}
.ea-wa__teaser-close {
  border: none; background: none;
  padding: 12px 12px 12px 6px;
  color: var(--gray-400); cursor: pointer; font-size: 12px;
}
.ea-wa.is-open .ea-wa__teaser { display: none; }

@media (max-width: 480px) {
  .ea-wa { right: 16px; bottom: 16px; }
  .ea-wa .ea-wa-float { width: 56px; height: 56px; font-size: 26px; }
  .ea-wa__panel { bottom: 70px; right: -4px; width: calc(100vw - 24px); max-height: calc(100vh - 100px); }
  .ea-wa__teaser { right: 66px; }
  .ea-wa__teaser-text { font-size: 13px; white-space: normal; max-width: 180px; text-align: left; }
}
@media print { .ea-wa { display: none !important; } }
