/* Book layout V2 — overrides frontend.min.css with higher specificity */

body.book-v2 {
	--book-ink: #1f2937;
	--book-muted: #6b7280;
	--book-line: #e5e7eb;
	--book-surface: #ffffff;
	--book-accent: var(--main-bg-color, #35a768);
	--book-accent-soft: color-mix(in srgb, var(--book-accent) 14%, white);
	--book-font: 'Manrope', system-ui, -apple-system, sans-serif;
	--book-display: 'Fraunces', Georgia, 'Times New Roman', serif;

	margin: 0;
	min-height: 100%;
	font-family: var(--book-font);
	color: var(--book-ink);
	background: #f3f4f6;
}

body.book-v2 #main.book-v2-main {
	width: 100%;
	max-width: 640px;
	margin: 0 auto;
	padding: 0 0 2rem;
	min-height: 100vh;
	background: transparent;
}

body.book-v2 .book-v2-shell {
	padding: 0;
}

body.book-v2 #book-appointment-wizard.book-v2-wizard {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	min-height: 0 !important;
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	overflow: visible !important;
}

body.book-v2 .book-v2-top {
	display: block;
	background: var(--book-accent);
	border-radius: 0 0 20px 20px;
	padding-bottom: 0.75rem;
}

/* ===== Hero ===== */

body.book-v2 #book-appointment-wizard #header.book-v2-hero {
	float: none !important;
	display: block !important;
	overflow: visible !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 1rem 1rem 0.35rem !important;
	background: transparent !important;
	border-radius: 12px;
	text-align: center;
}

body.book-v2 .book-v2-brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.4rem;
}

body.book-v2 #book-appointment-wizard #company-logo {
	float: none !important;
	display: block !important;
	width: auto !important;
	margin: 0 auto !important;
	text-align: center;
}

body.book-v2 #book-appointment-wizard #company-logo img {
	display: block;
	height: auto;
	width: auto;
	max-height: 72px;
	max-width: min(200px, 55vw);
	margin: 0 auto;
	border: none !important;
	border-radius: 0;
	background: transparent;
	padding: 0;
	object-fit: contain;
	box-shadow: none;
}

body.book-v2 #book-appointment-wizard #company-name {
	float: none !important;
	display: block !important;
	margin: 0 !important;
	text-align: center !important;
	font-family: var(--book-display);
	font-size: clamp(1.15rem, 4.8vw, 1.45rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: #fff !important;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
	padding: 0 0.5rem;
}

body.book-v2 .book-v2-tagline {
	display: none;
}

/* ===== Steps — kill floats from frontend.min.css ===== */

body.book-v2 #book-appointment-wizard #steps.book-v2-steps {
	float: none !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	width: auto !important;
	max-width: none;
	margin: 0.65rem auto 0 !important;
	overflow: visible !important;
}

body.book-v2 #book-appointment-wizard .book-step,
body.book-v2 #book-appointment-wizard .book-step.active-step {
	float: none !important;
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0;
	box-sizing: border-box !important;
	width: 2.1rem !important;
	height: 2.1rem !important;
	min-width: 2.1rem !important;
	min-height: 2.1rem !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
	border-radius: 999px !important;
	background: rgba(0, 0, 0, 0.14) !important;
	box-shadow: none !important;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

body.book-v2 #book-appointment-wizard .book-step strong,
body.book-v2 #book-appointment-wizard .active-step strong {
	float: none !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 999px;
	font-size: 0.82rem !important;
	font-weight: 700;
	line-height: 1 !important;
	color: #fff !important;
	background: transparent;
	cursor: default;
}

/* Mobile: só números */
body.book-v2 #book-appointment-wizard .book-step .book-v2-step-label {
	display: none !important;
}

body.book-v2 #book-appointment-wizard .book-step.active-step {
	background: #fff !important;
	border-color: #fff !important;
	transform: scale(1.08);
}

body.book-v2 #book-appointment-wizard .book-step.active-step strong {
	background: transparent !important;
	color: var(--book-accent) !important;
}

body.book-v2 #book-appointment-wizard .book-step.active-step .book-v2-step-label {
	color: var(--book-ink);
}

/* ===== Frames ===== */

body.book-v2 #book-appointment-wizard .wizard-frame.book-v2-frame {
	height: auto !important;
	padding: 1rem 1rem 0.5rem !important;
}

body.book-v2 #book-appointment-wizard .wizard-frame .frame-container {
	float: none !important;
	height: auto !important;
	min-height: 0 !important;
	padding: 1.15rem 1rem !important;
	background: var(--book-surface);
	border: 1px solid color-mix(in srgb, var(--book-accent) 38%, white);
	border-radius: 16px;
	box-shadow: none;
}

body.book-v2 #book-appointment-wizard .frame-container .frame-title {
	margin: 0 0 1rem !important;
	font-family: var(--book-font);
	font-size: 1.15rem !important;
	font-weight: 700 !important;
	line-height: 1.3;
	text-align: left !important;
	color: var(--book-ink) !important;
}

body.book-v2 #book-appointment-wizard .frame-container .frame-content {
	float: none !important;
}

body.book-v2 #book-appointment-wizard #wizard-frame-1 label,
body.book-v2 #book-appointment-wizard #wizard-frame-1 label strong,
body.book-v2 #book-appointment-wizard #wizard-frame-3 label,
body.book-v2 #book-appointment-wizard #wizard-frame-3 label strong,
body.book-v2 #book-appointment-wizard #dvFrmCustomer label,
body.book-v2 #book-appointment-wizard #dvFrmCustomer .control-label {
	font-size: 0.85rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--book-muted);
	margin-bottom: 0.4rem !important;
}

body.book-v2 #book-appointment-wizard #wizard-frame-1 select {
	margin-bottom: 0.85rem !important;
}

body.book-v2 #book-appointment-wizard #dvFrmCustomer .form-group {
	margin-bottom: 0.95rem;
}

body.book-v2 #book-appointment-wizard #dvFrmCustomer .select2-container--book-v2 {
	margin-bottom: 0;
}

body.book-v2 #book-appointment-wizard .book-v2-consents {
	display: grid;
	gap: 0.65rem;
	margin-top: 1rem;
	padding: 0.85rem 1rem;
	border: 1px solid #d7ebe0;
	border-radius: 10px;
	background: var(--book-accent-soft);
}

body.book-v2 #book-appointment-wizard .book-v2-consent {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	min-height: 0;
	margin: 0;
	padding: 0;
}

body.book-v2 #book-appointment-wizard .book-v2-consent .form-check-input {
	position: static;
	flex: 0 0 auto;
	width: 1rem;
	height: 1rem;
	margin: 0.2rem 0 0;
	accent-color: var(--book-accent);
}

body.book-v2
	#book-appointment-wizard
	#wizard-frame-3
	.book-v2-consent
	.form-check-label {
	margin: 0 !important;
	font-size: 0.82rem !important;
	font-weight: 600 !important;
	letter-spacing: 0;
	line-height: 1.45;
	text-transform: none;
	color: var(--book-muted);
}

body.book-v2
	#book-appointment-wizard
	#wizard-frame-3
	.book-v2-consent
	.form-check-label
	a {
	color: var(--book-accent);
	font-weight: 700;
}

body.book-v2 #book-appointment-wizard .form-control {
	min-height: 44px;
	border-radius: 10px;
	border-color: var(--book-line);
	font-family: var(--book-font);
	font-size: 0.95rem;
}

/* Erro de validação: precisa ganhar do border-color do .form-control acima */
body.book-v2 #book-appointment-wizard .has-error > label,
body.book-v2 #book-appointment-wizard .has-error .control-label,
body.book-v2 #book-appointment-wizard .has-error > .form-check-label {
	color: #dc3545 !important;
}

body.book-v2 #book-appointment-wizard .has-error .form-control,
body.book-v2 #book-appointment-wizard .has-error .iti__tel-input,
body.book-v2 #book-appointment-wizard .form-control.is-invalid,
body.book-v2 #book-appointment-wizard .iti__tel-input.is-invalid {
	border-color: #dc3545 !important;
	box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.18);
}

body.book-v2 #book-appointment-wizard .has-error .iti {
	border-radius: 10px;
}

body.book-v2 #book-appointment-wizard .book-v2-consent.has-error,
body.book-v2 #book-appointment-wizard .book-v2-consent.text-danger {
	padding: 0.35rem 0.45rem;
	border-radius: 8px;
	outline: 2px solid #dc3545;
	outline-offset: 0;
	background: rgba(220, 53, 69, 0.06);
}

body.book-v2
	#book-appointment-wizard
	.book-v2-consent.has-error
	.form-check-label,
body.book-v2
	#book-appointment-wizard
	.book-v2-consent.text-danger
	.form-check-label {
	color: #dc3545 !important;
}

body.book-v2 #book-appointment-wizard #service-description {
	margin-top: 0.5rem;
	padding: 0.7rem 0.85rem;
	max-height: none !important;
	border-radius: 10px;
	background: var(--book-accent-soft);
	box-shadow: none !important;
	font-size: 0.9rem;
}

body.book-v2 #book-appointment-wizard #service-description:empty {
	display: none;
}

/* ===== Date + hours — full reset vs general.min.css ===== */

body.book-v2 #book-appointment-wizard .wizard-frame #select-date {
	max-width: none !important;
	width: 100% !important;
	margin: 0 0 1rem !important;
	padding: 0 !important;
}

body.book-v2 #book-appointment-wizard #select-date .ui-datepicker,
body.book-v2 #book-appointment-wizard .wizard-frame #select-date > .ui-datepicker {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid var(--book-line) !important;
	border-radius: 14px !important;
	background: #fff !important;
	font-family: var(--book-font) !important;
	box-shadow: none !important;
	overflow: hidden;
}

body.book-v2 #book-appointment-wizard #select-date .ui-datepicker-header,
body.book-v2 #book-appointment-wizard #select-date .ui-widget-header {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
	padding: 0.7rem 2.5rem !important;
	border: none !important;
	border-radius: 0 !important;
	background: var(--book-accent) !important;
	color: #fff !important;
}

body.book-v2 #book-appointment-wizard #select-date .ui-datepicker-title {
	margin: 0 !important;
	line-height: 1.3 !important;
	color: #fff !important;
	font-family: var(--book-font) !important;
	font-size: 0.98rem !important;
	font-weight: 700 !important;
}

body.book-v2 #book-appointment-wizard #select-date .ui-datepicker-prev,
body.book-v2 #book-appointment-wizard #select-date .ui-datepicker-next,
body.book-v2 #book-appointment-wizard #select-date .ui-datepicker-prev-hover,
body.book-v2 #book-appointment-wizard #select-date .ui-datepicker-next-hover {
	top: 50% !important;
	width: 1.85rem !important;
	height: 1.85rem !important;
	margin-top: -0.925rem !important;
	border: none !important;
	border-radius: 999px !important;
	background: rgba(255, 255, 255, 0.18) !important;
	cursor: pointer;
}

body.book-v2 #book-appointment-wizard #select-date .ui-datepicker-prev,
body.book-v2 #book-appointment-wizard #select-date .ui-datepicker-prev-hover {
	left: 0.55rem !important;
}

body.book-v2 #book-appointment-wizard #select-date .ui-datepicker-next,
body.book-v2 #book-appointment-wizard #select-date .ui-datepicker-next-hover {
	right: 0.55rem !important;
}

body.book-v2 #book-appointment-wizard #select-date .ui-datepicker-prev span,
body.book-v2 #book-appointment-wizard #select-date .ui-datepicker-next span {
	display: none !important;
}

body.book-v2 #book-appointment-wizard #select-date .ui-datepicker-prev::after,
body.book-v2 #book-appointment-wizard #select-date .ui-datepicker-next::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0.45rem;
	height: 0.45rem;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: translate(-40%, -50%) rotate(-135deg);
}

body.book-v2 #book-appointment-wizard #select-date .ui-datepicker-next::after {
	transform: translate(-60%, -50%) rotate(45deg);
}

body.book-v2 #book-appointment-wizard #select-date .ui-datepicker-calendar {
	width: 100% !important;
	margin: 0 !important;
	table-layout: fixed;
	border-collapse: separate !important;
	border-spacing: 0 !important;
}

body.book-v2 #book-appointment-wizard #select-date .ui-datepicker th {
	padding: 0.65rem 0 0.35rem !important;
	border: none !important;
	background: #fff !important;
	color: var(--book-muted) !important;
	font-family: var(--book-font) !important;
	font-size: 0.72rem !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

body.book-v2 #book-appointment-wizard #select-date .ui-datepicker td {
	padding: 2px !important;
	border: none !important;
	background: transparent !important;
}

body.book-v2 #book-appointment-wizard #select-date .ui-datepicker tbody tr:first-child td {
	margin-top: 0 !important;
	padding-top: 2px !important;
}

body.book-v2 #book-appointment-wizard #select-date .ui-datepicker td a,
body.book-v2 #book-appointment-wizard #select-date .ui-datepicker td span,
body.book-v2 #book-appointment-wizard #select-date .ui-state-default {
	display: flex !important;
	align-items: center;
	justify-content: center;
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: none !important;
	height: 2.35rem !important;
	min-height: 2.35rem !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 10px !important;
	background: transparent !important;
	color: var(--book-ink) !important;
	font-family: var(--book-font) !important;
	font-size: 0.92rem !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	text-align: center !important;
}

body.book-v2 #book-appointment-wizard #select-date .ui-datepicker td span.ui-state-default {
	opacity: 0.35;
	font-weight: 500 !important;
}

body.book-v2 #book-appointment-wizard #select-date td a.ui-state-hover {
	background: var(--book-accent-soft) !important;
	color: var(--book-ink) !important;
}

body.book-v2 #book-appointment-wizard #select-date td a.ui-state-highlight {
	/* Fundo claro + texto escuro: contraste ok em tema claro ou bem escuro */
	background: color-mix(in srgb, var(--book-accent) 36%, white) !important;
	color: color-mix(in srgb, var(--book-accent) 72%, black) !important;
	font-weight: 700 !important;
	border-radius: 10px !important;
	width: 100% !important;
	height: 2.35rem !important;
	margin: 0 !important;
	line-height: 1 !important;
}

body.book-v2 #book-appointment-wizard #select-date td a.ui-state-active,
html body.book-v2 #book-appointment-wizard #select-date td a.ui-state-active,
body.book-v2 #book-appointment-wizard #select-date td a.ui-state-highlight.ui-state-active {
	background: var(--book-accent) !important;
	color: #fff !important;
	font-weight: 700 !important;
	border-radius: 10px !important;
	width: 100% !important;
	height: 2.35rem !important;
	margin: 0 !important;
	line-height: 1 !important;
}

body.book-v2 #book-appointment-wizard #select-date .ui-datepicker-calendar tbody {
	padding: 0 0.35rem 0.5rem;
}

body.book-v2 #book-appointment-wizard .wizard-frame #select-time {
	max-width: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Mobile: clear visual break between calendar and hours */
@media (max-width: 767.98px) {
	body.book-v2 #book-appointment-wizard .wizard-frame #select-date {
		margin: 0 0 0.35rem !important;
	}

	body.book-v2 #book-appointment-wizard .wizard-frame #select-time {
		margin-top: 1.15rem !important;
		padding-top: 1.15rem !important;
		border-top: 1px solid var(--book-line);
	}

	body.book-v2 #book-appointment-wizard .wizard-frame #select-time::before {
		content: 'Horários disponíveis';
		display: block;
		margin: 0 0 0.75rem;
		font-family: var(--book-font);
		font-size: 0.72rem;
		font-weight: 700;
		letter-spacing: 0.04em;
		text-transform: uppercase;
		color: var(--book-muted);
	}
}

body.book-v2 #book-appointment-wizard #available-hours {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.45rem;
	align-content: start;
	overflow: visible !important;
	width: 100% !important;
	min-height: 0 !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.book-v2 #book-appointment-wizard #available-hours.book-v2-hours-message {
	display: block !important;
	width: 100% !important;
	padding: 0.75rem 0.15rem !important;
	color: var(--book-muted);
	line-height: 1.5;
}

body.book-v2 #book-appointment-wizard #available-hours #select-hour-prompt {
	grid-column: 1 / -1;
	width: 100% !important;
}

body.book-v2 #book-appointment-wizard #available-hours div {
	margin: 0 !important;
	padding: 0 !important;
	width: auto !important;
	float: none !important;
}

body.book-v2 #book-appointment-wizard #available-hours .available-hour,
body.book-v2 #book-appointment-wizard #available-hours .available-hour.btn,
body.book-v2 #book-appointment-wizard #available-hours .available-hour.btn-block {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0.55rem 0.35rem !important;
	border: 1px solid var(--book-line) !important;
	border-radius: 999px !important;
	background: #fff !important;
	color: var(--book-ink) !important;
	font-family: var(--book-font);
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.2;
	box-shadow: none !important;
	box-sizing: border-box !important;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

body.book-v2 #book-appointment-wizard #available-hours .available-hour:hover,
body.book-v2 #book-appointment-wizard #available-hours .available-hour.btn:hover {
	background: var(--book-accent-soft) !important;
	border-color: var(--book-accent) !important;
	color: var(--book-ink) !important;
}

body.book-v2 #book-appointment-wizard #available-hours .available-hour.selected-hour,
body.book-v2 #book-appointment-wizard #available-hours .available-hour.selected-hour.btn {
	background: var(--book-accent) !important;
	border-color: var(--book-accent) !important;
	color: #fff !important;
}

/* ===== Confirm blocks ===== */

body.book-v2 #book-appointment-wizard .book-v2-confirm-summary {
	overflow: hidden;
	margin-right: 0;
	margin-left: 0;
	border: 1px solid var(--book-line);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

body.book-v2 #book-appointment-wizard #appointment-details,
body.book-v2 #book-appointment-wizard #customer-details {
	padding: 1.2rem 1.25rem;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

body.book-v2 #book-appointment-wizard #appointment-details {
	background: linear-gradient(135deg, rgba(53, 167, 104, 0.08), rgba(53, 167, 104, 0.02));
}

body.book-v2 #book-appointment-wizard #customer-details {
	border-left: 1px solid var(--book-line);
}

body.book-v2 #book-appointment-wizard #appointment-details h4,
body.book-v2 #book-appointment-wizard #customer-details h4 {
	margin: 0 0 0.75rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--book-text);
}

body.book-v2 #book-appointment-wizard #appointment-details p,
body.book-v2 #book-appointment-wizard #customer-details p {
	font-size: 0.95rem !important;
	line-height: 1.6 !important;
	margin: 0;
	color: var(--book-muted);
}

body.book-v2 #book-appointment-wizard #appointment-details strong {
	color: var(--book-text);
}

@media (max-width: 767.98px) {
	body.book-v2 #book-appointment-wizard #appointment-details,
	body.book-v2 #book-appointment-wizard #customer-details {
		padding: 1rem;
	}

	body.book-v2 #book-appointment-wizard #customer-details {
		border-top: 1px solid var(--book-line);
		border-left: 0;
	}
}

/* ===== Banners ===== */

body.book-v2 .book-v2-banner,
body.book-v2 .booking-header-bar.book-v2-banner {
	margin: 0.4rem 0.85rem 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
}

/* Painel do cliente (Meus agendamentos / Outro número) — abaixo do header */
body.book-v2 #az-painel-cliente.booking-header-bar.row,
body.book-v2 #az-barra-acoes.booking-header-bar.row {
	/* Neutraliza gutter negativo do .row do Bootstrap */
	margin-left: 1rem !important;
	margin-right: 1rem !important;
	width: auto;
	max-width: none;
}

body.book-v2 #az-painel-cliente.booking-header-bar {
	margin-top: 0.55rem !important;
	margin-bottom: 0 !important;
	padding: 0 !important;
	background: #fff !important;
	border: 1px solid color-mix(in srgb, var(--book-accent) 38%, white) !important;
	border-radius: 16px !important;
	box-shadow: none;
	overflow: hidden;
}

body.book-v2 #az-painel-cliente > .col-12 {
	padding: 0.7rem 0.9rem !important;
	max-width: 100%;
	flex: 0 0 100%;
}

body.book-v2 #az-barra-acoes.booking-header-bar {
	margin-top: 0.35rem !important;
	margin-bottom: 0 !important;
	padding: 0 !important;
	background: #fff !important;
	border: 1px solid color-mix(in srgb, var(--book-accent) 38%, white) !important;
	border-radius: 16px !important;
	box-shadow: none;
}

body.book-v2 .book-v2-banner + .book-v2-banner {
	margin-top: 0.35rem !important;
}

body.book-v2 .book-v2-banner:last-of-type {
	margin-bottom: 0.35rem !important;
}

body.book-v2 .book-v2-notice {
	padding: 0.65rem 0.85rem;
	border-radius: 12px;
	border: 1px solid transparent;
}

body.book-v2 .book-v2-notice h5 {
	font-size: 0.9rem;
	font-weight: 700;
	margin: 0;
}

body.book-v2 .book-v2-notice-text {
	font-size: 0.84rem;
	line-height: 1.35;
	margin-top: 0.15rem;
}

body.book-v2 .book-v2-notice--info {
	background: #eff6ff;
	border-color: #bfdbfe;
	color: #1e3a8a;
}

body.book-v2 .book-v2-notice--warn {
	background: #fff7ed;
	border-color: #fed7aa;
	color: #9a3412;
}

body.book-v2 .book-v2-notice-body {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.55rem;
}

body.book-v2 #cancel-appointment-form {
	margin: 0;
}

@media (max-width: 767.98px) {
	body.book-v2 .book-v2-banner,
	body.book-v2 .booking-header-bar.book-v2-banner {
		margin: 0.3rem 0.65rem 0 !important;
	}

	body.book-v2 #az-painel-cliente.booking-header-bar,
	body.book-v2 #az-barra-acoes.booking-header-bar {
		margin-left: 1rem !important;
		margin-right: 1rem !important;
	}

	body.book-v2 .book-v2-banner + .book-v2-banner {
		margin-top: 0.25rem !important;
	}

	body.book-v2 .book-v2-notice {
		padding: 0.55rem 0.75rem;
	}
}

/* ===== Buttons ===== */

body.book-v2 #book-appointment-wizard .wizard-frame .command-buttons {
	float: none !important;
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 0.65rem;
	position: sticky;
	bottom: 0;
	z-index: 30;
	margin: 0.75rem -1rem 0 !important;
	padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px)) !important;
	text-align: left !important;
	background: rgba(243, 244, 246, 0.96);
	border-top: 1px solid var(--book-line);
	backdrop-filter: blur(8px);
}

body.book-v2 #book-appointment-wizard .wizard-frame .command-buttons .btn {
	min-width: 0 !important;
	min-height: 44px;
	margin: 0 !important;
	padding: 0.6rem 1rem;
	border-radius: 999px;
	font-family: var(--book-font);
	font-weight: 700;
	font-size: 0.92rem;
}

body.book-v2 #book-appointment-wizard .command-buttons .button-next.btn-primary,
body.book-v2 #book-appointment-wizard #book-appointment-submit.btn-success {
	background: var(--book-accent) !important;
	border-color: var(--book-accent) !important;
}

body.book-v2 #book-appointment-form {
	display: inline-flex !important;
	flex: 1;
	margin: 0;
}

body.book-v2 #book-appointment-wizard #book-appointment-form #book-appointment-submit {
	width: 100% !important;
	margin: 0 !important;
}

body.book-v2 #book-appointment-wizard #frame-footer.book-v2-footer {
	padding: 1rem !important;
	border-top: none !important;
	color: var(--book-muted);
	font-size: 0.75rem;
}

/* ===== Select2 ===== */

body.book-v2 .book-v2-option-with-image {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	max-width: 100%;
	vertical-align: middle;
}

/* Campo fechado: miniatura um pouco maior, margem menor */
body.book-v2
	.select2-container--book-v2
	.select2-selection__rendered
	.book-v2-option-with-image
	img {
	width: 34px;
	height: 34px;
	object-fit: cover;
	border-radius: 6px;
	flex: 0 0 auto;
	background: #f3f4f6;
}

body.book-v2
	.select2-container--book-v2.has-option-images
	.select2-selection--single {
	min-height: 44px;
	padding: 0.25rem 0.5rem;
	padding-right: 2rem;
	display: flex;
	align-items: center;
}

body.book-v2
	.select2-container--book-v2.has-option-images
	.select2-selection--single
	.select2-selection__rendered {
	line-height: 1.2;
	padding-top: 0;
	padding-bottom: 0;
}

body.book-v2
	.select2-container--book-v2.has-option-images
	.select2-selection--single
	.select2-selection__arrow {
	height: 42px;
}

/* Lista aberta: imagem maior, pouco espaço vertical */
.select2-container--book-v2
	.select2-results__option
	.book-v2-option-with-image {
	width: 100%;
	gap: 0.7rem;
	min-height: 0;
}

.select2-container--book-v2
	.select2-results__option
	.book-v2-option-with-image
	img {
	width: 68px;
	height: 68px;
	object-fit: cover;
	border-radius: 8px;
	flex: 0 0 auto;
	background: #f3f4f6;
}

.select2-container--book-v2
	.select2-results__option
	.book-v2-option-with-image
	> span {
	font-size: 0.98rem;
	line-height: 1.3;
	white-space: normal;
}

.select2-container--book-v2
	.select2-results__option:has(.book-v2-option-with-image) {
	padding: 0.5rem;
}

.select2-container--book-v2
	.select2-results__option[role='group']
	.select2-results__options--nested
	.select2-results__option:has(.book-v2-option-with-image) {
	padding: 0.5rem;
	padding-left: 0.5rem;
}

body.book-v2 .book-v2-option-with-image > span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.book-v2 .select2-container--book-v2 {
	width: 100% !important;
	margin-bottom: 0.85rem;
}

body.book-v2 .select2-container--book-v2 .select2-selection--single {
	min-height: 44px;
	padding: 0.35rem 0.75rem;
	padding-right: 2rem;
	border: 1px solid var(--book-line);
	border-radius: 10px;
	background: #fff;
	position: relative;
}

body.book-v2
	.select2-container--book-v2
	.select2-selection--single
	.select2-selection__rendered {
	padding-left: 0;
	line-height: 32px;
	color: var(--book-ink);
	font-family: var(--book-font);
	font-size: 0.95rem;
}

body.book-v2
	.select2-container--book-v2
	.select2-selection--single
	.select2-selection__arrow {
	height: 42px;
	position: absolute;
	top: 1px;
	right: 6px;
	width: 20px;
}

body.book-v2
	.select2-container--book-v2
	.select2-selection--single
	.select2-selection__arrow
	b {
	border-color: #6b7280 transparent transparent transparent;
	border-style: solid;
	border-width: 5px 4px 0 4px;
	height: 0;
	left: 50%;
	margin-left: -4px;
	margin-top: -2px;
	position: absolute;
	top: 50%;
	width: 0;
}

body.book-v2
	.select2-container--book-v2.select2-container--open
	.select2-selection--single
	.select2-selection__arrow
	b {
	border-color: transparent transparent #6b7280 transparent;
	border-width: 0 4px 5px 4px;
}

body.book-v2 .select2-container--book-v2.select2-container--open .select2-selection--single,
body.book-v2 .select2-container--book-v2.select2-container--focus .select2-selection--single {
	border-color: var(--book-accent);
	box-shadow: 0 0 0 3px var(--book-accent-soft);
}

body.book-v2
	.select2-container--book-v2.select2-container--disabled
	.select2-selection--single {
	background: #f3f4f6;
	border-color: #e5e7eb;
	color: #6b7280;
	cursor: default;
	box-shadow: none;
	opacity: 1;
}

body.book-v2
	.select2-container--book-v2.select2-container--disabled
	.select2-selection__arrow {
	display: none;
}

body.book-v2
	.select2-container--book-v2.select2-container--disabled
	.select2-selection__rendered {
	color: #4b5563;
}

.select2-container--book-v2 .select2-dropdown {
	border: 1px solid var(--book-line, #e5e7eb);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
	font-family: 'Manrope', system-ui, sans-serif;
}

.select2-container--book-v2 .select2-search--dropdown {
	padding: 0.65rem;
	background: #f9fafb;
	border-bottom: 1px solid var(--book-line, #e5e7eb);
}

.select2-container--book-v2 .select2-search--dropdown .select2-search__field {
	height: 40px;
	padding: 0.45rem 0.7rem;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	outline: none;
	font-family: 'Manrope', system-ui, sans-serif;
	font-size: 0.92rem;
	color: #1f2937;
	background: #fff;
}

.select2-container--book-v2 .select2-search--dropdown .select2-search__field:focus {
	border-color: var(--main-bg-color, #35a768);
	box-shadow: 0 0 0 3px rgba(53, 167, 104, 0.14);
}

.select2-container--book-v2 .select2-results__option {
	padding: 0.65rem 0.85rem;
	font-size: 0.92rem;
	border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.select2-container--book-v2 .select2-results__option:last-child {
	border-bottom: none;
}

.select2-container--book-v2 .select2-results__option[role='group'] {
	padding: 0;
	border-bottom: none;
}

.select2-container--book-v2 .select2-results__group {
	display: block;
	padding: 0.65rem 0.85rem;
	font-size: 0.84rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #17683d;
	background: #eef8f2;
	border-bottom: 1px solid #d7ebe0;
}

.select2-container--book-v2
	.select2-results__option[role='group']
	.select2-results__options--nested
	.select2-results__option {
	padding-left: 1.25rem;
}

.select2-container--book-v2 .select2-results__option--highlighted[aria-selected] {
	background: color-mix(in srgb, var(--main-bg-color, #35a768) 16%, white);
	color: #1f2937;
}

.select2-container--book-v2 .select2-results__option[aria-selected='true'] {
	background: var(--main-bg-color, #35a768);
	color: #fff;
}

/* ===== Desktop — wider layout, shorter header, vertical steps ===== */

@media (min-width: 768px) {
	body.book-v2 {
		background: linear-gradient(180deg, #eef2f0 0%, #f3f4f6 100%);
	}

	body.book-v2 #main.book-v2-main {
		max-width: 780px;
		padding: 1.25rem 1rem 2rem;
	}

	body.book-v2 .book-v2-top {
		display: flex;
		align-items: stretch;
		gap: 0;
		background: var(--book-accent);
		border-radius: 18px;
		padding: 0.4rem 0.65rem 0.4rem 0.4rem;
	}

	body.book-v2 #book-appointment-wizard #header.book-v2-hero {
		flex: 1;
		border-radius: 0;
		padding: 0 0.85rem 0 0 !important;
		background: transparent !important;
		display: flex !important;
		flex-direction: row !important;
		align-items: center;
		justify-content: flex-start;
		gap: 0.85rem;
		text-align: left;
		min-width: 0;
	}

	body.book-v2 .book-v2-brand {
		flex-direction: row;
		align-items: center;
		align-self: stretch;
		gap: 0.85rem;
		min-width: 0;
	}

	body.book-v2 #book-appointment-wizard #company-logo {
		float: none !important;
		display: block !important;
		align-self: center;
		height: auto !important;
		margin: 0 !important;
		flex-shrink: 0;
	}

	body.book-v2 #book-appointment-wizard #company-logo img {
		display: block;
		box-sizing: border-box;
		height: auto;
		width: auto;
		max-width: min(340px, 48vw);
		min-height: 0;
		max-height: 9.35rem;
		aspect-ratio: auto;
		object-fit: contain;
		border-radius: 12px;
		padding: 0;
		background: transparent;
		box-shadow: none;
	}

	body.book-v2 #book-appointment-wizard #company-name {
		float: none !important;
		display: block !important;
		margin: 0 !important;
		text-align: left !important;
		font-size: 2.1rem;
		line-height: 1.15;
	}

	body.book-v2 .book-v2-tagline {
		display: none;
	}

	body.book-v2 #book-appointment-wizard #steps.book-v2-steps {
		float: none !important;
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch;
		justify-content: center;
		gap: 0.3rem;
		width: 8.75rem !important;
		max-width: none;
		margin: 0 !important;
		padding: 0 0 0 0.75rem;
		background: transparent;
		border-radius: 0;
		border-left: 1px solid rgba(255, 255, 255, 0.28);
		flex-shrink: 0;
	}

	body.book-v2 #book-appointment-wizard .book-step,
	body.book-v2 #book-appointment-wizard .book-step.active-step {
		width: 100% !important;
		height: auto !important;
		min-width: 0 !important;
		min-height: 0 !important;
		padding: 0.35rem 0.4rem !important;
		border: none !important;
		border-radius: 10px !important;
		background: transparent !important;
		transform: none;
		flex-direction: row;
		justify-content: flex-start;
		gap: 0.45rem;
	}

	body.book-v2 #book-appointment-wizard .book-step strong,
	body.book-v2 #book-appointment-wizard .active-step strong {
		width: 1.45rem;
		height: 1.45rem;
		flex-shrink: 0;
		background: rgba(0, 0, 0, 0.18);
		color: #fff !important;
	}

	body.book-v2 #book-appointment-wizard .book-step.active-step {
		background: rgba(255, 255, 255, 0.95) !important;
	}

	body.book-v2 #book-appointment-wizard .book-step.active-step strong {
		background: var(--book-accent) !important;
		color: #fff !important;
	}

	body.book-v2 #book-appointment-wizard .book-step .book-v2-step-label {
		display: block !important;
		max-width: 100%;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		margin-top: 0;
		font-size: 0.62rem;
		font-weight: 700;
		letter-spacing: 0.03em;
		text-transform: uppercase;
		color: rgba(255, 255, 255, 0.92);
		line-height: 1.1;
		text-align: left;
	}

	body.book-v2 #book-appointment-wizard .book-step.active-step .book-v2-step-label {
		color: var(--book-ink);
	}

	body.book-v2 #book-appointment-wizard .wizard-frame.book-v2-frame {
		padding: 1rem 0 0 !important;
	}

	body.book-v2 #az-painel-cliente.booking-header-bar.row,
	body.book-v2 #az-barra-acoes.booking-header-bar.row {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	body.book-v2 #book-appointment-wizard .wizard-frame .frame-container {
		padding: 1.25rem 1.25rem !important;
	}

	body.book-v2 #book-appointment-wizard .wizard-frame .command-buttons {
		position: sticky;
		bottom: 0;
		z-index: 30;
		margin: 1rem 0 0 !important;
		padding: 0.75rem 1.25rem !important;
		background: rgba(243, 244, 246, 0.96);
		border-top: 1px solid var(--book-line);
		backdrop-filter: blur(8px);
	}

	body.book-v2 #book-appointment-wizard #available-hours {
		gap: 0.4rem;
	}

	body.book-v2 #book-appointment-wizard #available-hours .available-hour,
	body.book-v2 #book-appointment-wizard #available-hours .available-hour.btn,
	body.book-v2 #book-appointment-wizard #available-hours .available-hour.btn-block {
		padding: 0.5rem 0.35rem !important;
		font-size: 0.88rem;
	}
}
