/* ===== Мобільне меню — плашки + іконки ===== */
/* Стилі плашок — завжди на мобільному */
@media (max-width: 991.98px) {

    .menu__body .menu,
    .menu__body ul.menu,
    .menu__body ul {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 6px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .menu__body .menu > li,
    .menu__body ul > li {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        display: block !important;
    }

    .menu__body .menu > li > a,
    .menu__body ul > li > a {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        padding: 8px 12px 8px 10px !important;
        min-height: 42px !important;
        font-size: 14.5px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        letter-spacing: 0.15px !important;
        text-align: left !important;
        text-transform: uppercase !important;
        text-decoration: none !important;
        color: #2e4a1f !important;
        background: #ffffff !important;
        border: 1.5px solid #d4e8c2 !important;
        border-radius: 12px !important;
        box-shadow: 0 2px 6px rgba(64, 120, 40, 0.08) !important;
        transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease !important;
        white-space: normal !important;
        word-break: break-word !important;
    }

    .menu__body .menu-icon {
        flex-shrink: 0;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 17px;
        line-height: 1;
        background: linear-gradient(160deg, #f0f7e8 0%, #e2efd4 100%);
        border: 1px solid #c5dbb0;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
    }

    .menu__body .menu-label {
        flex: 1;
        text-align: left;
    }

    .menu__body .menu > li > a:hover,
    .menu__body .menu > li > a:active,
    .menu__body ul > li > a:hover,
    .menu__body ul > li > a:active {
        background: #e8f5d8 !important;
        border-color: #8bc34a !important;
        color: #1b5e20 !important;
        box-shadow: 0 3px 10px rgba(64, 120, 40, 0.14) !important;
        transform: scale(0.98);
    }

    .menu__body .menu > li.current-menu-item > a,
    .menu__body .menu > li.current_page_item > a,
    .menu__body ul > li.current-menu-item > a {
        background: linear-gradient(180deg, #7cb342 0%, #558b2f 100%) !important;
        border-color: #33691e !important;
        color: #ffffff !important;
        box-shadow: 0 3px 10px rgba(51, 105, 30, 0.28) !important;
    }

    .menu__body .menu > li.current-menu-item > a .menu-icon,
    .menu__body .menu > li.current_page_item > a .menu-icon {
        background: rgba(255,255,255,0.22);
        border-color: rgba(255,255,255,0.35);
    }

    .menu__body .menu > li:first-child > a {
        background: #fff8e7 !important;
        border-color: #ffcc80 !important;
        color: #e65100 !important;
    }
    .menu__body .menu > li:first-child > a .menu-icon {
        background: linear-gradient(160deg, #ffe0b2 0%, #ffcc80 100%);
        border-color: #ffb74d;
    }
    .menu__body .menu > li:first-child.current-menu-item > a {
        background: linear-gradient(180deg, #ffb74d 0%, #ff9800 100%) !important;
        border-color: #ef6c00 !important;
        color: #fff !important;
    }
}

/* Скрол меню — ТІЛЬКИ коли меню відкрите */
@media (max-width: 991.98px) {
    html.menu-open .menu__body,
    html.lock .menu__body,
    .menu-open .menu__body {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        height: 100dvh !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;
        background: #f7faf5 !important;
        padding: 72px 12px 100px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior: contain !important;
        touch-action: pan-y !important;
        z-index: 100 !important;
    }
}

@media (max-width: 400px) {
    .menu__body .menu > li > a,
    .menu__body ul > li > a {
        padding: 7px 10px 7px 8px !important;
        min-height: 40px !important;
        font-size: 13.5px !important;
        gap: 8px !important;
    }
    .menu__body .menu-icon {
        width: 28px;
        height: 28px;
        font-size: 15px;
    }
}


/* Кнопка відкриття/закриття меню — завжди поверх */
@media (max-width: 991.98px) {
    .menu__icon,
    .icon-menu,
    button.menu__icon,
    button.icon-menu {
        position: fixed !important;
        top: 12px !important;
        right: 12px !important;
        z-index: 10000 !important;
        width: 48px !important;
        height: 48px !important;
        border-radius: 50% !important;
        background: #7cb342 !important;
        border: none !important;
        box-shadow: 0 3px 12px rgba(51, 105, 30, 0.35) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
    }

    /* білий хрестик / бургер */
    .menu__icon span,
    .icon-menu span,
    .menu__icon::before,
    .menu__icon::after,
    .icon-menu::before,
    .icon-menu::after {
        background: #ffffff !important;
    }

    html.menu-open .menu__icon,
    html.lock .menu__icon,
    .menu-open .menu__icon {
        z-index: 10000 !important;
        background: #7cb342 !important;
    }
}

/* ===== Цінник 49 грн — лише опустити нижче ===== */
@media (max-width: 991.98px) {
    .hero__discount-label {
        top: 55px !important;   /* було -5px — опускаємо вниз */
        right: 0 !important;
        z-index: 3 !important;
    }

    .hero__discount-label p {
        top: 40px !important;
    }
}

@media (max-width: 767.98px) {
    .hero__discount-label {
        top: 48px !important;
    }
}


/* ===== «Монастирський» — трохи нижче ===== */
@media (max-width: 991.98px) {
    .hero__sup-title {
        padding-top: 28px !important;
        margin-top: 8px !important;
    }
    .hero {
        padding-top: 12px !important;
    }
}

@media (max-width: 767.98px) {
    .hero__sup-title {
        padding-top: 32px !important;
        margin-top: 10px !important;
        height: auto !important;
        min-height: 90px !important;
    }
}
