/*Image Gallery CSS*/
.woocommerce #content div.product div.images, 
.woocommerce div.product div.images, 
.woocommerce-page #content div.product div.images, 
.woocommerce-page div.product div.images {
    width: 100%;
    float: none;
}

.woocommerce div.product div.images .flex-control-thumbs {
    margin: 0 -5px;
}

.woocommerce div.product div.images .flex-control-thumbs li {
    margin:10px 5px;
    width: calc(25% - 10px);
}

.woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image{
    max-height: 450px;
}

.pswp{
    z-index: 999999;
}

.woocommerce .footer__img, 
.woocommerce-page .footer__img {
    height: 100%;
}

.fx-woocommerce-no-gallery .woocommerce-product-gallery__image.flex-active-slide {
    width: 100% !important;
}

.fx-woocommerce-no-gallery {
    width: 100%;
    display: flex;
}



@media(min-width:768px){

    .woocommerce div.product div.images.woocommerce-product-gallery{
        position: sticky;
        top: 0;
    }
    .woocommerce #content div.product div.images, 
    .woocommerce div.product div.images, 
    .woocommerce-page #content div.product div.images, 
    .woocommerce-page div.product div.images {
        max-width: calc(100% - 64px);
    }
}

.product_title {
    font-size: 1.5em;
    line-height: 1.45em;
}

.product-size.h4{
    font-weight: normal;
    display: block;
    margin-bottom: 20px;
    color: #404040;
}

.sku {
    color: #4a85c1;
    font: 14px/1.375em Open Sans,sans-serif;
    margin-bottom: 20px;
    display: block;
    margin-top: -10px;
}

.woocommerce hr {
    top: 0;
    border-style: solid;
    border: none;
    border-bottom: 1px solid #CDD7E0;
}

/*Product CTAs*/
.product-cta {
    display: flex;
    flex-direction: column;
}

.product-cta span{
    margin-top: 20px;
}

.schedule--wrapper h3 {
   font-family: Open Sans,sans-serif;
    font-size: 16px;
    margin: 0;
    padding: 0;
    margin-right: 10px;

}

.schedule--wrapper {
    margin-top: 40px;
    margin-bottom: 32px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: left;
    background: #f1f6fc;
    padding: 20px;
    border-radius: 5px;
}



@media(min-width:768px){
    .product-cta {
        flex-direction: row;
    }

    .product-cta span {
        margin-top: 0px;
        /* margin-left: 10px; */
    }

    .schedule--wrapper .btn{
        padding-left: 20px;
        padding-right:20px
    }
    
    .schedule--wrapper h3 {
        font-size: 22px;
        margin-right: 18px;
    }
}

/*Color Swatches*/
.color-swatches {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px;
}

.color-swatches--wrapper .h4{
    color: #404040;
    font-weight: normal;
    text-transform: none;
}
.color-swatches--wrapper .h4 b{
    color: var(--color-blue);
    font-weight: 700;
    text-transform: uppercase;
}

.color-swatch__title {
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, .15);
    font-size: 12px;
    padding: 4px;
    line-height: 1em;
    display: inline-block;
    position: absolute;
    z-index: 9;
    left: 5px;
    top: 5px;
    opacity: 0;
    max-width: calc(100% - 10px);
    color: #383838;
}

.color-swatch {
    position: relative;
    transition: all 0.3s ease;
}

.color-swatch:hover .color-swatch__title {
    opacity: 1;
}

.color-swatch a {
    display: flex;
    width: 100px;
    height: 100px;
    position: relative;
    overflow: hidden;
    margin: 5px;
}

.color-swatch a img {
    object-fit: cover;
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
}

/*Product Tabs/Accordions*/

/*table*/

.woocommerce table.shop_attributes th {
    width: 50%;
    text-align: left;
    border: none;
}

.woocommerce table.shop_attributes td {
    width: 50%;
    border: none;
    font-style: normal;
}

.woocommerce table.shop_attributes tr:nth-child(even) td, .woocommerce table.shop_attributes tr:nth-child(even) th {
    background: #8bb9e61f;
}

.woocommerce table.shop_attributes {
    border-top: 0;
}


/*Related Products*/

.product-card {
    --border-radius: 5px;
    background: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 20px rgb(56 56 56 / 10%);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    height: 100%;
    transition: .3s;
}

.card__bottom {
    margin-top: auto;
}

.product-card:hover {
    top: -5px;
    text-decoration: none;
}

.card__details {
    padding: 20px;
}

.card__img-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 50%;
}

.card__img-wrap img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center center;
    object-position: center center;
    top: 0;
    position: absolute;
}

.card__details p {
    color: #404040;
    font-size: 18px;
    margin-bottom: 0;
    font-weight: 700;
}

.card__bottom .btn {
    width: 100%;
    border-radius: 0 0 5px 5px;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/*Shop Page*/
.fx-woo-product-filters__wrapper {
    margin-bottom: 32px;
}

.shop-cat.product .col-md-4 {
    margin-bottom: 32px;
}

.shop-cat.product .product-cat {
    text-transform: uppercase;
    font-size: 14px;
    color: var(--color-blue);
}

.shop-cat.product .product-collection {
    font-size: 14px;
    font-weight: 400;
}

.facetwp-type-pager {
    text-align: center;
}

.fx-woo-product-filters__wrapper h5 {
    margin-bottom: 10px;
    font-weight: 700;
    border-bottom: 1px solid rgb(80 133 195 / 15%);
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.fx-woo-product-filters__wrapper h4 {
    margin-bottom: 32px;
}

.facetwp-checkbox {
	position: relative;
	padding-left: 30px !important;
    background:transparent;
    background-image: none !important;
}

.facetwp-checkbox.checked{
	background-image: none !important;
    background: transparent;
}

.facetwp-checkbox:before {
	content: '';
	-webkit-appearance: none;
	background-color: transparent;
	font-size: 15px;
	color: var(--color-gray);
	display: inline-block;
	vertical-align: middle;
	cursor: pointer;
	border-radius: 4px;
	margin-right: 0;
	width: 19px;
	height: 19px;
	background: var(--color-light-blue);
	position: absolute;
	left: 0;
	top: 4px;
    border:1px solid #cdd7e0;
}

.facetwp-checkbox.checked:after {
	content: '';
	display: block;
	position: absolute;
	top: 6px;
	left: 7px;
	width: 4px;
	height: 10px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.facetwp-checkbox.checked:before {
	background: var(--color-blue);
}

.facetwp-toggle {
    font-size: 14px;
    font-weight: 700;
}

.reset-link--fx {
    display: inline-flex;
    align-items: center;
    font-weight: bold;    
    font-size: 16px;
    padding: 8px 20px;
    justify-content: flex-start;
    background: #5085c3;
    color: #fff;
    border-radius: 5px;
    margin-top: 10px;
}

.reset-link--fx svg {
    height: 14px;
    width: auto;
    margin-right: 4px;
    fill: #fff;
}

.reset-link--fx:hover {
    text-decoration: none;
    background: var(--color-dark-blue);
}

@media(min-width:1025px){
    .fx-woo-product-filters__wrapper {
        position: sticky;
        top: 180px;
    }
}

.js-filter-toggle {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-blue);
    cursor: pointer;
    padding-left: 35%;
}

/* Initially hide all elements with class facetwp-type-checkbox */
/* .fx-woo-product-filters__wrapper .facetwp-facet {
    display: none;
} */
/* Change the first toggle sign on desktop to '-' */
.js-filter-toggle::after, .js-filter-testing::after {
    content: '+';
}

.new-filter-toggle-filter-active::after {
    content: '-';
} 

/* Display the first .facetwp-type-checkbox on desktop */
@media screen and (min-width: 768px) {
    .fx-woo-product-filters__wrapper .facet-wrap:first-of-type .facetwp-facet:first-of-type {
        display: block;
    }
    .desktop-filter-active::after {
        content: '-';
    }
}

.progress-bar{
    text-align: center;
    margin-bottom: 32px;
}

.progress-bar-fill {
    width: 200px;
    height: 10px;
    background: var(--color-light-blue);
    margin: auto;
    
}

.pagination-progress {
    background: var(--color-blue);
    height: 10px;
}

/* Warranty section*/

.warranty--wrapper {
    border-radius: 5px;
    /* text-align: center; */
}

.warranty--wrapper .btn-link {
    display: inline-flex;
    align-items: center;
}

.warranty--wrapper .btn-link svg {
    max-height: 18px;
    width: auto;
    margin-right: 10px;
    filter: brightness(0) saturate(100%) invert(61%) sepia(28%) saturate(6213%) hue-rotate(348deg) brightness(94%) contrast(91%);
}

.warranty--wrapper .btn-link:hover svg{
    filter: brightness(0) saturate(100%) invert(39%) sepia(83%) saturate(767%) hue-rotate(351deg) brightness(89%) contrast(93%);
}

.warranty--wrapper p {
    font-weight: bold;
    /* text-align: center; */
    font-size: 18px;
}

.color-swatch__title {
    pointer-events: none;
}

/* .fx-woo-product-filters__wrapper .facetwp-facet-fx_filter_product_cat .facetwp-checkbox .facetwp-expand { 
    display: none; 
} */

.facetwp-facet {
    display:none;
}

.facetwp-expand {
    display: none !important;
}

.card__details .product-name {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5em;
  }

  .facetwp-facet-facet_load_more {
    display:block;
  }

  
/* Roomvo CTA button */

.product-cta .btn,
.roomvo-icon {
    display: flex;
    align-items: center;
}

.roomvo-icon {
    margin: 0 !important;
    position: relative;
    left: 0;
    height: 100%;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    background-color: var(--color-blue);
    padding: 8px;
}

.btn-roomvo {
    position: relative;
    background-color: var(--color-white);
    color: var(--color-blue);
    border: 2px solid var(--color-blue);
    padding-right: 20px;
    justify-content: center;
    padding-left: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.btn-roomvo:hover {
    color: var(--color-white);
}

.product-cta .roomvo-btn-text {
    margin-top: 0;
    margin-left: 15px;
}

/* Trust Logos*/

.logo__section h4 {
    color: #404040;
    font-weight: 500;
    text-transform: none;
    margin-bottom: 32px; 
}

.logo__wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.logo__wrapper .logo-item {
    width: calc(25% - 30px);
    margin: 15px;
}

@media(min-width:1200px){
    .logo__wrapper .logo-item {
        width: calc(14.28% - 10px);
        margin: 5px;
    }
}
/*end trust logos*/

/* style for the style link*/
.product-category .h4 a {
    font-size: 14px;
}

.product-category .h4 a:hover {
    text-decoration: none;
    opacity: .8;
}
/*end style for the style link*/

.product-grade {
    position: absolute;
    left: 0;
    color: #fff;
    z-index: 999;
    box-shadow: 0 0 8px rgba(0, 0, 0, .15);
    font-size: 16px;
    font-weight: 800;
    padding: 4px 10px;
    top: 0;
}

.product-grade.ultimate {
    background: #1A324D;
}

.product-grade.elite {
    background: #2AA2D4;
}

.product-grade.essential {
    background: #4A85C1;
}

