/********* FONTS ET GÉNÉRAL *********/
/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0'); */

:root {
    --primary: #b81c17;
    --secondary: #e2d9cb;
    --tertiary: #000;
    --grey: #f4f4f4;
    --red: #b20000;
    --green: #69d200;
    --rating: #f4af48;
    --rating-grey: #9f9f9f;
}

/* Couleurs Principales */
.primary{
    color:var(--primary) !important;
}
.secondary{
    color: var(--secondary) !important;
}
.tertiary{
    color: var(--tertiary) !important;
}
.grey{
    color: var(--grey) !important;
}
.red{
    color: var(--red) !important;
}
.green{
    color: var(--green) !important;
}
.bg_primary{
    background:var(--primary) !important;
    color:#FFF !important;
}
.bg_secondary{
    background: var(--secondary) !important;
    color:#000 !important;
}
.bg_tertiary{
    background: var(--tertiary) !important;
    color:#FFF !important;
}

.bg_grey{
    background: var(--grey) !important;
    color:#505050 !important;
}
.bg_red{
    background: var(--red) !important;
}
.bg_green{
    background: var(--green) !important;
}
.bg_white{
    background: #fff !important;
}

.box{
    padding: 30px;
}
.rounded{
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
}
.small_rounded{
    -webkit-border-radius: 10px !important;
    -moz-border-radius: 10px !important;
    border-radius: 10px !important;
}

.grunge{
    position: relative;
}
.grunge:after{
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 30px;
}
.grunge.grunge_bottom_white:after{
    bottom: -15px;
    background: url('/IMG/grunge_white.webp') repeat-x center;
}
.grunge.grunge_top_black:after{
    top: -15px;
    background: url('/IMG/grunge_black.webp') repeat-x center;
}

/* Générales */
*{
    box-sizing: border-box;
    -webkit-appearance: none;
}


body{
	font-family: 'Montserrat', sans-serif;
	position:relative;
	min-height:100%;
    background: #FFF;
    color:#505050;
    font-size: 1.4rem;
}

img, video, iframe{
    max-width: 100%;
    width: auto;
    height: auto;
}

a{
    text-decoration: none;
	color:#505050;
}

li{
    line-height: 2.5rem;
}

h1,h2,h3,h4{
    text-transform: uppercase;
    font-weight: 700;
}
h1{
	font-size:3.5rem;
	line-height:4.5rem;
}

h2{
    font-size: 2.8rem;
}
h3{
    font-size: 2.2rem;
}
h4{
    font-size: 1.8rem;
}

.btn{
    display: inline-flex;
    gap: 10px;
    align-items: center;
    text-transform: uppercase;
    border-style: none;
    border-width: 0;
    cursor:pointer;
	margin: 10px;
    padding: 15px 20px;
    letter-spacing: 0.3rem;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
    background: var(--primary);
    color:#FFF;
}
.btn.small_btn{
    padding: 5px 10px;
}
.overflow_y{
    overflow-y: auto;
}

select{
    background: #FFF;
    color:#505050;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
    background: #FFF;
}
select:disabled{
    opacity: 0.7;
}
textarea{
	font-family: 'Montserrat', sans-serif;
    background: #FFF;
    color:#505050;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    background: #FFF;
}
input{
	font-family: 'Montserrat', sans-serif;
    color:#505050;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
    background: #FFF;
}
.liste_radio label{
    background: var(--grey);
    color: #505050;
    padding: 10px 15px;
}
.liste_radio label:hover,
.liste_radio input:checked + label{
    background: var(--tertiary);
}

input:checked + .slider {
    background: rgb(36,161,89);
    background: linear-gradient(90deg, rgba(36,161,89,1) 0%, rgba(56,190,112,1) 100%); 
}

input:focus + .slider {
    box-shadow: 0 0 1px rgb(36,161,89);
}

/* HEADER */

header{
	width:100%;
	position:fixed;
	top:0;
	left:0;
	z-index:100;
	-o-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-webkit-transition: all 0.2s ease;
	transition: all 0.2s ease;
}
header .header_content{
    padding: 10px 50px;
}
header .logo{
    position: absolute;
    top: 0;
    left: 50px;
    padding: 10px 10px 2px;
	width:170px;
	z-index:200;
	overflow:hidden;
	-o-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-webkit-transition: all 0.5s ease;
	transition: all 0.5s ease;
    float: left;
}
header .logo_nav{
    display: none;
}
.commandes .logo img,
header .logo img{
	width:100%;
}
header.minus .logo{
	width:130px;
}

header a#burger {
	position:absolute;
	overflow:hidden;
	top:30px;
	right:30px;
	width:30px;
	display:block;
	cursor:pointer;
	z-index:110;
	display:none;
}
header a#burger span{
	width:100%;
	height:1px;
	display:block;
	background: #191919;
	margin-bottom:10px;
    -webkit-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
header a#burger span:last-child{
	margin-bottom:0;
}
header a#burger.active span:nth-child(1){
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform-origin:0 0 0;
	-webkit-transform-origin:0 0 0;
	-moz-transform-origin:0 0 0;
	-ms-transform-origin:0 0 0;
}
header a#burger.active span:nth-child(2){
	margin-left:250px;
}
header a#burger.active span:nth-child(3){
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform-origin:0 0 0;
	-webkit-transform-origin:0 0 0;
	-moz-transform-origin:0 0 0;
	-ms-transform-origin:0 0 0;
}

header nav {
    float: right;
    align-items: stretch;
    -webkit-border-bottom-left-radius: 10px;
    -moz-border-radius-bottomleft: 10px;
    border-bottom-left-radius: 10px;
}

header nav ul.menu{
    padding: 0 30px 0 0;
}
header nav ul.menu li{
    line-height: 2rem;
    position: relative;
}
header nav ul.menu li:after{
    content: '';
    display: block;
    height: 30px;
    width: 1px;
    background: var(--tertiary);
    opacity: 0.5;
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translate(0, -15px);
}
header nav ul.menu li:last-child:after{
    display: none;
}
header a{
    color: #000;
}
header nav ul.menu li a{
	display:flex;
    align-items: center;
	position:relative;
    padding:5px 0;
    font-weight: 700;
    max-width: 150px;
    text-align: center;
    height: 100%;
    white-space: pre-wrap;
}

header nav .search,
footer form{
    height: 40px;
    align-self:center;
}
header nav .search input,
footer .newsletter input{
    padding: 0 5px 0 10px;
    border: none;
    height: 100%;
    outline: none;
}
header nav .search button,
footer .newsletter button{
    background: none;
    border: none;
    height: 100%;
    padding: 0 5px;
    cursor: pointer;
}

header nav ul.menu li.active a{
    color: var(--primary);
}
header nav .account{
    padding: 10px;
}
header nav .account .separator{
    display: block;
    height: 35px;
    width: 1px;
    background: var(--tertiary);
    opacity: 0.5;
}
header nav .account a{
    height: 100%;
    padding: 0 20px;
    font-weight: 700;
}
header nav .account a span.material-symbols-outlined{
    width: 24px;
    height: 24px;
    display: block;
}
header nav .account a span.titre{
    display: block;
}
header nav .account a.cart{
    position: relative;
}
header nav .account a.cart span.notice{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: 4px;
    margin-top: -19px;
    font-size: 1.2rem;
}
/* HEADER END */



/* CONTENU */


.message_session{
    position: fixed;
    width:100%;
    max-width:500px;
    padding: 0 20px;
    height: auto;
    bottom:20px;
    left: 50%;
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 1000;
}
.message_session .content{
    opacity:0;
    bottom:-20px;
    position: relative;
    padding:10px;
    text-align: left;
    padding-right:40px;
    margin-top: 10px;
    overflow: hidden;
    -webkit-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    display: flex;
    align-items: center;
    background: var(--tertiary);
}
.message_session .content .icon_content{
    font-size: 2rem;
    margin-right: 10px;
    padding: 10px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.message_session.message .content .message_content{
    color:#2ecc71;
    font-weight: bold;
}
.message_session.message .content .icon_content{
    background: #eafaf1;
    color:#2ecc71;
}
.message_session.erreur .content{
    color:#f22613;
}
.message_session.erreur .content .icon_content{
    background: #fee9e7;
    color:#f22613;
}
.message_session.message .content.active,
.message_session.erreur .content.active{
    opacity:1;
    bottom:0;
}
.message_session.message .content.inactive,
.message_session.erreur .content.inactive{
    opacity:0;
    margin-top:0;
    /* height:0; */
    padding-top: 0;
    padding-bottom: 0;
    bottom:-20px;
}
.message_session .close{
    position: absolute;
    top:50%;
    right: 10px;
    display: block;
    cursor: pointer;
    margin-top: -12px;
}
.message_session .close svg{
    width: 20px;
    fill: #FFF;
}

/* CONTENU END */



/* CONTENU */

.titre_page{
    padding-bottom:70px;
}

/* CONTENU END */



/* FOOTER */
footer{
	clear:both;
	padding:60px 0 0 0;
    color: var(--secondary);
}
footer h4,
footer a{
    color: var(--secondary);
}
footer .container{
	padding-bottom:10px;
}
footer .logo{
    padding-right: 50px;
    flex-grow: 0;
    flex-shrink: 0;
}
footer .logo > a{
    width: 180px;
    display: block;
}
footer ul a{
	font-size:1.4rem;
	font-weight:400;
}
footer .logo_footer img{
	max-width:300px;
}
footer .links{
    display: flex;
    width: 100%;
}
footer .links > div{
    width: 100%;
}
footer .social svg{
    fill: #FFF;
}


footer .newsletter{
    padding-bottom: 50px;
    position: relative;
}
footer .newsletter h4{
    font-size: 2.8rem;
}
footer .newsletter .text{
    position: relative;
    z-index: 1;
}
footer .newsletter img{
    position: absolute;
    right: 20px;
    bottom: 0;
    height: 120%;
    max-height: 300px;
    z-index: 0;
}

footer .avis{
    padding:10px;
    width: 350px;
}
.avis h3{
    font-size: 1.6rem;
}
.avis h4 strong{
    font-size: 3.5rem;
}
.stars {
    justify-content: center;
    padding: 5px 0;
}
svg.full_star{
    fill: var(--rating);
}
svg.mid_star{
    shape-rendering: crispEdges;
    fill: url(#mid_star);
}
svg.no_star{
    fill: var(--rating-grey);
}

footer .sublinks{
	font-size:1.4rem;
    padding-top: 20px;
}

footer .hdf{
    max-width: 250px;
    /* padding: 0 10px 10px;
    justify-content: center;
    align-items: flex-end; */
}
footer .hdf img{
    height: 100px;
    width: auto;
    max-width: none;
}
footer .hdf span{
    display: block;
    font-size: 1.3rem;
}

footer .drop_lang_container{
    cursor: pointer;
    position: relative;
}
footer .drop_lang_container .list_lang{
    padding: 10px;
    position: absolute;
    margin-bottom:10px;
    min-width: 100%;
    bottom: 100%;
    right: 0;
    inline-size: min-content;
    cursor: default;
}
footer .drop_lang_container .list_lang a{
    color: var(--grey);
    white-space: nowrap;
}

footer .payment_list img{ 
    height:30px;
}

footer .signature{
    padding:10px;
	color:#b2b2b2;
	font-size:1rem;
    justify-content: space-between;
}
footer .signature a{
	float:right;
}
footer .signature svg{
    fill: var(--secondary);
}

/* FOOTER END */


/* VEHICULES */
.marques .ligne_form{
    max-width: 300px;
    margin: 0 auto 40px;
}
.marques .liste_marques li{
    width: 16.66%;
    padding: 10px;
}
.marques .liste_marques li a{
    padding: 10px;
    width: 100%;
    line-height: 1.7rem;
}
.marques .liste_marques li a:hover{
    background: var(--grey);
}
.marques .liste_marques li .img{
    height: 100px;
    width: 100px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.marques .liste_marques li img{
    object-fit: contain;
    /* min-height: 100%;
    min-width: 100%; */
    width: 100%;
    max-width: 150px;
}



/* VEHICULES END */



/******** BOITE DE DIALOG **********/
.dialog{
    display:none;
}
.ui-dialog{
    z-index: 600;
    background: #FFF;
    padding: 20px;
    text-align: center;
    overflow: hidden;
    -webkit-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    max-height: 90%;
    overflow-y: auto;
    position: relative;
    padding-bottom: 80px;
}
.ui-dialog.full_screen{
    height: 90% !important;
}
/* .ui-dialog-content{ */
    /* height: 100% !important; */
/* } */
.ui-dialog-titlebar{
    display: none;
}
.ui-dialog-buttonpane{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0 20px 20px;
}
.ui-dialog-buttonpane .ui-dialog-buttonset{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.popup_overlay,
.overlay{
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0,0,0, 0.8);
    z-index: 500;
}
.overlay{
    z-index: 600;
}
.close .ui-dialog{
    margin-top: -20px;
    opacity: 0;
}

/* POPUP HOME MADE */
.popup_container{
    position: fixed;
    left: 50%;
    top: 50%;
    /* margin-left: -300px; */
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width:700px;
    /* height: 100%; */
    max-height: 90%;
    background-color: white;
    padding: 20px;
    /* border: 5px solid #2f3f55; */
    /* display: block; */
    z-index: 500;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
    display: flex;
}
.popup_container .close{
    display: block;
    position: absolute;
    top: -15px;
    right: -15px;
    padding: 5px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    z-index: 100;
    font-size: 1rem;
}
.popup_container .close span{
    display: block;
}
.popup_container .popup_content{
    overflow-y: auto;
    /* height: 100%; */
    width: 100%;
}
.popup_container .btn_content{
    justify-content: space-between;
}

/* CONFIRM ADD CART */
.confirm_add_cart .article{
    padding: 20px;
    margin-bottom: 30px;
}
.confirm_add_cart .img{
    width: 120px;
    height: 120px;
    flex-grow: 0;
    flex-shrink: 0;
    overflow: hidden;
}
.confirm_add_cart .img img{
    object-fit: cover;
    width: 100%;
    height: 100%;
    font-size: 0;
}
.confirm_add_cart .prix{
    width: 100px;
    flex-grow: 0;
    flex-shrink: 0;
    font-size: 2rem;
}
.confirm_add_cart .cross_selling{
    padding-top: 30px;
}
.confirm_add_cart .cross_selling h2{
    font-size: 1.6rem;
}
.confirm_add_cart .cross_selling .box_tapis{
    width: 100%;
}
.confirm_add_cart .cross_selling .btn{
    transform: scale(0.7);
}
