body {
    display: block
}


/* --- > 480px
-------------------------------------------------------- */

@media screen and (min-width: 30em) {}



/* --- > 600px
-------------------------------------------------------- */
@media screen and (max-width: 37.5em) {
    .wp-block-site-logo+.wp-block-site-identity {
        display: none;
    }

    .back-to-top .wp-element-button {
        margin: 0;
        padding: 10px 22px 10px 45px;
        font-size: 14px;
    }

    .wp-block-buttons.back-to-top {
        top: -55px;
    }

    .wp-block-query-pagination-numbers .page-numbers {
        width: 45px;
        height: 45px;
    }

    .wp-block-query-pagination-previous,
    .wp-block-query-pagination-next {
        line-height: 45px;
        height: 45px;
        padding-inline: 10px;
    }

    .wp-block-query-pagination-numbers .page-numbers.dots {
        width: 30px;
    }

    .wp-block-columns.alignwide.upper-footer {
        gap: 2rem;
    }

    .upper-footer :where(.is-layout-flow)>* {
        margin-block-start: 1rem;
    }

    .wp-footer-widgets .wp-block-navigation.is-horizontal {
        gap: 2.45rem;
        margin-bottom: 21px;
    }

    .wp-block-group.wp-star-reviews {
        gap: 0.5rem;

        p {
            font-size: var(--wp--preset--font-size--medium-small) !important;
        }

        .wp-block-star-ratings img {
            width: 90px !important;
        }
    }

    .wp-block-site-logo img {
        height: 60px;
        /* object-fit: contain; */
        width: auto;
    }

    .wp-block-header>.is-layout-flex {
        gap: 1rem;
    }

    .wp-block-header-media .wp-block-buttons {
        gap: 0.5rem 1.5rem;
    }

    .wp-post-author-card .wp-block-post-author {
        flex-direction: column;
        gap: 1rem;
    }

    .wp-block-site-info {
        gap: 1.5rem;
    }


}

/* --- > 601px
-------------------------------------------------------- */

@media screen and (min-width: 37.5625em) {
    .treatments-grid>div {
        width: 33.3333%;

    }

    .wp-block-latest-product-slider .wc-block-product-template.wc-block-product-template {
        margin: 0;
    }

    .wc-block-next-previous-buttons {
        margin-top: -105px !important;
    }

    .wp-block-latest-product-slider .is-product-collection-layout-carousel .wc-block-product {
        min-width: 48%;
    }

    .has-4-col.wp-block-columns {
        flex-wrap: wrap !important;
    }

    .has-4-col.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        flex-basis: unset;
        flex: 0 0 calc(50% - 0.75em) !important;
    }

    .columns-4.wp-block-post-template {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .archive .wp-block-post-template>li {
        height: 100%;
        border-radius: 10px;
        overflow: hidden;
        background-color: var(--wp--preset--color--background);
        position: relative;

    }

    .archive .wp-block-post-template>li>.wp-block-group {
        padding-bottom: 14px !important;
    }
}





/* --- > 640px
-------------------------------------------------------- */

@media screen and (max-width: 40em) {

    .wp-block-header .wp-block-buttons,
    .wp-block-header .wp-block-woocommerce-customer-account {
        display: none;
    }

    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        margin-left: -0.75rem;
    }

}

@media screen and (max-width: 758px) {
    .wp-block-sidebar-on-left .wp-block-column.wp-block-column-sidebar {
        order: 2;
    }

    .wp-block-media-text.is-stacked-on-mobile>.wp-block-media-text__media {
        grid-column: 1;
        grid-row: 1;
    }

    .wp-block-media-text.is-stacked-on-mobile {
        grid-template-columns: 100% !important;
    }

    .wp-block-media-text.is-stacked-on-mobile>.wp-block-media-text__content {
        grid-column: 1;
        grid-row: 2;
    }
}


@media screen and (max-width: 1199px) {
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: block;
    }

    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: none;
    }


}


/* --- > 768px
-------------------------------------------------------- */
@media screen and (min-width: 48em) {}


/* --- > 782px
-------------------------------------------------------- */

@media screen and (min-width: 48.875em) {
    .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
        padding: var(--wp--custom--spacing--section-block-top) var(--wp--custom--spacing--outer);
    }

    .wp-block-latest-product-slider .is-product-collection-layout-carousel .wc-block-product {
        min-width: 31%;
    }

    .has-4-col.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        flex: 0 0 calc(50% - 1em) !important;
    }

    .wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container {
        left: 100% !important;
        top: 0;
        border-radius: 12px !important;
        box-shadow: 0px 24px 26px -12px #4F4C4C57 !important;


    }

    .wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-icon {
        display: none;
    }

    .wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container:before {
        width: 100%;
        background: #fff;
    }

    .treatments-grid>div {
        width: 25%;

    }

    .wp-block-header::before {
        width: 170px;
        height: 250px;
        opacity: 0.8;
    }


    .wp-block-post-template.is-layout-grid,
    .is-layout-flex.wp-block-columns {
        gap: 2rem !important;
    }

    .wp-block-columns.wp-block-sidebar-on-right,
    .wp-block-columns.wp-block-sidebar-on-left {
        gap: 3.5rem !important;
    }

    .archive .wp-block-post-template>li .wp-block-post-meta,
    .wp-block-featured-articles .wp-block-group.wp-block-post-meta {
        position: absolute;
        bottom: 40px;
    }


    .wp-block-featured-articles .wp-block-post-group {
        position: relative;
        padding-bottom: 50px;
    }

    .wp-block-text-with-round-images .wp-round-images .wp-round-image {
        position: absolute;
        width: 120px;
        height: 120px;

        &.round-image-one {
            right: 30%;
            top: 10%;
        }

        &.round-image-two {
            top: 15%;
            right: 10%;
        }
    }
}

/* --- > 991px
-------------------------------------------------------- */

@media screen and (max-width: 991px) {
    .wp-block-media-text.is-stacked-on-mobile>.wp-block-media-text__media {
        grid-column: 1;
        grid-row: 1;
    }

    .wp-block-media-text.is-stacked-on-mobile {
        grid-template-columns: 100% !important;
    }

    .wp-block-media-text.is-stacked-on-mobile>.wp-block-media-text__content {
        grid-column: 1;
        grid-row: 2;
    }

    .wp-block-sidebar-on-left.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column,
    .wp-block-sidebar-on-right.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        flex-basis: 100% !important;
    }

    .wp-block-sidebar-on-right.wp-block-columns,
    .wp-block-sidebar-on-left.wp-block-columns {
        flex-wrap: wrap !important;
    }
}

/* --- > 1024px
-------------------------------------------------------- */

@media screen and (min-width: 64em) {
    .wc-block-next-previous-buttons {
        margin-top: -120px !important;
    }

    .wp-block-latest-product-slider .is-product-collection-layout-carousel .wc-block-product {
        min-width: 23.4%;
    }

    .wp-block-column-sidebar .wp-block-sidebar {
        padding: 42px;
    }

    .columns-4.wp-block-post-template {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .treatments-grid>div {
        width: 20%;

    }

    .wp-block-post-template li {
        transition: all 0.4s;

        &:hover,
        &:focus {
            transform: translateY(-6px);
            box-shadow: 0px 50px 120px -35px #685c5d26;
        }

        .wp-block-post-wrapper {
            display: flex;
            border-radius: 10px;
            overflow: hidden;

        }
    }

    .wp-block-text-with-round-images::before {
        width: 520px;
        height: 260px;
        border-bottom-left-radius: 260px;
        border-bottom-right-radius: 260px;
    }

    .wp-block-text-with-round-images .wp-round-images .wp-round-image {
        position: absolute;
        width: 160px;
        height: 160px;
    }

    .wp-block-text-with-round-images .wp-round-images .wp-round-image.round-image-one {
        right: 35%;
    }

    .wp-block-text-with-round-images .wp-round-images .wp-round-image.round-image-two {
        top: 20%;
        right: 10%;
    }



    .wp-block-post-template li .wp-block-post-featured-image {
        flex: 0 0 35%;
    }

    .wp-block-post-template li .wp-block-post-container {
        flex: 0 0 65%;
    }

    .wp-block-post-template li:not(.has-post-thumbnail) .wp-block-post-container {
        flex: 0 0 100%;
    }

    .has-4-col.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        flex-basis: 0 !important;
        flex-grow: 1 !important;
    }



}


/* --- > 1199px
-------------------------------------------------------- */

@media screen and (max-width: 74.9375em) {

    .wp-block-header .wp-block-navigation {
        order: 3;
        margin-left: 0;
    }

    .wp-block-header .wp-block-header-right {
        margin-left: auto;
        margin-right: 0
    }

    .wp-block-navigation .has-child .wp-block-navigation__submenu-container li {
        padding: 7px 0;
    }



}

/* --- > 1200px
-------------------------------------------------------- */

@media screen and (min-width: 75em) {
    .wc-block-next-previous-buttons {
        margin-top: -145px !important;
    }

    .wp-block-header .wp-block-navigation__container {
        gap: 2.5rem;
    }



    .wp-block-site-logo .fallback-logo {
        width: 205px !important;
    }


    .wp-block-header-right {
        gap: 0.5rem;
    }

    .wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
        position: relative;
        padding: 5px 0;

        &::before {
            content: "";
            border-bottom: 2px solid var(--wp--preset--color--text-link);
            position: absolute;
            bottom: 0;
            width: 0;
            height: 0;

        }
    }


    .wp-block-navigation__submenu-container {
        position: relative;
        background: transparent !important;
        /* let the pseudo-element handle visual background */
        border-radius: 12px;
        box-shadow: 0px 24px 26px -12px #4F4C4C57;
        min-width: 260px !important;
        left: 0 !important;
        z-index: 10;
        padding: 0;

        &::before {
            content: '';
            position: absolute;
            inset: 0;
            background: white;
            /* or match your background */
            border-radius: 12px;
            z-index: -1;
            pointer-events: none;
        }



        .wp-block-navigation-item {
            padding-inline: 15px !important;

            &:first-child {
                padding-top: 15px;
            }

            &:last-child {
                padding-bottom: 15px;
            }
        }

        .wp-block-navigation-item__content {
            padding: 10px 50px 10px 15px !important;
            border-radius: 5px;
            position: relative;


            &::before {
                position: absolute !important;
                left: auto !important;
                top: 50% !important;
                width: 24px !important;
                height: 15px !important;
                content: '' !important;
                transition: all 0.4s !important;
                transform: translateY(-50%) !important;
                right: 15px !important;
                opacity: 0;
                transition: all 0.4s;
                background: url(assets/images/submenu-arrow.svg) no-repeat;
                background-size: 100%;
                display: block;
                opacity: 0;
            }


            &:hover,
            &:focus {
                color: var(--wp--preset--color--title) !important;
                background-color: var(--wp--preset--color--body-background-deep);

                &::before,
                &::after {
                    opacity: 1;
                }
            }
        }
    }

    .wp-block-text-with-round-images::before {
        width: 600px;
        height: 300px;
        border-bottom-left-radius: 300px;
        border-bottom-right-radius: 300px;
    }

    .wp-block-text-with-round-images .wp-round-images .wp-round-image.round-image-two {
        top: 27%;
        right: 10%;
    }

    .wp-block-text-with-round-images .wp-round-images .wp-round-image.round-image-one {
        right: 32%;
        top: 20%;
    }
}


/* --- > 1366px
-------------------------------------------------------- */

@media screen and (min-width: 85.375em) {
    .wp-block-latest-product-slider .is-product-collection-layout-carousel .wc-block-product {
        min-width: 18.55%;
    }

    .wp-block-product-of-month .wp-block-woocommerce-single-product .is-layout-flex.wp-block-columns {
        gap: 4.5rem !important;
    }

    .wp-block-text-with-round-images::before {
        width: 650px;
        height: 325px;
        border-bottom-left-radius: 325px;
        border-bottom-right-radius: 325px;
    }

    .columns-4.wp-block-post-template {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .wp-block-header::before {
        width: 210px;
        height: 338px;
    }

    .treatments-grid>div {
        width: 12.5%;

    }

    .wp-block-section .media-on-left .wp-block-media-text__content {
        padding-right: 15%;
    }

    .wp-block-text-with-round-images .wp-round-images .wp-round-image {
        position: absolute;
        width: 190px;
        height: 190px;
    }

    .wp-block-text-with-round-images .wp-round-images .wp-round-image.round-image-two {
        top: 30%;
        right: 15%;
    }

    .wp-block-text-with-round-images .wp-round-images .wp-round-image.round-image-one {
        right: 35%;
        top: 15%;
    }

    .wp-block-header-media .wp-block-buttons {
        gap: 2rem;
    }
}

/* --- > 1400px
-------------------------------------------------------- */

@media screen and (min-width: 87.5em) {
    .wc-block-next-previous-buttons {
        margin-top: -165px !important;
    }
}

/* --- > 1600px
-------------------------------------------------------- */

@media screen and (min-width: 100em) {
    .wp-block-header>.wp-block-group {
        gap: 0;
    }

    .wp-block-site-logo-wrapper,
    .wp-block-header-right {
        width: 22%;
    }

    .wp-block-header .wp-block-navigation {
        width: 50%;
        padding: 0 30px;
        box-sizing: border-box;
        gap: 0.5rem 2.5rem;
    }


    .wp-block-text-with-round-images::before {
        width: 752px;
        height: 376px;
        border-bottom-left-radius: 376px;
        border-bottom-right-radius: 376px;
    }

    .wp-block-group.alignfull.wp-block-header.header-transparent {
        padding-inline: 50px !important;
    }

    .wp-block-header .wp-block-navigation {
        width: 56%;
        padding: 0 30px;
        box-sizing: border-box;
        gap: 0.5rem 2.5rem;
    }

    .wp-block-text-with-round-images .wp-round-images .wp-round-image.round-image-two {
        top: 38%;
        right: 13%;
    }

    .wp-block-text-with-round-images .wp-round-images .wp-round-image.round-image-one {
        right: 32%;
        top: 20%;
    }

    .wp-block-group.alignfull.wp-block-header.header-transparent {
        padding-inline: 70px !important;
    }

}


/* --- > 1824px
-------------------------------------------------------- */
@media only screen and (min-width : 120em) {

    .wp-block-site-logo-wrapper,
    .wp-block-header-right {
        width: 25%;
    }

    .wp-block-header .wp-block-navigation {
        width: 50%;
        gap: 0.5rem 3rem;
    }

}

/* --- > 1920px
-------------------------------------------------------- */

@media screen and (min-width: 120em) {}