@import "../fonts/aller/aller.css";

/* --------------------------------------------------------------- */
/*
/* HTML
/*
/* --------------------------------------------------------------- */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: "aller", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
}

body {
    text-align: center;
}

.noscroll {
    position: fixed;
    width: 100%;
    overflow-y: scroll;
}

#main {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0 auto;
    text-align: left;
    color: #222;
    background-color: #FFF;
    /* z-index: 5; */
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;

    display: grid;
    grid-template-rows: auto auto 1fr auto;
    min-height: 100dvh;
}

#fond_opacite {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1000;

    opacity: 0;
    visibility: hidden;

    -webkit-transition: ease 0.3s all;
    -moz-transition: ease 0.3s all;
    -ms-transition: ease 0.3s all;
    -o-transition: ease 0.3s all;
    transition: ease 0.3s all;
}

#fond_opacite.affiche {
    opacity: 1;
    visibility: visible;

    -webkit-transition: ease 0.3s all;
    -moz-transition: ease 0.3s all;
    -ms-transition: ease 0.3s all;
    -o-transition: ease 0.3s all;
    transition: ease 0.3s all;
}


/* --------------------------------------------------------------- */
/*
/* Général
/*
/* --------------------------------------------------------------- */
h1, h2 {
    margin-bottom: 45px;
    /*font-family: "Aller";*/
    /*font-weight: 700;*/
}

h4 {
    margin-bottom: 15px;
    /*font-family: "";*/
}

section {
    margin-bottom: 25px;
}

a img {
    border: none;
}

.bouton {
    text-align: center;
    vertical-align: middle;
    background: #b69540;
    border-radius: 5px !important;
    padding: 7.5px 18px;
    color: #FFF !important;
}

.bouton:hover {
    color: #FFF;
}

.actions a {
    color: black;
}

.prix_normal {
    text-decoration: line-through;
}

table th, table td {
    vertical-align: middle !important;
}

form .row {
    align-items: center;
}

form .row select {
    margin-right: 10px;
}

.lien_produit {
    color: black;
}

.lien_produit:hover {
    color: black;
    text-decoration: underline !important;
}


/* --------------------------------------------------------------- */
/*
/* Header
/*
/* --------------------------------------------------------------- */
#entete {
    position: relative;
    top: 0;
    left: 0;
    min-height: 200px;
    /*border-bottom: 1px solid #CCC;*/
    /*background: url('../img/fond_entete.jpg') no-repeat center center;*/
    padding: 25px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#entete:before {
    content: '';
    background: #FFF;
    opacity: .45;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#connexion_base {
    padding: 10px 0;
    border-bottom: 1px solid #CCC;
}

#entete #logo {
    position: relative;
    top: 0;
    left: 0;
}

#entete #logo img {
}


/* --------------------------------------------------------------- */
/*
/* Menu
/*
/* --------------------------------------------------------------- */
#menu {
    position: relative;
    top: 0px;
    left: 0;
    width: 100%;
    min-height: 60px;
    padding: 10px 0;
    border-bottom: 1px solid #CCC;
    box-shadow: 0px 2px 3px #CCC;
}

#menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: start;
}

#menu ul li {
    position: relative;
    top: 0;
    left: 0;
    margin: 0px;
    padding: 0;
}

#menu ul li a {
    text-decoration: none;
    display: block;
    padding: 0 10px;
    color: #222;
}

#menu ul li ul {
    position: absolute;
    top: 30px;
    left: 0;
    display: none;
}

#menu ul li:hover ul {
    display: block;
}

#menu ul li ul li {
    margin: 0;
}

#boutons_menu {
    display: flex;
    height: 100%;
    justify-content: space-between;
    align-items: center;
}

#boutons_menu a {
    color: #222;
    text-decoration: none;
    display: flex;
    align-items: center;
}

#boutons_menu a i {
    display: flex;
    color: #FFF;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    background-color: #b69540;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-right: 15px;
}


/* ---------- Burger ---------- */

#burger {
    display: none;
    position: absolute;
    right: 40px;
    top: 20px;
    z-index: 200;
}

#burger span {
    display: block;
    width: 30px;
    height: 4px;
    background-color: #b69540;
    border-radius: 5px;
    margin: 7px 0;
}

#menu-burger {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: 43vw;
    height: 100vh;
    background: url('../../assets/img/grape-noir-fond-menu.jpg') no-repeat center center;
    background-size: cover;
    padding: 25px 35px;
    z-index: -1;
    color: #fff;
    text-align: left;
}

#menu-burger #close {
    position: absolute;
    right: 35px;
    top: 25px;
}

#menu-burger #close i {
    font-size: 30px;
    color: #b69540;
}

#menu-burger .coordonnees {
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 30px;
}

#menu-burger a {
    color: #fff;
}

#menu-burger h3 {
    font-size: 22px;
    margin-bottom: 30px;
}

#menu-burger p i {
    margin-right: 15px;
    color: rgb(74, 142, 58, 0.8);
    font-size: 24px;
}

#menu-burger ul {
    padding: 0;
}

#menu-burger ul li {
    list-style: none;
    margin: 10px 0;
    font-size: 18px;
}

#menu-burger p {
    font-size: 15px;
}

/* --------------------------------------------------------------- */
/*
/* Barre de recherche
/*
/* --------------------------------------------------------------- */
#barre_recherche form {
    display: flex;
    align-items: center;
}

#barre_recherche input {
    width: 90%;
    border: 1px solid #AAA;
    border-right: 0;
    border-radius: .25rem 0 0 .25rem;
    padding-left: 5px;
}

#barre_recherche input::placeholder {
    color: #AAA;
}

#barre_recherche input::-webkit-input-placeholder {
    color: #AAA;
}

#barre_recherche button {
    width: 10%;
    cursor: pointer;
    border: 1px solid #AAA;
    border-radius: 0 .25rem .25rem 0;
}


/* --------------------------------------------------------------- */
/*
/* Page
/*
/* --------------------------------------------------------------- */
#page {
    position: relative;
    top: 0;
    left: 0;
    padding: 25px 0;
    background: url('../img/fond_page.jpg') no-repeat center center;
    background-size: cover;
}

#page a {
    text-decoration: none;
}

#page h1 {
    position: relative;
    top: 0;
    left: 0;
    text-align: center;
    font-size: 30px;
}

#page h1 span {
    position: relative;
    top: 0;
    left: 0;
    display: inline-block;
    padding: 0 15px;
}

#page h1 span:after, #page h1 span:before {
    content: "";
    position: absolute;
    top: 50%;
    left: -25px;
    width: 25px;
    height: 2px;
    margin-top: -1px;
    background-color: #b69540;
}

#page h1 span:after {
    left: auto;
    right: -25px;
}

#page h2 {
    position: relative;
    top: 0;
    left: 0;
    padding-bottom: 7px;
}

#page h2:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #b69540;
}


/* --------------------------------------------------------------- */
/*
/* Pied
/*
/* --------------------------------------------------------------- */
#pied {
    position: relative;
    top: 0;
    left: 0;
}

#pied a {
    color: #FFF;
    text-decoration: none;
}

#pied #footer_haut {
    padding: 25px 20px;
    background-size: cover;
    background: #b69540;
    color: #FFF;
}

#pied #footer_haut h4 {
    text-transform: uppercase;
    font-weight: 900;
    font-size: 18px;

}

#pied #footer_haut p {
    margin-bottom: 5px;
    display: flex;
}

#pied #footer_haut p i {
    margin-right: 10px;
    font-size: 18px;
}

#pied #footer_haut .paiement_footer i {
    font-size: 45px;
}

#pied #footer_bas {
    padding: 10px 0;
    color: #000;
}
#pied #footer_bas a {
    color: #000;
}


/* --------------------------------------------------------------- */
/*
/* Ruban de promotion
/*
/* --------------------------------------------------------------- */
.ribbon {
    position: absolute;
    left: -5px;
    top: -5px;
    z-index: 1;
    overflow: hidden;
    width: 150px;
    height: 150px;
    text-align: right;
}

.ribbon span {
    font-size: 28px;
    font-weight: bold;
    color: #FFF;
    text-transform: uppercase;
    text-align: center;
    line-height: 36px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    width: 175px;
    display: block;
    background: #840606;
    box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
    position: absolute;
    top: 32px;
    left: -37px;
}

.ribbon span::before {
    content: "";
    position: absolute;
    left: 0px;
    top: 100%;
    z-index: -1;
    border-left: 3px solid #840606;
    border-right: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-top: 3px solid #840606;
}

.ribbon span::after {
    content: "";
    position: absolute;
    right: 0px;
    top: 100%;
    z-index: -1;
    border-left: 3px solid transparent;
    border-right: 3px solid #840606;
    border-bottom: 3px solid transparent;
    border-top: 3px solid #840606;
}


/* --------------------------------------------------------------- */
/*
/* Input quantité
/*
/* --------------------------------------------------------------- */
#page .quantite_wrapper {
    display: flex;
    align-items: center;
}

#page .quantite_wrapper label {
    margin-right: 50px;
}

#page .quantite_input {
    display: flex;
    align-items: center;
}

#page .quantite_input .quantite-decrement,
#page .quantite_input .quantite-increment {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 35px;
    border-radius: 5px;
    background: #b69540;
    font-size: 13px;
    color: #FFF;
    cursor: pointer;
}

#page .quantite_input .quantite-decrement {
    margin-right: 3px;
}

#page .quantite_input .quantite-increment {
    margin-left: 3px;
}

#page .quantite_input .quantite-decrement:active,
#page .quantite_input .quantite-increment:active {
    background: #DDD;
}

#page #quantite, #panier .input_quantite {
    -moz-appearance: textfield;
    border-radius: 0;
    height: 35px;
    width: 80px;
    outline: none;
    box-shadow: inset 0 0 2px rgba(51, 51, 51, 0.4);
}

#page #quantite:focus,
#page #quantite:active,
#panier .input_quantite:focus,
#panier .input_quantite:active {
    border-color: #ced4da;
    box-shadow: inset 0 0 2px 1px rgba(51, 51, 51, 0.4);
}

#page #quantite::-webkit-outer-spin-button,
#page #quantite::-webkit-inner-spin-button,
#panier .input_quantite::-webkit-outer-spin-button,
#panier .input_quantite::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/* --------------------------------------------------------------- */
/*
/* Boutons radio
/*
/* --------------------------------------------------------------- */
/* The container */
.container_radio {
    display: block;
    width: 20px;
    height: 20px;
    position: relative;
    margin-bottom: 0 !important;
    font-size: 20px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default radio button */
.container_radio input {
    position: absolute;
    width: 20px;
    height: 20px;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

/* Create a custom radio button */
.container_radio .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background-color: #EEE;
    border-radius: 50%;
    box-shadow: 0px 1px 2px 0px rgba(51, 51, 51, 0.4);
    cursor: pointer;
}

/* On mouse-over, add a grey background color */
.container_radio:hover input ~ .checkmark {
    background-color: #CCC;
}

/* When the radio button is checked, add a blue background */
.container_radio input:checked ~ .checkmark {
    background-color: #CCC;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.container_radio .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.container_radio input:checked ~ .checkmark:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.container_radio .checkmark:after {
    top: 6px;
    left: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

/* Customize the label (the container) */
.container_checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.container_checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.container_checkbox .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #EEE;
}

/* On mouse-over, add a grey background color */
.container_checkbox:hover input ~ .checkmark {
    background-color: #CCC;
}

/* When the checkbox is checked, add a blue background */
.container_checkbox input:checked ~ .checkmark {
    background-color: #CCC;
}

/* Create the checkmark/indicator (hidden when not checked) */
.container_checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container_checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.container_checkbox .checkmark:after {
    left: 7px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* --------------------------------------------------------------- */
/*
/* Responsive
/*
/* --------------------------------------------------------------- */

@media screen and (max-width: 1199px) {

}

@media screen and (max-width: 991px) {

    #main.is-active {
        left: -43vw;
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -ms-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        transition: all 0.5s ease;
    }

    #menu-burger.is-active {
        z-index: 0;
    }

    #entete {
        min-height: 180px;
    }

    #banniere #logo {
        height: 130px;
        display: block;
    }

    #banniere #logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    #boutons_menu a i {
        width: 32px;
        height: 32px;
        font-size: 15px;
        margin-right: 8px;
    }

    #pied .box {
        margin: 15px 0;
    }

    #burger {
        display: block;
    }

    #bloc-menu {
        display: none;
    }

    #menu {
        display: none;
    }

}

@media screen and (max-width: 767px) {

    #menu-burger {
        width: 65vw;
    }

    #main.is-active {
        left: -65vw;
    }

    #boutons_menu {
        width: 50%;
        margin: 0px auto 30px auto;
    }

    #boutons_menu a {
        margin: 0 10px;
        text-align: center;
    }

    #bloc-menu.is-active {
        display: block;
        position: absolute;
        width: 100%;
        background-color: rgba(255, 255, 255, 1);
        padding: 30px 35px;
        z-index: 1000;
        top: 60px;
        box-shadow: 0px 5px 12px rgba(23, 23, 23, 0.2);
    }

    /* ------------ Page ---------- */
    #page h1 {
        font-size: 25px;
    }

    p {
        font-size: 14px;
    }
}

@media screen and (max-width: 575px) {
    #menu-burger {
        width: 100vw;
    }

    #main.is-active {
        left: -100vw;
    }

    #menu-burger p {
        font-size: 14px;
    }

    #menu-burger p i {
        font-size: 15px;
    }


    #entete {
        min-height: 100px;
    }

    #banniere #logo {
        height: 90px;
    }

    #boutons_menu {
        width: 100%;
        display: block;
    }

    #bloc-menu.is-active {
        padding: 30px 25px;
    }

    #connexion_entete,
    #panier_entete {
        margin: 10px auto;
    }

    #menu ul {
        display: block;
    }

    #menu ul li {
        margin: 15px auto;
    }

    #menu ul li a {
        font-size: 18px;
    }

    /* --------------- Page ---------------- */
    #page {
        padding: 35px 18px;
    }

    #page h1 {
        font-size: 17px;
    }

    #page h1 span:after,
    #page h1 span:before {
        width: 17px;
    }

    #page h1 span:before {
        left: -12px;
    }

    #page h1 span:after {
        right: -12px;
    }

    p {
        font-size: 13px;
    }
}

@media screen and (max-width: 380px) {
    #boutons_menu a i {
        width: 28px;
        height: 28px;
        font-size: 12px;
        margin-right: 10px;
    }

    #banniere #logo {
        height: 70px;
    }
}