/**
 * Cookie consent notice (lw-cookie) — placement + sizing.
 *
 * Owner request 2026-10-15:
 *   - on desktop the notice must not swallow the whole bottom bar: on /etlap/
 *     the sticky menu cart bar carries the cart/checkout action;
 *   - on phones it should stay minimal.
 *
 * The plugin still owns the banner (markup, colours, buttons); these rules only
 * position and shrink it, so nothing here breaks when the plugin updates.
 */

/* Lift the notice clear of the fixed menu cart bar (measured 73 px tall) on
   the pages where that bar is present. */
body:has(.menu-cart-bar) .lw-cookie-notice.lw-cookie-pos-bottom {
    bottom: 73px;
}

/* Phones: compact card, tighter type and buttons. */
@media (max-width: 700px) {

    body .lw-cookie-notice.lw-cookie-layout-box {
        left: 10px;
        right: 10px;
        max-width: none;
        margin: 10px;
    }

    body .lw-cookie-notice.lw-cookie-pos-bottom {
        bottom: 0;
    }

    body:has(.menu-cart-bar) .lw-cookie-notice.lw-cookie-pos-bottom {
        bottom: 73px;
    }

    body .lw-cookie-notice .lw-cookie-notice-inner {
        padding: 12px 14px;
    }

    body .lw-cookie-notice .lw-cookie-title {
        font-size: 15px;
        line-height: 1.25;
        margin: 0 0 4px;
    }

    body .lw-cookie-notice .lw-cookie-message {
        font-size: 13px;
        line-height: 1.4;
    }

    body .lw-cookie-notice .lw-cookie-actions {
        gap: 8px;
        margin-top: 10px;
        flex-wrap: wrap;
    }

    body .lw-cookie-notice .lw-cookie-btn {
        padding: 9px 12px;
        font-size: 13px;
        line-height: 1.2;
    }
}
