.genifix.reservation-cta {
	background-image: url(/wordpress/wp-content/themes/forest_dental_clinic/img/common/click.png);
	background-position: top left;
	background-repeat: no-repeat;
	padding: 0 0 2rem;
}

.reservation-cta__booking {
	display: block;
	padding: 2rem 2rem 0;
}

.reservation-cta__details {
	display: flex;
	align-items: center;
	gap: 10px;
	text-align: left;
}

.reservation-cta__details .come {
	flex: 1;
	margin: 0;
}

.reservation-cta__details img {
	display: block;
	width: 112px;
	max-width: 40%;
	height: auto;
	flex-shrink: 0;
}

.reservation-cta__notice,
.reservation-notice-dialog__controls button {
	min-height: 44px;
	border: 1px solid #a66b27;
	border-radius: 4px;
	background: #fff7e8;
	color: #704514;
	font: inherit;
	cursor: pointer;
}

.reservation-cta__notice {
	appearance: none;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	column-gap: 12px;
	row-gap: 3px;
	width: calc(100% - 4rem);
	margin: 12px 2rem 0;
	padding: 12px 16px;
	border-color: #526f59;
	border-radius: 6px;
	background: #fcfdfa;
	color: #234733;
	box-shadow: 0 2px 0 #b8c7ba, 0 3px 5px rgb(35 71 51 / 12%);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
	text-align: left;
	text-shadow: none;
}

summary.reservation-cta__notice {
	list-style: none;
}

summary.reservation-cta__notice::-webkit-details-marker {
	display: none;
}

.reservation-cta__fallback[open] .reservation-cta__notice::after {
	transform: rotate(135deg);
}

.reservation-cta__fallback-content {
	margin: 12px 2rem 0;
	padding: 16px;
	border: 1px solid #d8cfb9;
	border-radius: 6px;
	background: #fff;
}

.reservation-cta__fallback[hidden],
.reservation-notice-dialog:not([open]) {
	display: none;
}

.reservation-cta__notice > span {
	grid-column: 2;
}

.reservation-cta__notice > .reservation-cta__notice-icon {
	grid-column: 1;
	grid-row: 1 / span 3;
	display: grid;
	place-items: center;
	box-sizing: border-box;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #234733;
	color: #fff;
	font: 700 15px/1 Arial, sans-serif;
}

.reservation-cta__notice::after {
	content: "";
	grid-column: 3;
	grid-row: 1 / span 3;
	width: 8px;
	height: 8px;
	margin-right: 3px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg);
}

.reservation-cta__notice-note {
	font-size: 13px;
}

.reservation-cta__notice [lang="en"] {
	font-size: 12px;
	font-weight: 500;
}

.reservation-cta__notice:hover {
	background: #e5efe5;
}

.reservation-cta__notice:active {
	background: #d6e6d8;
	box-shadow: none;
}

.reservation-notice-dialog__controls button:hover {
	background: #f8e8cc;
}

.reservation-cta__notice:focus-visible {
	outline: 2px solid #234733;
	outline-offset: 2px;
}

@media (max-width: 480px) {
	.reservation-cta__notice {
		width: calc(100% - 8px);
		margin-right: 4px;
		margin-left: 4px;
		padding-right: 8px;
		padding-left: 8px;
		column-gap: 5px;
		font-size: 14px;
	}

	.reservation-cta__notice [lang="en"] {
		font-size: 11px;
	}

	.reservation-cta__notice::after {
		width: 6px;
		height: 6px;
	}

	.reservation-cta__notice > .reservation-cta__notice-icon {
		width: 18px;
		height: 18px;
		font-size: 12px;
	}
}

.reservation-cta__booking:focus-visible,
.reservation-notice-dialog__controls button:focus-visible {
	outline: 2px solid #704514;
	outline-offset: 2px;
}

.reservation-notice-dialog {
	position: fixed;
	inset: 0;
	box-sizing: border-box;
	width: min(680px, calc(100% - 32px));
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	margin: auto;
	padding: 0 clamp(16px, 4vw, 32px) 24px;
	overflow: auto;
	overscroll-behavior: contain;
	border: 1px solid #d8cfb9;
	border-radius: 8px;
	background: #fff;
}

.reservation-notice-content {
	color: #443c2f;
	text-align: left;
	text-shadow: none;
	font-size: 15px;
	line-height: 1.75;
}

.reservation-notice-dialog::backdrop {
	background: rgb(34 28 19 / 65%);
}

html:has(.reservation-notice-dialog[open]) {
	overflow: hidden;
}

.reservation-notice-dialog__controls {
	position: sticky;
	top: 0;
	z-index: 1;
	margin: 0;
	padding: 12px 0 8px;
	background: #fff;
	text-align: right;
}

.reservation-notice-dialog__controls button {
	padding: 4px 12px;
	font-size: 14px;
}

.reservation-notice-content h2 {
	margin: 0 0 12px;
	color: #553a20;
	font-size: clamp(17px, 4.4vw, 22px);
	font-weight: 700;
	line-height: 1.5;
}

.reservation-notice-content p {
	margin: 0 0 12px;
}

.reservation-notice-content__english {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #d8cfb9;
}

a.reservation-notice-content__booking {
	--booking-arrow-size: clamp(20px, 6.25vw, 28px);
	display: grid;
	grid-template-columns: var(--booking-arrow-size) minmax(0, 1fr) var(--booking-arrow-size);
	align-items: center;
	gap: clamp(4px, 1.25vw, 16px);
	box-sizing: border-box;
	max-width: 360px;
	min-height: 44px;
	margin: 20px auto 0;
	padding: 11px clamp(8px, 2.5vw, 18px);
	border-radius: 6px;
	background: #234733;
	color: #fff;
	font-weight: 700;
	line-height: 1.45;
	text-align: center;
	text-decoration: none;
}

.reservation-notice-content__booking-arrow {
	display: grid;
	place-items: center;
	grid-column: 3;
	width: var(--booking-arrow-size);
	height: var(--booking-arrow-size);
	border-radius: 50%;
	background: rgb(255 255 255 / 16%);
	font-size: clamp(14px, 4vw, 18px);
	line-height: 1;
}

.reservation-notice-content__booking-label {
	display: grid;
	grid-column: 2;
	gap: 2px;
}

.reservation-notice-content__booking [lang="en"] {
	font-size: clamp(12px, 3.5vw, 13px);
	font-weight: 500;
}

a.reservation-notice-content__booking:hover,
a.reservation-notice-content__booking:focus-visible {
	background: #173525;
	color: #fff;
	text-decoration: none;
}

.reservation-notice-content__booking:focus-visible {
	outline: 2px solid #234733;
	outline-offset: 3px;
}
