/**
 * 7PACK produkto puslapio mobilioji versija
 * Versija: 1.7.1 (pasalintos pasenusios produkto meniu islygos)
 *
 * Krauti po temos ir style_7pack.css failu.
 * Visos taisykles apribotos WooCommerce produkto puslapiu ir mobiliais ekranais.
 */

@media screen and (max-width: 960px) {
    body.single-product.woocommerce {
        --sp-product-ink: #07110c;
        --sp-product-green: #263f28;
        --sp-product-green-soft: #e3eee5;
        --sp-product-paper: #f5f6f2;
        --sp-product-line: rgba(7, 17, 12, 0.12);
        --sp-product-gutter: clamp(16px, 5vw, 24px);
        --sp-product-radius: 16px;
        padding-top: 64px;
        padding-bottom: 168px;
        color: var(--sp-product-ink);
        background: #fff;
    }

    body.single-product.woocommerce,
    body.single-product.woocommerce #page,
    body.single-product.woocommerce #content,
    body.single-product.woocommerce #primary,
    body.single-product.woocommerce #main {
        max-width: 100%;
        overflow-x: clip;
    }

    /* Balta, kompaktiska navigacija kaip pagrindiniame puslapyje. */
    body.single-product.woocommerce #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 var(--sp-product-line);
        border-radius: 0 0 18px 18px !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    body.single-product.woocommerce #masthead .mobile_logo_block {
        position: absolute !important;
        top: 50% !important;
        left: var(--sp-product-gutter) !important;
        margin: 0 !important;
        transform: translateY(-50%);
    }

    body.single-product.woocommerce #masthead .mobile_logo_block img {
        width: 45px;
        max-width: 45px;
        height: 52px;
        object-fit: contain;
        content: url('/wp-content/uploads/2026/10/7pack-logo-mobile.png') !important;
    }

    body.single-product.woocommerce #masthead #site-navigation.main-navigation {
        position: absolute !important;
        top: 6px !important;
        right: var(--sp-product-gutter) !important;
        left: auto !important;
        width: 52px !important;
        height: 52px;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        transform: none !important;
    }

    body.single-product.woocommerce #masthead .fixed-panel-container {
        display: none !important;
    }

    body.single-product.woocommerce #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;
        background: transparent !important;
    }

    /* Produkto turinys. */
    body.single-product.woocommerce #content {
        padding: 0 !important;
        background: #fff;
    }

    body.single-product.woocommerce div.product {
        display: block;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 var(--sp-product-gutter) 48px !important;
    }

    body.single-product.woocommerce .woo_product_media_wrap,
    body.single-product.woocommerce div.product div.summary,
    body.single-product.woocommerce div.product div.images {
        float: none !important;
        width: 100% !important;
        max-width: none !important;
    }

    body.single-product.woocommerce .woo_product_media_wrap {
        margin: 0 !important;
        padding-top: 16px;
        background: transparent;
    }

    body.single-product.woocommerce div.product div.images {
        margin: 0 0 14px !important;
        overflow: hidden;
        border-radius: var(--sp-product-radius);
        background: var(--sp-product-paper);
    }

    body.single-product.woocommerce div.product div.images img {
        width: 100%;
        max-height: 360px;
        margin: 0 !important;
        object-fit: cover;
    }

    body.single-product.woocommerce .woo_other_info {
        float: none;
        width: 100%;
        max-width: none;
        margin: 0 0 16px !important;
        padding: 20px !important;
        border: 1px solid rgba(38, 63, 40, 0.08);
        border-radius: var(--sp-product-radius);
        color: var(--sp-product-ink);
        background: #fff;
        box-shadow: none;
        font-size: 15px;
        line-height: 1.55;
    }

    body.single-product.woocommerce .woo_other_info h2,
    body.single-product.woocommerce .woo_other_info h3 {
        margin: 0 0 8px;
        color: var(--sp-product-ink);
        font-size: 18px;
        line-height: 1.2;
    }

    body.single-product.woocommerce div.product div.summary {
        margin: 0 !important;
        padding: 0 !important;
    }

    body.single-product.woocommerce .entry-summary .entry-summary-inner {
        margin: 0;
        padding: 22px 18px !important;
        border: 1px solid var(--sp-product-line);
        border-radius: var(--sp-product-radius);
        background: var(--sp-product-paper) !important;
        box-shadow: none;
    }

    body.single-product.woocommerce div.product .product_title {
        margin: 0 0 12px !important;
        color: var(--sp-product-ink);
        font-size: clamp(25px, 7vw, 32px) !important;
        font-weight: 700 !important;
        line-height: 1.08 !important;
        letter-spacing: -0.03em !important;
        text-wrap: balance;
    }

    body.single-product.woocommerce .day_price_wrap {
        display: inline-flex;
        align-items: center;
        min-height: 40px;
        margin: 0 0 20px !important;
        padding: 8px 14px;
        border-radius: 999px;
        color: #fff;
        background: #111;
        font-size: 18px;
        font-weight: 600;
        line-height: 1;
    }

    body.single-product.woocommerce .sets_block {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 18px !important;
    }

    body.single-product.woocommerce label.btn.plan_type,
    body.single-product.woocommerce label.btn.plan_reco {
        display: flex;
        width: 100%;
        min-height: 48px;
        align-items: center;
        justify-content: flex-start;
        margin: 0;
        padding: 10px 16px;
        border: 1px solid var(--sp-product-line);
        border-radius: 12px;
        color: var(--sp-product-ink);
        background: #fff;
        font-size: 16px;
    }

    body.single-product.woocommerce label.btn.plan_type::before,
    body.single-product.woocommerce label.btn.plan_reco::before {
        content: '';
        display: grid;
        width: 22px;
        height: 22px;
        flex: 0 0 22px;
        place-items: center;
        margin-right: 11px;
        border: 2px solid #b6bcb8;
        border-radius: 50%;
        color: transparent;
        background: #fff;
    }

    body.single-product.woocommerce .btn-check:checked + label.btn.plan_type,
    body.single-product.woocommerce .btn-check:checked + label.btn.plan_reco,
    body.single-product.woocommerce label.btn.plan_active {
        border-color: var(--sp-product-green) !important;
        color: var(--sp-product-ink) !important;
        background: #fff !important;
        box-shadow: 0 0 0 3px rgba(62, 145, 76, 0.16),
                    0 7px 20px rgba(38, 63, 40, 0.10) !important;
    }

    body.single-product.woocommerce .btn-check:checked + label.btn.plan_type::before,
    body.single-product.woocommerce .btn-check:checked + label.btn.plan_reco::before,
    body.single-product.woocommerce label.btn.plan_active::before {
        content: '\2713';
        border-color: #3e914c;
        color: #fff;
        background: #3e914c;
        box-shadow: 0 0 0 5px rgba(62, 145, 76, 0.14);
        font-size: 14px;
        font-weight: 800;
    }

    body.single-product.woocommerce .cal_inputs {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin: 0 0 10px !important;
    }

    body.single-product.woocommerce .cal_inputs > * {
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
    }

    body.single-product.woocommerce .cal_inputs > :last-child {
        grid-column: 1 / -1;
    }

    body.single-product.woocommerce .cal_inputs label {
        display: block;
        margin: 0 0 6px;
        font-size: 13px;
        font-weight: 600;
    }

    body.single-product.woocommerce #from-date,
    body.single-product.woocommerce #till-date {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 48px;
        padding: 10px 12px !important;
        border: 1px solid var(--sp-product-line) !important;
        border-radius: 12px !important;
        color: var(--sp-product-ink) !important;
        background: #fff !important;
        font-size: 16px !important;
        box-shadow: none !important;
    }

    body.single-product.woocommerce .cal_inputs .reset-btn {
        display: inline-flex;
        min-height: 38px;
        align-items: center;
        margin-top: 2px;
        padding: 7px 2px !important;
        color: #555 !important;
        background: transparent !important;
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
    }

    body.single-product.woocommerce .cal_inputs .reset-btn .bi {
        margin-left: 3px;
        color: #777 !important;
    }

    body.single-product.woocommerce .entry-summary-inner > .row.g-0 {
        margin: 0 0 10px !important;
    }

    body.single-product.woocommerce .day_input_status_box {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 10px 12px !important;
        border: 1px solid var(--sp-product-line);
        border-radius: 10px;
        background: #fff;
        font-size: 13px;
        font-weight: 700;
    }

    body.single-product.woocommerce #datepicker-container {
        width: 100%;
        margin-top: 12px;
        overflow: hidden;
        border: 1px solid var(--sp-product-line);
        border-radius: 14px;
        background: #fff;
    }

    body.single-product.woocommerce #datepicker-container .ui-datepicker,
    body.single-product.woocommerce #datepicker-container .ui-datepicker-group {
        width: 100% !important;
        min-width: 0 !important;
    }

    body.single-product.woocommerce #datepicker-container .ui-datepicker-group:not(:first-child),
    body.single-product.woocommerce #datepicker-container .ui-datepicker-row-break {
        display: none !important;
    }

    body.single-product.woocommerce #datepicker-container .ui-datepicker-header {
        padding: 12px 44px;
        border: 0;
        color: #fff;
        background: #111;
    }

    body.single-product.woocommerce #datepicker-container .ui-datepicker-prev,
    body.single-product.woocommerce #datepicker-container .ui-datepicker-next {
        top: 50%;
        display: grid;
        width: 30px;
        height: 30px;
        place-items: center;
        border: 1px solid rgba(255, 255, 255, 0.32);
        border-radius: 50%;
        background: transparent !important;
        transform: translateY(-50%);
    }

    body.single-product.woocommerce #datepicker-container .ui-datepicker-prev {
        left: 8px;
    }

    body.single-product.woocommerce #datepicker-container .ui-datepicker-next {
        right: 8px;
    }

    body.single-product.woocommerce #datepicker-container .ui-datepicker-prev::before,
    body.single-product.woocommerce #datepicker-container .ui-datepicker-next::before {
        color: #fff;
        font-size: 19px;
        line-height: 1;
    }

    body.single-product.woocommerce #datepicker-container .ui-datepicker-prev::before {
        content: '\2039';
    }

    body.single-product.woocommerce #datepicker-container .ui-datepicker-next::before {
        content: '\203a';
    }

    body.single-product.woocommerce #datepicker-container .ui-datepicker-prev span,
    body.single-product.woocommerce #datepicker-container .ui-datepicker-next span {
        display: none !important;
    }

    body.single-product.woocommerce #datepicker-container .ui-datepicker-calendar {
        width: 100%;
        table-layout: fixed;
        margin: 0;
    }

    body.single-product.woocommerce #datepicker-container th,
    body.single-product.woocommerce #datepicker-container td {
        padding: 4px 2px;
        text-align: center;
    }

    body.single-product.woocommerce #datepicker-container td a,
    body.single-product.woocommerce #datepicker-container td span {
        display: grid;
        width: 34px;
        min-height: 34px;
        place-items: center;
        margin: auto;
        border: 0;
        border-radius: 50%;
        background: transparent;
    }

    body.single-product.woocommerce #datepicker-container td .ui-state-active,
    body.single-product.woocommerce #datepicker-container td.green_bg a,
    body.single-product.woocommerce #datepicker-container td.green_bg span {
        color: #fff !important;
        background: #111 !important;
        box-shadow: none !important;
    }

    /* Papildomi pasirinkimai: neutralios korteles, tamsus akcentas pasirinkus. */
    body.single-product.woocommerce .woo_other_info.d-block.d-md-none {
        display: grid !important;
        gap: 10px;
        margin-top: 16px !important;
        padding: 16px !important;
        border-color: var(--sp-product-line);
        background: #fff !important;
    }

    body.single-product.woocommerce .woo_other_info.d-block.d-md-none .opt_header {
        margin: 0 0 2px;
        color: var(--sp-product-ink);
        font-size: 15px;
        font-weight: 700;
    }

    body.single-product.woocommerce .woo_other_info.d-block.d-md-none .opt_block {
        display: block;
        width: 100%;
        margin: 0 !important;
        padding: 0;
    }

    body.single-product.woocommerce .woo_other_info.d-block.d-md-none .opt_block .form-check-label {
        display: grid;
        grid-template-columns: 24px 58px minmax(0, 1fr);
        gap: 11px;
        width: 100%;
        min-height: 76px;
        align-items: center;
        margin: 0;
        padding: 8px 11px;
        border: 1px solid var(--sp-product-line);
        border-radius: 13px;
        color: var(--sp-product-ink);
        background: #fff;
        cursor: pointer;
        transition: border-color 0.18s ease, box-shadow 0.18s ease,
                    transform 0.18s ease;
    }

    body.single-product.woocommerce .woo_other_info.d-block.d-md-none .opt_block .form-check-label:has(.opt_box:checked) {
        border-color: #3e914c;
        box-shadow: 0 0 0 3px rgba(62, 145, 76, 0.16),
                    0 8px 22px rgba(38, 63, 40, 0.10);
    }

    body.single-product.woocommerce .woo_other_info.d-block.d-md-none .opt_box {
        display: grid !important;
        width: 22px !important;
        min-width: 22px !important;
        height: 22px !important;
        min-height: 22px !important;
        place-content: center;
        margin: 0 !important;
        padding: 0 !important;
        border: 2px solid #b6bcb8 !important;
        border-radius: 50% !important;
        appearance: none;
        -webkit-appearance: none;
        background: #fff !important;
        box-shadow: none !important;
        cursor: pointer;
    }

    body.single-product.woocommerce .woo_other_info.d-block.d-md-none .opt_box::before {
        content: '';
        width: 6px;
        height: 11px;
        border-right: 2px solid #fff;
        border-bottom: 2px solid #fff;
        opacity: 0;
        transform: translateY(-1px) rotate(45deg) scale(0.5);
        transition: opacity 0.15s ease, transform 0.15s ease;
    }

    body.single-product.woocommerce .woo_other_info.d-block.d-md-none .opt_box:checked {
        border-color: #3e914c !important;
        background: #3e914c !important;
        box-shadow: 0 0 0 5px rgba(62, 145, 76, 0.14) !important;
    }

    body.single-product.woocommerce .woo_other_info.d-block.d-md-none .opt_box:checked::before {
        opacity: 1;
        transform: translateY(-1px) rotate(45deg) scale(1);
    }

    body.single-product.woocommerce .woo_other_info.d-block.d-md-none .opt_block img {
        width: 58px;
        height: 58px;
        margin: 0;
        border-radius: 10px;
        object-fit: cover;
    }

    body.single-product.woocommerce .woo_other_info.d-block.d-md-none .opt_block span {
        min-width: 0;
        font-size: 14px;
        line-height: 1.35;
    }

    /* Originali suvestine paliekama gyva, tik tampa fiksuota apatine juosta. */
    body.single-product.woocommerce .add_btn_wrap {
        position: fixed !important;
        z-index: 1100;
        right: 12px;
        bottom: max(10px, env(safe-area-inset-bottom));
        left: 12px;
        display: grid;
        width: auto !important;
        max-width: 430px;
        margin: 0 auto !important;
        padding: 10px !important;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 18px;
        color: #fff;
        background: rgba(7, 17, 12, 0.96) !important;
        box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    body.single-product.woocommerce .add_btn_wrap .opt_header {
        margin: 0 0 5px;
        color: #fff;
        font-size: 13px;
        font-weight: 700;
        line-height: 1.2;
    }

    body.single-product.woocommerce .add_btn_wrap .order_summary {
        width: 100%;
        max-width: none;
        margin: 0 0 8px;
        padding: 0;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.09);
    }

    body.single-product.woocommerce .add_btn_wrap .order_summary table,
    body.single-product.woocommerce .add_btn_wrap .order_summary tbody {
        display: block;
        width: 100%;
        margin: 0;
    }

    body.single-product.woocommerce .add_btn_wrap .order_summary tbody {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.single-product.woocommerce .add_btn_wrap .order_summary tr {
        display: flex;
        min-width: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 6px 4px;
        border: 0 !important;
    }

    body.single-product.woocommerce .add_btn_wrap .order_summary tr + tr {
        border-left: 1px solid rgba(255, 255, 255, 0.15) !important;
    }

    body.single-product.woocommerce .add_btn_wrap .order_summary th,
    body.single-product.woocommerce .add_btn_wrap .order_summary td {
        display: block;
        width: 100%;
        padding: 1px 2px;
        overflow: hidden;
        color: #fff;
        font-size: 11px;
        line-height: 1.2;
        text-align: center;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.single-product.woocommerce .add_btn_wrap .order_summary td {
        margin-top: 2px;
        font-size: 14px;
        font-weight: 700;
    }

    body.single-product.woocommerce .add_btn_wrap .dummy_add_to_cart_button,
    body.single-product.woocommerce .add_btn_wrap .single_add_to_cart_button {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 46px !important;
        margin: 0 !important;
        padding: 11px 16px !important;
        border: 0 !important;
        border-radius: 12px !important;
        color: #000 !important;
        background: #fff !important;
        font-size: 15px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        text-align: center;
        text-transform: uppercase;
        box-shadow: none !important;
    }

    body.single-product.woocommerce .add_btn_wrap .single_add_to_cart_button {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        min-height: 1px !important;
        overflow: hidden !important;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        white-space: nowrap;
    }

    /* Apatinis produkto turinys: aprasymas, lentele ir susije planai. */
    body.single-product.woocommerce .woocommerce-tabs,
    body.single-product.woocommerce .related.products,
    body.single-product.woocommerce .upsells.products {
        clear: both;
        width: 100%;
        margin: 28px auto 0 !important;
        padding: 0 var(--sp-product-gutter) !important;
    }

    body.single-product.woocommerce .woocommerce-tabs ul.tabs {
        display: none !important;
        gap: 8px;
        margin: 0 0 18px !important;
        padding: 0 !important;
        overflow-x: auto;
        border: 0 !important;
        background: transparent !important;
        scrollbar-width: none;
    }

    body.single-product.woocommerce .woocommerce-tabs ul.tabs::-webkit-scrollbar {
        display: none;
    }

    body.single-product.woocommerce .woocommerce-tabs ul.tabs li {
        flex: 0 0 auto;
        margin: 0 !important;
        padding: 0 !important;
        border: 1px solid var(--sp-product-line) !important;
        border-radius: 999px !important;
        background: #fff !important;
    }

    body.single-product.woocommerce .woocommerce-tabs ul.tabs li.active {
        color: #fff !important;
        background: var(--sp-product-green) !important;
    }

    body.single-product.woocommerce .woocommerce-tabs ul.tabs li a {
        padding: 10px 16px !important;
        color: inherit !important;
        white-space: nowrap;
    }

    body.single-product.woocommerce .woocommerce-tabs .panel {
        margin: 0 !important;
        padding: 20px !important;
        border-radius: var(--sp-product-radius);
        background: var(--sp-product-paper);
        font-size: 15px;
        line-height: 1.65;
    }

    body.single-product.woocommerce #tab-title-additional_information,
    body.single-product.woocommerce #tab-additional_information {
        display: none !important;
    }

    body.single-product.woocommerce .related.products > h2,
    body.single-product.woocommerce .upsells.products > h2 {
        margin-bottom: 20px;
        color: var(--sp-product-ink);
        font-size: 28px;
        line-height: 1.1;
        text-align: center;
    }

    body.single-product.woocommerce .related.products ul.products,
    body.single-product.woocommerce .upsells.products ul.products {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    body.single-product.woocommerce .related.products ul.products li.product,
    body.single-product.woocommerce .upsells.products ul.products li.product {
        width: 100% !important;
        margin: 0 !important;
        padding: 12px !important;
        overflow: hidden;
        border: 1px solid var(--sp-product-line);
        border-radius: var(--sp-product-radius);
        background: #fff;
        box-shadow: none;
    }

    body.single-product.woocommerce .related.products ul.products li.product img,
    body.single-product.woocommerce .upsells.products ul.products li.product img {
        border-radius: 12px;
    }

    /* Savaites meniu: viena diena centre, patiekalai slenkami horizontaliai. */
    body.single-product.woocommerce .product_related_block .xmlfeed_heading {
        margin: 0;
        padding: 42px var(--sp-product-gutter) 18px;
        color: var(--sp-product-ink);
        background: #fff;
        font-size: clamp(27px, 7.5vw, 34px);
        font-weight: 700;
        line-height: 1.12;
        text-align: center;
        text-wrap: balance;
    }

    body.single-product.woocommerce .product_related_block .xmlfeed-post-display {
        margin: 0;
        padding: 18px 0 28px;
        overflow: hidden;
        background: var(--sp-product-paper);
    }

    body.single-product.woocommerce .product_related_block .menufeed_nav {
        margin: 0 0 18px;
        padding: 0 var(--sp-product-gutter);
    }

    body.single-product.woocommerce .product_related_block .menuslider-block {
        width: 100%;
        max-width: 330px;
        margin: 0 auto;
        padding: 0 48px;
        overflow: visible;
    }

    body.single-product.woocommerce .product_related_block .menuslider-container {
        overflow: hidden;
        border-radius: 13px;
    }

    body.single-product.woocommerce .product_related_block .menuslider-wrapper {
        width: 100% !important;
        padding: 0;
        transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    }

    body.single-product.woocommerce .product_related_block .menuslide {
        width: 100%;
        flex: 0 0 100%;
        align-items: stretch;
    }

    body.single-product.woocommerce .product_related_block .weekly-date-label {
        min-height: 62px;
        justify-content: center;
        margin: 0;
        padding: 9px 12px;
        border: 1px solid var(--sp-product-line);
        border-radius: 13px;
        color: var(--sp-product-ink);
        background: #fff;
        box-shadow: 0 7px 20px rgba(7, 17, 12, 0.06);
    }

    body.single-product.woocommerce .product_related_block .weekly-date-label.is-active {
        border-color: #111;
        box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08),
                    0 8px 22px rgba(7, 17, 12, 0.09);
    }

    body.single-product.woocommerce .product_related_block .weekly-date-label span:first-child {
        color: var(--sp-product-ink);
        font-size: 15px;
        font-weight: 700;
        line-height: 1.2;
    }

    body.single-product.woocommerce .product_related_block .weekly-date-label span:last-child {
        margin-top: 4px;
        color: #727772;
        font-size: 11px;
        line-height: 1.2;
    }

    body.single-product.woocommerce .product_related_block #prevBtnMenu,
    body.single-product.woocommerce .product_related_block #nextBtnMenu {
        top: 50%;
        display: grid;
        width: 40px;
        height: 40px;
        place-items: center;
        padding: 0;
        border: 1px solid var(--sp-product-line);
        border-radius: 50%;
        color: #fff;
        background: #111;
        box-shadow: 0 7px 18px rgba(0, 0, 0, 0.14);
        font-size: 17px;
        line-height: 1;
        text-decoration: none;
        transform: translateY(-50%);
    }

    body.single-product.woocommerce .product_related_block #prevBtnMenu {
        left: 0;
    }

    body.single-product.woocommerce .product_related_block #nextBtnMenu {
        right: 0;
    }

    body.single-product.woocommerce .product_related_block .feed_week.show {
        display: block;
        width: 100%;
    }

    body.single-product.woocommerce .product_related_block .dayitem.show {
        display: flex !important;
        width: 100%;
        flex-wrap: nowrap !important;
        gap: 12px;
        margin: 0;
        padding: 2px var(--sp-product-gutter) 16px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-padding-inline: var(--sp-product-gutter);
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
    }

    body.single-product.woocommerce .product_related_block .dayitem.show::-webkit-scrollbar {
        display: none;
    }

    body.single-product.woocommerce .product_related_block .dayitem.show > div {
        width: min(82vw, 320px) !important;
        max-width: min(82vw, 320px) !important;
        flex: 0 0 min(82vw, 320px) !important;
        margin: 0 !important;
        padding: 0 !important;
        scroll-snap-align: center;
    }

    body.single-product.woocommerce .product_related_block .dayitem .card {
        width: 100%;
        min-height: 310px;
        padding: 20px !important;
        overflow: hidden;
        border: 1px solid var(--sp-product-line) !important;
        border-radius: var(--sp-product-radius);
        background: #fff;
        box-shadow: 0 10px 28px rgba(7, 17, 12, 0.07);
    }

    body.single-product.woocommerce .product_related_block .dayitem .card-body {
        display: flex;
        min-height: 268px;
        flex-direction: column;
        padding: 0 !important;
    }

    body.single-product.woocommerce .product_related_block .feed_week h5.card-title {
        display: inline-flex;
        align-self: flex-start;
        margin: 0 0 14px;
        padding: 7px 11px;
        border-radius: 999px;
        color: #fff;
        background: #111;
        font-size: 13px;
        font-weight: 700;
        line-height: 1;
    }

    body.single-product.woocommerce .product_related_block .feed_week h6.card-title {
        margin: 0 0 12px !important;
        color: var(--sp-product-ink);
        font-size: 18px;
        font-weight: 700;
        line-height: 1.25;
    }

    body.single-product.woocommerce .product_related_block .dayitem .card-text {
        min-height: 0;
        margin: 0 0 16px;
        color: #454945;
        font-size: 13px;
        line-height: 1.45;
    }

    body.single-product.woocommerce .product_related_block .dayitem .card-body > p:not(.card-text) {
        margin: auto 0 12px;
        padding: 10px 11px;
        border-radius: 10px;
        color: #4f554f;
        background: var(--sp-product-paper);
        font-size: 11px;
        line-height: 1.45;
    }

    body.single-product.woocommerce .product_related_block .dayitem .card-sign {
        min-height: 32px;
        align-items: center;
    }

    body.single-product.woocommerce .product_related_block .dayitem .card-sign img {
        width: 32px !important;
        max-width: 32px !important;
        height: 32px;
        object-fit: contain;
    }

    /* Atsiliepimai: tokia pati centruota karusele kaip pagrindiniame. */
    body.single-product.woocommerce .feedback_heading.has-text-align-center {
        margin: 0;
        padding: 48px var(--sp-product-gutter) 24px;
        color: var(--sp-product-ink);
        background: #fff;
        font-size: clamp(28px, 8vw, 34px);
        font-weight: 700;
        line-height: 1.1;
    }

    body.single-product.woocommerce .feedback-post-display {
        --sp-product-review-width: min(82vw, 340px);
        overflow: hidden;
        padding-bottom: 42px;
        background: #fff;
    }

    body.single-product.woocommerce .feedback-post-display > div {
        position: relative;
    }

    body.single-product.woocommerce .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-product-review-width)) / 2) 24px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-padding-inline: var(--sp-product-gutter);
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        scroll-behavior: smooth;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
    }

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

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

    body.single-product.woocommerce .feedback-post-display .jcarousel-list-item:nth-child(even) {
        background: #2a5035 !important;
    }

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

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

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

    body.single-product.woocommerce .feedback-post-display .cpd-post-details {
        display: none;
    }

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

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

    body.single-product.woocommerce .feedback-post-display .nav-chevron-left,
    body.single-product.woocommerce .feedback-post-display .nav-chevron-right {
        position: absolute;
        z-index: 5;
        top: 50%;
        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%;
        color: #fff;
        background: rgba(7, 17, 12, 0.24);
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
        cursor: pointer;
        transform: translateY(-50%);
        backdrop-filter: blur(7px);
        -webkit-backdrop-filter: blur(7px);
    }

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

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

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

    /* Mobilus meniu identiskas pagrindinio puslapio stalciui. */
    body.single-product.woocommerce #masthead #site-navigation #main-menu {
        padding: 20px 0 24px !important;
    }

    body.single-product.woocommerce #masthead #main-menu > .padder,
    body.single-product.woocommerce #masthead #main-menu .menu-menu-1-container,
    body.single-product.woocommerce #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.single-product.woocommerce #masthead #main-menu > .padder {
        min-height: 0 !important;
        padding: 0 22px !important;
    }

    body.single-product.woocommerce #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.single-product.woocommerce #masthead #main-menu .branding {
        display: block !important;
        width: 100% !important;
        height: 52px !important;
        margin: 0 0 20px !important;
        text-align: left;
    }

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

    body.single-product.woocommerce #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.single-product.woocommerce #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.single-product.woocommerce #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.single-product.woocommerce #masthead #main-menu .search-button {
        display: none !important;
    }

    body.single-product.woocommerce #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.single-product.woocommerce #masthead #main-menu .account-link {
        position: static !important;
        top: auto !important;
        flex: 1 1 auto;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.single-product.woocommerce #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.single-product.woocommerce #masthead #main-menu .header-cart {
        width: 48px !important;
        height: 48px !important;
        flex: 0 0 48px;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.single-product.woocommerce #masthead #main-menu .header-cart-contents,
    body.single-product.woocommerce #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.single-product.woocommerce #masthead #main-menu .header-cart-checkout .fa {
        padding: 0 !important;
        color: #07110c !important;
        font-size: 18px !important;
    }

    body.single-product.woocommerce #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;
        color: #fff;
        background: #e9364f;
        font-size: 12px;
        line-height: 1;
    }

    body.single-product.woocommerce #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.single-product.woocommerce #masthead #main-menu .close-button i {
        color: #07110c !important;
        font-size: 20px !important;
    }

    /* 1.3.0: produkto formos ir savaites meniu vizualinis patikslinimas. */

    /* TIKSLAS korteles mobiliajame produkto puslapyje nerodome. */
    body.single-product.woocommerce .woo_product_media_wrap
    > .woocommerce-product-gallery + .woo_other_info {
        display: none !important;
    }

    /* Taisyklingas apskritas indikatorius ir CSS nupiesta varnele. */
    body.single-product.woocommerce label.btn.plan_type,
    body.single-product.woocommerce label.btn.plan_reco {
        position: relative;
    }

    body.single-product.woocommerce .btn-check:checked + label.btn.plan_type::before,
    body.single-product.woocommerce .btn-check:checked + label.btn.plan_reco::before,
    body.single-product.woocommerce label.btn.plan_active::before {
        content: '';
        border-color: #3e914c;
        background: #3e914c;
        box-shadow: 0 0 0 5px rgba(62, 145, 76, 0.14);
    }

    body.single-product.woocommerce .btn-check:checked + label.btn.plan_type::after,
    body.single-product.woocommerce .btn-check:checked + label.btn.plan_reco::after,
    body.single-product.woocommerce label.btn.plan_active::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 27px;
        width: 6px;
        height: 10px;
        border-right: 2px solid #fff;
        border-bottom: 2px solid #fff;
        transform: translate(-50%, -62%) rotate(45deg);
    }

    /* Sviesus, modernesnis kalendorius su atskirais dienu mygtukais. */
    body.single-product.woocommerce #datepicker-container {
        padding: 10px;
        border: 0;
        border-radius: 16px;
        background: #f7f4ef;
        box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.08);
    }

    body.single-product.woocommerce #datepicker-container .ui-datepicker {
        padding: 0;
        border: 0;
        background: transparent;
    }

    body.single-product.woocommerce #datepicker-container .ui-datepicker-header {
        min-height: 48px;
        margin-bottom: 8px;
        padding: 13px 46px;
        border-bottom: 1px solid rgba(17, 17, 17, 0.09);
        border-radius: 11px;
        color: #171713;
        background: #fff;
    }

    body.single-product.woocommerce #datepicker-container .ui-datepicker-title {
        font-family: "Rubik", Arial, sans-serif;
        font-size: 16px;
        font-weight: 700;
        line-height: 1.2;
    }

    body.single-product.woocommerce #datepicker-container .ui-datepicker-prev,
    body.single-product.woocommerce #datepicker-container .ui-datepicker-next {
        border-color: rgba(17, 17, 17, 0.12);
        color: #171713;
        background: #f4f1ec !important;
    }

    body.single-product.woocommerce #datepicker-container .ui-datepicker-prev::before,
    body.single-product.woocommerce #datepicker-container .ui-datepicker-next::before {
        color: #171713;
    }

    body.single-product.woocommerce #datepicker-container .ui-datepicker-calendar thead th {
        padding: 7px 2px;
        color: #77736d;
        font-family: "Rubik", Arial, sans-serif;
        font-size: 11px;
        font-weight: 700;
    }

    body.single-product.woocommerce #datepicker-container .ui-datepicker-calendar td {
        padding: 3px;
    }

    body.single-product.woocommerce #datepicker-container td a,
    body.single-product.woocommerce #datepicker-container td span {
        width: 36px;
        min-height: 36px;
        border-radius: 10px;
        color: #282822;
        background: #fff;
        box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.07);
        font-family: "Rubik", Arial, sans-serif;
        font-size: 13px;
        font-weight: 600;
        transition: transform 0.16s ease, box-shadow 0.16s ease,
                    background-color 0.16s ease;
    }

    body.single-product.woocommerce #datepicker-container td a:active {
        transform: scale(0.93);
    }

    body.single-product.woocommerce #datepicker-container td.ui-datepicker-today a,
    body.single-product.woocommerce #datepicker-container td.ui-datepicker-today span {
        box-shadow: inset 0 0 0 2px #d36a40;
    }

    body.single-product.woocommerce #datepicker-container td .ui-state-active,
    body.single-product.woocommerce #datepicker-container td.green_bg a,
    body.single-product.woocommerce #datepicker-container td.green_bg span {
        color: #fff !important;
        background: #24231f !important;
        box-shadow: 0 6px 14px rgba(36, 35, 31, 0.2) !important;
        transform: translateY(-1px);
    }

    body.single-product.woocommerce #datepicker-container td.ui-state-disabled {
        opacity: 0.32;
    }

    /* Savaites meniu centruojamas ir naudoja silta neutralia palete. */
    body.single-product.woocommerce .product_related_block .xmlfeed-post-display {
        background: #f4efe7;
    }

    body.single-product.woocommerce .product_related_block .menuslider-block {
        max-width: 100%;
        padding: 0 58px;
    }

    body.single-product.woocommerce .product_related_block .menuslider-container {
        width: 100%;
        max-width: 190px;
        margin: 0 auto;
    }

    body.single-product.woocommerce .product_related_block .weekly-date-label {
        width: 100%;
        max-width: none;
        border-color: #dfcdbd;
        background: #fffaf4;
        box-shadow: 0 7px 20px rgba(91, 62, 39, 0.08);
    }

    body.single-product.woocommerce .product_related_block .weekly-date-label.is-active {
        border-color: #c95f36;
        box-shadow: 0 0 0 3px rgba(201, 95, 54, 0.12),
                    0 8px 22px rgba(91, 62, 39, 0.1);
    }

    body.single-product.woocommerce .product_related_block #prevBtnMenu,
    body.single-product.woocommerce .product_related_block #nextBtnMenu {
        color: #fff;
        background: #292722;
    }

    body.single-product.woocommerce .product_related_block #prevBtnMenu {
        left: 8px;
    }

    body.single-product.woocommerce .product_related_block #nextBtnMenu {
        right: 8px;
    }

    body.single-product.woocommerce .product_related_block .dayitem .card {
        border-color: #e5d5c6 !important;
        background: #fffaf4;
        box-shadow: 0 10px 28px rgba(91, 62, 39, 0.08);
    }

    body.single-product.woocommerce .product_related_block .feed_week h5.card-title {
        background: #c95f36;
    }

    body.single-product.woocommerce .product_related_block .dayitem .card-text {
        color: #28241f;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.5;
    }

    body.single-product.woocommerce .product_related_block .dayitem .card-text b,
    body.single-product.woocommerce .product_related_block .dayitem .card-text strong {
        color: #9c4021;
        font-weight: 800;
    }

    body.single-product.woocommerce .product_related_block .dayitem .card-body > p:not(.card-text) {
        color: #5a5149;
        background: #f1e8df;
    }

    /* Apatineje juostoje paliekame tik skaicius ir pagrindini veiksma. */
    body.single-product.woocommerce .add_btn_wrap .opt_header {
        display: none !important;
    }

    body.single-product.woocommerce .add_btn_wrap .dummy_add_to_cart_button,
    body.single-product.woocommerce .add_btn_wrap .single_add_to_cart_button {
        font-family: "Rubik", Arial, sans-serif !important;
        font-weight: 700 !important;
        letter-spacing: 0.01em !important;
    }

    body.single-product.woocommerce .add_btn_wrap .order_summary th,
    body.single-product.woocommerce .add_btn_wrap .order_summary td {
        font-family: "Rubik", Arial, sans-serif !important;
    }
}

/*
 * 1.4.2 neutrali mobili palete.
 * Struktura, tarpai, meniu ir produkto valdymo logika nekeiciami.
 */
@media screen and (max-width: 960px) {
    body.single-product.woocommerce {
        --sp-product-ink: #111;
        --sp-product-green: #222;
        --sp-product-green-soft: #f2f0eb;
        --sp-product-paper: #f5f3ef;
        --sp-product-line: rgba(17, 17, 17, 0.12);
    }

    body.single-product.woocommerce .woo_other_info {
        border-color: var(--sp-product-line);
    }

    body.single-product.woocommerce .btn-check:checked + label.btn.plan_type,
    body.single-product.woocommerce .btn-check:checked + label.btn.plan_reco,
    body.single-product.woocommerce label.btn.plan_active {
        border-color: #222 !important;
        box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.1),
                    0 7px 20px rgba(0, 0, 0, 0.09) !important;
    }

    body.single-product.woocommerce .btn-check:checked + label.btn.plan_type::before,
    body.single-product.woocommerce .btn-check:checked + label.btn.plan_reco::before,
    body.single-product.woocommerce label.btn.plan_active::before {
        border-color: #222 !important;
        background: #222 !important;
        box-shadow: 0 0 0 5px rgba(17, 17, 17, 0.11) !important;
    }

    body.single-product.woocommerce .woo_other_info.d-block.d-md-none
    .opt_block .form-check-label:has(.opt_box:checked) {
        border-color: #222;
        box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.1),
                    0 8px 22px rgba(0, 0, 0, 0.09);
    }

    body.single-product.woocommerce .woo_other_info.d-block.d-md-none .opt_box:checked {
        border-color: #222 !important;
        background: #222 !important;
        box-shadow: 0 0 0 5px rgba(17, 17, 17, 0.11) !important;
    }

    body.single-product.woocommerce .add_btn_wrap {
        background: rgba(17, 17, 17, 0.97) !important;
    }

    body.single-product.woocommerce .feedback-post-display
    .cpd-inner-block .jcarousel-list-item {
        background: #252525 !important;
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.15);
    }

    body.single-product.woocommerce .feedback-post-display
    .jcarousel-list-item:nth-child(even) {
        background: #3b3b3b !important;
    }

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

    body.single-product.woocommerce #masthead #main-menu ul.menu > li,
    body.single-product.woocommerce #masthead #main-menu .wc_shop {
        border-color: rgba(17, 17, 17, 0.12);
    }

    body.single-product.woocommerce #masthead #main-menu ul.menu > li > a,
    body.single-product.woocommerce #masthead #main-menu .account-link > a,
    body.single-product.woocommerce #masthead #main-menu .header-cart-contents,
    body.single-product.woocommerce #masthead #main-menu .header-cart-checkout,
    body.single-product.woocommerce #masthead #main-menu .header-cart-checkout .fa,
    body.single-product.woocommerce #masthead #main-menu .close-button i {
        color: #111 !important;
    }

    body.single-product.woocommerce #masthead #main-menu .account-link > a,
    body.single-product.woocommerce #masthead #main-menu .header-cart-contents,
    body.single-product.woocommerce #masthead #main-menu .header-cart-checkout {
        border-color: #111;
    }

    body.single-product.woocommerce #masthead #main-menu .close-button,
    body.single-product.woocommerce #masthead #main-menu .header-cart-contents,
    body.single-product.woocommerce #masthead #main-menu .header-cart-checkout {
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        line-height: 0 !important;
    }

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

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

    body.single-product.woocommerce #masthead #main-menu .close-button::before,
    body.single-product.woocommerce #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.single-product.woocommerce #masthead #main-menu .close-button::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

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

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

    body.single-product.woocommerce #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;
    }

    body.single-product.woocommerce #masthead #main-menu > .padder,
    body.single-product.woocommerce #masthead #main-menu .main-navigation-inner {
        height: 100% !important;
        min-height: 100% !important;
        box-sizing: border-box;
    }

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

    /* Kompaktiskas produkto aprasymo akordeonas. */
    body.single-product.woocommerce .woocommerce-tabs {
        margin-top: 8px !important;
    }

    body.single-product.woocommerce div.product {
        padding-bottom: 0 !important;
    }

    /* Tuscia cart forma laiko fiksuota krepselio juosta, todel jai nereikia
       darbastalio temos vertikaliu parašciu puslapio sraute. */
    body.single-product.woocommerce div.product div.summary form.cart {
        min-height: 0 !important;
        height: 1px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.single-product.woocommerce .sp-product-description-toggle {
        position: relative;
        display: flex;
        width: 100%;
        min-height: 52px;
        align-items: center;
        justify-content: space-between;
        margin: 0;
        padding: 13px 48px 13px 16px;
        border: 1px solid var(--sp-product-line);
        border-radius: 14px;
        color: #111;
        background: #fff;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
        font-family: "Rubik", Arial, sans-serif;
        font-size: 17px;
        font-weight: 700;
        line-height: 1.2;
        text-align: left;
        cursor: pointer;
    }

    body.single-product.woocommerce .sp-product-description-toggle[hidden] {
        display: none !important;
    }

    body.single-product.woocommerce .sp-product-description-toggle::after {
        content: '';
        position: absolute;
        top: 50%;
        right: 19px;
        width: 9px;
        height: 9px;
        border-right: 2px solid #111;
        border-bottom: 2px solid #111;
        transform: translateY(-70%) rotate(45deg);
        transition: transform 0.2s ease;
    }

    body.single-product.woocommerce
    .sp-product-description-toggle[aria-expanded='true'] {
        border-radius: 14px 14px 0 0;
        background: #f3f1ec;
        box-shadow: none;
    }

    body.single-product.woocommerce
    .sp-product-description-toggle[aria-expanded='true']::after {
        transform: translateY(-30%) rotate(225deg);
    }

    body.single-product.woocommerce .sp-product-description-panel[hidden] {
        display: none !important;
    }

    body.single-product.woocommerce .woocommerce-tabs
    .sp-product-description-panel {
        margin: 0 !important;
        padding: 14px 16px 16px !important;
        border: 1px solid var(--sp-product-line);
        border-top: 0;
        border-radius: 0 0 14px 14px;
        background: #faf9f6;
        font-size: 14px;
        line-height: 1.5;
    }

    body.single-product.woocommerce .sp-product-description-panel > h2 {
        display: none !important;
    }

    body.single-product.woocommerce .sp-product-description-panel p,
    body.single-product.woocommerce .sp-product-description-panel ul,
    body.single-product.woocommerce .sp-product-description-panel hr {
        margin-top: 8px !important;
        margin-bottom: 8px !important;
    }

    /* Ikonu reiksmes: mazesnis, neutralus ir aiskiai nuo meniu atskirtas blokas. */
    body.single-product.woocommerce .foodlabel-post-display {
        margin: 18px 0 0 !important;
        padding: 24px 14px 22px !important;
        border-top: 1px solid var(--sp-product-line);
        border-bottom: 1px solid var(--sp-product-line);
        background: #f3f1ec !important;
    }

    body.single-product.woocommerce .foodlabel-post-display
    .cpd-inner-block-title {
        width: 100%;
        max-width: 280px;
        margin: 0 auto 18px !important;
        padding: 0 !important;
        color: #111;
        font-size: clamp(20px, 6.4vw, 22px);
        font-weight: 700;
        line-height: 1.08;
        text-align: center;
        text-wrap: balance;
        overflow-wrap: anywhere;
    }

    body.single-product.woocommerce .foodlabel-post-display .cpd-inner-block {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px 6px;
    }

    body.single-product.woocommerce .foodlabel-post-display .jcarousel-list-item {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 2px !important;
    }

    body.single-product.woocommerce .foodlabel-post-display .cpdbg_img {
        width: 56px;
        max-width: 56px;
        height: 56px;
        max-height: 56px;
        margin: 0 auto;
        padding-top: 0;
        background-position: center;
        background-repeat: no-repeat;
    }

    body.single-product.woocommerce .foodlabel-post-display
    .cpd-post-content h3 {
        min-height: 24px;
        margin: 7px 0 0 !important;
        color: #111;
        font-size: 10px;
        font-weight: 600;
        line-height: 1.15;
    }

    /* Rinkinio meniu vel neutralus, bet tankesnis ir su stipresne hierarchija. */
    body.single-product.woocommerce .product_related_block .xmlfeed_heading {
        margin: 0 !important;
        padding: 28px var(--sp-product-gutter) 16px !important;
        border-bottom: 0;
        background: #f3f1ec !important;
        font-size: clamp(25px, 7vw, 30px);
    }

    body.single-product.woocommerce .product_related_block .xmlfeed-post-display {
        padding: 12px 0 20px !important;
        border-bottom: 1px solid var(--sp-product-line);
        background: #f3f1ec !important;
    }

    body.single-product.woocommerce .product_related_block .menufeed_nav {
        margin-bottom: 12px !important;
        padding: 0 14px !important;
    }

    body.single-product.woocommerce .product_related_block .menuslider-block {
        max-width: 330px;
        padding: 0 46px;
    }

    body.single-product.woocommerce .product_related_block .menuslider-container {
        max-width: 204px;
    }

    body.single-product.woocommerce .product_related_block .weekly-date-label {
        min-height: 54px;
        padding: 7px 10px;
        border-color: #c9c5bd;
        border-radius: 11px;
        background: #fff !important;
        box-shadow: none;
    }

    body.single-product.woocommerce
    .product_related_block .weekly-date-label.is-active {
        border-color: #111;
        box-shadow: 0 0 0 2px rgba(17, 17, 17, 0.1);
    }

    body.single-product.woocommerce .product_related_block #prevBtnMenu,
    body.single-product.woocommerce .product_related_block #nextBtnMenu {
        width: 36px;
        height: 36px;
        border: 0;
        color: #fff;
        background: #222;
        box-shadow: 0 5px 14px rgba(0, 0, 0, 0.13);
    }

    body.single-product.woocommerce .product_related_block #prevBtnMenu {
        left: 3px;
    }

    body.single-product.woocommerce .product_related_block #nextBtnMenu {
        right: 3px;
    }

    body.single-product.woocommerce .product_related_block .dayitem.show {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        padding: 0 14px 12px;
        overflow: visible;
        scroll-snap-type: none;
    }

    body.single-product.woocommerce .product_related_block .dayitem.show > div {
        width: 100% !important;
        max-width: none !important;
        flex: none !important;
        scroll-snap-align: none;
    }

    body.single-product.woocommerce .product_related_block .dayitem .card {
        min-height: 0;
        padding: 16px !important;
        border-color: #cbc7bf !important;
        border-radius: 14px;
        background: #fff !important;
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07);
    }

    body.single-product.woocommerce .product_related_block .dayitem .card-body {
        min-height: 0;
    }

    body.single-product.woocommerce .product_related_block
    .feed_week h5.card-title {
        margin-bottom: 10px;
        padding: 6px 10px;
        color: #fff;
        background: #111;
        font-size: 12px;
        letter-spacing: 0.01em;
    }

    body.single-product.woocommerce .product_related_block
    .feed_week h6.card-title {
        margin-bottom: 8px !important;
        color: #111;
        font-size: 17px;
        line-height: 1.2;
    }

    body.single-product.woocommerce .product_related_block .dayitem .card-text {
        margin-bottom: 10px;
        color: #4a4742;
        font-size: 13px;
        font-weight: 400;
        line-height: 1.4;
    }

    body.single-product.woocommerce .product_related_block .dayitem .card-text b,
    body.single-product.woocommerce .product_related_block .dayitem .card-text strong {
        color: #111;
        font-weight: 800;
    }

    body.single-product.woocommerce .product_related_block
    .dayitem .card-body > p:not(.card-text) {
        margin: 2px 0 8px;
        padding: 8px 9px;
        border: 1px solid rgba(17, 17, 17, 0.08);
        border-radius: 7px;
        color: #383633;
        background: #efede8;
        font-size: 10px;
        font-weight: 600;
        line-height: 1.35;
    }

    /* Kalendoriaus instrukcija: neutrali, lengvai skaitoma kortele. */
    body.single-product.woocommerce #messageContainer.message-container {
        top: 78px !important;
        right: 16px !important;
        bottom: auto !important;
        left: 16px !important;
        width: auto !important;
        max-width: 390px !important;
        margin: 0 auto !important;
        color: #111 !important;
        font-family: "Rubik", Arial, sans-serif !important;
        transform: none !important;
    }

    body.single-product.woocommerce #messageContainer:not(:has(.alert.show)),
    body.single-product.woocommerce #messageContainer .alert:not(.show) {
        display: none !important;
    }

    body.single-product.woocommerce #messageContainer .alert {
        margin: 0 !important;
        padding: 16px 42px 15px 16px !important;
        border: 1px solid rgba(17, 17, 17, 0.12) !important;
        border-radius: 14px !important;
        color: #111 !important;
        background: #f3f1ec !important;
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16) !important;
        font-size: 13px;
        line-height: 1.45;
    }

    body.single-product.woocommerce #messageContainer .alert > .d-flex {
        display: block !important;
        margin: 0 !important;
    }

    body.single-product.woocommerce #messageContainer .alert ul {
        margin: 7px 0 0 !important;
        padding-left: 18px !important;
    }

    body.single-product.woocommerce #messageContainer .alert li + li {
        margin-top: 3px;
    }

    body.single-product.woocommerce #messageContainer .btn-close {
        top: 11px !important;
        right: 11px !important;
        width: 28px;
        height: 28px;
        padding: 0 !important;
        border: 1px solid rgba(17, 17, 17, 0.14);
        border-radius: 50%;
        background-size: 10px;
        opacity: 0.72;
    }

    body.single-product.woocommerce #messageContainer .progress {
        height: 3px !important;
        margin-top: 12px;
        overflow: hidden;
        border-radius: 999px;
        background: rgba(17, 17, 17, 0.09) !important;
    }

    body.single-product.woocommerce #messageContainer .progress-bar {
        background-color: #111 !important;
        background-image: none !important;
        opacity: 0.72;
    }

    /* Kalendoriaus pasirinkta diena nebeturi atskiro juodo aktyvaus stiliaus. */
    body.single-product.woocommerce #datepicker-container td .ui-state-active,
    body.single-product.woocommerce #datepicker-container td.green_bg a,
    body.single-product.woocommerce #datepicker-container td.green_bg span {
        color: #111 !important;
        background: #a4e2a6 !important;
        box-shadow: none !important;
        transform: none !important;
    }

    /* Papildomi pasirinkimai: kompaktiškas žalias check ir švelni aktyvi kortelė. */
    body.single-product.woocommerce .woo_other_info.d-block.d-md-none
    .opt_block .form-check-label:has(.opt_box:checked) {
        border-color: #3e914c !important;
        background: #f1faf2 !important;
        box-shadow: 0 0 0 1px rgba(62, 145, 76, 0.16) !important;
    }

    body.single-product.woocommerce .woo_other_info.d-block.d-md-none .opt_box {
        transform: none !important;
    }

    body.single-product.woocommerce .woo_other_info.d-block.d-md-none .opt_box:checked {
        border-color: #3e914c !important;
        background: #3e914c !important;
        box-shadow: none !important;
        transform: none !important;
    }

    /* WooCommerce „įdėta į krepšelį“ pranešimas. */
    body.single-product.woocommerce .woocommerce-message {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 10px;
        width: auto !important;
        margin: 12px var(--sp-product-gutter) !important;
        padding: 14px !important;
        border: 1px solid rgba(17, 17, 17, 0.1) !important;
        border-radius: 14px !important;
        color: #111 !important;
        background: #f3f1ec !important;
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
        font-family: "Rubik", Arial, sans-serif;
        font-size: 13px;
        line-height: 1.4;
        text-align: center;
    }

    body.single-product.woocommerce .woocommerce-message::before {
        display: none !important;
    }

    body.single-product.woocommerce .woocommerce-message .button {
        display: flex !important;
        width: 100% !important;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        order: 2;
        margin: 0 !important;
        padding: 11px 16px !important;
        border: 0 !important;
        border-radius: 999px !important;
        color: #fff !important;
        background: #111 !important;
        font-size: 13px !important;
        font-weight: 600;
    }

    body.single-product.woocommerce .product_related_block .dayitem .card-sign {
        min-height: 28px;
    }

    body.single-product.woocommerce .product_related_block .dayitem .card-sign img {
        width: 28px !important;
        max-width: 28px !important;
        height: 28px;
    }

    /* Pasirinktas plano tipas gali likti zalias kaip aiskus aktyvus veiksmas. */
    body.single-product.woocommerce .btn-check:checked + label.btn.plan_type,
    body.single-product.woocommerce .btn-check:checked + label.btn.plan_reco,
    body.single-product.woocommerce label.btn.plan_active {
        border-color: #3e914c !important;
        box-shadow: 0 0 0 3px rgba(62, 145, 76, 0.14),
                    0 7px 18px rgba(0, 0, 0, 0.08) !important;
    }

    body.single-product.woocommerce .btn-check:checked + label.btn.plan_type::before,
    body.single-product.woocommerce .btn-check:checked + label.btn.plan_reco::before,
    body.single-product.woocommerce label.btn.plan_active::before {
        border-color: #3e914c !important;
        background: #3e914c !important;
        box-shadow: 0 0 0 5px rgba(62, 145, 76, 0.14) !important;
    }
}

@media screen and (max-width: 370px) {
    body.single-product.woocommerce {
        padding-bottom: 174px;
    }

    body.single-product.woocommerce .add_btn_wrap .order_summary th {
        font-size: 10px;
    }

    body.single-product.woocommerce .add_btn_wrap .order_summary td {
        font-size: 13px;
    }
}

@media screen and (max-width: 782px) {
    /* Pasibaigus JS laikmačiui nelieka nei kortelės, nei jos užimamos vietos. */
    body.single-product.woocommerce #messageContainer[hidden],
    body.single-product.woocommerce #messageContainer.sp-notice-dismissed,
    body.single-product.woocommerce #messageContainer.sp-notice-dismissed .alert {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }

    /* Tik realiai pasirinktos 10 dienų žalios; paprastos ir šiandienos dienos lieka neutralios. */
    body.single-product.woocommerce #datepicker-container
    td.ui-state-highlight {
        background: #a4e2a6 !important;
        border-radius: 8px !important;
    }

    body.single-product.woocommerce #datepicker-container
    td.ui-state-highlight > a.ui-state-default,
    body.single-product.woocommerce #datepicker-container
    td.ui-state-highlight > span.ui-state-default {
        color: #17321f !important;
        background: transparent !important;
        box-shadow: none !important;
        font-weight: 700 !important;
    }

    body.single-product.woocommerce #datepicker-container
    td:not(.ui-state-highlight) > a.ui-state-default,
    body.single-product.woocommerce #datepicker-container
    td:not(.ui-state-highlight) > span.ui-state-default {
        background: #fff !important;
        box-shadow: none !important;
    }

    body.single-product.woocommerce #datepicker-container
    td.ui-datepicker-current-day:not(.ui-state-highlight) > a.ui-state-active {
        color: #282822 !important;
        background: #fff !important;
        box-shadow: inset 0 0 0 1px #efb49b !important;
        transform: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.single-product.woocommerce *,
    body.single-product.woocommerce *::before,
    body.single-product.woocommerce *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
