/*
 * Cuissonier rekenhulp (Private dining). Volgt het ontwerp: bosgroen, amber, room en zand,
 * Fraunces voor de grote getallen en Poppins voor de tekst. De lettertypes laadt het thema.
 */
.cq-rh-sec,
.cq-rh {
	--cq-bos: var(--wp--preset--color--bos, #12463C);
	--cq-bos-diep: var(--wp--preset--color--bos-diep, #0C302A);
	--cq-amber: var(--wp--preset--color--amber, #FFA600);
	--cq-room: var(--wp--preset--color--room, #F7F1E6);
	--cq-zand: var(--wp--preset--color--zand, #EFE6D3);
	--cq-line: #CFC3AC;
	--cq-mute: #5C5649;
	--cq-gold: #8A5A00;
	--cq-paper: #FBF8F2;
	--cq-dots: #B9AD94;
	--cq-fr: 'Fraunces', Georgia, serif;
}

/* Gedeelte rond de rekenhulp (kop, inleiding), bewerkbaar in de editor */
.cq-rh-sec {
	background: var(--cq-zand);
	padding: 130px 5%;
}
.cq-rh-wrap {
	max-width: 1280px;
	margin: 0 auto;
}
.cq-rh-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 20px 60px;
}
.cq-rh-head__l {
	flex: 1 1 340px;
	min-width: 0;
}
.cq-rh-sec .cq-rh-eyebrow {
	margin: 0 0 22px;
	font-size: 13px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--cq-gold);
	font-weight: 600;
}
.cq-rh-sec .cq-rh-title {
	margin: 0;
	font-family: var(--cq-fr);
	font-variation-settings: 'SOFT' 100, 'WONK' 1;
	font-size: 64px;
	line-height: 1.02;
	font-weight: 400;
	color: var(--cq-bos);
}
.cq-rh-sec .cq-rh-title em {
	font-weight: 300;
}
.cq-rh-sec .cq-rh-lead {
	margin: 0;
	max-width: 420px;
	font-size: 16px;
	line-height: 1.7;
}

/* De rekenhulp */
.cq-rh,
.cq-rh *,
.cq-rh *::before,
.cq-rh *::after {
	box-sizing: border-box;
}
.cq-rh-wrap > .cq-rh {
	margin-top: 56px;
}
.cq-rh :focus-visible {
	outline: 3px solid var(--cq-amber);
	outline-offset: 3px;
}
.cq-rh button {
	font-family: inherit;
}
.cq-rh__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}
.cq-rh__card {
	container-type: inline-size;
	container-name: cqrh;
	background: #FFFFFF;
	border-radius: 32px;
	padding: 44px 44px 40px;
	box-shadow: 0 30px 60px rgba(12, 48, 42, .14);
}
.cq-rh__set {
	border: 0;
	padding: 0;
	margin: 0;
	min-width: 0;
}
.cq-rh__legend {
	padding: 0;
	margin: 0 0 14px;
	font-weight: 600;
	font-size: 12.5px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--cq-bos);
}
.cq-rh__num {
	margin-right: 8px;
	font-family: var(--cq-fr);
	font-variation-settings: 'SOFT' 100, 'WONK' 1;
	font-size: 17px;
	letter-spacing: 0;
	text-transform: none;
	color: var(--cq-gold);
}
.cq-rh__rule {
	border: 0;
	height: 1px;
	background: var(--cq-zand);
	margin: 30px 0;
}
.cq-rh__note {
	margin: 14px 0 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--cq-mute);
}
.cq-rh__note--tight {
	margin: 4px 0 0;
	line-height: 1.5;
}
.cq-rh__note a {
	color: var(--cq-bos);
	font-weight: 600;
}

/* Prijsklassen */
.cq-rh__tiers {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
}
.cq-rh__tier {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas: "eb pr" "sub pr";
	align-items: center;
	column-gap: 14px;
	row-gap: 2px;
	text-align: left;
	cursor: pointer;
	padding: 16px 18px 15px;
	border-radius: 20px;
	background: #FFFFFF;
	color: var(--cq-bos);
	border: 1.5px solid var(--cq-line);
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.cq-rh__tier:hover,
.cq-rh__extra:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(12, 48, 42, .12);
}
.cq-rh__eb {
	grid-area: eb;
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--cq-gold);
}
.cq-rh__pr {
	grid-area: pr;
	font-family: var(--cq-fr);
	font-variation-settings: 'SOFT' 100, 'WONK' 1;
	font-size: 36px;
	line-height: 1.05;
	font-weight: 400;
}
.cq-rh__sub {
	grid-area: sub;
	font-size: 13.5px;
	color: var(--cq-mute);
}
.cq-rh__tier[aria-pressed="true"] {
	background: var(--cq-bos);
	color: var(--cq-room);
	border-color: var(--cq-bos);
}
.cq-rh__tier[aria-pressed="true"] .cq-rh__eb {
	color: var(--cq-amber);
}
.cq-rh__tier[aria-pressed="true"] .cq-rh__sub {
	color: #DCD4C4;
}

/* Aantallen */
.cq-rh__stepper {
	display: flex;
	align-items: center;
	gap: 18px;
}
.cq-rh__stp {
	font-size: 26px;
	line-height: 1;
	font-weight: 500;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	cursor: pointer;
	padding: 0;
	background: #FFFFFF;
	color: var(--cq-bos);
	border: 1.5px solid var(--cq-line);
	transition: background-color .15s ease, color .15s ease, opacity .15s ease;
}
.cq-rh__stp:hover {
	background: var(--cq-bos);
	color: var(--cq-room);
}
.cq-rh__stp[aria-disabled="true"] {
	opacity: .4;
	cursor: not-allowed;
}
.cq-rh__stp[aria-disabled="true"]:hover {
	background: #FFFFFF;
	color: var(--cq-bos);
}
.cq-rh__count {
	min-width: 96px;
	text-align: center;
	font-family: var(--cq-fr);
	font-variation-settings: 'SOFT' 100, 'WONK' 1;
	font-size: 52px;
	line-height: 1;
	font-weight: 400;
	color: var(--cq-bos);
}
.cq-rh__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
}
.cq-rh__chip {
	font-size: 15px;
	font-weight: 500;
	border-radius: 999px;
	padding: 11px 20px;
	cursor: pointer;
	min-height: 44px;
	background: #FFFFFF;
	color: var(--cq-bos);
	border: 1.5px solid var(--cq-line);
	transition: transform .15s ease;
}
.cq-rh__chip:hover {
	transform: translateY(-2px);
}
.cq-rh__chip[aria-pressed="true"] {
	background: var(--cq-bos);
	color: var(--cq-room);
	border-color: var(--cq-bos);
}
.cq-rh__winerow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 18px;
}
.cq-rh__winetext {
	flex: 1 1 170px;
	min-width: 0;
}
.cq-rh__winetitle {
	margin: 0;
	font-weight: 600;
	color: var(--cq-bos);
}

/* Upsells */
.cq-rh__extras {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
}
.cq-rh__extra {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr);
	align-items: center;
	column-gap: 14px;
	text-align: left;
	cursor: pointer;
	padding: 14px 16px;
	border-radius: 20px;
	background: #FFFFFF;
	color: var(--cq-bos);
	border: 1.5px solid var(--cq-line);
	transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.cq-rh__ic {
	grid-row: 1 / span 2;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--cq-room);
	color: var(--cq-bos);
	display: flex;
	align-items: center;
	justify-content: center;
}
.cq-rh__tx {
	grid-column: 2;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.cq-rh__nm {
	font-weight: 600;
	font-size: 15.5px;
	line-height: 1.3;
}
.cq-rh__ds {
	font-size: 13.5px;
	line-height: 1.45;
	color: var(--cq-mute);
}
.cq-rh__pp {
	grid-column: 2;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 6px;
	margin-top: 6px;
	font-weight: 600;
	font-size: 14.5px;
	color: var(--cq-gold);
}
.cq-rh__un {
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
}
.cq-rh__tables {
	margin-top: 22px;
	padding-top: 22px;
	border-top: 1px dashed var(--cq-line);
}
.cq-rh__tables[hidden] {
	display: none;
}
.cq-rh__extra[aria-pressed="true"] {
	background: var(--cq-bos);
	color: var(--cq-room);
	border-color: var(--cq-bos);
}
.cq-rh__extra[aria-pressed="true"] .cq-rh__ic {
	background: var(--cq-amber);
	color: var(--cq-bos);
}
.cq-rh__extra[aria-pressed="true"] .cq-rh__ds {
	color: #DCD4C4;
}
.cq-rh__extra[aria-pressed="true"] .cq-rh__pp {
	color: var(--cq-amber);
}

/* Rekening */
.cq-rh__side {
	display: flex;
	flex-direction: column;
	gap: 28px;
	min-width: 0;
}
.cq-rh__slip {
	position: relative;
}
.cq-rh__sticker {
	position: absolute;
	right: 22px;
	top: -42px;
	z-index: 2;
	width: 128px;
	height: 128px;
	border-radius: 50%;
	background: var(--cq-amber);
	color: var(--cq-bos);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	transform: rotate(10deg);
	box-shadow: 0 14px 28px rgba(12, 48, 42, .22), inset 0 0 0 5px var(--cq-amber), inset 0 0 0 6.5px var(--cq-bos);
}
.cq-rh__sticker-a {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
}
.cq-rh__sticker-b {
	font-family: var(--cq-fr);
	font-variation-settings: 'SOFT' 100, 'WONK' 1;
	font-size: 16px;
	line-height: 1.05;
	font-weight: 400;
}
.cq-rh__paper {
	background: var(--cq-paper);
	padding: 14px;
	box-shadow: 0 30px 60px rgba(12, 48, 42, .14);
	border-radius: 4px;
}
.cq-rh__receipt {
	border: 1px solid var(--cq-bos);
	padding: 48px 36px 38px;
}
.cq-rh__r-eyebrow {
	margin: 18px 0 0;
	font-size: 12px;
	letter-spacing: .3em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--cq-bos);
}
.cq-rh__r-title {
	margin: 8px 0 0;
	font-family: var(--cq-fr);
	font-variation-settings: 'SOFT' 100, 'WONK' 1;
	font-size: 30px;
	line-height: 1.1;
	font-weight: 300;
	color: var(--cq-bos);
}
.cq-rh__r-guests {
	margin: 12px 0 0;
	font-size: 13px;
	letter-spacing: .14em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--cq-gold);
}
.cq-rh__short {
	width: 44px;
	height: 1px;
	background: var(--cq-bos);
	margin: 22px 0 10px;
}
.cq-rh__line {
	display: flex;
	align-items: baseline;
	gap: 10px;
	padding: 10px 0;
	font-size: 15.5px;
}
.cq-rh__l {
	min-width: 0;
}
.cq-rh__dots {
	flex: 1 1 auto;
	min-width: 12px;
	border-bottom: 1.5px dotted var(--cq-dots);
	transform: translateY(-4px);
}
.cq-rh__a {
	font-weight: 600;
	white-space: nowrap;
}
.cq-rh__line--zero .cq-rh__l {
	font-family: var(--cq-fr);
	font-variation-settings: 'SOFT' 100, 'WONK' 1;
	color: var(--cq-gold);
}
.cq-rh__line--zero .cq-rh__a {
	color: var(--cq-gold);
}
.cq-rh__line.is-new {
	animation: cq-rh-in .24s ease both;
}
.cq-rh__sum {
	height: 1.5px;
	background: var(--cq-bos);
	margin: 14px 0 16px;
}
.cq-rh__totalrow {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 4px 12px;
}
.cq-rh__totlabel {
	font-family: var(--cq-fr);
	font-variation-settings: 'SOFT' 100, 'WONK' 1;
	font-size: 20px;
	font-style: italic;
	color: var(--cq-bos);
}
.cq-rh__total {
	font-family: var(--cq-fr);
	font-variation-settings: 'SOFT' 100, 'WONK' 1;
	font-size: 54px;
	line-height: 1;
	font-weight: 500;
	color: var(--cq-bos);
}
.cq-rh__small {
	margin: 10px 0 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--cq-mute);
	text-align: right;
}
.cq-rh__small + .cq-rh__small {
	margin-top: 8px;
}
.cq-rh__small[hidden] {
	display: none;
}
.cq-rh__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 28px;
	background: var(--cq-bos);
	color: var(--cq-room);
	text-decoration: none;
	padding: 17px 28px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 16px;
	min-height: 44px;
	transition: transform .2s ease;
}
.cq-rh__cta:hover {
	transform: translateY(-2px);
	color: var(--cq-room);
}
.cq-rh__cta span {
	margin-left: 10px;
	display: inline-block;
	transition: transform .2s ease;
}
.cq-rh__cta:hover span {
	transform: translateX(4px);
}
.cq-rh__fine {
	margin: 18px 0 0;
	font-size: 13px;
	line-height: 1.6;
	color: var(--cq-mute);
}
.cq-rh__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.cq-rh__incl {
	background: var(--cq-bos);
	color: var(--cq-room);
	border-radius: 28px;
	padding: 34px 36px 32px;
}
.cq-rh__incl-title {
	margin: 0;
	font-family: var(--cq-fr);
	font-variation-settings: 'SOFT' 100, 'WONK' 1;
	font-size: 26px;
	line-height: 1.15;
	font-weight: 400;
}
.cq-rh__incl-list {
	list-style: none;
	margin: 18px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-size: 15.5px;
	line-height: 1.5;
}
.cq-rh__incl-list li {
	display: flex;
	gap: 12px;
	align-items: baseline;
	margin: 0;
}
.cq-rh__dot {
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--cq-amber);
}

@keyframes cq-rh-in {
	from { opacity: 0; transform: translateY(5px); }
	to { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
	.cq-rh__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}
@media (max-width: 760px) {
	.cq-rh-sec {
		padding-top: 90px;
		padding-bottom: 90px;
	}
	.cq-rh-sec .cq-rh-title {
		font-size: 44px;
	}
	.cq-rh__card {
		padding: 30px 22px;
	}
	.cq-rh__receipt {
		padding: 40px 22px 30px;
	}
	.cq-rh__sticker {
		display: none;
	}
}
@media (prefers-reduced-motion: reduce) {
	.cq-rh *,
	.cq-rh *::before,
	.cq-rh *::after {
		animation: none !important;
		transition: none !important;
	}
}

@media (max-width: 1100px) {
	.cq-rh__side {
		margin-top: 24px;
	}
}
@media (min-width: 701px) and (max-width: 1100px) {
	.cq-rh__side {
		width: 100%;
		max-width: 680px;
		margin-left: auto;
		margin-right: auto;
	}
}

/* De kaart past zich aan de breedte van de kaart zelf aan, niet aan het scherm */
@container cqrh (min-width: 480px) {
	.cq-rh__tiers {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 12px;
	}
	.cq-rh__tier {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "eb" "pr" "sub";
		row-gap: 2px;
	}
	.cq-rh__pr {
		font-size: 40px;
	}
}
@container cqrh (min-width: 520px) {
	.cq-rh__extras {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}
}
@container cqrh (min-width: 780px) {
	.cq-rh__extra {
		grid-template-columns: 46px minmax(0, 1fr) auto;
	}
	.cq-rh__ic {
		grid-row: auto;
	}
	.cq-rh__pp {
		grid-column: 3;
		flex-direction: column;
		align-items: flex-end;
		gap: 0;
		margin-top: 0;
		text-align: right;
	}
}

/* Kleine telefoons */
@media (max-width: 400px) {
	.cq-rh__card {
		padding: 26px 18px;
	}
	.cq-rh__receipt {
		padding: 36px 18px 26px;
	}
	.cq-rh__paper {
		padding: 10px;
	}
	.cq-rh__total {
		font-size: 46px;
	}
	.cq-rh__count {
		min-width: 80px;
		font-size: 46px;
	}
}

/* Vaste balk met de richtprijs: alleen als de rekening onder de keuzes staat en nog niet in beeld is */
.cq-rh__bar {
	display: none;
}
@media (max-width: 1100px) {
	.cq-rh__bar {
		display: flex;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 60;
		align-items: center;
		justify-content: space-between;
		gap: 14px;
		padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px));
		background: var(--cq-bos);
		color: var(--cq-room);
		border-radius: 22px 22px 0 0;
		box-shadow: 0 -12px 32px rgba(12, 48, 42, .28);
		transform: translateY(110%);
		visibility: hidden;
		transition: transform .25s ease, visibility 0s linear .25s;
	}
	.cq-rh__bar.is-on {
		transform: none;
		visibility: visible;
		transition: transform .25s ease;
	}
	.cq-rh__bar-t {
		display: flex;
		flex-direction: column;
		min-width: 0;
	}
	.cq-rh__bar-l {
		font-size: 11px;
		letter-spacing: .16em;
		text-transform: uppercase;
		font-weight: 600;
		color: var(--cq-amber);
	}
	.cq-rh__bar-v {
		font-family: var(--cq-fr);
		font-variation-settings: 'SOFT' 100, 'WONK' 1;
		font-size: 30px;
		line-height: 1.1;
		font-weight: 500;
	}
	.cq-rh__bar-go {
		flex: none;
		min-height: 48px;
		padding: 0 22px;
		border: 0;
		border-radius: 999px;
		background: var(--cq-amber);
		color: var(--cq-bos);
		font-weight: 600;
		font-size: 15px;
		cursor: pointer;
	}
	.cq-rh button,
	.cq-rh a {
		scroll-margin-bottom: 110px;
	}
}

