.cafe-preview-media { --feature-preview-width: 675px; }
.cafe-preview { width: min(100%, var(--feature-preview-width)); }

.cafe-preview__window {
    --u: calc(100cqw / 1350);
    container-type: inline-size;
    aspect-ratio: 1350 / 893;
    overflow: hidden;
    border-radius: 10px;
    outline: 1px solid #cbd5e1;
    background: #ededed;
    color: #151515;
    text-align: left;
}

.cafe-preview__window * { box-sizing: border-box; }
.cafe-preview__window > * { font: 400 calc(18 * var(--u)) / 1.2 "Segoe UI", Tahoma, sans-serif; }
.cafe-preview__titlebar,
.cafe-preview__toolbar,
.cafe-preview__body,
.cafe-preview__status { padding-inline: calc(10 * var(--u)); }
.cafe-preview__titlebar { background: #f4f4f4; height: calc(32 * var(--u)); display: flex; align-items: center; justify-content: space-between; }
.cafe-preview__toolbar { height: calc(66 * var(--u)); }
.cafe-preview__toolbar-group { display: flex; align-items: center; gap: calc(7 * var(--u)); }
.cafe-preview__toolbar-actions { display: flex; gap: inherit; }
.cafe-preview__search,
.cafe-preview__tool,
.cafe-preview__table-number { border: calc(1 * var(--u)) solid #888; border-radius: calc(4 * var(--u)); background: #e4e4e4; }
.cafe-preview__search { display: flex; align-items: center; justify-content: space-between; width: calc(250 * var(--u)); height: calc(50 * var(--u)); padding-inline: calc(10 * var(--u)); background: #fff; color: #555; }
.cafe-preview__search svg { width: calc(45 * var(--u)); height: calc(45 * var(--u)); }
.cafe-preview__tool { display: grid; place-items: center; width: calc(50 * var(--u)); height: calc(50 * var(--u)); }
.cafe-preview__tool svg { width: 82%; height: 82%; }
.cafe-preview__clock { position: static; margin-left: auto; font: inherit; color: inherit; }
.cafe-preview__clock [data-pos-clock-time] { font-size: calc(27 * var(--u)); }
.cafe-preview__table-number { padding: calc(5 * var(--u)) calc(14 * var(--u)); margin-left: calc(15 * var(--u)); text-align: center; }

.cafe-preview__toolbar,
.cafe-preview__body {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
    column-gap: calc(24 * var(--u));
}
.cafe-preview__body {
    grid-template-rows: minmax(0, 1fr) calc(112 * var(--u));
    row-gap: calc(10 * var(--u));
    height: calc(770 * var(--u));
}
.cafe-preview__categories,
.cafe-preview__check { border: calc(1 * var(--u)) solid #888; border-radius: calc(4 * var(--u)); min-width: 0; }
.cafe-preview__categories {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: calc(8 * var(--u));
    padding: calc(7 * var(--u));
    height: calc(100% + 48 * var(--u));
    background: #fafafa;
    text-align: center;
}
.cafe-preview__categories > div { min-height: 0; overflow: hidden; border: calc(1 * var(--u)) solid #888; border-radius: calc(4 * var(--u)); background: #f0f0f0; padding: calc(5 * var(--u)); }
.cafe-preview .cafe-preview__categories img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: calc(3 * var(--u)); }
.cafe-preview__categories strong { display: block; margin-top: calc(8 * var(--u)); font-size: calc(20 * var(--u)); }

.cafe-preview__check { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto minmax(0, 1fr) auto; gap: calc(9 * var(--u)); padding: calc(9 * var(--u)); }
.cafe-preview__check > strong,
.cafe-preview__check-meta { grid-column: 1 / -1; font-size: calc(15 * var(--u)); }
.cafe-preview__grid { overflow: hidden; background: #fafafa; border: calc(1 * var(--u)) solid #888; }
.cafe-preview__grid table { width: 100%; table-layout: fixed; border-spacing: 0; font: 400 calc(16 * var(--u)) / 1.15 "Segoe UI", Tahoma, sans-serif; }
.cafe-preview__grid :is(th, td) { height: calc(49 * var(--u)); border-right: calc(1 * var(--u)) solid rgb(0 0 0 / 7%); text-align: right; padding: calc(3 * var(--u)) calc(5 * var(--u)); }
.cafe-preview__grid :is(th, td):first-child { text-align: left; }
.cafe-preview__grid small { display: block; font-size: calc(13 * var(--u)); font-style: italic; }
.cafe-preview__grid th { background: #e5e5e5; font-weight: 600; }
.cafe-preview__grid th:nth-child(3) { padding-inline: calc(2 * var(--u)); white-space: nowrap; }
.cafe-preview__grid tbody tr:nth-child(even) { background: #ededed; }
.cafe-preview__grid tbody tr:last-child { background: #00bdf0; color: #fff; }
.cafe-preview__check-tools { display: grid; align-content: start; gap: calc(8 * var(--u)); }
.cafe-preview__contact { align-self: end; color: #555; line-height: 1.65; }
.cafe-preview__contact u { font-size: calc(22 * var(--u)); }
.cafe-preview__sum { display: flex; justify-content: end; gap: calc(30 * var(--u)); margin-bottom: calc(12 * var(--u)); font-size: calc(29 * var(--u)); font-variant-numeric: tabular-nums; }
.cafe-preview__buttons { display: flex; justify-content: space-between; gap: calc(8 * var(--u)); }
.cafe-preview__buttons span { background: #1d8835; color: #fff; padding: calc(12 * var(--u)) calc(24 * var(--u)); border-radius: calc(5 * var(--u)); font-size: calc(29 * var(--u)); }
.cafe-preview__buttons span:last-child { background: #bb3726; }
.cafe-preview__status { margin-top: calc(4 * var(--u)); font-size: calc(14 * var(--u)); }
