@media (max-width: 767px) {
    /* Fit the 64px logo with 16px breathing room above and below, keeping the spacer in sync. */
    .woocommerce-checkout #masthead .site-header-mobile { height: auto !important; }
    .woocommerce-checkout #masthead .site-header-mobile > .spacer-mobile { height: 96px !important; }
    .woocommerce-checkout #masthead .site-header-mobile-container,
    .woocommerce-checkout #masthead .site-header-mobile .site-header-main,
    .woocommerce-checkout #masthead .site-header-mobile .site-header-main__container { height: 96px; min-height: 96px; }
    .woocommerce-checkout #content .entry-content { margin-top: 20px; }
    .woocommerce-checkout .mb-delivery-summary { margin-bottom: 12px; }
    /* Native Omnisend text is not wrapped in a span; use an inset so every line aligns. */
    .woocommerce-checkout form.checkout :is(#omnisend_newsletter_checkbox_field, #omnisend_sms_checkbox_field) { margin: 0 0 16px; }
    .woocommerce-checkout form.checkout :is(#omnisend_newsletter_checkbox_field, #omnisend_sms_checkbox_field) label.checkbox {
        position: relative;
        display: block;
        box-sizing: border-box;
        min-height: 48px;
        padding: 12px 0 12px 36px;
        margin: 0;
        font-size: 16px;
        line-height: 24px;
        cursor: pointer;
    }
    .woocommerce-checkout form.checkout :is(#omnisend_newsletter_checkbox, #omnisend_sms_checkbox) {
        position: absolute;
        top: 12px;
        left: 0;
        float: none;
        width: 24px;
        height: 24px;
        margin: 0;
        accent-color: #936149;
    }
    .woocommerce-checkout #order_comments { min-height: 96px; height: 96px; }

    /* Product sections already supply breathing room; repeated spacer IDs doubled it. */
    .home .entry-content > .agni-block-columns:has(.agni-block-products) { padding-block: 32px; margin-block: 0; }
    .home .entry-content > .agni-block-spacer:is(.agni-block-1787739629624, .agni-block-1787739629632) { display: none; }
    .home .entry-content > .agni-block-spacer.agni-block-1787739629651 { height: 24px; padding: 0; margin: 0; }

    /* Keep the existing school campaign image and links, with copy on its own surface. */
    .home .agni-block-1787739629631 { flex-direction: column; }
    .home .agni-block-1787739629631 > .agni-block-columns__background { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 16 / 9; }
    .home .agni-block-1787739629631 > .agni-block-columns__background .agni-block-columns__background--image { inset: 0; background-position: right center; background-size: cover; }
    .home .agni-block-1787739629631 > .agni-block-columns__contents { position: relative; width: 100%; margin: 0; background: #f6eee7; }
    .home .agni-block-1787739629629 { padding: 24px; width: 100%; }
    .home .agni-block-1787739629630 { display: none; }
    .home .agni-block-1787739629625 { padding: 0; margin: 0 0 12px; }
    .home .agni-block-1787739629625 h4 { font-size: 24px; line-height: 1.25; }
    .home .agni-block-1787739629626 { margin-bottom: 16px; }
    .home .agni-block-1787739629627 .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; max-width: 100%; box-sizing: border-box; white-space: normal; text-align: center; }
    .home .agni-block-products-header { flex-wrap: wrap; gap: 12px; }
    .home .agni-block-products-header > a { min-height: 44px; display: inline-flex; align-items: center; }

    /* Homepage discovery: photos keep their full composition; copy never overlays faces. */
    .home .agni-block-banners.agni-block-1787739629662 { gap: 24px; margin-block: 0 32px; }
    .home .agni-block-1787739629662 > .agni-block-banner { padding: 0; height: auto; min-height: 0; overflow: hidden; background: #f6eee7; }
    .home .agni-block-1787739629662 .agni-block-banner__background { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 5 / 4; }
    .home .agni-block-1787739629662 .agni-block-banner__background-image { inset: 0; background-position: right center; background-size: cover; }
    .home .agni-block-1787739629662 .agni-block-banner__content { width: 100%; max-width: none; height: auto; padding: 20px; box-sizing: border-box; gap: 12px; }
    .home .agni-block-1787739629662 .agni-block-heading { margin: 0; padding: 0; }
    .home .agni-block-1787739629662 h5 { font-size: 24px; line-height: 1.25; margin: 0; }
    .home .agni-block-1787739629662 .agni-block-paragraph { display: block; margin: 0; padding: 0; }
    .home .agni-block-1787739629662 p { font-size: 16px; line-height: 1.5; margin: 0; }
    /* The second button group shares its banner's generated class; reset its padding too. */
    .home .agni-block-1787739629662 .agni-block-buttons { padding: 0; margin: 0; }
    .home .agni-block-1787739629662 .agni-block-button { width: 100%; }
    .home .agni-block-1787739629662 a.btn { width: 100%; min-height: 48px; justify-content: center; padding: 12px 16px; box-sizing: border-box; font-size: 16px; background: #222; border-color: #222; color: #fff; }

    /* Compact native category links. No JS reflow and no duplicate laundry destination. */
    .home :is(.agni-block-1787739629677, .agni-block-1787739629680) .agni-block-products-header { display: none; }
    .home :is(.agni-block-1787739629677, .agni-block-1787739629680) ul.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; margin: 0; padding: 0; }
    .home :is(.agni-block-1787739629677, .agni-block-1787739629680) li.product-category { width: auto; min-width: 0; height: auto; padding: 0; margin: 0; }
    .home :is(.agni-block-1787739629677, .agni-block-1787739629680) li.product-category > a { display: none; }
    .home :is(.agni-block-1787739629677, .agni-block-1787739629680) .category-details { display: block; height: 100%; padding: 0; margin: 0; background: #f6eee7; color: #50392e; text-align: left; }
    .home :is(.agni-block-1787739629677, .agni-block-1787739629680) .category-details > a { display: flex; align-items: center; width: 100%; min-height: 104px; height: 100%; padding: 16px; box-sizing: border-box; color: #50392e !important; text-align: left; }
    .home :is(.agni-block-1787739629677, .agni-block-1787739629680) .woocommerce-loop-category__title { margin: 0; font-size: 16px; line-height: 1.35; color: #50392e !important; text-align: left; overflow-wrap: anywhere; }
    .home :is(.agni-block-1787739629677, .agni-block-1787739629680) .count { display: block !important; width: auto; text-align: left; margin-top: 8px; font-size: 14px; font-weight: 400; color: #74513f !important; background: none; }
    .home .agni-block-1787739629674 { margin-bottom: 20px; }
    .home .agni-block-products-categories.agni-block-1787739629680 { margin-top: 12px; margin-bottom: 32px; }
    .home .agni-block-1787739629680 li.product-category:has(a[href$="/skalbimo-priemones-namams/"]) { display: none; }
    .home .agni-block-1787739629680 li.product-category:last-child { grid-column: 1 / -1; }
    .home .agni-block-1787739629662 a:focus-visible,
    .home :is(.agni-block-1787739629677, .agni-block-1787739629680) a:focus-visible { outline: 2px solid #50392e; outline-offset: -4px; }
}
