/* Additions to the original theme. style.css stays as it was. */

/* Menu prices were lined up with padded spaces. */
.price-row {
	display: flex;
	justify-content: space-between;
	width: 245px;
	margin: 0 auto;
	text-align: left;
}

/* Phone and tablet layout. New by design; the desktop site stays as it was. */

#mobile-header, #photo-strip, #mobile-actions {
	display: none;
}

/* Opening hours in the sidebar */

#week-hours {
	border-collapse: collapse;
	margin-top: 10px;
	color: #3f2814;
	font-size: 15px;
	line-height: 1.6;
}

#week-hours caption {
	padding-bottom: 4px;
	white-space: nowrap;
	text-align: left;
	font-weight: bold;
}

/* The theme's reset stacks every table cell on small screens, with !important. */
#week-hours th, #week-hours td {
	display: table-cell !important;
}

#week-hours th {
	padding-right: 12px;
	text-align: left;
	font-weight: normal;
}

@media (max-width: 959px) {
	html {
		scroll-padding-top: 76px;
	}

	html, body {
		height: auto;
		min-width: 0;
		-webkit-text-size-adjust: 100%;
	}

	body {
		background: #fff;
		padding-bottom: calc(56px + env(safe-area-inset-bottom));
	}

	body.menu-open {
		overflow: hidden;
	}

	#main {
		display: flex;
		flex-direction: column;
		height: auto;
		min-height: 0;
	}

	#container-menu {
		display: contents;
	}

	#supersized-loader, #supersized, #container-galerie, #btn-reservation, #lienGalerie, #label {
		display: none;
	}

	/* Header */

	#mobile-header {
		display: flex;
		align-items: center;
		gap: 6px;
		position: sticky;
		top: 0;
		z-index: 200;
		order: 0;
		height: 64px;
		padding: 0 8px 0 12px;
		background: #fff;
		border-bottom: 1px solid #c5b59e;
	}

	#mobile-brand img {
		display: block;
		height: 60px;
		width: 60px;
	}

	#mobile-tagline {
		flex: 1;
		color: #5c3b21;
		font-family: 'OpenSans';
		font-size: .85rem;
		font-style: italic;
	}

	#mobile-language a {
		display: inline-block;
		min-width: 40px;
		padding: 12px 0;
		text-align: center;
		color: #5c3b21;
		font-family: 'OpenSans';
		font-size: .9rem;
	}

	#mobile-language a.current {
		color: #860100;
		font-weight: bold;
	}

	#menu-toggle {
		width: 44px;
		height: 44px;
		padding: 0;
		border: 0;
		background: none;
		cursor: pointer;
	}

	#menu-toggle span, #menu-toggle span::before, #menu-toggle span::after {
		display: block;
		width: 24px;
		height: 2px;
		margin: 0 auto;
		background: #5c3b21;
		content: "";
	}

	#menu-toggle span {
		position: relative;
	}

	#menu-toggle span::before, #menu-toggle span::after {
		position: absolute;
		left: 0;
	}

	#menu-toggle span::before { top: -8px; }
	#menu-toggle span::after { top: 8px; }

	.menu-open #menu-toggle span { background: transparent; }
	.menu-open #menu-toggle span::before { top: 0; transform: rotate(45deg); }
	.menu-open #menu-toggle span::after { top: 0; transform: rotate(-45deg); }

	/* Menu */

	#navigation-pegase {
		display: none;
		position: fixed;
		top: 65px;
		right: 0;
		bottom: calc(56px + env(safe-area-inset-bottom));
		left: 0;
		z-index: 190;
		height: auto;
		overflow-y: auto;
		background: #5d3a1e;
	}

	.menu-open #navigation-pegase {
		display: block;
	}

	#menu-pegase {
		width: auto;
		height: auto;
		padding: 12px 24px 24px;
		font-size: 1.9rem;
		line-height: 1.2;
		text-align: left;
	}

	#menu-pegase > li:first-child {
		display: none;
	}

	#menu-pegase > li > a {
		display: block;
		padding: 10px 0;
	}

	/* Photos */

	#photo-strip {
		display: flex;
		order: 1;
		gap: 4px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	#photo-strip::-webkit-scrollbar {
		display: none;
	}

	#photo-strip picture {
		flex: 0 0 90%;
		scroll-snap-align: center;
	}

	#photo-strip img {
		display: block;
		width: 100%;
		height: clamp(210px, 58vw, 440px);
		object-fit: cover;
	}

	/* Content */

	#container-contenu {
		order: 2;
		position: static;
		float: none;
		width: auto;
		height: auto;
		min-height: 0;
		padding-bottom: 24px;
		background: #fff;
	}

	#container-contenu img {
		max-width: 100%;
	}

	#titre-contenu h3 {
		padding: 0 20px;
		font-size: 2.2rem;
		line-height: 1.15;
	}

	#corps-contenu, .content {
		height: auto;
		margin: 8px 0 0;
		padding: 0 20px;
		overflow: visible;
		font-size: 1rem;
		line-height: 1.5;
	}

	#corps-contenu {
		width: auto;
	}

	#corps-contenu h1 {
		font-size: 2rem;
		line-height: 1.2;
	}

	#corps-contenu iframe {
		display: block;
		max-width: 100%;
		margin: 0 auto;
	}

	.price-row {
		gap: 16px;
		width: 100%;
		max-width: 340px;
	}

	.price-row > span:last-child {
		flex: none;
	}

	/* Forms */

	form.reservation label {
		display: block;
		float: none;
		width: auto;
		margin-bottom: 4px;
	}

	form.reservation input, form.reservation select, form.reservation textarea {
		box-sizing: border-box;
		width: 100%;
		margin-bottom: 14px;
		padding: 10px;
		font-size: 1rem;
	}

	form.reservation input[type="submit"] {
		width: 120px;
	}

	/* Hours notice */

	#container-suggestions {
		order: 3;
		position: static;
		float: none;
		width: auto;
		height: auto;
		padding: 20px;
		background: #f6f1ea;
	}

	#container-suggestions > img, #container-suggestions #header-contenu, #titre-suggestions,
	#section_bouton_commande, #section_bouton_reservation {
		display: none;
	}

	#bloc-suggestions {
		height: auto;
		padding: 0;
		overflow: visible;
	}

	#bloc-suggestions p, #week-hours {
		font-size: 1rem;
		line-height: 1.5;
	}

	/* Footer */

	#footer {
		order: 5;
		position: static;
		box-sizing: border-box;
		width: 100%;
		padding: 8px 20px 24px;
	}

	#footer p, #footer a {
		line-height: 1.3;
	}

	#map .Amatic {
		font-size: 1.5rem;
	}

	#socialIcons {
		text-align: center;
	}

	#socialIcons a {
		display: inline-block;
		padding: 6px;
	}

	#footer .OpenSans {
		font-size: .85rem;
	}

	/* Call, order and book */

	#mobile-actions {
		display: flex;
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 210;
		padding-bottom: env(safe-area-inset-bottom);
		background: #860100;
	}

	#mobile-actions a {
		flex: 1;
		padding: 18px 4px;
		border-left: 1px solid rgba(255, 255, 255, .3);
		color: #fff;
		font-family: 'OpenSans';
		font-size: 1rem;
		font-weight: bold;
		line-height: 20px;
		text-align: center;
	}

	#mobile-actions a:first-child {
		border-left: 0;
	}
}

@media (max-width: 359px) {
	#mobile-tagline {
		visibility: hidden;
	}
}

/* Reservations go to Libro. */
#book-online {
	margin-top: 24px;
	padding-bottom: 24px;
}

#book-online .button_commande {
	display: inline-block;
	padding: 6px 12px;
}

/* Only bots fill this in. */
#contact-extra {
	position: absolute;
	left: -9999px;
}
