/* ==========================================================================
   Bastardos — Sistema de reservas
   ========================================================================== */

.bastardos-turnos { padding-top: 76px; min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
.bastardos-turnos .bt-main { flex: 1 0 auto; }
.bastardos-turnos .bh-footer { flex-shrink: 0; }

.bt-main { width: 100%; max-width: 920px; margin: 0 auto; padding: 48px 24px 96px; }

.bt-hero { text-align: center; margin-bottom: 48px; }
.bt-hero h1 {
	font-family: var(--bh-font-display);
	text-transform: uppercase;
	font-size: clamp(32px, 6vw, 48px);
	margin: 6px 0 10px;
}
.bt-hero__sub { color: #666; font-size: 15px; }

.bt-honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.bt-step {
	margin-bottom: 40px;
	padding-bottom: 36px;
	border-bottom: 1px solid var(--bh-gray-light);
	transition: opacity 0.3s ease;
}
.bt-step h2 {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--bh-font-display);
	text-transform: uppercase;
	font-size: 20px;
	letter-spacing: 0.02em;
	margin: 0 0 20px;
}
.bt-step__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px; height: 30px;
	border-radius: 50%;
	background: var(--bh-red);
	color: var(--bh-white);
	font-size: 15px;
}
.bt-step.is-disabled {
	opacity: 0.35;
	pointer-events: none;
	filter: grayscale(0.6);
}

/* Cards */
.bt-cards { display: grid; gap: 14px; min-width: 0; }
.bt-cards--servicio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bt-cards--pro { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.bt-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 6px;
	padding: 22px 16px;
	border: 2px solid var(--bh-gray-light);
	border-radius: var(--bh-radius);
	background: var(--bh-white);
	color: var(--bh-black);
	cursor: pointer;
	font-family: var(--bh-font-body);
	transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
	min-width: 0;
	width: 100%;
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
	appearance: none;
	-webkit-appearance: none;
}
.bt-card:focus { outline: none; }
.bt-card__tag {
	position: absolute;
	top: -11px; left: 50%;
	transform: translateX(-50%);
	background: var(--bh-red);
	color: var(--bh-white);
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 4px 12px;
	border-radius: 999px;
	white-space: nowrap;
}
.bt-card:hover { border-color: rgba(211,29,41,0.4); transform: translateY(-3px); }
.bt-card.is-selected {
	border-color: var(--bh-red);
	background: #fff6f6;
	box-shadow: 0 10px 24px -14px rgba(211,29,41,0.5);
}
.bt-card.is-preselected { border-color: rgba(211,29,41,0.5); }
.bt-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin-bottom: 4px; }
.bt-card__title { font-weight: 700; font-size: 15px; color: var(--bh-black); }
.bt-card__price { color: var(--bh-red); font-weight: 800; font-size: 18px; }
.bt-card__meta { color: var(--bh-gray); font-size: 12px; }

.bt-card--pro { padding: 34px 20px; gap: 10px; }
.bt-card--pro img { width: 110px; height: 110px; margin-bottom: 6px; }
.bt-card--pro .bt-card__title { font-size: 20px; }
.bt-card--pro .bt-card__meta { font-size: 14px; }

.bt-calendario { max-width: 420px; margin: 0 auto; }

/* Fecha */
.bt-date {
	width: 100%;
	max-width: 280px;
	padding: 14px 16px;
	border: 2px solid var(--bh-gray-light);
	border-radius: 10px;
	font-size: 15px;
	font-family: var(--bh-font-body);
}
.bt-date:focus { outline: none; border-color: var(--bh-red); }

/* Horarios */
.bt-slots { display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; min-height: 96px; }
.bt-slot {
	padding: 10px 18px;
	border: 2px solid var(--bh-gray-light);
	border-radius: 999px;
	background: var(--bh-white);
	color: var(--bh-black);
	font-family: var(--bh-font-body);
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s, color 0.2s;
	-webkit-tap-highlight-color: transparent;
	appearance: none;
	-webkit-appearance: none;
}
.bt-slot:focus { outline: none; }
.bt-slot:hover { border-color: rgba(211,29,41,0.5); }
.bt-slot.is-selected { background: var(--bh-red); border-color: var(--bh-red); color: var(--bh-white); }

/* Datos */
.bt-fields { display: flex; flex-direction: column; gap: 16px; max-width: 420px; }
.bt-fields label { font-size: 13px; font-weight: 600; color: #444; display: flex; flex-direction: column; gap: 6px; }
.bt-fields input, .bt-fields textarea {
	padding: 12px 14px;
	border: 2px solid var(--bh-gray-light);
	border-radius: 10px;
	font-size: 15px;
	font-family: var(--bh-font-body);
	font-weight: 400;
	color: var(--bh-black);
}
.bt-fields input:focus, .bt-fields textarea:focus { outline: none; border-color: var(--bh-red); }

/* Resumen */
.bt-summary__box {
	background: var(--bh-black);
	color: var(--bh-white);
	border-radius: var(--bh-radius);
	padding: 32px;
	text-align: center;
}
.bt-summary__box h3 {
	font-family: var(--bh-font-display);
	text-transform: uppercase;
	margin: 0 0 16px;
	font-size: 18px;
}
#bt-summary-list { margin: 0 0 24px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
#bt-summary-list strong { color: var(--bh-red); }
.bt-error { color: #ff6b6b; margin-top: 14px; font-size: 14px; }

.bt-empty { color: var(--bh-gray); font-size: 14px; }
.bt-summary .bt-empty { color: rgba(255,255,255,0.5); }

#bt-submit { width: 100%; max-width: 320px; }
#bt-submit:disabled { opacity: 0.4; cursor: not-allowed; }

/* Exito */
.bt-success {
	max-width: 520px;
	margin: 80px auto;
	text-align: center;
	padding: 0 24px;
}
.bt-success__icon {
	width: 72px; height: 72px;
	margin: 0 auto 20px;
	border-radius: 50%;
	background: var(--bh-red);
	color: var(--bh-white);
	display: flex; align-items: center; justify-content: center;
	font-size: 34px;
	font-weight: 800;
}
.bt-success h2 {
	font-family: var(--bh-font-display);
	text-transform: uppercase;
	font-size: 32px;
	margin: 0 0 14px;
}
.bt-success p { color: #555; margin-bottom: 28px; line-height: 1.6; }

/* Mi turno */
.mt-box { margin-bottom: 40px; }
.mt-acciones { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }

@media (max-width: 600px) {
	.bt-main { padding: 32px 16px 64px; }
	.bt-cards--servicio, .bt-cards--pro { grid-template-columns: repeat(2, 1fr); }
	.bt-card--pro { padding: 24px 14px; }
	.bt-card--pro img { width: 84px; height: 84px; }
	.bt-card--pro .bt-card__title { font-size: 17px; }
	.bt-step h2 { font-size: 22px; }
	.bt-slot { font-size: 16px; padding: 11px 20px; }
}

/* ---------- Calendario (BastardosCalendar) ---------- */
.bc-header {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin-bottom: 16px;
}
.bc-title { font-weight: 700; font-size: 16px; text-transform: capitalize; min-width: 160px; text-align: center; }
.bc-nav {
	background: none; border: none; cursor: pointer;
	font-size: 20px; color: var(--bh-red, #d31d29); line-height: 1;
	padding: 4px 8px; border-radius: 6px;
}
.bc-nav:hover { background: var(--bh-gray-light, #e8e5e2); }
.bc-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 4px;
	text-align: center;
}
.bc-grid--headers { margin-bottom: 6px; font-size: 12px; font-weight: 700; color: #888; text-transform: uppercase; }
.bc-day {
	aspect-ratio: 1;
	display: flex; align-items: center; justify-content: center;
	border: none; background: transparent;
	border-radius: 50%;
	font-size: 14px;
	cursor: pointer;
	color: var(--bh-black, #0a0a0a);
	transition: background 0.15s, color 0.15s;
}
.bc-day:hover:not(.bc-day--disabled):not(.bc-day--pad) { background: var(--bh-gray-light, #e8e5e2); }
.bc-day--pad { visibility: hidden; cursor: default; }
.bc-day--disabled { color: #ccc; cursor: not-allowed; }
.bc-day--full { text-decoration: line-through; color: #ccc; }
.bc-day--selected { background: var(--bh-red, #d31d29); color: #fff; font-weight: 700; }
.bc-day--marked { background: var(--bh-red, #d31d29); color: #fff; font-weight: 700; }
