/* EZVIZ Ofertas Relámpago — se apoya en las cards del tema y en los bloques de EZVIZ Tienda.
   Lo propio: la etiqueta "⚡ -30%", la barra de tiempo, la cabecera de la sección, la franja de la ficha
   y el ítem del menú. Dorado #f3c14b solo como acento (rayo, barra, pill). Tipografía del tema. */
:root {
  --ezr-gold: #f3c14b;
  --ezr-gold-line: rgba(243, 193, 75, 0.55);
  --ezr-ink: #1d1d1f;
  --ezr-bg: #1a1b1d;
  --ezr-blue: #00a0e9;
  --ezr-blue-deep: #00608c;
  --ezr-grey: #e9eaec;
  --ezr-muted: #707070;
}

.ezr-home [hidden],
.ezr-single [hidden],
.ezr-bar [hidden],
.ezr-strip [hidden],
.ezr-strip-backdrop[hidden] {
  display: none !important;
}

/* ── Piezas ─────────────────────────────────────────────────────────── */
.ezr-bolt {
  width: 1em;
  height: 1em;
  fill: var(--ezr-gold);
  vertical-align: -0.1em;
  flex: 0 0 auto;
}
/* Etiqueta oscura "⚡ Relámpago" (cabecera de la sección, ficha) */
.ezr-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ezr-bg);
  color: #fff;
  border: 1px solid var(--ezr-gold-line);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.ezr-tag .ezr-bolt {
  width: 13px;
  height: 13px;
}
.ezr-pill {
  display: inline-block;
  border: 1px solid var(--ezr-gold-line);
  color: #a36f00;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.ezr-link {
  color: var(--ezr-ink) !important;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
}
.ezr-link:hover {
  color: var(--ezr-blue) !important;
  border-color: var(--ezr-blue);
}

/* Barra de tiempo + reloj compacto */
.ezr-bar {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  box-sizing: border-box;
  font-variant-numeric: tabular-nums;
}
.ezr-bar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  line-height: 1;
}
.ezr-bar__label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ezr-muted);
}
.ezr-bar__label .ezr-bolt {
  width: 12px;
  height: 12px;
}
.ezr-bar__time {
  font-size: 14px;
  font-weight: 700;
  color: var(--ezr-ink);
  letter-spacing: 0.01em;
}
.ezr-bar__over {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a36f00;
}
.ezr-bar__track {
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--ezr-grey);
  overflow: hidden;
}
.ezr-bar__fill {
  display: block;
  height: 100%;
  background: var(--ezr-gold);
  border-radius: 2px;
  transition: width 1s linear;
}
.ezr-bar.is-urgent .ezr-bar__time {
  color: #c2410c;
}
.ezr-bar.is-urgent .ezr-bar__fill {
  background: #e4572e;
}
.ezr-bar.is-over .ezr-bar__time,
.ezr-bar.is-over .ezr-bar__label {
  display: none;
}

/* ══════════════════════════════════════════════════════════════════════
   Card con oferta relámpago (.ezr-product, la marca el JS):
   1) un destello dorado recorre el borde de la card en loop (lo único que se mueve en la fila),
   2) etiqueta "⚡ Relámpago" sobre la foto, debajo del badge de descuento del tema,
   3) el pie de la card es una banda oscura tipo ticket: "-5% extra" dorado, reloj grande y barra.
   ══════════════════════════════════════════════════════════════════════ */
@property --ezr-a {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
body.ezviz-relampago .product.ezr-product {
  position: relative;
  isolation: isolate;
  border-radius: 12px;
  /* cada 7 s "cae un rayo": la card brilla un instante, el destello cruza en diagonal y la etiqueta titila */
  animation: ezr-strike-glow 7s linear infinite;
}
body.ezviz-relampago .product.ezr-product::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, 0.78) 50%, rgba(255, 255, 255, 0) 58%);
  background-size: 260% 100%;
  background-repeat: no-repeat;
  background-position: -160% 0;
  animation: ezr-strike-sweep 7s linear infinite;
}
@keyframes ezr-strike-glow {
  0%, 91%, 97%, 100% { box-shadow: 0 0 0 0 rgba(243, 193, 75, 0); }
  93% { box-shadow: 0 0 0 3px rgba(243, 193, 75, 0.35), 0 0 32px 4px rgba(243, 193, 75, 0.55); }
}
@keyframes ezr-strike-sweep {
  0%, 91% { background-position: -160% 0; }
  99%, 100% { background-position: 160% 0; }
}
@keyframes ezr-corner-blink {
  0%, 91%, 97%, 100% { background: var(--ezr-bg); color: #fff; }
  93%, 95% { background: var(--ezr-gold); color: var(--ezr-ink); }
}
body.ezviz-relampago .product.ezr-product::before {
  /* anillo de 2 px: dorado tenue + destello que gira */
  content: "";
  position: absolute;
  inset: 0; /* dentro de la card: con -4px los anillos de cards vecinas se tocaban en mobile */
  border-radius: 12px;
  padding: 2px;
  z-index: 4;
  pointer-events: none;
  background: conic-gradient(from var(--ezr-a), rgba(243, 193, 75, 0.28) 0deg, rgba(243, 193, 75, 0.28) 230deg, #f3c14b 300deg, #fff3c4 325deg, #f3c14b 345deg, rgba(243, 193, 75, 0.28) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: ezr-orbit 3.4s linear infinite;
}
@keyframes ezr-orbit {
  to { --ezr-a: 360deg; }
}
/* Etiqueta sobre la foto (la pone el JS) */
.ezr-corner {
  position: absolute;
  top: 44px;
  left: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--ezr-bg);
  color: #fff;
  border: 1px solid var(--ezr-gold-line);
  border-radius: 6px;
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}
.ezr-corner .ezr-bolt {
  width: 12px;
  height: 12px;
  animation: ezr-menu-glow 2.4s ease-in-out infinite;
}
.ezr-corner {
  animation: ezr-corner-blink 7s linear infinite;
}
.ezr-corner:has(.ezr-bolt) .ezr-bolt {
  fill: currentColor;
}
.ezr-corner .ezr-bolt {
  fill: var(--ezr-gold);
}

/* La barra nace en .thumbnail-wrapper (Loobek) y el JS la lleva al pie del .meta-wrapper */
.thumbnail-wrapper .ezr-bar--loop {
  display: none;
}
.meta-wrapper .ezr-bar--loop {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 12px 12px;
  background: var(--ezr-bg);
  color: #fff;
  border-radius: 8px;
  box-sizing: border-box;
  /* Loobek ordena el .meta-wrapper (flex column) con `order`: precio 4, bloque de Tienda 5, botones 7 */
  order: 6;
}
.ezr-bar--loop .ezr-bar__row {
  flex-wrap: nowrap;
}
.ezr-bar--loop .ezr-bar__row--top {
  justify-content: flex-start;
  gap: 8px;
  padding-bottom: 8px;
  margin-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.ezr-bar__note {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.2;
  min-width: 0;
}
.ezr-bar--loop .ezr-bar__label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  letter-spacing: 0.06em;
  min-width: 0;
}
.ezr-bar--loop .ezr-bar__label span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ezr-bar--loop .ezr-bar__chip {
  background: var(--ezr-gold);
  color: var(--ezr-ink);
  font-size: 11px;
  padding: 5px 6px;
  white-space: nowrap;
}
.ezr-bar--loop .ezr-bar__time {
  font-size: 15px;
  color: var(--ezr-gold);
  white-space: nowrap;
  flex: 0 0 auto;
}
.ezr-bar--loop .ezr-bar__track {
  background: rgba(255, 255, 255, 0.16);
}
.ezr-bar--loop .ezr-bar__over {
  color: var(--ezr-gold);
}
.ezr-bar--loop.is-urgent .ezr-bar__time {
  color: #ff9d6b;
}
.ezr-bar--loop.is-urgent .ezr-bar__fill {
  background: #ff9d6b;
}
.product.ezr-is-over {
  opacity: 0.55;
  transition: opacity 0.6s;
}
.product.ezr-is-over::before,
.product.ezr-is-over .ezr-corner {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  body.ezviz-relampago .product.ezr-product::before,
  .ezr-corner .ezr-bolt {
    animation: none;
  }
}

/* ── Cards: la etiqueta de descuento del tema (-48%) se deja como está; el relámpago va en la barra.
   Si el tema usa la etiqueta de Woo, sale como "⚡ -5% extra" ─────────────── */
body.ezviz-relampago .onsale.ezr-flash {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  background: var(--ezr-bg) !important;
  color: #fff !important;
  border: 1px solid var(--ezr-gold-line);
  font-weight: 700 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  letter-spacing: 0.02em;
  text-transform: none;
  border-radius: 6px !important;
  padding: 6px 9px !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  white-space: nowrap;
  transform: none !important;
  box-shadow: none !important;
}
body.ezviz-relampago .onsale.ezr-flash .ezr-bolt {
  width: 12px;
  height: 12px;
}
.ezr-bar__chip {
  display: inline-block;
  background: var(--ezr-bg);
  color: #fff;
  border-radius: 4px;
  padding: 4px 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1;
  margin-right: 2px;
}
.ezr-bar--single .ezr-bar__chip {
  display: none; /* en la ficha el % ya está en la pill de arriba */
}

/* ── Home: sección de cards ──────────────────────────────────────────── */
.ezr-home {
  position: relative;
  background: #fff;
  color: var(--ezr-ink);
  padding: 48px 24px 40px;
  margin: 0;
  box-sizing: border-box;
  font-family: inherit;
}
.ezr-home__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.ezr-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ezr-grey);
}
.ezr-head__main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.ezr-head__title {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ezr-ink);
  text-transform: none;
}
.ezr-head__sub {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ezr-muted);
  max-width: 560px;
}
.ezr-head__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  text-align: right;
}
.ezr-head__note {
  font-size: 13px;
  color: var(--ezr-muted);
  font-variant-numeric: tabular-nums;
}
.ezr-head__time {
  color: var(--ezr-ink);
  font-weight: 700;
}
.ezr-grid ul.products,
.ezr-grid .products {
  margin: 0;
}
.ezr-grid .woocommerce-result-count,
.ezr-grid .woocommerce-ordering,
/* el shortcode de Loobek trae la card "larga": categorías, descripción corta, SKU y botones; en la home no van */
.ezr-grid .product .product-categories,
.ezr-grid .product .short-description,
.ezr-grid .product .product-sku,
.ezr-grid .product .product-group-button-meta {
  display: none !important;
}
/* cards parejas: la columna estira y el bloque de precios + barra quedan al pie */
.ezr-grid .products {
  align-items: stretch;
}
.ezr-grid .product .product-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.ezr-grid .product .meta-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.ezr-grid .product .meta-wrapper > .price {
  margin-top: auto;
}
.ezr-grid .product .meta-wrapper > .ezr-bar--loop {
  margin-top: 10px;
}

/* Teaser: franja fina */
.ezr-home--teaser {
  padding: 18px 24px;
  border-top: 1px solid var(--ezr-grey);
  border-bottom: 1px solid var(--ezr-grey);
}
.ezr-teaser {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.ezr-teaser__txt {
  margin: 0;
  font-size: 14px;
  color: var(--ezr-ink);
}
.ezr-teaser__txt a {
  color: var(--ezr-ink);
  font-weight: 700;
  text-decoration: none;
}
.ezr-teaser .ezr-bar {
  width: 260px;
  margin-left: auto;
}

/* ── Ficha de producto ───────────────────────────────────────────────── */
.ezr-single {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--ezr-grey);
  border-left: 3px solid var(--ezr-gold);
  border-radius: 8px;
  padding: 14px 16px;
  margin: 0 0 18px;
  box-sizing: border-box;
}
.ezr-single__row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.ezr-single__save {
  font-size: 14px;
  line-height: 1.3;
  color: var(--ezr-ink);
}
.ezr-single__save b {
  font-weight: 700;
}
.ezr-single__save del {
  color: var(--ezr-muted);
}
.ezr-single__stock {
  font-size: 13px;
  font-weight: 600;
  color: #a36f00;
}
.ezr-single .ezr-bar__time {
  font-size: 16px;
}
.ezr-single .ezr-bar__track {
  height: 5px;
}

/* Etiqueta sobre la galería de la ficha */
body.ezviz-relampago--single .woocommerce-product-gallery {
  position: relative;
}
body.ezviz-relampago--single .woocommerce-product-gallery::after {
  content: "Oferta relámpago";
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  color: #fff;
  background: var(--ezr-bg) url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f3c14b'%3E%3Cpath d='M13 2 3 14h8l-1 8 11-12h-8l1-8z'/%3E%3C/svg%3E") 11px center / 14px 14px no-repeat;
  border: 1px solid var(--ezr-gold-line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 9px 13px 9px 32px;
  border-radius: 6px;
  pointer-events: none;
}

/* ── Menú del header (Loobek): un ítem más, con el rayo adelante ──────── */
.ezr-menu-cta > a .ezr-bolt {
  width: 15px;
  height: 15px;
  margin-right: 6px;
  vertical-align: -2px;
  animation: ezr-menu-glow 2.4s ease-in-out infinite;
  transform-origin: 50% 50%;
}
@keyframes ezr-menu-glow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(243, 193, 75, 0)); transform: scale(1); }
  50%      { filter: drop-shadow(0 0 5px rgba(243, 193, 75, 0.95)); transform: scale(1.12); }
}
body.ezviz-relampago .ts-header .main-menu > ul > li.ezr-menu-cta.is-hidden {
  display: none !important;
}
body.ezviz-relampago .ts-header .main-menu > ul > li.ezr-menu-cta.is-compact > a .menu-label {
  display: none !important;
}
body.ezviz-relampago .ts-header .main-menu > ul > li.ezr-menu-cta.is-compact > a .ezr-bolt {
  margin-right: 0;
}
@media (prefers-reduced-motion: reduce) {
  .ezr-menu-cta > a .ezr-bolt {
    animation: none;
  }
}

/* ── Aviso flotante: ticket + hoja desplegable ────────────────────────── */
.ezr-strip {
  position: fixed;
  left: 50%;
  z-index: 9998; /* debajo del botón de WhatsApp y del menú sticky mobile del tema (9999) */
  width: min(720px, calc(100% - 24px));
  box-sizing: border-box;
  color: #fff;
  font-family: inherit;
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.35s ease;
}
.ezr-strip--bottom {
  bottom: 16px;
  transform: translate(-50%, 24px);
}
.ezr-strip--top {
  top: 0;
  transform: translate(-50%, -24px);
}
.ezr-strip.is-on {
  transform: translate(-50%, 0);
  opacity: 1;
}
.ezr-strip--bottom.is-away {
  transform: translate(-50%, 140%);
  opacity: 0;
  pointer-events: none;
}
.ezr-strip--top.is-away {
  transform: translate(-50%, -140%);
  opacity: 0;
  pointer-events: none;
}
.ezr-strip__items {
  position: relative;
}
.ezr-strip__item {
  display: none;
  flex-direction: column;
  position: relative;
}
.ezr-strip__item.is-active {
  display: flex;
}
/* Abajo: la hoja se abre hacia arriba (va antes del ticket); arriba: hacia abajo */
.ezr-strip--bottom .ezr-strip__sheet {
  order: -1;
  margin-bottom: 8px;
}
.ezr-strip--top .ezr-strip__sheet {
  margin-top: 8px;
}

/* Ticket */
.ezr-strip__ticket {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px 11px 9px;
  background: var(--ezr-bg);
  border: 1px solid var(--ezr-gold-line);
  border-radius: 14px;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  cursor: pointer;
}
.ezr-strip__thumb {
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.ezr-strip__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  margin: 0;
}
.ezr-strip__mid {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ezr-strip__l1 {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 13px;
  line-height: 1.2;
}
.ezr-strip__l1 b {
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ezr-strip__chip {
  flex: 0 0 auto;
  font-style: normal;
  background: var(--ezr-gold);
  color: var(--ezr-ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 3px 6px;
  border-radius: 4px;
  white-space: nowrap;
}
.ezr-strip__l2 {
  display: flex;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
  font-size: 12px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ezr-strip__l2 strong,
.ezr-strip__l2 strong .amount,
.ezr-strip__l2 strong bdi,
.ezr-strip__l2 strong .woocommerce-Price-currencySymbol {
  color: var(--ezr-gold);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.ezr-strip__l2 small {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}
.ezr-strip__clock {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}
.ezr-strip__clock small {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1;
}
.ezr-strip__clock b {
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.ezr-strip__item.is-urgent .ezr-strip__clock b {
  color: #ff9d6b;
}
.ezr-strip__item.is-urgent .ezr-strip__track .ezr-bar__fill {
  background: #ff9d6b;
}
.ezr-strip__chev {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: #fff;
  transition: transform 0.3s ease, background 0.2s;
}
.ezr-strip--top .ezr-strip__chev {
  transform: rotate(180deg);
}
.ezr-strip.is-open .ezr-strip__chev {
  transform: rotate(180deg);
  background: var(--ezr-gold);
  color: var(--ezr-ink);
}
.ezr-strip--top.is-open .ezr-strip__chev {
  transform: rotate(0deg);
}
.ezr-strip__ticket:hover .ezr-strip__chev {
  background: rgba(255, 255, 255, 0.18);
}
.ezr-strip__track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
}
.ezr-strip__track .ezr-bar__fill {
  display: block;
  height: 100%;
  background: var(--ezr-gold);
  transition: width 1s linear;
}
/* Modo compra (ficha del producto en oferta) */
.ezr-strip--buy .ezr-strip__chev {
  width: auto;
  height: auto;
  border-radius: 999px;
  background: #fff;
  color: var(--ezr-blue-deep);
  padding: 9px 14px;
  transform: none !important;
}
.ezr-strip__buy {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.ezr-strip--buy .ezr-strip__ticket:hover .ezr-strip__chev {
  background: var(--ezr-blue);
  color: #fff;
}
.ezr-strip__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 7px;
}
.ezr-strip__dot {
  appearance: none;
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(26, 27, 29, 0.3);
  cursor: pointer;
}
.ezr-strip__dot.is-active {
  background: var(--ezr-gold);
}
.ezr-strip--top .ezr-strip__dots {
  margin: 0 0 7px;
  order: -1;
}
.ezr-strip__close {
  position: absolute;
  top: -9px;
  right: -7px;
  z-index: 2;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: #fff;
  color: var(--ezr-ink);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.4);
}
.ezr-strip--bottom .ezr-strip__close {
  top: auto;
  bottom: -9px;
}
.ezr-strip-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9997;
  background: rgba(0, 0, 0, 0.45);
}

/* Hoja desplegable */
.ezr-strip__sheet {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
  background: #fff;
  color: var(--ezr-ink);
  border: 1px solid var(--ezr-grey);
  border-radius: 14px;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.5);
  max-height: 70vh;
  overflow: auto;
  box-sizing: border-box;
  animation: ezr-sheet-in 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes ezr-sheet-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
.ezr-strip__sheet-media {
  align-self: start;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--ezr-grey);
  border-radius: 10px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
}
.ezr-strip__sheet-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  margin: 0;
}
.ezr-strip__sheet-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}
.ezr-strip__title {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--ezr-ink);
}
.ezr-strip__prices {
  display: flex;
  align-items: baseline;
  gap: 8px 10px;
  flex-wrap: wrap;
}
.ezr-strip__was {
  font-size: 12px;
  color: var(--ezr-muted);
}
.ezr-strip__was small {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.ezr-strip__now,
.ezr-strip__now .amount,
.ezr-strip__now bdi {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ezr-ink);
}
.ezr-strip__now small {
  font-size: 12px;
  font-weight: 500;
  color: var(--ezr-muted);
}
.ezr-pill--dark {
  background: var(--ezr-bg);
  color: #fff;
  border-color: var(--ezr-bg);
}
.ezr-strip__cuotas {
  width: 100%;
  box-sizing: border-box;
  background: #f4f5f6;
  border-left: 3px solid var(--ezr-blue);
  padding: 7px 10px;
  font-size: 12.5px;
  line-height: 1.35;
}
.ezr-strip__cuotas strong {
  color: var(--ezr-blue-deep);
  font-weight: 700;
}
.ezr-strip__transfer {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--ezr-blue);
  color: #fff;
  border-radius: 8px;
  padding: 9px 12px;
  line-height: 1;
}
.ezr-strip__transfer em {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ezr-strip__transfer em span {
  font-weight: 800;
  margin-left: 4px;
}
.ezr-strip__transfer strong,
.ezr-strip__transfer strong .amount,
.ezr-strip__transfer strong bdi,
.ezr-strip__transfer .woocommerce-Price-currencySymbol {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
}
.ezr-strip__stock {
  font-size: 12px;
  font-weight: 700;
  color: #a36f00;
}
.ezr-strip__sheet .ezr-bar {
  width: 100%;
}
.ezr-strip__cta {
  display: inline-block;
  background: var(--ezr-blue);
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none !important;
  transition: background 0.2s, transform 0.2s;
}
.ezr-strip__cta:hover {
  background: var(--ezr-blue-deep);
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  /* Ticket de 60 px: deja libre el botón de WhatsApp (abajo a la derecha) y el JS lo sube por encima de
     la barra inferior del tema. Arriba ocupa todo el ancho. */
  .ezr-strip--bottom {
    left: 10px;
    right: 80px;
    width: auto;
    transform: translate(0, 24px);
  }
  .ezr-strip--bottom.is-on {
    transform: translate(0, 0);
  }
  .ezr-strip--bottom.is-away {
    transform: translate(0, 140%);
  }
  .ezr-strip--top {
    left: 10px;
    right: 10px;
    width: auto;
    transform: translate(0, -24px);
  }
  .ezr-strip--top.is-on {
    transform: translate(0, 0);
  }
  .ezr-strip--top.is-away {
    transform: translate(0, -140%);
  }
  .ezr-strip__ticket {
    gap: 9px;
    padding: 8px 9px 10px 8px;
    border-radius: 12px;
  }
  .ezr-strip__thumb {
    width: 42px;
    height: 42px;
    border-radius: 8px;
  }
  .ezr-strip__l1 {
    font-size: 12px;
  }
  .ezr-strip__l2 strong,
  .ezr-strip__l2 strong .amount,
  .ezr-strip__l2 strong bdi,
  .ezr-strip__l2 strong .woocommerce-Price-currencySymbol {
    font-size: 14px;
  }
  /* solo el texto "por transferencia" y el stock; el precio (wc_price trae spans adentro) se queda */
  .ezr-strip__l2 > span,
  .ezr-strip__l2 > small {
    display: none;
  }
  .ezr-strip__clock {
    padding-left: 9px;
  }
  .ezr-strip__clock b {
    font-size: 15px;
  }
  .ezr-strip__chev {
    display: none;
  }
  .ezr-strip--buy .ezr-strip__chev {
    display: grid;
    padding: 8px 10px;
  }
  .ezr-strip--buy .ezr-strip__clock {
    display: none;
  }
  .ezr-strip__buy {
    font-size: 12px;
  }
  .ezr-strip__sheet {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
    max-height: 72vh;
  }
  .ezr-strip__sheet-media {
    width: 120px;
    justify-self: center;
  }
  .ezr-strip__sheet {
    overflow-x: hidden;
  }
  .ezr-strip__transfer {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .ezr-strip__transfer em {
    font-size: 10px;
  }
  .ezr-strip__transfer strong,
  .ezr-strip__transfer strong .amount,
  .ezr-strip__transfer strong bdi,
  .ezr-strip__transfer .woocommerce-Price-currencySymbol {
    font-size: 16px;
  }
  .ezr-strip__now,
  .ezr-strip__now .amount,
  .ezr-strip__now bdi {
    font-size: 21px;
  }
}
@media (max-width: 400px) {
  .ezr-strip__chip {
    display: none;
  }
}

/* ── Mobile ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .ezr-home {
    padding: 32px 16px 28px;
  }
  .ezr-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .ezr-head__side {
    align-items: flex-start;
    text-align: left;
  }
  .ezr-teaser .ezr-bar {
    width: 100%;
    margin-left: 0;
  }
}

/* 1.10.1 — En el checkout desde el celular no va el ticket flotante (Gerva, 04/11: "muy cargado").
   Los precios relámpago siguen aplicados; escritorio no cambia. */
@media (max-width: 768px) {
  body.woocommerce-checkout .ezr-strip {
    display: none !important;
  }
}
