/**
 * GENERAL 
 **/

@media (max-width:767px) {

    .container--padding {
        padding-top: 20px;
        padding-bottom: 40px;
    }

    .md-align-left {
        text-align: left !important;
    }

    h1 {
        font-size: 37px;
    }

    h2 {
        font-size: 33px;
    }

    h2.main {
        font-size: 33px;
        margin: 35px 0 20px;
    }

    h2.main:not(.--no-arrow)::after {
        display: none;
    }

    h2.description {
        font-size: 22px;
    }

    h3.highlighted {
        font-size: 19px;
    }



    main p,
    ul.list-bulleted li,
    ul.list-tick li {
        font-size: 15px;
    }




    ul.list-faq .accordion-toggle-button {
        font-size: 16px;
    }


    .jb_slider {
        padding-bottom: 0;
    }

    /* .flickity-enabled .flickity-button.flickity-prev-next-button {
        display: none;
    } */

    .jb_card_dashed {
        padding: 30px;
    }
}











/**
 * HOMEPAGE
 */

/* HEADER */

@media (max-width: 1155px) {

    #menu-header-main-menu>li {
        margin: 0 0.8em;
    }

    #menu-header-main-menu>li>a {
        font-size: 16px;
    }
}


@media (max-width: 1095px) {

    #header-top {
        justify-content: center;
        text-align: center;
    }

    #header-top-icons,
    #header-top-menu {
        float: none;
        margin: 0.5em 0;
    }
}


@media (max-width:1015px) {

    #header-top-menu,
    body:not(.page-template-page-checkout-steps) #site-title a,
    #header-main-menu {
        display: none;
    }

    #header-main .container-xxl {
        display: block;
    }

    #header-icon-list {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }


    #header-icon-list>li:not(:first-child):not(#header-search),
    li#header-search {
        margin-left: 1em;
    }

    li#header-mobile-menu,
    li#header-mobile-logo {
        display: list-item;
    }

    li#header-mobile-logo {
        width: 100%;
        text-align: center;
    }

    li#header-mobile-logo img {
        width: 210px;
        height: auto;
        transform: translateY(-8px);
    }

}


@media (max-width:767px) {

    #header-top-icons img {
        margin-right: 3px;
    }

    #header-top span {
        font-size: 12px;
        letter-spacing: -0.5px;
    }

    #header-icon-list>li:not(:first-child) {
        margin-left: 0.3em;
    }

    li#header-mobile-logo img {
        width: 150px;
        height: auto;
    }

    #header-search-results li img {
        width: 80px;
    }

    #header-search-results li h4 {
        font-size: 14px;
    }

}


@media all and (max-width: 767px) {
    #header-main .container-xxl {
        display: block;
    }
}





/* HOMEPAGE BANNER */

@media (max-width: 1024px) {
    #below-banner-icons {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    #below-banner-icons {
        gap: 10px;
    }

    #below-banner-icons li {
        flex-direction: column;
    }

    #below-banner-icons li span {
        margin: 10px 0 0;
        font-size: 20px;
    }
}


/* BELOW BANNER */

@media all and (max-width: 1024px) {
    #below-banner li a span {
        font-size: 28px;
    }

    #below-banner li a::after {
        bottom: -13px;
        width: 82px;
        height: 31px;
    }
}

@media all and (max-width: 767px) {
    #below-banner ul {
        grid-template-columns: repeat(3, 1fr);
    }

    #below-banner li:nth-child(2) {
        border: none;
    }

    #below-banner li a img {
        width: 80%;
        margin: 0 0 0.7em;
    }
}






/* PRODUCT CATEGORY */

@media all and (max-width: 1085px) {
    #home-categories-grid a.link {
        font-size: 18px;
    }
}



@media all and (max-width: 767px) {

    #home-categories-grid.home-categories-grid-top-2-cols {
        grid-template-columns: 1fr;
    }

    #home-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-column-gap: 20px;
        grid-row-gap: 20px;
    }

    #home-categories-grid li {
        display: block;
    }

    #home-categories-grid a.link {
        position: static;
        font-weight: 400;
        font-size: 16px;
        padding: 15px 0 0;
        box-shadow: none;
        background: transparent;
    }
}






@media all and (max-width: 767px) {

    #lab_reports_results_wrapper img {
        width: 150px;
        float: none;
        margin: 0 auto;
        display: block;
    }

    #lab_reports_results_wrapper h4 {
        font-size: 17px;
    }

    #lab_reports_results_wrapper ul li {
        font-size: 14px;
    }

}

























/***********************************************

                WOOCOMMERCE

***********************************************/








@media (max-width:1015px) {
    #site-title {
        text-align: center;
    }

    #site-title img {
        max-width: 116px;
        height: auto;
    }

    #header-back-to-shop {
        white-space: nowrap;
        overflow: hidden;
        display: block;
        width: 14px;
        position: absolute;
        top: 30px;
    }

    #header-checkout-steps {
        margin: 1em 0 0;
    }

    #header-checkout-steps li {
        font-size: 16px;
    }

    #header-checkout-steps li span {
        width: 30px;
        height: 30px;
        line-height: 27px;
        border: 2px solid var(--green);
        margin-right: 5px;
        font-size: 14px;
    }
}


@media (max-width: 1199px) {
    .jb_products.flickity-enabled li.jb_product {
        width: calc(33.33% - 23px);
    }

    ul.jb_products:not(.columns-1) {
        grid-template-columns: repeat(3, 1fr);
    }
}



@media (max-width: 992px) {

    #category-description .category_top_description_image {
        height: 0;
        padding: 40% 0 0;
        min-height: initial;
        max-height: initial;
        border-radius: 0;
        margin: 1em 0 0;
    }

    h3.special-offer {
        width: auto;
        float: none;
        margin: 30px 0;
        text-align: center;
    }

    div.woocommerce.single-product ul.jb_products {
        max-width: 300px;
        float: none;
        margin: 0 auto;
    }

}



@media (max-width: 767px) {


    .woocommerce-message,
    .woocommerce-error,
    .woocommerce-info {
        font-size: 15px;
    }




    ul.jb_products:not(.columns-1) {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }




    .jb_products.flickity-enabled li.jb_product {
        /* width: calc(50% - 5px); */
        width: 60%;
        margin: 0 10px;
    }

    ul.jb_products .flickity-button {
        display: none;
    }

    ul.jb_products.flickity-enabled {
        padding: 0;
    }

    li.jb_product .woocommerce-loop-product__title {
        font-size: 15px;
    }

    li.jb_product .price {
        font-size: 16px;
    }

    li.jb_product .button {
        visibility: visible;
        opacity: 1;
    }




    #category-description h1 {
        margin-bottom: 0;
    }

    .term-description>h3 {
        margin-top: 0;
    }

    .term-description p:last-of-type {
        padding-bottom: 0;
    }

    /* #category-product-attributes.flickity-enabled {
        padding-bottom: 20px;
    } */

    #category-product-attributes li {
        margin-right: 20px;
        /* width: 125px; */
    }

    #category-product-attributes li img {
        width: 71px;
        height: auto;
    }

    #category-product-attributes li span {
        padding: 0;
    }




    #medically-reviewed h2 {
        text-transform: capitalize;
        font-family: 'Inter';
        font-size: 20px;
        font-weight: 700;
        text-align: center;
        margin-bottom: 1em;
    }

    .jb_card_dashed .approved-stamp {
        width: 90px;
        height: auto;
        top: -25px;
        right: -20px;
    }

    #medically-reviewed h3 {
        color: var(--black);
        margin-bottom: 5px;
    }

    #medically-reviewed h3+p {
        font-size: 16px;
        color: var(--green);
    }





    .woocommerce-variation-add-to-cart,
    .jb_wc_simple_product_summary_inner .cart {
        padding: 20px;
    }


    .jb_wc_simple_product_summary_inner .single_add_to_cart_button,
    .woocommerce-variation-add-to-cart .single_add_to_cart_button {
        font-size: 17px;
        padding: 14px 13%;
    }


    td .jb_wc-type-image.jb_wc-terms {
        padding: 0;
        /* right: 0px; */
        width: calc(100% + 20px);
    }





    .jb_autoship__description {
        font-size: 14px;
    }






    .woocommerce .woocommerce-tabs ul.tabs li {
        display: block;
    }







    .jb_pu-popup h2 {
        font-size: 18px;
        line-height: 1.2;
    }

    .jb_pu-popup h2::before {
        height: 33px;
        width: 33px;
        border-radius: 33px;
        line-height: 33px;
        font-size: 19px;
    }

    .jb_pu-popup .jb_pu-text a,
    .jb_pu-popup .jb_pu-text span {
        font-size: 15px;
    }

    .jb_pu-popup .jb_pu-action a {
        font-size: 13px;
    }









    .shop_table_list li .attachment-woocommerce_thumbnail {
        width: 120px;
    }

    .shop_table_list li .cart_item_name {
        font-size: 16px;
        margin: 20px 0 0;
    }

    .shop_table_list li p {
        padding-bottom: 0.5em;
    }

    .shop_table_list li .amount {
        display: block;
        font-size: 14px;
    }

    .shop_table_list li .quantity {
        margin: 10px 0;
    }

    .update-cart-button {
        float: none;
        margin: 0 0 1em;
    }

    .actions .coupon {
        display: flex;
    }

    .actions .coupon .jb_button {
        padding: 0;
        width: 30%;
    }

    #coupon_code {
        width: 70%;
    }

    .cart_totals table th,
    .cart_totals table td {
        font-size: 14px;
    }

    .cart_totals .checkout-button {
        float: none;
        width: 100%;
    }

    .jb_cart_item_quantity {
        margin: 0;
        padding: 10px 0 0 20px;
        float: left;
    }






    .checkout-col h3 {
        font-size: 20px;
    }

    .checkout-col-1 .form-row:nth-child(odd),
    .checkout-col-2 .form-row:not(.notes):nth-child(odd) {
        margin-right: 0;
    }


    .checkout-col-1 .form-row,
    .checkout-col-2 .form-row:not(.notes) {
        width: 100%;
    }


    .checkout-col-1 .form-row label,
    .checkout-col-2 .form-row label,
    #order_review table th,
    #order_review table td {
        font-size: 14px;
    }



    .woocommerce-account main .woocommerce {
        display: block;
    }



}