a.aj-mobile-whatsapp { display: none; }

@media (max-width: 767px) {
    .aj-mobile-contact-enabled #colophon {
        padding-bottom: calc(4rem + env(safe-area-inset-bottom));
    }

    body.aj-mobile-contact-enabled #aj-store-chat {
        bottom: calc(68px + env(safe-area-inset-bottom));
        inset-inline-end: max(12px, env(safe-area-inset-right));
    }
    body.aj-mobile-contact-enabled #aj-store-chat .aj-panel {
        max-height: calc(100dvh - 8.75rem);
    }
    a.aj-mobile-whatsapp {
        position: fixed;
        right: max(12px, env(safe-area-inset-right));
        bottom: calc(12px + env(safe-area-inset-bottom));
        z-index: 1000;
        display: inline-flex;
        min-height: 46px;
        align-items: center;
        gap: 7px;
        padding: 6px 13px;
        border: 1px solid #f4fff6;
        border-radius: 999px;
        box-shadow: 0 4px 16px #172e2340;
        background: #16633f;
        color: #fff;
        text-decoration: none;
        font: 700 14px/1.2 system-ui, sans-serif;
    }
    a.aj-mobile-whatsapp:hover { background: #104d30; color: #fff; }
    a.aj-mobile-whatsapp:focus-visible { outline: 2px solid #775622; outline-offset: 3px; color: #fff; }
    .aj-mobile-whatsapp .aj-wa-symbol {
        display: grid;
        width: 23px;
        height: 23px;
        place-items: center;
        border: 1px solid #d4f4df;
        border-radius: 50% 50% 50% 35%;
        font-size: 14px;
    }

    .acm-wrapper .acm-bar { padding: 8px 12px; gap: 8px; }
    .acm-wrapper .acm-logo-wrap { min-width: 0; }
    .acm-wrapper .acm-logo-wrap .custom-logo { max-height: 41px; width: auto; max-width: 100%; object-fit: contain; }
    .acm-wrapper .acm-actions .acm-action { min-width: 44px; min-height: 44px; }
    .acm-wrapper form.acm-search { min-width: 0; padding: 2px 4px; }
    .acm-wrapper form.acm-search input[name="s"] {
        min-width: 0;
        min-height: 44px;
        padding-block: 7px;
        font-size: 16px;
    }
    .acm-wrapper form.acm-search button, .acm-wrapper .acm-burger { min-height: 44px; min-width: 44px; }

    .home .entry-content h1 { font-size: clamp(1.7rem, 7vw, 2.2rem); line-height: 1.12; text-wrap: balance; }
    /* The storefront has an older mobile override that forces these grids to one column. */
    body.home .entry-content :is(.wp-block-handpicked-products,.wp-block-product-on-sale) ul.wc-block-grid__products,
    body.home .entry-content ul.wc-block-product-template__responsive.wc-block-product-template {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
    .home .entry-content ul.wc-block-grid__products > li,
    .home .entry-content ul.wc-block-product-template__responsive > li {
        width: auto;
        max-width: 100%;
        min-width: 0;
        flex: none;
        margin: 0;
        box-sizing: border-box;
        overflow-wrap: anywhere;
    }
    .home .entry-content ul.wc-block-grid__products .wc-block-grid__product-title,
    .home .entry-content ul.wc-block-product-template__responsive .wp-block-post-title {
        font-size: .95rem;
        line-height: 1.35;
    }
    .home .entry-content :is(.wc-block-grid__products,.wc-block-product-template__responsive) :is(.wp-block-button__link,.wc-block-components-product-button__button) {
        max-width: 100%;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 7px 9px;
        line-height: 1.25;
    }

    .woocommerce.archive .woocommerce-products-header,
    .woocommerce.archive .woocommerce-products-header .term-description { margin-bottom: 12px; }
    .woocommerce.archive .woocommerce-products-header h1 {
        margin-bottom: 10px;
        font-size: clamp(1.65rem, 7vw, 2.15rem);
        line-height: 1.17;
        overflow-wrap: anywhere;
    }
    .woocommerce.archive .woocommerce-products-header .term-description h2,
    .woocommerce.archive .woocommerce-products-header + h2 {
        margin-block: 8px;
        font-size: 1.15rem;
        line-height: 1.3;
    }
    .aj-catalog-search { margin: 0 0 15px; }
    .aj-catalog-search .woocommerce-product-search { display: flex; flex-wrap: wrap; gap: 6px; }
    .aj-catalog-search .woocommerce-product-search input[type="search"] {
        flex: 1 1 150px;
        min-width: 0;
        min-height: 44px;
        font-size: 16px;
    }
    .aj-catalog-search .woocommerce-product-search button { min-height: 44px; }
    .woocommerce.archive .woocommerce-ordering { width: 100%; max-width: none; }
    .woocommerce.archive .woocommerce-ordering select {
        width: 100%;
        max-width: none;
        min-height: 44px;
        padding-inline: 9px 24px;
        font-size: 16px;
    }
    .woocommerce.archive ul.products li.product .astra-shop-summary-wrap { padding-inline: 8px; }
    .woocommerce.archive ul.products li.product .woocommerce-loop-product__title {
        font-size: .95rem;
        line-height: 1.32;
        overflow-wrap: anywhere;
    }
    .woocommerce.archive ul.products li.product .astra-shop-summary-wrap .button {
        min-height: 44px;
        max-width: 100%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding-inline: 7px;
        line-height: 1.25;
    }

    body.single-product div.product .entry-summary .product_title {
        margin: 0 0 10px;
        font-size: clamp(1.45rem, 6.7vw, 2rem);
        line-height: 1.14;
        overflow-wrap: anywhere;
    }
    body.single-product div.product .entry-summary .wc-product-brand-image { margin-bottom: 8px; }
    body.single-product div.product .entry-summary .wc-product-brand-image img { max-height: 44px; width: auto; object-fit: contain; }
    body.single-product div.product .entry-summary > p:not(.price) { margin-bottom: 9px; }
    body.single-product div.product .entry-summary .woocommerce-product-details__short-description p { margin-bottom: 8px; }
    body.single-product div.product .entry-summary form.cart :is(.quantity,.single_add_to_cart_button) { min-height: 44px; }
    body.single-product div.product .woocommerce-tabs :is(p,h2,h3,li) { overflow-wrap: anywhere; }
}
