/*
 * Dreamer Site Core — blocks.
 *
 * Layout rules use normal selectors; looks (colours, borders, radii) sit in
 * :where() so any theme rule wins. Themes tune everything through these
 * custom properties (set them on :root or a wrapper):
 *   --dsc-accent, --dsc-on-accent, --dsc-surface, --dsc-border, --dsc-muted,
 *   --dsc-radius, --dsc-radius-sm, --dsc-gap, --dsc-input-bg, --dsc-focus
 */

:root {
	--dsc-accent: var(--wp--preset--color--accent, #1d1a17);
	--dsc-on-accent: var(--wp--preset--color--accent-contrast, #fff);
	--dsc-surface: var(--wp--preset--color--surface, #f6f4f1);
	--dsc-border: var(--wp--preset--color--border, rgba(0, 0, 0, 0.14));
	--dsc-muted: var(--wp--preset--color--muted, #5f5750);
	--dsc-radius: 14px;
	--dsc-radius-sm: 10px;
	--dsc-gap: clamp(1rem, 2.4vw, 1.75rem);
	--dsc-input-bg: var(--wp--preset--color--base, #fff);
	--dsc-focus: var(--dsc-accent);
	--dsc-ok: #2f6b3b;
	--dsc-error: #b3261e;
}

.dsc-icon {
	display: inline-block;
	flex: none;
	vertical-align: middle;
}

.dsc-icon.is-flipped {
	transform: scaleX(-1);
}

:where(.dsc-hours, .dsc-contact, .dsc-socials, .dsc-map, .dsc-menu, .dsc-form, .dsc-gallery, .dsc-reviews) :focus-visible {
	outline: 2px solid var(--dsc-focus);
	outline-offset: 2px;
}

/* ---------------------------------------------------------------- Hours */

.dsc-hours__list {
	margin: 0;
	display: grid;
	gap: 0.15em;
}

.dsc-hours__row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.45em 0;
}

:where(.dsc-hours__row) {
	border-bottom: 1px solid var(--dsc-border);
}

.dsc-hours__row dt,
.dsc-hours__row dd {
	margin: 0;
}

.dsc-hours__time {
	text-align: right;
	font-variant-numeric: proportional-nums;
}

:where(.dsc-hours__row.is-today) {
	font-weight: 600;
}

:where(.dsc-hours__row.is-closed) .dsc-hours__time {
	color: var(--dsc-muted);
}

.dsc-hours__status {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	margin: 0 0 0.6em;
	font-size: 0.92em;
}

.dsc-hours__status::before {
	content: "";
	width: 0.55em;
	height: 0.55em;
	border-radius: 50%;
	background: currentColor;
}

:where(.dsc-hours__status.is-open) {
	color: var(--dsc-ok);
}

:where(.dsc-hours__status.is-closed) {
	color: var(--dsc-muted);
}

.dsc-hours__note,
.dsc-hours__inline {
	margin: 0.6em 0 0;
}

:where(.dsc-hours__note) {
	color: var(--dsc-muted);
	font-size: 0.92em;
}

/* -------------------------------------------------------------- Contact */

.dsc-contact {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.9rem;
}

.dsc-contact--inline {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 1.6rem;
}

.dsc-contact__item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin: 0;
}

.dsc-contact__icon {
	display: inline-grid;
	place-items: center;
	width: 2.4rem;
	height: 2.4rem;
	flex: none;
}

:where(.dsc-contact__icon) {
	border-radius: 50%;
	border: 1px solid var(--dsc-border);
}

.dsc-contact__body {
	display: grid;
	gap: 0.1rem;
	padding-top: 0.15rem;
	min-width: 0;
}

:where(.dsc-contact__label) {
	font-size: max(0.8125rem, 0.78em);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--dsc-muted);
}

.dsc-contact__value {
	overflow-wrap: anywhere;
}

:where(a.dsc-contact__value) {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

/* -------------------------------------------------------------- Socials */

.dsc-socials {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.dsc-socials__item {
	margin: 0;
}

.dsc-socials__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-width: 44px;
	min-height: 44px;
	text-decoration: none;
}

:where(.dsc-socials__link) {
	color: inherit;
	border-radius: 999px;
	border: 1px solid var(--dsc-border);
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.dsc-socials--labels .dsc-socials__link,
.dsc-socials--handles .dsc-socials__link {
	padding: 0 1rem 0 0.8rem;
}

:where(.dsc-socials__link:hover) {
	background: var(--dsc-accent);
	border-color: var(--dsc-accent);
	color: var(--dsc-on-accent);
}

/* ------------------------------------------------------------------ Map */

.dsc-map {
	position: relative;
	min-height: var(--dsc-map-h, 380px);
	overflow: hidden;
}

:where(.dsc-map) {
	border-radius: var(--dsc-radius);
	background: var(--dsc-surface);
}

.dsc-map__frame {
	display: block;
	width: 100%;
	height: var(--dsc-map-h, 380px);
	border: 0;
}

.dsc-map__placeholder {
	min-height: var(--dsc-map-h, 380px);
	display: grid;
	place-content: center;
	justify-items: center;
	text-align: center;
	gap: 0.35rem;
	padding: 2rem 1.25rem;
}

.dsc-map__name {
	margin: 0.4rem 0 0;
	font-weight: 600;
}

.dsc-map__address {
	margin: 0;
}

.dsc-map__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.6rem;
	margin: 0.9rem 0 0;
}

.dsc-map__load,
.dsc-map__directions {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 1.2rem;
	font: inherit;
	cursor: pointer;
	text-decoration: none;
}

:where(.dsc-map__load) {
	border: 0;
	border-radius: 999px;
	background: var(--dsc-accent);
	color: var(--dsc-on-accent);
}

:where(.dsc-map__directions) {
	border-radius: 999px;
	border: 1px solid var(--dsc-border);
	color: inherit;
}

/* ----------------------------------------------------------------- Menu */

.dsc-menu {
	display: grid;
	gap: calc(var(--dsc-gap) * 1.6);
}

.dsc-menu__head {
	margin-bottom: 1rem;
}

.dsc-menu__title {
	margin: 0;
}

.dsc-menu__intro {
	margin: 0.35rem 0 0;
}

:where(.dsc-menu__intro, .dsc-menu__note, .dsc-menu__item-note) {
	color: var(--dsc-muted);
}

.dsc-menu__items,
.dsc-menu__options {
	list-style: none;
	margin: 0;
	padding: 0;
}

.dsc-menu__items {
	display: grid;
	gap: 1.1rem;
}

.dsc-menu__item {
	margin: 0;
}

.dsc-menu__row,
.dsc-menu__option {
	display: flex;
	align-items: baseline;
	gap: 0.6rem;
}

.dsc-menu__name {
	margin: 0;
	font-size: inherit;
	line-height: 1.35;
}

.dsc-menu__name a {
	color: inherit;
	text-decoration: none;
}

.dsc-menu__name a:hover {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.dsc-menu__leader {
	flex: 1 1 auto;
	min-width: 1.5rem;
	transform: translateY(-0.28em);
}

:where(.dsc-menu__leader) {
	border-bottom: 1px dotted currentColor;
	opacity: 0.45;
}

.dsc-menu__price,
.dsc-menu__option-price {
	flex: none;
	white-space: nowrap;
	font-variant-numeric: proportional-nums;
}

:where(.dsc-menu__price) {
	font-weight: 600;
}

.dsc-menu__desc {
	margin: 0.3rem 0 0;
	max-width: 46em;
}

.dsc-menu__duration {
	white-space: nowrap;
}

:where(.dsc-menu__duration) {
	color: var(--dsc-muted);
}

.dsc-menu__duration::before {
	content: "· ";
}

.dsc-menu__options {
	margin-top: 0.45rem;
	padding-left: 1.1rem;
	display: grid;
	gap: 0.2rem;
}

:where(.dsc-menu__options) {
	font-size: 0.94em;
}

.dsc-menu__badge {
	display: inline-block;
	vertical-align: 0.15em;
	margin-left: 0.35em;
	padding: 0.1em 0.6em;
	font-size: max(0.8125rem, 0.68em);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
}

:where(.dsc-menu__badge) {
	border-radius: 999px;
	border: 1px solid currentColor;
}

.dsc-menu__item-note,
.dsc-menu__note {
	margin: 0.35rem 0 0;
	font-size: 0.92em;
}

.dsc-menu__note {
	margin-top: 1rem;
}

.dsc-menu__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.dsc-menu__nav-link {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0.3rem 1rem;
	font-size: 0.93em;
	text-decoration: none;
}

:where(.dsc-menu__nav-link) {
	color: inherit;
	border: 1px solid var(--dsc-border);
	border-radius: 999px;
}

.dsc-menu__group {
	scroll-margin-top: 6rem;
}

@media (min-width: 782px) {
	.dsc-menu--columns .dsc-menu__items {
		grid-template-columns: 1fr 1fr;
		column-gap: calc(var(--dsc-gap) * 2);
	}
}

.dsc-menu--cards .dsc-menu__items {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
	gap: var(--dsc-gap);
}

.dsc-menu--cards .dsc-menu__item {
	display: flex;
	flex-direction: column;
	padding: 1.25rem;
}

:where(.dsc-menu--cards .dsc-menu__item) {
	border: 1px solid var(--dsc-border);
	border-radius: var(--dsc-radius);
}

.dsc-menu--cards .dsc-menu__row {
	flex-direction: column;
	gap: 0.25rem;
}

.dsc-menu--cards .dsc-menu__leader {
	display: none;
}

/* ----------------------------------------------------------------- Form */

.dsc-form__trap {
	position: absolute !important;
	left: -10000px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.dsc-form__form {
	display: grid;
	gap: 1.25rem;
	margin: 0;
}

.dsc-form__grid {
	display: grid;
	gap: 1rem 1.25rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
	align-items: start;
}

.dsc-form__field {
	display: grid;
	gap: 0.4rem;
	margin: 0;
	min-width: 0;
	border: 0;
	padding: 0;
}

.dsc-form__field > label,
.dsc-form__field > legend,
.dsc-form__services legend {
	font-weight: 600;
	font-size: 0.95em;
	padding: 0;
}

.dsc-form__req {
	color: var(--dsc-error);
}

:where(.dsc-form__opt) {
	font-weight: 400;
	color: var(--dsc-muted);
	font-size: 0.9em;
}

.dsc-form input[type="text"],
.dsc-form input[type="tel"],
.dsc-form input[type="email"],
.dsc-form input[type="date"],
.dsc-form select,
.dsc-form textarea {
	width: 100%;
	min-height: 48px;
	padding: 0.7rem 0.9rem;
	font: inherit;
	font-size: max(16px, 1em);
	line-height: 1.4;
	box-sizing: border-box;
}

:where(.dsc-form input[type="text"], .dsc-form input[type="tel"], .dsc-form input[type="email"], .dsc-form input[type="date"], .dsc-form select, .dsc-form textarea) {
	color: inherit;
	background: var(--dsc-input-bg);
	border: 1px solid var(--dsc-border);
	border-radius: var(--dsc-radius-sm);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dsc-form textarea {
	min-height: 7.5rem;
	resize: vertical;
}

:where(.dsc-form input:focus, .dsc-form select:focus, .dsc-form textarea:focus) {
	outline: none;
	border-color: var(--dsc-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--dsc-accent) 22%, transparent);
}

:where(.dsc-form [aria-invalid="true"]) {
	border-color: var(--dsc-error) !important;
}

.dsc-form__error {
	min-height: 0;
	font-size: 0.86em;
	color: var(--dsc-error);
}

.dsc-form__error:empty {
	display: none;
}

.dsc-form__services {
	margin: 0;
	padding: 0;
	border: 0;
	display: grid;
	gap: 0.8rem;
	min-width: 0;
}

.dsc-form__service-group {
	display: grid;
	gap: 0.45rem;
}

.dsc-form__service-title {
	margin: 0;
	font-size: 0.85em;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

:where(.dsc-form__service-title) {
	color: var(--dsc-muted);
}

.dsc-form__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.dsc-chip {
	position: relative;
	display: inline-flex;
	cursor: pointer;
}

.dsc-chip input {
	position: absolute;
	opacity: 0;
	inset: 0;
	margin: 0;
	cursor: pointer;
}

.dsc-chip__text {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	min-height: 40px;
	padding: 0.35rem 0.95rem;
	font-size: 0.93em;
	line-height: 1.25;
}

:where(.dsc-chip__text) {
	border: 1px solid var(--dsc-border);
	border-radius: 999px;
	background: var(--dsc-input-bg);
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

:where(.dsc-chip__price) {
	color: var(--dsc-muted);
	font-variant-numeric: proportional-nums;
}

:where(.dsc-chip input:checked + .dsc-chip__text) {
	background: var(--dsc-accent);
	border-color: var(--dsc-accent);
	color: var(--dsc-on-accent);
}

:where(.dsc-chip input:checked + .dsc-chip__text .dsc-chip__price) {
	color: inherit;
	opacity: 0.85;
}

.dsc-chip input:focus-visible + .dsc-chip__text {
	outline: 2px solid var(--dsc-focus);
	outline-offset: 2px;
}

.dsc-chip--small .dsc-chip__text {
	min-height: 30px;
	padding: 0.2rem 0.7rem;
	font-size: 0.85em;
}

.dsc-form__radios {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.2rem;
	min-height: 48px;
	align-items: center;
}

.dsc-form__radios label,
.dsc-form__consent label {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	cursor: pointer;
}

.dsc-form__radios input,
.dsc-form__consent input {
	width: 1.15rem;
	height: 1.15rem;
	accent-color: var(--dsc-accent);
}

.dsc-form__consent {
	margin: 0;
}

.dsc-form__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.25rem;
}

.dsc-form__submit {
	cursor: pointer;
	min-height: 50px;
}

.dsc-form__submit[disabled] {
	opacity: 0.7;
	cursor: progress;
}

.dsc-form__small {
	margin: 0;
	flex: 1 1 16rem;
	font-size: 0.86em;
}

:where(.dsc-form__small) {
	color: var(--dsc-muted);
}

.dsc-form__status p {
	margin: 0;
	padding: 0.9rem 1.1rem;
}

:where(.dsc-form__success) {
	border-radius: var(--dsc-radius-sm);
	background: color-mix(in srgb, var(--dsc-ok) 10%, transparent);
	color: var(--dsc-ok);
}

:where(.dsc-form__fail) {
	border-radius: var(--dsc-radius-sm);
	background: color-mix(in srgb, var(--dsc-error) 9%, transparent);
	color: var(--dsc-error);
}

/* -------------------------------------------------------------- Gallery */

.dsc-gallery {
	display: grid;
	gap: 1.1rem;
}

.dsc-gallery__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.dsc-gallery__filter {
	min-height: 40px;
	padding: 0.3rem 1rem;
	font: inherit;
	font-size: 0.92em;
	cursor: pointer;
}

:where(.dsc-gallery__filter) {
	color: inherit;
	background: transparent;
	border: 1px solid var(--dsc-border);
	border-radius: 999px;
}

:where(.dsc-gallery__filter.is-active) {
	background: var(--dsc-accent);
	border-color: var(--dsc-accent);
	color: var(--dsc-on-accent);
}

.dsc-gallery__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: clamp(0.5rem, 1.4vw, 1rem);
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 782px) {
	.dsc-gallery__list {
		grid-template-columns: repeat(var(--dsc-cols, 3), minmax(0, 1fr));
	}
}

.dsc-gallery__item {
	margin: 0;
	min-width: 0;
}

.dsc-gallery__item[hidden] {
	display: none;
}

.dsc-gallery__link {
	display: block;
	position: relative;
	overflow: hidden;
}

:where(.dsc-gallery__link, .dsc-gallery__item > .dsc-gallery__img) {
	border-radius: var(--dsc-radius-sm);
}

.dsc-gallery__img {
	display: block;
	width: 100%;
	height: auto;
}

.dsc-gallery--grid .dsc-gallery__img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

:where(.dsc-gallery__link .dsc-gallery__img) {
	transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (hover: hover) {
	:where(.dsc-gallery__link:hover .dsc-gallery__img) {
		transform: scale(1.035);
	}
}

.dsc-gallery--masonry .dsc-gallery__list {
	display: block;
	columns: 2;
	column-gap: clamp(0.5rem, 1.4vw, 1rem);
}

@media (min-width: 782px) {
	.dsc-gallery--masonry .dsc-gallery__list {
		columns: var(--dsc-cols, 3);
	}
}

.dsc-gallery--masonry .dsc-gallery__item {
	break-inside: avoid;
	margin-bottom: clamp(0.5rem, 1.4vw, 1rem);
}

.dsc-gallery--strip {
	position: relative;
}

.dsc-gallery--strip .dsc-gallery__list {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
}

.dsc-gallery--strip .dsc-gallery__list::-webkit-scrollbar {
	display: none;
}

.dsc-gallery--strip .dsc-gallery__item {
	flex: 0 0 min(70vw, 320px);
	scroll-snap-align: start;
}

.dsc-gallery--strip .dsc-gallery__img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.dsc-gallery__nav {
	display: flex;
	justify-content: flex-end;
	gap: 0.5rem;
}

.dsc-gallery__arrow {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	cursor: pointer;
	font: inherit;
}

:where(.dsc-gallery__arrow) {
	color: inherit;
	background: transparent;
	border: 1px solid var(--dsc-border);
	border-radius: 50%;
}

.dsc-gallery__more {
	margin: 0.4rem 0 0;
}

.dsc-gallery__more-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

/* Lightbox */
.dsc-lightbox {
	width: 100vw;
	height: 100dvh;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	overflow: hidden;
}

.dsc-lightbox::backdrop {
	background: rgba(14, 10, 8, 0.92);
}

.dsc-lightbox__figure {
	margin: 0;
	height: 100%;
	display: grid;
	place-items: center;
	padding: 3.5rem 0.75rem 3rem;
	box-sizing: border-box;
}

.dsc-lightbox__img {
	max-width: 100%;
	max-height: calc(100dvh - 7rem);
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 6px;
}

.dsc-lightbox__count {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 1rem;
	text-align: center;
	font-size: 0.9rem;
	opacity: 0.8;
}

.dsc-lightbox__btn {
	position: absolute;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	cursor: pointer;
}

.dsc-lightbox__btn:hover {
	background: rgba(255, 255, 255, 0.22);
}

.dsc-lightbox__prev {
	left: max(0.75rem, 2vw);
	top: 50%;
	transform: translateY(-50%);
}

.dsc-lightbox__next {
	right: max(0.75rem, 2vw);
	top: 50%;
	transform: translateY(-50%);
}

.dsc-lightbox__close {
	top: 0.75rem;
	right: 0.75rem;
}

html.dsc-lightbox-open {
	overflow: hidden;
}

/* -------------------------------------------------------------- Reviews */

.dsc-reviews__heading {
	margin: 0 0 1.25rem;
}

.dsc-reviews__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: var(--dsc-gap);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
}

.dsc-reviews__item {
	margin: 0;
	display: flex;
}

.dsc-review {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
	width: 100%;
	padding: 1.4rem;
}

:where(.dsc-review) {
	border: 1px solid var(--dsc-border);
	border-radius: var(--dsc-radius);
}

.dsc-review__stars {
	margin: 0;
	letter-spacing: 0.12em;
}

:where(.dsc-review__stars) {
	color: var(--dsc-accent);
}

.dsc-review__stars-off {
	opacity: 0.25;
}

.dsc-review__text {
	margin: 0;
	padding: 0;
	border: 0;
	flex: 1;
}

.dsc-review__text p {
	margin: 0;
}

.dsc-review__by {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem 0.6rem;
	font-size: 0.92em;
}

.dsc-review__name {
	font-weight: 600;
}

:where(.dsc-review__source, .dsc-review__source a) {
	color: var(--dsc-muted);
}

.dsc-reviews--quotes .dsc-reviews__list {
	grid-template-columns: 1fr;
}

.dsc-reviews--quotes .dsc-review__text {
	font-size: 1.25em;
	line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
	.dsc-gallery__img,
	.dsc-socials__link {
		transition: none !important;
	}
}

/* Group photo (Menu & prices → photo at the top of the group). */
.dsc-menu__media {
	margin: 0 0 1.25rem;
	overflow: hidden;
}

.dsc-menu__photo {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: var(--dsc-radius-sm, 12px);
}

/* ------------------------------------------------------------- Openings */
.dsc-openings {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
}

/* Grid items may shrink below their content (the day strip scrolls inside itself). */
.dsc-openings > * {
	min-width: 0;
}

.dsc-openings__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem 1rem;
}

.dsc-openings__title,
.dsc-openings__live,
.dsc-openings__foot {
	margin: 0;
}

.dsc-openings__live {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.8125rem;
}

.dsc-openings__dot {
	position: relative;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--dsc-ok);
}

.dsc-openings__dot::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: inherit;
	animation: dsc-openings-ping 2.4s ease-out infinite;
}

@keyframes dsc-openings-ping {
	0% { transform: scale(1); opacity: 0.6; }
	80%, 100% { transform: scale(3); opacity: 0; }
}

.dsc-openings__tabs {
	display: flex;
	gap: 0.5rem;
	overflow-x: auto;
	scrollbar-width: none;
	padding: 2px;
	margin: -2px;
}

.dsc-openings__tabs::-webkit-scrollbar {
	display: none;
}

.dsc-openings__tab {
	flex: none;
	min-height: 44px;
	padding: 0.5rem 1.1rem;
	font: inherit;
	font-size: 0.9375rem;
	cursor: pointer;
}

.dsc-openings__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dsc-openings--next .dsc-openings__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.dsc-openings__item {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.5rem;
	min-width: 0;
	margin: 0;
	padding: 0.9rem 0.75rem;
}

.dsc-openings--next .dsc-openings__item {
	padding: 0;
}

.dsc-openings__date {
	display: grid;
	justify-items: center;
	margin: 0 0 0.25rem;
	line-height: 1.1;
}

.dsc-openings__wd,
.dsc-openings__mon {
	font-size: 0.8125rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.dsc-openings__d {
	font-size: 1.75rem;
}

.dsc-openings__times {
	display: grid;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dsc-openings__time {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-height: 44px;
	padding: 0.4rem 0.75rem;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
}

.dsc-openings__when {
	font-size: 0.8125rem;
}

.dsc-openings__at {
	font-weight: 600;
}

.dsc-openings__more,
.dsc-openings__state {
	margin: 0;
	font-size: 0.875rem;
	text-align: center;
}

.dsc-openings__msg {
	grid-column: 1 / -1;
	margin: 0;
	padding: 1rem 0;
}

.dsc-openings__ph {
	display: block;
	height: 14px;
	border-radius: 6px;
}

.dsc-openings__ph + .dsc-openings__ph {
	height: 40px;
}

.dsc-openings--week .dsc-openings__item.is-loading {
	min-height: 196px;
}

.dsc-openings--next .dsc-openings__item.is-loading {
	width: 132px;
	min-height: 52px;
}

.dsc-openings--next .dsc-openings__item.is-loading .dsc-openings__ph:first-child {
	display: none;
}

@media (max-width: 720px) {
	.dsc-openings--week .dsc-openings__list {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: thin;
		padding-bottom: 0.5rem;
	}

	.dsc-openings--week .dsc-openings__item {
		flex: 0 0 min(40%, 150px);
		scroll-snap-align: start;
	}
}

:where(.dsc-openings) :focus-visible {
	outline: 2px solid var(--dsc-focus);
	outline-offset: 2px;
}

:where(.dsc-openings__live) {
	color: var(--dsc-muted);
}

:where(.dsc-openings__tab) {
	border: 1px solid var(--dsc-border);
	border-radius: 999px;
	background: transparent;
	color: inherit;
}

:where(.dsc-openings__tab[aria-selected="true"]) {
	border-color: var(--dsc-accent);
	background: var(--dsc-accent);
	color: var(--dsc-on-accent);
}

:where(.dsc-openings--week .dsc-openings__item) {
	border: 1px solid var(--dsc-border);
	border-radius: var(--dsc-radius);
	background: var(--dsc-input-bg);
}

:where(.dsc-openings__item.is-full, .dsc-openings__item.is-closed) {
	background: transparent;
}

:where(.dsc-openings__wd, .dsc-openings__mon, .dsc-openings__state, .dsc-openings__when) {
	color: var(--dsc-muted);
}

:where(.dsc-openings__time) {
	border: 1px solid var(--dsc-border);
	border-radius: 999px;
	background: var(--dsc-surface);
	color: inherit;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

:where(.dsc-openings__time:hover, .dsc-openings__time:focus-visible) {
	border-color: var(--dsc-accent);
	background: var(--dsc-accent);
	color: var(--dsc-on-accent);
}

:where(.dsc-openings__time:hover .dsc-openings__when, .dsc-openings__time:focus-visible .dsc-openings__when) {
	color: inherit;
}

:where(.dsc-openings__more) {
	color: inherit;
}

:where(.dsc-openings__ph) {
	background: linear-gradient(90deg, var(--dsc-surface) 0%, var(--dsc-border) 50%, var(--dsc-surface) 100%);
	background-size: 200% 100%;
	animation: dsc-openings-shimmer 1.4s linear infinite;
}

@keyframes dsc-openings-shimmer {
	from { background-position: 100% 0; }
	to { background-position: -100% 0; }
}

@media (prefers-reduced-motion: reduce) {
	.dsc-openings__dot::after,
	.dsc-openings__ph {
		animation: none !important;
	}
}
