
/* =========================================================
   Raumedia Restaurant Options – UI 0.2.3
   Schriftfamilie wird vom Theme/Divi geerbt.
   ========================================================= */

.rro-wrap,
.rro-variation-group,
.rro-qty-stepper,
.single_add_to_cart_button {
    font-family: inherit;
}

.rro-wrap {
    margin: 1rem 0 0;
    color: var(--rro-text);
    font-size: var(--rro-font-size);
}

/* ----- native WooCommerce-Doppelanzeigen reduzieren ----- */

.rro-original-variation-row {
    display: none !important;
}

/* Der separate WooCommerce-Variationspreis bleibt technisch vorhanden,
   ist aber visuell redundant, weil jede Radio-Option ihren Preis zeigt
   und der Gesamtpreis am Button erscheint. */
form.variations_form .woocommerce-variation-price {
    display: none !important;
}

/* ----- Varianten ----- */

.rro-variation-radio-row td {
    padding: 0 !important;
}

.rro-variation-group {
    border: 0;
    padding: 0;
    margin: 0 0 1.1rem;
    color: var(--rro-text);
}

.rro-variation-legend,
.rro-group legend {
    display: block;
    width: 100%;
    margin: 0;
    padding: .85rem 1rem;
    background: var(--rro-surface-alt);
    color: var(--rro-text);
    font-size: 1.05em;
    font-weight: 700;
    border-radius: var(--rro-radius) var(--rro-radius) 0 0;
}

.rro-variation-options {
    display: block;
    background: var(--rro-surface);
}

.rro-variation-option,
.rro-option {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: var(--rro-space-y) 1rem;
    margin: 0;
    border-bottom: 1px solid var(--rro-border);
    background: var(--rro-surface);
    color: var(--rro-text);
    cursor: pointer;
    transition: background-color .15s ease;
}

.rro-variation-option:hover,
.rro-option:hover {
    background: color-mix(in srgb, var(--rro-surface-alt) 65%, var(--rro-surface));
}

.rro-variation-option:last-child,
.rro-option:last-child {
    border-bottom: 0;
}

.rro-variation-option input[type="radio"],
.rro-option input[type="checkbox"] {
    width: 21px;
    height: 21px;
    min-width: 21px;
    margin: 0;
    accent-color: var(--rro-accent);
    cursor: pointer;
}

.rro-variation-label,
.rro-option-label {
    flex: 1;
    color: var(--rro-text);
    font-weight: 600;
}

.rro-variation-price,
.rro-extra-price {
    margin-left: auto;
    white-space: nowrap;
    color: var(--rro-text);
    font-weight: 700;
}

.rro-variation-option:has(input:checked) {
    background: color-mix(in srgb, var(--rro-accent) 7%, var(--rro-surface));
}

.rro-variation-option.rro-unavailable {
    opacity: .4;
}

.rro-variation-option.rro-unavailable input {
    pointer-events: none;
}

/* ----- Extras ----- */

.rro-group {
    border: 0;
    padding: 0;
    margin: 0 0 1.1rem;
    background: var(--rro-surface);
    border-radius: var(--rro-radius);
    overflow: hidden;
}

.rro-extra-price {
    color: var(--rro-muted);
}

/* ----- separate Gesamtzeile ausblenden:
   der relevante Gesamtpreis steht direkt am Bestellbutton ----- */

.rro-total {
    display: none !important;
}

/* ----- Mengen-Stepper ----- */

.rro-native-quantity {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}

.rro-qty-stepper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 52px;
    padding: .25rem .35rem;
    border: 1px solid var(--rro-border);
    border-radius: 999px;
    background: var(--rro-surface);
    color: var(--rro-text);
    vertical-align: middle;
}

.rro-qty-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--rro-surface-alt);
    color: var(--rro-text);
    font: inherit;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color .15s ease, transform .15s ease;
}

.rro-qty-btn:hover {
    background: color-mix(in srgb, var(--rro-accent) 12%, var(--rro-surface-alt));
}

.rro-qty-btn:active {
    transform: scale(.96);
}

.rro-qty-value {
    min-width: 2rem;
    text-align: center;
    color: var(--rro-text);
    font-weight: 700;
}

/* ----- Add to cart ----- */

form.cart .single_add_to_cart_button {
    min-height: 52px;
    padding: .7rem 1.35rem !important;
    border: 0 !important;
    border-radius: var(--rro-radius) !important;
    background: var(--rro-button-bg) !important;
    color: var(--rro-button-text) !important;
    font-family: inherit !important;
    font-size: 1em !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    box-shadow: none !important;
    white-space: nowrap;
}

form.cart .single_add_to_cart_button:hover {
    filter: brightness(.96);
}

.single_add_to_cart_button .rro-cart-button-label,
.single_add_to_cart_button .rro-cart-button-price {
    display: inline-block;
    color: inherit;
}

.single_add_to_cart_button .rro-cart-button-price::before {
    content: " ";
    margin: 0 .35em;
}

/* WooCommerce legt Menge und Button meist nebeneinander.
   Wir lassen diese native Anordnung bestehen. */
form.cart .rro-qty-stepper {
    margin-right: .45rem;
}

/* ----- Mobil ----- */

@media (max-width: 767px) {
    .rro-variation-legend,
    .rro-group legend {
        padding-left: .85rem;
        padding-right: .85rem;
    }

    .rro-variation-option,
    .rro-option {
        padding-left: .85rem;
        padding-right: .85rem;
    }

    .rro-qty-stepper {
        min-height: 50px;
    }

    form.cart .single_add_to_cart_button {
        min-height: 50px;
    }
}


/* =========================================================
   UI-Feinschliff 0.2.4
   ========================================================= */

/* Etwas kompaktere vertikale Rhythmik */
.rro-variation-group,
.rro-group {
    margin-bottom: .75rem;
}

.rro-variation-option,
.rro-option {
    padding-top: calc(var(--rro-space-y) * .9);
    padding-bottom: calc(var(--rro-space-y) * .9);
}

/* Aktive Variante dezent mit Akzentfarbe hervorheben */
.rro-variation-option:has(input:checked) {
    background:
        color-mix(in srgb, var(--rro-accent) 10%, var(--rro-surface)) !important;
}

/* Radio/Checkbox konsequent an Akzentfarbe koppeln */
.rro-variation-option input[type="radio"],
.rro-option input[type="checkbox"] {
    accent-color: var(--rro-accent) !important;
}

/* Mengenauswahl etwas kräftiger */
.rro-qty-stepper {
    min-height: 54px;
    padding: .25rem .4rem;
}

.rro-qty-btn {
    width: 42px;
    height: 42px;
}

/* Stepper und Bestellbutton optisch als gemeinsame Bestellleiste */
form.cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem;
}

form.cart .rro-wrap,
form.cart .variations,
form.cart .single_variation_wrap {
    flex-basis: 100%;
    width: 100%;
}

/* Der Button soll klar die Hauptaktion sein */
form.cart .single_add_to_cart_button {
    min-height: 54px;
    min-width: 260px;
    padding-left: 1.6rem !important;
    padding-right: 1.6rem !important;
    justify-content: center;
}

.single_add_to_cart_button .rro-cart-button-label {
    font-weight: 700;
}

.single_add_to_cart_button .rro-cart-button-price {
    font-weight: 800;
    margin-left: .6rem;
}

.single_add_to_cart_button .rro-cart-button-price::before {
    content: "";
    margin: 0;
}

/* Preise der Varianten und Extras sauber rechts ausrichten */
.rro-variation-price,
.rro-extra-price {
    min-width: 82px;
    text-align: right;
}

/* Dezente Abschnittstrennung ohne unnötig viel Weißraum */
.rro-variation-group + .rro-group,
.rro-group + .rro-group {
    margin-top: .75rem;
}

/* Mobil: Bestellbereich volle Breite */
@media (max-width: 767px) {
    form.cart {
        gap: .55rem;
    }

    .rro-qty-stepper {
        flex: 0 0 auto;
    }

    form.cart .single_add_to_cart_button {
        flex: 1 1 210px;
        min-width: 0;
    }

    .rro-variation-price,
    .rro-extra-price {
        min-width: 72px;
    }
}


/* =========================================================
   Produkt-Modal 0.3.0
   Trigger-Klasse im Divi-Linkmodul: rro-product-modal
   ========================================================= */

.rro-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0,0,0,var(--rro-modal-overlay));
}

.rro-modal-overlay.is-open {
    display: flex;
}

html.rro-modal-open,
body.rro-modal-open {
    overflow: hidden !important;
}

.rro-modal-shell {
    position: relative;
    width: min(var(--rro-modal-width), calc(100vw - 48px));
    max-height: var(--rro-modal-max-vh);
    overflow: hidden;
    background: var(--rro-surface);
    border-radius: var(--rro-modal-radius);
    box-shadow: 0 24px 70px rgba(0,0,0,.26);
}

.rro-modal-frame {
    display: block;
    width: 100%;
    height: min(520px, var(--rro-modal-max-vh));
    max-height: var(--rro-modal-max-vh);
    border: 0;
    background: var(--rro-surface);
    opacity: 0;
    transition: opacity .15s ease;
}

.rro-modal-frame.is-ready {
    opacity: 1;
}

.rro-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 4;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: var(--rro-text);
    font: inherit;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

.rro-modal-loader {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    background: var(--rro-surface);
    color: var(--rro-muted);
}

/* Die echte Produktseite bleibt außerhalb des Modals unverändert.
   Nur wenn sie im iframe läuft, entfernen wir das Seiten-Chrom. */
html.rro-iframe-html,
html.rro-iframe-html body {
    margin-top: 0 !important;
}

body.rro-iframe-product #wpadminbar,
body.rro-iframe-product header,
body.rro-iframe-product footer,
body.rro-iframe-product .et-l--header,
body.rro-iframe-product .et-l--footer {
    display: none !important;
}

body.rro-iframe-product #page-container,
body.rro-iframe-product #et-main-area,
body.rro-iframe-product #main-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Falls Divi/WordPress eingeloggt noch einen Adminbar-Offset setzt */
body.rro-iframe-product.admin-bar {
    margin-top: 0 !important;
}

@media (max-width: 767px) {
    .rro-modal-overlay {
        padding: 10px;
    }

    .rro-modal-shell {
        width: calc(100vw - 20px);
        max-height: 96vh;
        border-radius: calc(var(--rro-modal-radius) * .75);
    }

    .rro-modal-frame {
        max-height: 96vh;
    }

    .rro-modal-close {
        top: 8px;
        right: 8px;
    }
}


/* =========================================================
   Modal Loader Fix 0.3.1
   Das hidden-Attribut muss unsere display:flex-Regel überstimmen.
   ========================================================= */
.rro-modal-loader[hidden] {
    display: none !important;
}


/* =========================================================
   Stabilitätsstand 0.3.6
   Keine DOM-Verschiebung, kein Sticky-Experiment.
   Nur gewünschte Typografie-Korrektur der Extras.
   ========================================================= */

.rro-option-label {
    font-weight: 400 !important;
}

.rro-extra-price {
    font-weight: 400 !important;
}

.rro-group legend {
    font-weight: 700 !important;
}


/* =========================================================
   0.3.8 – Sticky Purchase Bar
   NUR Stepper + Hinzufügen-Button.
   ========================================================= */

body.rro-iframe-product {
    padding-bottom: 88px !important;
}

body.rro-iframe-product .rro-sticky-purchase-bar {
    position: fixed !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: 0 !important;
    z-index: 9999 !important;

    display: flex !important;
    align-items: center !important;
    gap: .65rem !important;

    width: min(720px, calc(100vw - 48px)) !important;
    box-sizing: border-box !important;
    padding: 12px 0 !important;
    margin: 0 !important;

    background: var(--rro-surface) !important;
    border-top: 1px solid var(--rro-border) !important;
    box-shadow: 0 -10px 24px rgba(0,0,0,.06) !important;
}

body.rro-iframe-product .rro-sticky-purchase-bar .rro-qty-stepper {
    flex: 0 0 auto !important;
    margin: 0 !important;
}

body.rro-iframe-product .rro-sticky-purchase-bar .single_add_to_cart_button {
    flex: 1 1 auto !important;
    min-width: 220px !important;
    max-width: 420px !important;
    margin: 0 !important;
}

/* Extras bleiben normal im Dokumentfluss. */
body.rro-iframe-product .rro-wrap {
    position: static !important;
}

@media (max-width: 767px) {
    body.rro-iframe-product {
        padding-bottom: 82px !important;
    }

    body.rro-iframe-product .rro-sticky-purchase-bar {
        width: calc(100vw - 24px) !important;
        gap: .5rem !important;
        padding: 10px 0 !important;
    }

    body.rro-iframe-product .rro-sticky-purchase-bar .single_add_to_cart_button {
        min-width: 0 !important;
        max-width: none !important;
    }
}


/* Auswahlgruppen 0.4.0 */
.rro-group-hint{padding:.5rem 1rem;color:var(--rro-muted);font-size:.9em;background:var(--rro-surface);border-bottom:1px solid var(--rro-border)}
.rro-group-error{display:none;padding:.55rem 1rem;color:#b42318;font-size:.9em;background:#fff5f4;border-top:1px solid #ffd5d2}
.rro-group-invalid .rro-group-error:not(:empty){display:block}.rro-group-invalid{outline:2px solid rgba(180,35,24,.18);outline-offset:-2px}
.rro-group.rro-max-reached .rro-option:has(input:disabled){opacity:.45;cursor:not-allowed}.rro-group.rro-max-reached .rro-option input:disabled{cursor:not-allowed}
.rro-group-radio .rro-option input[type=radio]{accent-color:var(--rro-accent)!important}

/* =========================================================
   0.5.7 – Restaurant consistency fixes
   ========================================================= */
/* Produktpreis im Detail/Modal immer neutral und einheitlich. */
body.rro-iframe-product .summary .price,
body.rro-iframe-product .summary .price .amount,
body.rro-iframe-product .summary .price .woocommerce-Price-amount,
body.rro-iframe-product .summary .price .woocommerce-Price-currencySymbol {
    color: var(--rro-text) !important;
    font-size: inherit !important;
}

/* Beschreibung direkt unter Titel/Preis sichtbar halten. */
body.rro-iframe-product .woocommerce-product-details__short-description {
    display: block !important;
    color: var(--rro-muted) !important;
    margin: .35rem 0 1rem !important;
}

/* 0.7.0: synthetic quantity fallback for simple products without native qty. */
.rro-generated-quantity {
    position:absolute !important;
    width:1px !important;
    height:1px !important;
    overflow:hidden !important;
    clip:rect(0 0 0 0) !important;
}


/* 0.7.1 – modal fallback purchase bar for simple products without form.cart */
.rro-simple-purchase-bar[hidden]{display:none!important}
.rro-simple-purchase-bar{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    z-index:5;
    display:flex;
    align-items:center;
    gap:12px;
    padding:12px 16px;
    background:#fff;
    border-top:1px solid var(--rro-border);
    box-shadow:0 -8px 20px rgba(0,0,0,.05);
}
.rro-simple-stepper{
    display:flex;
    align-items:center;
    gap:10px;
    padding:4px;
    border:1px solid var(--rro-border);
    border-radius:999px;
}
.rro-simple-minus,.rro-simple-plus{
    width:40px;
    height:40px;
    border:0;
    border-radius:50%;
    background:var(--rro-surface-alt);
    font-size:22px;
    cursor:pointer;
}
.rro-simple-qty{
    min-width:24px;
    text-align:center;
    font-weight:700;
}
.rro-simple-add{
    flex:1;
    min-height:48px;
    border:0;
    border-radius:var(--rro-radius);
    background:var(--rro-button-bg);
    color:var(--rro-button-text);
    font-weight:700;
    cursor:pointer;
}

/* =========================================================
   0.11.0 – Restaurant discounts (product modal/detail)
   ========================================================= */
.rro-discount-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:24px;
    padding:3px 9px;
    border-radius:999px;
    background:#c62828;
    color:#fff !important;
    font-size:12px;
    line-height:1;
    font-weight:700;
    letter-spacing:.01em;
    white-space:nowrap;
}
.rro-discount-badge--single{
    margin:0 0 .65rem;
}
.rro-discount-price{
    display:inline-flex;
    align-items:baseline;
    flex-wrap:wrap;
    gap:8px;
}
.rro-discount-original{
    opacity:.5;
    font-weight:500;
}
.rro-discount-current,
.rro-discount-current .amount,
.rro-discount-current .woocommerce-Price-amount,
.rro-discount-current .woocommerce-Price-currencySymbol,
body.rro-iframe-product .summary .price .rro-discount-current,
body.rro-iframe-product .summary .price .rro-discount-current .amount,
body.rro-iframe-product .summary .price .rro-discount-current .woocommerce-Price-amount,
body.rro-iframe-product .summary .price .rro-discount-current .woocommerce-Price-currencySymbol{
    color:#c62828 !important;
    font-weight:700 !important;
    text-decoration:none !important;
}


/* =========================================================
   0.13.2 – Mobile/Checkout UI hardening
   ========================================================= */
.rro-modal-overlay,
.rro-modal-shell,
.rro-modal-frame,
.rro-simple-purchase-bar,
.rro-cart-success-toast {
    box-sizing: border-box;
    max-width: 100%;
}
.rro-modal-overlay {
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
}
.rro-modal-shell {
    max-width: calc(100vw - 48px);
}
html.rro-iframe-html,
body.rro-iframe-product {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
}
body.rro-iframe-product #page-container,
body.rro-iframe-product #et-main-area,
body.rro-iframe-product #main-content,
body.rro-iframe-product .container,
body.rro-iframe-product .et_pb_row,
body.rro-iframe-product .woocommerce,
body.rro-iframe-product .wp-block-woocommerce-cart,
body.rro-iframe-product .wp-block-woocommerce-checkout,
body.rro-iframe-product .wc-block-cart,
body.rro-iframe-product .wc-block-checkout,
body.rro-iframe-product .wc-block-components-sidebar-layout,
body.rro-iframe-product .wc-block-components-main,
body.rro-iframe-product .wc-block-components-sidebar {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

body.rro-iframe-product .rro-native-cart-success-hidden,
body.rro-iframe-product .woocommerce-message.rro-native-cart-success-hidden,
body.rro-iframe-product .wc-block-components-notice-banner.is-success.rro-native-cart-success-hidden {
    display: none !important;
}
.rro-cart-success-toast[hidden] { display:none !important; }
.rro-cart-success-toast {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: calc(100% - 84px);
    padding: 8px 11px;
    border: 1px solid rgba(35, 130, 75, .20);
    border-radius: 999px;
    background: rgba(255,255,255,.96);
    color: #245c3b;
    box-shadow: 0 3px 14px rgba(0,0,0,.08);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .18s ease, transform .18s ease;
    pointer-events: none;
}
.rro-cart-success-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.rro-empty-product-image {
    display: none !important;
}
.wc-block-components-order-summary-item.rro-no-product-image {
    grid-template-columns: minmax(0,1fr) auto !important;
}
.wc-block-components-order-summary-item.rro-no-product-image .wc-block-components-order-summary-item__description {
    grid-column: 1 !important;
    min-width: 0 !important;
}
.wc-block-components-order-summary-item.rro-no-product-image .wc-block-components-order-summary-item__total-price {
    grid-column: 2 !important;
}
.wc-block-cart-items__row.rro-no-product-image .wc-block-cart-item__product,
.wc-block-components-order-summary-item.rro-no-product-image .wc-block-components-order-summary-item__description {
    overflow-wrap: anywhere;
}

@media (max-width: 767px) {
    .rro-modal-overlay { padding: 10px; }
    .rro-modal-shell {
        width: calc(100vw - 20px);
        max-width: calc(100vw - 20px);
        min-width: 0;
    }
    .rro-modal-frame { min-width: 0; }

    .wp-block-woocommerce-cart,
    .wp-block-woocommerce-checkout,
    .wc-block-cart,
    .wc-block-checkout,
    .wc-block-components-sidebar-layout,
    .wc-block-components-main,
    .wc-block-components-sidebar,
    .wc-block-components-drawer,
    .wc-block-components-drawer__content {
        box-sizing: border-box !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    /* On phones the discount badges in navigation/products are sufficient. */
    .rro-discount-notice {
        display: none !important;
    }
}


/* =========================================================
   0.13.3 – spacing + cleaner WooCommerce totals
   ========================================================= */

/* The iframe product page itself must keep breathing room after the
   0.13.2 width hardening. Width stays constrained to the viewport. */
body.rro-iframe-product {
    box-sizing: border-box !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
}
body.rro-iframe-product #page-container,
body.rro-iframe-product #et-main-area,
body.rro-iframe-product #main-content,
body.rro-iframe-product .container,
body.rro-iframe-product .et_pb_row,
body.rro-iframe-product .woocommerce {
    box-sizing: border-box !important;
    max-width: 100% !important;
}

/* When WooCommerce has no real product image, collapse the reserved image
   column completely and retain a normal internal card inset. */
.wc-block-components-order-summary-item.rro-no-product-image {
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas: "description total" !important;
}
.wc-block-components-order-summary-item.rro-no-product-image .wc-block-components-order-summary-item__image {
    display: none !important;
}
.wc-block-components-order-summary-item.rro-no-product-image .wc-block-components-order-summary-item__description {
    grid-area: description !important;
    margin-left: 0 !important;
    padding-left: 20px !important;
    min-width: 0 !important;
}
.wc-block-components-order-summary-item.rro-no-product-image .wc-block-components-order-summary-item__total-price {
    grid-area: total !important;
    padding-right: 20px !important;
}

/* If subtotal and final total are identical, JS marks the redundant subtotal
   row so only the meaningful total remains visible. */
.rro-redundant-subtotal {
    display: none !important;
}

@media (max-width: 767px) {
    body.rro-iframe-product {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }
    .wc-block-components-order-summary-item.rro-no-product-image .wc-block-components-order-summary-item__description {
        padding-left: 18px !important;
    }
    .wc-block-components-order-summary-item.rro-no-product-image .wc-block-components-order-summary-item__total-price {
        padding-right: 18px !important;
    }
}

/* =========================================================
   0.14.0 – Allergene, Checkout-Coupons, Modal-Footer
   ========================================================= */

/* Allergene werden bewusst nur im Bestellmodal/Produktdetail angezeigt,
   nicht in der kompakten Speisekarten-Übersicht. */
.rro-product-allergens {
    color: var(--rro-muted);
    font-size: .88em;
    line-height: 1.4;
    margin: .55rem 0 1rem;
}
.rro-product-allergens strong {
    color: inherit;
    font-weight: 700;
}
.rro-product-allergens__note {
    margin-top: .3rem;
    font-size: .92em;
    opacity: .9;
}

/* Variante A: Der feste Kauf-Footer bildet die volle innere Modalbreite.
   Nur sein Inhalt erhält Padding – der Hintergrund/Schatten wird nicht
   links und rechts optisch abgeschnitten. */
body.rro-iframe-product .rro-sticky-purchase-bar {
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: none !important;
    padding: 12px 24px !important;
}

/* Coupon-/Gutscheinfeld bewusst nicht im Bezahl-Schritt anzeigen. */
body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout form.checkout_coupon,
body.woocommerce-checkout .wc-block-components-totals-coupon,
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-totals-coupon,
body.rro-iframe-product .wc-block-components-totals-coupon {
    display: none !important;
}

@media (max-width: 767px) {
    body.rro-iframe-product .rro-sticky-purchase-bar {
        padding: 10px 18px !important;
    }
}
