.mkdf-top-bar .mkdf-top-bar-widget p {
    margin: 0 !important;
    text-align: center !important;
}

/* Keep banner visible on mobile */
@media only screen and (max-width: 767px) {
    .mkdf-top-bar {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .mkdf-top-bar .mkdf-vertical-align-containers {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 40px !important;
    }

    .mkdf-top-bar .mkdf-position-left,
    .mkdf-top-bar .mkdf-position-left-inner,
    .mkdf-top-bar .mkdf-top-bar-widget {
        width: 100% !important;
        display: block !important;
        text-align: center !important;
    }

    .mkdf-top-bar .mkdf-top-bar-widget p {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        margin: 0 !important;
        text-align: center !important;
    }
}

/* Desktop */
@media only screen and (min-width: 768px) {
    .mkdf-top-bar .mkdf-vertical-align-containers {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 40px !important;
    }

    .mkdf-top-bar .mkdf-position-left,
    .mkdf-top-bar .mkdf-position-left-inner,
    .mkdf-top-bar .mkdf-top-bar-widget {
        width: 100% !important;
        display: block !important;
        text-align: center !important;
    }

    .mkdf-top-bar .mkdf-top-bar-widget p {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        margin: 0 !important;
        text-align: center !important;
    }
}.mkdf-top-bar .mkdf-vertical-align-containers {
    min-height: 60px !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
}

.mkdf-top-bar .mkdf-top-bar-widget p {
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    transform: none !important;
    line-height: 1.4 !important;
}/* Mobile product gallery slider */
@media (max-width: 767px) {

    .single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 12px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-right: 12%;
    }

    .single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper::-webkit-scrollbar {
        display: none;
    }

    .single-product .woocommerce-product-gallery .woocommerce-product-gallery__image {
        flex: 0 0 88%;
        scroll-snap-align: start;
    }

    .single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img {
        width: 100%;
        height: auto;
        display: block;
    }

    /* Slide counter */
    .sk-gallery-counter {
        text-align: center;
        margin-top: 10px;
        font-size: 14px;
        line-height: 20px;
        font-weight: 500;
    }
}

/* Keep original gallery on desktop */
@media (min-width: 768px) {

    .single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
        display: block;
        overflow: visible;
    }

    .single-product .woocommerce-product-gallery .woocommerce-product-gallery__image {
        display: block;
        width: 100%;
    }

    .sk-gallery-counter {
        display: none;
    }
}/* =====================================
   ALL PAGES EXCEPT HOMEPAGE
   ===================================== */

body.page:not(.home) .wp-block-cover {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

body.page:not(.home) .wp-block-cover__image-background {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 50% 50% !important;
}

body.page:not(.home) .wp-block-cover__background {
    opacity: 0.5 !important;
}

body.page:not(.home) .wp-block-cover__inner-container {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}


/* =====================================
   DESKTOP
   ===================================== */

@media (min-width: 1025px) {

    body.page:not(.home) .wp-block-cover {
        height: 350px !important;
        min-height: 350px !important;
    }

    body.page:not(.home) .wp-block-cover__image-background {
        transform: scale(1.25) !important;
    }

    body.page:not(.home) .wp-block-cover h1,
    body.page:not(.home) .wp-block-cover h2,
    body.page:not(.home) .wp-block-cover h3 {
        white-space: nowrap !important;
    }
}


/* =====================================
   TABLET
   ===================================== */

@media (min-width: 768px) and (max-width: 1024px) {

    body.page:not(.home) .wp-block-cover {
        height: 280px !important;
        min-height: 280px !important;
    }

    body.page:not(.home) .wp-block-cover__image-background {
        transform: scale(1.3) !important;
    }

    body.page:not(.home) .wp-block-cover h1,
    body.page:not(.home) .wp-block-cover h2,
    body.page:not(.home) .wp-block-cover h3 {
        white-space: nowrap !important;
        font-size: clamp(24px, 5vw, 42px) !important;
    }
}


/* =====================================
   MOBILE
   ===================================== */

@media (max-width: 767px) {

    body.page:not(.home) .wp-block-cover {
        height: 180px !important;
        min-height: 180px !important;
        padding: 10px 10px !important;
    }

    body.page:not(.home) .wp-block-cover__image-background {
        transform: scale(1.4) !important;
    }

    body.page:not(.home) .wp-block-cover__inner-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 5px !important;
    }

    body.page:not(.home) .wp-block-cover h1,
    body.page:not(.home) .wp-block-cover h2,
    body.page:not(.home) .wp-block-cover h3 {
        white-space: nowrap !important;
        word-break: keep-all !important;
        font-size: clamp(18px, 6vw, 32px) !important;
        line-height: 1.1 !important;
        margin: 0 !important;
        max-width: 100% !important;
    }
}


/* =====================================
   SMALL PHONES
   ===================================== */

@media (max-width: 480px) {

    body.page:not(.home) .wp-block-cover {
        height: 160px !important;
        min-height: 160px !important;
    }

    body.page:not(.home) .wp-block-cover__image-background {
        transform: scale(1.45) !important;
    }

    body.page:not(.home) .wp-block-cover h1,
    body.page:not(.home) .wp-block-cover h2,
    body.page:not(.home) .wp-block-cover h3 {
        font-size: clamp(16px, 5.5vw, 25px) !important;
        white-space: nowrap !important;
    }
}.single-post .wp-post-image {
    width: 40% !important;
    height: auto !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
}