.single-product-wrap {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 55px;
    .single_variation_wrap {
        .nbtwccs_price_code {
            font-size: 1.5em;
        }
    }
    .product-image {
        width: 100%;
        .thumb-gallery {
            padding-bottom: 1px;
            .swiper-slide {
                box-sizing: border-box;
                img {
                    cursor: pointer;
                    border: 1px solid transparent;
                }
            }
        }
        .flex-control-thumbs {
            display: flex;
            flex-wrap: wrap;
            padding-left: 0;
            list-style-type: none;
            >li {
                flex: 0 0 22%;
                margin-right: 3%;
                margin-bottom: 3%;
            }
        }
    }
    .woocommerce-product-gallery__wrapper {
        margin-top: 0;
        .woocommerce-product-gallery__image {
            width: 100%;
        }
        .featured-gallery {
            margin-bottom: 10px;
            cursor: pointer;
            .swiper-button-next,
            .swiper-button-prev {
                background-image: none;
                width: auto;
                display: flex;
                align-items: center;
                &:before {
                    font-family: 'fontello';
                    font-size: 50px;
                }
            }
            .swiper-button-next {
                &:before {
                    content: '\e912';
                }
            }
            .swiper-button-prev {
                &:before {
                    content: '\e913';
                }
            }
            .previous,
            .next {
                background: transparent;
                opacity: 0;
                visibility: hidden;
                transition: all .2s ease;
            }
            &:hover {
                .previous,
                .next {
                    opacity: 1;
                    visibility: visible;
                }
            }
        }
    }
    .price {
        del {
            font-size: 1.5em;
            .amount {
                opacity: .5;
                margin-right: 10px;
            }
        }
        ins,
        &>span.amount {
            font-size: 2em;
        }
    }
    .summary {
        >.price {
            .nbtwccs_price_code {
                >span.amount {
                    font-size: 2em;
                }
            }
        }
    }
    .woocommerce-variation-price {
        margin-bottom: 15px;
    }
    .entry-summary {
        .entry-title {
            font-size: 30px;
            margin-top: 0;
        }
        .price {
            margin-bottom: 15px;
        }
        #nbt-alert {
            padding-top: 15px;
        }
    }
    .woocommerce-product-rating {
        display: flex;
        width: 100%;
        margin-bottom: 20px;
        @include media-breakpoint-down(lg) {
            flex-direction: column;
            .wc-link-review {
                margin-top: 15px;
            }
        }
    }
    #nbt-alert {
        #nbt_alerts_submit {
            border-radius: 5px;
        }
    }
    .star-rating {
        font-size: 18px;
        width: 85px;
        display: inline-block;
        margin-bottom: -2px;
        margin-right: 10px;
    }
    .woocommerce-review-link {
        display: inline-block;
        line-height: 1.3;
    }
    .separated-line {
        margin-right: 10px;
        margin-left: 10px;
    }
    .woocommerce-product-details__short-description {
        border-bottom: 1px solid #d6d6d6;
        margin-bottom: 25px;
    }
    .wc-custom-online-desginer {
        border-bottom: solid 1px #d6d6d6;
        border-top: solid 1px #d6d6d6;
        padding: 30px 0 10px 0;
        margin-bottom: 30px;
        .custom-od-title {
            text-transform: uppercase;
            color: #444;
            font-weight: bold;
            font-size: 18px;
            margin-bottom: 5px;
        }
        .custom-od-des {
            color: #666;
        }
        .nbdesigner_frontend_container {
            border-bottom: 0;
            border-top: 0;
            padding: 0;
            margin-bottom: 0;
        }
    }
    .nbdesigner_frontend_container {
        border-bottom: solid 1px #d6d6d6;
        border-top: solid 1px #d6d6d6;
        padding: 30px 0 10px 0;
        margin-bottom: 30px;
        .nbdesign-button {
            border: 0;
            font-weight: normal;
        }
    }
    .product-addtocart {
        display: block;
        width: 100%;
        .cart {
            display: block;
        }
    }
    .cart {
        width: 100%;
        margin-bottom: 30px;
        padding-bottom: 30px;
        border-bottom: 1px solid #d6d6d6;
    }
    .variations_button {
        display: flex; // @include media-breakpoint-down(xs) {
        //   flex-direction: column;
        // }
        .single_add_to_cart_button {
            width: calc(100% - 74px);
        }
        .nb-quantity.style-1 {
            min-width: 74px;
        }
    }
    .variations {
        margin-bottom: 30px;
    }
    .variation-block {
        display: flex;
        margin-bottom: 10px;
        p {
            margin-bottom: 0;
            width: 100px;
            padding: 5px 0;
            font-weight: bold;
        }
    }
    .nbtcs-swatches {
        padding: 5px 3px;
        .swatch-color {
            &.circle {
                border-radius: 50%;
                &:before {
                    border-radius: 50%;
                    content: '';
                    display: inline-block;
                    border: 1px solid transparent;
                    position: absolute;
                    top: -3px;
                    left: -3px;
                    right: -3px;
                    bottom: -3px;
                    transition: all 0.3s;
                }
                &.selected {
                    border-color: transparent;
                    &:before {
                        border: 1px solid;
                        border-radius: 50%;
                        content: '';
                        display: inline-block;
                        position: absolute;
                        top: -3px;
                        left: -3px;
                        right: -3px;
                        bottom: -3px;
                        transition: all 0.3s;
                        margin-left: 0;
                        margin-top: 0;
                        transform: none;
                        width: auto;
                        height: auto;
                    }
                }
                &:hover {
                    border-color: transparent;
                }
            }
            &:not(.swatch-radio) {
                position: relative;
                width: 20px;
                height: 20px;
                margin-right: 10px;
                line-height: 1;
                display: inline-block;
                text-indent: -9999px;
            }
            &.square {
                &:before {
                    border-radius: 5px;
                }
                &.selected {
                    &:before {
                        border-radius: 5px;
                    }
                }
            }
        }
        .square {
            border-radius: 5px;
        }
        .swatches-radio {
            li {
                color: #676c77;
                &:hover {
                    label {
                        color: #333;
                    }
                    .check {
                        border-color: #333;
                    }
                }
            }
            input[type=radio]:checked~label {
                color: #333;
            }
        }
    }
    .product_meta {
        padding-top: 30px;
        float: left;
        width: 100%;
        margin-bottom: 30px;
        .meta-name {
            display: inline-block;
            min-width: 120px;
        }
        .sku_wrapper,
        .category_wrapper,
        .tag_wrapper,
        .availability_wrapper {
            margin-bottom: 15px;
        }
        .availability_wrapper {
            .stock {
                display: inline-block;
                color: #fff;
                padding: 5px;
            }
            .in-stock {
                background-color: #8BAD42;
            }
            .out-stock {
                background-color: #D52A2A;
            }
        }
    }
    .yith-wcwl-add-to-wishlist {
        margin-top: 0; // display: inline-block;
        position: relative;
        border: 0;
        text-align: center;
        color: #fff;
        height: 50px;
        width: 50px;
        background: #ddd;
        float: left;
        margin-right: 15px;
        margin-bottom: 30px;
        border-radius: 5px;
        &>.yith-wcwl-wishlistaddedbrowse,
        &>.yith-wcwl-wishlistexistsbrowse {
            padding-top: 14px;
            height: 100%;
            .icon-heart {
                font-size: 22px;
                &:before {
                    content: "\a901";
                }
            }
        }
        .add_to_wishlist {
            display: flex;
            justify-content: center;
            .icon-heart {
                margin-right: 0;
                margin-top: 12px;
                font-size: 22px;
            }
        }
        i {
            color: #fff;
            font-size: 22px;
            &.icon-heart {
                margin-right: 0;
                &:before {
                    margin-right: 5px;
                    content: "\a900";
                }
            }
        }
        .ajax-loading {
            position: absolute;
            top: 6px;
            left: calc(50% - 10px);
            margin-left: 0;
            visibility: visible;
            width: 12px !important;
            height: 12px !important;
            i {
                animation: spin 2s infinite linear;
                display: inline-block;
                &:before {
                    color: #fff;
                    content: '\e839';
                    font-family: 'fontello';
                    font-style: normal;
                }
            }
        }
    }
    .compare {
        margin-top: 0;
        position: relative;
        border: 0;
        text-align: center;
        color: #fff;
        height: 50px;
        width: 50px;
        padding: 12px 0 0 0;
        i {
            &:before {
                font-family: "fontello";
                content: "\e814";
                font-size: 22px;
            }
        }
        .blockOverlay {
            background: none !important;
            padding-top: 8px !important;
            font-size: 22px;
            cursor: unset !important;
            opacity: 1 !important;
            &:before {
                color: #fff;
                content: '\e839';
                font-family: 'fontello';
                font-style: normal;
                animation: spin 2s infinite linear;
                display: inline-block;
                background: none;
                font-size: 22px;
                height: auto;
                width: auto;
                position: static;
                margin: 0;
            }
        }
        &.added {
            font-size: 0;
            padding-top: 6px;
            &:before {
                font-family: "fontello";
                content: "\e810";
                font-style: normal;
                font-size: 24px;
                color: #fff;
            }
        }
    }
    .compare,
    .yith-wcwl-add-to-wishlist,
    .teepro-sizeguide-btn {
        .tooltip {
            position: absolute;
            white-space: nowrap;
            font-size: 12px;
            top: -50px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.7);
            text-transform: uppercase;
            padding: 6px 10px;
            opacity: 0;
            visibility: hidden;
            transition: all .2s ease;
            color: #fff;
            z-index: 99;
            &:before {
                content: "";
                position: absolute;
                border: 5px solid transparent;
                bottom: -10px;
                right: calc(50% - 5px);
                border-top: 5px solid rgba(0, 0, 0, 0.7);
            }
        }
        &:hover {
            .tooltip {
                top: -40px;
                opacity: 1;
                visibility: visible;
            }
        }
    }
}

.woocommerce-tabs {
    .accordion-title-wrap:hover {
        cursor: pointer;
    }
}

.mfp-figure:after {
    background-color: transparent !important;
}

.shop-main {
    max-width: 100%;
    margin-bottom: 85px;
    .swiper-button-next,
    .swiper-button-prev,
    .swiper-button-next.swiper-button-disabled,
    .swiper-button-prev.swiper-button-disabled {
        background-size: 20px 44px;
        opacity: 0;
    }
    .swiper-button-next,
    .swiper-button-prev {
        height: 100%;
        top: 0;
        margin-top: 0;
    }
    .swiper-pagination {
        width: 100%;
        position: relative;
    }
    .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        margin-left: 5px;
        outline: none;
    }
    .product:hover {
        .swiper-button-next,
        .swiper-button-prev {
            opacity: 1;
        }
        .swiper-button-disabled {
            opacity: .35;
        }
    }
    &.bottom-thumb {
        .thumb-gallery {
            .swiper-wrapper {
                
            }
        }
    }
    &.left-thumb {
        .woocommerce-product-gallery__wrapper {
            display: flex;
            flex-wrap: nowrap;
            .featured-gallery {
                flex-basis: 80%;
                max-width: 80%;
                order: 2;
            }
            .thumb-gallery {
                flex-basis: 20%;
                max-width: 20%;
                padding-right: 10px;
            }
        }
    }
    &.inside-thumb {
        .woocommerce-product-gallery__wrapper {
            position: relative;

            .featured-gallery {
                .swiper-button-next, 
                .swiper-button-prev {
                    display: none;
                }
            }
        }
        .thumb-gallery {
            width: 20%;
            height: 100%;
            position: absolute;
            top: 10px;
            left: 10px;
            .swiper-slide{
                img {
                    border: 1px solid #cecece;
                }
            }
        }
    }
    .related {
        .product {
            width: 100%;
        }
    }
    @include media-breakpoint-up(sm) {
        &.related-3-columns,
        &.related-4-columns {
            .related {
                .product {
                    width: 50%;
                }
            }
        }
    }
    @include media-breakpoint-up(md) {
        &.related-2-columns {
            .related {
                .product {
                    width: 50%;
                }
            }
        }
        &.related-3-columns,
        &.related-4-columns {
            .related {
                .product {
                    width: 33.33333%;
                }
            }
        }
    }
    @include media-breakpoint-up(lg) {
        &.related-4-columns {
            .related {
                .product {
                    width: 25%;
                }
            }
        }
    }
    .related,
    .upsells {
        position: relative;
        h2 {
            margin-bottom: 30px;
        }
        .products {
            margin-left: -15px;
            margin-right: -15px;
            .product {
                margin-bottom: 30px;
            }
            .product-description {
                margin-top: 5px;
            }
        }
    }
    .upsells {
        margin-bottom: 85px;
        .product {
            width: 100%;
        }
    }
    @include media-breakpoint-up(sm) {
        &.upsells-3-columns,
        &.upsells-4-columns {
            .upsells {
                .product {
                    width: 50%;
                }
            }
        }
    }
    @include media-breakpoint-up(md) {
        &.upsells-2-columns {
            .upsells {
                .product {
                    width: 50%;
                }
            }
        }
        &.upsells-3-columns,
        &.upsells-4-columns {
            .upsells {
                .product {
                    width: 33.33333%;
                }
            }
        }
    }
    @include media-breakpoint-up(lg) {
        &.upsells-4-columns {
            .upsells {
                .product {
                    width: 25%;
                }
            }
        }
    }
}

.wc-pd-no-sidebar {
    .shop-main {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/**
 * ------------------------------------------------------------------------------------------------
 * Size guide
 * ------------------------------------------------------------------------------------------------
 */

.size-guide-btn-wrapper {
    display: inline-block;
    margin-left: 11px;
    .teepro-sizeguide-btn {
        margin-top: 0;
        position: relative;
        border: 0;
        text-align: center;
        height: 50px;
        width: 50px;
        padding: 12px 0 0 0;
        .icon-ruler {
            font-size: 22px;
        }
    }
}

.teepro-content-popup {
    margin: 30px auto;
    width: 100%;
    background-color: #fff;
    padding: 30px;
    max-width: 800px;
    position: relative;
    .teepro-sizeguide-title {
        font-size: 24px;
        text-transform: uppercase;
        text-align: center;
    }
    .teepro-sizeguide-content {
        margin-bottom: 30px;
    }
    .responsive-table {
        margin-bottom: 0;
        overflow-x: auto;
        .teepro-sizeguide-table {
            td,
            tr {
                transition: all .25s ease;
            }
            tr {
                &:first-child {
                    background-color: #f4f4f4;
                    td {
                        color: #2d2a2a;
                        font-size: 14px;
                        font-weight: 700;
                        text-transform: uppercase;
                        border-bottom: none;
                    }
                }
                &:not(:first-child) {
                    &:hover {
                        background-color: #f8f8f8;
                        td {
                            color: #444;
                        }
                    }
                    td {
                        &:hover {
                            background-color: rgba(0, 0, 0, .06);
                        }
                    }
                }
            }
            td {
                text-align: center;
                padding: 15px 12px;
                border: none;
                vertical-align: middle;
                border-bottom: 1px solid #e6e6e6;
            }
        }
    }
}

/* overlay at start */

.mfp-fade.mfp-bg {
    opacity: 0;
    -webkit-transition: all 0.15s ease-out;
    -moz-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
}

/* overlay animate in */

.mfp-fade.mfp-bg.mfp-ready {
    opacity: 0.8;
}

/* overlay animate out */

.mfp-fade.mfp-bg.mfp-removing {
    opacity: 0;
}

/* content at start */

.mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;
    -webkit-transition: all 0.15s ease-out;
    -moz-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
}

/* content animate it */

.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
}

/* content animate out */

.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
}