/* Seguro de envío en el carrito lateral, con los colores del carrito del tema. */
.ea-seguro {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 12px;
  padding: 11px 12px;
  border: 1px solid #f0d0d7;
  border-radius: 3px;
  background: #ffffff;
  color: #3d2a2e;
  cursor: pointer;
  position: relative;
  font-family: inherit;
}
.ea-seguro.is-on { background: #fdf1f3; }
.ea-seguro svg { flex: 0 0 auto; color: #3d2a2e; }
.ea-seguro__txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.ea-seguro__txt strong { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.ea-seguro__txt span { font-size: 12px; color: #8a6b72; line-height: 1.35; margin-top: 1px; }
.ea-seguro__precio { font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.ea-seguro input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ea-switch {
  flex: 0 0 auto;
  width: 38px;
  height: 22px;
  border-radius: 22px;
  background: #e6d3d7;
  position: relative;
  transition: background 0.2s ease;
}
.ea-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}
.ea-seguro.is-on .ea-switch { background: #3d2a2e; }
.ea-seguro.is-on .ea-switch::after { transform: translateX(16px); }
.ea-seguro input:focus-visible + .ea-switch { outline: 2px solid #3d2a2e; outline-offset: 2px; }

/* Aviso de reserva del carrito lateral */
.ea-reserva { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 18px 20px; background: #fbf0f1; border-top: 1px solid #e0c9a8; border-bottom: 1px solid #e0c9a8; border-left: 5px solid #b3261e; color: #b3261e; }
.ea-reserva__ico { flex: none; margin-top: 3px; }
.ea-reserva__t { margin: 0 0 6px; font-size: 18px; font-weight: 600; color: #3d2a2e; }
.ea-reserva__t b { color: #b3261e; font-variant-numeric: tabular-nums; }
.ea-reserva__s { margin: 0; font-size: 15px; line-height: 1.5; color: #b3261e; }

/* ---------- Colección: banner de despedida, tipos, barra y etiqueta ---------- */
.ea-colhero { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.ea-colhero__txt { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 36px 48px; text-align: center; color: #3d2a2e; }
.ea-colhero h2 { margin: 0 0 14px; font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; line-height: 1.25; color: #3d2a2e; }
.ea-colhero__txt p { margin: 0 0 12px; max-width: 520px; font-size: 18px; line-height: 1.55; color: #3d2a2e; }
.ea-colhero__txt .ea-colhero__firma { font-style: italic; }
.ea-colhero__stock { width: 100%; max-width: 560px; margin: 8px 0 4px; text-align: left; }
.ea-colhero__stock .ea-stock { margin: 0; }
.ea-colhero__txt .ea-colhero__nota { margin: 10px 0 0; font-size: 13px; color: #8a6f74; }
.ea-colhero__img { min-height: 340px; }
.ea-colhero__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.olivia-collection__main > .ea-stock-col { display: none; }
.ea-tipos { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 28px 0 6px; }
.ea-tipo { padding: 12px 22px; border: 1px solid #f0d0d7; border-radius: 999px; background: #fff; color: #3d2a2e; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.ea-tipo:hover { border-color: #3d2a2e; }
.ea-tipo.is-on { background: #3d2a2e; border-color: #3d2a2e; color: #fff; }
.ea-tipo:focus-visible, .ea-sel select:focus-visible { outline: 2px solid #3d2a2e; outline-offset: 2px; }
.ea-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ea-bar__izq, .ea-bar__der { display: flex; align-items: center; gap: 22px; }
.ea-sel[hidden] { display: none; }
.ea-sel select { appearance: none; -webkit-appearance: none; padding: 6px 26px 6px 2px; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%233d2a2e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5'/%3E%3C/svg%3E") right 4px center / 12px no-repeat; color: #3d2a2e; font: inherit; font-size: 16px; cursor: pointer; }
.ea-vacio { grid-column: 1 / -1; padding: 40px 0; text-align: center; color: #3d2a2e; list-style: none; }
.olivia-card__badge { top: auto !important; bottom: 0 !important; right: 0 !important; left: auto !important; background: #3d2a2e !important; color: #fff !important; }
@media (max-width: 749px) {
	.ea-colhero { grid-template-columns: 1fr; padding: 0; }
	.ea-colhero__txt { padding: 28px 20px 20px; }
	.ea-colhero__txt p { font-size: 16px; }
	.ea-colhero__img { min-height: 0; }
	.ea-colhero__img img { height: auto; aspect-ratio: 16 / 10; }
	.ea-tipos { gap: 8px; margin-top: 20px; padding: 0 12px; }
	.ea-tipo { padding: 10px 16px; font-size: 14px; }
	.ea-bar { padding: 0 12px; }
	.ea-bar__izq, .ea-bar__der { gap: 14px; }
}
.ea-bar .olivia-collection__count { display: block !important; margin: 0; font-size: 16px; color: #3d2a2e; opacity: .75; }
/* El botón de añadir sube al borde de arriba para no tapar la etiqueta de abajo a la derecha. */
.olivia-card__media .ea-rapido { bottom: auto !important; top: 10px; }
/* Fila de materiales (encima del banner de la colección) */
.ea-mats { position: sticky; top: var(--ea-mats-top, 0px); z-index: 20; background: #fbf0f1; border-bottom: 1px solid #f0d0d7; }
.ea-mats__fila { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 1320px; margin: 0 auto; padding: 14px 20px; }
.ea-mat { padding: 11px 24px; border: 1px solid #f0d0d7; border-radius: 999px; background: #fff; color: #3d2a2e; font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.ea-mat:hover { border-color: #3d2a2e; }
.ea-mat.is-on { background: #3d2a2e; border-color: #3d2a2e; color: #fff; }
.ea-mat:focus-visible { outline: 2px solid #3d2a2e; outline-offset: 2px; }
@media (max-width: 749px) {
	.ea-mats__fila { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; gap: 8px; padding: 12px; scrollbar-width: none; }
	.ea-mats__fila::-webkit-scrollbar { display: none; }
	.ea-mat { padding: 9px 18px; font-size: 14px; }
}
.ea-mats__fila { position: relative; }
