/**
 * 7PACK pagrindinio puslapio mobilioji versija
 * Versija: 2.7.1 (hero kadras ir elementu pozicijos pagal pavyzdi)
 *
 * Failas skirtas krauti po pagrindinio temos CSS failo.
 * Visos taisykles apribotos pagrindiniu puslapiu ir mobiliais ekranais,
 * todel darbalaukio versija (nuo 961 px) lieka nepakeista.
 */

/* Temos mobilioji navigacija persijungia ties 960 px. */
@media screen and (max-width: 960px) {
    body.home {
        --sp-mobile-gutter: clamp(16px, 5vw, 24px);
        --sp-mobile-section-space: clamp(48px, 12vw, 72px);
        --sp-mobile-card-radius: 14px;
        --sp-mobile-touch-size: 48px;
        padding-top: 64px;
    }

    body.home,
    body.home #page,
    body.home #content {
        max-width: 100%;
        overflow-x: clip;
    }

    body.home #masthead {
        position: fixed !important;
        z-index: 1000;
        top: 0 !important;
        right: 0;
        left: 0;
        width: 100%;
        min-height: 64px;
        height: 64px;
        margin: 0;
        border-bottom: 1px solid rgba(7, 17, 12, 0.08);
        border-radius: 0 0 18px 18px !important;
        background: #fff !important;
        box-shadow: none !important;
        transition: transform 0.25s ease !important;
        will-change: auto;
    }

    body.home #masthead.nav-visible {
        transform: none !important;
    }

    body.home #masthead:not(.nav-visible) {
        transform: translateY(-100%) !important;
    }

    /* Logotipas ir meniu yra atskiroje baltoje juostoje virs hero. */
    body.home #masthead .mobile_logo_block {
        position: absolute !important;
        top: 50% !important;
        left: var(--sp-mobile-gutter) !important;
        width: 46px !important;
        height: 53px !important;
        margin: 0 !important;
        overflow: hidden !important;
        transform: translateY(-50%);
    }

    body.home #masthead .mobile_logo_block a {
        display: block !important;
        width: 46px !important;
        height: 53px !important;
    }

    body.home #masthead .mobile_logo_block img {
        display: block !important;
        width: 46px !important;
        min-width: 46px !important;
        max-width: 46px !important;
        height: 53px !important;
        min-height: 53px !important;
        max-height: 53px !important;
        margin: 0 !important;
        object-fit: contain !important;
    }

    body.home #masthead #site-navigation.main-navigation {
        position: absolute !important;
        top: 6px !important;
        right: var(--sp-mobile-gutter) !important;
        left: auto !important;
        width: 52px !important;
        height: 52px;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
        align-items: center;
        justify-content: center;
        background: transparent !important;
        border-color: transparent !important;
        box-shadow: none !important;
    }

    /* Kalbos pasirinkimo mygtuko mobiliajame pagrindiniame puslapyje nerodome. */
    body.home #masthead .fixed-panel-container {
        display: none !important;
    }

    body.home #masthead #togglePanelBtn {
        width: 42px;
        min-width: 42px;
        height: 42px;
        min-height: 42px;
        padding: 0;
    }

    body.home #masthead .menu-toggle {
        display: flex !important;
        width: 48px !important;
        min-width: 48px !important;
        height: 48px !important;
        min-height: 48px !important;
        align-items: center;
        justify-content: center;
        padding: 0 !important;
        line-height: 1 !important;
    }

    /* Hamburgeris lieka 52 px, o meniu atsidaro kaip atskiras stalcius. */
    body.home #masthead #site-navigation #main-menu {
        position: fixed !important;
        z-index: 1002 !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: auto !important;
        width: min(82vw, 320px) !important;
        max-width: 320px !important;
        height: 100vh !important;
        height: 100dvh !important;
        min-height: 100vh !important;
        min-height: 100dvh !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;
        padding: 20px 0 24px !important;
        box-sizing: border-box;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        border-radius: 0 !important;
        background: #fff !important;
        box-shadow: -18px 0 48px rgba(0, 0, 0, 0.24) !important;
        transition: transform 0.25s ease, visibility 0.25s ease !important;
    }

    body.home #masthead #site-navigation::before {
        content: '';
        position: fixed;
        z-index: 1001;
        inset: 0;
        visibility: hidden;
        pointer-events: none;
        background: rgba(2, 10, 6, 0.58);
        opacity: 0;
        transition: opacity 0.25s ease, visibility 0.25s ease;
    }

    body.home #masthead #site-navigation:has(.menu-toggle[aria-expanded='true'])::before {
        visibility: visible;
        pointer-events: auto;
        opacity: 1;
    }

    body.home #masthead .menu-toggle:not([aria-expanded='true']) + #main-menu {
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateX(100%) !important;
    }

    body.home #masthead .menu-toggle[aria-expanded='true'] + #main-menu {
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateX(0) !important;
    }

    body.home #masthead #main-menu > .padder,
    body.home #masthead #main-menu .menu-menu-1-container,
    body.home #masthead #main-menu ul.menu {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
    }

    body.home #masthead #main-menu > .padder {
        min-height: 0 !important;
        padding: 0 22px !important;
    }

    body.home #masthead #main-menu .main-navigation-inner {
        display: flex !important;
        width: 100% !important;
        min-height: 0 !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
    }

    body.home #masthead #main-menu .branding {
        display: block !important;
        width: 100% !important;
        height: 52px !important;
        margin: 0 0 20px !important;
        text-align: left;
    }

    body.home #masthead #main-menu .branding .custom-logo-link {
        display: inline-flex !important;
        width: 46px !important;
        height: 52px !important;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.home #masthead #main-menu .branding img.custom-logo {
        display: block !important;
        width: 46px !important;
        min-width: 46px !important;
        max-width: 46px !important;
        height: 52px !important;
        min-height: 52px !important;
        max-height: 52px !important;
        margin: 0 !important;
        object-fit: contain !important;
    }

    body.home #masthead #main-menu .site_nav_menu {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
    }

    body.home #masthead #main-menu ul.menu > li {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        border-bottom: 1px solid rgba(7, 17, 12, 0.1);
    }

    body.home #masthead #main-menu ul.menu > li > a {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        min-height: 48px;
        margin: 0 !important;
        padding: 14px 4px !important;
        color: #07110c !important;
        font-size: 16px !important;
        font-weight: 500;
        line-height: 1.2 !important;
        text-align: left !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }

    body.home #masthead #main-menu .search-button {
        display: none !important;
    }

    body.home #masthead #main-menu .wc_shop {
        display: flex !important;
        width: 100% !important;
        align-items: center !important;
        gap: 10px;
        margin: 24px 0 0 !important;
        padding: 18px 0 0 !important;
        border-top: 1px solid rgba(7, 17, 12, 0.12);
    }

    body.home #masthead #main-menu .account-link {
        position: static !important;
        top: auto !important;
        flex: 1 1 auto;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.home #masthead #main-menu .account-link > a {
        display: flex !important;
        width: 100% !important;
        min-height: 48px !important;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
        padding: 10px 16px !important;
        border: 1px solid #07110c;
        border-radius: 999px;
        color: #07110c !important;
        font-size: 15px !important;
        font-weight: 500;
        line-height: 1 !important;
        text-align: center;
    }

    body.home #masthead #main-menu .header-cart {
        width: 48px !important;
        height: 48px !important;
        flex: 0 0 48px;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.home #masthead #main-menu .header-cart-contents,
    body.home #masthead #main-menu .header-cart-checkout {
        position: relative;
        display: flex !important;
        width: 48px !important;
        min-width: 48px !important;
        height: 48px !important;
        min-height: 48px !important;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
        padding: 0 !important;
        border: 1px solid #07110c;
        border-radius: 50%;
        color: #07110c !important;
    }

    body.home #masthead #main-menu .header-cart-checkout .fa {
        padding: 0 !important;
        color: #07110c !important;
        font-size: 18px !important;
    }

    body.home #masthead #main-menu .header-cart-checkout > span:not(:empty) {
        position: absolute;
        z-index: 2;
        top: -8px;
        right: -8px;
        display: flex;
        min-width: 22px;
        height: 22px;
        align-items: center;
        justify-content: center;
        padding: 0 5px;
        border-radius: 999px;
        background: #e9364f;
        color: #fff;
        font-size: 12px;
        line-height: 1;
    }

    body.home #masthead #main-menu .close-button {
        top: 20px !important;
        right: 22px !important;
        left: auto !important;
        display: flex !important;
        width: 40px !important;
        height: 40px !important;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(7, 17, 12, 0.18);
        border-radius: 50%;
        background: #fff !important;
        box-shadow: none !important;
    }

    body.home #masthead #main-menu .close-button i {
        color: #07110c !important;
        font-size: 20px !important;
    }

}

/* WordPress stulpeliai mobiliajame rezime persijungia ties 782 px. */
@media screen and (max-width: 782px) {
    body.home .header-image {
        position: relative;
        min-height: 330px !important;
        height: 330px !important;
        margin-bottom: 0 !important;
        background-color: #07110c;
        background-position: center center;
    }

    body.home .header-image::before {
        content: '';
        position: absolute;
        z-index: 2;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(
                90deg,
                rgba(7, 17, 12, 0.04) 0%,
                rgba(7, 17, 12, 0.22) 40%,
                rgba(7, 17, 12, 0.82) 100%
        );
    }

    body.home .header-image .overlay {
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        display: flex;
        z-index: 8;
        width: 70%;
        height: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 72px 18px 28px 0;
        text-align: center;
    }

    body.home .header-image .overlay h1,
    body.home .header-image .overlay h2 {
        width: 100%;
        max-width: 245px;
        margin: 0;
        color: #fff;
        font-size: clamp(28px, 7.7vw, 32px);
        font-weight: 500;
        line-height: 1.1;
        text-wrap: balance;
    }

    body.home .header-image .overlay a.button.gbtn {
        display: inline-flex;
        width: min(100%, 170px);
        min-height: 48px !important;
        height: 48px !important;
        max-height: 48px;
        align-items: center;
        justify-content: center;
        margin-top: 28px;
        padding: 0 22px !important;
        border: 1px solid #263f28 !important;
        border-radius: 999px !important;
        background: #263f28 !important;
        box-shadow: none !important;
        color: #fff !important;
        font-size: 17px !important;
        font-weight: 500;
        line-height: 1;
    }

    body.home .order_timeout {
        width: 100%;
        height: auto !important;
        min-height: 154px !important;
        margin: 0 auto !important;
        gap: 16px !important;
        padding: 24px var(--sp-mobile-gutter) 26px !important;
        align-items: center;
        justify-content: center !important;
        border: 0;
        background: #f5f6f2;
    }

    body.home .order_timeout p {
        width: 100%;
        max-width: 350px;
        margin: 0 auto !important;
        color: #111;
        font-size: clamp(15px, 4vw, 17px);
        font-family: "Rubik", Arial, sans-serif;
        font-weight: 700;
        line-height: 1.25;
        text-align: center;
    }

    body.home .order_timeout p.order_timer {
        display: flex;
        width: min(100%, 220px);
        max-width: 220px;
        min-height: 64px;
        align-items: center;
        justify-content: center;
        margin: 0 auto !important;
        padding: 0 18px;
        border: 0;
        border-radius: 999px;
        background: #263f28;
        box-shadow: none;
        color: #fff !important;
        font-size: clamp(38px, 10.5vw, 42px);
        font-weight: 600;
        font-variant-numeric: tabular-nums;
        letter-spacing: 0.03em;
        line-height: 1;
        white-space: nowrap;
    }

    /* Papildomas Uzsakyti CTA po laikmaciu vel rodomas. */
    body.home .order_timeout .tbtn {
        display: inline-flex !important;
    }

    body.home .order_timeout_btn {
        display: flex !important;
    }

    /* CTA eile islaikoma kompaktiska ir be nereikalingo tuscio ploto. */
    body.home .entry-content > .wp-block-columns:has(.order_timeout_btn) {
        min-height: 0 !important;
        margin: 0 !important;
        padding-bottom: 0 !important;
        background: #f5f6f2 !important;
    }

    body.home .heading_team {
        margin-top: var(--sp-mobile-section-space);
        margin-bottom: 24px;
        padding-right: var(--sp-mobile-gutter);
        padding-left: var(--sp-mobile-gutter);
        font-size: clamp(28px, 8vw, 34px);
        line-height: 1.1;
        text-wrap: balance;
    }

    /*
     * Mitybos planai telefone kuriami is naujo: visas blokas toks pats
     * kaip laikmacio fonas, o kiekvienas produktas uzima atskira eilute.
     */
    body.home .heading_7pack {
        position: relative;
        margin: 0 !important;
        padding: 48px var(--sp-mobile-gutter) 28px !important;
        background-color: #f5f6f2 !important;
        color: #07110c !important;
        font-size: clamp(28px, 8vw, 34px) !important;
        line-height: 1.1 !important;
        text-align: center;
        text-wrap: balance;
    }

    body.home .heading_7pack::before {
        content: '';
        position: absolute;
        top: 0;
        right: var(--sp-mobile-gutter);
        left: var(--sp-mobile-gutter);
        height: 1px;
        background: rgba(17, 17, 17, 0.16);
    }

    body.home .entry-content > .wp-block-columns:has(.woo-category-grid) {
        margin: 0 !important;
        padding: 0 !important;
        background-color: #f5f6f2 !important;
    }

    body.home .entry-content > .wp-block-columns:has(.woo-category-grid) > .wp-block-column {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background-color: #f5f6f2 !important;
    }

    body.home .entry-content .woo-category-grid.row.g-0 {
        display: block !important;
        width: 100%;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 10px !important;
        background-color: #f5f6f2 !important;
        overflow: visible !important;
    }

    body.home .entry-content .woo-category-grid.row.g-0 > .woo-product-item[class*='col-'] {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin: 0 0 18px !important;
        padding: 0 !important;
        border: 0 !important;
    }

    body.home .entry-content .woo-category-grid.row.g-0 > .woo-product-item:last-child {
        margin-bottom: 0 !important;
    }

    body.home .entry-content .woo-category-grid .woo-product-item-inner {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 10px 10px 24px !important;
        border: 0 !important;
        border-radius: 12px !important;
        background-color: #fff !important;
        box-shadow: none !important;
        color: #07110c !important;
    }

    body.home .entry-content .woo-category-grid .woo-product-item-inner > a {
        display: block;
        width: 100%;
    }

    body.home .entry-content .woo-category-grid .wccg_img {
        width: 100% !important;
        height: 0 !important;
        max-width: none !important;
        padding-top: 60% !important;
        border-radius: 10px !important;
        aspect-ratio: auto !important;
        background-position: center !important;
        background-size: cover !important;
    }

    body.home .entry-content .woo-category-grid .wccg_img + h3 {
        min-height: 0 !important;
        margin: 24px 12px 10px !important;
        font-size: clamp(20px, 5.8vw, 24px) !important;
        line-height: 1.08 !important;
        text-align: center !important;
        color: #07110c !important;
    }

    body.home .entry-content .woo-category-grid .woo-product-item-inner h3,
    body.home .entry-content .woo-category-grid .woo-product-item-inner h3 a,
    body.home .entry-content .woo-category-grid .woo-product-item-inner .price,
    body.home .entry-content .woo-category-grid .woo-product-item-inner .price *,
    body.home .entry-content .woo-category-grid .woo-product-item-inner .sale_price,
    body.home .entry-content .woo-category-grid .woo-product-item-inner .sale_price * {
        color: #07110c !important;
    }

    body.home .entry-content .woo-category-grid .woo-product-item-inner .price,
    body.home .entry-content .woo-category-grid .woo-product-item-inner .sale_price {
        display: block;
        margin: 0 12px !important;
        font-size: 18px !important;
        line-height: 1.25 !important;
        text-align: center !important;
    }

    body.home .action_block {
        margin: 0 !important;
        padding: 22px var(--sp-mobile-gutter) 30px !important;
        background-color: #f5f6f2 !important;
    }

    /* Likę bendri puslapio CTA: juodi mygtukai su baltu tekstu. */
    body.home .entry-content a.button.tbtn {
        min-height: 48px;
        height: auto !important;
        padding: 13px 20px !important;
        border: 1px solid #050505 !important;
        border-radius: 999px !important;
        background: #050505 !important;
        box-shadow: none !important;
        color: #fff !important;
        font-family: "Rubik", Arial, sans-serif;
        font-size: 15px !important;
        font-weight: 600;
        line-height: 1.1;
        text-align: center;
    }

    body.home .entry-content .action_block a.button.tbtn {
        display: flex !important;
        width: min(100% - (2 * var(--sp-mobile-gutter)), 294px);
        min-height: 54px !important;
        height: auto !important;
        margin: 0 auto !important;
        padding: 14px 22px !important;
        align-items: center;
        justify-content: center;
        border-color: #050505 !important;
        line-height: 1.1 !important;
    }

    /* Keturi proceso zingsniai vietoje ilgos vienos kolonos. */
    body.home .call_block {
        padding-top: 0 !important;
        padding-bottom: var(--sp-mobile-section-space) !important;
        background: #fff !important;
    }

    body.home .call_heading {
        max-width: 22ch;
        padding: var(--sp-mobile-section-space) var(--sp-mobile-gutter) 32px;
        font-size: clamp(28px, 8vw, 34px);
        line-height: 1.12;
        text-wrap: balance;
        color: #07110c;
    }

    body.home .call_block .wp-block-columns {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        margin: 0;
        padding: 0 var(--sp-mobile-gutter);
    }

    body.home .call_block .wp-block-column {
        min-width: 0;
        padding: 18px 10px;
        border-radius: var(--sp-mobile-card-radius);
        border: 1px solid #cfe0d2;
        background: #e3eee5;
    }

    body.home .call_block .wp-block-image {
        min-height: 0;
        margin-bottom: 14px;
    }

    body.home .call_block .wp-block-image img {
        width: clamp(64px, 19vw, 88px);
        height: auto;
    }

    body.home .call_block .wp-block-column .wp-block-heading {
        margin: 0;
        font-size: clamp(17px, 4.8vw, 21px);
        line-height: 1.15;
    }

    /*
     * Mobili kaloriju skaiciuokle: ramus tamsus fonas, viena turinio kortele
     * ir aiskios pasirinkimu bei skaiciu ivedimo grupes.
     */
    body.home .calory-calculator {
        position: relative;
        isolation: isolate;
        padding: 48px var(--sp-mobile-gutter) 56px !important;
        background-position: center !important;
        background-size: cover !important;
    }

    body.home .calory-calculator::after {
        content: '';
        position: absolute;
        z-index: 1;
        inset: 0;
        background: linear-gradient(
                180deg,
                rgba(4, 14, 9, 0.84),
                rgba(4, 14, 9, 0.94)
        );
    }

    body.home #cal-form {
        width: 100%;
        max-width: 430px;
        margin: 0 auto;
        padding: 28px 18px 22px;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 24px;
        background: rgba(7, 17, 12, 0.88);
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
        color: #fff;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }

    body.home #cal-form > .row {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 12px;
        margin: 0 !important;
    }

    body.home #cal-form > .row > * {
        min-width: 0;
        margin: 0 !important;
    }

    body.home #cal-form > .row > h3,
    body.home #cal-form > .row > .col-12,
    body.home #cal-form > .row > .col-auto:has(input[type='radio']) {
        grid-column: 1 / -1;
        width: 100%;
    }

    body.home #cal-form > .row > .col-auto:has(#weight),
    body.home #cal-form > .row > .col-auto:has(#height),
    body.home #cal-form > .row > .col-auto:has(#age) {
        display: flex !important;
        grid-column: 1 / -1;
        width: 100%;
    }

    body.home #cal-form > .row > .col-auto:has(#age) {
        width: 100%;
    }

    body.home #cal-form h3 {
        padding: 0 4px 4px;
        color: #fff;
        font-family: "Rubik", Arial, sans-serif;
        font-size: clamp(27px, 7.5vw, 34px);
        font-weight: 600;
        line-height: 1.08;
        text-align: left !important;
        text-wrap: balance;
    }

    body.home #cal-form .main_label {
        display: block;
        width: 100%;
        min-width: 0 !important;
        margin: 0 0 10px !important;
        color: rgba(255, 255, 255, 0.82);
        font-family: "Rubik", Arial, sans-serif;
        font-size: 15px;
        font-weight: 500;
        line-height: 1.2;
        text-align: left;
    }

    body.home #cal-form > .row > .col-auto:has(input[name='target']),
    body.home #cal-form > .row > .col-auto:has(input[name='activity_level']),
    body.home #cal-form > .row > .col-auto:has(input[name='meal_type']) {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    body.home #cal-form > .row > .col-auto:has(input[name='target']) .main_label,
    body.home #cal-form > .row > .col-auto:has(input[name='activity_level']) .main_label,
    body.home #cal-form > .row > .col-auto:has(input[name='meal_type']) .main_label {
        grid-column: 1 / -1;
    }

    body.home #cal-form label.btn,
    body.home #cal-form .form-control,
    body.home #cal-form .input-group-text {
        min-height: 50px;
    }

    body.home #cal-form label.btn {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
        padding: 9px 10px !important;
        border: 1px solid rgba(255, 255, 255, 0.32) !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, 0.06) !important;
        box-shadow: none !important;
        color: #fff !important;
        font-family: "Rubik", Arial, sans-serif;
        font-size: 15px;
        font-weight: 400;
        line-height: 1.18;
        text-align: center;
        white-space: normal;
    }

    body.home #cal-form .btn-check:checked + label.btn {
        border-color: #f5f6f2 !important;
        background: #f5f6f2 !important;
        color: #17321f !important;
        font-weight: 600;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16) !important;
    }

    body.home #cal-form .calory-calc-input-wrapper {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
    }

    body.home #cal-form .calory-calc-input-wrapper-max,
    body.home #cal-form .input-group {
        width: 100% !important;
        max-width: none !important;
    }

    body.home #cal-form .input-group {
        display: flex;
        flex-wrap: nowrap;
        margin: 0 !important;
    }

    body.home #cal-form .form-control,
    body.home #cal-form .input-group-text {
        border-color: rgba(255, 255, 255, 0.22) !important;
        background: #fff !important;
        color: #152219 !important;
        font-family: "Rubik", Arial, sans-serif;
    }

    body.home #cal-form .form-control {
        width: auto !important;
        max-width: none !important;
        min-width: 0;
        flex: 1 1 auto !important;
        padding: 0 12px;
        border-radius: 12px 0 0 12px !important;
        font-size: 17px;
        font-weight: 500;
        text-align: center;
    }

    body.home #cal-form .input-group-text {
        padding: 0 12px;
        border-left: 0 !important;
        border-radius: 0 12px 12px 0 !important;
        background: #e9efe9 !important;
        font-size: 14px;
        font-weight: 600;
    }

    body.home #cal-form button[type='submit'],
    body.home #cal-form .wbutton {
        width: 100% !important;
        min-height: 54px !important;
        height: auto !important;
        margin: 4px 0 0 !important;
        padding: 14px 20px !important;
        border: 0 !important;
        border-radius: 999px !important;
        background: #315b37 !important;
        box-shadow: none !important;
        color: #fff !important;
        font-family: "Rubik", Arial, sans-serif;
        font-size: 17px !important;
        font-weight: 600;
        line-height: 1;
    }

    body.home .cal-results-label {
        width: 100%;
        margin: 0 0 12px !important;
        color: #17321f;
        font-family: "Rubik", Arial, sans-serif;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.25;
        text-align: left;
    }

    body.home .cal-cal-results {
        display: none;
        padding: 28px var(--sp-mobile-gutter) 48px;
        background: #f5f6f2;
    }

    body.home .cal-cal-results:has(#results[style*='display: block']),
    body.home .cal-cal-results:has(#not_vegan[style*='display: block']),
    body.home .cal-cal-results:has(#is_vegan[style*='display: block']) {
        display: block;
    }

    body.home .cal-cal-results > .row {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 14px;
        width: 100%;
        max-width: 430px;
        margin: 0 auto !important;
    }

    body.home .cal-cal-results #results,
    body.home .cal-cal-results #not_vegan,
    body.home .cal-cal-results #is_vegan {
        width: 100%;
        max-width: none;
        margin: 0 !important;
        padding: 20px !important;
        border: 1px solid rgba(23, 50, 31, 0.1);
        border-radius: 18px;
        background: #fff;
        box-shadow: 0 10px 30px rgba(23, 50, 31, 0.07);
    }

    body.home .cal-results-val,
    body.home .cal-results-val-rec {
        width: 100%;
        min-height: 74px;
        padding: 16px;
        border-radius: 14px;
        background: #263f28;
        color: #fff;
    }

    body.home .cal-results-val {
        font-family: "Rubik", Arial, sans-serif;
        font-size: clamp(32px, 9vw, 40px);
        font-weight: 600;
    }

    body.home .cal-results-val-rec {
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 14px;
        align-items: center;
    }

    body.home .cal-results-val-rec > div:first-child {
        padding: 0 !important;
        font-family: "Rubik", Arial, sans-serif;
        font-size: 18px;
        font-weight: 600;
        line-height: 1.15;
    }

    body.home .cal-results-val-rec a.gbtn {
        display: inline-flex;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 48px;
        height: auto !important;
        align-items: center;
        justify-content: center;
        padding: 12px 14px !important;
        border: 1px solid rgba(255, 255, 255, 0.8) !important;
        border-radius: 999px !important;
        background: #fff !important;
        color: #17321f !important;
        font-family: "Rubik", Arial, sans-serif;
        font-size: 14px !important;
        font-weight: 600;
        line-height: 1.1;
        text-align: center;
    }

    /* Atsiliepimai: tamsios zalios korteles ir ciklinio slinkimo valdikliai. */
    body.home .feedback_heading {
        padding: var(--sp-mobile-section-space) var(--sp-mobile-gutter) 24px;
        font-size: clamp(28px, 8vw, 34px);
        line-height: 1.1;
    }

    body.home .feedback-post-display {
        --sp-review-card-width: min(82vw, 340px);
    }

    body.home .feedback-post-display .cpd-inner-block {
        display: flex;
        width: 100%;
        max-width: 100%;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 14px;
        margin: 0;
        padding: 0 calc((100% - var(--sp-review-card-width)) / 2) 24px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-padding-inline: var(--sp-mobile-gutter);
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        scroll-behavior: smooth;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
    }

    body.home .feedback-post-display .cpd-inner-block::-webkit-scrollbar {
        display: none;
    }

    body.home .feedback-post-display .cpd-inner-block .jcarousel-list-item {
        width: var(--sp-review-card-width);
        max-width: var(--sp-review-card-width);
        min-height: 230px;
        flex: 0 0 var(--sp-review-card-width);
        margin: 0;
        padding: 24px 20px;
        scroll-snap-align: center;
        border-radius: var(--sp-mobile-card-radius);
        background: #203d29 !important;
        color: #fff;
        box-shadow: 0 14px 34px rgba(14, 42, 24, 0.16);
    }

    body.home .feedback-post-display .jcarousel-list-item.sp-review-active {
        animation: sp-review-swoosh 0.48s cubic-bezier(0.22, 1, 0.36, 1);
    }

    @keyframes sp-review-swoosh {
        0% {
            opacity: 0.72;
            transform: translateX(16px) scale(0.985);
        }

        100% {
            opacity: 1;
            transform: translateX(0) scale(1);
        }
    }

    body.home .feedback-post-display .cpd-inner-block .jcarousel-list-item:nth-child(even) {
        background: #2a5035 !important;
    }

    body.home .feedback-post-display .cpd-post-content h3 {
        margin: 0 0 14px;
        padding-top: 0;
        font-size: 18px;
        font-weight: 600;
        line-height: 1.2;
        text-align: left;
        color: #fff;
    }

    body.home .feedback-post-display .cpd-post-content div {
        margin: 0;
        font-size: 16px;
        line-height: 1.45;
        text-align: left;
        color: rgba(255, 255, 255, 0.9);
    }

    body.home .feedback-post-display > div {
        position: relative;
        padding-bottom: 0;
    }

    body.home .feedback-post-display .nav-chevron-left,
    body.home .feedback-post-display .nav-chevron-right {
        position: absolute;
        z-index: 5;
        top: 50%;
        bottom: auto;
        display: flex !important;
        width: 42px;
        height: 42px;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255, 255, 255, 0.72);
        border-radius: 50%;
        background: rgba(7, 17, 12, 0.2);
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
        color: #fff;
        cursor: pointer;
        transform: translateY(-50%);
        backdrop-filter: blur(7px);
        -webkit-backdrop-filter: blur(7px);
        transition: transform 0.2s ease, background-color 0.2s ease;
    }

    body.home .feedback-post-display .nav-chevron-left {
        right: auto;
        left: max(4px, calc((100% - var(--sp-review-card-width)) / 2 - 27px));
    }

    body.home .feedback-post-display .nav-chevron-right {
        right: max(4px, calc((100% - var(--sp-review-card-width)) / 2 - 27px));
        left: auto;
    }

    body.home .feedback-post-display .nav-chevron-left:active,
    body.home .feedback-post-display .nav-chevron-right:active {
        transform: translateY(-50%) scale(0.94);
        background: rgba(7, 17, 12, 0.42);
    }

    body.home .feedback-post-display .nav-chevron-left svg,
    body.home .feedback-post-display .nav-chevron-right svg {
        width: 20px;
        height: 20px;
    }

    /* Kokybes skaidres naudoja ta pacia sviesiai zalia mobiliu korteliu palete. */
    body.home .promo1-post-display {
        background-color: #e3eee5 !important;
    }

    body.home .promo1-post-display .cpd-inner-block {
        color: #07110c !important;
    }

    body.home .promo1-post-display .cpd-inner-block .cpd-post-content {
        margin: 0 !important;
        padding: 30px var(--sp-mobile-gutter) 58px !important;
        background-color: #e3eee5 !important;
        color: #07110c !important;
    }

    body.home .promo1-post-display .cpd-post-content h3 {
        margin: 0 0 22px !important;
        padding: 0 !important;
        text-align: center !important;
    }

    body.home .promo1-post-display .cpd-post-content h3 a {
        margin: 0 !important;
        color: #07110c !important;
        font-size: clamp(26px, 7.5vw, 32px) !important;
        line-height: 1.1 !important;
    }

    body.home .promo1-post-display .cpd-post-content h3 + div {
        margin: 0 !important;
        padding: 0 !important;
        color: #203326 !important;
        font-size: 16px !important;
        line-height: 1.5 !important;
        text-align: justify !important;
        text-align-last: left;
        text-justify: inter-word;
        hyphens: auto;
    }

    body.home .promo1-post-display .slick-dots li::after {
        background-color: rgba(38, 63, 40, 0.38) !important;
    }

    body.home .promo1-post-display .slick-dots li.slick-active::after {
        background-color: #263f28 !important;
    }

    /* Tinklarascio skaidre sutrumpinama neprarandant teksto. */
    body.home .news-post-display .slick-slide .inner-list-item {
        height: auto;
        align-items: stretch;
    }

    body.home .news-post-display .post-thumbnail,
    body.home .news-post-display .cpdbg_img {
        height: auto;
        min-height: 0;
    }

    body.home .news-post-display .cpdbg_img {
        padding-top: 62.5%;
        border-radius: var(--sp-mobile-card-radius) var(--sp-mobile-card-radius) 0 0;
    }

    body.home .news-post-display .cpd-inner-block .cpd-post-content {
        min-height: 0;
        margin: 0 !important;
        padding: 24px var(--sp-mobile-gutter) 64px;
        justify-content: flex-start !important;
        gap: 14px;
    }

    body.home .news-post-display .cpd-post-content h3 {
        margin: 0;
        padding: 0;
    }

    body.home .news-post-display .cpd-post-content h3 a {
        margin: 0;
        font-size: clamp(24px, 7vw, 32px);
        line-height: 1.12;
    }

    body.home .news-post-display .cpd-post-content h3 + div {
        margin: 0 !important;
        padding: 0;
        font-size: 16px;
        line-height: 1.45;
    }

    body.home .news-post-display .slick-dots {
        top: -42px;
        justify-content: center;
        padding-left: 0;
    }

    body.home .news-post-display .slick-dots li {
        min-width: 24px;
        min-height: 24px;
        margin: 0 2px;
    }

    body.home .news-post-display .slick-dots li::after {
        right: 7px;
    }

    /* Keturi informaciniai blokai telefone telpa i kompaktiska 2 x 2 tinkleli. */
    body.home .info_block1,
    body.home .info_block2 {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin: 0 0 12px;
        padding: 0 var(--sp-mobile-gutter);
    }

    body.home .info_block1.wp-block-columns .wp-block-column,
    body.home .info_block2.wp-block-columns .wp-block-column {
        width: auto;
        min-width: 0;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 1 / 1;
        margin: 0;
        padding-top: 0 !important;
        border-radius: var(--sp-mobile-card-radius);
    }

    body.home .info_block1.wp-block-columns .wp-block-column:nth-child(1) h2 {
        font-size: clamp(25px, 7vw, 34px);
    }

    body.home .info_block1.wp-block-columns .wp-block-column:nth-child(1) p {
        margin: 8px 12px !important;
        font-size: clamp(13px, 3.7vw, 16px);
        line-height: 1.2;
    }

    body.home .info_block3 {
        padding: 36px var(--sp-mobile-gutter);
    }

    body.home .info_block3 .follow_us_icons {
        min-height: 0;
    }

    body.home .info_block3.wp-block-columns .wp-block-column:nth-child(1) h2 {
        margin-bottom: 22px;
    }

    /* Bendri porastes tarpai telefone. */
    body.home .footer_block {
        margin-bottom: 0;
        padding: 36px var(--sp-mobile-gutter) 12px;
    }

    body.home .footer_block > div {
        width: 100%;
        padding: 0 0 24px;
    }

    body.home .footer_block a {
        min-height: 44px;
    }
}

/* Vienoda balta viršutinė navigacija visuose temos puslapiuose. */
@media screen and (max-width: 960px) {
    body {
        padding-top: 64px;
    }

    body #masthead {
        position: fixed !important;
        z-index: 1000;
        top: 0 !important;
        right: 0;
        left: 0;
        width: 100%;
        min-height: 64px;
        height: 64px;
        margin: 0 !important;
        border-bottom: 1px solid rgba(17, 17, 17, 0.08);
        border-radius: 0 0 18px 18px !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    body #masthead .mobile_logo_block {
        position: absolute !important;
        top: 50% !important;
        left: clamp(16px, 5vw, 24px) !important;
        width: 46px !important;
        height: 53px !important;
        margin: 0 !important;
        overflow: hidden !important;
        transform: translateY(-50%);
    }

    body #masthead .mobile_logo_block a,
    body #masthead .mobile_logo_block img {
        display: block !important;
        width: 46px !important;
        min-width: 46px !important;
        max-width: 46px !important;
        height: 53px !important;
        min-height: 53px !important;
        max-height: 53px !important;
        margin: 0 !important;
        object-fit: contain !important;
    }

    body #masthead #site-navigation.main-navigation {
        position: absolute !important;
        top: 6px !important;
        right: clamp(16px, 5vw, 24px) !important;
        left: auto !important;
        width: 52px !important;
        height: 52px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        transform: none !important;
    }

    body #masthead .menu-toggle {
        display: flex !important;
        width: 48px !important;
        min-width: 48px !important;
        height: 48px !important;
        min-height: 48px !important;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        line-height: 1 !important;
    }

    body #masthead .fixed-panel-container,
    body #togglePanelBtn {
        display: none !important;
    }

    body #masthead #main-menu .sp-menu-language {
        display: block !important;
        width: 100%;
        margin: 14px 0 0 !important;
        padding: 14px 0 0 !important;
        border-top: 1px solid rgba(17, 17, 17, 0.1);
        background: #fff !important;
        box-shadow: none !important;
    }

    body #masthead #main-menu .sp-menu-language::before {
        content: 'Kalba';
        display: block;
        margin-bottom: 5px;
        color: #111;
        font: 600 13px/1.2 "Rubik", Arial, sans-serif;
    }

    body #masthead #main-menu .sp-menu-language .goog-te-gadget {
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box;
        font-family: "Rubik", Arial, sans-serif !important;
    }

    body #masthead #main-menu .sp-menu-language .goog-te-gadget-simple {
        display: inline-flex;
        width: 50% !important;
        min-width: 128px !important;
        max-width: 150px !important;
        min-height: 32px;
        align-items: center;
        justify-content: flex-start;
        box-sizing: border-box;
        padding: 4px 7px !important;
        border: 1px solid rgba(17, 17, 17, 0.18) !important;
        border-radius: 10px;
        background: #f3f1ec !important;
    }

    body #masthead #main-menu .sp-menu-language a,
    body #masthead #main-menu .sp-menu-language span {
        color: #111 !important;
        font-size: 11px !important;
        text-decoration: none !important;
    }
}

/* Savaitės meniu puslapis: ta pati neutrali kortelių kalba kaip produkto puslapyje. */
@media screen and (max-width: 782px) {
    body.page-template-template-weekly-calendar {
        color: #111;
        background: #f3f1ec;
    }

    body.page-template-template-weekly-calendar #content,
    body.page-template-template-weekly-calendar #primary,
    body.page-template-template-weekly-calendar main.site-main,
    body.page-template-template-weekly-calendar article.page_set_width {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
        background: #f3f1ec !important;
        overflow-x: hidden;
    }

    body.page-template-template-weekly-calendar .entry-header {
        margin: 0 !important;
        padding: 30px 18px 18px !important;
        text-align: center;
        background: #f3f1ec;
    }

    body.page-template-template-weekly-calendar .wcal-header {
        margin: 0 0 10px !important;
        color: #111;
        font: 700 clamp(27px, 8vw, 34px)/1.05 "Rubik", Arial, sans-serif !important;
    }

    body.page-template-template-weekly-calendar .wcal-tagline {
        max-width: 280px;
        margin: 0 auto !important;
        color: #45423d;
        font-size: 14px;
        line-height: 1.35;
    }

    body.page-template-template-weekly-calendar .wcal-entry-content {
        margin: 0 !important;
        padding: 0 0 28px !important;
    }

    body.page-template-template-weekly-calendar .wcal_dates {
        margin: 0 14px 12px !important;
        padding: 13px 14px !important;
        border: 1px solid rgba(17, 17, 17, 0.1);
        border-radius: 12px;
        color: #111;
        background: #fff !important;
        font-size: 15px;
        font-weight: 600;
        text-align: center;
    }

    body.page-template-template-weekly-calendar .wcal_types {
        display: grid !important;
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin: 0 !important;
        padding: 0 14px 12px !important;
        box-sizing: border-box;
        overflow: visible;
    }

    body.page-template-template-weekly-calendar .wcal_types::-webkit-scrollbar,
    body.page-template-template-weekly-calendar .wcal_week_menu::-webkit-scrollbar {
        display: none;
    }

    body.page-template-template-weekly-calendar .wcal_btn {
        display: flex !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 46px !important;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
        padding: 9px 10px !important;
        border: 1px solid rgba(17, 17, 17, 0.14) !important;
        border-radius: 999px !important;
        color: #111 !important;
        background: #fff !important;
        box-shadow: none !important;
        font-size: 13px !important;
        font-weight: 600;
        line-height: 1.2;
        text-align: center;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    body.page-template-template-weekly-calendar .wcal_btn:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    body.page-template-template-weekly-calendar .wcal_btn.active {
        border-color: #3e914c !important;
        background: #e8f5e9 !important;
        color: #17321f !important;
    }

    body.page-template-template-weekly-calendar .wcal_week {
        margin: 0 !important;
        padding: 10px 0 18px !important;
        background: #f3f1ec !important;
    }

    body.page-template-template-weekly-calendar .wcal_week_menu {
        display: grid !important;
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin: 0 0 12px !important;
        padding: 0 14px !important;
        box-sizing: border-box;
        overflow: visible;
    }

    body.page-template-template-weekly-calendar .weekly_menu {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 54px;
        margin: 0 !important;
        padding: 0 !important;
        border: 1px solid rgba(17, 17, 17, 0.13);
        border-radius: 11px;
        background: #fff !important;
    }

    body.page-template-template-weekly-calendar .weekly_menu:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    body.page-template-template-weekly-calendar .weekly_menu.active {
        border-color: #3e914c;
        background: #e8f5e9 !important;
    }

    body.page-template-template-weekly-calendar .weekly_menu a {
        display: flex !important;
        width: 100%;
        height: 100%;
        min-height: 52px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 7px 8px !important;
        color: #111 !important;
        font-size: 12px;
        line-height: 1.2;
        text-align: center;
        overflow-wrap: anywhere;
        text-decoration: none !important;
    }

    body.page-template-template-weekly-calendar .weekly_menu a span:first-child {
        font-weight: 700;
    }

    body.page-template-template-weekly-calendar .weekly_menu a span:last-child {
        margin-top: 2px;
        color: #77736d;
        font-size: 10px;
    }

    body.page-template-template-weekly-calendar .wcal_week > .card {
        width: auto !important;
        margin: 0 14px 12px !important;
        overflow: hidden;
        border: 1px solid rgba(17, 17, 17, 0.1) !important;
        border-radius: 14px !important;
        background: #fff !important;
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
    }

    body.page-template-template-weekly-calendar .wcal_week > .card > .row {
        display: block !important;
        margin: 0 !important;
    }

    body.page-template-template-weekly-calendar .wmenu_image {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        height: 170px !important;
        margin: 0 !important;
        background-position: center;
        background-size: cover;
    }

    body.page-template-template-weekly-calendar .im_block::after {
        top: 12px;
        left: 12px;
        transform: none;
        padding: 6px 8px;
        border-radius: 999px;
        color: #fff;
        background: #111;
        font-size: 10px;
        font-weight: 600;
    }

    body.page-template-template-weekly-calendar .wcal_week .card-body {
        padding: 14px !important;
    }

    body.page-template-template-weekly-calendar .wcal_week h5.card-title {
        display: inline-flex;
        align-self: flex-start;
        margin: 0 0 10px !important;
        padding: 5px 9px;
        border-radius: 999px;
        color: #fff;
        background: #111;
        font-size: 11px;
        font-weight: 600;
    }

    body.page-template-template-weekly-calendar .wcal_week h6.card-title {
        margin: 0 0 8px !important;
        color: #111;
        font-size: 17px;
        font-weight: 700;
        line-height: 1.2;
    }

    body.page-template-template-weekly-calendar .wcal_week .card-text {
        min-height: 0 !important;
        margin: 0 0 10px !important;
        color: #4a4742;
        font-size: 13px;
        line-height: 1.45;
    }

    body.page-template-template-weekly-calendar .wcal_week .black-button {
        display: flex !important;
        width: calc(100% - 28px) !important;
        min-height: 48px;
        align-items: center;
        justify-content: center;
        margin: 18px 14px 6px !important;
        padding: 12px 18px !important;
        border-radius: 999px;
        background: #111 !important;
        color: #fff !important;
    }
}

/* Atskiras Skaičiuoklės puslapis perima pagrindinio puslapio tamsios kortelės dizainą. */
@media screen and (max-width: 782px) {
    body.page-id-77022 {
        padding-top: 0 !important;
        background: #111;
    }

    body.page-id-77022 .calory-calculator {
        position: relative;
        min-height: calc(100svh - 64px);
        margin-top: 64px !important;
        padding: 18px 0 30px !important;
        background-position: right center !important;
        background-size: cover !important;
    }

    body.page-id-77022 .calory-calculator::before {
        content: '';
        position: absolute;
        z-index: 0;
        inset: 0;
        pointer-events: none;
        background: rgba(0, 0, 0, 0.52);
    }

    body.page-id-77022 #cal-form {
        position: relative;
        z-index: 1;
        width: calc(100% - 24px) !important;
        max-width: 430px;
        box-sizing: border-box;
        margin: 0 auto !important;
        padding: 24px 16px 20px !important;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 24px;
        color: #fff;
        background: rgba(17, 17, 17, 0.86) !important;
        box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }

    body.page-id-77022 #cal-form > .row {
        display: block !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 10px;
        margin: 0 !important;
    }

    body.page-id-77022 #cal-form > .row > * {
        min-width: 0;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.page-id-77022 #cal-form > .row > h3,
    body.page-id-77022 #cal-form > .row > .col-12,
    body.page-id-77022 #cal-form > .row > .col-auto:has(input[type='radio']),
    body.page-id-77022 #cal-form > .row > .col-auto:has(#weight),
    body.page-id-77022 #cal-form > .row > .col-auto:has(#height),
    body.page-id-77022 #cal-form > .row > .col-auto:has(#age) {
        grid-column: 1 / -1;
        width: 100% !important;
    }

    body.page-id-77022 #cal-form h3 {
        margin: 0 0 2px !important;
        padding: 0 !important;
        color: #fff;
        font: 700 clamp(27px, 8vw, 34px)/1.08 "Rubik", Arial, sans-serif !important;
        text-align: left !important;
    }

    body.page-id-77022 #cal-form .main_label {
        display: block;
        grid-column: 1 / -1;
        width: 100%;
        margin: 0 0 9px !important;
        color: rgba(255, 255, 255, 0.86);
        font-size: 14px;
        font-weight: 500;
        text-align: left;
    }

    body.page-id-77022 #cal-form > .row > .col-auto:has(input[name='target']),
    body.page-id-77022 #cal-form > .row > .col-auto:has(input[name='activity_level']),
    body.page-id-77022 #cal-form > .row > .col-auto:has(input[name='meal_type']) {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    body.page-id-77022 #cal-form label.btn {
        display: flex;
        min-height: 46px;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
        padding: 8px !important;
        border: 1px solid rgba(255, 255, 255, 0.32) !important;
        border-radius: 10px !important;
        color: #fff !important;
        background: rgba(255, 255, 255, 0.05) !important;
        box-shadow: none !important;
        font-size: 12px;
        line-height: 1.15;
        text-align: center;
        white-space: normal;
    }

    body.page-id-77022 #cal-form .btn-check:checked + label.btn {
        border-color: #fff !important;
        color: #111 !important;
        background: #fff !important;
        font-weight: 600;
    }

    body.page-id-77022 #cal-form .calory-calc-input-wrapper {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
        width: 100%;
    }

    body.page-id-77022 #cal-form .input-group {
        display: flex;
        width: 100% !important;
        max-width: none !important;
        flex-wrap: nowrap;
        margin: 0 !important;
    }

    body.page-id-77022 #cal-form .form-control,
    body.page-id-77022 #cal-form .input-group-text {
        min-height: 46px;
        border-color: rgba(255, 255, 255, 0.22) !important;
        color: #111 !important;
        background: #fff !important;
    }

    body.page-id-77022 #cal-form .form-control {
        min-width: 0;
        flex: 1 1 auto;
        padding: 0 10px;
        border-radius: 10px 0 0 10px !important;
        text-align: center;
    }

    body.page-id-77022 #cal-form .input-group-text {
        padding: 0 10px;
        border-left: 0 !important;
        border-radius: 0 10px 10px 0 !important;
        background: #ece9e3 !important;
    }

    body.page-id-77022 #cal-form button[type='submit'],
    body.page-id-77022 #cal-form .wbutton {
        width: 100% !important;
        min-height: 50px !important;
        margin: 2px 0 0 !important;
        padding: 13px 18px !important;
        border: 1px solid #fff !important;
        border-radius: 999px !important;
        color: #111 !important;
        background: #fff !important;
        box-shadow: none !important;
        font-size: 16px !important;
        font-weight: 700;
    }
}

/* Atskira hero nuotrauka tik telefonams; darbalaukio vaizdas nelieciamas. */
@media screen and (max-width: 520px) {
    body.home .header-image {
        background-repeat: no-repeat !important;
        background-position: left center !important;
        background-size: cover !important;
    }
}

@media screen and (max-width: 420px) {
    body.home .header-image {
        min-height: 315px !important;
        height: 315px !important;
    }

    body.home .header-image .overlay {
        top: 0 !important;
        width: 72%;
        padding: 90px 12px 20px 0;
    }

    body.home .header-image .overlay h1,
    body.home .header-image .overlay h2 {
        margin: 0;
        font-size: clamp(27px, 7.5vw, 30px);
    }

    body.home .header-image .overlay a.button.gbtn {
        width: min(100%, 160px);
        margin-top: 24px;
    }

    body.home .order_timeout {
        min-height: 150px !important;
        gap: 14px !important;
        padding: 22px 20px 24px !important;
    }

    body.home .order_timeout p.order_timer {
        min-height: 60px;
        padding: 0 16px;
        border-radius: 999px;
        font-size: clamp(36px, 10vw, 40px);
    }

    body.home .call_block .wp-block-columns {
        gap: 10px;
    }

    body.home .call_block .wp-block-column {
        padding: 16px 8px;
    }

    body.home .feedback-post-display {
        --sp-review-card-width: 84vw;
    }
}

/*
 * 2.2.2 neutrali mobili palete.
 * Tarpai, korteliu dydziai, navigacija ir funkcionalumas nekeiciami.
 */
@media screen and (max-width: 782px) {
    body.home {
        --sp-neutral-ink: #111;
        --sp-neutral-dark: #252525;
        --sp-neutral-mid: #3b3b3b;
        --sp-neutral-paper: #f3f1ec;
        --sp-neutral-line: #d8d4cc;
    }

    body.home .calory-calculator::after {
        background: rgba(0, 0, 0, 0.52);
    }

    body.home #cal-form {
        background: rgba(17, 17, 17, 0.84);
    }

    body.home #cal-form .btn-check:checked + label.btn,
    body.home #cal-form .form-control,
    body.home #cal-form .input-group-text,
    body.home .cal-results-val-rec a.gbtn {
        color: var(--sp-neutral-ink) !important;
    }

    body.home #cal-form .input-group-text {
        background: #ece9e3 !important;
    }

    body.home .cal-cal-results #results,
    body.home .cal-cal-results #not_vegan,
    body.home .cal-cal-results #is_vegan {
        border-color: rgba(17, 17, 17, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    }

    /* Grazinamas senasis temos hero vaizdas; mobilus 2026/10 failas nebenaudojamas. */
    body.home .header-image {
        background-color: var(--sp-neutral-ink) !important;
        background-position: right center !important;
        background-size: cover !important;
    }

    body.home .header-image::before {
        background: rgba(0, 0, 0, 0.3);
    }

    body.home .header-image .overlay {
        top: 0 !important;
        right: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 32px 24px !important;
        text-align: center !important;
    }

    body.home .header-image .overlay h1,
    body.home .header-image .overlay h2 {
        margin-right: auto !important;
        margin-left: auto !important;
    }

    body.home .header-image .overlay a.button.gbtn,
    body.home .order_timeout p.order_timer,
    body.home #cal-form button[type='submit'],
    body.home #cal-form .wbutton,
    body.home .cal-results-val,
    body.home .cal-results-val-rec {
        border-color: var(--sp-neutral-ink) !important;
        background: var(--sp-neutral-ink) !important;
        color: #fff !important;
    }

    /* Anksciau pasleptas Uzsakyti mygtukas po laikmaciu. */
    body.home .order_timeout .tbtn {
        display: inline-flex !important;
    }

    body.home .order_timeout_btn {
        display: flex !important;
        width: 100%;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
        padding: 18px var(--sp-mobile-gutter) 26px !important;
        background: var(--sp-neutral-paper) !important;
    }

    body.home .order_timeout_btn a.button.tbtn {
        display: inline-flex !important;
        width: min(100%, 294px);
        min-height: 52px;
        align-items: center;
        justify-content: center;
        margin: 0 auto !important;
        padding: 13px 22px !important;
        border: 1px solid var(--sp-neutral-ink) !important;
        border-radius: 999px !important;
        color: #fff !important;
        background: var(--sp-neutral-ink) !important;
        font-family: "Rubik", Arial, sans-serif;
        font-size: 16px !important;
        font-weight: 700;
        line-height: 1;
    }

    body.home .entry-content > .wp-block-columns:has(.order_timeout_btn) {
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        background: var(--sp-neutral-paper) !important;
    }

    body.home .order_timeout,
    body.home .heading_7pack,
    body.home .entry-content > .wp-block-columns:has(.woo-category-grid),
    body.home .entry-content > .wp-block-columns:has(.woo-category-grid) > .wp-block-column,
    body.home .entry-content .woo-category-grid.row.g-0,
    body.home .action_block,
    body.home .cal-cal-results {
        background-color: var(--sp-neutral-paper) !important;
    }

    body.home .call_block .wp-block-column,
    body.home .promo1-post-display,
    body.home .promo1-post-display .cpd-inner-block .cpd-post-content,
    body.home .social_block,
    body.home #cal-form .input-group-text {
        border-color: var(--sp-neutral-line) !important;
        background: var(--sp-neutral-paper) !important;
        color: var(--sp-neutral-ink) !important;
    }

    body.home .promo1-post-display .cpd-inner-block,
    body.home .promo1-post-display .cpd-post-content h3 a,
    body.home .promo1-post-display .cpd-post-content h3 + div,
    body.home .call_heading,
    body.home .cal-results-label {
        color: var(--sp-neutral-ink) !important;
    }

    body.home .promo1-post-display .slick-dots li::after {
        background: rgba(17, 17, 17, 0.3) !important;
    }

    body.home .promo1-post-display .slick-dots li.slick-active::after {
        background: var(--sp-neutral-ink) !important;
    }

    body.home .feedback-post-display .cpd-inner-block .jcarousel-list-item {
        background: var(--sp-neutral-dark) !important;
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.15);
    }

    body.home .feedback-post-display .cpd-inner-block .jcarousel-list-item:nth-child(even) {
        background: var(--sp-neutral-mid) !important;
    }

    body.home .feedback-post-display .nav-chevron-left,
    body.home .feedback-post-display .nav-chevron-right {
        background: rgba(0, 0, 0, 0.28);
        top: calc(50% - 12px);
    }

    body.home .feedback-post-display .nav-chevron-left:active,
    body.home .feedback-post-display .nav-chevron-right:active {
        background: rgba(0, 0, 0, 0.5);
    }

    /* Baltas skaiciuokles CTA aiskiai matomas tamsiame bloke. */
    body.home #cal-form button[type='submit'],
    body.home #cal-form .wbutton {
        border: 1px solid #fff !important;
        background: #fff !important;
        color: #111 !important;
    }

    /* Font Awesome glifai centruojami ne pagal teksto baseline, o pagal apskritima. */
    body.home #masthead #main-menu .close-button,
    body.home #masthead #main-menu .header-cart-contents,
    body.home #masthead #main-menu .header-cart-checkout {
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        line-height: 0 !important;
    }

    body.home #masthead #main-menu .close-button {
        position: absolute !important;
    }

    body.home #masthead #main-menu .close-button i {
        display: none !important;
    }

    body.home #masthead #main-menu .close-button::before,
    body.home #masthead #main-menu .close-button::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 20px;
        height: 2px;
        margin: 0 !important;
        border: 0;
        border-radius: 999px;
        background: #111;
        transform-origin: center;
    }

    body.home #masthead #main-menu .close-button::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    body.home #masthead #main-menu .close-button::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    body.home #masthead #main-menu .header-cart-checkout > span:empty {
        display: none !important;
    }

    body.home #masthead #main-menu .header-cart-checkout .fa {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        display: block !important;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1 !important;
        text-align: center !important;
        transform: translate(-50%, -50%) !important;
    }

    /* Prisijungimo ir krepselio veiksmai visada lieka stalciaus apacioje. */
    body.home #masthead #main-menu > .padder,
    body.home #masthead #main-menu .main-navigation-inner {
        height: 100% !important;
        min-height: 100% !important;
        box-sizing: border-box;
    }

    body.home #masthead #main-menu .wc_shop {
        margin: auto 0 0 !important;
        padding-top: 18px !important;
    }
}

@media screen and (max-width: 520px) {
    body.home .header-image {
        background-position: center center !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.home .feedback-post-display .cpd-inner-block {
        scroll-behavior: auto;
        scroll-snap-type: none;
    }
}

/* 2.3.0: vienas mobilus stalcius visuose puslapiuose, kuriuose yra temos #main-menu. */
@media screen and (max-width: 960px) {
    body .sp-mobile-menu-backdrop {
        position: fixed;
        z-index: 99990;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: rgba(0, 0, 0, 0.68);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.24s ease;
    }

    body.sp-mobile-menu-open .sp-mobile-menu-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    body.sp-mobile-menu-open {
        overflow: hidden !important;
        touch-action: none;
    }

    /* Senas temos pseudo-fonas buvo apribotas headerio aukščiu ir dengė stalčių. */
    html body #masthead #site-navigation::before {
        display: none !important;
        content: none !important;
    }

    html body #masthead #site-navigation #main-menu {
        position: fixed !important;
        z-index: 2 !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: auto !important;
        width: min(82vw, 320px) !important;
        max-width: 320px !important;
        height: 100vh !important;
        height: 100dvh !important;
        min-height: 100vh !important;
        min-height: 100dvh !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;
        margin: 0 !important;
        padding: 20px 0 !important;
        box-sizing: border-box;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        border-radius: 14px 0 0 14px !important;
        background: #fff !important;
        box-shadow: -18px 0 48px rgba(0, 0, 0, 0.24) !important;
        transition: transform 0.24s ease, visibility 0.24s ease !important;
    }

    html body:not(.sp-mobile-menu-open) #masthead #main-menu {
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateX(100%) !important;
    }

    html body.sp-mobile-menu-open #masthead {
        z-index: 99991 !important;
        border-color: transparent !important;
        background: transparent !important;
        box-shadow: none !important;
        pointer-events: none;
        transform: none !important;
    }

    html body.sp-mobile-menu-open #masthead .mobile_logo_block,
    html body.sp-mobile-menu-open #masthead .menu-toggle {
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    html body.sp-mobile-menu-open #masthead #site-navigation,
    html body.sp-mobile-menu-open #masthead #main-menu {
        pointer-events: auto !important;
    }

    html body.sp-mobile-menu-open #masthead #main-menu {
        visibility: visible !important;
        transform: translateX(0) !important;
    }

    html body #masthead #main-menu > .padder {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        margin: 0 !important;
        padding: 0 16px !important;
        box-sizing: border-box;
        background: #fff !important;
    }

    html body #masthead #main-menu .main-navigation-inner {
        display: flex !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        flex-direction: column !important;
        align-items: stretch !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
    }

    html body #masthead #main-menu .branding {
        display: block !important;
        width: 100% !important;
        height: 52px !important;
        flex: 0 0 52px;
        margin: 0 0 14px !important;
        text-align: left !important;
    }

    html body #masthead #main-menu .branding .custom-logo-link {
        display: inline-flex !important;
        width: 46px !important;
        height: 52px !important;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
        padding: 0 !important;
    }

    html body #masthead #main-menu .branding img.custom-logo {
        display: block !important;
        width: 46px !important;
        min-width: 46px !important;
        max-width: 46px !important;
        height: 52px !important;
        min-height: 52px !important;
        max-height: 52px !important;
        margin: 0 !important;
        object-fit: contain !important;
        content: url('/wp-content/uploads/2026/10/7pack-logo-mobile.png') !important;
    }

    html body #masthead #main-menu .site_nav_menu,
    html body #masthead #main-menu .menu-menu-1-container,
    html body #masthead #main-menu ul.menu {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
    }

    html body #masthead #main-menu ul.menu > li {
        display: block !important;
        width: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
        border-bottom: 1px solid rgba(7, 17, 12, 0.1);
    }

    html body #masthead #main-menu ul.menu > li > a {
        display: flex !important;
        width: 100% !important;
        min-height: 42px !important;
        align-items: center;
        margin: 0 !important;
        padding: 10px 4px !important;
        color: #111 !important;
        font-size: 14px !important;
        font-weight: 500;
        line-height: 1.2 !important;
        text-align: left !important;
        white-space: normal !important;
    }

    html body #masthead #main-menu .search-button {
        display: none !important;
    }

    html body #masthead #main-menu .wc_shop {
        display: flex !important;
        width: 100% !important;
        align-items: center !important;
        gap: 10px;
        margin: auto 0 0 !important;
        padding: 14px 0 0 !important;
        border-top: 1px solid rgba(7, 17, 12, 0.12);
    }

    html body #masthead #main-menu .account-link {
        position: static !important;
        flex: 1 1 auto;
        margin: 0 !important;
        padding: 0 !important;
    }

    html body #masthead #main-menu .account-link > a {
        display: flex !important;
        width: 100% !important;
        min-height: 42px !important;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
        padding: 9px 14px !important;
        border: 1px solid #111;
        border-radius: 999px;
        color: #111 !important;
        font-size: 13px !important;
        font-weight: 500;
        line-height: 1 !important;
    }

    html body #masthead #main-menu .header-cart {
        width: 42px !important;
        height: 42px !important;
        flex: 0 0 42px;
        margin: 0 !important;
        padding: 0 !important;
    }

    html body #masthead #main-menu .header-cart-contents,
    html body #masthead #main-menu .header-cart-checkout {
        position: relative !important;
        display: flex !important;
        width: 42px !important;
        min-width: 42px !important;
        height: 42px !important;
        min-height: 42px !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 1px solid #111;
        border-radius: 50%;
        color: #111 !important;
        line-height: 0 !important;
    }

    html body #masthead #main-menu .header-cart-checkout .fa {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #111 !important;
        font-size: 17px !important;
        line-height: 1 !important;
        transform: translate(-50%, -50%) !important;
    }

    html body #masthead #main-menu .header-cart-checkout > span:empty {
        display: none !important;
    }

    html body #masthead #main-menu .close-button {
        position: absolute !important;
        z-index: 3;
        top: 16px !important;
        right: 16px !important;
        left: auto !important;
        display: flex !important;
        width: 38px !important;
        height: 38px !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 1px solid rgba(17, 17, 17, 0.18);
        border-radius: 50%;
        background: #fff !important;
        box-shadow: none !important;
        line-height: 0 !important;
    }

    html body #masthead #main-menu .close-button i {
        display: none !important;
    }

    html body #masthead #main-menu .close-button::before,
    html body #masthead #main-menu .close-button::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 18px;
        height: 2px;
        border-radius: 999px;
        background: #111;
        transform-origin: center;
    }

    html body #masthead #main-menu .close-button::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    html body #masthead #main-menu .close-button::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }
}

/* Grąžinamas ankstesnis kompaktiškas pagrindinio puslapio hero aukštis. */
@media screen and (max-width: 782px) {
    body.home {
        padding-top: 64px !important;
    }

    body.home #masthead {
        background: #fff !important;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    body.home.sp-mobile-menu-open #masthead {
        background: transparent !important;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    body.home .header-image {
        min-height: 0 !important;
        height: auto !important;
        aspect-ratio: 2 / 3;
        margin: 0 !important;
        background-image: url('/wp-content/uploads/2026/10/7pack-hero-mobile-portrait.webp') !important;
        background-position: 80% center !important;
        background-size: auto 105% !important;
    }

    body.home .header-image::before {
        display: none !important;
        content: none !important;
        background: transparent !important;
    }

    body.home .header-image .overlay {
        position: absolute !important;
        inset: 0 !important;
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        padding: 0 !important;
        box-sizing: border-box;
        background: transparent !important;
        text-align: left !important;
    }

    body.home .header-image .overlay h1,
    body.home .header-image .overlay h2 {
        position: absolute !important;
        top: 31% !important;
        left: 16px !important;
        width: clamp(235px, calc(100% - 145px), 255px) !important;
        max-width: none !important;
        margin: 0 !important;
        color: #111 !important;
        font: 700 clamp(24px, 7vw, 30px)/1.04 "Rubik", Arial, sans-serif !important;
        letter-spacing: -0.02em;
        text-shadow: none !important;
        text-align: left !important;
        text-wrap: balance;
    }

    body.home .header-image .overlay a.button.gbtn {
        display: inline-flex !important;
        position: absolute !important;
        top: 47% !important;
        left: 16px !important;
        width: 182px !important;
        min-width: 182px !important;
        min-height: 34px !important;
        height: 34px !important;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
        margin-block: 0 !important;
        padding: 0 18px !important;
        border: 2px solid #111 !important;
        border-radius: 999px !important;
        color: #111 !important;
        background: transparent !important;
        box-shadow: none !important;
        font-size: 14px !important;
        font-weight: 700;
        line-height: 1 !important;
        transform: none !important;
    }
}

/* Kompaktiškas savaitės dienų perjungimas: puslapyje rodoma tik viena diena. */
@media screen and (max-width: 782px) {
    body.page-template-template-weekly-calendar .sp-weekly-source-menu,
    body.page-template-template-weekly-calendar .sp-weekly-day-panel[hidden] {
        display: none !important;
    }

    body.page-template-template-weekly-calendar .sp-weekly-day-navigation {
        position: relative;
        display: block;
        width: 100%;
        margin: 0 0 14px;
        padding: 0 58px;
        box-sizing: border-box;
    }

    body.page-template-template-weekly-calendar .sp-weekly-day-arrow {
        position: absolute !important;
        z-index: 2;
        top: 7px !important;
        display: flex;
        width: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        height: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden;
        border: 0 !important;
        border-radius: 50% !important;
        color: transparent !important;
        background: #222 !important;
        box-shadow: 0 5px 14px rgba(0, 0, 0, 0.13);
        font-size: 0 !important;
        line-height: 0 !important;
        transform: none !important;
    }

    body.page-template-template-weekly-calendar .sp-weekly-day-previous {
        left: 14px !important;
    }

    body.page-template-template-weekly-calendar .sp-weekly-day-next {
        right: 14px !important;
    }

    body.page-template-template-weekly-calendar .sp-weekly-day-arrow::before {
        display: block;
        color: #fff;
        font: 400 25px/1 Arial, sans-serif;
        transform: translateY(-1px);
    }

    body.page-template-template-weekly-calendar .sp-weekly-day-previous::before {
        content: '‹';
    }

    body.page-template-template-weekly-calendar .sp-weekly-day-next::before {
        content: '›';
    }

    body.page-template-template-weekly-calendar .sp-weekly-current-day {
        display: flex;
        min-width: 0;
        min-height: 52px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 7px 12px;
        box-sizing: border-box;
        border: 1px solid #3e914c;
        border-radius: 11px;
        color: #17321f;
        background: #e8f5e9;
        text-align: center;
    }

    body.page-template-template-weekly-calendar .sp-weekly-current-day strong {
        display: block;
        font-size: 13px;
        line-height: 1.15;
    }

    body.page-template-template-weekly-calendar .sp-weekly-current-day span {
        display: block;
        margin-top: 3px;
        color: #6f746f;
        font-size: 10px;
        line-height: 1.1;
    }

    body.page-template-template-weekly-calendar .sp-weekly-day-panel {
        display: flex !important;
        flex-direction: column !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.page-template-template-weekly-calendar .sp-weekly-day-panel > .card {
        width: auto !important;
        max-width: none !important;
        margin: 0 14px 12px !important;
        overflow: hidden;
        border: 1px solid rgba(17, 17, 17, 0.1) !important;
        border-radius: 14px !important;
        background: #fff !important;
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
    }
}

/* Atskiro puslapio skaičiuoklė atkartojama pagal pagrindinio puslapio kortelę. */
@media screen and (max-width: 782px) {
    body.page-id-77022 .calory-calculator {
        isolation: isolate;
        min-height: calc(100svh - 64px);
        margin-top: 64px !important;
        padding: 48px var(--sp-mobile-gutter, 16px) 56px !important;
        background-position: center !important;
        background-size: cover !important;
    }

    body.page-id-77022 .calory-calculator::before {
        background: linear-gradient(
                180deg,
                rgba(4, 14, 9, 0.84),
                rgba(4, 14, 9, 0.94)
        ) !important;
    }

    body.page-id-77022 #cal-form {
        width: 100% !important;
        max-width: 430px;
        margin: 0 auto !important;
        padding: 28px 18px 22px !important;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 24px;
        color: #fff;
        background: rgba(17, 17, 17, 0.84) !important;
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    }

    body.page-id-77022 #cal-form > .row {
        gap: 24px 12px;
    }

    body.page-id-77022 #cal-form h3 {
        margin: 0 !important;
        padding: 0 4px 4px !important;
        font: 600 clamp(27px, 7.5vw, 34px)/1.08 "Rubik", Arial, sans-serif !important;
        text-align: left !important;
    }

    body.page-id-77022 #cal-form .main_label {
        margin-bottom: 10px !important;
        color: rgba(255, 255, 255, 0.82);
        font-size: 15px;
    }

    body.page-id-77022 #cal-form > .row > .col-auto:has(input[name='target']),
    body.page-id-77022 #cal-form > .row > .col-auto:has(input[name='activity_level']),
    body.page-id-77022 #cal-form > .row > .col-auto:has(input[name='meal_type']) {
        gap: 8px;
    }

    body.page-id-77022 #cal-form label.btn,
    body.page-id-77022 #cal-form .form-control,
    body.page-id-77022 #cal-form .input-group-text {
        min-height: 50px;
    }

    body.page-id-77022 #cal-form label.btn {
        padding: 9px 10px !important;
        border-radius: 12px !important;
        font-size: 15px;
        line-height: 1.18;
    }

    body.page-id-77022 #cal-form .btn-check:checked + label.btn {
        border-color: #f5f6f2 !important;
        color: #17321f !important;
        background: #f5f6f2 !important;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16) !important;
    }

    body.page-id-77022 #cal-form .form-control {
        padding: 0 12px;
        border-radius: 12px 0 0 12px !important;
        font-size: 17px;
        font-weight: 500;
    }

    body.page-id-77022 #cal-form .input-group-text {
        padding: 0 12px;
        border-radius: 0 12px 12px 0 !important;
        background: #ece9e3 !important;
        font-size: 14px;
        font-weight: 600;
    }

    body.page-id-77022 #cal-form button[type='submit'],
    body.page-id-77022 #cal-form .wbutton {
        min-height: 54px !important;
        margin-top: 4px !important;
        padding: 14px 20px !important;
        border: 1px solid #fff !important;
        border-radius: 999px !important;
        color: #111 !important;
        background: #fff !important;
        font-size: 17px !important;
        font-weight: 600;
    }
}

/* Vienintelis galutinis mobiliojo stalčiaus sluoksniavimo ir aukščio šaltinis. */
@media screen and (max-width: 960px) {
    html body .sp-mobile-menu-backdrop {
        z-index: 99980 !important;
        background: rgba(0, 0, 0, 0.52) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    html body.sp-mobile-menu-open #masthead {
        z-index: 99981 !important;
    }

    html body.sp-mobile-menu-open #masthead #main-menu {
        z-index: 1 !important;
        isolation: isolate;
        color: #111 !important;
        background: #fff !important;
        opacity: 1 !important;
        filter: none !important;
        mix-blend-mode: normal !important;
    }

    html body #masthead #main-menu {
        overscroll-behavior: contain;
        scrollbar-gutter: stable;
    }

    html body #masthead #main-menu > .padder,
    html body.single-product.woocommerce #masthead #main-menu > .padder {
        height: auto !important;
        min-height: 100% !important;
    }

    html body #masthead #main-menu .main-navigation-inner,
    html body.single-product.woocommerce #masthead #main-menu .main-navigation-inner {
        height: auto !important;
        min-height: calc(100dvh - 40px) !important;
    }

    html body #masthead #main-menu .site_nav_menu {
        position: static !important;
        order: 1;
        flex: 0 0 auto;
    }

    html body #masthead #main-menu .sp-menu-language {
        position: static !important;
        inset: auto !important;
        order: 2;
        flex: 0 0 auto;
        clear: both;
        transform: none !important;
    }

    html body #masthead #main-menu .sp-menu-language .goog-te-gadget,
    html body #masthead #main-menu .sp-menu-language .goog-te-gadget-simple {
        position: static !important;
        inset: auto !important;
        float: none !important;
        transform: none !important;
    }

    html body #masthead #main-menu .wc_shop {
        position: static !important;
        order: 3;
        flex: 0 0 auto;
    }

    html body #masthead #main-menu ul.menu > li > a[href*='/akcijos/'] {
        color: #d32632 !important;
        font-weight: 700 !important;
    }
}

/* Žemame telefone turinys lieka nuoseklus ir slenka, užuot persidengęs. */
@media screen and (max-width: 960px) and (max-height: 620px) {
    html body #masthead #site-navigation #main-menu,
    html body.single-product.woocommerce.sp-mobile-menu-open
    #masthead #site-navigation #main-menu {
        padding: 10px 0 12px !important;
    }

    html body #masthead #main-menu > .padder,
    html body.single-product.woocommerce.sp-mobile-menu-open
    #masthead #main-menu > .padder {
        min-height: calc(100dvh - 22px) !important;
        padding: 0 12px !important;
    }

    html body #masthead #main-menu .main-navigation-inner,
    html body.single-product.woocommerce.sp-mobile-menu-open
    #masthead #main-menu .main-navigation-inner {
        min-height: calc(100dvh - 22px) !important;
    }

    html body #masthead #main-menu .branding,
    html body.single-product.woocommerce.sp-mobile-menu-open
    #masthead #main-menu .branding {
        height: 44px !important;
        flex-basis: 44px;
        margin-bottom: 4px !important;
    }

    html body #masthead #main-menu .branding .custom-logo-link,
    html body #masthead #main-menu .branding img.custom-logo,
    html body.single-product.woocommerce.sp-mobile-menu-open
    #masthead #main-menu .branding .custom-logo-link,
    html body.single-product.woocommerce.sp-mobile-menu-open
    #masthead #main-menu .branding img.custom-logo {
        width: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;
    }

    html body #masthead #main-menu ul.menu > li > a,
    html body.single-product.woocommerce.sp-mobile-menu-open
    #masthead #main-menu ul.menu > li > a {
        min-height: 34px !important;
        padding: 7px 3px !important;
        font-size: 13px !important;
    }

    html body #masthead #main-menu .sp-menu-language {
        margin-top: 8px !important;
        padding-top: 8px !important;
    }

    html body #masthead #main-menu .sp-menu-language::before {
        margin-bottom: 4px;
        font-size: 11px;
    }

    html body #masthead #main-menu .sp-menu-language .goog-te-gadget-simple {
        min-height: 28px;
        padding: 3px 6px !important;
    }

    html body #masthead #main-menu .wc_shop,
    html body.single-product.woocommerce.sp-mobile-menu-open
    #masthead #main-menu .wc_shop {
        gap: 8px;
        margin: 10px 0 0 !important;
        padding-top: 10px !important;
    }

    html body #masthead #main-menu .account-link > a,
    html body.single-product.woocommerce.sp-mobile-menu-open
    #masthead #main-menu .account-link > a {
        min-height: 38px !important;
        padding: 8px 12px !important;
        font-size: 12px !important;
    }

    html body #masthead #main-menu .header-cart,
    html body #masthead #main-menu .header-cart-contents,
    html body #masthead #main-menu .header-cart-checkout,
    html body.single-product.woocommerce.sp-mobile-menu-open
    #masthead #main-menu .header-cart,
    html body.single-product.woocommerce.sp-mobile-menu-open
    #masthead #main-menu .header-cart-contents,
    html body.single-product.woocommerce.sp-mobile-menu-open
    #masthead #main-menu .header-cart-checkout {
        width: 38px !important;
        min-width: 38px !important;
        height: 38px !important;
        min-height: 38px !important;
        flex-basis: 38px !important;
    }

    html body #masthead #main-menu .close-button,
    html body.single-product.woocommerce.sp-mobile-menu-open
    #masthead #main-menu .close-button {
        top: 10px !important;
        right: 12px !important;
        width: 34px !important;
        height: 34px !important;
    }
}

/* Nuotrauka skaičiuoklėje išlieka matoma, forma nepraranda kontrasto. */
@media screen and (max-width: 782px) {
    body.home .calory-calculator::after,
    body.page-id-77022 .calory-calculator::before {
        background: linear-gradient(
                180deg,
                rgba(0, 0, 0, 0.28),
                rgba(0, 0, 0, 0.44)
        ) !important;
    }

    body.home #cal-form,
    body.page-id-77022 #cal-form {
        background: rgba(14, 14, 14, 0.76) !important;
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
    }

    body.home #cal-form > .row > .col-auto:has(#weight),
    body.home #cal-form > .row > .col-auto:has(#height),
    body.home #cal-form > .row > .col-auto:has(#age),
    body.page-id-77022 #cal-form > .row > .col-auto:has(#weight),
    body.page-id-77022 #cal-form > .row > .col-auto:has(#height),
    body.page-id-77022 #cal-form > .row > .col-auto:has(#age) {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        flex: 0 0 100% !important;
        grid-column: 1 / -1 !important;
    }

    body.home #cal-form .calory-calc-input-wrapper-max,
    body.home #cal-form .input-group:has(#weight),
    body.home #cal-form .input-group:has(#height),
    body.home #cal-form .input-group:has(#age),
    body.page-id-77022 #cal-form .calory-calc-input-wrapper-max,
    body.page-id-77022 #cal-form .input-group:has(#weight),
    body.page-id-77022 #cal-form .input-group:has(#height),
    body.page-id-77022 #cal-form .input-group:has(#age) {
        display: flex !important;
        width: 100% !important;
        max-width: none !important;
    }

    body.home #cal-form :is(#weight, #height, #age),
    body.page-id-77022 #cal-form :is(#weight, #height, #age) {
        width: 100% !important;
        max-width: none !important;
        flex: 1 1 auto !important;
    }

    body.home .cal-cal-results,
    body.page-id-77022 .cal-cal-results {
        display: none;
        margin: 0 !important;
        padding: 24px 14px 40px !important;
        color: #111 !important;
        background: #f3f1ec !important;
    }

    body.home .cal-cal-results:has(#results[style*='display: block']),
    body.home .cal-cal-results:has(#not_vegan[style*='display: block']),
    body.home .cal-cal-results:has(#is_vegan[style*='display: block']),
    body.page-id-77022 .cal-cal-results:has(#results[style*='display: block']),
    body.page-id-77022 .cal-cal-results:has(#not_vegan[style*='display: block']),
    body.page-id-77022 .cal-cal-results:has(#is_vegan[style*='display: block']) {
        display: block !important;
    }

    body.home .cal-cal-results > .row,
    body.page-id-77022 .cal-cal-results > .row {
        display: grid !important;
        width: 100% !important;
        max-width: 430px;
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    body.home .cal-cal-results :is(#results, #not_vegan, #is_vegan),
    body.page-id-77022 .cal-cal-results :is(#results, #not_vegan, #is_vegan) {
        width: 100% !important;
        max-width: none !important;
        min-height: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 18px !important;
        box-sizing: border-box;
        border: 1px solid rgba(17, 17, 17, 0.1) !important;
        border-radius: 16px !important;
        color: #111 !important;
        background: #fff !important;
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06) !important;
    }

    body.home .cal-results-label,
    body.page-id-77022 .cal-results-label {
        width: 100% !important;
        margin: 0 0 10px !important;
        color: #111 !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        text-align: left !important;
    }

    body.home .cal-results-val,
    body.page-id-77022 .cal-results-val {
        display: flex !important;
        width: 100% !important;
        min-height: 82px !important;
        height: auto !important;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
        padding: 16px !important;
        box-sizing: border-box;
        border-radius: 12px !important;
        color: #111 !important;
        background: #c6f3c7 !important;
        font-size: clamp(34px, 10vw, 42px) !important;
        font-weight: 600 !important;
        line-height: 1 !important;
    }

    body.home .cal-results-val-rec,
    body.page-id-77022 .cal-results-val-rec {
        display: grid !important;
        width: 100% !important;
        min-height: 0 !important;
        height: auto !important;
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        margin: 0 !important;
        padding: 16px !important;
        box-sizing: border-box;
        border-radius: 12px !important;
        color: #111 !important;
        background: #eaf6f5 !important;
    }

    body.home .cal-results-val-rec > div:first-child,
    body.page-id-77022 .cal-results-val-rec > div:first-child {
        padding: 0 !important;
        color: #111 !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        line-height: 1.15 !important;
    }

    body.home .cal-results-val-rec a.gbtn,
    body.page-id-77022 .cal-results-val-rec a.gbtn {
        display: flex !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 46px !important;
        height: auto !important;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
        padding: 11px 14px !important;
        border: 0 !important;
        border-radius: 10px !important;
        color: #fff !important;
        background: #111 !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        line-height: 1.1 !important;
        text-align: center;
    }

    body.home .order_timeout p.order_timer {
        display: block !important;
        width: auto !important;
        max-width: none !important;
        min-height: 0 !important;
        height: auto !important;
        margin: 0 auto !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        color: #111 !important;
        background: transparent !important;
        box-shadow: none !important;
        text-shadow: none !important;
        font-size: clamp(36px, 10vw, 42px) !important;
        font-weight: 700 !important;
        line-height: 1 !important;
    }

    body.home .order_timeout,
    body.home .order_timeout_btn,
    body.home .entry-content > .wp-block-columns:has(.order_timeout_btn),
    body.home .heading_7pack,
    body.home .entry-content > .wp-block-columns:has(.woo-category-grid),
    body.home .entry-content > .wp-block-columns:has(.woo-category-grid) > .wp-block-column,
    body.home .entry-content .woo-category-grid.row.g-0 {
        background-color: #f3f1ec !important;
    }

    body.home .order_timeout {
        padding-bottom: 16px !important;
    }

    body.home .order_timeout_btn {
        padding-top: 0 !important;
        padding-bottom: 24px !important;
    }
}
