.cart {
    position: fixed;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    width: 350px;
    height: 100vh;
    background-color: #FFFFFF;
    transform: translateX(400px);
    transition: all 0.3s ease-in-out;
    z-index: 50;
}

.cart.active {
    transform: translateX(0);
}

.cart_displayer, .filter_displayer {
    position: fixed;
    top: 40vh;
    left: -115px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5px 2px;
    width: 65px;
    height: 110px;
    background-color: #155144;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    z-index: 51;
}

.cart_displayer:hover {
    background-color: #EB7F2F;
}

.cart_displayer.active {
    left: -65px;
}

.cart_displayer img {
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
}

.cart_displayer span {
    color: #FFFFFF;
    margin: 5px 0;
}

.cart_displayer_arrow {
    width: 15px;
    height: 15px;
    margin-left: 5px;
    transform: rotate(-180deg);
    transition: all 0.3s ease-in-out;
}

.cart_displayer.active .cart_displayer_arrow {
    margin-left: 0;
    transform: rotate(0deg);
}

.filter_displayer {
    flex-direction: row;
    justify-content: flex-start;
    top: calc(40vh + 120px);
    right: 0;
    left: auto;
    padding: 5px 10px;
    background-color: #D86018;
    z-index: 49;
}

.filter_displayer:hover {
    background-color: #8d3f0f;
}

.filter_displayer.active {
    right: 350px;
}

.filter_displayer.active .filter_displayer_arrow {
    margin-left: 0;
    transform: rotate(0deg);
}

#totalTTCDisplayer {
    background-color: #A4C537;
    padding: 1px 7px;
    margin-left: 5px;
    border-radius: 11px;
    font-size: 13px;
}

.cart input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart input[type=number] {
  -moz-appearance: textfield;
}

.cart_header {
    display: flex;
    flex-direction: column;
    color: #FFFFFF;
    background-color: #155144;
    width: 100%;
    padding: 20px;
    text-align: center;
}

.cart_items {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-left: 10px solid #D86018;
    color: #155144;
    overflow-y: auto;
}

.cart_items_title {
    width: 80%;
    font-family: 'gotham';
    margin: 10px 0 5px 0;
    padding: 5px;
    border-bottom: 5px solid #FBEEE6;
}

.cart_item {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 15px;
}

.cart_item + .cart_item {
    border-top: 1px solid #155144;
}

.cart_item_media {
    width: 30%;
    overflow: hidden;
}

.cart_item_media img {
    width: 100%;
    object-fit: contain;
}

.cart_item_certifications {
    position: absolute;
    top: 15px;
    right: 10px;
    display: flex;
    flex-direction: row-reverse;
}

.cart_item_certifications img {
    height: 12px;
    width: 12px;
    object-fit: contain;
}

.cart_item_content {
    display: flex;
    flex-direction: column;
    width: 70%;
    margin-left: 5px;
}

.cart_item_name, .cart_item_price {
    font-weight: bold;
    font-size: 16px;
}

.cart_item_desc {
    margin-top: 5px;
    font-size: 14px;
}

.cart_item_quantite {
    display: flex;
    height: 15px;
    margin-right: 10px;
}

.cart_item_quantite_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 15px;
    color: #FFFFFF;
    background-color: #A4C537;
    cursor: pointer;
}

.cart_item_quantite_btn:hover {
    background-color: #155144;
}

.cart_item_quantite_btn[data-quantity-plus]::before {
    content: '+';
}

.cart_item_quantite_btn[data-quantity-minus]::before {
    content: '-';
}

.cart_item_quantite_input {
    width: 25px;
    text-align: center;
    background-color: #f1eeee;
}

.cart_item_select {
    display: flex;
    position: relative;
    margin-right: 10px;
    height: 15px;
}

.cart_item_select::before {
    position: absolute;
    content: 'v';
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFFFFF;
    background-color: #A4C537;
    width: 15px;
    height: 100%;
    font-size: 10px;
    top: 0;
    right: 0;
    pointer-events: none;
    transition: all 0.3s ease-in-out;
}

.cart_item_select:hover::before {
    background-color: #155144;
}

.cart_item_select_input {
    background-color: #f1eeee;
    cursor: pointer;
    width: 60px;
}

.cart_item_options {
    display: flex;
    align-items: center;
    align-self: flex-end;
}

.cart_item_old_price {
    margin-right: 5px;
    font-size: 10px;
    text-decoration: line-through;
}

.cart_item_delete {
    height: 15px;
}

.cart_item_delete img {
    max-height: 100%;
    object-fit: contain;
}

.cart_footer {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 10px;
    border-left: 10px solid #D86018;
    margin-top: auto;
}

.cart_footer::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: #FBEEE6;
}

.cart_footer .cart_btn {
    width: 80%;
    margin: 10px 25px 0 25px;
    text-transform: uppercase;
}

.cart_total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 18px;
    color: #155144;
}

.cart_total2 {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 18px;
    color: #f4c4b4;
}

.cart_total--alt {
    font-size: 15px;
    color: #D86018;
}

.cart_btns {
    display: flex;
    margin-top: 15px;
    font-size: 12px;
}

.cart_btns .cart_btn {
    width: 50%;
}

.cart_btn {
    font-weight: bold;
    background-color: #A4C537;
}

.cart_btn + .cart_btn {
    margin-left: 10px;
}

.cart_btn:hover {
    background-color: #D86018;
}

@media all and (max-width: 900px) {
    .filter_displayer {
        display: none;
    }
}

@media all and (max-width: 400px) {
    .cart.active {
        width: 80%;
    }
}





/* MODAL * /
/* The Modal (background) */
.modal {
    z-index: 999;
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #fefefe;
    margin: 20px auto auto auto;
    padding: 20px;
    border: 1px solid #888;
    width: 95%; /* Could be more or less, depending on screen size */
    max-width: 600px;
    position: relative;
}

.login_form h2 {
    border-bottom: 4px solid #cdcdcd;
    text-align: center;
    padding: 30px 30px 10px 30px;
    color: #000000;
    font-size: 24px;
}

#selectMagasinCaddie {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 25px;
}

#listeMagasinCaddie {
    background-color: #f1f1f1;
    padding: 6px;
    margin-top: 20px;
    width: 100%;
}

.titreModal {
    color: black;
    font-size: 24px;
}

#mesIdentifiantCaddie {
    margin-bottom: 10px;
    margin-top: 20px;
    display: flex;
    align-items: center;
}

#mesIdentifiantCaddie2 {
    display: flex;
    flex-direction: column;
    margin-top: 5px;
    width: 100%;
}

#mesIdentifiantCaddie2 input {
    padding: 6px 15px;
    background-color: #f1f1f1;
}

#btnAccountValid {
    background-color: black;
    color: white;
    border-radius: 10px;
    padding: 12px 22px;
    margin: 10px auto;
    cursor: pointer;
}



.modal-content2 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #fefefe;
    margin: 20% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 95%; /* Could be more or less, depending on screen size */
    max-width: 600px;
    position: relative;
}

#btnAccountValid2, #btnAccountValid3 {
    background-color: black;
    color: white;
    border-radius: 10px;
    padding: 12px 22px;
    margin-top: 10px;
}