/* =============================================================
   Roomservice -- Glassmorphism TV UI
   ES-constraints: CSS only, no JS required for layout
   Safe-area: 5% on all sides
   ============================================================= */

/* ---- Root container ---- */
#roomservice {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    box-sizing: border-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    padding: 2.5vh 4vw;
    overflow: hidden;
    color: #fff;
}

/* Inline-SVG-Icons im Roomservice-UI: 1em quadratisch wie ehemalige FA-Glyphen.
   Ohne diese Regel fallen SVGs auf ihre viewBox-Naturgroesse zurueck und fuellen den Container. */
#roomservice svg,
#rs-cart-overlay svg {
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    fill: currentColor;
}
#roomservice a {
    color: inherit;
    text-decoration: none;
}

/* =============================================================
   HEADER
   ============================================================= */
#rs-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    height: 8vh;
    min-height: 8vh;
    margin-bottom: 2vh;
    padding: 0 1vw;
}

/* Back button -- same style as video.css btnBack */
#rs-header .btnBack {
    font-size: 5.0em;
    color: #fff;
    text-decoration: none;
    padding: 0.3em 0.8em;
    border-radius: 8px;
    border: 2px solid transparent;
    -webkit-transition: border-color 0.15s, background 0.15s;
            transition: border-color 0.15s, background 0.15s;
}
#rs-header .btnBack.focused,
#rs-header .btnBack:focus {
    outline: none;
}

/* Cart button */
#rs-cart-btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    font-size: 4.5em;
    padding: 0.3em 0.9em;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.15);
    background: rgba(20,20,20,0.65);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    cursor: pointer;
    -webkit-transition: border-color 0.15s, background 0.15s, -webkit-transform 0.15s;
            transition: border-color 0.15s, background 0.15s, transform 0.15s;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}
#rs-cart-btn.focused,
#rs-cart-btn:focus {
    -webkit-transform: scale(1.04);
            transform: scale(1.04);
    outline: none;
}
/* Cart button when menu is unavailable: dimmed, not interactive */
#rs-cart-btn.rs-cart-disabled {
    opacity: 0.35;
    cursor: default;
}
#rs-cart-btn i,
#rs-cart-btn > svg {
    margin-right: 0.5em;
}
#rs-cart-count {
    font-size: 0.85em;
    font-weight: bold;
    min-width: 1.4em;
    text-align: center;
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 0.1em 0.45em;
    margin-right: 0.5em;
}
#rs-cart-sum {
    font-size: 0.85em;
    opacity: 0.9;
}

/* =============================================================
   CONTENT AREA
   ============================================================= */
#rs-content {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    overflow: hidden;
    position: relative;
}

/* =============================================================
   CARD GRID  (Menu + Category)
   ============================================================= */
.rs-grid {
    position: relative; /* macht .rs-grid zum offsetParent fuer Scroll-Berechnung */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    height: 100%;
    overflow-y: auto;
    padding-bottom: 2vh;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}
.rs-grid::-webkit-scrollbar { display: none; }

/* Card wrapper -- 4 columns */
.rs-card-wrap {
    width: calc(25% - 2vw);
    min-width: 16em;
    margin: 1vw;
    box-sizing: border-box;
    cursor: pointer;
    border-radius: 16px;
    border: 3px solid transparent;
    -webkit-transition: border-color 0.15s ease, -webkit-box-shadow 0.15s ease;
            transition: border-color 0.15s ease, box-shadow 0.15s ease;
    outline: none;
}

.rs-card-wrap.focused,
.rs-card-wrap:focus {
    -webkit-box-shadow: 0 0 0 4px rgba(255,255,255,0.25), 0 0 18px rgba(255,255,255,0.35);
            box-shadow: 0 0 0 4px rgba(255,255,255,0.25), 0 0 18px rgba(255,255,255,0.35);
    outline: none;
}

/* Card surface -- Glassmorphism */
.rs-card {
    border-radius: 12px;
    overflow: hidden;
    background: rgba(18,18,18,0.72);
    -webkit-backdrop-filter: blur(14px);
            backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.18);
    color: inherit;
    text-decoration: none;
}

/* Card image -- fixed 50% aspect ratio, top corners match .rs-card */
.rs-card-img {
    width: 100%;
    padding-top: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    overflow: hidden;
}

/* Category badge */
.rs-card-badge {
    position: absolute;
    top: 0.5em; right: 0.5em;
    font-size: 1.4em;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    width: 1.8em; height: 1.8em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

/* Card text area */
.rs-card-body {
    padding: 0.6em 0.8em 0.8em;
}
.rs-card-name {
    margin: 0 0 0.2em;
    font-size: 2.5em;
    line-height: 1.3em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rs-card-price {
    margin: 0;
    font-size: 2.5em;
    opacity: 0.75;
}

/* Quick-order button on card (grid view) */
.rs-card-order {
    display: block;
    text-align: center;
    padding: 0.45em;
    font-size: 2.5em;
    text-decoration: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    -webkit-transition: opacity 0.15s;
            transition: opacity 0.15s;
    color: inherit;
}
.rs-card-wrap.focused .rs-card-order {
    opacity: 0.65;
}

/* =============================================================
   ITEM DETAIL  (3 blocks: head, body (2-col), footer)
   ============================================================= */
#rs-detail {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

/* Head: Name + Description spanning full width */
.rs-detail-head {
    -ms-flex-negative: 0;
        flex-shrink: 0;
}
.rs-detail-name {
    margin: 0 0 0.3em;
    font-size: 2.8em;
    line-height: 1.2em;
}
.rs-detail-desc {
    margin: 0 0 1em;
    font-size: 1.9em;
    line-height: 1.35em;
    opacity: 0.85;
    white-space: pre-line;
}

/* Body: 2 columns (image+price left, options scroll right) */
.rs-detail-body {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    min-height: 0;
}

.rs-detail-left {
    width: 40%;
    -ms-flex-negative: 0;
        flex-shrink: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    padding-right: 3vw;
    box-sizing: border-box;
}

.rs-detail-img {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    min-height: 40vh;
    border-radius: 14px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(255,255,255,0.07);
}

.rs-detail-right {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    position: relative;
    min-height: 0;
}

.rs-detail-options {
    height: 100%;
    overflow-y: auto;
    padding-right: 0.5em;
    box-sizing: border-box;
}
.rs-detail-options::-webkit-scrollbar { display: none; }

.rs-scroll-fade {
    position: absolute;
    left: 0;
    right: 0.5em;
    bottom: 0;
    height: 4em;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0)), to(rgba(0,0,0,0.85)));
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.85) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.85) 100%);
    pointer-events: none;
}

/* =============================================================
   OPTIONS
   ============================================================= */
.rs-option-section {
    margin-bottom: 1.4em;
}
.rs-option-section.rs-option-standalone {
    margin-bottom: 0.6em;
}
.rs-option-label {
    font-size: 2.5em;
    opacity: 0.6;
    margin-bottom: 0.5em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.rs-option-label .rs-required {
    color: #ff6b6b;
    margin-left: 0.3em;
    font-size: 0.85em;
}
.rs-option-choices {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

/* Verschachtelte Sub-Gruppen (z.B. Getraenke > Wasser > Still) */
.rs-subgroup-toggle .rs-subgroup-caret {
    margin-left: 0.5em;
    opacity: 0.6;
    -webkit-transition: transform 0.15s;
            transition: transform 0.15s;
    display: inline-block;
}
.rs-subgroup-toggle.open .rs-subgroup-caret {
    -webkit-transform: rotate(180deg);
            transform: rotate(180deg);
}
/* Wrapper: Toggle + Children inline nebeneinander (Children als Flow-Nachbarn) */
.rs-subgroup-inline {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}
.rs-subgroup-children {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-left: 0.4em;
}

/* Single choice pill */
.rs-choice {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 0.4em 0.8em;
    margin: 0.3em;
    border-radius: 20px;
    border: 2px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.06);
    cursor: pointer;
    font-size: 2.5em;
    -webkit-transition: border-color 0.12s, background 0.12s, -webkit-transform 0.12s;
            transition: border-color 0.12s, background 0.12s, transform 0.12s;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}
/* OR/AND selected: background-color + color kommen zentral aus
   mixins/color.css (Imperator-Accent-Farbe). Hier nur der weisse Rahmen. */
.rs-choice.selected-or,
.rs-choice.selected-and {
    border-color: #ffffff;
}
/* Fokus — klarer weisser Outline-Ring + leichter Zoom. Kein Hintergrund-Fill,
   damit Fokus auf ausgewaehlten (roten) und unausgewaehlten Buttons gleich
   aussieht und sich klar von der Auswahl-Farbe unterscheidet. */
.rs-choice.focused,
.rs-qty-btn.focused {
    -webkit-transform: scale(1.06);
            transform: scale(1.06);
    -webkit-box-shadow: 0 0 0 3px #ffffff, 0 0 12px rgba(255,255,255,0.45);
            box-shadow: 0 0 0 3px #ffffff, 0 0 12px rgba(255,255,255,0.45);
    outline: none;
}
/* primaryColorScheme.focused wuerde sonst auf nicht-ausgewaehlten Choices den
   Hintergrund rot einfaerben — dann waere Fokus = Auswahl. Wir lassen den
   Fokus-Indikator ausschliesslich ueber den Outline-Ring laufen. */
.rs-choice.primaryColorScheme.focused:not(.selected-or):not(.selected-and) {
    background-color: rgba(255,255,255,0.06);
}
.rs-choice-price {
    font-size: 0.85em;
    opacity: 0.7;
}

/* Qty stepper (for AND choices) */
.rs-qty-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-left: 0.4em;
    font-size: 0.85em;
}
.rs-qty-wrap .rs-qty-btn,
.rs-qty-wrap .rs-qty-val {
    margin-right: 0.3em;
}
.rs-qty-btn {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 2.2em; height: 2.2em;
    border-radius: 50%;
    color: #fff;
    font-size: 1em;
    cursor: pointer;
    -webkit-transition: background 0.12s;
            transition: background 0.12s;
}
.rs-qty-val {
    min-width: 2.0em;
    text-align: center;
    font-size: 1em;
}

/* =============================================================
   STICKY FOOTER: ITEM QTY + ADD TO CART (+ live total)
   ============================================================= */
.rs-detail-footer {
    -ms-flex-negative: 0;
        flex-shrink: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-top: 0.5em;
    padding-top: 1em;
    border-top: 1px solid rgba(255,255,255,0.12);
    background: rgba(0,0,0,0.25);
}

.rs-add-total {
    margin-left: 1em;
    font-size: 1.1em;
    font-weight: 600;
    opacity: 0.9;
}

.rs-item-qty {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    font-size: 2.5em;
    background: rgba(255,255,255,0.07);
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 30px;
    padding: 0.2em 0.7em;
    margin-right: 1.5em;
}
.rs-item-qty .rs-item-qty-btn,
.rs-item-qty .rs-item-qty-val {
    margin-right: 0.3em;
}
.rs-item-qty-btn {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 2.1em; height: 2.1em;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1em;
    -webkit-transition: background 0.12s, color 0.12s;
            transition: background 0.12s, color 0.12s;
}
.rs-item-qty-btn.focused { outline: none; }
.rs-item-qty-val {
    min-width: 1.4em;
    text-align: center;
    font-size: 1em;
}

.rs-add-btn {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    padding: 0.5em 1em;
    font-size: 2.5em;
    border-radius: 30px;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    color: #fff;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    display: block;
    -webkit-transition: background 0.15s, border-color 0.15s, -webkit-transform 0.15s;
            transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.rs-add-btn.focused {
    -webkit-transform: scale(1.02);
            transform: scale(1.02);
    outline: none;
}
.rs-add-btn.disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

/* =============================================================
   CART OVERLAY
   ============================================================= */
#rs-cart-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.55);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    z-index: 500;
    opacity: 0;
    pointer-events: none;
    -webkit-transition: opacity 0.2s ease;
            transition: opacity 0.2s ease;
}
#rs-cart-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

#rs-cart-inner {
    width: 80vw;
    max-height: 85vh;
    background: rgba(18,18,18,0.92);
    -webkit-backdrop-filter: blur(20px);
            backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    overflow: hidden;
    padding: 2em;
    box-sizing: border-box;
}

#rs-cart-title {
    font-size: 4em;
    margin-bottom: 0.7em;
    padding-bottom: 0.5em;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    -ms-flex-negative: 0;
        flex-shrink: 0;
}
#rs-cart-title i,
#rs-cart-title > svg {
    margin-right: 0.4em;
}

#rs-cart-list {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    overflow-y: auto;
    margin-bottom: 1em;
}
#rs-cart-list::-webkit-scrollbar { display: none; }

.rs-cart-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 0.6em 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 3em;
}
.rs-cart-row:last-child { border-bottom: none; }
.rs-cart-row-name { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; margin-right: 0.8em; }
.rs-cart-row-price {
    min-width: 6em;
    text-align: right;
}
.rs-cart-row-options {
    font-size: 0.8em;
    opacity: 0.6;
    padding-left: 1em;
    display: block;
    width: 100%;
}

/* Cart qty control (- Nx +) */
.rs-cart-qty-ctrl {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-right: 0.8em;
}
.rs-cart-row-qty {
    opacity: 0.85;
    min-width: 3.5em;
    text-align: center;
    font-size: 0.95em;
}
.rs-cart-qty-btn {
    cursor: pointer;
    padding: 0.15em 0.5em;
    border-radius: 4px;
    font-size: 1.3em;
    -webkit-transition: background 0.12s, color 0.12s;
            transition: background 0.12s;
}
.rs-cart-qty-btn.focused { outline: none; }

/* Cart remove button */
.rs-cart-row-remove {
    cursor: pointer;
    margin-left: 0.6em;
    padding: 0.15em 0.5em;
    border-radius: 4px;
    opacity: 0.55;
    font-size: 1.35em;
    -webkit-transition: background 0.12s, opacity 0.12s;
            transition: background 0.12s, opacity 0.12s;
}
.rs-cart-row-remove.focused { background: rgba(220,60,60,0.35); opacity: 1; outline: none; }

.rs-cart-subtotal {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    font-size: 3.5em;
    padding: 0.6em 0;
    border-top: 1px solid rgba(255,255,255,0.15);
    margin-top: 0.5em;
    -ms-flex-negative: 0;
        flex-shrink: 0;
}

.rs-cart-empty {
    text-align: center;
    font-size: 2.2em;
    opacity: 0.5;
    padding: 2em 0;
}

/* Cart action buttons */
#rs-cart-actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-top: 1em;
    -ms-flex-negative: 0;
        flex-shrink: 0;
}

#rs-cart-close-btn {
    margin-right: 1.2em;
}

.rs-cart-action-btn {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    padding: 0.5em 1em;
    font-size: 3.0em;
    border-radius: 30px;
    border: 2px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.07);
    color: #fff;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    -webkit-transition: background 0.15s, border-color 0.15s, -webkit-transform 0.12s;
            transition: background 0.15s, border-color 0.15s, transform 0.12s;
}
.rs-cart-action-btn.focused {
    -webkit-transform: scale(1.03);
            transform: scale(1.03);
    -webkit-box-shadow: 0 0 0 3px rgba(255,255,255,0.3), 0 0 16px rgba(255,255,255,0.2);
            box-shadow: 0 0 0 3px rgba(255,255,255,0.3), 0 0 16px rgba(255,255,255,0.2);
    outline: none;
}
.rs-cart-action-btn.disabled {
    opacity: 0.35;
    pointer-events: none;
}

/* =============================================================
   TIME SLOT  (AllowTimeSelect)
   ============================================================= */
.rs-cart-timeslot-row {
    padding: 0.6em 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 0.5em;
    font-size: 3.0em;
}
.rs-timeslot-header {
    opacity: 0.7;
    margin-bottom: 0.35em;
    font-size: 1.5em;
}
.rs-timeslot-body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
/* -- Checkbox toggle ------------------------------------------------- */
.rs-time-toggle {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -ms-flex-negative: 0;
        flex-shrink: 0;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    margin-right: 1em;
    padding: 0.2em 0.5em;
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    white-space: nowrap;
}
.rs-time-checkbox {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 1em;
    height: 1em;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 4px;
    margin-right: 0.5em;
    -webkit-transition: background 0.15s, border-color 0.15s;
            transition: background 0.15s, border-color 0.15s;
}
.rs-time-check-icon {
    font-size: 0.7em;
    opacity: 1;
    -webkit-transition: opacity 0.15s;
            transition: opacity 0.15s;
}
.rs-time-check-icon.rs-time-unchecked {
    opacity: 0;
}
.rs-time-now-label {
    font-size: 0.85em;
}
/* -- Time digits ----------------------------------------------------- */
.rs-time-digits {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
.rs-time-col {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    min-width: 1.6em;
    padding: 0.15em 0.3em;
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    margin: 0 0.1em;
    cursor: pointer;
}
.rs-time-col.focused {
    -webkit-box-shadow: 0 0 0 2px rgba(255,255,255,0.15), 0 0 12px rgba(255,255,255,0.1);
            box-shadow: 0 0 0 2px rgba(255,255,255,0.15), 0 0 12px rgba(255,255,255,0.1);
}
.rs-time-val {
    font-size: 1em;
    font-weight: 600;
    line-height: 1.2;
}
.rs-time-arrow {
    font-size: 0.6em;
    opacity: 0.2;
    padding: 0.1em;
    -webkit-transition: opacity 0.12s;
            transition: opacity 0.12s;
    cursor: pointer;
}
.rs-time-col.focused .rs-time-arrow {
    opacity: 0.7;
}
.rs-time-sep {
    font-size: 1.2em;
    font-weight: 700;
    margin: 0 0.15em;
    opacity: 0.6;
}
.rs-time-digits.rs-time-disabled {
    opacity: 0.25;
    pointer-events: none;
}
.rs-time-digits.rs-time-disabled .rs-time-col {
    border-color: rgba(255,255,255,0.05);
}

/* =============================================================
   UNAVAILABLE OVERLAY
   ============================================================= */
#rs-unavailable {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 50;
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}
/* Blurred copy of the background image -- extends beyond edges to hide blur fringe */
.rs-unavailable-blur {
    position: absolute;
    top: -30px; left: -30px; right: -30px; bottom: -30px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-filter: blur(18px);
            filter: blur(18px);
}
/* Dark tint over the blurred layer */
.rs-unavailable-dim {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.45);
}
/* Text card on top */
.rs-unavailable-text {
    position: relative;
    z-index: 1;
    font-size: 3em;
    font-weight: 600;
    text-align: center;
    padding: 0.6em 1.2em;
    background: rgba(18,18,18,0.75);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    max-width: 70%;
    line-height: 1.4;
    -webkit-box-shadow: 0 4px 32px rgba(0,0,0,0.6);
            box-shadow: 0 4px 32px rgba(0,0,0,0.6);
}

/* =============================================================
   ORDER CONFIRMATION
   ============================================================= */
#rs-confirm {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    height: 100%;
    text-align: center;
}
#rs-confirm i,
#rs-confirm > svg,
#rs-confirm-title,
#rs-confirm-sub {
    margin-bottom: 1em;
}
#rs-confirm i,
#rs-confirm > svg {
    font-size: 6em;
    opacity: 0.85;
}
#rs-confirm-title {
    font-size: 4em;
}
#rs-confirm-sub {
    font-size: 2.2em;
    opacity: 0.65;
}

/* =============================================================
   SECTION LABELS  (flat menu view: category headers)
   ============================================================= */
.rs-section-label {
    width: 100%;
    -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
    display: block;
    padding: 1em 1vw 0.6em;
    margin-top: 1em;
    border-bottom: 1px solid rgba(255,255,255,0.18);
    box-sizing: border-box;
}
.rs-section-label:first-child {
    margin-top: 0;
}
.rs-section-name {
    display: block;
    font-size: 4.0em;
    opacity: 0.9;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 600;
}
.rs-section-desc {
    display: block;
    font-size: 2.5em;
    opacity: 0.6;
    margin-top: 0.3em;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

/* =============================================================
   ROOM VERIFY + TIME PICKER OVERLAYS
   Basis-Stile: assets/css/room_verify.css (.room-verify, .rv-*).
   Hier nur roomservice-spezifische Deltas.
   ============================================================= */

/* Time-Picker liegt unter dem Room-Verify-Overlay (z-index 550 vs. 600)
   damit er vom Room-Verify ueberdeckt werden kann, wenn beide offen sind. */
#rs-time-picker {
    z-index: 550;
}

/* Cart-Action-Buttons innerhalb der Room-Verify-/Time-Picker-Actions:
   etwas breiter und mit festem Whitespace fuer einheitliches Rendering. */
.room-verify-actions .rs-cart-action-btn {
    margin: 0 0.5em;
    min-width: 12em;
    white-space: nowrap;
    padding-left: 1.5em;
    padding-right: 1.5em;
}
