/* 
Theme Name: Pratikal
Theme URI: https://pratikal.fr
Description: Pratikal is a child theme of Hello Elementor, created by Elementor team
Author: Prestatoo
Author URI: https://prestatoo.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: pratikal
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* ========= Global Layout =========== */
html{
    overflow-x: hidden;
    width: 100vw;
}
body{
	margin: 0;
	padding: 0;
	overflow-x: hidden;
	width: 100vw;
}


/* ========= Product =========== */

.product-img-container{
	padding: 0px;
}

.product-img-container img{
    aspect-ratio: 4/3;
    object-fit: cover;
}
/* ============================= */



/* ========= FacetWP =========== */
.facet-wrap .facetwp-facet{
    margin-bottom: 0;
    color: #7a7a7a;
    font-weight: 400;
}

/* Facet Default Text/Number */
.facet-wrap .facetwp-facet input[type="text"],
.facet-wrap .facetwp-facet input[type="number"]{
    border-width: 0 0 1px 0 !important;
    border-color: #ddd !important;
    border-style: solid !important;
    padding: 0px 7px !important;
    outline: none;
    width: auto !important;
    font-weight: 400 !important;
}

/*.facet-wrap .facetwp-type-number_range input[type=number]::-webkit-inner-spin-button {
    opacity: 1;
}*/


/* Facet FSelect */
.facet-wrap .facetwp-type-fselect .fs-label-wrap{
    border-width: 0 0px 1px 0;
    color: #7a7a7a;
    background-color: transparent;
}

.facet-wrap .facetwp-type-fselect .fs-arrow{
    border-top-color:  #7a7a7a;
}

.facet-wrap .facetwp-type-fselect .fs-dropdown{
    border: 0;
    box-shadow: 2px 8px 20px -10px var( --e-global-color-488e3fb4 );
    padding: 3px;
    width: auto;
    min-width: 100%;
    max-width: 150%;
    border-radius: 0px 0px 12px 12px;
}
.facet-wrap .facetwp-type-fselect .fs-dropdown .fs-search{
    background-color: #f7f7f755;
    border: #7a7a7a22 1px solid;
    font-size: 1rem;
    border-radius: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
    border-radius: 0;
}

.facet-wrap .facetwp-type-fselect .fs-dropdown .fs-search input{
    font-size: 1rem;
    color: #7a7a7a;
    border: 0;
    padding: 0;
}
@media(max-width:767px){
    .facet-wrap .facetwp-type-fselect .fs-wrap{
        width: 100%;
    }
}

/* Facet Select */
.facet-wrap .facetwp-type-sort select{
	border-width: 0 0px 1px 0;
    border-bottom: 1px solid #ddd;
	color: #7a7a7a;
    border-radius: 0;
    background-color: transparent;
	outline: none;
    font-size: 1rem;
}

/* Facet Proximity */
.facet-wrap .facetwp-type-proximity{
    display: flex;
    flex-direction: row;
    align-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: start;
}

.facet-wrap .facetwp-type-proximity .facetwp-input-wrap input.facetwp-location{
    border-width: 0 0px 1px 0;
    border-bottom: 1px solid #ddd;
	color: #7a7a7a;
    font-weight: 400;
    line-height: 1;
    font-size: 1rem;
    padding: 2px 22px 6px 8px;
    border-radius: 0;
    background-color: transparent;
	outline: none;
    
}

.facet-wrap .facetwp-type-proximity .facetwp-input-wrap .location-results{
    border: 0;
    box-shadow: 2px 8px 20px -10px var( --e-global-color-488e3fb4 );
    padding: 3px;
    width: auto;
    min-width: 100%;
    max-width: 150%;
    z-index: 5;
    border-radius: 0px 0px 12px 12px;
}

    .facet-wrap .facetwp-type-proximity .facetwp-input-wrap .location-results .location-result{
        border: 0;
    }

    .facet-wrap .facetwp-type-proximity .facetwp-input-wrap .location-results .location-result.active{
        background-color: #d5eaeb;
    }

    .facet-wrap .facetwp-type-proximity .facetwp-input-wrap .location-results .location-attribution{
        display: none;
    }

.facet-wrap .facetwp-type-proximity .facetwp-radius-wrap::before{
    display: inline-block;
    content: 'dans un rayon de';
    color: var(--e-global-color-text);
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-weight: var(--e-global-typography-text-font-weight);
}

.facet-wrap .facetwp-type-proximity .facetwp-radius-wrap{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: center;
    gap: 10px;
}

@media(max-width:767px){

    .facet-wrap .facetwp-type-proximity .facetwp-radius-wrap::before{
        width: 100%;
        content: 'Rayon :';
        font-size: 0.75rem;
    
    }

    .facet-wrap .facetwp-type-proximity .facetwp-input-wrap{
        width: 100%;
    }

    .facet-wrap .facetwp-type-proximity .facetwp-input-wrap input.facetwp-location{
        width: 100% !important;
    }

    .facet-wrap .facetwp-type-proximity .facetwp-radius-wrap{
        width: 100%;
        margin-top: 10px;
        gap: 5px;
    }

    .facet-wrap .facetwp-type-proximity .facetwp-radius-wrap input.facetwp-radius-slider{
        width: 100%;
    }

}

/* Facet Number Rang */

.facet-wrap .facetwp-type-number_range .facetwp-submit{
    display: none;
}

@media(max-width:767px){
    .facet-wrap .facetwp-type-number_range input.facetwp-number{
        width: 100%;
    }
}



/* Facet Slider */
.facet-wrap .facetwp-type-slider .noUi-target{
    background-color: #d3d3d338;
    padding: 0 4px;
    min-width: 150px;
    border: none;
    height: 12px;
    border-radius: 10px;

}
.facet-wrap .facetwp-type-slider .noUi-target.noUi-horizontal .noUi-handle{

    width: 10px;
    height: 25px;
    right: -5px;
    top: -6px;

    border: none;
    border-radius: 25px;
    background: var(--e-global-color-text);

}
.facet-wrap .facetwp-type-slider .facetwp-slider-label{
    display: block;
    margin: auto;
    text-align: center;

    color: var(--e-global-color-text);
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-weight: var(--e-global-typography-text-font-weight);
    /* font-weight: 400; */
    /* font-size: 80%; */
}
.facet-wrap .facetwp-type-slider .facetwp-slider-reset{

    display: none;
    /* display: block;
    margin: auto;
    padding: 0 0;
    border: none;
    box-shadow: none;
    color: var(--e-global-color-text);
    font-size: 80%; */

}

/** Facet Number to Range mono Slider **/
.facet-wrap .facetwp-facet-size_min input,
.facet-wrap .facetwp-facet-price_max input{
    min-width: 129px;
    width: auto;
}
.facet-wrap .facetwp-facet-size_min .facetwp-range-label,
.facet-wrap .facetwp-facet-price_max .facetwp-range-label{
    display: inline-block;
    margin-left: 10px;
    font-weight: 400;
}

/** Reset Button **/
.facet-wrap .facetwp-type-reset button{
    /* padding: 0;
    border: none; */

}

.facet-wrap .facetwp-type-reset button:hover{
    cursor: pointer;
}


/** Facet Pagination **/
.facetwp-pager{
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0px;
}

.facetwp-pager .facetwp-page{
    color: var( --e-global-color-text );
}

.facetwp-pager .facetwp-page.active{
    color: var( --e-global-color-primary );
}

@media(max-width:767px){
    .facetwp-pager .facetwp-page{
        margin-right: 2px;
    }   
}

/** Facet Map **/
/*
.facetwp-type-map img[src^="https://dev.pratikal.fr/wp-content/uploads/"],
.facetwp-type-map img[src^="https://www.pratikal.fr/wp-content/uploads/"],
.facetwp-type-map img[src^="https://pratikal.fr/wp-content/uploads/"]{
	border-radius: 50%;
	border: 2px solid #fff !important; 
	box-sizing: border-box;
	aspect-ratio: 1;
    object-fit: cover;
}
*/



/* ====== Input Range (Slider) ======= */
/*********** Baseline, reset styles ***********/
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
    width: auto;
    border: 0 !important;
    padding: 0 !important;
  }
  
/* Removes default focus */
input[type="range"]:focus {
    outline: none;
}

/******** Chrome, Safari, Opera and Edge Chromium styles ********/
/* slider track */
input[type="range"]::-webkit-slider-runnable-track {
    background-color: #dddddd;
    border-radius: 25px;
    height: 12px;
}

/* slider thumb */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; /* Override default look */
    appearance: none;
    margin-top: -6px; /* Centers thumb on the track */
    background-color: #7a7a7a;
    border-radius: 25px;
    height: 25px;
    width: 10px;
}

input[type="range"]:focus::-webkit-slider-thumb {
    outline: 3px solid #7a7a7a;
    outline-offset: 0.125rem;
}

/*********** Firefox styles ***********/
/* slider track */
input[type="range"]::-moz-range-track {
    background-color: #dddddd;
    border-radius: 25px;
    height: 12px;
}

/* slider thumb */
input[type="range"]::-moz-range-thumb {
    background-color: #7a7a7a;
    border: none; /*Removes extra border that FF applies*/
    border-radius: 25px;
    height: 25px;
    width: 10px;
}

input[type="range"]:focus::-moz-range-thumb{
    outline: 3px solid #7a7a7a;
    outline-offset: 0.125rem;
}

/*======= Custom Elementor Form ========*/
/*Checkbok*/
.elementor-field-type-checkbox .elementor-field-subgroup{
    gap: 15px;
}
.elementor-form input[type="checkbox"]{
    vertical-align: middle;
    width: 20px;
    height: 20px;
    margin-right: 5px;
}
.elementor-form .elementor-field-option input:hover,
.elementor-form .elementor-field-option label:hover{
    cursor: pointer;
}

/*Radio*/
.elementor-field-type-radio .elementor-field-subgroup{
    gap: 0;
    flex-wrap: nowrap;
}

.elementor-field-type-radio .elementor-field-subgroup .elementor-field-option{
    flex: 1 1 0px;
    padding-right: 0;
}

.elementor-field-type-radio input[type="radio"]{
    position: absolute;
    vertical-align: middle;
    width: 16px;
    height: 16px;
    z-index: -1;
    opacity: 0;
}

.elementor-field-type-radio .elementor-field-option label{
    display: block !important;
    width: 100%;    
    height: 100%;
    text-transform: initial;
    font-weight: 400;
    text-align: center;

    /* word-break: keep-all;
    text-overflow: ellipsis;
    white-space: nowrap; */

    border: 1px solid var(--e-global-color-text);
    border-right-width: 0;
    padding: 15px 5px;
    z-index: 1;
}

.elementor-field-type-radio .elementor-field-subgroup .elementor-field-option:first-child label{
    border-radius: 12px 0 0 12px;
}
.elementor-field-type-radio .elementor-field-subgroup .elementor-field-option:last-child label{
    border-right-width: 1px;

    border-radius: 0 12px 12px 0;
}

.elementor-field-type-radio .elementor-field-option input:hover,
.elementor-field-type-radio .elementor-field-option label:hover{
    cursor: pointer;
    /* border-top-color: var( --e-global-color-primary );
    border-bottom-color: var( --e-global-color-primary ); */
    color: var( --e-global-color-primary ) !important;
}

.elementor-field-type-radio input[type="radio"]:checked + label{
    background-color: var( --e-global-color-primary );
    /* border-top-color: var( --e-global-color-primary );
    border-bottom-color: var( --e-global-color-primary ); */
    color: #fff !important;
}

/* ============ WooCommerce ================ */
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button.alt{
	background-color: var( --e-global-color-secondary );
	border-radius: 0;
	text-transform: uppercase;
}


.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button.alt:hover{
	background-color: transparent;
	color: var( --e-global-color-primary );
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button{
	border-radius: 0;
		
	font-family: var(--e-global-typography-accent-font-family), Sans-serif;
    font-size: var(--e-global-typography-accent-font-size);
    font-weight: var(--e-global-typography-accent-font-weight);
    text-transform: var(--e-global-typography-accent-text-transform);
    letter-spacing: var(--e-global-typography-accent-letter-spacing);
    border-style: none;
}

.woocommerce #content table.cart td.actions .input-text, .woocommerce table.cart td.actions .input-text, .woocommerce-page #content table.cart td.actions .input-text, .woocommerce-page table.cart td.actions .input-text{
	width: 120px;
}

/* =========== Quote for WooCommerce ================= */
.wc-quote-form{

}
.wc-quote-form tr.cart_item .product-thumbnail{
    max-width: 80px;
    padding-right: 20px !important;
}
.wc-quote-form tr.cart_item .product-thumbnail img{
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
}
.wc-quote-form tr.cart_item .product-quantity{

}
.wc-quote-form tr.cart_item .product-quantity .qib-button-wrapper{
    /* display: flex; */
    float: none;
    justify-content: flex-start;
}
@media only screen and (max-width: 600px){
    .wc-quote-form tr.cart_item .product-quantity .qib-button-wrapper{
        float: none;
        margin-right: 0;
        justify-content: flex-end;
    }
}
.wc-quote-form tr.cart_item .product-name > a{
    font-weight: 700;
}
.wc-quote-form tr.cart_item .product-name p{
    margin: 5px 0;
}
.wc-quote-form tr.cart_item .product-name dl.variation{
    
}
.wc-quote-form tr.cart_item .product-name dl.variation dt{
    font-weight: 600;
}
.wc-quote-form tr.cart_item .product-name dl.variation dd{
    
}
.wc-quote-form tr.cart_item .product-name dl.variation dd p{
    margin: 0;
}
/** formio-form **/
.formio-form{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: space-between;
    align-items: flex-start;
    column-gap: 4%;
    row-gap: 15px;

}

.formio-form > .formio-component{
    flex: 1 1 100%;
}
.formio-form > .formio-component.w-50{
    flex: 0 0 48%;
}
.formio-form .formio-component.description{
    margin-bottom: 20px;
    font-size: 12px;
}

/* Input */
.formio-form .formio-component input,
.formio-form .formio-component textarea,
.formio-form .formio-component select{
    border-radius: 0 !important;
}

/* Select */
.formio-form .formio-component-select{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: flex-start;
    gap: 10px;
}
.formio-form .formio-component-select select{
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
}

/* Responsive */
@media only screen and (max-width: 767px){
    .formio-form{
        flex-direction: column;
    }
    .formio-form > .formio-component.w-50{
        flex: 0 0 100%;
    }
}

/* =========== Register Form ================= */
.afreg_extra_fields{

}

.woocommerce form .afreg_extra_fields > .form-row{
    margin-right: 0;
}
/* .afreg_extra_fields input.input-text, */
.afreg_extra_fields select.input-select{
    padding: 10px 15px 10px 15px !important;
}