/* Early Buen Mes – Bikecity.
   Mismo lenguaje visual que /shop/ (tema Porto, modo oscuro).
   Todas las reglas empiezan con .ebm para ganarle en especificidad al tema y a Elementor;
   en botones y selects se usa !important en lo mínimo indispensable porque el tema los estiliza globalmente. */

.ebm {
	--ebm-red: #ce202f;
	--ebm-red-dark: #a51723;
	--ebm-bg: #181818;
	--ebm-bg-2: #222529;
	--ebm-line: #2f3236;
	--ebm-line-2: #45484c;
	--ebm-white: #ffffff;
	--ebm-text: #eeeeee;
	--ebm-muted: #999999;
	--ebm-muted-2: #737271;
	--ebm-btn-bg: #f4f4f4;
	--ebm-btn-text: #6f6e6b;
	--ebm-ok: #4cc27a;
	--ebm-warn: #e0a526;
	--ebm-head: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
	--ebm-body: Poppins, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ebm-max: 1240px;

	display: block;
	width: 100%;
	max-width: none;
	overflow-x: clip; /* la cinta inclinada no genera scroll lateral; no rompe el menú sticky */
	margin: 0;
	padding: 0 0 56px;
	background: var(--ebm-bg);
	color: var(--ebm-muted);
	font-family: var(--ebm-body);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	text-align: left;
	box-sizing: border-box;
}
.ebm *,
.ebm *::before,
.ebm *::after { box-sizing: border-box; }
.ebm :where(h1, h2, h3, p, ul, li, figure) { margin: 0; padding: 0; }
.ebm :where(ul) { list-style: none; }
.ebm [hidden] { display: none !important; }
.ebm img { max-width: 100%; height: auto; }
.ebm .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap;
}
.ebm :focus-visible { outline: 2px solid var(--ebm-red); outline-offset: 2px; }

.ebm .ebm-container {
	width: 100%;
	max-width: var(--ebm-max);
	margin: 0 auto;
	padding: 0 20px;
}

/* ---------- Botones (mismo estilo que "Seleccionar opciones" de la tienda) ---------- */
.ebm a.ebm-btn {
	display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
	min-height: 40px; height: auto !important; width: auto;
	margin: 0; padding: 0 22px !important;
	background: var(--ebm-btn-bg) !important; color: var(--ebm-btn-text) !important;
	border: 1px solid var(--ebm-btn-bg) !important; border-radius: 0 !important;
	font: 600 12px/1 var(--ebm-body) !important; letter-spacing: .02em;
	text-transform: uppercase; text-decoration: none !important; box-shadow: none !important;
	transition: background .15s, color .15s, border-color .15s;
}
.ebm a.ebm-btn:hover,
.ebm a.ebm-btn:focus-visible { background: var(--ebm-red) !important; border-color: var(--ebm-red) !important; color: #fff !important; }
.ebm .ebm-hero a.ebm-btn { min-height: 46px; padding: 0 28px !important; font-size: 13px !important; }
.ebm .ebm-hero a.ebm-btn--primary { background: var(--ebm-red) !important; border-color: var(--ebm-red) !important; color: #fff !important; }
.ebm .ebm-hero a.ebm-btn--primary:hover { background: var(--ebm-red-dark) !important; border-color: var(--ebm-red-dark) !important; }
.ebm .ebm-hero a.ebm-btn--ghost { background: transparent !important; border-color: rgba(255,255,255,.55) !important; color: #fff !important; }
.ebm .ebm-hero a.ebm-btn--ghost:hover { background: #fff !important; border-color: #fff !important; color: var(--ebm-bg) !important; }

/* ---------- Hero ---------- */
.ebm .ebm-hero {
	position: relative; overflow: hidden;
	padding: 64px 0 56px;
	background: var(--ebm-bg-2);
	text-align: left;
}
/* Franja diagonal roja detrás de la bici */
.ebm .ebm-hero::before {
	content: ""; position: absolute; top: -20%; bottom: -20%; right: -8%; width: 46%;
	background: linear-gradient(180deg, #b31b28, #8c1420); transform: skewX(-14deg);
}
.ebm .ebm-hero::after {
	content: ""; position: absolute; top: -20%; bottom: -20%; right: 36%; width: 18px;
	background: var(--ebm-red); transform: skewX(-14deg); opacity: .9;
}
.ebm .ebm-hero__grid {
	position: relative; z-index: 1;
	display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center;
}
@media (min-width: 960px) {
	.ebm .ebm-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; }
}
.ebm .ebm-hero__eyebrow {
	display: flex; align-items: center; gap: 10px;
	font: 700 13px/1.2 var(--ebm-head); letter-spacing: .16em; text-transform: uppercase; color: var(--ebm-muted);
}
.ebm .ebm-hero__eyebrow span { padding: 4px 8px; background: #fff; color: var(--ebm-bg); letter-spacing: .08em; }
.ebm .ebm-hero__title {
	margin: 18px 0 20px;
	font: 800 clamp(56px, 8.4vw, 116px)/.86 var(--ebm-head);
	text-transform: uppercase; letter-spacing: -.02em; color: #fff;
}
.ebm .ebm-hero__title span { display: block; color: var(--ebm-red); }
.ebm .ebm-hero__lead { max-width: 470px; font: 400 16px/1.6 var(--ebm-body); color: #cfcfcf; }
.ebm .ebm-hero__lead strong { font-weight: 600; color: #fff; }
.ebm .ebm-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Arte: bici + número gigante en contorno */
.ebm .ebm-hero__art { position: relative; min-height: 220px; }
.ebm .ebm-hero__big {
	position: absolute; top: -6%; right: 0; z-index: 0;
	font: 800 clamp(120px, 17vw, 250px)/.8 var(--ebm-head); letter-spacing: -.04em;
	color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.2);
	user-select: none; pointer-events: none;
}
.ebm .ebm-hero__big small {
	display: block; margin-bottom: 8px;
	font: 700 18px/1 var(--ebm-head); letter-spacing: .3em; text-transform: uppercase;
	color: rgba(255,255,255,.8); -webkit-text-stroke: 0;
}
.ebm .ebm-bike { position: relative; z-index: 1; display: block; width: 100%; height: auto; color: #fff; overflow: visible; }
.ebm .ebm-bike__accent { stroke: #fff; }
.ebm .ebm-bike__rim { stroke: rgba(255,255,255,.45); }
.ebm .ebm-bike__spokes { stroke: rgba(255,255,255,.5); }
.ebm .ebm-bike__chain { stroke: rgba(255,255,255,.55); stroke-dasharray: 4 3; }
.ebm .ebm-bike__speed { stroke: rgba(255,255,255,.5); stroke-width: 4; }
.ebm .ebm-bike__road { stroke: rgba(255,255,255,.35); stroke-width: 3; stroke-dasharray: 34 22; }

/* Animaciones */
.ebm .ebm-draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.ebm .ebm-bike__spokes,
.ebm .ebm-bike__crank { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
	.ebm .ebm-draw { stroke-dashoffset: 1; animation: ebm-draw 1.4s cubic-bezier(.6,.05,.3,1) .2s forwards; }
	.ebm .ebm-bike__ride { animation: ebm-arrive 1.3s cubic-bezier(.2,.8,.2,1) both, ebm-bob .5s ease-in-out 1.4s infinite alternate; }
	.ebm .ebm-bike__spokes { animation: ebm-spin .9s linear infinite; }
	.ebm .ebm-bike__crank { animation: ebm-spin 1.8s linear infinite; }
	.ebm .ebm-bike__chain { animation: ebm-chain .4s linear infinite; }
	.ebm .ebm-bike__road { animation: ebm-road .6s linear infinite; }
	.ebm .ebm-bike__speed line { animation: ebm-speed 1.1s ease-in infinite; }
	.ebm .ebm-bike__speed line:nth-child(2) { animation-delay: .35s; }
	.ebm .ebm-bike__speed line:nth-child(3) { animation-delay: .7s; }
	.ebm .ebm-bike__speed line:nth-child(4) { animation-delay: .2s; }
	.ebm .ebm-hero__big { animation: ebm-rise .9s cubic-bezier(.2,.8,.2,1) .5s both; }
	.ebm .ebm-hero__copy > * { animation: ebm-rise .7s cubic-bezier(.2,.8,.2,1) both; }
	.ebm .ebm-hero__copy > *:nth-child(2) { animation-delay: .08s; }
	.ebm .ebm-hero__copy > *:nth-child(3) { animation-delay: .16s; }
	.ebm .ebm-hero__copy > *:nth-child(4) { animation-delay: .24s; }
	.ebm .ebm-hero__copy > *:nth-child(5) { animation-delay: .32s; }
}
@keyframes ebm-draw { to { stroke-dashoffset: 0; } }
@keyframes ebm-arrive { from { transform: translateX(-140px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ebm-bob { from { transform: translateY(0); } to { transform: translateY(-3px); } }
@keyframes ebm-spin { to { transform: rotate(360deg); } }
@keyframes ebm-chain { to { stroke-dashoffset: -7; } }
@keyframes ebm-road { to { stroke-dashoffset: 56; } }
@keyframes ebm-speed { 0% { transform: translateX(60px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateX(-80px); opacity: 0; } }
@keyframes ebm-rise { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Contador tipo marcador */
.ebm .ebm-countdown { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 26px; }
.ebm .ebm-countdown[hidden] { display: none !important; }
.ebm .ebm-countdown__label { font: 700 12px/1.3 var(--ebm-head); text-transform: uppercase; letter-spacing: .12em; color: var(--ebm-muted); max-width: 90px; }
.ebm .ebm-countdown__tiles { display: flex; gap: 6px; }
.ebm .ebm-countdown__unit {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	min-width: 64px; padding: 8px 6px 7px; background: var(--ebm-bg); border-top: 3px solid var(--ebm-red);
}
.ebm .ebm-countdown b { font: 800 30px/1 var(--ebm-head); color: #fff; font-variant-numeric: tabular-nums; }
.ebm .ebm-countdown__unit--s b { color: var(--ebm-red); }
.ebm .ebm-countdown.is-ended .ebm-countdown__unit { border-top-color: var(--ebm-line-2); }
.ebm .ebm-countdown.is-ended b { color: var(--ebm-muted-2); }
@media (prefers-reduced-motion: no-preference) {
	.ebm .ebm-countdown__unit--s.is-tick b { animation: ebm-tick .35s ease-out; }
}
@keyframes ebm-tick { from { transform: translateY(-5px); opacity: .3; } to { transform: none; opacity: 1; } }
.ebm .ebm-countdown small { margin-top: 4px; font: 700 10px/1 var(--ebm-head); text-transform: uppercase; letter-spacing: .14em; color: var(--ebm-muted); }

/* Cinta inclinada con texto corriendo */
.ebm .ebm-ticker {
	position: relative; z-index: 2; overflow: hidden;
	margin: -14px -2% 0; padding: 12px 0;
	background: var(--ebm-red); transform: rotate(-1.4deg);
	box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.ebm .ebm-ticker__track { display: flex; width: max-content; }
.ebm .ebm-ticker__track > div { display: flex; align-items: center; flex-shrink: 0; }
.ebm .ebm-ticker span { padding: 0 22px; font: 800 20px/1 var(--ebm-head); text-transform: uppercase; letter-spacing: .04em; color: #fff; white-space: nowrap; }
.ebm .ebm-ticker i { display: block; width: 10px; height: 10px; border: 2px solid #fff; border-radius: 50%; flex-shrink: 0; }
@media (prefers-reduced-motion: no-preference) {
	.ebm .ebm-ticker__track { animation: ebm-ticker 28s linear infinite; }
}
@keyframes ebm-ticker { to { transform: translateX(-50%); } }

@media (max-width: 479px) {
	.ebm .ebm-countdown__label { max-width: none; width: 100%; }
	.ebm .ebm-countdown__unit { min-width: 0; flex: 1; }
	.ebm .ebm-countdown__tiles { width: 100%; }
}
@media (max-width: 959px) {
	.ebm .ebm-hero { padding: 44px 0 40px; }
	.ebm .ebm-hero::before { top: auto; bottom: -10%; right: -30%; width: 80%; height: 46%; }
	.ebm .ebm-hero::after { display: none; }
	.ebm .ebm-hero__art { max-width: 400px; width: 100%; min-height: 0; margin: 4px auto 0; }
	/* Móvil más limpio: el texto ya dice "Hasta X%", así que se quita el número gigante */
	.ebm .ebm-hero__big { display: none; }
	.ebm .ebm-hero__title { margin-bottom: 14px; }
	.ebm .ebm-hero__grid { gap: 8px; }
}

/* ---------- Navegación de secciones ---------- */
.ebm .ebm-nav {
	position: sticky; top: 0; z-index: 20;
	background: rgba(24,24,24,.94); border-bottom: 1px solid var(--ebm-line);
	backdrop-filter: blur(8px);
}
.admin-bar .ebm .ebm-nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .ebm .ebm-nav { top: 0; } }
/* Más específico que .ebm .ebm-container para que en móvil no se pierda el espacio vertical */
.ebm .ebm-nav .ebm-nav__inner { display: flex; gap: 12px; overflow-x: auto; padding-top: 16px; padding-bottom: 16px; scrollbar-width: none; }
/* Aire entre la cinta inclinada y la barra de secciones */
.ebm .ebm-ticker + .ebm-nav { margin-top: calc(10px + 1.3vw); } /* la cinta inclinada baja más en pantallas anchas */
.ebm .ebm-nav a {
	flex: 0 0 auto; padding: 8px 18px; border: 1px solid var(--ebm-line-2); border-radius: 50px;
	font: 700 13px/1.2 var(--ebm-head); text-transform: uppercase; letter-spacing: .04em;
	color: #fff; text-decoration: none; background: transparent;
	transition: background .15s, border-color .15s;
}
.ebm .ebm-nav a:hover { border-color: #fff; }
.ebm .ebm-nav a.is-current { background: var(--ebm-red); border-color: var(--ebm-red); }
.ebm .ebm-nav a span { margin-left: 4px; color: rgba(255,255,255,.55); font-weight: 400; }

/* ---------- Secciones (numeradas, alineadas a la izquierda) ---------- */
.ebm .ebm-section { padding-top: 64px; scroll-margin-top: 70px; }
.ebm .ebm-section__head {
	display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; align-items: end;
	margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--ebm-line); text-align: left;
}
.ebm .ebm-section__num {
	grid-row: span 2; align-self: center;
	font: 800 clamp(56px, 7vw, 84px)/.8 var(--ebm-head); letter-spacing: -.03em;
	color: transparent; -webkit-text-stroke: 1.5px var(--ebm-red);
}
.ebm .ebm-section__head h2 {
	font: 800 clamp(30px, 4vw, 46px)/1 var(--ebm-head);
	text-transform: uppercase; letter-spacing: -.01em; color: #fff;
}
.ebm .ebm-section__head p { margin-top: 8px; font: 400 14px/1.6 var(--ebm-body); color: var(--ebm-muted); }

/* ---------- Filtros y orden ---------- */
.ebm .ebm-toolbar {
	display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between;
	padding: 14px 0; margin-bottom: 8px;
	border-top: 1px solid var(--ebm-line); border-bottom: 1px solid var(--ebm-line);
}
.ebm .ebm-filters {
	display: flex; flex-wrap: wrap; gap: 8px; min-width: 0;
}
.ebm .ebm-filters button.ebm-filter {
	display: inline-flex !important; align-items: center; gap: 6px;
	flex: 0 0 auto; width: auto !important; height: auto !important; min-width: 0 !important; min-height: 34px;
	margin: 0 !important; padding: 6px 16px !important;
	background: transparent !important; color: #fff !important;
	border: 1px solid var(--ebm-line-2) !important; border-radius: 50px !important; box-shadow: none !important;
	font: 500 13px/1.2 var(--ebm-head) !important; letter-spacing: .02em !important;
	text-transform: uppercase !important; white-space: nowrap; cursor: pointer;
	transition: border-color .15s, background .15s;
}
.ebm .ebm-filters button.ebm-filter span { color: var(--ebm-muted); font-weight: 400; }
.ebm .ebm-filters button.ebm-filter:hover { border-color: #fff !important; background: transparent !important; }
.ebm .ebm-filters button.ebm-filter.is-active,
.ebm .ebm-filters button.ebm-filter.is-active:hover { background: var(--ebm-red) !important; border-color: var(--ebm-red) !important; }
.ebm .ebm-filters button.ebm-filter.is-active span { color: rgba(255,255,255,.75); }

.ebm .ebm-sort { display: inline-flex; align-items: center; gap: 10px; margin: 0; font: 400 13px/1 var(--ebm-head); color: var(--ebm-muted); }
.ebm .ebm-sort select {
	width: auto !important; height: 34px !important; min-width: 170px; margin: 0 !important;
	padding: 0 32px 0 14px !important;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center !important;
	color: #fff !important; border: 1px solid #fff !important; border-radius: 50px !important; box-shadow: none !important;
	font: 400 13px/1 var(--ebm-head) !important; appearance: none; -webkit-appearance: none; cursor: pointer;
}
.ebm .ebm-sort select option { color: #222; background: #fff; }
.ebm .ebm-count { margin: 10px 0 18px; font: 400 13px/1 var(--ebm-head); color: var(--ebm-muted-2); min-height: 1em; }

/* ---------- Grids ---------- */
.ebm .ebm-grid { display: grid; gap: 40px 20px; }
.ebm .ebm-grid--bikes { grid-template-columns: 1fr; }
.ebm .ebm-grid--gear { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; }
@media (min-width: 640px) {
	.ebm .ebm-grid--bikes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ebm .ebm-grid--gear { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 20px; }
}
@media (min-width: 1024px) {
	.ebm .ebm-grid--bikes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; }
	.ebm .ebm-grid--gear { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Tarjeta (como el listado de la tienda: sin caja, centrada) ---------- */
.ebm .ebm-card {
	display: flex; flex-direction: column; min-width: 0;
	background: transparent; border: 0; text-align: center;
}
.ebm .ebm-card__media {
	position: relative; aspect-ratio: 1 / 1; margin-bottom: 14px;
	display: flex; align-items: center; justify-content: center;
	background: transparent;
}
.ebm .ebm-card--bike .ebm-card__media { aspect-ratio: 4 / 3; }
.ebm .ebm-card__media a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.ebm .ebm-card__media img {
	width: 100%; height: 100%; object-fit: contain;
	transition: transform .35s ease;
}
.ebm .ebm-card:hover .ebm-card__media img { transform: scale(1.04); }
/* Equipo: fondo blanco uniforme, así se ven igual las fotos con fondo blanco y las transparentes. */
.ebm .ebm-grid--gear .ebm-card__media { background: #fff; overflow: hidden; }
.ebm .ebm-grid--gear .ebm-card__media img { padding: 8%; }
.ebm .ebm-grid--gear .ebm-ph { background: #fff; color: #d6d6d6; }
.ebm .ebm-ph {
	display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
	background: var(--ebm-bg-2); color: var(--ebm-line-2);
}
.ebm .ebm-ph svg { width: 40%; height: auto; }
.ebm .ebm-badge {
	position: absolute; top: 0; left: 0; z-index: 1;
	padding: 5px 10px; background: var(--ebm-red); color: #fff;
	font: 700 13px/1 var(--ebm-head); letter-spacing: .02em; text-transform: uppercase;
}
.ebm .ebm-card--bike .ebm-badge { padding: 7px 12px; font-size: 16px; }

.ebm .ebm-card__body { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1; }
.ebm .ebm-card__cat { font: 700 10px/1.7 var(--ebm-head); letter-spacing: .04em; text-transform: uppercase; color: var(--ebm-muted); }
.ebm .ebm-card__title { font: 400 15px/1.35 var(--ebm-body); letter-spacing: -.01em; color: #fff; text-transform: none; }
.ebm .ebm-card--bike .ebm-card__title { font: 700 24px/1.15 var(--ebm-head); text-transform: uppercase; letter-spacing: 0; }
.ebm .ebm-card__title a { color: inherit !important; text-decoration: none !important; }
.ebm .ebm-card__title a:hover { color: var(--ebm-red) !important; }
.ebm .ebm-card__color { font: 400 12px/1.4 var(--ebm-body); color: var(--ebm-muted); }

.ebm .ebm-price { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 2px 10px; margin-top: 6px; }
.ebm .ebm-price__from { width: 100%; font: 400 11px/1.2 var(--ebm-head); text-transform: uppercase; letter-spacing: .06em; color: var(--ebm-muted); }
.ebm .ebm-price__now { font: 600 18px/1.1 var(--ebm-head); color: var(--ebm-text); font-variant-numeric: tabular-nums; }
.ebm .ebm-card--bike .ebm-price__now { font-size: 28px; font-weight: 700; }
.ebm .ebm-price__was { font: 400 14px/1.1 var(--ebm-head); color: var(--ebm-muted-2); text-decoration: line-through; }
.ebm .ebm-save { margin-top: 2px; font: 700 12px/1.3 var(--ebm-head); text-transform: uppercase; letter-spacing: .05em; color: var(--ebm-red); }

.ebm .ebm-opts { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; }
.ebm .ebm-opts__label { font: 400 11px/1 var(--ebm-head); text-transform: uppercase; letter-spacing: .06em; color: var(--ebm-muted-2); }
.ebm .ebm-opts__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.ebm .ebm-chip {
	display: inline-flex; align-items: center; justify-content: center; min-width: 30px; min-height: 26px; padding: 2px 7px;
	border: 1px solid var(--ebm-line-2); background: transparent; color: #ddd !important;
	font: 500 12px/1 var(--ebm-head); text-decoration: none !important;
}
.ebm a.ebm-chip:hover { border-color: #fff; color: #fff !important; }
.ebm .ebm-chip.is-out { color: var(--ebm-muted-2) !important; border-style: dashed; text-decoration: line-through !important; }

.ebm .ebm-avail { margin-top: 6px; font: 500 12px/1.4 var(--ebm-head); letter-spacing: .02em; color: var(--ebm-ok); }
.ebm .ebm-avail::before { content: "● "; }
.ebm .ebm-avail--order { color: var(--ebm-muted); }
.ebm .ebm-avail--order::before { color: var(--ebm-warn); }

.ebm .ebm-card__cta { margin-top: auto; padding-top: 14px; }
.ebm .ebm-card.is-soldout { opacity: .45; }
.ebm .ebm-card.is-soldout .ebm-badge { background: var(--ebm-line-2); }

@media (max-width: 639px) {
	.ebm .ebm-container { padding: 0 14px; }
	.ebm .ebm-hero { padding: 48px 0 44px; }
	.ebm .ebm-section { padding-top: 40px; }
	.ebm .ebm-filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -14px; padding: 0 14px 4px; scrollbar-width: none; }
	.ebm .ebm-toolbar { gap: 12px; }
	.ebm .ebm-sort { width: 100%; justify-content: space-between; }
	.ebm .ebm-card__title { font-size: 13px; }
	.ebm .ebm-price__now { font-size: 17px; }
	.ebm .ebm-price__was { font-size: 12px; }
	.ebm a.ebm-btn { padding: 0 10px !important; font-size: 11px !important; }
	.ebm .ebm-card__cta, .ebm .ebm-card__cta a.ebm-btn { width: 100%; }
}

/* ---------- Legal, estado terminado y aviso para administradores ---------- */
.ebm .ebm-legal { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--ebm-line); }
.ebm .ebm-legal p { font: 400 12px/1.6 var(--ebm-body); color: var(--ebm-muted-2); text-align: center; max-width: 820px; margin: 0 auto; }

.ebm.ebm-ended { padding: 80px 20px; text-align: center; }
.ebm.ebm-ended h2 { font: 800 40px/1.1 var(--ebm-head); text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.ebm.ebm-ended a.ebm-btn { margin-top: 24px; }

.ebm .ebm-admin {
	margin: 16px 0; padding: 12px 16px; border: 1px dashed var(--ebm-warn);
	background: rgba(224,165,38,.08); color: #e8d9b5; font: 400 13px/1.5 var(--ebm-body);
}
.ebm .ebm-admin summary { cursor: pointer; font-weight: 600; color: #fff; }
.ebm .ebm-admin p { margin-top: 10px; }
.ebm .ebm-admin ul { margin: 6px 0 0 18px; list-style: disc; max-height: 240px; overflow: auto; }
.ebm .ebm-admin code { color: #fff; }
.ebm .ebm-admin--ok { border-color: var(--ebm-ok); background: rgba(76,194,122,.08); color: #cdebd8; }

@media (prefers-reduced-motion: reduce) {
	.ebm * { transition: none !important; }
	.ebm .ebm-card:hover .ebm-card__media img { transform: none; }
}
