/* ==========================================================
   Restino / Chutio Opening Hours V3
========================================================== */

.chutio-opening-hours-card {
	background: #FFFFFF;
	border: 1px solid #E6E9EA;
	border-radius: 18px;
	padding: 26px 28px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
	box-sizing: border-box;
}


/* ==========================================================
   Header
========================================================== */

.chutio-header {
	display: flex;
	flex-direction: column;
	align-items: flex-start;

	gap: 12px;
	margin-bottom: 22px;
}


.chutio-title {
	display: flex;
	align-items: center;
	gap: 10px;

	width: 100%;

	font-size: 28px;
	font-weight: 700;
	line-height: 1.15;
	color: #24313A;
}


.chutio-clock {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	flex: 0 0 auto;

	font-size: 25px;
	line-height: 1;
}


/* ==========================================================
   Opening status - card
========================================================== */

.chutio-status {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	gap: 8px;

	width: max-content;
	max-width: 100%;

	box-sizing: border-box;

	padding: 8px 13px;

	border-radius: 999px;

	font-size: 12px;
	font-weight: 700;
	line-height: 1.25;

	white-space: nowrap;
	word-break: keep-all;
	overflow-wrap: normal;

	flex: 0 0 auto;
	flex-shrink: 0;
}


/* Dot */

.chutio-status .dot {
	display: block;

	width: 7px;
	height: 7px;

	min-width: 7px;
	max-width: 7px;

	flex: 0 0 7px;

	border-radius: 50%;
}


/* Open */

.chutio-status.open {
	background: #EAF4EE;
	color: #4F765F;
}

.chutio-status.open .dot {
	background: #4F765F;
}


/* Closed */

.chutio-status.closed {
	background: #FBEAE5;
	color: #B85F4A;
}

.chutio-status.closed .dot {
	background: #B85F4A;
}


/* ==========================================================
   Days
========================================================== */

.chutio-days {
	display: flex;
	flex-direction: column;
	width: 100%;
}


.chutio-row {
	display: flex;
	align-items: center;
	justify-content: space-between;

	width: 100%;
	min-height: 48px;

	padding: 12px 14px;

	border-bottom: 1px solid #EEF0F1;

	gap: 24px;

	color: #34424A;

	font-size: 14px;
	line-height: 1.4;

	box-sizing: border-box;
}


.chutio-row:last-child {
	border-bottom: 0;
}


/* ==========================================================
   Today
========================================================== */

.chutio-row.today {
	background: #F3F7F4;
	border-radius: 10px;

	font-weight: 700;
}


/* ==========================================================
   Day
========================================================== */

.chutio-day-name {
	flex: 0 0 42px;

	font-weight: 600;
	color: #34424A;

	white-space: nowrap;
}


/* ==========================================================
   Hours
========================================================== */

.chutio-day-hours {
	margin-left: auto;

	color: #59666D;

	font-variant-numeric: tabular-nums;
	text-align: right;

	white-space: nowrap;

	flex: 0 0 auto;
}


/* ==========================================================
   No hours
========================================================== */

.chutio-no-hours {
	margin: 16px 0 0;

	color: #8A9397;

	font-size: 14px;
	line-height: 1.5;
}


/* ==========================================================
   Footer
========================================================== */

.holiday-note {
	margin-top: 18px;
	padding-top: 16px;

	border-top: 1px solid #EEF0F1;

	color: #8A9397;

	font-size: 12px;
	line-height: 1.5;
}


/* ==========================================================
   HERO OPENING STATUS
========================================================== */

.chutio-opening-status {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;

	gap: 8px;

	/*
	 * Important:
	 * The badge must never shrink or wrap.
	 */
	width: max-content !important;
	min-width: max-content !important;
	max-width: none !important;

	box-sizing: border-box;

	margin-bottom: 14px;
	padding: 8px 14px;

	border-radius: 999px;

	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.01em;

	white-space: nowrap !important;
	word-break: keep-all !important;
	overflow-wrap: normal !important;

	flex: 0 0 auto !important;
	flex-shrink: 0 !important;

	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);

	position: relative;
	z-index: 2;
}


/*
 * Prevent Elementor / theme styles from
 * breaking the badge text.
 */

.chutio-opening-status,
.chutio-opening-status *,
.chutio-opening-status span {
	white-space: nowrap !important;
	word-break: keep-all !important;
	overflow-wrap: normal !important;
}


/* ==========================================================
   HERO DOT
========================================================== */

.chutio-opening-status .dot {
	display: block !important;

	width: 7px !important;
	height: 7px !important;

	min-width: 7px !important;
	max-width: 7px !important;

	flex: 0 0 7px !important;

	border-radius: 50%;

	background: currentColor;
}


/* ==========================================================
   HERO - OPEN
========================================================== */

.chutio-opening-status.open {
	background: #EAF4EE;
	color: #4F765F;
}


/* ==========================================================
   HERO - CLOSED
========================================================== */

.chutio-opening-status.closed {
	background: #FBEAE5;
	color: #B85F4A;
}


/* ==========================================================
   Mobile
========================================================== */

@media (max-width: 767px) {

	.chutio-opening-hours-card {
		padding: 20px;
		border-radius: 16px;
	}


	.chutio-header {
		gap: 11px;
		margin-bottom: 18px;
	}


	.chutio-title {
		font-size: 24px;
	}


	.chutio-clock {
		font-size: 23px;
	}


	.chutio-status {
		font-size: 12px;
		padding: 7px 11px;

		white-space: nowrap;
	}


	.chutio-row {
		min-height: 46px;

		padding: 11px 10px;

		font-size: 13px;
	}


	.chutio-day-name {
		flex-basis: 34px;
	}


	.chutio-opening-status {
		margin-bottom: 10px;
		padding: 7px 12px;

		font-size: 12px;

		width: max-content !important;
		min-width: max-content !important;
		max-width: none !important;

		white-space: nowrap !important;
		flex-shrink: 0 !important;
	}

}


/* ==========================================================
   Small mobile
========================================================== */

@media (max-width: 420px) {

	.chutio-opening-hours-card {
		padding: 18px 16px;
	}


	.chutio-title {
		font-size: 22px;
	}


	.chutio-clock {
		font-size: 21px;
	}


	.chutio-row {
		padding-left: 8px;
		padding-right: 8px;
	}


	.chutio-opening-status {
		font-size: 11px;

		padding: 7px 11px;

		gap: 7px;
	}

}