/**
 * TS Gastro – front end styles.
 *
 * Info boxes, mobile status bar, event cards, calendar, weekly menu and opening hours.
 * Colors come from the settings as custom properties (--ts-gastro-accent, -dark, -panel).
 * All rules are scoped with .ts-gastro so theme styles do not leak in.
 *
 * @package TS_Gastro
 * @since   1.0.0
 */

/* -------------------------------------------------------------------------
 * Base
 * ---------------------------------------------------------------------- */

.ts-gastro {
	--ts-gastro-text: #2b2b2b;
	--ts-gastro-muted: #6b6f75;
	--ts-gastro-line: #e2e2e2;
	--ts-gastro-closed: #8b9096;
	--ts-gastro-radius: 3px;
	--ts-gastro-shadow: 0 1px 2px rgba(0, 20, 44, 0.06), 0 8px 24px rgba(0, 20, 44, 0.06);
	box-sizing: border-box;
	color: var(--ts-gastro-text);
	font-family: inherit;
	line-height: 1.45;
}

.ts-gastro *,
.ts-gastro *::before,
.ts-gastro *::after {
	box-sizing: inherit;
}

.ts-gastro p,
.ts-gastro h2,
.ts-gastro h3,
.ts-gastro h4,
.ts-gastro ol,
.ts-gastro ul,
.ts-gastro dl,
.ts-gastro dd,
.ts-gastro figure {
	margin: 0;
	padding: 0;
}

.ts-gastro [hidden] {
	display: none !important;
}

.ts-gastro .ts-gastro-icon {
	display: block;
	width: 1em;
	height: 1em;
}

.ts-gastro .ts-gastro-button {
	display: inline-flex;
	gap: 0.5em;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.65em 1.4em;
	border: 2px solid var(--ts-gastro-accent);
	border-radius: var(--ts-gastro-radius);
	background: var(--ts-gastro-accent);
	color: #fff;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.ts-gastro .ts-gastro-button:hover,
.ts-gastro .ts-gastro-button:focus-visible {
	background: #93b12c;
	border-color: #93b12c;
	color: #fff;
}

.ts-gastro .ts-gastro-button:active {
	transform: scale(0.98);
}

.ts-gastro .ts-gastro-button--ghost {
	background: transparent;
	color: var(--ts-gastro-dark);
}

.ts-gastro .ts-gastro-button--ghost:hover,
.ts-gastro .ts-gastro-button--ghost:focus-visible {
	background: var(--ts-gastro-accent);
	color: #fff;
}

.ts-gastro .ts-gastro-button .ts-gastro-icon {
	width: 1.2em;
	height: 1.2em;
}

.ts-gastro a:focus-visible,
.ts-gastro button:focus-visible {
	outline: 3px solid var(--ts-gastro-dark);
	outline-offset: 2px;
}

/* -------------------------------------------------------------------------
 * Info section and boxes
 * ---------------------------------------------------------------------- */

.ts-gastro-info {
	width: 100%;
	max-width: 1140px;
	margin: 0 auto;
	padding: 48px 0;
}

.ts-gastro .ts-gastro-info__heading {
	margin-bottom: 28px;
	color: var(--ts-gastro-text);
	font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem);
	font-weight: 300;
	letter-spacing: 0.01em;
	text-align: center;
}

.ts-gastro .ts-gastro-boxes {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.ts-gastro .ts-gastro-boxes--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ts-gastro .ts-gastro-box {
	display: flex;
	position: relative;
	flex-direction: column;
	align-items: center;
	min-height: 330px;
	padding: 28px 24px 22px;
	border: 1px solid var(--ts-gastro-line);
	border-top: 4px solid var(--ts-gastro-accent);
	border-radius: var(--ts-gastro-radius);
	background: #fff;
	box-shadow: var(--ts-gastro-shadow);
	text-align: center;
}

.ts-gastro .ts-gastro-box[data-state="closed"],
.ts-gastro .ts-gastro-box[data-state="later"] {
	border-top-color: var(--ts-gastro-closed);
}

.ts-gastro .ts-gastro-box[data-state="closure"] {
	border-top-color: var(--ts-gastro-dark);
}

.ts-gastro .ts-gastro-box--middle .ts-gastro-slides,
.ts-gastro .ts-gastro-box--rooms [data-ts-rooms] {
	display: grid;
	flex: 1;
	width: 100%;
}

.ts-gastro .ts-gastro-slide {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.ts-gastro .ts-gastro-slide.is-entering {
	animation: ts-gastro-slide-in 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes ts-gastro-slide-in {

	from {
		opacity: 0;
		transform: translateY(8px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

.ts-gastro .ts-gastro-box__label {
	margin-bottom: 18px;
	color: var(--ts-gastro-dark);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ts-gastro .ts-gastro-box__icon {
	display: grid;
	place-items: center;
	width: 92px;
	height: 92px;
	margin-bottom: 18px;
	border-radius: 50%;
	background: var(--ts-gastro-accent);
	color: #fff;
	font-size: 46px;
}

.ts-gastro [data-state="closed"] > .ts-gastro-box__icon,
.ts-gastro [data-state="later"] > .ts-gastro-box__icon,
.ts-gastro [data-state="no"] > .ts-gastro-box__icon {
	background: #eef0f2;
	color: var(--ts-gastro-closed);
}

.ts-gastro [data-state="closure"] > .ts-gastro-box__icon,
.ts-gastro [data-type="closure"] > .ts-gastro-box__icon {
	background: var(--ts-gastro-dark);
	color: #fff;
}

.ts-gastro [data-state="special"] > .ts-gastro-box__icon,
.ts-gastro [data-type="special"] > .ts-gastro-box__icon {
	box-shadow: 0 0 0 6px rgba(170, 201, 62, 0.25);
	animation: ts-gastro-pulse 2.4s ease-in-out infinite;
}

@keyframes ts-gastro-pulse {

	50% {
		box-shadow: 0 0 0 12px rgba(170, 201, 62, 0.08);
	}
}

.ts-gastro .ts-gastro-box__headline {
	color: var(--ts-gastro-text);
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1.25;
	text-wrap: balance;
}

.ts-gastro .ts-gastro-box__detail {
	margin-top: 10px;
	color: var(--ts-gastro-text);
	font-size: 0.98rem;
	text-wrap: pretty;
}

.ts-gastro .ts-gastro-box__extra {
	margin-top: 4px;
	color: var(--ts-gastro-muted);
	font-size: 0.9rem;
}

.ts-gastro .ts-gastro-box__badge {
	margin-top: 12px;
	padding: 4px 12px;
	border-radius: var(--ts-gastro-radius);
	background: var(--ts-gastro-accent);
	color: #fff;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ts-gastro .ts-gastro-box__link {
	margin-top: auto;
	padding-top: 18px;
	color: var(--ts-gastro-dark);
	font-size: 0.92rem;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: var(--ts-gastro-accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.ts-gastro .ts-gastro-box__link:hover {
	color: #000;
}

.ts-gastro .ts-gastro-dots {
	display: flex;
	gap: 6px;
	justify-content: center;
	margin-top: 16px;
}

.ts-gastro .ts-gastro-dot {
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.ts-gastro .ts-gastro-dot::before {
	display: block;
	width: 8px;
	height: 8px;
	margin: auto;
	border-radius: 50%;
	background: #cfd3d7;
	content: "";
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.ts-gastro .ts-gastro-dot[aria-current="true"]::before {
	background: var(--ts-gastro-accent);
	transform: scale(1.3);
}

/* -------------------------------------------------------------------------
 * Event cards
 * ---------------------------------------------------------------------- */

.ts-gastro .ts-gastro-next {
	margin-top: 28px;
}

.ts-gastro .ts-gastro-card {
	overflow: hidden;
	border: 1px solid var(--ts-gastro-line);
	border-radius: var(--ts-gastro-radius);
	background: #fff;
	box-shadow: var(--ts-gastro-shadow);
}

.ts-gastro .ts-gastro-card__media {
	display: block;
	overflow: hidden;
	background: var(--ts-gastro-panel);
}

.ts-gastro .ts-gastro-card__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.ts-gastro .ts-gastro-card__media:hover img {
	transform: scale(1.02);
}

.ts-gastro .ts-gastro-card__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 22px 24px 24px;
}

.ts-gastro .ts-gastro-card__kicker {
	color: var(--ts-gastro-accent);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ts-gastro .ts-gastro-card__badge {
	align-self: flex-start;
	padding: 4px 10px;
	border-radius: var(--ts-gastro-radius);
	background: var(--ts-gastro-accent);
	color: #fff;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ts-gastro .ts-gastro-card__title {
	color: var(--ts-gastro-dark);
	font-size: 1.45rem;
	font-weight: 700;
	line-height: 1.2;
	text-wrap: balance;
}

.ts-gastro .ts-gastro-card__date {
	display: flex;
	gap: 10px;
	align-items: center;
	color: var(--ts-gastro-dark);
	font-weight: 700;
}

.ts-gastro .ts-gastro-card__date .ts-gastro-icon {
	flex: none;
	width: 34px;
	height: 34px;
	padding: 6px;
	border-radius: var(--ts-gastro-radius);
	background: var(--ts-gastro-accent);
	color: #fff;
}

.ts-gastro .ts-gastro-card__text,
.ts-gastro .ts-gastro-card__hours {
	color: var(--ts-gastro-text);
	text-wrap: pretty;
}

.ts-gastro .ts-gastro-card__hours {
	color: var(--ts-gastro-muted);
	font-size: 0.92rem;
}

.ts-gastro .ts-gastro-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 6px;
}

.ts-gastro .ts-gastro-card--feature {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	align-items: stretch;
}

.ts-gastro .ts-gastro-card--feature .ts-gastro-card__body {
	justify-content: center;
	padding: 32px 40px;
}

.ts-gastro .ts-gastro-card--feature .ts-gastro-card__title {
	font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}

.ts-gastro .ts-gastro-card.is-special {
	border-color: var(--ts-gastro-accent);
}

.ts-gastro .ts-gastro-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 24px;
}

.ts-gastro .ts-gastro-empty,
.ts-gastro .ts-gastro-notice {
	padding: 28px;
	border: 1px solid var(--ts-gastro-line);
	border-left: 4px solid var(--ts-gastro-accent);
	background: #fff;
	text-align: center;
}

.ts-gastro .ts-gastro-notice--closure {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
	border-left-color: var(--ts-gastro-dark);
}

.ts-gastro .ts-gastro-notice--closure .ts-gastro-icon {
	width: 56px;
	height: 56px;
	padding: 12px;
	border-radius: 50%;
	background: var(--ts-gastro-dark);
	color: #fff;
}

.ts-gastro .ts-gastro-notice h2 {
	color: var(--ts-gastro-dark);
	font-size: 1.5rem;
}

/* -------------------------------------------------------------------------
 * Status bar (top of the page)
 * ---------------------------------------------------------------------- */

.ts-gastro-bar {
	position: relative;
	z-index: 100000;
	background: var(--ts-gastro-dark);
	color: #fff;
	font-size: 14px;
}

.ts-gastro-bar.ts-gastro-bar--mobile {
	display: none;
}

.ts-gastro.ts-gastro-bar .ts-gastro-bar__toggle {
	display: flex;
	gap: 10px;
	align-items: center;
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 8px 16px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #fff;
	font: inherit;
	font-size: 14px;
	line-height: 1.25;
	letter-spacing: normal;
	text-align: left;
	text-transform: none;
	cursor: pointer;
}

.ts-gastro.ts-gastro-bar .ts-gastro-bar__dot {
	flex: none;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--ts-gastro-closed);
}

.ts-gastro-bar[data-state="open"] .ts-gastro-bar__dot,
.ts-gastro-bar[data-state="special"] .ts-gastro-bar__dot {
	background: var(--ts-gastro-accent);
	box-shadow: 0 0 0 0 rgba(170, 201, 62, 0.6);
	animation: ts-gastro-dot 2s ease-out infinite;
}

@keyframes ts-gastro-dot {

	to {
		box-shadow: 0 0 0 8px rgba(170, 201, 62, 0);
	}
}

.ts-gastro.ts-gastro-bar .ts-gastro-bar__now {
	flex: none;
	font-weight: 700;
	white-space: nowrap;
}

.ts-gastro.ts-gastro-bar .ts-gastro-bar__msg {
	overflow: hidden;
	flex: 1 1 auto;
	min-width: 0;
	padding-left: 10px;
	border-left: 1px solid rgba(255, 255, 255, 0.3);
	color: rgba(255, 255, 255, 0.88);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ts-gastro.ts-gastro-bar .ts-gastro-bar__msg.is-entering {
	animation: ts-gastro-slide-in 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.ts-gastro.ts-gastro-bar .ts-gastro-bar__chevron {
	flex: none;
	width: 20px;
	height: 20px;
	margin-left: auto;
	transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.ts-gastro-bar.is-open .ts-gastro-bar__chevron {
	transform: rotate(180deg);
}

.ts-gastro.ts-gastro-bar .ts-gastro-bar__panel {
	padding: 16px;
	background: #f5f6f4;
	color: var(--ts-gastro-text);
}

.ts-gastro-bar.is-open .ts-gastro-bar__panel {
	animation: ts-gastro-panel-in 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes ts-gastro-panel-in {

	from {
		opacity: 0;
		transform: translateY(-6px);
	}
}

.ts-gastro .ts-gastro-boxes--compact {
	gap: 10px;
}

.ts-gastro .ts-gastro-boxes--compact .ts-gastro-box {
	display: grid;
	grid-template-columns: 52px 1fr;
	align-items: center;
	min-height: 0;
	padding: 14px 16px;
	border-top-width: 1px;
	border-left: 4px solid var(--ts-gastro-accent);
	column-gap: 14px;
	text-align: left;
}

.ts-gastro .ts-gastro-boxes--compact .ts-gastro-box[data-state="closed"],
.ts-gastro .ts-gastro-boxes--compact .ts-gastro-box[data-state="later"] {
	border-left-color: var(--ts-gastro-closed);
}

.ts-gastro .ts-gastro-boxes--compact .ts-gastro-box[data-state="closure"] {
	border-left-color: var(--ts-gastro-dark);
}

.ts-gastro .ts-gastro-boxes--compact .ts-gastro-box > *,
.ts-gastro .ts-gastro-boxes--compact .ts-gastro-slide > * {
	grid-column: 2;
}

.ts-gastro .ts-gastro-boxes--compact .ts-gastro-slides,
.ts-gastro .ts-gastro-boxes--compact [data-ts-rooms],
.ts-gastro .ts-gastro-boxes--compact .ts-gastro-slide {
	display: contents;
}

.ts-gastro .ts-gastro-boxes--compact .ts-gastro-box__icon {
	grid-row: 1 / span 4;
	grid-column: 1;
	align-self: start;
	width: 52px;
	height: 52px;
	margin: 0;
	font-size: 26px;
}

.ts-gastro .ts-gastro-boxes--compact .ts-gastro-box__label {
	margin-bottom: 2px;
	font-size: 0.72rem;
}

.ts-gastro .ts-gastro-boxes--compact .ts-gastro-box__headline {
	font-size: 1.02rem;
}

.ts-gastro .ts-gastro-boxes--compact .ts-gastro-box__detail {
	margin-top: 2px;
	font-size: 0.9rem;
}

.ts-gastro .ts-gastro-boxes--compact .ts-gastro-box__badge {
	justify-self: start;
	margin-top: 6px;
}

.ts-gastro .ts-gastro-boxes--compact .ts-gastro-box__link {
	padding-top: 6px;
	font-size: 0.85rem;
}

.ts-gastro .ts-gastro-boxes--compact .ts-gastro-dots {
	grid-column: 2;
	justify-content: flex-start;
	margin-top: 4px;
	margin-left: -8px;
}

.ts-gastro .ts-gastro-next--compact {
	margin-top: 10px;
}

.ts-gastro .ts-gastro-card--compact {
	display: grid;
	grid-template-columns: 96px 1fr;
	align-items: center;
}

.ts-gastro .ts-gastro-card--compact .ts-gastro-card__body {
	gap: 4px;
	padding: 10px 14px;
}

.ts-gastro .ts-gastro-card--compact .ts-gastro-card__title {
	font-size: 1rem;
}

.ts-gastro .ts-gastro-card--compact .ts-gastro-card__date {
	font-size: 0.85rem;
}

.ts-gastro .ts-gastro-card--compact .ts-gastro-card__date .ts-gastro-icon {
	display: none;
}

.ts-gastro .ts-gastro-card--compact .ts-gastro-card__badge {
	font-size: 0.68rem;
}

/* -------------------------------------------------------------------------
 * Calendar
 * ---------------------------------------------------------------------- */

.ts-gastro .ts-gastro-calendar {
	max-width: 980px;
	margin: 0 auto;
	padding: 20px;
	border: 1px solid var(--ts-gastro-line);
	border-radius: var(--ts-gastro-radius);
	background: #fff;
	box-shadow: var(--ts-gastro-shadow);
}

.ts-gastro .ts-gastro-calendar__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
}

.ts-gastro .ts-gastro-calendar__title {
	color: var(--ts-gastro-dark);
	font-size: 1.4rem;
	font-weight: 700;
}

.ts-gastro .ts-gastro-calendar__nav {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--ts-gastro-line);
	border-radius: var(--ts-gastro-radius);
	background: #fff;
	color: var(--ts-gastro-dark);
	font-size: 22px;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.ts-gastro .ts-gastro-calendar__nav:hover:not(:disabled) {
	background: var(--ts-gastro-panel);
}

.ts-gastro .ts-gastro-calendar__nav:disabled {
	opacity: 0.35;
	cursor: default;
}

.ts-gastro .ts-gastro-calendar__grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 4px;
}

.ts-gastro .ts-gastro-calendar__weekday {
	padding: 6px 0;
	color: var(--ts-gastro-muted);
	font-size: 0.8rem;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
}

.ts-gastro .ts-gastro-calendar__cell {
	display: flex;
	position: relative;
	flex-direction: column;
	align-items: flex-start;
	min-height: 84px;
	margin: 0;
	padding: 6px 7px;
	overflow: hidden;
	border: 1px solid var(--ts-gastro-line);
	border-radius: var(--ts-gastro-radius);
	background: #fff;
	color: var(--ts-gastro-text);
	font: inherit;
	text-align: left;
	text-transform: none;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ts-gastro .ts-gastro-calendar__cell.is-empty {
	border: 0;
	background: transparent;
	cursor: default;
}

.ts-gastro .ts-gastro-calendar__cell:hover {
	border-color: var(--ts-gastro-accent);
}

.ts-gastro .ts-gastro-calendar__cell.is-closed {
	background: #f3f4f5;
	color: var(--ts-gastro-muted);
}

.ts-gastro .ts-gastro-calendar__cell.is-special {
	border-color: var(--ts-gastro-accent);
	background: #f3f8e3;
}

.ts-gastro .ts-gastro-calendar__cell.is-closure {
	background: repeating-linear-gradient(135deg, #eef0f3 0, #eef0f3 6px, #e2e6eb 6px, #e2e6eb 12px);
	color: var(--ts-gastro-dark);
}

.ts-gastro .ts-gastro-calendar__cell.is-past {
	opacity: 0.45;
}

.ts-gastro .ts-gastro-calendar__cell.is-today .ts-gastro-calendar__num {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	margin: -3px 0 0 -3px;
	border-radius: 50%;
	background: var(--ts-gastro-dark);
	color: #fff;
}

.ts-gastro .ts-gastro-calendar__cell.is-selected {
	border-color: var(--ts-gastro-dark);
	box-shadow: inset 0 0 0 1px var(--ts-gastro-dark);
}

.ts-gastro .ts-gastro-calendar__num {
	font-weight: 700;
}

.ts-gastro .ts-gastro-calendar__tag {
	display: -webkit-box;
	overflow: hidden;
	margin-top: auto;
	padding: 2px 5px;
	border-radius: 2px;
	background: var(--ts-gastro-accent);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.2;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.ts-gastro .ts-gastro-calendar__tag--cont {
	width: calc(100% + 16px);
	height: 6px;
	margin-right: -8px;
	margin-left: -8px;
	padding: 0;
	border-radius: 0;
}

.ts-gastro .ts-gastro-calendar__tag--holiday {
	background: transparent;
	color: var(--ts-gastro-dark);
	font-weight: 400;
}

.ts-gastro .ts-gastro-calendar__legend {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin: 14px 0 6px;
	color: var(--ts-gastro-muted);
	font-size: 0.85rem;
	list-style: none;
}

.ts-gastro .ts-gastro-legend {
	display: flex;
	gap: 6px;
	align-items: center;
}

.ts-gastro .ts-gastro-legend::before {
	display: block;
	width: 14px;
	height: 14px;
	border: 1px solid var(--ts-gastro-line);
	border-radius: 2px;
	background: #fff;
	content: "";
}

.ts-gastro .ts-gastro-legend--special::before {
	border-color: var(--ts-gastro-accent);
	background: #f3f8e3;
}

.ts-gastro .ts-gastro-legend--closed::before {
	background: #f3f4f5;
}

.ts-gastro .ts-gastro-legend--closure::before {
	background: repeating-linear-gradient(135deg, #eef0f3 0, #eef0f3 3px, #d5dbe2 3px, #d5dbe2 6px);
}

.ts-gastro .ts-gastro-legend--event::before {
	border-color: var(--ts-gastro-accent);
	background: var(--ts-gastro-accent);
}

.ts-gastro .ts-gastro-calendar__detail {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 14px;
	padding: 18px;
	border-radius: var(--ts-gastro-radius);
	background: var(--ts-gastro-panel);
}

.ts-gastro .ts-gastro-calendar__day-title {
	color: var(--ts-gastro-dark);
	font-size: 1.1rem;
	font-weight: 700;
}

.ts-gastro .ts-gastro-calendar__status {
	font-size: 0.98rem;
	font-weight: 700;
}

.ts-gastro .ts-gastro-calendar__status::before {
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-right: 8px;
	border-radius: 50%;
	background: var(--ts-gastro-accent);
	content: "";
}

.ts-gastro .ts-gastro-calendar__status.is-closed::before {
	background: var(--ts-gastro-closed);
}

.ts-gastro .ts-gastro-calendar__status.is-closure::before {
	background: var(--ts-gastro-dark);
}

.ts-gastro .ts-gastro-calendar__event {
	display: flex;
	gap: 14px;
	align-items: center;
	padding: 10px;
	border-radius: var(--ts-gastro-radius);
	background: #fff;
}

.ts-gastro .ts-gastro-calendar__event img {
	flex: none;
	width: 88px;
	height: 88px;
	object-fit: cover;
}

.ts-gastro .ts-gastro-calendar__event div {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 0.92rem;
	line-height: 1.35;
}

.ts-gastro .ts-gastro-calendar__event strong {
	color: var(--ts-gastro-dark);
	font-size: 1.02rem;
}

.ts-gastro .ts-gastro-calendar__rooms {
	color: var(--ts-gastro-muted);
	font-size: 0.9rem;
}

/* -------------------------------------------------------------------------
 * Weekly menu
 * ---------------------------------------------------------------------- */

.ts-gastro .ts-gastro-menu__heading {
	margin-bottom: 18px;
	text-align: center;
}

.ts-gastro .ts-gastro-menu__heading span {
	white-space: nowrap;
}

.ts-gastro .ts-gastro-menu__sheet {
	max-width: 760px;
	margin: 0 auto;
	border: 1px solid #dcdcdc;
	background: #fff;
	box-shadow: var(--ts-gastro-shadow);
}

.ts-gastro .ts-gastro-menu__sheet img {
	display: block;
	width: 100%;
	height: auto;
}

.ts-gastro .ts-gastro-menu__actions {
	margin-top: 18px;
	text-align: center;
}

.ts-gastro .ts-gastro-menu__html {
	max-width: 980px;
	margin: 0 auto;
	text-align: center;
}

.ts-gastro .ts-gastro-menu__meta {
	font-size: 1.05rem;
}

.ts-gastro .ts-gastro-menu__hours {
	margin-top: 6px;
	color: var(--ts-gastro-accent);
	font-weight: 700;
}

.ts-gastro .ts-gastro-menu__note {
	margin-top: 10px;
	color: var(--ts-gastro-dark);
	font-weight: 700;
}

.ts-gastro .ts-gastro-menu__days {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-top: 26px;
	list-style: none;
}

.ts-gastro .ts-gastro-menu__day {
	padding: 22px 20px;
	border: 1px solid var(--ts-gastro-line);
	border-radius: var(--ts-gastro-radius);
	background: #fff;
}

.ts-gastro .ts-gastro-menu__day.is-today {
	border-color: var(--ts-gastro-accent);
	box-shadow: inset 0 4px 0 var(--ts-gastro-accent), var(--ts-gastro-shadow);
}

.ts-gastro .ts-gastro-menu__day.is-past {
	opacity: 0.6;
}

.ts-gastro .ts-gastro-menu__day h3 {
	margin-top: 0;
	margin-bottom: 10px;
	color: var(--ts-gastro-accent);
	font-size: 1.35rem;
	font-weight: 700;
}

.ts-gastro .ts-gastro-menu__day h3 small {
	color: var(--ts-gastro-muted);
	font-size: 0.8rem;
	font-weight: 400;
}

.ts-gastro .ts-gastro-menu__day > * + * {
	margin-top: 6px;
}

.ts-gastro .ts-gastro-menu__main {
	font-weight: 700;
}

.ts-gastro .ts-gastro-menu__or {
	color: var(--ts-gastro-muted);
	font-style: italic;
}

.ts-gastro .ts-gastro-menu__daynote {
	color: var(--ts-gastro-dark);
	font-weight: 700;
}

.ts-gastro .ts-gastro-menu__closed {
	color: var(--ts-gastro-muted);
}

.ts-gastro .ts-gastro-menu__stamp {
	display: inline-block;
	margin: 8px 0;
	padding: 6px 16px;
	background: var(--ts-gastro-accent);
	color: #fff;
	font-weight: 700;
	transform: rotate(-4deg);
}

/* -------------------------------------------------------------------------
 * Opening hours
 * ---------------------------------------------------------------------- */

.ts-gastro .ts-gastro-hours {
	display: grid;
	gap: 8px;
}

.ts-gastro .ts-gastro-hours__row {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	justify-content: space-between;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--ts-gastro-line);
}

.ts-gastro .ts-gastro-hours__row dt {
	font-weight: 700;
}

.ts-gastro .ts-gastro-hours__row dd {
	text-align: right;
}

.ts-gastro .ts-gastro-hours__row dd small {
	display: block;
	color: var(--ts-gastro-muted);
}

.ts-gastro .ts-gastro-hours__row.is-closed dd {
	color: var(--ts-gastro-muted);
}

.ts-gastro .ts-gastro-hours__exceptions {
	display: grid;
	gap: 6px;
	margin-top: 12px;
	list-style: none;
}

.ts-gastro .ts-gastro-hours__exceptions > div {
	padding: 6px 10px;
	border-left: 3px solid var(--ts-gastro-accent);
	background: #f3f8e3;
	font-size: 0.92rem;
}

.ts-gastro .ts-gastro-hours__exceptions > .is-closed {
	border-left-color: var(--ts-gastro-closed);
	background: #f3f4f5;
}

.ts-gastro .ts-gastro-hours__exceptions > .is-closure {
	border-left-color: var(--ts-gastro-dark);
	background: #eef0f3;
}

/* -------------------------------------------------------------------------
 * Responsive
 * ---------------------------------------------------------------------- */

@media (max-width: 960px) {

	.ts-gastro .ts-gastro-boxes {
		grid-template-columns: minmax(0, 1fr);
	}

	.ts-gastro .ts-gastro-boxes:not(.ts-gastro-boxes--compact) .ts-gastro-box {
		min-height: 0;
	}

	.ts-gastro .ts-gastro-card--feature {
		grid-template-columns: minmax(0, 1fr);
	}

	.ts-gastro .ts-gastro-card--feature .ts-gastro-card__body {
		padding: 22px 20px 24px;
	}
}

@media (max-width: 767px) {

	.ts-gastro .ts-gastro-boxes {
		gap: 10px;
	}

	.ts-gastro .ts-gastro-boxes .ts-gastro-box {
		display: grid;
		grid-template-columns: 52px 1fr;
		align-items: center;
		min-height: 0;
		padding: 14px 16px;
		border-top-width: 1px;
		border-left: 4px solid var(--ts-gastro-accent);
		column-gap: 14px;
		text-align: left;
	}

	.ts-gastro .ts-gastro-boxes .ts-gastro-box[data-state="closed"],
	.ts-gastro .ts-gastro-boxes .ts-gastro-box[data-state="later"] {
		border-left-color: var(--ts-gastro-closed);
	}

	.ts-gastro .ts-gastro-boxes .ts-gastro-box[data-state="closure"] {
		border-left-color: var(--ts-gastro-dark);
	}

	.ts-gastro .ts-gastro-boxes .ts-gastro-box > *,
	.ts-gastro .ts-gastro-boxes .ts-gastro-slide > * {
		grid-column: 2;
	}

	.ts-gastro .ts-gastro-boxes .ts-gastro-slides,
	.ts-gastro .ts-gastro-boxes [data-ts-rooms],
	.ts-gastro .ts-gastro-boxes .ts-gastro-slide {
		display: contents;
	}

	.ts-gastro .ts-gastro-boxes .ts-gastro-box__icon {
		grid-row: 1 / span 4;
		grid-column: 1;
		align-self: start;
		width: 52px;
		height: 52px;
		margin: 0;
		font-size: 26px;
	}

	.ts-gastro .ts-gastro-boxes .ts-gastro-box__label {
		margin-bottom: 2px;
		font-size: 0.72rem;
	}

	.ts-gastro .ts-gastro-boxes .ts-gastro-box__headline {
		font-size: 1.02rem;
	}

	.ts-gastro .ts-gastro-boxes .ts-gastro-box__detail {
		margin-top: 2px;
		font-size: 0.9rem;
	}

	.ts-gastro .ts-gastro-boxes .ts-gastro-box__badge {
		justify-self: start;
		margin-top: 6px;
	}

	.ts-gastro .ts-gastro-boxes .ts-gastro-box__link {
		padding-top: 6px;
		font-size: 0.85rem;
	}

	.ts-gastro .ts-gastro-boxes .ts-gastro-dots {
		grid-column: 2;
		justify-content: flex-start;
		margin-top: 4px;
		margin-left: -8px;
	}

	.ts-gastro-bar.ts-gastro-bar--mobile {
		display: block;
	}

	.ts-gastro-info {
		padding: 32px 16px;
	}

	.ts-gastro .ts-gastro-calendar {
		padding: 12px;
	}

	.ts-gastro .ts-gastro-calendar__grid {
		gap: 2px;
	}

	.ts-gastro .ts-gastro-calendar__cell {
		align-items: center;
		min-height: 48px;
		padding: 4px 2px;
	}

	.ts-gastro .ts-gastro-calendar__tag {
		width: 8px;
		height: 8px;
		margin-top: auto;
		padding: 0;
		border-radius: 50%;
		color: transparent;
		font-size: 0;
	}

	.ts-gastro .ts-gastro-calendar__tag--holiday {
		background: var(--ts-gastro-dark);
	}

	.ts-gastro .ts-gastro-calendar__tag--cont {
		width: 8px;
		height: 8px;
		margin-right: 0;
		margin-left: 0;
		border-radius: 50%;
	}

	.ts-gastro .ts-gastro-calendar__event {
		align-items: flex-start;
	}

	.ts-gastro .ts-gastro-calendar__event img {
		width: 64px;
		height: 64px;
	}

	.ts-gastro .ts-gastro-menu__days {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {

	.ts-gastro *,
	.ts-gastro *::before,
	.ts-gastro *::after {
		animation: none !important;
		transition: none !important;
	}
}

@media print {

	.ts-gastro-bar {
		display: none !important;
	}
}
