/* Epril Panel – Reservas · bloque de reserva
   Cambia los colores y fuentes redefiniendo estas variables en el contenedor que lo rodea. */
.epr {
	--epr-accent: #9E5E62;
	--epr-accent-text: #FFFFFF;
	--epr-text: #2E2526;
	--epr-muted: #6E6264;
	--epr-body: #4A3F41;
	--epr-line: #EDE3DC;
	--epr-line-strong: #DCCFC7;
	--epr-soft: #F3ECE6;
	--epr-bg: #FFFFFF;
	--epr-disabled: #B5A8A9;
	--epr-font-title: 'Cormorant Garamond', Georgia, serif;
	--epr-font-body: 'Jost', system-ui, sans-serif;

	display: flex;
	flex-wrap: wrap;
	background: var(--epr-bg);
	border: 1px solid var(--epr-line);
	color: var(--epr-text);
	font-family: var(--epr-font-body);
	text-align: left;
	box-sizing: border-box;
}
.epr *, .epr *::before, .epr *::after { box-sizing: border-box; }
.epr svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.epr [hidden] { display: none !important; }

.epr-col { padding: 40px 32px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.epr-col--services { flex: 1 1 380px; border-right: 1px solid var(--epr-line); }
.epr-col--calendar { flex: 1.3 1 460px; }
.epr-step-when, .epr-step-form { display: flex; flex-direction: column; gap: 16px; }

.epr .epr-title { margin: 0; font-family: var(--epr-font-title); font-weight: 500; font-size: 30px; line-height: 1.2; color: var(--epr-text); }
.epr-num { color: var(--epr-accent); }
.epr-sub { margin: 0 0 8px; font-size: 15px; color: var(--epr-muted); }
.epr-empty { margin: 0; color: var(--epr-muted); }

/* Filtro por categoría */
.epr-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 6px; }
.epr .epr-filter {
	min-height: 44px; padding: 0 18px; border: 1px solid var(--epr-line-strong); border-radius: 0; background: var(--epr-bg);
	font: inherit; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--epr-body); cursor: pointer;
	transition: border-color .15s, background-color .15s, color .15s;
}
.epr .epr-filter:hover { border-color: var(--epr-accent); color: var(--epr-text); background: var(--epr-bg); }
.epr .epr-filter:focus-visible { outline: 2px solid var(--epr-accent); outline-offset: 2px; }
.epr .epr-filter.is-active { background: var(--epr-accent); border-color: var(--epr-accent); color: var(--epr-accent-text); }

/* Buscador */
.epr-search { position: relative; display: block; }
.epr-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 18px; color: var(--epr-muted); pointer-events: none; }
.epr .epr-search input {
	width: 100%; min-height: 48px; padding: 10px 14px 10px 42px; border: 1px solid var(--epr-line-strong); border-radius: 0;
	background: var(--epr-bg); font: inherit; font-size: 15px; color: var(--epr-text);
}
.epr .epr-search input:focus { outline: 2px solid var(--epr-accent); outline-offset: 0; border-color: var(--epr-accent); }

/* Servicios, agrupados por categoría */
.epr-services { display: flex; flex-direction: column; gap: 22px; }
.epr-group { display: flex; flex-direction: column; }
.epr .epr-group__t {
	margin: 0; padding: 0 0 10px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
	font-family: var(--epr-font-title); font-weight: 500; font-size: 22px; line-height: 1.2; color: var(--epr-text);
	border-bottom: 1px solid var(--epr-text);
}
.epr-group__n { font-family: var(--epr-font-body); font-size: 12px; letter-spacing: .1em; color: var(--epr-muted); }
.epr-group[data-group="*pop"] .epr-group__t { border-bottom-color: var(--epr-accent); color: var(--epr-accent); }
.epr .epr-service {
	display: flex; align-items: center; gap: 16px; width: 100%; padding: 14px 0; min-height: 64px;
	background: transparent; border: 0; border-bottom: 1px solid var(--epr-line); border-radius: 0; cursor: pointer;
	font: inherit; color: var(--epr-text); text-align: left; transition: background-color .15s, padding .15s;
}
.epr .epr-service:hover { background: var(--epr-soft); color: var(--epr-text); padding-left: 10px; padding-right: 10px; }
.epr .epr-service:focus-visible { outline: 2px solid var(--epr-accent); outline-offset: 2px; }
.epr .epr-service.is-selected { background: var(--epr-soft); padding-left: 10px; padding-right: 10px; box-shadow: inset 3px 0 0 var(--epr-accent); }
.epr-service__img { width: 56px; height: 56px; flex: none; background: var(--epr-soft); overflow: hidden; }
.epr-service__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.epr-service__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.epr-service__name { font-size: 16px; line-height: 1.35; }
.epr-service__desc { font-size: 13px; line-height: 1.5; color: var(--epr-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.epr-service__meta { font-size: 13px; color: var(--epr-muted); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.epr-service__pts { color: var(--epr-accent); font-size: 12px; letter-spacing: .04em; }
.epr-service__side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.epr-service__price { font-size: 16px; white-space: nowrap; }
.epr-service__price small { font-size: 12px; color: var(--epr-muted); }
.epr-pick {
	display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 0 14px;
	border: 1px solid var(--epr-accent); color: var(--epr-accent); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}
.epr-pick__b { display: none; }
.epr-service.is-selected .epr-pick { background: var(--epr-accent); color: var(--epr-accent-text); }
.epr-service.is-selected .epr-pick__a { display: none; }
.epr-service.is-selected .epr-pick__b { display: inline; }
.epr .epr-more { align-self: flex-start; min-height: 44px; }

/* Club de clientes */
.epr-club { flex: 1 1 100%; padding: 18px 32px; background: var(--epr-soft); border-bottom: 1px solid var(--epr-line); display: flex; flex-direction: column; gap: 12px; }
.epr-club__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.epr-club__icon { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--epr-accent); color: var(--epr-accent-text); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.epr-club__txt { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.epr-club__txt strong { font-family: var(--epr-font-title); font-weight: 500; font-size: 22px; line-height: 1.2; }
.epr-club__sub { font-size: 14px; line-height: 1.5; color: var(--epr-body); }
.epr-club__bar { display: block; height: 6px; max-width: 360px; background: var(--epr-line-strong); overflow: hidden; }
.epr-club__bar span { display: block; height: 100%; background: var(--epr-accent); transition: width .4s; }
.epr-club__acts { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.epr .epr-club__btn {
	min-height: 44px; padding: 0 22px; border: none; border-radius: 0; background: var(--epr-accent); color: var(--epr-accent-text);
	font: inherit; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
}
.epr .epr-club__btn:hover { opacity: .9; background: var(--epr-accent); color: var(--epr-accent-text); }
.epr .epr-club__btn:disabled { opacity: .5; cursor: default; }
.epr-club__form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.epr .epr-club__form input:not([type="checkbox"]) {
	flex: 1 1 180px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--epr-line-strong); border-radius: 0;
	background: var(--epr-bg); font: inherit; font-size: 15px; color: var(--epr-text);
}
.epr .epr-club__form input:focus { outline: 2px solid var(--epr-accent); outline-offset: 0; }
.epr-club__form .epr-check { flex: 1 1 100%; }
.epr-club__msg { margin: 0; font-size: 14px; color: var(--epr-body); }
@media (prefers-reduced-motion: reduce) { .epr-club__bar span, .epr .epr-service { transition: none; } }

/* Cupón y precio con descuento */
.epr-coupon__row { display: flex; gap: 8px; }
.epr-coupon__row input { text-transform: uppercase; }
.epr .epr-coupon__btn {
	flex: none; min-height: 48px; padding: 0 18px; border: 1px solid var(--epr-accent); border-radius: 0; background: var(--epr-bg); color: var(--epr-accent);
	font: inherit; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
}
.epr .epr-coupon__btn:hover { background: var(--epr-accent); color: var(--epr-accent-text); }
.epr-coupon__msg { margin: 6px 0 0; font-size: 14px; }
.epr-coupon__msg.is-ok { color: #2F6B3A; }
.epr-coupon__msg.is-bad { color: #A3262A; }
.epr-price { margin: 0; padding: 12px 16px; border-left: 3px solid var(--epr-accent); background: var(--epr-soft); font-size: 15px; line-height: 1.5; }

.epr-note { margin-top: 10px; border: 1px solid var(--epr-line); padding: 16px 18px; display: flex; gap: 14px; align-items: center; font-size: 14px; line-height: 1.5; color: var(--epr-body); }
.epr-note svg { font-size: 28px; color: var(--epr-accent); stroke-width: 1.3; }

/* Calendario */
.epr-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.epr-month { border: 1px solid var(--epr-line-strong); padding: 10px 16px; font-size: 15px; min-width: 200px; text-transform: capitalize; }
.epr-nav { display: flex; gap: 4px; }
.epr .epr-nav button { width: 44px; height: 44px; border: none; background: transparent; color: var(--epr-body); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 18px; padding: 0; }
.epr .epr-nav button:hover { color: var(--epr-accent); background: transparent; }
.epr .epr-nav button:disabled { color: var(--epr-line-strong); cursor: default; }
.epr-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.epr-days { display: contents; }
.epr-wd { font-size: 12px; letter-spacing: .1em; color: var(--epr-muted); padding: 6px 0; }
.epr .epr-day {
	width: 44px; height: 44px; margin: 0 auto; border: none; border-radius: 50%; background: transparent; padding: 0;
	font: inherit; font-size: 15px; color: var(--epr-text); cursor: pointer;
}
.epr .epr-day:hover { background: var(--epr-soft); color: var(--epr-text); }
.epr .epr-day:disabled { color: var(--epr-disabled); cursor: default; background: transparent; }
.epr .epr-day.is-selected { background: var(--epr-accent); color: var(--epr-accent-text); }
.epr .epr-day:focus-visible { outline: 2px solid var(--epr-accent); outline-offset: 1px; }
.epr-blank { height: 44px; }

.epr-times-label { margin: 8px 0 0; font-size: 15px; }
.epr-times-label strong { font-weight: 500; }
.epr-times { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.epr .epr-time { height: 48px; border: 1px solid var(--epr-line-strong); background: var(--epr-bg); color: var(--epr-text); font: inherit; font-size: 14px; cursor: pointer; border-radius: 0; padding: 0; }
.epr .epr-time:hover { border-color: var(--epr-accent); color: var(--epr-text); background: var(--epr-bg); }
.epr .epr-time.is-selected { background: var(--epr-accent); border-color: var(--epr-accent); color: var(--epr-accent-text); }

/* Botones */
.epr .epr-btn {
	margin-top: 10px; width: 100%; background: var(--epr-accent); color: var(--epr-accent-text); border: none; border-radius: 0;
	padding: 18px; font: inherit; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
}
.epr .epr-btn:hover { opacity: .9; color: var(--epr-accent-text); background: var(--epr-accent); }
.epr .epr-btn:disabled { opacity: .45; cursor: default; }
.epr-secure { margin: 0; text-align: center; font-size: 13px; color: var(--epr-muted); display: flex; gap: 8px; justify-content: center; align-items: center; }
.epr .epr-link { background: none; border: none; padding: 8px 0; font: inherit; font-size: 14px; color: var(--epr-accent); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.epr .epr-link:hover { color: var(--epr-text); background: none; }

/* Formulario */
.epr-summary { margin: 0; padding: 14px 16px; background: var(--epr-soft); font-size: 15px; line-height: 1.5; }
.epr-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--epr-body); }
.epr-field input, .epr-field textarea {
	font: inherit; font-size: 15px; color: var(--epr-text); padding: 12px 14px; min-height: 48px;
	border: 1px solid var(--epr-line-strong); border-radius: 0; background: var(--epr-bg); width: 100%;
}
.epr-field input:focus, .epr-field textarea:focus { outline: 2px solid var(--epr-accent); outline-offset: 0; border-color: var(--epr-accent); }
.epr-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--epr-body); line-height: 1.5; }
.epr-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--epr-accent); flex: none; }
.epr-check a { color: var(--epr-accent); }
.epr-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.epr-error { margin: 0; color: #A3262A; font-size: 14px; }
.epr-actions { display: flex; flex-direction: column; gap: 4px; }

.epr-done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: 40px 12px; }
.epr-done svg { font-size: 56px; color: var(--epr-accent); stroke-width: 1.2; }
.epr-done__msg { margin: 0; font-size: 17px; line-height: 1.6; max-width: 460px; }

.epr.is-loading .epr-days, .epr.is-loading .epr-times { opacity: .5; pointer-events: none; }

@media (max-width: 767px) {
	.epr-col { padding: 28px 18px; }
	.epr .epr-filter { padding: 0 14px; font-size: 12px; }
	.epr-club { padding: 16px 18px; }
	.epr-service__desc { -webkit-line-clamp: 3; }
	.epr-col--services { border-right: none; border-bottom: 1px solid var(--epr-line); }
	.epr-times { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.epr .epr-day { width: 40px; height: 40px; }
	.epr-month { min-width: 0; }
	.epr .epr-title { font-size: 26px; }
}
@media (max-width: 479px) {
	.epr-times { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.epr .epr-day { width: 36px; height: 36px; font-size: 14px; }
}

/* En pantallas anchas el calendario acompaña mientras se recorre la lista de servicios. */
@media (min-width: 1024px) {
	.epr-col--calendar { align-self: flex-start; position: sticky; top: 24px; }
}
