.products-cards {
    position: relative;
}

.products-cards::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: calc(100% - 50px);
    background: rgba(38, 43, 108, 0.9);
    z-index: 1;
}

.products-cards__bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: calc(100% - 50px);
    object-fit: cover;
}

.products-cards__wrap {
    padding: 75px 0 0;
    position: relative;
    z-index: 2;
}

.products-cards__top-content {
    color: var(--color-white); 
    text-align: center;
    padding-bottom: 15px;
}

.products-cards__top-content .sub-heading,
.products-cards__top-content h2 {
    color: var(--color-white); 

    @media( max-width : 600px ) {
        margin-bottom: 5px;
    }
}

.products-cards__item {
    margin-top: 15px;
}

.products-card {
    background: var( --color-white );
    padding: 20px;
    box-shadow: 0 10px 30px rgba(32, 33, 52, 0.15);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.products-card__image {
    width: 100%;
    height: 177px;
    border-bottom: 4px solid #A22222;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.products-card__image img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
    height: 100%;
}

.products-card__image img.product-gallery-image {
    display: none;
}

.products-card a {
    background: none;

    &:hover {
        background: none;
    }
}

.products-card__description {
    padding: 12px 0 9px;
}

.products-card__description h4 {
    margin: 0;
    padding: 0 0 4px;
    font-size: 17px;
    color: #202134;
    line-height: 1.29em;
    font-weight: 800;
}

.products-card__description ul {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    border-top: 1px solid #C1BEBE;
    border-bottom: 1px solid #C1BEBE;
    justify-content: space-between;

    @media( min-width : 768px ) {
        gap: 50px;
    }
}

.products-card__description ul li {
    margin: 0;
    padding: 4px 0;
    font-size: 13px;
    color: #676666;
    line-height: 1.53em;
    font-weight: 400;
}

.products-card__description ul li span {
    font-size: 15px;
    color: #202134;
    font-weight: 800;
    display: inline-block;
    vertical-align: middle;
    padding-right: 4px;
}

.products-card__description ul li::before {
    display: none;
}

.products-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;

    & > a {
        display: none;
    }
}

.quick-view-btn {
    margin: 0;
    padding: 0 0;
    font-size: 17px;
    color: #366D90;
    line-height: 1.22em;
    font-weight: 800;

    & a {
        color: #366D90;

        &:hover {
            color: var( --color-blue-01 );
        }
    }
}

.quick-view-btn a.sp-wqv-view-button {
    background: transparent!important;
    border: none;
    color: #366D90!important;
    line-height: 1.22em;
    font-weight: 800!important;
    padding: 0!important;
    
    @media( max-width : 1199px ) {
        font-size: 17px!important;
    }

    @media( min-width : 1200px ) {
        font-size: 20px!important;
    }

    &::before {
        content: "\e911";
        position: relative;
        font-family: 'gloveamerica'!important;
        font-size: 24px;
        padding: 0 5px 0 0;
        color: #5FA5D1;
        top: 3px;
    }
    

    &:hover {
        background: transparent;
        color: #366D90;
        opacity: 0.8;
    }
}

.quick-view-btn i {
    font-size: 18px;
    color: #5FA5D1;
    font-weight: normal;
    display: inline-block;
    vertical-align: middle;
    padding: 0 3px 3px 0;
}

.woocommerce-shop .variations, 
.page-template-page-custom-product-list .variations {
    & label {
        display: block!important;
    }

    & tbody {
        flex-wrap: inherit!important;
    }

    & .value {
        border: transparent!important;
    }
}

.products-links-btns {
    margin-top: 15px;
    padding: 20px 20px;
    background: var( --color-white );
    box-shadow: 0 10px 30px rgba(32, 33, 52, 0.15);
}

.products-links-btns h5 {
    margin: 0;
    padding: 0 0 15px;
    font-size: 17px;
    color: #202134;
    line-height: 1.29em;
    font-weight: 800;
}

.products-links-btns__wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.products-links-btns__wrap .btn {
    margin: 0 !important;
}

.products-links-btns .btn-secondary-light-blue {
    margin-top: 15px;
}

.products-card__link .btn {
    vertical-align: inherit;
}

.products-card__link a.btn {
    color : var(--color-red);

    &:hover {
        color: #801515;
    }
}

.filter-search__select .facetwp-facet {
    margin-bottom: 0;
}

.products-card__description ul li span {
    &.woocommerce-Price-currencySymbol {
        position: relative;
        top: -2px;
    }
}

.cross-sells {
    .sub-headings {
        color: #5FA5D1;
    }
    
    & h2 {
        margin-bottom: 50px;
    }
}

.sales-item {
    display: flex;
    flex-wrap: wrap;

    & > span {
        display: flex!important;
        flex-direction: row-reverse;
        align-items: center;
        justify-content: center;

        & > span {
            color: var(--color-red)!important;

            & .woocommerce-Price-currencySymbol {
                color: var(--color-red)!important;
            }
        }

        & del {
            & span {
                font-size: 13px!important;
                text-decoration: line-through;
                color: #676666;

                & bdi {
                    color: #676666;
                }
            }
        }
    }
}

@media( min-width : 500px ) {
    .products-links-btns .btn {
        margin: 0 12px 20px;
    }
}

@media (min-width: 480px) {
    .products-links-btns__wrap {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .products-cards__bg,
    .products-cards::before {
        height: calc(100% - 47px);
    }
    
    .products-cards__wrap {
        padding-top: 115px;
    }
    
    .products-cards__top-content {
        padding-bottom: 5px;
    }
    
    .products-cards__item {
        margin-top: 30px;
    }

    .products-cards__row {
        padding: 0 58px;
    }
    
    .products-card {
        padding: 20px;
        height: 100%;
    }
    
    .products-card__image {
        height: 136px;
    }
    
    .products-card__description {
        padding: 9px 0;
    }
    
    .products-card__description h4 {
        font-size: 20px;
        line-height: 1.25em;
    }
    
    .products-card__description ul {
        display: block;
        gap: 0;
        padding: 4px 0;
    }
    
    .products-card__description ul li {
        padding: 2px 0;
        font-size: 16px;
        line-height: 1.37em;
    }
    
    .products-card__description ul li span {
        font-size: 18px;

        &.woocommerce-Price-currencySymbol {
            position: relative;
            top: -3px;
        }
    }
    
    .products-card__bottom {
        display: block;
    }
    
    .quick-view-btn {
        font-size: 20px;
    }
    
    .quick-view-btn i {
        font-size: 24px;
        padding: 0 5px 5px 0;
    }
    
    .products-links-btns {
        margin: 30px 58px 0;
        padding: 25px 50px;
    }

    .products-links-btns br {
        display: none;
    }
    
    .products-links-btns h5 {
        padding: 0 0 20px;
        font-size: 20px;
        line-height: 1.33em;
    }
    
    .products-links-btns .btn-secondary-light-blue {
        margin-top: 0;
    }

    .products-links-btns .btn {
        margin: 0 12px 20px;
    }
}

@media (min-width: 1200px) {
    .products-cards__bg,
    .products-cards::before {
        height: calc(100% - 50px);
    }
    
    .products-cards__wrap {
        padding-top: 0;
    }
    
    .products-cards__top-content {
        padding-bottom: 20px;
        padding-top: 150px;
        text-align: left;
    }

    .products-cards__wrap .row {
        --bs-gutter-x: 75px;
    }

    .products-cards__wrap .row .row {
        --bs-gutter-x: 21px;
    }
    
    .products-cards__item {
        margin-top: 20px;
    }

    .products-cards__row {
        padding: 0 0;
    }
    
    .products-card {
        padding: 30px 30px;
        cursor: pointer;
    }
    
    .products-card__image {
        height: 142px;
        position: relative;
        border-bottom: 3px solid #A22222;
    }
    
    .products-card__description {
        padding: 22px 0 16px;
    }
    
    .products-card__description h4 {
        font-size: 22px;
        line-height: 1.18em;
        padding-bottom: 8px;
    }
    
    .products-card__description ul {
        padding: 5px 0;
    }
    
    .products-card__description ul li {
        padding: 5px 0;
    }

    .products-card__link {
        margin-top: 8px;
    }

    .products-links-btns {
        margin: 45px 0 0;
        padding: 25px 50px;
    }

    .products-links-btns br {
        display: none;
    }
    
    .products-links-btns h5 {
        font-size: 22px;
        line-height: 1.33em;
    }
    
    .products-links-btns .btn {
        margin: 20px 12px 0;
    }

    .product-right-block {
        margin-top: -70px;
    }

    .products-card:hover {
        background: #FAF7F7;
    }

    .products-card:hover .products-card__image {
        border-color: var( --color-white );
    }

    .products-card:hover .products-card__image img:not(.no-product-gallery) {
        &.product-image-primary-thumbnail {
            display: none;
        }

        &.product-gallery-image {
            display: block;
        }
    }

    .products-card__image::before,
    .products-card__image::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -1px;
        width: 0;
        height: 3px;
        background:#A22222;
        transition: all ease-in-out 0.3s;
    }

    .products-card__image::after {
        left: auto;
        right: 0;
        background: #262B6C;
    }

    .products-card:hover .products-card__image::before,
    .products-card:hover .products-card__image::after {
        width: calc(50% - 15px);
        transition: all ease-in-out 0.3s;
    }
}

/* Quick View */

.wqv-product-images {
    padding: 20px;

    @media( min-width : 1200px ) {
        padding: 45px;
        padding-right: 0;
    }

    & span {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.quick-view-btn a.product_type_variable,
.quick-view-btn a.product_type_simple {
    display: none;
}

#wqv-quick-view-content .wqv-product-info .product_title,
.quick-view-products .product_title {
    font-size: 24px;
    color: #202134;
    line-height: 1.2;

    @media( min-width : 768px ) {
        font-size: 45px;
    }
}

.wqv-product-info .variations,
.quick-view-products .variations {
    width: 100%;

    & tbody {
        width: 100%;
        display: flex;

        & tr {
            width: 50%;
            display: flex;
            align-items: flex-start;
            justify-content: flex-start;
            flex-direction: column;

            & :where( th, td ) {
                width: 100%;
            }

            & td {
                &.value {
                    display: flex;
                    align-items: center;
                    justify-content: flex-start;
                    gap: 5px;
                    flex-wrap: wrap;
                }
            }
        }
    }
}

.wqv-product-info .variations .value,
.quick-view-products .variations .value {
    & input[type="radio"] {
        display: none;
    }

    & label {
        border-radius: 50px;
        padding: 5px 15px;
        color: var(--color-blue);
        border: 1px solid var(--color-blue);
        line-height: 1;
        cursor: pointer;
    }

    & input[type="radio"]:checked + label {
        background: var(--color-blue);
        color: var(--color-white); 
    }
}

.wqv-product-info .single_add_to_cart_button,
.quick-view-products .single_add_to_cart_button {
    font-size: 20px!important;
    line-height: 1.55em!important;
    padding: 13px 33px!important;
    border-radius: 0!important;
    line-height: 1;
}

.wqv-product-info .variations_button,
.quick-view-products .variations_button {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    flex-direction: column;
    gap: 20px;
}

.wqv-product-info .reset_variations,
.quick-view-products .reset_variations {display: none;}

.wqv-product-info .product_meta,
.quick-view-products .product_meta {
    display: none;
}

.quick-view-products .reset_variations {
    display: none;
}

.wqv-product-info .quantity,
.quick-view-products .quantity {
    display: flex;
    flex-direction: column;
    max-width: 230px;
    width: 100%;

    & .qty {
        background-color: #f2f2f2;
        border-bottom: transparent;
        width: 100%;
        max-width: 100%!important;
        text-align: left!important;
        height: 27px;
        padding: 5px 20px;
    }
}

.quick-view-products .woocommerce-variation-price {
    color: #111111;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 20px;
}

.quick-view-products .up-sells {
    display: none;
}

.mfp-with-anim .mfp-close {
    top: 15px!important;
    right: 15px!important;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    &::before {
        content: "\e90d"!important;    
    }
}

#sp-wqv-view-button.sp-wqv-view-button.button {
    @media( max-width : 600px ) {
        display: block!important;
    }
}

.cart-button-inner .added_to_cart.wc-forward { 
    margin-top: 10px!important;
    background-color: transparent!important;
    color: var( --color-red )!important;
    font-size: 20px!important;

}

.cart-button-inner {
    display: flex;
    gap: 20px;
}

.quick-view-products {
    max-width: 1043px;
    height: auto;
}

.quick-view-products .product-short-description {
    margin-bottom: 30px;
}

.quick-view-products .variations_form {
    margin-bottom: 30px;
}

.quick-view-products.animated {
    background-color: #111111;
    width: 50%;
    height: 50%;
    background-color: var( --color-dark-gray );
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
    background-size: 40% 100%;
    background-repeat: no-repeat;
    background-position: left -40px top 0;
    -webkit-animation: shine 1s ease infinite;
    animation: shine 1s ease infinite;

    & * {
        display: none;
    }
}

/* Media Gallery Slider */

.product-thumb-image__wrapper {
    padding: 0 30px;
    position: relative;
}

.product-button-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;

    & button {
        outline: none;
        border: transparent;
        background: transparent;
        color: var( --color-blue-01 );
    }
}


.product-slider-image img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    cursor: pointer;
}

.js-product-slider-nav .slick-track {
    display: flex;
}

.js-product-slider-nav .slick-slide {
    margin: 0 10px;
    width: 100%!important;
    cursor: pointer;
}

.js-product-slider-nav .slick-slide:first-child {
    margin-left: 0;
}

.product-media-meta {
    width: 100%;
    position: relative;
}

.product-gallery-zoom {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1;
    font-size: 24px;
    border: none;
    border-radius: 2px;
    background-color: var(--color-red);
    color: var(--color-white);
    transition: background-color 0.3s;
}

.product-gallery-zoom:hover {
    background-color: var(--color-red-01);
}

.product-slider-thumb {
    height: 85px;
    position: relative;
    border: 1px solid #B3B5CB;
}

.slick-current .product-slider-thumb {
    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(95,165,209,0.5);
    }
}

.product-slider-thumb img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.fancybox-bg {
    background: #262B6C;
}

.price-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    & p {
        font-weight: 700;
        color: var( --color-black-01 );
    }
}

.js-product-slider-main.animated {
    background-color: #111111;
    max-width: 100%;
    width: 100%;
    height: 250px;
    background-color: var( --color-dark-gray );
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
    background-size: 40% 100%;
    background-repeat: no-repeat;
    background-position: left -40px top 0;
    -webkit-animation: shine 1s ease infinite;
    animation: shine 1s ease infinite;

    & * {
        display: none;
    }
}

.js-product-slider-nav.animated {
    background-color: #111111;
    max-width: 100%;
    width: 100%;
    height: 93px;
    background-color: var( --color-dark-gray );
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
    background-size: 40% 100%;
    background-repeat: no-repeat;
    background-position: left -40px top 0;
    -webkit-animation: shine 1s ease infinite;
    animation: shine 1s ease infinite;

    & * {
        display: none;
    }
}

.bos4w-display-plan-text {
    color: var(--color-black);
    font-weight: 700;
    margin-top: 20px;
}

.bos4w-display-options {
    margin-bottom: 20px;
    & ul {
        display: inline-flex;
        border: 1px solid #262b6b !important;
        & li {
            padding-left: 0;
            margin-bottom: 0;

            & label {
                cursor: pointer;
                padding: 10px;

                &.active {
                    background: #dfedf6;
                }
            }

            & input[type="radio"] {
                opacity: 0;
                &::before {
                    width: 100%;
                    height: 100%;
                    position: absolute;
                    top: 0;
                    content: '';
                }
            }
            
            &::before {
                display: none;
            }
        }
    }
}

.bos4w-display-dropdown {
    & label {
        color: var(--color-blue);
        font-weight: 700;
    }

    & select {
        border-bottom: 1px solid var(--color-gray-02) !important;
        padding: 10px;
        border-top: 0;
        border-left: 0;
        border-right: 0;
        display: block;
        color: var(--color-gray-02);
    }
}


@keyframes shine {
    to {
        background-position: right -40px top 0;
    }
}

.woocommerce-variation-add-to-cart > .reset_variations {
    display: none!important;
}

table.variations .value div input:disabled + label {
    cursor: not-allowed;
    /*cross out the label*/
    text-decoration: line-through;
}