/*
Theme Name:   Francois Charlier
Theme URI:    https://themeforest.net/user/greatives
Description:  Impeka Child Theme
Version:      0.0.37
Author:       Greatives Team
Author URI:   https://greatives.eu
Template:     impeka
*/

.wcboost-variation-swatches--color span.wcboost-variation-swatches__name {
    text-indent: unset!important;
    background-color: unset!important;
    width: unset;
    height: unset;
}

li.wcboost-variation-swatches__item {
    width: auto;
}

.wcboost-variation-swatches--color.wcboost-variation-swatches--has-tooltip .wcboost-variation-swatches__item::before {
    background-color: var(--wcboost-swatches-item-color);
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: unset;
    border-radius: 50px;
    content: "";
    width: 16px;
    height: 16px;
    left: unset;
    padding: unset;
    margin: 0 0.5em 0 0;
    bottom: unset;
    margin-left: var(--wcboost-swatches-item-padding);
}

ul.wcboost-variation-swatches__wrapper li.wcboost-variation-swatches__item {
    height: 40px!important;
    padding: 0 10px;
}

.wcboost-variation-swatches__wrapper:has(.selected) li:not(.selected){
    opacity:0.4;
}

li.wcboost-variation-swatches__item.selected {
    color: inherit!important;
    background-color: inherit!important;
}

li.wcboost-variation-swatches__item:not(.selected) {
        border-color: transparent!important;
}

span.wcboost-variation-swatches__name {
    font-size: 16px;
}

a.reset_variations {
    display: none!important;
}

ul.wcboost-variation-swatches__wrapper {
    row-gap: 0;
	column-gap: 10px;
}

.woocommerce #grve-theme-wrapper .grve-product-area-inner .summary .variations th {
    opacity: 1!important;
}

.woocommerce #grve-theme-wrapper .grve-product-area-inner .summary .variations th label {
    opacity: 0.4;
}


/* cart */
.cross-sells {
    order: 2;
}

#add_payment_method .cart-collaterals, .woocommerce-cart .cart-collaterals, .woocommerce-checkout .cart-collaterals {
    flex-direction: column!important;
    gap: 8em;
    align-items: center;
    padding: 2em 0;
}

.cart_totals {
    width: 500px;
}

/*--- DJM ---*/

/* checkout */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .form-row {
	margin-top:0.5em;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-form__label-for-checkbox {
	display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: baseline;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions-checkbox-text {
	display: block;
    line-height: 1.5em;
}

/* product search results */
.archive.search-results .frc-carousel-navigation {
	display:none;
}
.archive.search-results .woocommerce-pagination {
	margin-top:6rem;
}
@media (min-width:1024px) {
	.archive.search-results .frc-products {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 30px 2%;
	}

	.archive.search-results .frc-products li {
		flex-basis:23.5%;
	}
}

@media (min-width:768px) and (max-width:1023px) {
	.archive.search-results .frc-products {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 30px 2%;
	}

	.archive.search-results .frc-products li {
		flex-basis:48%;
	}
}

@media (max-width:767px) {
	.archive.search-results .frc-products {
		gap:36px 0;
	}
}