/*
 * Layout "classic": the look of the online booking the customers of the old client know (dark input fields, the colour of the
 * center as bar and tabs, a narrow column, uppercase buttons, Lato). A layout is only a design: the pages, scripts and server
 * logic are the same as in "lola"; this file is loaded after every other stylesheet (OnlinePage::LAYOUT_STYLES) and only
 * changes tokens and appearance of the markup that is there anyway. Everything hangs on html[data-layout="classic"].
 *
 * Sources of the values: the stylesheet of the old client (online/online.css before 2026-10-13, tag
 * baseline/online-modernization-2026-10-12). Rules of the structure (what is shown where, how it opens and closes) stay in the
 * shared stylesheets.
 */

@font-face {
    font-family: 'Lato';
    src: url('../../assets/fonts/lato/Lato-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('../../assets/fonts/lato/Lato-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ---- tokens ------------------------------------------------------------------------------------------------------------------ */
:root[data-layout="classic"] {
    --font: 'Lato', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    /* the page and its cards: light grey, white */
    --bg-page: #ffffff;
    --bg-card: #f5f5f5; /* the content of the card, grey like the old client; what lies on it (slots, cards) is white */
    --bg-subtle: #fefefe;
    --bg-muted: #e6e6e6;
    --ink: #333333;
    --ink-muted: #555555;
    --ink-faint: #888888;
    --line: #e1e1e1;
    --line-strong: #cccccc;

    /* shape: the old client rounds by 8 (fields), 12 (buttons, card) and 16 (ticket) */
    --r-sm: 6px;
    --r-md: 8px;
    --r-lg: 12px;
    --r-pill: 12px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .2);
    --shadow-md: 0 2px 5px rgba(0, 0, 0, .2);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, .3);
    --shadow-card: none;
    --page-glow: none;

    --content-max: 25rem; /* the column of the old client: 400px */

    /* status colours of the old client */
    --success: #2f7a12;
    --success-bg: #eef7df;
    --success-line: #a5df41;
    --warning: #7d4a00;
    --warning-bg: #fdf0c4;
    --warning-line: #f9d052;
    --danger: #a00000;
    --danger-bg: #eac5c0;
    --danger-line: #a35b5b;
    --info: #00609b;
    --info-bg: #e3eef6;
    --info-line: #9fc4de;

    /* the input fields: dark, with light text (the old client in every scheme) */
    --field-bg: #2c2c2c;
    --field-ink: #dddddd;
    --field-placeholder: #888888;
    --field-disabled-bg: #6b6b6b;
    --field-disabled-ink: #e0e0e0;
    --field-error-bg: #730000;
    --field-error-line: #ff0000;
    --field-error-ink: #ffffff;
    --field-h: 3.4375rem; /* 55px, as the fields of the old client */
    --field-r: 8px;

    /* the bars of the old client: darker shades over the colour of the center */
    --nav-bg-light: rgba(0, 0, 0, .05);
    --nav-bg-hover: rgba(0, 0, 0, .1);
    --nav-bg-active: rgba(0, 0, 0, .2);

    /* the ticket: from the colour of the center to the purple of the old client */
    --ticket-from: var(--op-accent);
    --ticket-to: #7f0179;
    --ticket-inset: #363636;
    --ticket-inset-ink: #e1e1e1;
    --ticket-rule: #9a9a9a;

    --footer-bg: #cccccc;
    --footer-ink: #333333;

    --options-bg: #cccccc;
    --options-line: #aaaaaa;

    --counter-bg: #f8b333;
}

/* dark: the old client had none. The same shapes, darker surfaces, fields a shade darker than the card so they stay a field. */
:root[data-layout="classic"][data-theme="dark"] {
    --bg-page: #1b1b1b;
    --bg-card: #2a2a2a;
    --bg-subtle: #242424;
    --bg-muted: #333333;
    --ink: #e6e6e6;
    --ink-muted: #bbbbbb;
    --ink-faint: #999999;
    --line: #3d3d3d;
    --line-strong: #555555;
    --shadow-md: 0 2px 5px rgba(0, 0, 0, .5);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, .7);

    --success: #a5df41;
    --success-bg: #243318;
    --success-line: #46681f;
    --warning: #f9d052;
    --warning-bg: #3a3014;
    --warning-line: #77621b;
    --danger: #ff9b93;
    --danger-bg: #3d1a17;
    --danger-line: #7a3732;
    --info: #8fc1f2;
    --info-bg: #17293a;
    --info-line: #2f5679;

    --field-bg: #171717;
    --field-ink: #e6e6e6;
    --field-disabled-bg: #3d3d3d;
    --field-disabled-ink: #888888;

    --footer-bg: #333333;
    --footer-ink: #cccccc;

    --options-bg: #3a3a3a;
    --options-line: #666666;
}

/* ---- shell: bar, tabs, card, footer ------------------------------------------------------------------------------------------ */
html[data-layout="classic"]:not(.is-widget):not(.is-framed) body {
    background: var(--bg-page);
    color: var(--ink-muted);
    font-size: 16px;
}

html[data-layout="classic"]:not(.is-widget):not(.is-framed) {
    background-color: var(--bg-page);
}

/* the column: the bar of the center runs across the window, everything else stands in the narrow column */
html[data-layout="classic"] #wrapper {
    max-width: none;
    padding: 0 0 var(--s-7);
}

html[data-layout="classic"] #wrapper > :not(.topbar):not(#loader) {
    max-width: var(--content-max);
    margin-left: auto;
    margin-right: auto;
}

html[data-layout="classic"] .topbar {
    min-height: 3.125rem; /* 50px */
    margin: 0 0 var(--s-5);
    padding: 0 20px;
    border-radius: 0;
    background: var(--op-accent);
    color: var(--op-on-accent);
    font-size: 1.125rem;
    font-weight: 400;
    letter-spacing: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
}

html[data-layout="classic"] #location {
    line-height: 3.125rem;
}

/* the tabs: a bar in the colour of the center over the card, the shown tab darker (the old #navigation) */
html[data-layout="classic"] #navigation {
    gap: 0;
    margin-bottom: 0;
    background: var(--op-accent);
    color: var(--op-on-accent);
    border-radius: 12px 12px 0 0;
}

html[data-layout="classic"] #navigation .nav__list {
    gap: 0;
    border-top-left-radius: 12px;
}

html[data-layout="classic"] #navigation .nav__list > li:first-child > a {
    border-top-left-radius: 12px;
}

/* what does not fit in the line opens below "Mehr": a small sheet over the card, as the shared styles place it */
html[data-layout="classic"] #navigation .nav__pool {
    border-radius: 8px;
}

html[data-layout="classic"] #navigation .nav__pool li a {
    gap: .5rem;
    min-height: 2.75rem;
    background: transparent;
    color: var(--ink);
}

html[data-layout="classic"] #navigation .nav__pool li a:hover {
    background: var(--bg-muted);
}

html[data-layout="classic"] #navigation li a,
html[data-layout="classic"] #navigation .nav__moreButton {
    min-height: 3.75rem; /* 60px */
    padding: 0 12px;
    gap: 0;
    border: 0;
    border-radius: 0;
    background: var(--nav-bg-light);
    color: var(--op-on-accent);
    font-size: .875rem;
    font-weight: 400;
    text-align: center;
}

html[data-layout="classic"] #navigation .nav__list > li:not(.nav__more) > a svg {
    display: none; /* the old tabs had words only */
}

html[data-layout="classic"] #navigation li a:hover,
html[data-layout="classic"] #navigation .nav__moreButton:hover,
html[data-layout="classic"] #navigation .nav__moreButton[aria-expanded="true"] {
    border-color: transparent;
    background: var(--nav-bg-hover);
}

html[data-layout="classic"] #navigation li a.active {
    background: var(--nav-bg-active);
    border-color: transparent;
    color: var(--op-on-accent);
}

html[data-layout="classic"] #navigation .nav__lang {
    margin-right: var(--s-2);
    color: #666666;
}

html[data-layout="classic"] #languageSwitcher,
html[data-layout="classic"] #navigation .nav__lang #languageSwitcher {
    min-height: 1.875rem; /* 30px */
    max-width: 6rem;
    padding: 0 var(--s-2);
    border: 0;
    border-radius: 4px;
    background: rgba(255, 255, 255, .9);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .7);
    color: #666666;
    font-size: .875rem;
    text-transform: capitalize;
}

html[data-layout="classic"] #navigation .nav__lang svg {
    display: none;
}

html[data-layout="classic"] #navigation .account {
    color: var(--op-on-accent);
}

/* no progress indicator: the old client never showed its bubbles */
html[data-layout="classic"] .progress {
    display: none;
}

/* the card: the content grey, rounded at the bottom; the bar above it is the tabs, the title bar the colour of the center */
html[data-layout="classic"] .container {
    margin-bottom: var(--s-6);
    border: 0;
    border-radius: 0 0 12px 12px;
    background: var(--bg-card);
    box-shadow: none;
}

html[data-layout="classic"] .container.is-bare {
    border-radius: 0;
    background: none;
}

html[data-layout="classic"] .page-head {
    padding: 0 20px;
    min-height: 3.75rem;
    background: var(--op-accent);
    color: var(--op-on-accent);
}

html[data-layout="classic"] .page-head .banner {
    font-size: .875rem;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 3.75rem;
}

html[data-layout="classic"] .container .content {
    --content-pad-y: 30px;
    --content-pad-x: 30px; /* fields 340px wide in the 400px card, as the old client */
    background: var(--bg-card);
}

html[data-layout="classic"] .top-content {
    justify-content: center;
    padding: 20px;
    border-bottom: 1px solid var(--line-strong);
    background: var(--bg-subtle);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, .1);
}

/* the notice of the operator: plain text on the grey strip, like the old client */
html[data-layout="classic"] .top-message {
    padding: 0 30px;
    border: 0;
    border-radius: 0;
    background: none;
    color: var(--ink-muted);
    font-size: .875rem;
    text-align: center;
}

html[data-layout="classic"] #footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: none;
    margin: 0;
    padding: 3px 10px 4px;
    background: var(--footer-bg);
    color: var(--footer-ink);
    font-size: 10px;
    line-height: 1.4;
    text-align: center;
}

html[data-layout="classic"] #footer a,
html[data-layout="classic"] #footer .footer__legal a {
    color: var(--footer-ink);
}

html[data-layout="classic"] #footer .powered {
    padding: 0;
    border: 0;
    border-radius: 0;
}

html[data-layout="classic"] .powered__by,
html[data-layout="classic"] .powered__brand {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

html[data-layout="classic"] .powered[data-brand="4bowl"] .powered__brand {
    color: inherit;
}

html[data-layout="classic"] .footer__legal {
    display: inline-flex;
    margin: 0 0 0 var(--s-2);
}

html[data-layout="classic"] #footer .powered,
html[data-layout="classic"] #footer .footer__legal {
    display: inline-flex;
    vertical-align: baseline;
}

/* ---- buttons: flat, uppercase, 12px round; the colour of the center for the main action, dark grey for the others ----------- */
html[data-layout="classic"] .btn,
html[data-layout="classic"] input[type="button"],
html[data-layout="classic"] input[type="submit"],
html[data-layout="classic"] button.button-orange,
html[data-layout="classic"] button.button-green {
    min-height: 3.125rem; /* 50px */
    padding: 0 20px;
    gap: .5rem;
    border: 1px solid transparent;
    border-radius: 12px;
    background: #555555;
    color: #ffffff;
    font-size: .875rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: uppercase;
}

html[data-layout="classic"] .btn:hover:not(:disabled),
html[data-layout="classic"] input[type="button"]:hover:not(:disabled),
html[data-layout="classic"] input[type="submit"]:hover:not(:disabled) {
    box-shadow: inset 0 1px 100px rgba(255, 255, 255, .2);
    filter: none;
}

html[data-layout="classic"] .btn--primary,
html[data-layout="classic"] input[type="button"].button-orange,
html[data-layout="classic"] input[type="button"].button-green,
html[data-layout="classic"] input[type="submit"].button-orange,
html[data-layout="classic"] input[type="submit"].button-green,
html[data-layout="classic"] button.button-orange,
html[data-layout="classic"] button.button-green {
    background: var(--op-accent);
    border-color: transparent;
    color: var(--op-on-accent);
    box-shadow: none;
}

html[data-layout="classic"] .btn--primary:hover:not(:disabled),
html[data-layout="classic"] input[type="button"].button-orange:hover:not(:disabled),
html[data-layout="classic"] input[type="button"].button-green:hover:not(:disabled),
html[data-layout="classic"] input[type="submit"].button-orange:hover:not(:disabled),
html[data-layout="classic"] input[type="submit"].button-green:hover:not(:disabled),
html[data-layout="classic"] button.button-orange:hover:not(:disabled),
html[data-layout="classic"] button.button-green:hover:not(:disabled) {
    background: var(--op-accent);
    box-shadow: inset 0 1px 100px rgba(255, 255, 255, .2);
}

html[data-layout="classic"] .btn--primary:active:not(:disabled),
html[data-layout="classic"] input[type="button"].button-orange:active:not(:disabled),
html[data-layout="classic"] input[type="submit"].button-orange:active:not(:disabled) {
    background: var(--op-accent-pressed);
    box-shadow: none;
}

html[data-layout="classic"] .btn--secondary,
html[data-layout="classic"] input[type="button"].button-black,
html[data-layout="classic"] input[type="button"].button-blue {
    background: #555555;
    border-color: transparent;
    color: #ffffff;
}

html[data-layout="classic"] .btn--ghost {
    background: transparent;
    border-color: var(--line-strong);
    color: var(--ink);
}

html[data-layout="classic"] .btn--accent-soft {
    background: var(--op-accent-soft);
    border-color: var(--op-accent-soft-border);
    color: #333333;
}

html[data-layout="classic"] .btn--small {
    min-height: 2.5rem;
    padding: 0 12px;
}

html[data-layout="classic"] .btn:disabled,
html[data-layout="classic"] .btn[aria-disabled="true"],
html[data-layout="classic"] input[type="button"]:disabled,
html[data-layout="classic"] input[type="submit"]:disabled {
    opacity: .5;
}

/* the text links of the bars: uppercase, bold, black (the old .linkbutton) */
html[data-layout="classic"] .link-button,
html[data-layout="classic"] .linkbutton {
    color: var(--ink);
    font-size: .875rem;
    font-weight: 700;
    text-transform: uppercase;
    text-shadow: 0 -1px 0 rgba(255, 255, 255, .3);
}

/* the line above the buttons of a page: across the card in the old client's grey */
html[data-layout="classic"] .page-nav,
html[data-layout="classic"] #buttonBar.page-nav {
    border-top-color: var(--line-strong);
}

/* ---- input fields: dark, light text, 55px high, 8px round -------------------------------------------------------------------- */
html[data-layout="classic"] .field,
html[data-layout="classic"] input[type="text"],
html[data-layout="classic"] input[type="email"],
html[data-layout="classic"] input[type="password"],
html[data-layout="classic"] input[type="tel"],
html[data-layout="classic"] input[type="number"],
html[data-layout="classic"] input[type="date"],
html[data-layout="classic"] select,
html[data-layout="classic"] textarea {
    min-height: var(--field-h);
    margin-bottom: 5px;
    padding: 5px 20px;
    border: 1px solid transparent;
    border-radius: var(--field-r);
    background-color: var(--field-bg);
    color: var(--field-ink);
    font-size: 1.125rem; /* 18px, as the old client; the page still does not zoom: 16px is the least iOS needs */
    font-weight: 400;
}

html[data-layout="classic"] textarea {
    min-height: var(--field-h);
    line-height: 1.4;
}

html[data-layout="classic"] select {
    --select-arrow: var(--field-ink);
}

html[data-layout="classic"] ::placeholder {
    color: var(--field-placeholder);
    opacity: 1;
}

html[data-layout="classic"] input:disabled,
html[data-layout="classic"] select:disabled,
html[data-layout="classic"] textarea:disabled {
    background-color: var(--field-disabled-bg);
    color: var(--field-disabled-ink);
}

html[data-layout="classic"] .field:focus,
html[data-layout="classic"] input[type="text"]:focus,
html[data-layout="classic"] input[type="email"]:focus,
html[data-layout="classic"] input[type="password"]:focus,
html[data-layout="classic"] input[type="tel"]:focus,
html[data-layout="classic"] input[type="number"]:focus,
html[data-layout="classic"] input[type="date"]:focus,
html[data-layout="classic"] select:focus,
html[data-layout="classic"] textarea:focus {
    border-color: var(--op-accent);
}

/* ---- the selection form: every step is a dark field, an open one folds out a light sheet below it ----------------------------- */
html[data-layout="classic"] .sv__card {
    margin-bottom: 5px;
    border: 1px solid transparent;
    border-radius: var(--field-r);
    background: var(--field-bg);
    color: var(--field-ink);
}

html[data-layout="classic"] .sv__card.is-open {
    box-shadow: none;
}

html[data-layout="classic"] .sv__card.is-done {
    border-color: transparent;
}

html[data-layout="classic"] .sv__card.is-locked {
    background: var(--field-disabled-bg);
    opacity: 1;
}

html[data-layout="classic"] .sv__card.is-locked .sv__label,
html[data-layout="classic"] .sv__card.is-locked .sv__icon,
html[data-layout="classic"] .sv__card.is-locked .sv__toggle > svg {
    color: var(--field-disabled-ink);
}

html[data-layout="classic"] .sv__card.has-error {
    border-color: var(--field-error-line);
    background: var(--field-error-bg);
    box-shadow: none;
    animation: none;
}

html[data-layout="classic"] .sv__card--plain {
    margin-bottom: 0;
    background: transparent;
}

html[data-layout="classic"] .sv__toggle {
    min-height: var(--field-h);
    padding: 5px 28px 5px 11px;
    gap: 13px;
    border-radius: var(--field-r);
    background: transparent url('../../assets/images/select-arrows.svg') no-repeat right 8px center;
    color: var(--field-ink);
    font-size: 1.125rem;
    font-weight: 400;
}

html[data-layout="classic"] .sv__toggle:hover {
    background-color: rgba(255, 255, 255, .06);
}

/* the date is no select in the old client (the date picker opens): no arrow */
html[data-layout="classic"] .sv__card[data-field="date"] .sv__toggle {
    background-image: none;
}

/* what is still empty reads like the placeholder of a field; once chosen the value stands there instead of the title */
html[data-layout="classic"] .sv__label {
    color: var(--field-placeholder);
}

html[data-layout="classic"] .sv__card.is-open .sv__label {
    color: var(--field-ink);
}

html[data-layout="classic"] .sv__card.is-done:not(.is-open) .sv__label {
    display: none;
}

html[data-layout="classic"] .sv__value {
    text-align: left;
    color: var(--field-ink);
    font-weight: 400;
}

html[data-layout="classic"] .sv__card.has-error .sv__label,
html[data-layout="classic"] .sv__card.has-error .sv__value {
    color: var(--field-error-ink);
}

/* the symbol before the text, small and grey, as the old .form_icon */
html[data-layout="classic"] .sv__icon,
html[data-layout="classic"] .sv__card.is-open .sv__icon,
html[data-layout="classic"] .sv__card.is-done .sv__icon {
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    color: #aaaaaa;
}

html[data-layout="classic"] .sv__toggle > svg:last-child {
    display: none; /* the chevron: the arrow of the select is the background of the field */
}

/* an open step looks like the list of a select: dark rows with a line between them, the one under the pointer blue, the chosen one
   a shade lighter (the old select2 list); a long list scrolls inside */
/* the list opens OVER the fields below (like the popup of a select): the fields do not move, the card is not clipped */
html[data-layout="classic"] .container {
    overflow: visible;
}

html[data-layout="classic"] .container .content {
    border-radius: 0 0 12px 12px;
}

html[data-layout="classic"] .sv__card {
    position: relative;
}

html[data-layout="classic"] .sv__card.is-open {
    z-index: 30;
}

html[data-layout="classic"] .sv__panel {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    z-index: 30;
    overflow: hidden;
    border-radius: var(--field-r);
    background: var(--field-bg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .55);
    color: var(--field-ink);
}

html[data-layout="classic"] .sv__card.is-open .sv__panel {
    border: 0;
}

html[data-layout="classic"] .sv__body .choice:first-child,
html[data-layout="classic"] .sv__body .offer:first-child {
    border-top: 0;
}

html[data-layout="classic"] .sv__inner {
    padding: 0;
}

html[data-layout="classic"] .sv__inner::before {
    display: none;
}

html[data-layout="classic"] .sv__inner::after {
    height: 0;
}

html[data-layout="classic"] .sv__body .choices {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    max-height: 17rem;
    overflow-y: auto;
    border-radius: 0 0 var(--field-r) var(--field-r);
    scrollbar-color: #777777 #222222;
}

html[data-layout="classic"] .sv__body .choices::-webkit-scrollbar {
    width: 12px;
    background-color: #222222;
}

html[data-layout="classic"] .sv__body .choices::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: #777777;
}

html[data-layout="classic"] .sv__body .choice {
    flex: none;
    justify-content: flex-start;
    width: 100%;
    min-height: 3.25rem;
    padding: 12px 20px;
    border: 0;
    border-top: 1px solid #666666;
    border-radius: 0;
    background: var(--field-bg);
    box-shadow: none;
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 400;
    text-align: left;
}

html[data-layout="classic"] .sv__body .choice:hover:not(:disabled) {
    border-color: #666666;
    background: #003974;
    color: #ffffff;
}

html[data-layout="classic"] .sv__body .choice.is-checked {
    border-color: #666666;
    background: #444444;
    box-shadow: none;
    color: #ffffff;
}

html[data-layout="classic"] .sv__body .choice:disabled {
    background: #444444;
    color: #888888;
}

html[data-layout="classic"] .sv__body .choice__label {
    flex: 1 1 auto;
    text-align: left;
}

/* the number of persons beside its word, in one row like every other entry of a list */
html[data-layout="classic"] .sv__body .persons__label {
    display: inline-flex;
    flex-direction: row;
    align-items: baseline;
    gap: .4em;
}

html[data-layout="classic"] .sv__body .persons__number,
html[data-layout="classic"] .sv__body .persons__word {
    display: inline;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: inherit;
    color: inherit;
    text-transform: none;
}

/* the categories: the same list, the colour of the category as a bar at the left, the description in the grey of the old options */
html[data-layout="classic"] .sv__body .offers {
    gap: 0;
}

html[data-layout="classic"] .sv__body .offer {
    min-height: var(--field-h); /* a category is as high as a field: its name is the main line */
    padding: 8px 20px 8px 15px;
    border: 0;
    border-top: 1px solid #666666;
    border-left: 5px solid var(--category-color, var(--op-accent));
    border-radius: 0;
    background: var(--field-bg);
    color: #ffffff;
}

html[data-layout="classic"] .sv__body .offer:hover:not(.is-disabled) {
    border-top-color: #666666;
    background: #003974;
}

html[data-layout="classic"] .sv__body .offer.is-checked {
    border-top-color: #666666;
    background: #444444;
}

html[data-layout="classic"] .sv__body .offer__radio {
    display: none;
}

html[data-layout="classic"] .sv__body .offer__name {
    font-size: 1.25rem;
    font-weight: 400;
}

html[data-layout="classic"] .sv__body .offer__desc,
html[data-layout="classic"] .sv__body .offer__facts {
    padding-left: 8px;
    border-left: 2px solid #585858;
    color: #c1c1c1;
    font-size: .875rem;
}

html[data-layout="classic"] .sv__body .offer__facts li.is-warn {
    color: #ffb4ab;
}

/* the calendar keeps its light sheet (the old date picker), edge to edge in the step */
html[data-layout="classic"] .cal {
    margin: 0;
    border-radius: 0 0 var(--field-r) var(--field-r);
    overflow: hidden;
}

/* texts and small controls in a dark step */
html[data-layout="classic"] .sv__hint,
html[data-layout="classic"] .sv__attention,
html[data-layout="classic"] .sv__error,
html[data-layout="classic"] .sv__empty,
html[data-layout="classic"] .sv__next,
html[data-layout="classic"] .persons__counter,
html[data-layout="classic"] .persons__rule,
html[data-layout="classic"] .offers__more,
html[data-layout="classic"] .offers__note {
    margin-left: 20px;
    margin-right: 20px;
}

html[data-layout="classic"] .offers__more {
    justify-content: flex-start;
    margin: 0;
    padding: 10px 20px;
    border-top: 1px solid #666666;
    color: #c1c1c1;
    font-size: .875rem;
    font-weight: 400;
    text-align: left;
    text-transform: none;
}

html[data-layout="classic"] .sv__hint,
html[data-layout="classic"] .sv__attention,
html[data-layout="classic"] .sv__empty {
    color: #c1c1c1;
}

html[data-layout="classic"] .sv__error {
    color: #ffb4ab;
}

/* "Anmerkung hinzufügen": the text link of the old client, at the right, black, bold, in capitals, with its arrow */
html[data-layout="classic"] .sv__more summary {
    justify-content: flex-end;
    padding: 10px 0;
    color: var(--ink);
    font-size: .875rem;
    font-weight: 700;
    text-shadow: 0 -1px 0 rgba(255, 255, 255, .3);
    text-transform: uppercase;
}

html[data-layout="classic"] .sv__more summary:hover {
    color: var(--op-accent);
}

html[data-layout="classic"] .sv__more textarea {
    min-height: var(--field-h);
}

/* the event of a link: the grey bar of the old #eventView */
html[data-layout="classic"] .sv__linkevent {
    margin-bottom: 10px;
    padding: 10px;
    border: 0;
    border-radius: 8px;
    background: #dddddd;
    color: #333333;
}

/* ---- calendar: the date picker of the old client - the colour of the center as header, grey squares ---------------------------- */
html[data-layout="classic"] .cal {
    max-width: none;
    margin: 0;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
}

html[data-layout="classic"] .cal__head {
    margin: 0;
    padding: 0 10px;
    min-height: 2.5rem;
    background: var(--op-accent);
    color: var(--op-on-accent);
    font-size: 1rem;
}

html[data-layout="classic"] .cal__title {
    font-weight: 400;
}

html[data-layout="classic"] .cal__nav {
    width: 1.875rem;
    height: 1.875rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--op-on-accent);
}

html[data-layout="classic"] .cal__nav:hover:not(:disabled) {
    color: #555555;
}

html[data-layout="classic"] .cal__grid {
    border-spacing: 0;
    background: #ffffff;
}

html[data-layout="classic"] .cal__grid thead {
    background: linear-gradient(to bottom, #f7f7f7 0%, #f1f1f1 100%);
    border-bottom: 1px solid #bbbbbb;
}

html[data-layout="classic"] .cal__grid th {
    padding: 7px 0;
    color: #555555;
    font-size: .8125rem;
    font-weight: 700;
    text-shadow: 0 1px 0 #ffffff;
    text-transform: uppercase;
}

html[data-layout="classic"] .cal__grid tbody tr {
    border-bottom: 1px solid #bbbbbb;
}

html[data-layout="classic"] .cal__day {
    aspect-ratio: auto;
    min-height: 2.625rem; /* 42px */
    height: 2.625rem;
    border: 0;
    border-radius: 0;
    background: linear-gradient(to bottom, #ededed 0%, #dedede 100%);
    color: #555555;
    font-weight: 700;
}

html[data-layout="classic"] .cal__day:hover:not(.is-unavailable):not(.is-selected) {
    background: #cccccc;
}

html[data-layout="classic"] .cal__day.is-outside {
    border: 0;
    color: #cccccc;
    font-weight: 400;
}

html[data-layout="classic"] .cal__day.is-today {
    border: 0;
    box-shadow: inset 0 0 0 2px var(--op-accent);
}

html[data-layout="classic"] .cal__day.is-unavailable {
    border: 0;
    background: #f4f4f4;
    color: #dddddd;
    font-weight: 700;
}

html[data-layout="classic"] .cal__day.is-selected {
    background: var(--op-accent);
    box-shadow: inset 0 0 10px 0 rgba(0, 0, 0, .2);
    color: var(--op-on-accent);
}

html[data-layout="classic"] .cal__legend,
html[data-layout="classic"] .cal__empty {
    padding: 0 var(--s-3) var(--s-2);
    color: #555555;
}

/* ---- choices (times, duration, persons ...) and offers (categories): the grey squares of the old date picker ----------------- */
html[data-layout="classic"] .choice {
    min-height: 2.75rem;
    border: 1px solid #bbbbbb;
    border-radius: 8px;
    background: linear-gradient(to bottom, #ededed 0%, #dedede 100%);
    color: #555555;
    font-weight: 700;
}

html[data-layout="classic"] .choice:hover:not(:disabled):not(.is-checked) {
    border-color: #bbbbbb;
    background: #cccccc;
}

html[data-layout="classic"] .choice.is-checked {
    border-color: var(--op-accent);
    background: var(--op-accent);
    box-shadow: inset 0 0 10px 0 rgba(0, 0, 0, .2);
    color: var(--op-on-accent);
}

html[data-layout="classic"] .choice:disabled {
    background: #f4f4f4;
    color: #bbbbbb;
    opacity: 1;
}

html[data-layout="classic"] .offer {
    min-height: 3.5rem;
    border: 1px solid #cccccc;
    border-left: 5px solid var(--category-color, var(--op-accent));
    border-radius: 8px;
    background: #ffffff;
}

html[data-layout="classic"] .offer:hover:not(.is-disabled):not(.is-checked) {
    border-color: #999999;
    border-left-color: var(--category-color, var(--op-accent));
}

html[data-layout="classic"] .offer.is-checked {
    border-color: var(--op-accent);
    border-left-color: var(--category-color, var(--op-accent));
    background: var(--op-accent-soft);
}

html[data-layout="classic"] .offer__radio {
    border: 2px solid #999999;
}

/* ---- the bar at the end of a page: not sticky, a line and room above the button, like the old #buttonBar ---------------------- */
html[data-layout="classic"] .sv__cta {
    position: static;
    box-shadow: none;
    background: transparent;
}

/* the main button stays in the colour of the center like the old "Weiter"; while something is missing it is only paler */
html[data-layout="classic"] #checkForOptions.is-incomplete {
    background: var(--op-accent);
    border-color: transparent;
    color: var(--op-on-accent);
    opacity: .5;
}

/* ---- options of the booking (bumper, whole hall ...): the grey sunken box of the old #options ------------------------------------- */
html[data-layout="classic"] .lm__option {
    padding: 20px;
    border: 0;
    border-radius: 6px;
    background: var(--options-bg);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, .5), 2px 2px 10px rgba(255, 255, 255, .5);
    text-align: left;
}

html[data-layout="classic"] .lm__option .title {
    font-weight: 700;
}

html[data-layout="classic"] .lm__option .description {
    margin: 10px 0 0 9px;
    padding-left: 9px;
    border-left: 2px solid var(--options-line);
    font-size: .875rem;
}

/* ---- demand ("Auslastung"): a plain strip with a grey bar, as the old #liveView ------------------------------------------------- */
html[data-layout="classic"] .demand {
    padding: 0 0 var(--s-3);
    border: 0;
    border-radius: 0;
    background: transparent;
}

html[data-layout="classic"] .demand__head {
    font-size: .8125rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ink-muted);
}

html[data-layout="classic"] .demand__bar {
    height: 1.25rem;
    border-radius: 12px;
    background: #999999;
    box-shadow: none;
}

html[data-layout="classic"] .demand__text {
    font-size: .8125rem;
    font-weight: 700;
    color: var(--ink-muted);
}

/* ---- the ticket: from the colour of the center to the purple of the old client, a dark middle part, 16px round --------------------- */
html[data-layout="classic"] .ticket-container {
    max-width: none;
    filter: drop-shadow(0 0 15px rgba(0, 0, 0, .4));
}

html[data-layout="classic"] .ticket {
    border-radius: 16px;
    background: linear-gradient(to bottom right, var(--ticket-from) 0%, var(--ticket-to) 80%);
    color: #ffffff;
}

html[data-layout="classic"] .ticket__cal {
    font-size: 1.375rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, .2);
}

html[data-layout="classic"] .ticket__id {
    color: rgba(255, 255, 255, .6);
    font-size: 1.0625rem;
    font-weight: 400;
    text-shadow: 0 0 5px rgba(0, 0, 0, .2);
}

html[data-layout="classic"] .ticket__head {
    border-bottom: 2px dashed rgba(255, 255, 255, .55);
}

html[data-layout="classic"] .ticket__main {
    background: var(--ticket-inset);
    color: var(--ticket-inset-ink);
    box-shadow: inset 0 30px 60px -10px rgba(0, 0, 0, .5);
}

html[data-layout="classic"] .ticket__time {
    font-size: 1.0625rem;
    font-weight: 400;
}

html[data-layout="classic"] .ticket__facts {
    border-top-color: var(--ticket-rule);
}

html[data-layout="classic"] .ticket__fact dt {
    letter-spacing: 0;
}

html[data-layout="classic"] .ticket__fact dd {
    font-weight: 700;
}

html[data-layout="classic"] .ticket__foot {
    border-top: 0;
    color: #ffffff;
}

html[data-layout="classic"] .ticket__price {
    font-size: 1.25rem;
    font-weight: 400;
}

html[data-layout="classic"] .ticket__onsite {
    color: rgba(255, 255, 255, .7);
    font-weight: 400;
}

html[data-layout="classic"] .ticket__remove {
    min-height: 0;
    padding: 1px 8px;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
}

html[data-layout="classic"] .ticket__remove:hover {
    background: rgba(255, 255, 255, .2);
    box-shadow: none;
}

/* the notices on the ticket: solid colours with white text, a shadow over the ticket (the old .ticket .notice .alert) */
html[data-layout="classic"] .ticket__notices .alert {
    padding: 10px 20px;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, .3);
    color: #ffffff;
    font-weight: 400;
}

html[data-layout="classic"] .ticket__notices .alert--error { background: #a00000; color: #ffffff; }
html[data-layout="classic"] .ticket__notices .alert--warning { background: #b85500; color: #ffffff; font-weight: 400; }
html[data-layout="classic"] .ticket__notices .alert--info { background: #00609b; color: #ffffff; }
html[data-layout="classic"] .ticket__notices .alert--success { background: #057f00; color: #ffffff; }

/* ---- small controls inside a component keep their own size (the general rule of the fields above is stronger than theirs) --------- */
html[data-layout="classic"] .qty-control .qty-input {
    min-height: 2.25rem;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 700;
}

html[data-layout="classic"] .stepper .stepper__input {
    min-height: 0;
    height: 2.25rem;
    margin: 0;
    padding: 0 var(--s-2);
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    background: var(--bg-subtle);
    color: var(--ink);
    font-size: 1rem;
    font-weight: 700;
}

html[data-layout="classic"] .stepper .stepper__input:disabled {
    background: transparent;
}

html[data-layout="classic"] .stepper {
    border-width: 1px;
    border-radius: 8px;
}

/* ---- the countdown of the reservation: the orange counter of the old client ------------------------------------------------------- */
html[data-layout="classic"] .counter,
html[data-layout="classic"] #Counter,
html[data-layout="classic"] #CounterSearch {
    border-radius: 8px;
    background: var(--counter-bg);
    color: #ffffff;
    letter-spacing: 4px;
}

/* ---- notices and cards ------------------------------------------------------------------------------------------------------------- */
html[data-layout="classic"] .notice {
    border-radius: 6px;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, .2);
}

html[data-layout="classic"] .card {
    border-radius: 12px;
    background: var(--bg-subtle);
}

/* the native parts of a dark field (the calendar of a date field, the scrollbar) take the dark colours */
html[data-layout="classic"] .field,
html[data-layout="classic"] input,
html[data-layout="classic"] select,
html[data-layout="classic"] textarea {
    color-scheme: dark;
}

html[data-layout="classic"] .plan__calendar-icon {
    color: var(--field-ink);
}

/* ---- the steps stand 5px apart like the old selects (the gap of the shared form would double the margin of a step) -------------- */
html[data-layout="classic"] .sv__form {
    gap: 0;
}

/* ---- time slots (booking modes 4 and 6): rows of the same dark list, the time at the left, the places at the right ------------- */
html[data-layout="classic"] .sv__body .slots {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 17rem;
    overflow-y: auto;
}

html[data-layout="classic"] .sv__body .slot {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-height: 2.5rem;
    padding: 5px 20px;
    border: 0;
    border-top: 1px solid #666666;
    border-radius: 0;
    background: var(--field-bg);
    color: #ffffff;
    font-size: 1.125rem;
    text-align: left;
}

html[data-layout="classic"] .sv__body .slot:first-child {
    border-top: 0;
}

html[data-layout="classic"] .sv__body .slot:hover:not(:disabled):not(.is-checked) {
    border-color: #666666;
    background: #003974;
}

html[data-layout="classic"] .sv__body .slot.is-checked {
    border-color: #666666;
    background: #444444;
    color: #ffffff;
}

html[data-layout="classic"] .sv__body .slot.is-full,
html[data-layout="classic"] .sv__body .slot:disabled {
    background: #444444;
    border-style: solid;
    border-color: #666666;
    color: #888888;
}

html[data-layout="classic"] .sv__body .slot__time {
    font-weight: 400;
}

html[data-layout="classic"] .sv__body .slot__avail {
    font-size: .875rem;
    font-weight: 400;
}

html[data-layout="classic"] .sv__body .slot__avail--green { color: #a5df41; }
html[data-layout="classic"] .sv__body .slot__avail--yellow { color: #f9d052; }
html[data-layout="classic"] .sv__body .slot__avail--red { color: #ff9b93; }
html[data-layout="classic"] .sv__body .slot__avail--gray { color: #aaaaaa; }

html[data-layout="classic"] .sv__body .slot.is-checked .slot__avail {
    color: inherit;
}

/* the categories that do not fit: readable on the dark list, the reasons in a light red */
html[data-layout="classic"] .sv__body .offers-off {
    border: 0;
    border-radius: 0;
}

html[data-layout="classic"] .sv__body .offer-off {
    padding: 8px 20px 8px 15px;
    border-left: 5px solid var(--category-color, #585858);
    background: var(--field-bg);
    color: #c1c1c1;
}

html[data-layout="classic"] .sv__body .offer-off + .offer-off {
    border-top-color: #666666;
}

html[data-layout="classic"] .sv__body .offer-off__name {
    color: #dddddd;
    font-size: 1.125rem;
    font-weight: 400;
}

html[data-layout="classic"] .sv__body .offer-off__facts li.is-warn {
    color: #ffb4ab;
    font-weight: 400;
}

/* ---- cards on the grey content: white, like the price summary of the old client ------------------------------------------------ */
html[data-layout="classic"] .summary,
html[data-layout="classic"] .product-card,
html[data-layout="classic"] .bcard,
html[data-layout="classic"] .cancel-terms__body {
    background: var(--bg-subtle);
}

/* ---- the fields of the payment provider: the wrapper of Adyen draws the frame, every field has the same height - the dark form fields
   of the old client must not reach into them (also not the read-only expiry date of a saved card) --------------------------------- */
html[data-layout="classic"] .pay-panel .adyen-checkout__input,
html[data-layout="classic"] .pay-panel .adyen-checkout__input:disabled,
html[data-layout="classic"] .pay-panel .adyen-checkout__input[readonly] {
    min-height: 0;
    height: calc(var(--control-h) - 2px);
    margin: 0;
    padding: 0 var(--s-3);
    border: 0;
    border-radius: var(--r-md);
    background-color: transparent;
    box-shadow: none;
    color: var(--ink);
    font-size: var(--fs-md);
    color-scheme: normal;
}

/* ---- confirmation page: the cards stand in the narrow column of the old client (nothing wider than the 400px card) ------------- */
html[data-layout="classic"] .success {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--s-3);
}

html[data-layout="classic"] .success-hero {
    flex-direction: column;
    padding: var(--s-4);
    text-align: center;
}

html[data-layout="classic"] #SuccessSection .illu {
    width: min(9rem, 50%);
}

html[data-layout="classic"] .code-card {
    flex-wrap: wrap;
    justify-content: center;
    padding: var(--s-4);
    text-align: center;
}

html[data-layout="classic"] .code-card__body {
    flex: 1 1 100%;
}

html[data-layout="classic"] .code-card__icon {
    display: none;
}

html[data-layout="classic"] .code-card__value {
    font-size: 1.75rem;
}

html[data-layout="classic"] .code-card__copy {
    flex: 1 1 100%;
}

html[data-layout="classic"] .success-hero,
html[data-layout="classic"] .code-card,
html[data-layout="classic"] .next-steps,
html[data-layout="classic"] .place {
    border-radius: 12px;
    box-shadow: none;
}

html[data-layout="classic"] .success-hero,
html[data-layout="classic"] .code-card {
    background: var(--bg-subtle);
}

/* ---- the design of Classic (Adobe XD, 2026-11): flat bar, grey title bar, beige reservation strip, a ticket with white body, white
   product cards with green buttons. Later than the rules above on purpose: it moves their values to the design. ------------------- */
:root[data-layout="classic"] {
    --bg-card: #ececec;
    --bg-subtle: #ffffff;
    --field-disabled-bg: #7b7b7b;
    --field-disabled-ink: #b6b6b6;
    --ticket-inset: #ffffff;
    --ticket-inset-ink: #333333;
    --ticket-rule: #e0e0e0;
    --timer-bg: #f6e8bf;
    --title-bar-bg: #dcdcdc;
    --classic-green: #2eae66;
    --classic-green-pressed: #26955a;
}

:root[data-layout="classic"][data-theme="dark"] {
    --timer-bg: #3a3014;
    --title-bar-bg: #333333;
    --ticket-inset: #2b2b2b;
    --ticket-inset-ink: #e6e6e6;
    --ticket-rule: #555555;
}

html[data-layout="classic"] #navigation .nav__lang {
    margin: 0 var(--s-4) 0 auto;
    color: var(--op-on-accent);
}

/* the language: small capitals with an arrow, a soft pill without a shadow */
html[data-layout="classic"] #languageSwitcher,
html[data-layout="classic"] #navigation .nav__lang #languageSwitcher {
    width: auto;
    min-width: 0;
    min-height: 2rem;
    max-width: none;
    padding: 0 28px 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23ffffff' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 11px center / 9px 6px;
    box-shadow: none;
    color: var(--op-on-accent);
    font-size: .625rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-align: right;
    text-align-last: right;
    field-sizing: content;
    -webkit-appearance: none;
    appearance: none;
}

html[data-layout="classic"] #languageSwitcher option {
    color: #333333;
    text-transform: none;
}

/* the head of a step: the reservation strip on top, below it the title in a grey bar (no title on the search) */
html[data-layout="classic"] .page-head {
    display: flex;
    flex-direction: column-reverse;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    min-height: 0;
    padding: 0;
    background: none;
    color: var(--ink);
}

html[data-layout="classic"] .page-head .banner {
    padding: 16px 20px;
    background: var(--title-bar-bg);
    color: var(--ink);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.25;
    text-align: center;
}

html[data-layout="classic"][data-page="search"] .page-head .banner {
    display: none;
}

html[data-layout="classic"] .page-head .status.is-running {
    align-items: stretch;
    justify-content: space-between;
    gap: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: var(--timer-bg);
    color: var(--ink);
}

html[data-layout="classic"] .page-head .status.is-running.is-ending {
    background: var(--danger-bg);
    color: var(--danger);
}

/* the text stays visible on a phone, too (the shared styles drop it in a narrow head) */
html[data-layout="classic"] .page-head .status__text {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    flex: 1 1 auto;
    align-self: center;
    padding: 8px 12px 8px 16px;
    font-size: .8125rem;
    font-weight: 400;
    line-height: 1.25;
    opacity: 1;
    white-space: normal;
}

html[data-layout="classic"] .page-head .counter,
html[data-layout="classic"] .page-head #Counter {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-width: 4.5rem;
    min-height: 2.25rem;
    padding: 0 10px;
    border-radius: 0;
    font-size: 1.0625rem;
    font-weight: 300;
    line-height: 1;
    letter-spacing: .1em;
}

/* the ticket: the colour of the center on top and at the bottom, a white middle part, a notch in the middle of the top edge */
html[data-layout="classic"] .ticket-container {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .18));
}

html[data-layout="classic"] .ticket {
    background: var(--op-accent);
    color: var(--op-on-accent);
    -webkit-mask: radial-gradient(circle 22px at 50% 0, #0000 97%, #000);
    mask: radial-gradient(circle 22px at 50% 0, #0000 97%, #000);
}

html[data-layout="classic"] .ticket__head {
    border-bottom: 0;
}

html[data-layout="classic"] .ticket__main {
    box-shadow: none;
}

html[data-layout="classic"] .ticket__fact dt {
    color: var(--ink-faint);
}

html[data-layout="classic"] .ticket__fact dd {
    color: var(--ticket-inset-ink);
}

html[data-layout="classic"] .ticket__chip {
    background: none;
    box-shadow: inset 0 0 0 1px var(--op-accent);
    color: var(--op-accent);
}

html[data-layout="classic"] .ticket__price {
    font-size: 1.375rem;
}

/* the extras: white cards with a shadow, green "add", the badges as small outlined pills */
html[data-layout="classic"] .product-card {
    border: 0;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}

html[data-layout="classic"] .product-card .btn-add {
    min-height: 2.25rem;
    padding: 0 16px;
    border-radius: 12px;
    font-size: .75rem;
    font-weight: 700;
}

html[data-layout="classic"] .pc-badges .badge {
    min-height: 0;
    padding: 1px 8px;
    border: 1px solid var(--classic-green);
    border-radius: 12px;
    background: var(--bg-subtle);
    color: var(--classic-green);
    font-size: .625rem;
    font-weight: 700;
}

html[data-layout="classic"] .pc-badges .badge-limited {
    border-color: #f08a24;
    color: #f08a24;
}

html[data-layout="classic"] .pc-price {
    font-size: 1.125rem;
    font-weight: 400;
}

/* to the payment, "add": green like the design */
html[data-layout="classic"] button.button-green,
html[data-layout="classic"] .btn--primary.button-green,
html[data-layout="classic"] input[type="button"].button-green,
html[data-layout="classic"] input[type="submit"].button-green {
    background: var(--classic-green);
    color: #ffffff;
}

html[data-layout="classic"] button.button-green:hover:not(:disabled),
html[data-layout="classic"] .btn--primary.button-green:hover:not(:disabled),
html[data-layout="classic"] input[type="button"].button-green:hover:not(:disabled),
html[data-layout="classic"] input[type="submit"].button-green:hover:not(:disabled) {
    background: var(--classic-green);
}

html[data-layout="classic"] button.button-green:active:not(:disabled) {
    background: var(--classic-green-pressed);
}

/* the confirmation: the green title of the design */
html[data-layout="classic"] .success-hero__title {
    color: var(--classic-green);
}

/* the steps of the search appear at once like the list of a select, nothing slides */
html[data-layout="classic"] .sv.is-animated .sv__panel,
html[data-layout="classic"] .sv.is-animated .sv__card.is-open .sv__panel,
html[data-layout="classic"] .sv.is-animated .sv__toggle > svg {
    transition: none;
}

/* Product badges extend 4px beyond the card's top and right edges. */
html[data-layout="classic"] .pc-badges {
    top: -4px;
    right: -4px;
    transform: none;
}

html[data-layout="classic"] .product-card:has(.pc-badges .badge) .pc-header {
    padding-right: 0;
}

/* the note of the operator (and the logo) belongs to the start page only */
html[data-layout="classic"]:not([data-page="search"]) .top-content {
    display: none;
}

/* dark: the boxes of the options are flat with a fine line, no glow and no blurred edge */
:root[data-layout="classic"][data-theme="dark"] .lm__option {
    border: 1px solid var(--options-line);
    box-shadow: none;
}

html[data-layout="classic"] .product-card {
    overflow: visible;
}

html[data-layout="classic"] .pc-thumb-wrap {
    border-radius: 14px 0 0 14px;
}

/* the confirmation stands in a 400px column on every window: the facts of a booking one below the other (the shared styles switch to
   one column by the width of the window, not of the column), nothing wider than its card */
html[data-layout="classic"] .bcard__facts {
    grid-template-columns: minmax(0, 1fr);
}

html[data-layout="classic"] .bsum,
html[data-layout="classic"] .bsum__list,
html[data-layout="classic"] .bcard,
html[data-layout="classic"] .bcard__head,
html[data-layout="classic"] .bcard__titles,
html[data-layout="classic"] .customer-card {
    min-width: 0;
}

html[data-layout="classic"] .bcard__when,
html[data-layout="classic"] .bcard__title,
html[data-layout="classic"] .bcard__value,
html[data-layout="classic"] .bcard__countdown {
    overflow-wrap: anywhere;
}

/* every card of the confirmation keeps its content the same distance from the edge */
html[data-layout="classic"] .success-hero,
html[data-layout="classic"] .code-card,
html[data-layout="classic"] .next-steps,
html[data-layout="classic"] .place,
html[data-layout="classic"] .bcard {
    padding-left: 20px;
    padding-right: 20px;
}

/* the cards of the confirmation stand inside the column with room around them */
html[data-layout="classic"] .success {
    padding: 20px 20px 30px;
}

/* the last button of a page has the room below it that the fields have at the sides */
html[data-layout="classic"] .page-nav,
html[data-layout="classic"] #buttonBar.page-nav {
    padding-bottom: var(--content-pad-y, 30px);
}
