.woocommerce-page .shop-welcome-section,
.blog .shop-welcome-section,
.page .shop-welcome-section {
    display: flex;
    align-items: flex-start;
    background-image: url(../../../img/brown-diagonal-bg.png), url(../../../img/gray-bg.webp) !important;
    background-size: 57% 100%, cover !important;
    background-position: left top, center !important;
    background-repeat: no-repeat;
    padding: 0;
    min-height: 300px;

    &>.et_pb_row {
        width: 100%;
        position: initial;
        background-size: 50%;
        background-position: right -50px bottom 35%;
        padding: var(--regular-space) 0 !important;

        .et_pb_column {
            width: 100%;
            min-height: 250px;

            &:not(:first-child) {
                display: flex;
                align-items: center;
                justify-content: center;

                h1 {
                    font-size: var(--fs-w-section-ttl);
                    font-weight: 600;
                    color: var(--color-main-dark);
                    padding-bottom: 0;
                }
            }
        }

        .et_pb_column:first-child {
            max-width: 295px;
            position: absolute;
            top: var(--large-space);
            left: 5%;
            z-index: 3;
        }
    }

    .logo-social-wrapper .logo-wrapper {
        margin-bottom: var(--extra-huge-space);
    }

    ul.social-media-list {
        list-style: none;
        padding-left: 0;

        a i {
            color: var(--color-white);
            font-size: var(--font-size-small-title);
        }
    }

    &.checkout {
        background-image: url(../../../img/brown-diagonal-bg-2.png), url(../../../img/gray-bg.webp) !important;
        background-size: 35% 100%, cover !important;
        background-position: left, center !important;
        position: relative;

        &::after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 42%;
            height: 100%;
            background-image: url(../../../img/brown-diagonal-bg-2.png);
            background-size: 100% 100%;
            transform: scaleX(-1) scaleY(-1);
            z-index: 1;
            pointer-events: none;
        }

        .et_pb_row.women-image-bg {
            display: none;
        }

        .et_pb_row:not(.women-image-bg) {
            display: block;
        }

        &>.et_pb_row {
            background-size: 45% 100% !important;
            background-position: center right;
            padding-inline: 5% !important;
            position: relative;
            z-index: 2;
        }

        @media screen and (max-width: 999px) {
            background-image: url(../../../img/gray-bg.webp) !important;
            background-size: cover !important;
            background-position: left, center !important;

            .logo-social-wrapper {
                display: none;
            }

            &>.et_pb_row {
                background-size: 65% 100% !important;
                padding-left: 5% !important;
            }

            &>.et_pb_row .et_pb_column:not(:first-child) {
                justify-content: flex-start;
            }
        }

        @media screen and (max-width: 767px) {
            background-image: url(../../../img/brown-diagonal-bg-2.png), url(../../../img/gray-bg.webp) !important;
            background-size: 35% 100%, cover !important;
            background-position: left, center !important;

            &>.et_pb_row {
                background-image: none !important;
            }

            &>.et_pb_row .et_pb_column:not(:first-child) {
                justify-content: center;
                align-items: center;
            }
        }

        @media screen and (max-width: 499px) {
            &>.et_pb_row .et_pb_column:not(:first-child) {
                justify-content: center;
                align-items: center;
            }
        }
    }

    &.my-account {
        background-size: 100% 100% !important;

        &>.et_pb_row {
            background-image: url(../../../img/brown-bg.png), url(../../../img/green-bg-2-min.png) !important;
            background-size: 25% 100%, 25% 100% !important;
            background-position: left, right !important;
            padding-right: 5% !important;
            margin-right: 0 !important;
        }

        @media screen and (max-width: 999px) {
            background-position: right 45% center !important;
            background-size: cover !important;

            &>.et_pb_row {
                background-image: url(../../../img/brown-bg.png) !important;
                background-size: 25% 100% !important;
            }

            .logo-social-wrapper .logo-wrapper {
                opacity: 0;
            }
        }

        @media screen and (max-width: 767px) {

            &>.et_pb_row {
                background-image: none !important;
            }
        }

        @media screen and (max-width: 499px) {
            &>.et_pb_row .et_pb_column:not(:first-child) {
                justify-content: center;
                align-items: center;
            }
        }
    }

    &.blog {
        background-color: var(--color-main-dark) !important;
        background-image: url(../../../img/brown-bg.png) !important;
        background-size: 25% 100% !important;
        background-position: left !important;

        &>.et_pb_row {
            background-size: 50% 100% !important;
            background-position: center !important;

            .et_pb_column:not(:first-child) h1 {
                color: var(--color-main-light);
            }
        }

        @media screen and (max-width: 1299px) {
            &>.et_pb_row {
                background-position: right !important;
                background-size: 75% 100% !important;
            }
        }

        @media screen and (max-width: 767px) {
            &>.et_pb_row {
                background-size: cover !important;

                .et_pb_column:not(:first-child) {
                    justify-content: center;
                    align-items: center;
                }
            }
        }
    }

    &.our-company {
        background-color: var(--color-main-dark) !important;
        background-size: cover !important;
        background-position: center !important;

        &>.et_pb_row {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            padding: var(--regular-space) 5% !important;

            background-image: url(../../../img/brown-bg.png), url(../../../img/brown-bg.png) !important;
            background-size: 25% 100%, 25% 100% !important;
            background-position: left, right !important;

            .et_pb_column:not(:first-child) h1 {
                color: var(--color-main-dark);
            }

            .et_pb_column:first-child {
                position: unset;
            }

            .et-last-child {
                padding-top: var(--space-step);
                text-align: right;
                justify-content: flex-end;
                align-items: flex-start;

                h5 {
                    color: var(--color-white);
                    font-family: 'Open Sans', sans-serif;
                    font-size: var(--font-size-small-title);
                    font-weight: 600;
                    line-height: 130%;
                    padding-bottom: var(--small-space);
                }

                p {
                    padding-bottom: var(--small-space);

                    a {
                        display: flex;
                        align-items: center;
                        justify-content: flex-end;
                        color: var(--color-white);
                        font-size: calc(var(--font-size-text) * 1.125);

                        &::after {
                            content: '';
                            display: inline-block;
                            margin-left: 0.5rem;
                            width: 24px;
                            height: 24px;
                            background-repeat: no-repeat;
                            background-position: center;
                            background-size: contain;
                        }

                        &.email-link::after {
                            background-image: url(../../../img/icons/envelop-icon.svg);
                        }

                        &.phone-link::after {
                            background-image: url(../../../img/icons/phone-icon.svg);
                        }

                        &.location-link::after {
                            background-image: url(../../../img/icons/map-pin-icon.svg);
                        }
                    }
                }
            }
        }

        @media screen and (max-width: 1299px) {
            &>.et_pb_row {
                grid-template-columns: 2fr 1fr;

                background-image: url(../../../img/brown-bg.png) !important;
                background-size: 36% 100% !important;
                background-position: right !important;

                .et_pb_column:first-child {
                    display: none;
                }
            }
        }

        @media screen and (max-width: 767px) {
            background-position: right 40% center !important;

            &>.et_pb_row {
                display: block;
                background: none !important;

                .et_pb_column {
                    justify-content: center !important;
                    min-height: auto;

                    p a, h5 {
                        text-align: center !important;
                        justify-content: center;
                    }

                    &.et-last-child {
                        background-color: rgba(0, 0, 0, 0.25);
                    }
                }
            }
        }
    }

    &.contact-us {
        background-size: cover !important;
        background-position: right 30% center !important;

        &>.et_pb_row {
            background-image: linear-gradient(var(--color-main-dark)), linear-gradient(var(--color-main-dark)) !important;
            background-size: 25%, 10% !important;
            background-position: left, right !important;
        }

        @media screen and (max-width: 767px) {
            &>.et_pb_row {
                background: none !important;
            }
        }

        @media screen and (max-width: 499px) {
            /* &>.et_pb_row .et_pb_column:not(:first-child) {
                align-items: center;
            } */
        }
    }

    &.privacy-policy {
        &>.et_pb_row {
            background-size: 45%;
            background-position: right -10% top 50%;
        }

        @media screen and (max-width: 767px) {
            &>.et_pb_row {
                background-size: contain;
            }

            h1 {
                max-width: 250px;
            }    
        }
        
        @media screen and (max-width: 767px) {
            &>.et_pb_row {
                background-position: bottom -60px center;
            }
        }
    }

    @media screen and (max-width: 767px) {
        .logo-social-wrapper {
            display: none;
        }

        &>.et_pb_row {
            background-size: contain;
            padding-left: 5% !important;

            .et_pb_column:not(:first-child) {
                justify-content: flex-start;
            }
        }
    }

    @media screen and (max-width: 499px) {
        &>.et_pb_row {
            background-size: contain;
            background-position: center bottom -5%;

            .et_pb_column:not(:first-child) {
                justify-content: center;
                align-items: flex-start;
            }
        }
    }
}

body.site_mode_women .shop-welcome-section {
    background-image: url(../../../img/ping-diagonal-bg.png), url(../../../img/gray-bg.webp) !important;

    &>.et_pb_row:first-child {
        background-image: url(../../../img/women-cart-bg.png);
        background-size: auto 150%;
        background-position: right bottom;
    }

    &.our-company > .et_pb_row {
        background-image: url(../../../img/ping-squad-bg.png), url(../../../img/ping-squad-bg-right.png) !important;
        background-size: 25% 100%, 25% 100% !important;
    }

    &.blog {
        background-image: url(../../../img/women-blog-bg.webp) !important;
        background-color: var(--c-light-green) !important;
        background-size: cover !important;
        background-position: center !important;

        &>.et_pb_row {
            background-image: url(../../../img/light-brown-bg-left.png), linear-gradient(var(--c-light-green)) !important;
            background-position: left, right !important;
            background-size: 27% 100%, 25% 100% !important;
        }

        @media screen and (max-width: 1299px) {
            &>.et_pb_row {
                background-image: url(../../../img/light-brown-bg-left.png) !important;
                background-position: left !important;
                background-size: 27% 100% !important;
            }
        }

        @media screen and (max-width: 767px) {
            &>.et_pb_row {
                background-image: none !important;
            }
        }
    }

    &.blog > .et_pb_row .et_pb_column:not(:first-child) h1 {
        color: #ECDCBB;
    }

    &.blog ul.social-media-list a i {
        color: #090909;
    }

    &.checkout {
        background-image: url(../../../img/green-diagonal-left.png), url(../../../img/gray-bg.webp) !important;

        .et_pb_row:not(.women-image-bg) {
            display: none;
        }

        .et_pb_row.women-image-bg {
            display: block;
        }

        /* Green diagonal line for women mode */
        &::after {
            background-image: url(../../../img/green-diagonal-left.png);
        }
    }

    &.checkout > .et_pb_row .et_pb_column:not(:first-child) h1 {
        color: var(--c-light-green);
    }

    &.contact-us {
        background-image: url(../../../img/women-contact-us-bg.png) !important;
    }

    &.contact-us > .et_pb_row {
        background-image: linear-gradient(var(--c-light-green)), linear-gradient(var(--c-light-green)) !important;
    }

    &.my-account {
        background-image: url(../../../img/women-my-account-bg.webp) !important;
        background-size: 101% 100% !important;

        &>.et_pb_row {
            background-image: url(../../../img/ping-squad-bg.png), url(../../../img/light-green-leaves-squad-bg.png) !important;
        }
    }

    &.privacy-policy {
        background-color: #f1f1f1 !important;
        background-image: url(../../../img/ping-diagonal-bg.png) !important;

        &>.et_pb_row {
            background-image: url(../../../img/women-privacy-policy-bg.webp);
            background-size: auto 170%;
            background-position: right -10% center;
        }

        @media screen and (max-width: 1399px) {
            &>.et_pb_row {
                background-position: right -280px center;
            }
        }

        @media screen and (max-width: 499px) {
            &>.et_pb_row {
                margin: 0;
                background-position: center top;
                background-size: auto 130%;
                min-height: 400px;
            }
        }
    }

    @media screen and (max-width: 1199px) {
        &>.et_pb_row {
            background-size: auto 120%;
        }
    }

    @media screen and (max-width: 999px) {
        &.checkout {
            background-image: url(../../../img/gray-bg.webp) !important;
        }

        &.checkout > .et_pb_row .et_pb_column:not(:first-child) h1 {
            color: var(--color-main-dark);
        }

        &.my-account {
            background-size: auto 120% !important;

            &>.et_pb_row {
                background-image: none !important;
            }
        }
    }

    @media screen and (max-width: 767px) {
        &.my-account {
            background-size: auto 100% !important;
        }

        &.contact-us > .et_pb_row {
            background: none !important;
        }
    }

    @media screen and (max-width: 499px) {
        &>.et_pb_row {
            background-position: right 60% bottom;
        }

        &.contact-us >.et_pb_row {
            .et_pb_column:not(:first-child) {
                align-items: center;
            }
        }
    }
}