.btn-primary,
.btn-primary:active,
.btn-primary:focus {
    background-color: #972A66;
    border: 2px solid #972A66;
    color: #fff;
}

.btn-primary:hover {
    background-color: white;
    border: 2px solid #972A66;
    color: #972A66;
}

.btn-primary:disabled,
.btn-primary:disabled:active,
.btn-primary:disabled:focus {
    background-color: #972A66;
    border: 2px solid #972A66;
    color: #fff;
    opacity: 0.7;
}

.btn-secondary,
.btn-secondary:active,
.btn-secondary:focus {
    border-radius: 5px;
    background-color: #E9E9ED;
    border: 2px solid #E9E9ED;
    color: #000;
}

.btn-secondary:hover {
    background-color: white;
    border: 2px solid #E9E9ED;
    color: #000;
}

.btn-secondary:disabled,
.btn-secondary:disabled:active,
.btn-secondary:disabled:focus {
    background-color: #E9E9ED;
    border: 2px solid #E9E9ED;
    color: #000;
    opacity: 0.7;
}

.btn-success,
.btn-success:active,
.btn-success:focus {
    background-color: #26B48D;
    border: 2px solid #26B48D;
    color: #fff;
}

.btn-success:hover {
    background-color: white;
    border: 2px solid #26B48D;
    color: #26B48D;
}

.btn-success:disabled,
.btn-success:disabled:active,
.btn-success:disabled:focus {
    background-color: #CCC;
    border: 2px solid #CCC;
    color: #fff;
    opacity: 0.7;
}

.btn-outline-success {
    border-radius: 5px;
}

.btn-outline-success,
.btn-outline-success:active,
.btn-outline-success:focus {
    background-color: white;
    border: 2px solid #26B48D;
    color: #26B48D;
}

.btn-outline-success:hover {
    background-color: #26B48D;
    border: 2px solid #26B48D;
    color: #fff;
}

.btn-outline-primary:disabled,
.btn-outline-primary:disabled:active,
.btn-outline-primary:disabled:focus {
    background-color: #972A66;
    border: 2px solid #972A66;
    color: #fff;
    opacity: 0.7;
}

.btn-outline-primary,
.btn-outline-primary:active,
.btn-outline-primary:focus {
    background-color: white;
    border: 2px solid #972A66;
    color: #972A66;
}

.btn-outline-primary:hover {
    background-color: #972A66;
    border: 2px solid #972A66;
    color: #fff;
}

.btn-outline-primary:disabled,
.btn-outline-primary:disabled:active,
.btn-outline-primary:disabled:focus {
    background-color: #972A66;
    border: 2px solid #972A66;
    color: #fff;
    opacity: 0.7;
}

.btn-outline-2-primary:disabled,
.btn-outline-2-primary:disabled:active,
.btn-outline-2-primary:disabled:focus {
    background-color: #972A66;
    border: 1px solid #972A66;
    color: #fff;
    opacity: 0.7;
}

.btn-outline-2-primary,
.btn-outline-2-primary:active,
.btn-outline-2-primary:focus {
    background-color: white;
    border: 1px solid #972A66;
    color: #972A66;
}

.btn-outline-2-primary:hover {
    background-color: #972A66;
    border: 1px solid #972A66;
    color: #fff;
}

.btn-outline-2-primary:disabled,
.btn-outline-2-primary:disabled:active,
.btn-outline-2-primary:disabled:focus {
    background-color: #972A66;
    border: 1px solid #972A66;
    color: #fff;
    opacity: 0.7;
}

.btn-light,
.btn-light:active,
.btn-light:focus {
    background-color: white;
    border: 2px solid #CCC;
    border-radius: 3px;
}

.btn-light:hover {
    background-color: #F5F5F5;
    border: 2px solid #F5F5F5;
}

.btn-light:disabled,
.btn-light:disabled:active,
.btn-light:disabled:focus {
    background-color: #CCC;
    border: 2px solid #CCC;
    color: #000;
    opacity: 0.7;
}

.btn-account,
.btn-account:active,
.btn-account:focus {
    background-color: #222;
    border: 2px solid #222;
    color: #fff;
    border-radius: 5px;
}
.btn-account:hover {
    background-color: white;
    border: 2px solid #222;
    color: #26B48D;
}
.btn-account:disabled,
.btn-account:disabled:active,
.btn-account:disabled:focus {
    background-color: #222;
    border: 2px solid #222;
    color: #fff;
    border-radius: 5px;
    opacity: 0.7;
}
.btn-outline-continue,
.btn-outline-continue:active,
.btn-outline-continue:focus {
    background-color: transparent;
    border: 2px solid #222;
    color: #222;
    border-radius: 5px;

}
.btn-outline-continue:hover {
    background-color: white;
    border: 2px solid #222;
    color: #26B48D;
}
.btn-outline-continue:disabled,
.btn-outline-continue:disabled:active,
.btn-outline-continue:disabled:focus {
    background-color: transparent;
    border: 2px solid #222;
    color: #222;
    border-radius: 5px;
    opacity: 0.7;
}


/* ------ BASE BUTTON ------ */

button.base-button .content {
    font-size: 17px;
    /* padding-left: 15px; /* DANS site-header */
}
button.base-button.p15-30 {
    padding: 15px 30px;
}
button.base-button.rounded {
    border-radius: 5px;

}
button.base-button.white {
    background-color: #fff;
    border: 1px solid #000;
    color: #000;
}
button.base-button.black {
    background-color: #000;
    color: #fff;
    border: 1px solid #000;
}
button.base-button.gray {
    background-color: #ccc;
}
button.base-button.disabled {
    background-color: #ccc;
    cursor: auto;
}
button.base-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    border-radius: 5px;
}
button.base-button.btn-fb {
    background-color: #0d3a7b;
    border: 2px solid #0d3a7b;
    color: #fff;
}
button.base-button.btn-fb:hover {
    background-color: #fff;
    color: #0d3a7b;
}
button.base-button.disabled:hover,
button.base-button.disabled:active {
    background-color: #ccc;
    cursor: auto;
}
button.base-button.white:hover,
button.base-button.white:active {
    background-color: #f4f4f4;
}
button.base-button.black:hover,
button.base-button.black:active {
    background-color: #fff;
    color: #000;
}
button.base-button.small {
    width: 75%;
}
button.base-button.medium {
    width: 100%;
}
button.base-button.large {
    width: 100%;
}
button.base-button.full {
    width: 100%;
}
@media (min-width: 992px) {
    button.base-button.small {
        width: 25%;
    }
    button.base-button.medium {
        width: 50%;
    }
    button.base-button.large {
        width: 75%;
    }
    button.base-button.full {
        width: 100%;
    }
}


/* ------ BASE INPUT ------ */

.base-input {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    width: 100%;
}
.base-input.h-54{
    height: 54px;
}
.base-input.hover:hover,
.base-input.hover:focus-within {
    border: 1px solid #999999;
    box-shadow: -0.2em 0.1em 1em  #ccc, 0.2em 0.1em 1em #ccc;
}


/* ------ SMALL LOADER ------ */

.small-loader.v-hidden {
    visibility: hidden;
}
.small-loader.lds-ring {
    position: relative;
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
}
.small-loader.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    margin: 8px;
    border: 2px solid;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #000 transparent transparent transparent;
}
.small-loader.lds-ring.blue div {
    border-color: #17a9d2 transparent transparent transparent;
}
.small-loader.lds-ring.green div {
    border-color: #26B48D transparent transparent transparent;
}
.small-loader.lds-ring.white div {
    border-color: #fff transparent transparent transparent;
}
.small-loader.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}
.small-loader.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}
.small-loader.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}
@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ------ LOADER ------ */

.vue-loader .overlay {
    position: fixed;
    z-index: 10000;
    background-color: #000b;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.vue-loader .loader {
    position: fixed;
    margin-left: -50px;
    left: 50%;
    margin-top: -50;
    top: 50%;
    z-index: 10001;
}


/* ------ BASE RADIO ------ */

.base-radio {
    display: block;
    position: relative;
    padding-left: 25px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    line-height: normal;
    margin: 0;
}
.base-radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}
.base-radio .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 50%;
}
.base-radio .title {
    font-weight: bold;
}
.base-radio .sub {
    font-size: 13px;
    color: #333;
}
.base-radio:hover input:not(:disabled) ~ .checkmark {
    opacity: 0.7;
}
.base-radio input:checked ~ .checkmark {
    background-color: #26B48D;
}
.base-radio input:checked ~ .title {
    color: #26B48D;
}
.base-radio input:checked ~ .checkmark:after {
    display: block;
}
.base-radio input:disabled ~ .checkmark {
    opacity: 0.5;
}


/* ------ BASE STAMP ------ */

p .base-stamp {
    font-size: 14px;
}
.base-stamp.express24 {
    border: 1px solid #26B48D;
    color: #26B48D;
    cursor: pointer;
}
.base-stamp.warning {
    border: 1px solid #F7B352;
    color: #F7B352;
}
.base-stamp.usedStamp {
    border: 1px solid #999;
    color: #999;
}
.base-stamp.delais {
    border: 1px solid #f4c501;
    color: #f4c501;
}
.base-stamp {
    display: block;
    width: fit-content;
    padding: 5px;
}


/* ------ CHECKBOX ------ */

.check-container {
    display: block;
    position: relative;
    padding-left: 30px;
    cursor: pointer !important;
    font-size: 16px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.check-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
}
.checkmark:hover {
    cursor: pointer;
}
.check-container > span.check-label {
    display: flex;
    gap: 10px;
}
.check-container:hover input:not(:checked):not([disabled]) ~ .checkmark {
    background-color: #ccc;
}
.check-container:hover input:checked:not([disabled]) ~ .checkmark {
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}
.check-container input:checked ~ .checkmark {
    background-color: #26B48D;
}
.check-container input:disabled ~ .checkmark {
    opacity: 0.8;
}
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
.check-container input:checked ~ .checkmark:after {
    display: block;
}
.check-container .checkmark:after {
    left: 8px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
input:checked~.checkmark {
    background-color: #26B48D;
}


/* ------ MODAL ------ */

.modal-container label {
    display: block;
    margin: 0;
    cursor: text;
}
.modal-container {
    display: flex;
    justify-content: center;
    align-items: center;
}
.modal-content {
    display: flex;
    flex-direction: column;
    margin: 0 1rem;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    gap: 20px;
    max-height: 90vh;
    overflow-y: scroll;
    max-width: 600px;
}
.modal-content.custom {
    padding: 0;
    max-width: 800px;
}
.modal__content {
    gap: 10px;
    display: flex;
    flex-direction: column;
}
.modal__title {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
}
.modal_close {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
}
.modal_close:hover {
    opacity: 0.7;
}
.modal_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}
.modal_body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ------ ADD TO CART MODAL ------ */
#add-to-cart-modal {
    width: 80%;
}
#add-to-cart-modal .swiper {
    margin: 0;
    padding: 0;
}
#add-to-cart-modal .layer_cart_product {
    display: flex;
    gap: 15px;
}
#add-to-cart-modal .layer_cart_product .product-image-container {
    border: 1px solid #ccc;
    padding: 2px;
    border-radius: 3px;
    display: block;
    text-align: center;
    height: min-content;
    max-width: 85px;
}
#add-to-cart-modal .modal_body {
    display: flex;
    flex-direction: inherit;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 0;
}
#add-to-cart-modal .modal__title {
    color: #26B48D;
    text-transform: uppercase;
    max-width: 90%;
}
#add-to-cart-modal .modal_header {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}
#add-to-cart-modal .modal-bottom > span {
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 20px 0 10px 0;
}
.light-text {
    font-size: 13px;
    font-weight: lighter;
    color: #666;
}
.add-to-cart-banner {
    padding: 5px;
    border-radius: 5px;
    font-size: 13px;
    height: fit-content;
}
.add-to-cart-banner .content {
    padding: 5px 10px;
    background-color: #fff;
    border-radius: 3px;
}
.add-to-cart-buttons {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: end;
}
.franco-banner {
    background-image: url('/img/boutiques/livraison-24/bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}
.beaujolais-banner {
    background-color: #F4C501;
}
.vue-beaujolais {
    border: 1px solid #F4C501;
    color: #F4C501 !important;
    border-radius: 3px;
    padding: 2px 5px !important;
    width: fit-content;
}
.modal-bottom {
    position: relative;
    display: flex;
    flex-direction: column;
}
.modal-bg {
    background-color: #F5F5F5;
    position: absolute;
    top: 0;
    bottom: -15px;
    left: -15px;
    right: -15px;
    z-index: -1;
}
@media screen and (max-width: 641px) {
    #add-to-cart-modal {
        min-width: 100%;
        top: unset;
    }
    #add-to-cart-modal .modal_body {
        flex-direction: column;
    }
}

/* ------ DIALOG MODAL ------ */
.vue-modal-dialog {
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    width: 500px;
}
.vue-modal-dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}


/* ------ AUTH MODAL ------ */

.base-input input[type="text"], .base-input input[type="tel"], .base-input input[type="email"], .base-input input[type="date"], .base-input input[type="password"],  .base-input input[type="number"] {
    all: unset;
    width: 75%;
}
.base-input input[type="radio"] {
    margin: 0;
}
.base-input .voir {
    position: absolute;
    right: 10px;
    top: 36%;
    cursor: pointer;
}
.base-input label {
    display: block;
    margin: 0;
    cursor: text;
}
.base-input input:disabled {
    opacity: 0.3;
}
.base-input .action {
    position: absolute;
    right: 10px;
    top: 36%;
    cursor: pointer;
}
.base-input .links {
    display: flex;
    justify-content: space-between;
}


/* ------ TRANSITIONS ------ */

.slideh-enter-active,
.slideh-leave-active {
    max-width: 500px;
    transition: max-width 0.5s ease-in, opacity 0.2s ease-in;
    overflow: hidden;
    opacity: 1;
}
.slideh-enter-from,
.slideh-leave-to {
    max-width: 0;
    transition: max-width 0.5s ease-out, opacity 0.2s ease-out;
    transform: translateX(200%);
    opacity: 0;
}
.slide-enter-active,
.slide-leave-active {
    max-height: 500px;
    transition: max-height 0.15s ease-in;
    overflow: hidden;
}
.slide-enter-from,
.slide-leave-to {
    max-height: 0;
    transition: max-height 0.15s ease-out;
}
.fade-enter-active,
.fade-leave-active {
    opacity: 100%;
    transition: opacity 0.15s ease-in;
    overflow: hidden;
}
.fade-enter-from,
.fade-leave-to {
    opacity: 0;
    transition: opacity 0.15s ease-out;
}
@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.comment-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
