.hhdd-res-page {
	padding: 1.5rem 1rem 3rem;
}

.hhdd-res {
	position: relative;
	box-sizing: border-box;
	max-width: 727px;
	margin: 0 auto;
	padding: 28px 32px 32px;
	color: #f4efe8;
	background: #1c1412;
	border: 1px solid #5a3a32;
	border-radius: 18px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
	font-family: "Noto Sans", "Segoe UI", sans-serif;
	font-size: 14px;
	line-height: 1.8;
	text-transform: none;
}

.hhdd-res *,
.hhdd-res *::before,
.hhdd-res *::after {
	box-sizing: border-box;
}

.hhdd-res [hidden] {
	display: none !important;
}

.hhdd-res__brand,
.hhdd-res__kicker {
	margin: 0 0 4px;
	color: #f4efe8;
	font-family: "Noto Sans", "Segoe UI", sans-serif;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: normal;
	text-transform: none;
}

.hhdd-res h1,
.hhdd-res h2 {
	margin: 0 0 0.7rem;
	color: #f4efe8;
	font-family: "Noto Sans", "Segoe UI", sans-serif;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: normal;
	text-transform: none;
}

.hhdd-res p,
.hhdd-res label {
	color: #f4efe8;
	font-size: 14px;
	line-height: 1.8;
}

.hhdd-res__lead {
	margin: 0 0 0.8rem;
	color: #e6d5c8;
	font-family: "Noto Sans", "Segoe UI", sans-serif;
	font-size: 14px;
	font-weight: 400;
	text-transform: none;
}

.hhdd-res label {
	display: block;
	margin-top: 0.9rem;
	font-family: "Noto Sans", "Segoe UI", sans-serif;
	font-size: 14px;
}

.hhdd-res input,
.hhdd-res select,
.hhdd-res textarea,
.hhdd-res select:invalid,
.hhdd-res select:required {
	display: block;
	width: 100%;
	margin-top: 0.35rem;
	padding: 0.75rem 0.8rem;
	color: #fff !important;
	-webkit-text-fill-color: #fff;
	background: #2a1d1a;
	border: 1px solid #6a463c;
	border-radius: 10px;
	font-family: "Noto Sans", "Segoe UI", sans-serif;
	font-size: 16px;
}

.hhdd-res select option,
.hhdd-res select option:checked {
	color: #fff !important;
	background-color: #2a1d1a;
}

.hhdd-res input[type="text"],
.hhdd-res input[type="email"],
.hhdd-res input[type="tel"],
.hhdd-res input[type="number"],
.hhdd-res textarea {
	color: #111 !important;
	-webkit-text-fill-color: #111;
	background: #fff !important;
	border-color: #c8b8ae;
	color-scheme: light;
}

.hhdd-res input::placeholder,
.hhdd-res textarea::placeholder {
	color: #666;
	-webkit-text-fill-color: #666;
}

.hhdd-res textarea {
	min-height: 5.5rem;
	resize: vertical;
}

.hhdd-res input:focus,
.hhdd-res select:focus,
.hhdd-res textarea:focus,
.hhdd-res button:focus,
.hhdd-res a:focus {
	outline: 2px solid #f3d7a1;
	outline-offset: 2px;
	border-color: #f3d7a1;
}

.hhdd-res label.hhdd-res__check {
	position: relative;
	display: flex !important;
	gap: 14px;
	align-items: flex-start;
	cursor: pointer;
}

.hhdd-res label.hhdd-res__check > input[type="checkbox"] {
	position: absolute !important;
	left: 0;
	top: 0;
	width: 48px !important;
	height: 48px !important;
	margin: 0 !important;
	opacity: 0 !important;
	cursor: pointer;
	z-index: 2;
}

.hhdd-res label.hhdd-res__check > .hhdd-res__tick {
	display: block !important;
	position: relative;
	flex: 0 0 48px;
	width: 48px !important;
	height: 48px !important;
	min-width: 48px;
	min-height: 48px;
	margin: 2px 0 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background-color: #ffd84a !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: 30px 30px !important;
	visibility: visible !important;
	opacity: 1 !important;
	overflow: visible !important;
}

.hhdd-res label.hhdd-res__check > input[type="checkbox"]:checked + .hhdd-res__tick {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5 L10 17.5 L19 6.5' fill='none' stroke='%23e23b2f' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

.hhdd-res label.hhdd-res__check > input[type="checkbox"]:focus-visible + .hhdd-res__tick {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.hhdd-res a {
	color: #ffb4a8;
}

.hhdd-res__seats,
.hhdd-res__total {
	margin: 12px 0 0;
	color: #e6d5c8;
	font-family: "Noto Sans", "Segoe UI", sans-serif;
	font-size: 14px;
}

.hhdd-res__calendar {
	margin-top: 0.4rem;
}

.hhdd-res__cal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
}

.hhdd-res__cal-head strong {
	font-family: "Noto Sans", "Segoe UI", sans-serif;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: normal;
	text-transform: none;
}

.hhdd-res button.hhdd-res__cal-nav,
.hhdd-res button.hhdd-res__cal-day {
	margin: 0;
	border: 1px solid transparent;
	background: transparent;
	color: #f4efe8;
	font-family: "Noto Sans", "Segoe UI", sans-serif;
	font-size: 14px;
	cursor: pointer;
}

.hhdd-res button.hhdd-res__cal-nav {
	width: 40px;
	height: 40px;
	border-color: #6a463c;
	border-radius: 999px;
	background: #2a1d1a;
	font-size: 20px;
	line-height: 1;
}

.hhdd-res button.hhdd-res__cal-nav:disabled {
	opacity: 0.35;
	cursor: default;
}

.hhdd-res__cal-weekdays,
.hhdd-res__cal-grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 0.25rem;
	margin-top: 0.45rem;
}

.hhdd-res__cal-weekdays span,
.hhdd-res__cal-empty {
	text-align: center;
	font-family: "Noto Sans", "Segoe UI", sans-serif;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
	color: #cbb8a8;
}

.hhdd-res button.hhdd-res__cal-day {
	width: 100%;
	aspect-ratio: 1;
	border-radius: 8px;
	font-size: 14px;
}

.hhdd-res button.hhdd-res__cal-day:disabled,
.hhdd-res button.hhdd-res__cal-day.is-closed,
.hhdd-res button.hhdd-res__cal-day.is-blocked {
	color: #6d5b53;
	cursor: default;
}

.hhdd-res button.hhdd-res__cal-day.is-blocked {
	background: repeating-linear-gradient(-45deg, transparent, transparent 3px, rgba(226, 59, 47, 0.28) 3px, rgba(226, 59, 47, 0.28) 4px);
}

.hhdd-res button.hhdd-res__cal-day.is-open:hover {
	background: #3a2622;
}

.hhdd-res button.hhdd-res__cal-day.is-today:not(.is-selected) {
	border-color: #f3d7a1;
}

.hhdd-res button.hhdd-res__cal-day.is-selected {
	background: #e23b2f;
	color: #fff;
}

.hhdd-res__error,
.hhdd-res__test {
	margin: 0 0 0.8rem;
	padding: 0.75rem 0.8rem;
	border-radius: 10px;
	font-family: "Noto Sans", "Segoe UI", sans-serif;
	font-size: 14px;
}

.hhdd-res__error {
	background: #3a1816;
	border: 1px solid #e23b2f;
}

.hhdd-res__test {
	background: #3a3018;
	border: 1px solid #e0b15a;
	color: #ffe7b0;
}

.hhdd-res button.hhdd-res__submit {
	appearance: none;
	width: 100%;
	margin-top: 1.1rem;
	padding: 0.9rem 1rem;
	color: #fff;
	background: #e23b2f;
	border: 0;
	border-radius: 999px;
	font-family: "Noto Sans", "Segoe UI", sans-serif;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}

.hhdd-res button.hhdd-res__submit:disabled {
	opacity: 0.65;
	cursor: wait;
}

.hhdd-res__code {
	margin: 8px 0 14px;
	font-family: "Noto Sans", "Segoe UI", sans-serif;
	font-size: 28px;
	letter-spacing: 0.18em;
	font-weight: 700;
}

.hhdd-res__hp {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
}

@media (max-width: 640px) {
	.hhdd-res {
		padding: 22px 18px 24px;
		border-radius: 14px;
		font-size: 15px;
		line-height: 27px;
	}

	.hhdd-res p,
	.hhdd-res label,
	.hhdd-res__brand,
	.hhdd-res__kicker,
	.hhdd-res__lead,
	.hhdd-res__seats,
	.hhdd-res__total,
	.hhdd-res__error,
	.hhdd-res__test,
	.hhdd-res__cal-weekdays span,
	.hhdd-res__cal-head strong,
	.hhdd-res button.hhdd-res__cal-day {
		font-size: 15px;
		line-height: 27px;
	}

	.hhdd-res button.hhdd-res__cal-day,
	.hhdd-res button.hhdd-res__cal-nav {
		line-height: 1;
	}

	.hhdd-res h1,
	.hhdd-res h2 {
		font-size: 24px;
		line-height: 1.4;
	}

	.hhdd-res__code {
		font-size: 24px;
		letter-spacing: 0.12em;
	}
}
