.hr-booking-widget,
.hr-cart-panel {
	box-sizing: border-box;
}
.hr-booking-widget *,
.hr-cart-panel * {
	box-sizing: border-box;
}
.hr-booking-widget {
	border: 1px solid var(--hr-border, #E4DCC4);
	border-radius: var(--hr-radius, 18px);
	padding: 24px;
	width: 100%;
	max-width: 420px;
	font-family: inherit;
	background: var(--hr-bg, #ffffff);
	color: var(--hr-text, #0F2B22);
	box-shadow: 0 12px 32px rgba(15, 43, 34, 0.08);
}
.hr-booking-widget .hr-title {
	margin: 0 0 16px;
	font-size: 19px;
	font-weight: 700;
	color: var(--hr-text, #0F2B22);
}
.hr-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: 600;
	color: var(--hr-text, #0F2B22);
	background: var(--hr-highlight, rgba(127, 214, 194, .3));
	padding: 5px 12px;
	border-radius: 999px;
	margin-bottom: 12px;
}
.hr-badge-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--hr-primary, #0F2B22);
	display: inline-block;
}
.hr-fields-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
}
.hr-date-field {
	flex: 1 1 140px;
	min-width: 0;
	text-align: left;
	background: var(--hr-field-bg, #FAF7EE);
	border: 1px solid var(--hr-border, #E4DCC4);
	border-radius: 12px;
	padding: 10px 12px;
	cursor: pointer;
	color: var(--hr-text, #0F2B22);
}
.hr-date-label {
	display: block;
	font-size: 11px;
	color: var(--hr-text-secondary, #6B7568);
}
.hr-date-value {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-top: 2px;
}

/* Blindaje: algunos temas aplican su propio color de marca al :hover
   de cualquier <button>. Forzamos aquí los estados de nuestros controles
   para que no se vean afectados por esos estilos globales. */
.hr-booking-widget button,
.hr-cart-panel button {
	font-family: inherit;
}
.hr-date-field:hover,
.hr-date-field:focus {
	background: var(--hr-field-bg, #FAF7EE) !important;
	border-color: var(--hr-primary, #0F2B22) !important;
}
.hr-date-field:hover .hr-date-label {
	color: var(--hr-text-secondary, #6B7568) !important;
}
.hr-date-field:hover .hr-date-value {
	color: var(--hr-text, #0F2B22) !important;
}
.hr-btn:hover:not(:disabled) {
	background: var(--hr-accent, #E8622D) !important;
	color: var(--hr-accent-text, #fff) !important;
	opacity: 0.92;
}
.hr-btn-secondary:hover {
	background: var(--hr-field-bg, #FAF7EE) !important;
	color: var(--hr-text, #0F2B22) !important;
}
.hr-cal-nav:hover {
	background: var(--hr-field-bg, #FAF7EE) !important;
	color: var(--hr-text, #0F2B22) !important;
}
.hr-cal-cell:hover:not(:disabled):not(.hr-cal-selected) {
	background: var(--hr-highlight, rgba(127, 214, 194, .25)) !important;
	color: var(--hr-text, #0F2B22) !important;
}
.hr-cal-cell.hr-cal-selected:hover {
	background: var(--hr-primary, #0F2B22) !important;
	color: var(--hr-primary-text, #F5F0DE) !important;
}
.hr-cart-close:hover {
	color: var(--hr-text, #0F2B22) !important;
	background: none !important;
}
.hr-field-time {
	flex: 1 1 140px;
	min-width: 0;
}
.hr-field-time select {
	width: 100%;
	padding: 10px;
	border: 1px solid var(--hr-border, #E4DCC4);
	border-radius: 12px;
	background: var(--hr-field-bg, #FAF7EE);
	font-size: 16px;
}
.hr-date-field-single {
	flex: 1 1 140px;
	min-width: 0;
}
.hr-field-row {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 14px;
}
.hr-field {
	flex: 1 1 120px;
	display: flex;
	flex-direction: column;
	margin-bottom: 10px;
}
.hr-field-small {
	flex: 0 0 90px;
}
.hr-field label {
	font-size: 12px;
	margin-bottom: 4px;
	color: var(--hr-text-secondary, #6B7568);
}
.hr-field input {
	padding: 10px;
	border: 1px solid var(--hr-border, #E4DCC4);
	border-radius: 12px;
	background: var(--hr-field-bg, #FAF7EE);
	font-size: 16px;
	width: 100%;
}
.hr-btn {
	width: 100%;
	padding: 12px 16px;
	background: var(--hr-accent, #E8622D);
	color: var(--hr-accent-text, #ffffff);
	border: none;
	border-radius: 999px;
	cursor: pointer;
	font-weight: 700;
	font-size: 14px;
	margin-top: 4px;
	transition: transform .1s ease, opacity .15s ease;
}
.hr-btn:hover {
	opacity: 0.92;
}
.hr-btn:active {
	transform: scale(0.98);
}
.hr-btn:disabled {
	background: var(--hr-border, #E4DCC4);
	color: var(--hr-text-secondary, #6B7568);
	cursor: not-allowed;
	opacity: 1;
	transform: none;
}
.hr-price-summary {
	background: var(--hr-field-bg, #FAF7EE);
	border-radius: 12px;
	padding: 10px 14px;
	margin: 12px 0;
	font-size: 15px;
	font-weight: 600;
}
.hr-message,
.hr-cart-message {
	color: #b00020;
	font-size: 13px;
	margin-top: 10px;
}

.hr-calendar-wrap {
	border: 1px solid var(--hr-border, #E4DCC4);
	border-radius: 14px;
	padding: 14px;
	margin-bottom: 14px;
	background: var(--hr-field-bg, #FAF7EE);
}
.hr-calendar-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 4px;
}
.hr-calendar-header .hr-cal-month-label {
	font-weight: 700;
	font-size: 14px;
	text-transform: capitalize;
	color: var(--hr-text, #0F2B22);
}
.hr-cal-nav {
	background: #fff;
	border: 1px solid var(--hr-border, #E4DCC4);
	border-radius: 8px;
	width: 28px;
	height: 28px;
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
	color: var(--hr-text, #0F2B22);
}
.hr-cal-step-label {
	font-size: 12px;
	color: var(--hr-text-secondary, #6B7568);
	margin: 6px 0 8px;
}
.hr-cal-weekdays {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	text-align: center;
	font-size: 11px;
	color: var(--hr-text-secondary, #99A093);
	margin-bottom: 4px;
}
.hr-cal-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 4px;
}
.hr-cal-cell {
	aspect-ratio: 1 / 1;
	border: 1px solid transparent;
	background: #fff;
	border-radius: 8px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 2px;
	font-size: 11px;
	color: var(--hr-text, #0F2B22);
}
.hr-cal-daynum {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
}
.hr-cal-price {
	font-size: 9px;
	color: var(--hr-accent, #E8622D);
	font-weight: 700;
	margin-top: 1px;
}
.hr-cal-cell.hr-cal-empty {
	visibility: hidden;
	cursor: default;
	border: none;
	background: transparent;
}
.hr-cal-cell.hr-cal-disabled {
	color: var(--hr-border, #D8CCA5);
	background: transparent;
	cursor: not-allowed;
}
.hr-cal-cell.hr-cal-disabled .hr-cal-price {
	display: none;
}
.hr-cal-cell.hr-cal-in-range {
	background: var(--hr-highlight, rgba(127, 214, 194, .3));
}
.hr-cal-cell.hr-cal-selected {
	background: var(--hr-primary, #0F2B22);
	color: var(--hr-primary-text, #F5F0DE);
}
.hr-cal-cell.hr-cal-selected .hr-cal-price {
	color: var(--hr-highlight-strong, #7FD6C2);
}

.hr-btn-secondary {
	flex: 0 0 90px;
	padding: 12px 14px;
	background: #fff;
	color: var(--hr-text, #0F2B22);
	border: 1px solid var(--hr-border, #E4DCC4);
	border-radius: 999px;
	cursor: pointer;
	font-weight: 700;
	font-size: 14px;
}
.hr-btn-secondary:hover {
	background: var(--hr-field-bg, #FAF7EE);
}
.hr-step-actions {
	display: flex;
	gap: 8px;
	margin-top: 6px;
}
.hr-step-actions .hr-btn {
	margin-top: 0;
}

.hr-cart-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(15, 43, 34, 0.55);
	z-index: 100000;
	display: flex;
	justify-content: flex-end;
}
.hr-cart-panel {
	background: var(--hr-bg, #fff);
	color: var(--hr-text, #0F2B22);
	width: 100%;
	max-width: 420px;
	height: 100%;
	overflow-y: auto;
	padding: 24px;
	box-sizing: border-box;
}
.hr-cart-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
	font-size: 17px;
	font-weight: 700;
}
.hr-cart-close {
	background: none;
	border: none;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	color: var(--hr-text-secondary, #6B7568);
}
.hr-cart-recap {
	background: var(--hr-field-bg, #FAF7EE);
	border-radius: 12px;
	padding: 12px 14px;
	font-size: 13px;
	margin-bottom: 18px;
	color: var(--hr-text, #0F2B22);
	font-weight: 600;
}
.hr-cart-recap .hr-recap-detail {
	color: var(--hr-text-secondary, #6B7568);
	display: block;
	margin-top: 2px;
	font-weight: 400;
}
.hr-cart-step-label {
	font-size: 11px;
	color: var(--hr-accent, #E8622D);
	margin: 0 0 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-weight: 700;
}
.hr-pay-summary {
	background: var(--hr-field-bg, #FAF7EE);
	border: 1px solid var(--hr-border, #E4DCC4);
	border-radius: 12px;
	padding: 14px;
	margin-bottom: 4px;
	font-size: 13px;
}
.hr-pay-summary p {
	margin: 5px 0;
}
.hr-pay-btn {
	background: var(--hr-accent, #E8622D) !important;
}

@media (max-width: 480px) {
	.hr-cart-panel {
		max-width: 100%;
	}
	.hr-booking-widget,
	.hr-cart-panel {
		padding: 18px;
	}
	.hr-step-actions {
		flex-wrap: wrap;
	}
	.hr-step-actions .hr-btn-secondary {
		flex: 1 1 100%;
		order: 2;
	}
	.hr-step-actions .hr-btn {
		flex: 1 1 100%;
		order: 1;
	}
}

@media (max-width: 360px) {
	.hr-cal-daynum {
		font-size: 12px;
	}
	.hr-cal-price {
		font-size: 8px;
	}
	.hr-cal-grid {
		gap: 2px;
	}
}
