/* ==========================================================================
   ELECTROREY — Tema WordPress / WooCommerce
   ========================================================================== */

@font-face { font-family: "ER Jakarta"; src: url("../fonts/jakarta.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "ER Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --er-bg: #f3f6fa;
  --er-surface: #ffffff;
  --er-ice: #e8f0f8;
  --er-ink: #0f1b2d;
  --er-ink-2: #3f4f63;
  --er-mute: #74839a;
  --er-line: #e1e8f0;
  --er-line-2: #cfd9e4;
  --er-blue: #1f4fe0;
  --er-blue-d: #1740b8;
  --er-mint: #0fb59a;
  --er-gold: #f2a516;
  --er-red: #e23b4f;
  --er-wa: #1faa5a;
  --er-wa-d: #178a48;
  --er-r: 20px;
  --er-r-sm: 12px;
  --er-shadow-s: 0 1px 2px rgba(15,27,45,.06), 0 4px 14px -6px rgba(15,27,45,.12);
  --er-shadow: 0 24px 50px -28px rgba(15,35,80,.35);
  --er-shadow-l: 0 40px 90px -40px rgba(15,35,80,.5);
  --er-wrap: 1240px;
  --er-gut: clamp(16px, 3.5vw, 32px);
  --er-ease: cubic-bezier(.2,.8,.2,1);
  --er-display: "ER Jakarta", "Segoe UI", system-ui, -apple-system, sans-serif;
  --er-body: "ER Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 140px; }
body.er {
  margin: 0; background: var(--er-bg); color: var(--er-ink);
  font: 400 16px/1.6 var(--er-body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.er-lock { overflow: hidden; }
.er img { max-width: 100%; height: auto; }
.er a { color: var(--er-blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.er h1, .er h2, .er h3, .er h4 { font-family: var(--er-display); font-weight: 700; letter-spacing: -.025em; line-height: 1.12; color: var(--er-ink); margin: 0 0 .5em; }
.er button, .er input, .er select, .er textarea { font: inherit; }
.er-ico { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; }
.er-wrap { width: 100%; max-width: var(--er-wrap); margin: 0 auto; padding: 0 var(--er-gut); }
.er-skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--er-ink); color: #fff !important; padding: 10px 14px; border-radius: 8px; }
.er-skip:focus { left: 8px; }
.er :focus-visible { outline: 2px solid var(--er-blue); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
[hidden] { display: none !important; }
.er-muted { color: var(--er-ink-2); }

/* ---------- Botones ---------- */
.er .er-btn, .er .button, .er button.button, .er a.button, .er input.button, .er .wp-element-button, .er .wp-block-button__link,
.er ul.products li.product .button, .er.woocommerce button.button.alt, .er .woocommerce button.button.alt, .er button.button.alt, .er a.button.alt, .er input.button.alt {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  font: 600 15px/1.1 var(--er-display); letter-spacing: -.01em; text-decoration: none;
  background: var(--er-blue); color: #fff; transition: background .2s, transform .2s var(--er-ease), box-shadow .2s;
}
.er .er-btn:hover, .er .button:hover, .er a.button:hover, .er button.button:hover, .er .wp-element-button:hover, .er .wp-block-button__link:hover, .er button.button.alt:hover, .er a.button.alt:hover { background: var(--er-blue-d); color: #fff; }
.er button.button.alt, .er a.button.alt, .er input.button.alt { background: var(--er-blue) !important; color: #fff !important; }
.er button.button.alt:hover, .er a.button.alt:hover, .er input.button.alt:hover { background: var(--er-blue-d) !important; }
.er button.button.alt:disabled, .er button.button.alt.disabled { background: var(--er-blue) !important; opacity: .5; }
.er-btn:active, .er .button:active { transform: scale(.98); }
.er-btn .er-ico { width: 19px; height: 19px; }
.er .er-btn--primary { box-shadow: 0 14px 30px -14px rgba(31,79,224,.75); }
.er .er-btn--ghost { background: var(--er-surface); color: var(--er-ink); border-color: var(--er-line-2); }
.er .er-btn--ghost:hover { background: var(--er-ice); color: var(--er-ink); }
.er .er-btn--light { background: #fff; color: var(--er-ink); }
.er .er-btn--light:hover { background: var(--er-ice); color: var(--er-ink); }
.er .er-btn--wa, .er a.er-btn--wa { background: var(--er-wa); color: #fff; }
.er .er-btn--wa:hover { background: var(--er-wa-d); color: #fff; }
.er-btn--block { width: 100%; }
.er .button:disabled, .er .button.disabled, .er .button[disabled] { opacity: .5; cursor: not-allowed; background: var(--er-blue); }

.er-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font: 700 12px/1.3 var(--er-display); letter-spacing: .14em; text-transform: uppercase; color: var(--er-blue); text-decoration: none; }
.er-eyebrow--light { color: #bfe9ff; }
.er-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--er-mint); animation: er-ping 2.2s infinite; flex: none; }
@keyframes er-ping { 0% { box-shadow: 0 0 0 0 rgba(15,181,154,.55); } 80%,100% { box-shadow: 0 0 0 10px rgba(15,181,154,0); } }
.er-link { display: inline-flex; align-items: center; gap: 6px; font: 600 15px/1 var(--er-display); text-decoration: none !important; white-space: nowrap; }
.er-link .er-ico { width: 18px; height: 18px; transition: transform .25s var(--er-ease); }
.er-link:hover .er-ico { transform: translateX(3px); }

/* ---------- Barra superior ---------- */
.er-topbar { background: var(--er-ink); color: #c9d5e3; font-size: 13px; }
.er-topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.er-topbar p { margin: 0; display: flex; align-items: center; gap: 8px; }
.er-topbar .er-ico { width: 16px; height: 16px; color: var(--er-gold); }
.er-topbar__right { gap: 22px !important; }
.er-topbar__right span, .er-topbar__right a { display: inline-flex; align-items: center; gap: 6px; }
.er-topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.er-topbar a .er-ico { color: #4ade80; }

/* ---------- Cabecera ---------- */
.er-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--er-line); transition: box-shadow .3s; }
@supports (backdrop-filter: blur(8px)) { .er-header { background: rgba(255,255,255,.82); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); } }
.admin-bar .er-header { top: 32px; }
.er-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(15,35,80,.35); }
.er-header__in { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.er-header__logo { flex: none; }
.er-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; color: var(--er-ink) !important; font: 800 21px/1 var(--er-display); letter-spacing: -.03em; }
.er-logo svg { width: 38px; height: 38px; flex: none; }
.er-logo b { color: var(--er-gold); font-weight: 800; }
.custom-logo-link img { max-height: 52px; width: auto; display: block; }

.er-search { flex: 1; max-width: 640px; margin: 0 auto; display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 5px 0 18px; border-radius: 999px; background: var(--er-ice); border: 1px solid transparent; transition: border-color .2s, background .2s, box-shadow .2s; }
.er-search:focus-within { background: #fff; border-color: var(--er-blue); box-shadow: 0 0 0 4px rgba(31,79,224,.12); }
.er-search .er-ico { color: var(--er-mute); width: 19px; height: 19px; }
.er-search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 15px; color: var(--er-ink); }
.er-search button { height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--er-ink); color: #fff; font: 600 14px/1 var(--er-display); cursor: pointer; }
.er-search button:hover { background: var(--er-blue); }

.er-header__actions { display: flex; align-items: center; gap: 8px; flex: none; }
.er-icon-btn { width: 46px; height: 46px; border-radius: 50%; display: inline-grid; place-items: center; border: 0; background: transparent; color: var(--er-ink) !important; cursor: pointer; transition: background .2s; }
.er-icon-btn:hover { background: var(--er-ice); }
.er-icon-btn .er-ico { width: 23px; height: 23px; }
.er-cart-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px 0 14px; border-radius: 999px; border: 0; background: var(--er-ink); color: #fff; cursor: pointer; transition: background .2s, transform .3s var(--er-ease); }
.er-cart-btn:hover { background: var(--er-blue); }
.er-cart-btn .er-ico { width: 22px; height: 22px; }
.er-cart-btn__txt { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; text-align: left; }
.er-cart-btn__txt small { font-size: 11px; color: #9fb0c6; }
.er-cart-total { font: 700 14px/1.2 var(--er-display); }
.er-cart-total .amount { color: #fff; }
.er-cart-count { position: absolute; top: -4px; left: 30px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 999px; background: var(--er-gold); color: var(--er-ink); font: 800 11px/21px var(--er-display); text-align: center; border: 2px solid #fff; }
.er-cart-count.is-empty { display: none; }
.er-cart-btn.is-bump { animation: er-bump .5s var(--er-ease); }
@keyframes er-bump { 35% { transform: scale(1.1); } 70% { transform: scale(.96); } }

.er-nav { border-top: 1px solid var(--er-line); }
.er-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.er-menu::-webkit-scrollbar { display: none; }
.er-menu li { flex: none; }
.er-menu a { display: block; padding: 13px 14px; font: 600 14.5px/1 var(--er-display); color: var(--er-ink-2); text-decoration: none; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.er-menu a:hover, .er-menu .current-menu-item > a, .er-menu .current-product_cat-ancestor > a { color: var(--er-blue); border-bottom-color: var(--er-blue); }
.er-menu li:first-child a { padding-left: 0; }
.er-menu .er-menu-sep { margin-left: auto; }

.er-only-mobile { display: none !important; }

/* ---------- Paneles laterales ---------- */
.er-scrim { position: fixed; inset: 0; z-index: 90; background: rgba(15,27,45,.45); opacity: 0; transition: opacity .3s; }
.er-scrim.is-on { opacity: 1; }
.er-panel { position: fixed; top: 0; bottom: 0; z-index: 100; width: min(420px, 100%); background: var(--er-surface); display: flex; flex-direction: column; transition: transform .45s var(--er-ease), visibility 0s .45s; visibility: hidden; outline: none; box-shadow: 0 0 80px -20px rgba(10,25,60,.45); }
.er-panel.is-on { transform: none; visibility: visible; transition: transform .45s var(--er-ease), visibility 0s; }
.er-panel--right { right: 0; transform: translateX(104%); }
.er-panel--left { left: 0; transform: translateX(-104%); width: min(340px, 88%); }
.admin-bar .er-panel { top: 32px; }
.er-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 16px 22px; border-bottom: 1px solid var(--er-line); }
.er-panel__head h2 { margin: 0; font-size: 20px; }
.er-panel__body { flex: 1; overflow-y: auto; padding: 18px 22px 24px; overscroll-behavior: contain; }

.er-mobile-menu { list-style: none; margin: 0 0 18px; padding: 0; }
.er-mobile-menu a { display: block; padding: 13px 0; border-bottom: 1px solid var(--er-line); color: var(--er-ink); text-decoration: none; font: 600 16px/1.2 var(--er-display); }
.er-mobile-menu--small a { font: 500 14.5px/1.2 var(--er-body); color: var(--er-ink-2); padding: 11px 0; }
.er-mobile-account { display: flex; align-items: center; gap: 8px; margin: 4px 0 18px; color: var(--er-ink) !important; font-weight: 600; text-decoration: none; }

/* Mini carrito */
.er-minicart { display: flex; flex-direction: column; }
.er-minicart .widget_shopping_cart_content { display: flex; flex-direction: column; min-height: 100%; }
.er .woocommerce-mini-cart { list-style: none; margin: 0; padding: 0; }
.er .woocommerce-mini-cart-item { position: relative; display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 14px; padding: 14px 30px 14px 0; border-bottom: 1px solid var(--er-line); font-size: 14.5px; }
.er .woocommerce-mini-cart-item a:not(.remove) { grid-row: 1; grid-column: 1 / 3; display: grid; grid-template-columns: 64px 1fr; column-gap: 14px; align-items: center; color: var(--er-ink); text-decoration: none; font: 600 14.5px/1.3 var(--er-display); }
.er .woocommerce-mini-cart-item img { width: 64px !important; height: 64px; object-fit: cover; border-radius: 12px; background: var(--er-ice); margin: 0 !important; grid-row: 1 / 3; }
.er .woocommerce-mini-cart-item .quantity { grid-column: 2; color: var(--er-mute); font-size: 13.5px; margin-top: 2px; }
.er .woocommerce-mini-cart-item a.remove { position: absolute; top: 14px; right: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: var(--er-mute) !important; background: var(--er-ice); text-decoration: none; font-size: 16px; line-height: 1; }
.er .woocommerce-mini-cart-item a.remove:hover { background: var(--er-red); color: #fff !important; }
.er .woocommerce-mini-cart__total { display: flex; justify-content: space-between; margin: 18px 0 14px; padding-top: 4px; font: 700 18px/1.3 var(--er-display); }
.er .woocommerce-mini-cart__buttons { display: grid; gap: 10px; margin: 0; }
.er .woocommerce-mini-cart__buttons .button { width: 100%; background: var(--er-surface); color: var(--er-ink); border-color: var(--er-line-2); }
.er .woocommerce-mini-cart__buttons .button.checkout { background: var(--er-blue); color: #fff; border-color: var(--er-blue); order: -1; box-shadow: 0 14px 30px -16px rgba(31,79,224,.8); }
.er .woocommerce-mini-cart__empty-message { text-align: center; color: var(--er-ink-2); padding: 40px 0 10px; }
.er-minicart__note { display: flex; gap: 10px; align-items: center; margin: 0; padding: 14px 22px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--er-line); background: var(--er-ice); color: var(--er-ink-2); font-size: 13px; }
.er-minicart__note .er-ico { color: var(--er-mint); }

/* ---------- Portada: hero ---------- */
.er-hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(30px, 4vw, 50px); background:
  radial-gradient(60% 70% at 85% 10%, rgba(15,181,154,.16), transparent 70%),
  radial-gradient(55% 60% at 10% 0%, rgba(31,79,224,.14), transparent 70%), var(--er-bg); }
.er-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.er-hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; max-width: 12ch; }
.er-hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--er-blue) 10%, var(--er-mint)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.er-lead { font-size: clamp(1.02rem, 1.25vw, 1.15rem); color: var(--er-ink-2); max-width: 50ch; margin: 0 0 28px; }
.er-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.er-hero__visual { position: relative; padding: 20px 10px; }
.er-hero__photo { position: relative; margin: 0; border-radius: 32px; overflow: hidden; aspect-ratio: 1 / 1.05; background: linear-gradient(135deg, #dfe9f4, #f2f6fb); box-shadow: var(--er-shadow-l); }
.er-hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.er-hero__photo.is-empty { display: grid; place-items: center; }
.er-hero__ph { width: 30%; height: auto; color: #b9c7d8; }
.er-float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px; background: rgba(255,255,255,.92); box-shadow: var(--er-shadow); border: 1px solid rgba(255,255,255,.8); animation: er-bob 7s ease-in-out infinite; }
@supports (backdrop-filter: blur(8px)) { .er-float { background: rgba(255,255,255,.75); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); } }
.er-float b { display: block; font: 700 14.5px/1.25 var(--er-display); }
.er-float small { font-size: 12.5px; color: var(--er-ink-2); }
.er-float__ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--er-blue); color: #fff; flex: none; }
.er-float__ico--mint { background: var(--er-mint); }
.er-float__ico .er-ico { width: 22px; height: 22px; }
.er-float--1 { top: 9%; left: -6%; }
.er-float--2 { bottom: 8%; right: -4%; animation-delay: -3s; }
@keyframes er-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Barra de confianza */
.er-trust { padding: 10px 0 20px; }
.er-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--er-line); border: 1px solid var(--er-line); border-radius: var(--er-r); overflow: hidden; }
.er-trust__item { display: flex; gap: 14px; align-items: center; padding: 20px 22px; background: var(--er-surface); }
.er-trust__item .er-ico { width: 28px; height: 28px; color: var(--er-blue); }
.er-trust__item b { display: block; font: 700 15px/1.3 var(--er-display); }
.er-trust__item span { display: block; font-size: 13.5px; line-height: 1.35; color: var(--er-mute); }

/* Secciones */
.er-section { padding: clamp(44px, 6vw, 80px) 0 0; }
.er-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 26px; }
.er-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); margin: 0; letter-spacing: -.035em; }
.er-head--center { justify-content: center; text-align: center; }

/* Categorías */
.er-cats__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.er-cat { display: flex; flex-direction: column; padding: 8px 8px 16px; border-radius: var(--er-r); background: var(--er-surface); border: 1px solid var(--er-line); text-decoration: none !important; color: var(--er-ink) !important; transition: transform .35s var(--er-ease), box-shadow .35s var(--er-ease), border-color .35s; }
.er-cat:hover { transform: translateY(-5px); box-shadow: var(--er-shadow); border-color: transparent; }
.er-cat__img { display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, #e3ebf4, #f2f6fb); }
.er-cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--er-ease); }
.er-cat:hover .er-cat__img img { transform: scale(1.05); }
.er-cat__name { margin: 12px 8px 0; font: 700 15px/1.25 var(--er-display); }
.er-cat__count { margin: 2px 8px 0; font-size: 13px; color: var(--er-mute); }

/* ---------- Rejilla de productos ---------- */
.er ul.products { list-style: none; margin: 0 0 30px; padding: 0; display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.er ul.products.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.er ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.er ul.products.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.er ul.products::before, .er ul.products::after { display: none !important; }
.er ul.products li.product {
  float: none !important; width: auto !important; margin: 0 !important; padding: 8px !important;
  display: flex; flex-direction: column; position: relative; text-align: left;
  background: var(--er-surface); border: 1px solid var(--er-line); border-radius: var(--er-r);
  transition: transform .35s var(--er-ease), box-shadow .35s var(--er-ease), border-color .35s;
}
.er ul.products li.product:hover { transform: translateY(-5px); box-shadow: var(--er-shadow); border-color: transparent; }
.er ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; color: var(--er-ink); text-decoration: none; }
.er-card__media { position: relative; display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, #e3ebf4, #f2f6fb); }
.er ul.products li.product .er-card__media img { width: 100% !important; height: 100% !important; object-fit: cover; margin: 0 !important; border-radius: 0; transition: transform .7s var(--er-ease); display: block; }
.er ul.products li.product:hover .er-card__media img { transform: scale(1.05); }
.er ul.products li.product.outofstock .er-card__media img { filter: grayscale(.7); opacity: .65; }
.er-badges { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.er-badge { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--er-gold); color: var(--er-ink); font: 700 12px/1 var(--er-display); letter-spacing: .01em; }
.er-badge--sale { background: var(--er-red); color: #fff; }
.er-badge--out { background: var(--er-ink); color: #fff; }
.er-card__body { display: block; padding: 14px 8px 6px; }
.er-card__cat { display: block; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--er-mute); margin-bottom: 4px; }
.er ul.products li.product .woocommerce-loop-product__title { padding: 0 !important; margin: 0 !important; font: 600 15.5px/1.35 var(--er-display) !important; letter-spacing: -.01em; color: var(--er-ink); }
.er-card__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding: 10px 8px 6px; }
.er ul.products li.product .price { margin: 0 !important; display: flex; flex-direction: column; gap: 2px; color: var(--er-ink) !important; font: 800 20px/1.05 var(--er-display) !important; letter-spacing: -.02em; }
.er ul.products li.product .price del { order: -1; font: 500 13px/1 var(--er-body); color: var(--er-mute); opacity: 1; }
.er ul.products li.product .price ins { text-decoration: none; color: var(--er-red); }
.er ul.products li.product .button { margin: 0 !important; min-height: 42px; padding: 0 14px 0 12px; font-size: 14px; flex: none; }
.er ul.products li.product .button .er-ico { width: 18px; height: 18px; }
.er ul.products li.product .button.loading { opacity: .6; }
.er ul.products li.product .button.loading::after { display: none; }
.er ul.products li.product .button.added { background: var(--er-mint); }
.er ul.products li.product .added_to_cart { display: none !important; }
.er ul.products li.product .button.product_type_simple:not(.add_to_cart_button) { background: var(--er-ice); color: var(--er-ink); }

/* Ofertas destacadas */
.er-deals ul.products li.product { border-color: #fde3e6; }

/* Promo */
.er-promo__card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; padding: clamp(28px, 4.5vw, 56px); border-radius: 32px; color: #fff; background: linear-gradient(120deg, #0f1b2d 0%, #16337f 55%, #1f4fe0 100%); box-shadow: var(--er-shadow-l); }
.er-promo__card::before { content: ""; position: absolute; width: 480px; height: 480px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(15,181,154,.45), transparent 65%); }
.er-promo__copy { position: relative; }
.er-promo__copy h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.6rem); max-width: 18ch; }
.er-promo__copy p { color: #c9d6ef; max-width: 46ch; margin: 0 0 24px; }
.er-promo__img { position: relative; margin: 0; }
.er-promo__img img { width: 100%; aspect-ratio: 1.15; object-fit: cover; border-radius: 22px; display: block; }

/* Pasos */
.er-steps__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.er-step { padding: 28px; border-radius: var(--er-r); background: var(--er-surface); border: 1px solid var(--er-line); }
.er-step__n { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 14px; background: var(--er-blue); color: #fff; font: 800 19px/1 var(--er-display); }
.er-step:nth-child(2) .er-step__n { background: var(--er-mint); }
.er-step:nth-child(3) .er-step__n { background: var(--er-gold); color: var(--er-ink); }
.er-step h3 { font-size: 1.25rem; }
.er-step p { margin: 0; color: var(--er-ink-2); }

/* Entregas */
.er-delivery__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.er-delivery__intro h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); letter-spacing: -.035em; }
.er-delivery__img { margin: 26px 0 0; }
.er-delivery__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; display: block; box-shadow: var(--er-shadow); }
.er-zones { background: var(--er-surface); border: 1px solid var(--er-line); border-radius: var(--er-r); padding: 8px; }
.er-zones__head, .er-zones li { display: grid; grid-template-columns: 1fr auto 64px; gap: 14px; align-items: center; padding: 11px 14px; }
.er-zones__head { font: 700 11.5px/1 var(--er-display); letter-spacing: .1em; text-transform: uppercase; color: var(--er-mute); }
.er-zones ul { list-style: none; margin: 0; padding: 0; }
.er-zones li { border-top: 1px solid var(--er-line); font-size: 15px; border-radius: 8px; }
.er-zones li:nth-child(odd) { background: #f8fafd; }
.er-zones li span:nth-child(2) { color: var(--er-mute); font-size: 13.5px; }
.er-zones li b { text-align: right; font-family: var(--er-display); }
.er-zones__foot { display: flex; align-items: center; gap: 8px; margin: 0; padding: 14px; border-top: 1px solid var(--er-line); color: var(--er-ink-2); font-size: 14px; }
.er-zones__foot .er-ico { color: var(--er-mint); }

/* FAQ */
.er-faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.er-faq__grid .er-head { display: block; }
.er-faq__grid .er-head p { margin-top: 14px; }
.er-faq__list { display: grid; gap: 10px; }
.er-faq__item { background: var(--er-surface); border: 1px solid var(--er-line); border-radius: 16px; padding: 0 20px; }
.er-faq__item summary { list-style: none; cursor: pointer; position: relative; padding: 18px 34px 18px 0; font: 600 16px/1.35 var(--er-display); }
.er-faq__item summary::-webkit-details-marker { display: none; }
.er-faq__item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font: 400 26px/1 var(--er-display); color: var(--er-blue); transition: transform .3s var(--er-ease); }
.er-faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.er-faq__item p { margin: 0 0 18px; color: var(--er-ink-2); }

/* CTA */
.er-cta { padding-bottom: clamp(50px, 7vw, 90px); }
.er-cta__card { position: relative; overflow: hidden; text-align: center; padding: clamp(36px, 6vw, 70px) 24px; border-radius: 32px; background: linear-gradient(120deg, #0d8f79, var(--er-mint) 50%, #3fd3b9); color: #fff; }
.er-cta__card h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 3rem); letter-spacing: -.035em; }
.er-cta__card p { max-width: 48ch; margin: 0 auto 26px; color: rgba(255,255,255,.9); }

/* Aparición */
.er-js .er-reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--er-ease), transform .7s var(--er-ease); }
.er-js .er-reveal.is-in, .er-js.er-reveal-all .er-reveal { opacity: 1; transform: none; }

/* ---------- Pie ---------- */
.er-footer { background: var(--er-ink); color: #b5c3d6; padding: 56px 0 24px; font-size: 14.5px; }
.er-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.er-footer .er-logo { color: #fff !important; }
.er-footer__brand p { margin: 16px 0 18px; max-width: 36ch; }
.er-footer__h { color: #fff !important; font-size: 13px !important; letter-spacing: .14em; text-transform: uppercase; margin: 6px 0 16px !important; }
.er-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.er-footer ul.er-menu { display: grid; gap: 10px; overflow: visible; }
.er-footer ul.er-menu a { padding: 0; border: 0; font: inherit; color: #b5c3d6; }
.er-footer a { color: #b5c3d6; text-decoration: none; }
.er-footer a:hover { color: #fff; }
.er-contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.er-contact-list .er-ico { width: 18px; height: 18px; margin-top: 2px; color: var(--er-gold); }
.er-social { display: flex; gap: 8px; }
.er-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background .2s; }
.er-social a:hover { background: var(--er-blue); }
.er-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: #8193ab; }

.er-wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--er-wa); color: #fff !important; box-shadow: 0 16px 30px -10px rgba(31,170,90,.65); transition: transform .3s var(--er-ease); }
.er-wa-float:hover { transform: scale(1.07); }
.er-wa-float .er-ico { width: 30px; height: 30px; }
.woocommerce-checkout .er-wa-float, .woocommerce-cart .er-wa-float { display: none; }

/* ---------- Páginas ---------- */
.er-page { padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(50px, 7vw, 90px); }
.er-page--narrow { max-width: 820px; }
.er-page__head h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.04em; margin-bottom: 24px; }
.er-prose { max-width: 760px; font-size: 17px; }
.er-prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.er-prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.er-prose ul { padding-left: 1.2em; }
.er-prose li { margin-bottom: .4em; }
.er-page__img { margin: 0 0 26px; }
.er-page__img img { border-radius: 22px; }
.er-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.er-post-card { background: var(--er-surface); border: 1px solid var(--er-line); border-radius: var(--er-r); padding: 10px 10px 18px; }
.er-post-card img { border-radius: 14px; display: block; }
.er-post-card h2 { font-size: 1.15rem; margin: 14px 8px 6px; }
.er-post-card h2 a { color: var(--er-ink); text-decoration: none; }
.er-post-card p { margin: 0 8px; color: var(--er-ink-2); font-size: 15px; }
.er-404 { text-align: center; }
.er-404__n { font: 800 clamp(5rem, 16vw, 10rem)/1 var(--er-display); letter-spacing: -.06em; margin: 20px 0 0; background: linear-gradient(100deg, var(--er-blue), var(--er-mint)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.er-404__ctas { display: flex; justify-content: center; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

/* ==========================================================================
   WooCommerce
   ========================================================================== */
.er-shop { padding-top: 22px; padding-bottom: clamp(50px, 7vw, 90px); }
.er-breadcrumb { margin: 0 0 18px !important; font-size: 13.5px !important; color: var(--er-mute) !important; }
.er-breadcrumb a { color: var(--er-ink-2) !important; text-decoration: none; }
.er-breadcrumb a:hover { color: var(--er-blue) !important; }
.er-bc-sep { margin: 0 8px; opacity: .6; }
.er .woocommerce-products-header { margin-bottom: 10px; }
.er .woocommerce-products-header__title, .er-shop > h1.page-title { font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: -.04em; margin: 0 0 8px; }
.er .term-description { color: var(--er-ink-2); max-width: 70ch; }
.er .term-description p { margin: 0 0 6px; }

.er-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 14px 0 22px; padding-bottom: 2px; }
.er-chips::-webkit-scrollbar { display: none; }
.er-chip { flex: none; padding: 10px 16px; border-radius: 999px; background: var(--er-surface); border: 1px solid var(--er-line); color: var(--er-ink-2) !important; font: 600 14px/1 var(--er-display); text-decoration: none !important; transition: all .2s; }
.er-chip:hover { border-color: var(--er-line-2); color: var(--er-ink) !important; }
.er-chip.is-on { background: var(--er-ink); border-color: var(--er-ink); color: #fff !important; }

.er .woocommerce-result-count { float: left; margin: 10px 0 18px; color: var(--er-mute); font-size: 14px; }
.er .woocommerce-ordering { float: right; margin: 0 0 18px; }
.er .woocommerce-ordering select, .er select.orderby { height: 42px; padding: 0 38px 0 14px; border: 1px solid var(--er-line-2); border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%233f4f63' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; -webkit-appearance: none; appearance: none; font-size: 14px; color: var(--er-ink); cursor: pointer; }
.er-shop ul.products { clear: both; }

.er nav.woocommerce-pagination { margin-top: 10px; text-align: center; }
.er nav.woocommerce-pagination ul { border: 0 !important; display: inline-flex; gap: 6px; }
.er nav.woocommerce-pagination ul li { border: 0 !important; }
.er nav.woocommerce-pagination ul li a, .er nav.woocommerce-pagination ul li span { min-width: 42px; height: 42px; display: grid !important; place-items: center; padding: 0 12px !important; border-radius: 999px; background: #fff; border: 1px solid var(--er-line); color: var(--er-ink); font-weight: 600; }
.er nav.woocommerce-pagination ul li span.current { background: var(--er-ink); color: #fff; border-color: var(--er-ink); }

/* Avisos */
.er .woocommerce-message, .er .woocommerce-info, .er .woocommerce-error, .er .wc-block-components-notice-banner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 22px; padding: 14px 18px 14px 50px; border: 0; border-radius: 14px;
  background: #eef8f4; color: var(--er-ink); font-size: 15px; box-shadow: inset 0 0 0 1px #c5eadc; list-style: none; position: relative;
}
.er .woocommerce-message::before, .er .woocommerce-info::before, .er .woocommerce-error::before { top: 50%; left: 18px; transform: translateY(-50%); color: var(--er-mint); }
.er .woocommerce-info { background: #eef3fd; box-shadow: inset 0 0 0 1px #cfdcfa; }
.er .woocommerce-info::before { color: var(--er-blue); }
.er .woocommerce-error { background: #fdf0f2; box-shadow: inset 0 0 0 1px #f6cdd3; flex-direction: column; align-items: flex-start; }
.er .woocommerce-error::before { color: var(--er-red); top: 22px; transform: none; }
.er .woocommerce-message::after, .er .woocommerce-info::after, .er .woocommerce-error::after { display: none; }
.er .woocommerce-message .button, .er .woocommerce-info .button { order: 2; margin-left: auto; min-height: 38px; padding: 0 16px; font-size: 14px; float: none; }
.er .woocommerce-error li { margin: 0; }

/* ---------- Ficha de producto ---------- */
.er-shop--single div.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(26px, 4.5vw, 60px); align-items: start; }
.er-shop--single div.product > * { grid-column: 1 / -1; }
.er-shop--single div.product div.images { grid-column: 1; float: none !important; width: auto !important; margin: 0 !important; }
.er .er-shop--single div.product div.images.woocommerce-product-gallery { position: sticky; top: 140px; }
.er-shop--single div.product div.summary { grid-column: 2; float: none !important; width: auto !important; margin: 0 !important; }
.er div.product div.images .woocommerce-product-gallery__wrapper { border-radius: 26px; overflow: hidden; background: #fff; border: 1px solid var(--er-line); }
.er div.product div.images img { border-radius: 0; }
.er div.product div.images .flex-control-thumbs { display: flex; gap: 10px; margin-top: 12px !important; }
.er div.product div.images .flex-control-thumbs li { width: 80px !important; }
.er div.product div.images .flex-control-thumbs img { border-radius: 12px; border: 2px solid transparent; }
.er div.product div.images .flex-control-thumbs img.flex-active { border-color: var(--er-blue); }
.er div.product .woocommerce-product-gallery__trigger { top: 14px !important; right: 14px !important; background: #fff !important; box-shadow: var(--er-shadow-s); }
.er-single-top { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.er-single-top .er-eyebrow { margin: 0; }
.er-single-top .er-badges { position: static; }
.er div.product .product_title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); letter-spacing: -.035em; margin-bottom: 14px; }
.er div.product p.price, .er div.product span.price { color: var(--er-ink) !important; font: 800 clamp(1.8rem, 3vw, 2.3rem)/1.1 var(--er-display) !important; letter-spacing: -.03em; margin: 0 0 16px !important; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.er div.product p.price del { order: 2; font: 500 18px/1 var(--er-body); color: var(--er-mute); opacity: 1; }
.er div.product p.price ins { text-decoration: none; color: var(--er-red); }
.er div.product .woocommerce-product-details__short-description { color: var(--er-ink-2); font-size: 17px; margin-bottom: 22px; }
.er div.product .stock { font-weight: 600; margin: 0 0 14px; }
.er div.product .stock.in-stock { color: var(--er-mint) !important; }
.er div.product .stock.out-of-stock { color: var(--er-red) !important; }
.er div.product form.cart { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 14px !important; padding: 18px; border-radius: 18px; background: var(--er-surface); border: 1px solid var(--er-line); }
.er div.product form.cart::before, .er div.product form.cart::after { display: none; }
.er div.product form.cart .quantity { margin: 0 !important; float: none !important; }
.er div.product form.cart .single_add_to_cart_button { flex: 1; min-height: 52px; font-size: 16px; float: none !important; box-shadow: 0 14px 30px -16px rgba(31,79,224,.8); }
.er div.quantity { display: inline-flex !important; align-items: center; height: 52px; border: 1px solid var(--er-line-2); border-radius: 999px; background: #fff; overflow: hidden; }
.er div.quantity .qty { width: 48px !important; height: 100%; border: 0 !important; background: transparent; text-align: center; font: 700 16px/1 var(--er-display); -moz-appearance: textfield; padding: 0; }
.er div.quantity .qty::-webkit-outer-spin-button, .er div.quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.er-qty-btn { width: 42px; height: 100%; border: 0; background: transparent; font-size: 20px; color: var(--er-ink); cursor: pointer; }
.er-qty-btn:hover { background: var(--er-ice); }
.er-single-wa { min-height: 50px; margin-bottom: 20px; }
.er-perks { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 1px; background: var(--er-line); border: 1px solid var(--er-line); border-radius: 16px; overflow: hidden; }
.er-perks li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; background: var(--er-surface); font-size: 13.5px; color: var(--er-mute); }
.er-perks .er-ico { width: 24px; height: 24px; color: var(--er-blue); }
.er-perks b { display: block; font: 600 14.5px/1.3 var(--er-display); color: var(--er-ink); }
.er div.product .product_meta { font-size: 13.5px; color: var(--er-mute); }
.er div.product .product_meta > span { display: block; margin-bottom: 4px; }
.er div.product .product_meta a { color: var(--er-ink-2); }

.er div.product .woocommerce-tabs { margin-top: clamp(20px, 4vw, 40px); padding: 0 !important; }
.er div.product .woocommerce-tabs ul.tabs { display: flex; gap: 6px; padding: 0 !important; margin: 0 0 18px !important; border-bottom: 1px solid var(--er-line); overflow-x: auto; }
.er div.product .woocommerce-tabs ul.tabs::before, .er div.product .woocommerce-tabs ul.tabs li::before, .er div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.er div.product .woocommerce-tabs ul.tabs li { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; border-radius: 0 !important; }
.er div.product .woocommerce-tabs ul.tabs li a { display: block; padding: 12px 16px !important; font: 600 15px/1 var(--er-display) !important; color: var(--er-mute) !important; border-bottom: 2px solid transparent; }
.er div.product .woocommerce-tabs ul.tabs li.active a { color: var(--er-ink) !important; border-bottom-color: var(--er-blue); }
.er div.product .woocommerce-tabs .panel { max-width: 860px; margin: 0 0 20px !important; font-size: 16.5px; color: var(--er-ink-2); }
.er table.shop_attributes { border: 0 !important; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--er-line); margin: 0; }
.er table.shop_attributes th, .er table.shop_attributes td { border: 0 !important; border-bottom: 1px solid var(--er-line) !important; padding: 14px 18px !important; font-style: normal !important; text-align: left; }
.er table.shop_attributes tr:last-child th, .er table.shop_attributes tr:last-child td { border-bottom: 0 !important; }
.er table.shop_attributes th { width: 34%; font-weight: 600; color: var(--er-ink); background: #f8fafd; }
.er table.shop_attributes td p { margin: 0; padding: 0 !important; }
.er .related.products, .er .upsells.products { margin-top: 30px; }
.er .related.products > h2, .er .upsells.products > h2 { font-size: 1.7rem; letter-spacing: -.03em; margin-bottom: 20px; }

/* ---------- Carrito (página) ---------- */
.er-page--wc .er-content { max-width: none; }
.er .woocommerce-cart-form { margin-bottom: 30px; }
.er table.shop_table { border: 0 !important; border-radius: var(--er-r) !important; background: #fff; box-shadow: inset 0 0 0 1px var(--er-line); border-collapse: separate !important; overflow: hidden; }
.er table.shop_table th { font: 700 12px/1 var(--er-display); letter-spacing: .1em; text-transform: uppercase; color: var(--er-mute); padding: 16px 14px !important; }
.er table.shop_table td { border-top: 1px solid var(--er-line) !important; padding: 16px 14px !important; vertical-align: middle; }
.er table.shop_table td.product-thumbnail img { width: 76px !important; height: 76px; object-fit: cover; border-radius: 12px; }
.er table.shop_table td.product-name a { color: var(--er-ink); font: 600 15.5px/1.3 var(--er-display); text-decoration: none; }
.er table.shop_table td.product-remove a.remove { width: 28px; height: 28px; line-height: 26px; color: var(--er-mute) !important; background: var(--er-ice); font-size: 18px; border-radius: 50%; }
.er table.shop_table td.product-remove a.remove:hover { background: var(--er-red); color: #fff !important; }
.er table.shop_table td.actions .coupon .input-text { height: 46px; border-radius: 999px; border: 1px solid var(--er-line-2); padding: 0 16px; width: 180px; }
.er table.shop_table td.actions > .button { background: var(--er-ice); color: var(--er-ink); }
.er .cart-collaterals .cart_totals { float: right; width: min(460px, 100%) !important; background: #fff; border: 1px solid var(--er-line); border-radius: var(--er-r); padding: 22px; }
.er .cart-collaterals .cart_totals h2 { font-size: 1.35rem; }
.er .cart-collaterals .cart_totals table.shop_table { box-shadow: none; border-radius: 0 !important; }
.er .cart-collaterals .cart_totals table.shop_table th, .er .cart-collaterals .cart_totals table.shop_table td { padding: 12px 0 !important; text-transform: none; letter-spacing: 0; font: 500 15px/1.4 var(--er-body); color: var(--er-ink-2); }
.er .cart-collaterals .cart_totals .order-total th, .er .cart-collaterals .cart_totals .order-total td { font: 800 19px/1.3 var(--er-display) !important; color: var(--er-ink) !important; }
.er .wc-proceed-to-checkout { padding: 14px 0 0 !important; }
.er .wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 54px; font-size: 16.5px !important; margin: 0 !important; box-shadow: 0 14px 30px -16px rgba(31,79,224,.8); }
.er .woocommerce-shipping-destination, .er .woocommerce-shipping-calculator { display: none; }
.er ul#shipping_method { margin: 0; padding: 0; list-style: none; }
.er ul#shipping_method li { margin: 0; text-indent: 0; padding: 0 !important; }
.er .cart-empty.woocommerce-info { font-size: 17px; }
.er .return-to-shop .button { margin-top: 6px; }

/* ---------- Checkout ---------- */
.er-checkout-intro { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; padding: 16px 20px; border-radius: 16px; background: linear-gradient(120deg, #eaf7f3, #eef3fd); border: 1px solid #d3ece4; }
.er-checkout-intro .er-ico { width: 30px; height: 30px; color: var(--er-mint); }
.er-checkout-intro p { margin: 0; color: var(--er-ink-2); }
.er-checkout-intro b { color: var(--er-ink); }
.er form.checkout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 0 clamp(24px, 4vw, 48px); align-items: start; }
.er form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
.er form.checkout #customer_details { grid-column: 1; grid-row: 1 / span 3; }
.er form.checkout #order_review_heading { grid-column: 2; margin: 0 0 14px; font-size: 1.35rem; }
.er form.checkout #order_review { grid-column: 2; position: sticky; top: 150px; background: #fff; border: 1px solid var(--er-line); border-radius: var(--er-r); padding: 20px; }
.er #customer_details .col-1, .er #customer_details .col-2 { float: none !important; width: 100% !important; }
.er #customer_details .col-2:empty { display: none; }
.er .woocommerce-billing-fields, .er .woocommerce-additional-fields { background: #fff; border: 1px solid var(--er-line); border-radius: var(--er-r); padding: 22px 22px 8px; margin-bottom: 18px; }
.er .woocommerce-billing-fields h3, .er .woocommerce-additional-fields h3 { font-size: 1.3rem; margin-bottom: 16px; }
.er .woocommerce-billing-fields__field-wrapper { display: flex; flex-wrap: wrap; justify-content: space-between; }
.er form .form-row { margin: 0 0 16px !important; padding: 0 !important; }
.er form .form-row-first, .er form .form-row-last { width: calc(50% - 8px) !important; float: none !important; }
.er form .form-row-wide { width: 100%; }
.er form .form-row label { display: block; margin-bottom: 6px; font: 600 13.5px/1.3 var(--er-display); color: var(--er-ink); }
.er form .form-row .required { color: var(--er-red); text-decoration: none; }
.er form .form-row .optional { color: var(--er-mute); font-weight: 400; }
.er form .form-row input.input-text, .er form .form-row textarea, .er form .form-row select, .er .select2-container .select2-selection--single, .er .woocommerce-input-wrapper select,
.er input[type="text"], .er input[type="email"], .er input[type="tel"], .er input[type="password"], .er input[type="number"]:not(.qty), .er textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid var(--er-line-2); border-radius: 12px; background: #fff; color: var(--er-ink); font-size: 16px; line-height: 1.4; transition: border-color .2s, box-shadow .2s;
}
.er form .form-row select, .er .woocommerce-input-wrapper select { -webkit-appearance: none; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%233f4f63' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; padding-right: 42px; cursor: pointer; }
.er form .form-row textarea { min-height: 90px; resize: vertical; }
.er form .form-row input.input-text:focus, .er form .form-row textarea:focus, .er form .form-row select:focus { outline: none; border-color: var(--er-blue); box-shadow: 0 0 0 4px rgba(31,79,224,.12); }
.er form .form-row.woocommerce-invalid input.input-text, .er form .form-row.woocommerce-invalid select { border-color: var(--er-red) !important; }
.er form .form-row.woocommerce-validated input.input-text, .er form .form-row.woocommerce-validated select { border-color: var(--er-line-2); }
.er .er-hidden-field { display: none !important; }
.er .select2-container .select2-selection--single { display: flex; align-items: center; }
.er .select2-container .select2-selection--single .select2-selection__arrow { top: 12px; right: 10px; }

.er table.woocommerce-checkout-review-order-table { box-shadow: none; border-radius: 0 !important; margin-bottom: 16px; }
.er table.woocommerce-checkout-review-order-table th, .er table.woocommerce-checkout-review-order-table td { padding: 11px 0 !important; font: 500 14.5px/1.4 var(--er-body); text-transform: none; letter-spacing: 0; color: var(--er-ink-2); }
.er table.woocommerce-checkout-review-order-table td.product-name { color: var(--er-ink); font-weight: 600; }
.er table.woocommerce-checkout-review-order-table .product-total, .er table.woocommerce-checkout-review-order-table tfoot td { text-align: right; }
.er table.woocommerce-checkout-review-order-table tfoot th { color: var(--er-ink-2); }
.er table.woocommerce-checkout-review-order-table .order-total th, .er table.woocommerce-checkout-review-order-table .order-total td { font: 800 20px/1.3 var(--er-display) !important; color: var(--er-ink) !important; }
.er table.woocommerce-checkout-review-order-table .woocommerce-shipping-totals td { font-weight: 600; color: var(--er-ink); }
.er #payment { background: transparent !important; border-radius: 0 !important; }
.er #payment ul.payment_methods { padding: 0 !important; border: 0 !important; display: grid; gap: 10px; margin: 0 0 16px !important; }
.er #payment ul.payment_methods li { list-style: none; margin: 0 !important; padding: 14px 16px !important; border: 1px solid var(--er-line-2); border-radius: 14px; background: #fff; line-height: 1.4 !important; }
.er #payment ul.payment_methods li:has(input:checked) { border-color: var(--er-blue); box-shadow: 0 0 0 3px rgba(31,79,224,.12); }
.er #payment ul.payment_methods li label { font: 600 15px/1.3 var(--er-display); cursor: pointer; }
.er #payment ul.payment_methods li input { margin: 0 8px 0 0; accent-color: var(--er-blue); }
.er #payment div.payment_box { background: var(--er-ice) !important; color: var(--er-ink-2) !important; border-radius: 10px !important; margin: 10px 0 0 !important; padding: 10px 12px !important; font-size: 13.5px !important; }
.er #payment div.payment_box::before { display: none !important; }
.er #payment div.payment_box p { margin: 0; }
.er #payment div.form-row.place-order { padding: 0 !important; margin: 0 !important; }
.er #payment .woocommerce-privacy-policy-text { font-size: 12.5px; color: var(--er-mute); }
.er #payment #place_order { width: 100%; min-height: 56px; font-size: 17px !important; float: none; box-shadow: 0 14px 30px -16px rgba(31,79,224,.8); }
.er .woocommerce-form-login-toggle .woocommerce-info { font-size: 14px; }
.er .woocommerce-form-login, .er .woocommerce-form-register { background: #fff; border: 1px solid var(--er-line) !important; border-radius: var(--er-r) !important; padding: 22px !important; }
.er .blockUI.blockOverlay { border-radius: var(--er-r); }

/* Gracias */
.er-thanks { display: grid; grid-template-columns: auto 1fr auto; gap: 16px 22px; align-items: center; margin: 0 0 28px; padding: 24px; border-radius: 22px; background: linear-gradient(120deg, #eaf7f3, #eef3fd); border: 1px solid #cfe9df; }
.er-thanks__ico { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--er-mint); color: #fff; }
.er-thanks__ico .er-ico { width: 30px; height: 30px; }
.er-thanks h2 { font-size: 1.5rem; margin: 0 0 4px; }
.er-thanks p { margin: 0; color: var(--er-ink-2); }
.er-thanks .er-btn { min-height: 54px; font-size: 16px; }
.er .woocommerce-order { max-width: 920px; }
.er .woocommerce-order > p.woocommerce-thankyou-order-received { font-size: 16px; color: var(--er-ink-2); }
.er ul.woocommerce-order-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; padding: 0 !important; margin: 0 0 28px !important; background: var(--er-line); border: 1px solid var(--er-line); border-radius: 18px; overflow: hidden; }
.er ul.woocommerce-order-overview::before, .er ul.woocommerce-order-overview::after { display: none !important; }
.er ul.woocommerce-order-overview li { margin: 0 !important; padding: 16px 18px !important; border: 0 !important; background: #fff; float: none !important; font-size: 12px !important; text-transform: uppercase; letter-spacing: .08em; color: var(--er-mute); }
.er ul.woocommerce-order-overview li strong { display: block; margin-top: 6px; font: 700 16px/1.3 var(--er-display) !important; color: var(--er-ink); text-transform: none; letter-spacing: 0; }
.er .woocommerce-order-details, .er .woocommerce-customer-details { margin-bottom: 26px; }
.er .woocommerce-order-details__title, .er .woocommerce-column__title { font-size: 1.35rem; }
.er .woocommerce-customer-details address { border: 1px solid var(--er-line) !important; border-radius: 16px; padding: 16px 18px !important; background: #fff; font-style: normal; line-height: 1.7; }

/* Mi cuenta */
.er .woocommerce-account .woocommerce, .woocommerce-account.er .er-content > .woocommerce { display: grid; grid-template-columns: 240px 1fr; gap: 30px; align-items: start; }
.er .woocommerce-MyAccount-navigation, .er .woocommerce-MyAccount-content { float: none !important; width: auto !important; }
.er .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--er-line); border-radius: 18px; }
.er .woocommerce-MyAccount-navigation li a { display: block; padding: 11px 14px; border-radius: 10px; color: var(--er-ink-2); text-decoration: none; font-weight: 600; }
.er .woocommerce-MyAccount-navigation li.is-active a, .er .woocommerce-MyAccount-navigation li a:hover { background: var(--er-ice); color: var(--er-ink); }
.woocommerce-account:not(.logged-in).er .er-content > .woocommerce { display: block; }
.er .u-columns.col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.er .u-columns.col2-set .col-1, .er .u-columns.col2-set .col-2 { width: auto !important; float: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .er ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .er-cats__grid { grid-template-columns: repeat(3, 1fr); }
  .er-footer__grid { grid-template-columns: 1fr 1fr; }
  .er-cart-btn__txt { display: none; }
  .er-cart-btn { width: 50px; padding: 0; justify-content: center; }
  .er-cart-count { left: auto; right: -2px; }
}
@media (max-width: 900px) {
  .er-topbar__right span { display: none; }
  .er-only-mobile { display: inline-grid !important; }
  .er-only-desktop { display: none !important; }
  .er-nav { display: none; }
  .er-header__in { flex-wrap: wrap; gap: 6px 10px; min-height: 0; padding-top: 10px; padding-bottom: 10px; }
  .er-header__logo { flex: 1; }
  .er-logo { font-size: 19px; }
  .er-logo svg { width: 34px; height: 34px; }
  .er-search { order: 3; flex: 1 0 100%; max-width: none; height: 46px; }
  .er-search button { display: none; }
  .er-hero__grid { grid-template-columns: 1fr; }
  .er-hero h1 { max-width: 14ch; }
  .er-hero__visual { max-width: 520px; width: 100%; margin: 0 auto; }
  .er-trust__grid { grid-template-columns: 1fr 1fr; }
  .er-promo__card, .er-delivery__grid, .er-faq__grid { grid-template-columns: 1fr; }
  .er-steps__grid { grid-template-columns: 1fr; }
  .er-shop--single div.product { grid-template-columns: 1fr; }
  .er-shop--single div.product div.images, .er-shop--single div.product div.summary { grid-column: 1; }
  .er .er-shop--single div.product div.images.woocommerce-product-gallery { position: relative; top: auto; }
  .er form.checkout { grid-template-columns: 1fr; }
  .er form.checkout #customer_details, .er form.checkout #order_review_heading, .er form.checkout #order_review { grid-column: 1; grid-row: auto; position: static; }
  .er form.checkout #order_review_heading { margin-top: 8px; }
  .er .cart-collaterals .cart_totals { float: none; width: 100% !important; }
  .er-thanks { grid-template-columns: auto 1fr; }
  .er-thanks .er-btn { grid-column: 1 / -1; }
  .er .woocommerce-account .woocommerce, .woocommerce-account.er .er-content > .woocommerce { grid-template-columns: 1fr; }
  .er-posts { grid-template-columns: 1fr 1fr; }
  html { scroll-padding-top: 130px; }
}
@media (max-width: 782px) { .admin-bar .er-header, .admin-bar .er-panel { top: 46px; } }
@media (max-width: 600px) {
  .admin-bar .er-header { top: 0; }
  .er-topbar__in { justify-content: center; min-height: 34px; font-size: 12px; }
  .er-topbar__right { display: none !important; }
  .er ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; }
  .er ul.products li.product { padding: 6px !important; border-radius: 16px; }
  .er-card__body { padding: 10px 4px 4px; }
  .er ul.products li.product .woocommerce-loop-product__title { font-size: 14px !important; }
  .er-card__foot { padding: 8px 4px 4px; flex-wrap: wrap; }
  .er ul.products li.product .price { font-size: 17px !important; }
  .er ul.products li.product .button { width: 100%; min-height: 40px; }
  .er-badge { height: 22px; padding: 0 8px; font-size: 11px; }
  .er-cats__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .er-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .er-trust__item { padding: 14px; gap: 10px; }
  .er-trust__item .er-ico { width: 24px; height: 24px; }
  .er-trust__item b { font-size: 14px; }
  .er-trust__item span { font-size: 12.5px; }
  .er-float { padding: 9px 12px 9px 9px; }
  .er-float small { display: none; }
  .er-float__ico { width: 34px; height: 34px; }
  .er-float--1 { left: 0; top: 4%; }
  .er-float--2 { right: 0; bottom: 4%; }
  .er-zones__head, .er-zones li { grid-template-columns: 1fr auto 52px; padding: 10px; font-size: 14px; }
  .er-footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .er form .form-row-first, .er form .form-row-last { width: 100% !important; }
  .er .woocommerce-billing-fields, .er .woocommerce-additional-fields, .er form.checkout #order_review { padding: 18px 16px 6px; }
  .er form.checkout #order_review { padding-bottom: 16px; }
  .er table.shop_table_responsive tr td { padding: 10px 14px !important; }
  .er .woocommerce-ordering, .er .woocommerce-result-count { float: none; }
  .er .woocommerce-ordering select { width: 100%; }
  .er-wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .er-posts { grid-template-columns: 1fr; }
  .er .u-columns.col2-set { grid-template-columns: 1fr; }
  .er div.product form.cart { padding: 14px; }
}
