/******************* Footer Css ********************/
.footer {
    position: relative;
    padding-top: 90px;
    background-color: #0c0056;

    a {
        transition: all 0.5s;

        &:hover {
            text-decoration: none;
        }
    }

    .go2Top {
        left: 0;
        right: 0;
        top: -30px;
        width: 60px;
        height: 60px;
        margin: auto;
        display: flex;
        cursor: pointer;
        transition: 0.3s;
        border-radius: 50%;
        position: absolute;
        align-items: center;
        justify-content: center;
        background-color: #008fff;
        border: 2px solid #008fff;

        img {
            transition: 0.3s;
            display: inline-block;
            filter: invert(1);
        }

        &:hover {
            background-color: #0c0056;

            img {
                filter: invert(1);
            }
        }
    }

    .footerInner {
        overflow: hidden;
    }

    .footerMain {
        padding-bottom: 60px;
        border-bottom: 1px solid #e9b35d50;

        .eachInner {
            .dbHead {
                display: block;
                font-weight: 600;
                color: #ffffff;
                margin-bottom: 10px;
            }

            .eachBlock {
                display: flex;
                flex-wrap: wrap;
                font-size: 18px;
                color: #ffffff;

                .ico {
                    width: 26px;
                    height: 26px;
                    margin-top: 1px;
                    /* margin-right: 7px; */
                    display: inline-block;

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: contain;
                    }
                }

                span {
                    color: #fff;
                    transition: all 0.5s;

                    .ttu {
                        display: block;
                    }
                }

                .icoValues {
                    width: calc(100% - 26px);
                    display: block;
                    padding-left: 7px;
                    transition: all 0.5s;
                }
            }
        }

        .newsLetterWrap {
            margin-bottom: 30px;

            .formWrap {
                .rightForm {
                    padding-right: 30px;
                }

                .inputBox {
                    input {
                        height: 50px;
                        background-color: transparent;

                        &[type="email"] {
                            width: 100%;
                            height: 70px;
                            padding: 5px 70px 5px 0px;
                            border: none;
                            outline: 0;
                            border-bottom: 1px solid #ffffff40;
                            color: #fff;

                            &::placeholder {
                                color: #ffffff;
                            }
                        }
                    }

                    &.submitBox {
                        width: 55px;
                        height: 35px;
                        top: 0;
                        right: 0;
                        bottom: 0;
                        margin: auto;
                        position: absolute;
                        border-bottom: none;

                        .submitBtn {
                            width: 100%;
                            height: 100%;
                            display: block;
                            color: #ffffff;
                            padding: 3px 0 3px 30px;

                            &:before {
                                top: 0;
                                left: 0;
                                content: "";
                                width: 35px;
                                height: 35px;
                                position: absolute;
                                border-radius: 50%;
                                background-color: #008fff;
                            }

                            .btnArrow {
                                z-index: 1;
                                position: relative;
                            }

                            &::after {
                                content: "";
                                position: absolute;
                                top: 0;
                                right: 11px;
                                /* font-family: fontawesome;
                                font-size: 16px;
                                color: #ffffff; */
                                background-image: url(../images/footer/stay_right_arrow.png);
                                background-repeat: no-repeat;
                                background-position: right;
                                width: 24px;
                                height: 100%;
                            }
                        }

                        input[type="submit"] {
                            top: 0;
                            right: 0;
                            opacity: 0;
                            width: 100%;
                            height: 100%;
                            position: absolute;
                            background-color: transparent;
                        }
                    }
                }
            }
        }
    }

    .footerLogo {
        img {
            width: 170px;
        }
    }

    a {
        font-size: 18px;
        color: #ffffff;

        &:hover {
            color: #008fff;

            span {
                color: #008fff !important;
            }
        }
    }

    .footListWrap {
        margin-bottom: 30px;

        ul {
            &.footList {
                a {
                    font-size: 18px;
                }

                li {
                    &:not(:last-child) {
                        margin-bottom: 10px;

                        a {
                            line-height: 1;
                        }
                    }
                }
            }
        }
    }

    .socialListWrap {
        /* .socialList {
            display: flex;
            align-items: center;

            li {
                width: 40px;
                height: 40px;
                margin-bottom: 0;

                a {
                    width: 40px;
                    height: 40px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    overflow: hidden;
                    position: relative;
                    border-radius: 50%;
                    background-color: #fff;
                    padding: 8px;
                }

                &:not(:last-child) {
                    margin-right: 15px;
                }

                img {
                    transition: 0.6s;
                    max-width: inherit;

                    &.smImg {
                        opacity: 1;
                        width: 261px;
                        height: 40px;
                        top: -1px;
                        position: relative;
                    }

                    &.smImgHover {
                        top: 0;
                        left: 0;
                        opacity: 0;
                        width: 261px;
                        height: 40px;
                        position: absolute;
                    }
                }

                &:hover {
                    img {
                        &.smImg {
                            opacity: 0;
                        }

                        &.smImgHover {
                            opacity: 1;
                        }
                    }
                }

                &.sm_1 {
                    img {}
                }

                &.sm_2 {
                    img {
                        left: -55px;
                    }
                }

                &.sm_3 {
                    img {
                        left: -110px;
                    }
                }

                &.sm_4 {
                    img {
                        left: -165px;
                    }
                }

                &.sm_5 {
                    img {
                        left: -221px;
                    }
                }
            }
        } */
        .socialList {
            display: flex;
            align-items: center;
            /* justify-content: center; */
            li {
                width: 40px;
                height: 40px;
                transition: .4s;
                margin-bottom: 0;
                &:not(:last-child) {
                    margin-right: 15px;
                }
                a {
                    width: 40px;
                    height: 40px;
                    display: block;
                    overflow: hidden;
                    position: relative;
                    border-radius: 50%;
                    background-size: auto;
                    background-repeat: no-repeat;
                    background-image: url(../images/social_media_img.png);
                    transition: .4s;
                    img {
                        opacity: 0;
                        display: none;
                    }
                }
                &.sm_2 {
                    a {
                        background-position-x: -55px;
                    }
                }
                &.sm_3 {
                    a {
                        background-position-x: -166px;
                    }
                }
                &.sm_4 {
                    a {
                        background-position-x: -110px;
                    }
                }
                &:hover {
                    a {
                        background-position-x: 0;
                        background-position-y: -40px;
                    }
                    &.sm_2 {
                        a {
                            background-position-x: -55px;
                            background-position-y: -40px;
                        }
                    }
                    &.sm_3 {
                        a {
                            background-position-x: -166px;
                            background-position-y: -40px;
                        }
                    }
                    &.sm_4 {
                        a {
                            background-position-x: -110px;
                            background-position-y: -40px;
                        }
                    }
                }
            }
        }
    }

    .footerBottom {
        padding-top: 15px;
        padding-bottom: 15px;

        p {
            font-size: 14px;

            a {
                font-size: 14px;
            }
        }
    }
}

/* footer newsletter */
.newsLetterWrap {
    form.wpcf7-form.invalid {
        .wpcf7-response-output {
            display: none;
        }
    }

    form.wpcf7-form.sent {
        .wpcf7-response-output {
            content: "";
            border: unset;
            margin: 0 !important;
            padding: 0 !important;
            color: #46b450;
        }
    }
}

/* add to cart modal */

.cartModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;

    .cartModalInn {
        width: 100%;
        max-width: 800px;
        background-color: #fff;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        box-shadow: 0px 0px 6px 0px #ccc;
        padding: 50px 25px 30px;

        .cartCloseBtn {
            position: absolute;
            right: 15px;
            top: 15px;
            cursor: pointer;

            i {
                font-size: 25px;
            }
        }

        .cartModCont {
            .cartModMsg {
                background-color: #8bc08f4f;
                color: #12831c;
                padding: 12px 15px;
                font-size: 16px;
                margin-bottom: 20px;
            }

            .cartModProd {
                display: flex;
                justify-content: space-between;
                align-items: center;
                flex-wrap: wrap;
                background-color: #ededed;
                padding: 20px 15px;

                .cartModProdLeft {
                    display: flex;
                    align-items: center;
                    gap: 10px;
                    width: 120px;

                    .cartCrossBtn {
                        width: 25px;
                        min-width: 25px;
                        height: 25px;
                        border: 1px solid #d60000;
                        border-radius: 50%;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        cursor: pointer;

                        i {
                            font-size: 16px;
                            color: #d60000;
                        }
                    }

                    .cartSmallProd {
                        width: 75px;
                        height: 75px;

                        img {
                            width: 100%;
                            height: 100%;
                            object-fit: contain;
                        }
                    }
                }

                .cartModProdMid {
                    width: calc(100% - 210px);
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    padding: 0px 12px 0px 8px;

                    .cartProdDet {
                        h3 {
                            font-size: 18px;
                            color: #008fff;
                        }

                        p {
                            font-size: 14px;
                        }
                    }

                    .cartProdPrice {
                        p {
                            font-size: 18px;
                            color: #008fff;
                        }
                    }
                }

                .cartModProdRt {
                    width: 90px;

                    .cartModCounter {
                        display: flex;
                        align-items: center;
                        /* padding: 4px; */
                        border: 1px solid #000;

                        p {
                            width: 25%;
                            text-align: center;
                            margin-bottom: 0;
                            cursor: pointer;
                        }

                        input#product_add_to_cart_quan {
                            width: 50%;
                            text-align: center;
                            background-color: transparent;
                            border: none;
                            border-left: 1px solid #000;
                            border-right: 1px solid #000;
                            padding: 5px;
                        }

                        span {
                            width: 25px;
                            height: 30px;
                            margin-bottom: 0;
                            text-align: center;
                            font-size: 18px;

                            &:nth-child(2) {
                                width: 40px;
                            }

                            &:not(:last-child) {
                                border-right: 1px solid #000;
                            }

                            input {
                                background-color: transparent;
                                padding: 0;
                                text-align: center;
                            }
                        }
                    }
                }
            }

            .cartModPriceDet {
                margin: 15px 0px;
                text-align: right;

                p {
                    display: inline-block;
                    border-top: 1px solid grey;
                    padding-top: 5px;
                    font-size: 18px;

                    span {
                        color: #008fff;
                    }
                }
            }

            .cartModBtnDiv {
                display: flex;
                justify-content: center;
                flex-wrap: wrap;
                gap: 15px;

                .cartModBtn {
                    width: 32%;
                    font-size: 14px;
                    height: 45px;
                    line-height: 30px;

                    &:hover {
                        color: #008fff;
                    }
                }
            }
        }
    }
}

/* Responsive */

@media (max-width: 1680px) {
    .footer {
        .footerMain {
            .eachInner {
                .eachBlock {
                    font-size: 16px;
                }
            }
        }
    }
}

@media (max-width: 1440px) {
    .footer {
        & .footerLogo {
            img {
                width: 140px;
            }
        }

        a {
            font-size: 14px;
        }

        .col_inner {
            h2 {
                font-size: 20px !important;
                margin-top: 10px !important;
            }
        }

        & .footListWrap {
            & ul {
                &.footList {
                    & li {
                        &:not(:last-child) {
                            margin-bottom: 6px;
                        }
                    }

                    a {
                        font-size: 14px;
                    }
                }
            }
        }

        & .footerMain {
            & .eachInner {
                & .eachBlock {
                    .ico {
                        width: 20px;
                        height: 20px;
                    }

                    .icoValues {
                        width: calc(100% - 20px);
                    }
                }
            }
        }
    }
}

@media (max-width: 1199px) {

    .footBlock_2,
    .footBlock_3 {
        margin-top: 20px;
    }

    .footer {
        .footerMain {
            .newsLetterWrap {
                .formWrap {
                    .rightForm {
                        padding-right: 0;
                    }
                }
            }
        }
    }
}

@media (max-width: 991px) {
    /* .footBlock_2,
  .footBlock_3 {
    margin-top: 20px;
  } */

    .footer {
        .footerMain {
            .eachInner {
                .eachBlock {
                    .ico {
                        width: 18px;
                        height: 18px;
                    }

                    .icoValues {
                        width: calc(100% - 18px);
                    }
                }
            }

            .newsLetterWrap {
                .formWrap {
                    .inputBox {
                        &.submitBox {
                            right: 0;
                        }
                    }
                }
            }
        }

        .footerBottom {
            p {
                text-align: center;
            }
        }
    }
}

@media (max-width: 840px) {
    .cartModal {
        .cartModalInn {
            max-width: calc(100% - 30px);
        }
    }
}

@media (max-width: 768px) {
    .footer {
        padding-top: 60px;

        & .footerLogo {
            img {
                width: 140px;
            }
        }

        .go2Top {
            width: 46px;
            height: 46px;
        }
    }

    .cartModal {
        .cartModalInn {
            .cartModCont {
                .cartModProd {
                    row-gap: 15px;
                    align-items: flex-start;

                    .cartModProdMid {
                        width: calc(100% - 120px);
                        flex-direction: column;
                        justify-content: flex-start;
                        text-align: left;
                        align-items: flex-start;
                        row-gap: 10px;
                    }

                    .cartModProdRt {
                        width: auto;
                        padding-left: 130px;

                        .cartModCounter {
                            width: 120px;
                        }
                    }
                }
            }
        }
    }
}

@media (max-width: 767px) {
    .footer {
        .footListWrap {
            margin-bottom: 0;
        }
    }
}

@media (max-width: 640px) {
    .cartModal {
        .cartModalInn {
            .cartModCont {
                .cartModBtnDiv {
                    justify-content: center;
                    gap: 15px;

                    .cartModBtn {
                        width: 48%;
                    }
                }
            }
        }
    }
}

@media (max-width: 480px) {
    .cartModal {
        .cartModalInn {
            height: auto;
            overflow-y: auto;

            .cartModCont {
                .cartModProd {
                    .cartModProdLeft {
                        gap: 10px;
                        width: auto;
                    }

                    .cartModProdMid {
                        width: 100%;
                        padding-left: 30px;
                        padding-right: 0;
                    }

                    .cartModProdRt {
                        width: auto;
                        padding-left: 30px;

                        .cartModCounter {
                            width: 110px;
                        }
                    }
                }

                .cartModPriceDet {
                    text-align: center;

                    p {
                        display: block;
                    }
                }

                .cartModBtnDiv {
                    .cartModBtn {
                        width: 100%;
                    }
                }
            }
        }
    }
}