/* Desco Kit blocks: the bare structure, in any theme. Colours and type come from the theme's presets
   (Desco's base / ink / line / accent), with plain fallbacks; the Desco theme dresses each look on top. */

.desco-open-now { display: inline-flex; align-items: center; gap: 0.6em; margin: 0; }
.desco-dot { width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--wp--preset--color--signal, #2f7a4b); flex: none; }
.desco-open-now.is-closed .desco-dot { background: var(--wp--preset--color--muted, #8a8a8a); }

.desco-hours { margin: 0; }
.desco-hours__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4em; }
.desco-hours__row { display: flex; justify-content: space-between; gap: 1.5em; }
.desco-hours__row > span:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.desco-hours__row.is-today { color: var(--wp--preset--color--accent, currentColor); font-weight: 600; }
.desco-hours__row.is-closed:not(.is-today) { color: var(--wp--preset--color--muted, inherit); }
.desco-hours__head { display: flex; justify-content: space-between; margin: 0; }
.desco-hours__details { margin: 0; }
.desco-hours__book { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.desco-hours__tear { display: none; }

/* The kitchen ticket: zig-zag top, dashed rules. */
.desco-hours--ticket { max-width: 22rem; color: var(--wp--preset--color--on-band, #171412); }
.desco-hours--ticket .desco-hours__tear {
	display: block; height: 10px;
	background: linear-gradient(135deg, transparent 50%, var(--wp--preset--color--band, #f3ebdd) 50%) 0 0 / 16px 10px repeat-x,
		linear-gradient(225deg, transparent 50%, var(--wp--preset--color--band, #f3ebdd) 50%) 0 0 / 16px 10px repeat-x;
}
.desco-hours--ticket .desco-hours__body { background: var(--wp--preset--color--band, #f3ebdd); padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 14px; }
.desco-hours--ticket .desco-hours__head,
.desco-hours--ticket .desco-hours__rows { border-bottom: 2px dashed color-mix(in srgb, currentColor 35%, transparent); padding-bottom: 14px; }
.desco-hours--ticket .desco-hours__row.is-closed:not(.is-today) { color: color-mix(in srgb, currentColor 62%, transparent); }
.desco-hours--ticket a { color: inherit; }
.desco-hours--today { display: inline-flex; gap: 0.5em; }

.desco-details { margin: 0; }

/* Menu: dotted leaders between dish and price. */
.desco-menu__section + .desco-menu__section { margin-top: var(--wp--preset--spacing--xl, 4rem); }
.desco-menu.is-tabbed .desco-menu__section + .desco-menu__section { margin-top: 0; }
.desco-menu__tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--wp--preset--spacing--l, 3rem); }
.desco-menu__tab { font: inherit; cursor: pointer; background: none; border: 1px solid currentColor; color: inherit; padding: 0.6em 1.2em; min-height: 44px; }
.desco-menu__tab[aria-selected="true"] { background: var(--wp--preset--color--accent, #222); border-color: var(--wp--preset--color--accent, #222); color: var(--wp--preset--color--on-accent, #fff); }
.desco-menu.is-tabbed .desco-menu__section > .desco-menu__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.desco-menu__note { margin: 0.5rem 0 0; color: var(--wp--preset--color--muted, inherit); }
.desco-menu__items { display: grid; gap: 1.4rem; margin-top: var(--wp--preset--spacing--m, 1.5rem); }
.desco-dish p { margin: 0; }
.desco-dish__line { display: flex; align-items: baseline; gap: 0.6em; }
.desco-dish__name { flex: 0 1 auto; }
.desco-dish__dots { flex: 1 1 2rem; min-width: 2rem; border-bottom: 2px dotted color-mix(in srgb, currentColor 45%, transparent); transform: translateY(-0.3em); }
.desco-dish__price { flex: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.desco-dish__desc { margin-top: 0.25rem !important; color: var(--wp--preset--color--muted, inherit); max-width: 40rem; }
.desco-dish__marks { white-space: nowrap; font-size: 0.85em; letter-spacing: 0.06em; }

/* Stamp. */
.desco-stamp { position: relative; display: inline-flex; align-items: center; justify-content: center; width: var(--desco-stamp, 168px); aspect-ratio: 1; border-radius: 50%; background: var(--wp--preset--color--accent, #c0392b); color: var(--wp--preset--color--on-accent, #fff); text-decoration: none; }
.desco-stamp__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.desco-stamp__text { fill: currentColor; font-size: 17px; font-weight: 600; letter-spacing: 3px; }
.desco-stamp__symbol { font-size: calc(var(--desco-stamp, 168px) * 0.24); line-height: 1; }

/* Review and number. */
.desco-review { margin: 0; }
.desco-review__quote { margin: 0; padding: 0; border: 0; }
.desco-review__stars { margin: 0 0 0.75rem; letter-spacing: 0.15em; color: var(--wp--preset--color--accent, currentColor); }
.desco-review figcaption { margin-top: 1rem; }
.desco-review__name { font-weight: 600; }
.desco-review__detail { color: var(--wp--preset--color--muted, inherit); }
.desco-stat p { margin: 0; }
.desco-stat__number { font-size: var(--wp--preset--font-size--section, 3rem); line-height: 1; font-family: var(--wp--preset--font-family--display, inherit); }
.desco-stat__label { margin-top: 0.5rem !important; color: var(--wp--preset--color--muted, inherit); }

/* Booking form. */
.desco-booking__form { display: grid; gap: 1.25rem; }
.desco-booking__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1.25rem; }
.desco-field { display: grid; gap: 0.4rem; margin: 0; }
.desco-field label { font-weight: 600; font-size: 0.875rem; }
.desco-field__opt { font-weight: 400; color: var(--wp--preset--color--muted, inherit); }
.desco-field input,
.desco-field select,
.desco-field textarea { font: inherit; color: inherit; background: transparent; border: 1px solid var(--wp--preset--color--line, #ccc); border-radius: 0; padding: 0.75rem 0.9rem; min-height: 48px; width: 100%; box-sizing: border-box; }
.desco-field input:focus-visible,
.desco-field select:focus-visible,
.desco-field textarea:focus-visible { outline: 2px solid var(--wp--preset--color--accent, #222); outline-offset: 1px; }
.desco-field select option { color: #1c1a17; background: #fff; }
.desco-booking__help { margin: -0.5rem 0 0; font-size: 0.875rem; color: var(--wp--preset--color--muted, inherit); }
.desco-booking__note { padding: 1rem 1.25rem; background: color-mix(in srgb, currentColor 8%, transparent); margin: 0 0 1.25rem; }
.desco-booking__send { margin: 0; }
.desco-booking__send button { cursor: pointer; border: 0; }
.desco-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Editor only. */
.desco-editor-empty { margin: 0; padding: 0.75rem 1rem; border: 1px dashed currentColor; opacity: 0.7; font-size: 13px; }
