.filter-item-list,
.single_variation_wrap .variations_button,
.single-product form.cart:not(.variations_form) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.product_title {
    font-size: 2em;
    font-weight: $font-weight-semibold;
    margin-bottom: 0.5em;
    color: var(--porto-color-price);
    a {
        color: inherit;
        &:hover, &:focus {
            color: var(--porto-primary-color);
        }
    }
    &.show-product-nav {
        width: calc(100% - 52px);
    }
}
.product-nav {
    position: absolute;
    top: 0;
    margin-top: calc(1.125rem - 14px);
    /*#{$right}: ($grid-gutter-width / 2);*/
    #{$right}: 10px;
    @include clearfix;
    z-index: 1;

    .product-prev,
    .product-next {
        float: $left;
        margin-#{$left}: .125rem;

        &:hover {
            .product-popup {
                display: block;
            }
        }
    }

    a {
        display: block;
        color: var(--porto-heading-color);
        &:hover, &:focus {
            color: var(--porto-heading-color);
        }
    }

    .product-link {
        font-size: 16px;
        width: 28px;
        height: 28px;
        line-height: 23px;
        border: 2px solid var(--porto-gray-2);
        border-radius: 14px;
        display: inline-block;
        text-align: center;
        font-family: "porto";

        &.disabled {
            cursor: default;
            opacity: .5;
        }
    }

    .product-prev {
        .product-link {
            &:before {
                content: if-ltr('\e819', '\e81a');
            }
        }

        .product-popup {
            &:before {
                #{$right}: 36px;
            }
        }
    }

    .product-next {
        .product-link {
            &:before {
                content: if-ltr('\e81a', '\e819');
            }
        }

        .product-popup {
            &:before {
                #{$right}: 7px;
            }
        }
    }

    .featured-box {
        display: block;
        margin: 0;
        text-align: $left;
        border-width: 0;
        box-shadow: $menu-narrow-box-shadow;

        .box-content {
            display: block;
            padding: 10px;
            @include clearfix;
        }
    }

    .product-popup {
        display: none;
        position: absolute;
        top: 32px;
        #{$right}: 0;
        font-size: .9286em;
        z-index: 999;

        &:before {
            border-bottom: 7px solid var(--porto-heading-color);
            border-left: 7px solid transparent !important;
            border-right: 7px solid transparent !important;
            content: "";
            position: absolute;
            top: -5px
        }

        .page-top & {
            color: var(--porto-body-color);
            &:before {
                border-bottom-color: var(--porto-primary-color);
            }
        }

        .box-content {
            border-top: 3px solid var(--porto-heading-color);
        }

        .product-image {
            padding: 0;
            width: 90px;

            img {
                width: 100%;
                height: auto;
            }
        }

        .product-details {

            .product-title {
                display: block;
                padding-top: 5px;
                line-height: 1.4em;
                font-size: 12px;
                font-weight: 600;
                text-align: center;
                color: var(--porto-color-price);
            }

            .amount {
                font-size: 1.0714em;
                font-weight: $font-weight-semibold;
                line-height: 1;
                vertical-align: middle;
                color: var(--porto-color-price);
                .currency,
                .decimal {
                    font-size: .75em;
                    font-weight: $font-weight-normal;
                }
                .currency {
                    .decimal {
                        font-size: 1em;
                    }
                }
            }
            ins {
                text-decoration: none;
                vertical-align: baseline;
            }
            del,
            .from {
                color: $color-old-price;
                font-size: .8em;
                margin-#{$right}: 3px;
                vertical-align: baseline;
                .amount {
                    color: $color-old-price;
                }
            }
        }
    }
}
.woocommerce-product-rating {
    color: #999;
    margin-bottom: 1.4286em;
    margin-top: 0;
    font-size: .9286em;
    .star-rating {
        font-size: 1.2857em;
        display: inline-block;
        margin-#{$right}: .7143em;
        position: relative;
    }
    .review-link {
        display: inline-block;
        a:first-child {
            padding-#{$left}: 0;
        }
    }
    a {
        color: inherit;
        display: inline-block;
        vertical-align: bottom;
        padding: 0 .7143em;

        &:hover,
        &:active {
            color: #888;
        }
    }
    &.noreview {
        a {
            padding: 0;
        }
    }
}
.product-summary-wrap {
    .summary-before,
    .summary {
        margin-bottom: 2rem;
    }
    .description {
        margin-bottom: 1em;
        p:last-child {
            margin-bottom: 0;
        }
    }
    .summary {
        @media #{$screen-medium} {
            margin-#{$right}: 0;
        }
    }
    .cart {
        margin-bottom: 1.7857em;
    }
    .quantity {
        vertical-align: top;
        margin-bottom: 5px;
    }
    .single_add_to_cart_button {
        margin: side-values(0 .625rem .3125rem 0);
        &:before {
            display: inline-block;
            content: "\e8ba";
            font-family: "Porto";
            margin-#{$right}: .5rem;
            font-size: 1.2857em;
            line-height: 1;
        }
        @media #{$screen-normal} {
            padding: 0 1.4286em;
        }
        @media #{$screen-small} {
            padding: 0 .7143em;
        }
    }
    .stock {
        font-weight: 600;
        color: #4c4c4c;
        margin-bottom: 0;
    }
    .yith-wcwl-add-to-wishlist {
        position: relative;
        text-align: $left;

        a,
        span:not(.yith-wcwl-tooltip) {
            color: var(--porto-wishlist-color, #302e2a);
            width: auto;
            text-indent: 0;
            overflow: visible;
            border: none;
            background: none;
            border-radius: 0;
        }
    }

    .yith-wcwl-add-to-wishlist a,
    .yith-wcwl-add-to-wishlist span {
        &:hover, &:focus {
            color: var(--porto-wishlist-color-inverse, var(--porto-primary-color));
        }
    }
    .yith-wcwl-add-to-wishlist a span:not(.yith-wcwl-tooltip) {
        &, &:hover {
            color: inherit;
        }
        transition: none
    }

    /*.compare.button {
        width: auto;
        text-indent: 0;
        padding-left: 2.8em;
        margin-bottom: 1em;
        border: none;
        background: transparent;
        color: inherit;
        border-radius: 0;

        &:before {
            border: 1px solid #52b9b5;
            color: #52b9b5;
            border-radius: $border-normal;
            width: 2em;
            top: 0;
            bottom: 0;
        }

        &:hover {
            color: #52b9b5;

            &:before {
                color: #fff;
                background-color: #52b9b5;
            }
        }

        &.loading:after {
            width: 2.2em;
            border: 1px solid #52b9b5;
        }

        > * {
            width: 2.2em !important;
            right: auto;
            border: 1px solid #52b9b5 !important;
            border-radius: $border-normal;
        }
    }*/

    .product_meta {
        margin: 1.2143em 0;
        span {
            span,
            a {
                display: inline-block;
                font-weight: 400;
                color: #777;
            }
        }
    }
    .share-links {
        margin: 2.2143em 0 0;
    }
    .share-links {
        margin-bottom: 1.0714em;
    }

    #product-tab {

        .description {
            margin-bottom: 0;
        }

        hr {
            display: none;
        }
    }

    .price {
        color: var(--porto-heading-color);
    }
}

.elementor-widget-porto_cp_wishlist,
.wpb-sp-wishlist {
    .yith-wcwl-add-to-wishlist span:not(.yith-wcwl-tooltip) {
        width: auto;
        text-indent: 0;
    }
}
.product_meta {
    .posted_in,
    .sku_wrapper,
    .product-stock,
    .tags  {
        display: block;
        margin-bottom: .25rem;
    }
}

#product-tab {
    &:not(:last-child) {
        margin-bottom: 1.5rem;
    }

    .tab-content h2 {
        margin-bottom: 0.7em;
    }

    .tab-content > h2:first-child {
        display: none;
    }
}

#reviews {
    .commentlist {
        li {
            position: relative;
            padding-#{$left}: 115px;
            @media #{$screen-small} {
                padding-#{$left}: 0;
            }
        }
        .img-thumbnail {
            position: absolute;
            #{$left}: 0;
            top: 0;

            img {
                max-width: 80px;
                height: auto;
            }

            @media #{$screen-small} {
                position: static;
                margin: side-values(0 12px 10px 0);
                float: $left;

                img {
                    max-width: 60px;
                }
            }
        }
        .comment-text {
            min-height: 90px;

            &:before {
                content: "";
                border-bottom: 15px solid transparent;
                #{$left}: -15px;
                border-top: 15px solid transparent;
                border-#{$right}: 15px solid var(--porto-gray-1);
                height: 0;
                position: absolute;
                top: 28px;
                width: 0;

                @media #{$screen-small} {
                    display: none;
                }
            }
        }
        .star-rating {
            float: $right;
            @media #{$screen-small} {
                float: none;
            }
        }
    }
}

div.products {
    margin-bottom: 1.875rem;
}
.products-container {
    list-style: none
}
.products.related {
    padding-bottom: 1.875rem;
    margin-bottom: 0;
}
.main-content .products.related {
    padding-bottom: .5rem;
}
#content-bottom + .products.related {
    margin-top: 2.5rem;
}

.summary-before {
    position: relative;
    @media #{$screen-normal} {
        /*max-width: 462px;*/
        margin-left: auto;
        margin-right: auto;
    }

    .labels {
        position: absolute;
        line-height: 1;
        color: $color-white;
        font-weight: $font-weight-bold;
        text-transform: uppercase;
        margin: 0;
        z-index: 7;
        top: .8em;
        #{$left}: .8em;
        margin-#{$left}: var(--porto-column-spacing);

        .onhot,
        .onsale,
        .onnew {
            font-size: .8571em;
            padding: .5833em .6333em;
            margin-bottom: 5px;
            display: block;
        }

        .onnew {
            @include background(linear-gradient(135deg, var(--porto-new-bgc, #08c) 0, var(--porto-new-bgc, #0169fe) 80%));
        }
    }

    .ms-lightbox-btn { background-color: var(--porto-primary-color); }
    .ms-lightbox-btn:hover { background-color: var(--porto-primary-light-5); }
    .ms-nav-next:before,
    .ms-nav-prev:before,
    .ms-thumblist-fwd:before,
    .ms-thumblist-bwd:before { color: var(--porto-primary-color); }
}

.product-images {
    position: relative;
    margin-bottom: 8px;

    .zoom {
        border-radius: 100%;
        bottom: 4px;
        cursor: pointer;
        background-color: var(--porto-primary-color);
        color: #FFF;
        display: block;
        height: 30px;
        padding: 0;
        position: absolute;
        #{$right}: 4px;
        text-align: center;
        width: 30px;
        opacity: 0;
        @include transition(all .1s);
        z-index: 1000;
        i {
            font-size: 14px;
            line-height: 28px;
        }
    }

    &:hover {
        .zoom {
            opacity: 1;
        }
    }

    .product-image-slider.owl-carousel {
        margin-bottom: 0;
        .img-thumbnail {
            display: block;
        }
    }
}

.product-image-slider.owl-carousel {
    margin-bottom: 10px;

    .img-thumbnail {
        padding: 0;
    }
    .owl-nav {
        [class*="owl-"], [class*="owl-"]:hover, [class*="owl-"]:active {
            background: none !important;
            font-size: 22px;
            color: #222529;
        }
        .owl-prev {
            #{$left}: 0;
        }
        .owl-next {
            #{$right}: 0;
        }
    }
}

.product-image-slider {
    .owl-item {
        cursor: grab;
        line-height: 1;
        .img-thumbnail {
            width: 100%
        }
    }
}

.product-thumbs-slider.owl-carousel {
    margin-bottom: 0;

    .thumb-nav {
        opacity: 0;
        @include transition(opacity .3s);
        top: 50%;
        position: absolute;
        margin-top: -20px;
        width: 100% !important;
        .thumb-prev, .thumb-next {
            cursor: pointer;
            display: inline-block;
            position: absolute;
            font-size: 15px;
            color: var(--porto-primary-color);
            width: 30px;
            height: 30px;
            text-align: center;
            text-shadow: 0 -1px 0 rgba(0, 0, 0, .25);
            margin: 5px;
            padding: 4px 7px;
            @include user-select(none);
            &:before {
                font-family: 'Font Awesome 5 Free'; font-weight: 900;
                position: relative;
                top: 0;
            }
        }
        .thumb-prev {
            #{$left}: -5px;
            &:before {
                content: if-ltr($fa-var-chevron-left, $fa-var-chevron-right);
                #{$left}: -1px;
            }
        }
        .thumb-next {
            #{$right}: -5px;
            &:before {
                content: if-ltr($fa-var-chevron-right, $fa-var-chevron-left);
                #{$left}: 1px;
            }
        }
    }

    &:hover {
        .thumb-nav {
            opacity: 1;
        }
    }
    .owl-item {
        cursor: pointer;

        img {
            @include transition(opacity .3s);
        }
    }
    .img-thumbnail {
        border: 1px solid var(--porto-gray-1);
        transition: border-color .2s;
    }
}
.product-thumbs-slider.owl-carousel .owl-item.selected .img-thumbnail,
html:not(.touch) .product-thumbs-slider .owl-item:hover .img-thumbnail {
    border: 2px solid var(--porto-heading-color);
}

.variations {
    td > br {
        display: none;
    }
    .label {
        font-size: 1em;
        color: inherit;
        text-align: $left;
        padding-#{$left}: 0;
    }
    .reset_variations {
        display: inline-block;
        line-height: 1;
        padding: .4375rem .5rem;
        margin-top: .7em;
        background: var(--porto-gray-1);
        color: inherit;
        font-size: .6875rem;
        text-transform: uppercase;
        &:hover {
            background: var(--porto-primary-color);
            color: var(--porto-primary-color-inverse);
        }
    }
    tr {
        td {
            padding-top: 2px;
            label {
                padding-top: 10px;
            }
        }
    }
    tr:last-child {
        select {
            margin-bottom: 0;
        }
    }
    select {
        display: block;
        height: 2.625rem;
        font-size: .8571em;
        font-weight: 600;
        text-transform: uppercase;
        box-shadow: none;
        width: 100%;
    }
}
.single_variation_wrap,
.single-product .cart:not(.variations_form) {
    padding: 1.25rem 0 1rem;
    border-top: 1px solid var(--porto-gray-2);
    border-bottom: 1px solid var(--porto-gray-2);
    margin-top: 1rem;
}

.wcml_currency_switcher {
    margin-bottom: 15px;
}

.group_table {
    th, td {
        vertical-align: middle;
        display: table-cell;
    }
    .label,
    .price {
        font-size: 1.2em;
    }
}

/* Tabs Styles */
h2.resp-accordion {
    padding: 15px !important;
    line-height: 1.4;
    font-size: 1em;
}
.resp-arrow {
    display: none;
}
.tab-content {
    h2 {
        font-size: 1.4286em;
        line-height: 1.4;
        font-weight: 400;
        margin-bottom: 1.0714em;
    }

    p {
        margin-bottom: 10px;
    }

    table {
        margin-top: 20px;
        p {
            margin: 0;
        }
    }

    *:last-child {
        margin-bottom: 0;
    }
}

.woocommerce-tabs {
    .tab-content {
        border: none;
        border-top: solid 1px var(--porto-gray-2);
        box-shadow: none;
        padding: 30px 0 15px;
        @media #{$screen-medium} {
            border-top: none;
        }
        p {
            font-size: 14px;
            font-weight: 400;
            letter-spacing: .005em;
            line-height: 1.9;
        }
    }
    .resp-tabs-list {
        padding-bottom: 1px;
        border-bottom: none;
        li {
            font-weight: 700;
            color: #818692 !important;
            text-transform: uppercase;
            background: transparent !important;
            border: none !important;
            border-bottom: 2px solid transparent !important;
            padding: 7px 0 !important;
            border-radius: 0 !important;
            margin-#{$right}: 35px;
            &:hover, &.resp-tab-active {
                border-color: var(--porto-heading-color) !important;
            }
            &.resp-tab-active {
                color: var(--porto-heading-color) !important;
            }
        }
    }
    h2.resp-accordion {
        border-top: none !important;
        border-left: none;
        border-right: none;
        background: none !important;
        text-transform: uppercase;
        font-weight: bold;
        color: var(--porto-heading-color);
        &:before {
            content: '\e81c';
            font-family: 'porto';
            float: $left;
            margin-#{$right}: 10px;
        }
    }
    h2.resp-tab-active {
        border-bottom: 2px solid var(--porto-primary-color) !important;
        &:before {
            content: '\e81b';
        }
    }
}
/*.resp-htabs.style-2 .resp-tabs-list li {
    margin-#{$right}: 35px;
}
.resp-vtabs.style-2 {
    .resp-tabs-container {
        border: none;
        box-shadow: none;
    }
    ul.resp-tabs-list {
        padding-right: 5% !important;
        padding-left: 5% !important;
    }
    .resp-tabs-list li {
        text-align: $right;
        &:first-child {
            border-top-width: 0 !important;
        }
        &:last-child {
            border-bottom-width: 0 !important;
        }
        &.resp-tab-active {
            border-bottom: 2px solid var(--porto-primary-color) !important;
        }
    }
}
.resp-easy-accordion.style-2 {
    .tab-content.resp-tab-content {
        border-top: none;
    }
    h2.resp-accordion {
        position: relative;
        margin-bottom: 5px;
        border: none;
        &.resp-tab-active {
            color: #ffffff;
        }
        &:first-child {
            border-top: none !important;
        }
        &:after {
            content: "\e814";
            position: absolute;
            top: 50%;
            right: 20px;
            margin-top: -10px;
            font-family: porto;
        }
    }
    .resp-accordion.resp-tab-active:after {
        content: "\e80b";
        color: #fff;
    }
}*/

/* Shop Single Page */

.single-product {
    .cart {
        margin-bottom: 0px;
        &:not(.variations_form) {
            margin-top: 10px;
        }
    }
    .product-summary-wrap {
        .yith-wcwl-add-to-wishlist {
            padding: 0;
            display: inline-block;
            vertical-align: middle;
            margin: side-values(15px .5rem 0 0);
            font: 700 .75rem/1 var(--porto-add-to-cart-ff), var(--porto-body-ff), sans-serif;
            text-transform: uppercase;
            letter-spacing: -.015em;
            + .clear {
                display: block;
            }
        }
        .description {
            p {
                font-size: 1.1428em;
                line-height: 1.6875;
                letter-spacing: -0.015em;
            }
        }
        .price {
            font: 600 1.5rem/1 var(--porto-add-to-cart-ff), var(--porto-body-ff), sans-serif;
            letter-spacing: -0.02em;
            .price { margin-top: 0; margin-bottom: 0; }
            del { letter-spacing: 0; }
        }
        .yith-compare {
            display: inline-flex;
            height: 34px;
            margin-top: 15px;
            padding: 0;
            color: var(--porto-wishlist-color, #302e2a);
            font: 700 12px/34px var(--porto-add-to-cart-ff), var(--porto-body-ff), sans-serif;
            background: none;
            text-transform: uppercase;
            &:before {
                content: "\e810";
                margin-right: 0.25rem;
                font-family: 'porto';
                font-size: 1.125rem;
            }
            &.added::before {
                content: "\f00c";
                font-family: "Font Awesome 5 Free";
                font-weight: 900;
            }
            &:hover, &:hover::before,
            &:focus, &:focus::before,
            &:active, &:active::before {
                color: var(--porto-primary-color);
                background: none;
            }
        }
        .share-links {
            a {
                font-size: 13px;
                width: 32px;
                height: 32px;
                border-radius: 16px;
                margin: side-values(0.2857em 0.1em 0.2857em 0);

                &:not(:hover) {
                    background: none;
                    color: var(--porto-heading-color);
                    border: 2px solid #e7e7e7
                }
            }
            margin: 0;
        }
        .product-share {
            display: inline-block;
            margin: side-values(15px .5rem 0 0);
            vertical-align: middle;
        }
    }
    .product_meta {
        clear: both;
        font-size: .8571em;
        font-weight: 600;
        color: #222529;
        a, 
        span span {
            font-weight: 400;
            color: #777;
        }
        a:hover {
            color: #222529;
        }
    }
    .entry-summary {
        position: relative;
        .add_to_wishlist:before {
            position: relative;
            content: '\e91b';
            font-size: 1.125rem;
            bottom: auto;
            #{$right}: auto;
        }
        .yith-wcwl-wishlistexistsbrowse a:before, 
        .yith-wcwl-wishlistaddedbrowse a:before, 
        .yith-wcwl-add-to-wishlist .delete_item:before,
        .yith-wcwl-add-button a.view-wishlist:before {
            position: static;
            margin-right: .125rem;
            line-height: 1;
        }
    }
    
    .product_title {
        font-size: 1.875rem;
        line-height: 1.2;
        color: var(--porto-heading-color);
        letter-spacing: -0.01em;
        font-weight: 700;
        margin-bottom: 2px;
    }
    .product-images {
        .zoom {
            background: none;
            color: $color-dark;
        }
    }
    .woocommerce-product-rating {
        .star-rating {
            &:before {
                color: #999;
            }
            span:before {
                color: #ff5b5b;
            }
            font-size: 1em;
            top: 1px;
        }
        &:after {
            content: '';
            display: block;
            width: 40px;
            border-top: 2px solid #e7e7e7;
            margin: 0.875rem 0 1rem;
        }
    }
    .variations {
        width: auto;
        min-width: 45%;
        .label {
            display: table-cell;
            padding-#{$right}: 1em;
            label {
                font-size: 1em;
                text-transform: uppercase;
                line-height: 42px;
                white-space: nowrap;
                padding: 0;
                margin: 0;
                color: #222529;
                &:after { content: ":"; }
            }
        }
    }

    ul.product_list_widget li .product-image {
        width: 75px;
        flex: 0 0 75px;
        margin-#{$right}: 15px;
    }
    ul.product_list_widget li .product-details {
        max-width: calc(100% - 90px);
	}
    
    // wishlist widget - Backward compatibility
    .product-summary-wrap {
        .wishlist-nolabel:not(.entry-summary) {
            .yith-wcwl-add-to-wishlist a,
            .yith-wcwl-add-to-wishlist span:not(.yith-wcwl-tooltip):not(.separator){
                width: 36px; 
                text-indent: -9999em; 
                border: 1px solid var(--porto-shop-add-links-border-color, transparent);
            }
            .yith-wcwl-add-to-wishlist a:before { 
                position: absolute;
                line-height: inherit;
            }
        }
    } 
    
    // Stock Style
    .woocommerce-variation-availability {
        .stock {
            display: inline-block;
            position: relative;
            font-size: 0.6875rem;
            color: #777;
            line-height: 1.6875rem;
            text-transform: uppercase;
            background-color: #f3f3f3;
            border-radius: 0.8125rem;
            z-index: 2;
            overflow: hidden;
            padding: 0 3rem;
            margin-bottom: 0;
            &:before {
                display: block;
                content: '';
                position: absolute;
                background-color: #2fc589;
                width: 15%;
                height: 100%;
                left: 0;
                z-index: -1;
            }
            &.out-of-stock::before {
                background-color: #e12d2d;
            }
        } 
    } 
    // Back In Stock Notifier for WooCommerce plugin
    .cwginstock-subscribe-form {
        margin-top: 0.625rem;
    }
    .cwginstock-panel-heading h4 {
        margin-bottom: 0;
    }

    // WooCommerce Custom Product Addons
    .fpf-fields,
    .fpf-totals {
        width: 100%;
    }
    .fpf-field {
        h2 {
            margin-bottom: 1rem;
        }
        label {
            margin-bottom: 0.5rem;
        }
    }
    .wcpa_form_outer {
        margin: 0;
    }
}

.single-product .product-summary-wrap,
.shop_table.cart-table {
    .quantity {
        margin-#{$right}: .5rem;
        .minus, .plus {
            width: 30px;
            height: 3rem;
            border-radius: 0;
        }
        .qty {
            width: 44px;
            height: 3rem;
            font-size: 1rem;
            line-height: 14px;
            border-radius: 0;
            border-width: 1px 0 1px 0;
        }
    }
}

.single_add_to_cart_button,
.view-cart-btn {
    height: 3rem !important;
    padding: 0 2em;
    margin-bottom: 5px;
    overflow: hidden;
    text-transform: uppercase;
    font-size: 1em;
    letter-spacing: -0.015em;
    font-weight: 700;
    line-height: 3rem;
    border: none;
}

.single_add_to_cart_button {
    font-family: var(--porto-add-to-cart-ff, var(--porto-body-ff)), sans-serif;
    background: var(--porto-heading-color);
    color: var(--porto-body-bg);
}

.view-cart-btn {
    display: none;
}

.single-add-to-cart .type-product .view-cart-btn {
    display: inline-block;
}

.filter-item-list {
    padding: 0;
    list-style: none;
    margin-bottom: 0;

    .filter-color {
        display: block;
        position: relative;
        margin: side-values(5px 10px 5px 0);
        padding-#{$right}: 0 !important;
        // swatch color size
        --porto-sw-size: 25px;
        width: var(--porto-sw-size);
        height: var(--porto-sw-size);
        text-indent: -9999px;
        white-space: nowrap;
        border: 1px solid #e7e7e7;
        border-radius: 50%;
    }
    .chosen, .active {
        .filter-color:before {
            content: '';
            position: absolute;
            // swatch color offset
            --porto-sw-offset: -4px;
            left: var(--porto-sw-offset);
            top: var(--porto-sw-offset);
            right: var(--porto-sw-offset);
            bottom: var(--porto-sw-offset);
            border: 1px solid #222529;
            border-radius: 50%;
        }
    }

    & + select {
        visibility: hidden;
        width: 0;
        height: 0;
        overflow: hidden;
        margin: 0;
        padding: 0;
        float: $right;
        border: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        -ms-appearance: none;
    }

    a.disabled {
        cursor: not-allowed;
        opacity: .5;
    }
}

.woocommerce-widget-layered-nav-list a:not(.filter-color),
.filter-item-list .filter-item {
    display: block;
    padding: 0 15px;
    margin: side-values(3px 6px 3px 0);
    min-width: 32px;
    border: 1px solid var(--porto-gray-5);
    text-align: center;
    font-size: 12px;
    line-height: 24px;
    font-weight: 500;
    color: inherit;
}

.woocommerce-widget-layered-nav-list .chosen a:not(.filter-color),
.filter-item-list .active .filter-item,
.filter-item-list .filter-item:not(.disabled):hover {
    background-color: var(--porto-primary-color);
    border-color: var(--porto-primary-color);
    color: var(--porto-primary-color-inverse);
}

.filter-item-list .filter-image {
    width: 32px;
    height: 32px;
    text-indent: -9999px;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: transparent !important;
}
.single-product .single_variation > div:not(:empty) {
    margin-bottom: .75rem;
}
.single-product .porto-pre-order-date {
    flex: 0 0 100%;
    max-width: 100%;
}
.label-pre-order {
    font-size: .9em;
    color: var(--porto-primary-color);
}

// Video Popup
.porto-video-thumbnail-viewer {
	&::before {
		content: '';
		position: absolute;
		left: 0;
		top: 0;
		right: 0;
		bottom: 0;
		background: rgba(0,0,0,0.1);
		transition: background 0.3s;
	}
	&::after {
		content: '\f04b';
		font-family: 'Font Awesome 5 Free';
		font-size: 16px;
		font-weight: 800;
		color: #fff;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%,-50%);
		border: 2px solid #fff;
		border-radius: 50%;
		width: 40px;
		height: 40px;
		line-height: 36px;
		text-align: center;
		transition: box-shadow 0.3s;
	}
}
.porto-video-popup-wrapper {
	video {
		width: 100%;
		object-fit: cover;
        outline: none
	}
}

/* daily sale */
.sale-product-daily-deal .daily-deal-title,
.sale-product-daily-deal .porto_countdown {
    font-family: 'Oswald', var(--porto-h3-ff), var(--porto-body-ff), sans-serif;
    text-transform: uppercase
}
.entry-summary .sale-product-daily-deal {
    margin-top: 10px;
    .porto_countdown {
        margin-bottom: 5px
    }
    .porto_countdown-section {
        background-color: var(--porto-primary-color);
        color: #fff;
        margin-left: 1px;
        margin-right: 1px;
        display: block;
        float: $left;
        max-width: calc(25% - 2px);
        min-width: 64px;
        padding: 12px 10px
    }
    .porto_countdown .porto_countdown-amount {
        display: block;
        font-size: 18px;
        font-weight: 700
    }
    .porto_countdown-period {
        font-size: 10px
    }
    
    &:after {
        content: '';
        display: table;
        clear: both
    }
}

.products .sale-product-daily-deal {
    position: absolute; left: 10px; right: 10px; bottom: 10px; color: #fff; padding: 5px 0; text-align: center;
    &:before {
        content: '';
        position: absolute;
        left: 0;
        width: 100%;
        top: 0;
        height: 100%;
        background: var(--porto-primary-color);
        opacity: 0.7
    }
    > h5,
    > div {
        position: relative;
        z-index: 1
    }
    .daily-deal-title {
        display: inline-block;
        color: #fff;
        font-size: 11px;
        font-weight: 400;
        margin-bottom: 0;
        margin-#{$right}: 1px
    }
    .porto_countdown {
        float: none;
        display: inline-block;
        margin-bottom: 0;
        width: auto
    }
    .porto_countdown-section {
        padding: 0;
        margin-bottom: 0
    }
    .porto_countdown-section:first-child:after {
        content: ',';
        margin-#{$right}: 2px
    }
    .porto_countdown-amount,
    .porto_countdown-period {
        font-size: 13px;
        font-weight: 500;
        padding: 0 1px
    }
    .porto_countdown-section:last-child .porto_countdown-period {
        padding: 0
    }
    &:after {
        content: '';
        display: table;
        clear: both
    }
}

.porto-products.outimage .products.list li,
.porto-products.default .products.list li,
.porto-products.onhover .products.list li,
.porto-products.onimage .products.list li,
.porto-products.theme_option .products.list li {
    .add-links .yith-compare {
        display: none;
    }
}

.sp-linked-heading {
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #00000014;
}
// For slider
.slider-wrapper > .sp-linked-heading {
    margin-left: calc(var(--porto-el-spacing, var(--porto-grid-gutter-width)) / 2);
    margin-right: calc(var(--porto-el-spacing, var(--porto-grid-gutter-width)) / 2);
}

// Update product type for mobile user experience
@media ( max-width: 575px ) {
    li.product-col {
        &:not(.product-onimage2) .links-on-image .add-links-wrap {
            display: block !important;
        }
        .links-on-image {
            .button {
                opacity: 1 !important;
            }
        }
        .product-image {
            box-shadow: none !important;
            .img-effect img {
                opacity: 1 !important;
            }
            .img-effect .hover-image,
            .quickview {
                display: none !important;
            }
            .yith-wcwl-add-to-wishlist > div {
                opacity: 1 !important;
                visibility: visible !important;
            }            
        }
    }
    li.product-outimage .add-links .quickview,
    li.product-default .add-links .quickview,
    li.product-default .add-links .yith-wcwl-add-to-wishlist>div {
        display: none;
    } 
    li.product-outimage .add-links .yith-wcwl-add-to-wishlist>div {
        opacity: 1 !important;
        visibility: visible !important;
    }
}