html {
    width: 100%;
    height: 100%;
    position: relative;
}

body.body-blanc-casse {
    position: relative;
}

.bandeau-header {
    width: 100%;
    background-color: #DD7258;
    margin-bottom: 2rem;
}

.bandeau-header p{
    color: #FFFAF8;
    padding: 1rem 0;
    margin: 0 auto;
    text-align: center;
}

.add-to-cart.disabled {
    pointer-events: none;
    opacity: .3 !important;
    transition: all .4s ease-in-out;
    cursor: not-allowed !important;
    background: #dd4b39 !important;
}

.add-to-cart {
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
}

.modal-img {
    overflow: hidden;
    border-radius: 15px;
}

.modal-img img {
    width: 100%;
    object-fit: cover;
    height: 100%;
}

.modal-body .top-content {
    border-bottom: 1px solid rgba(221, 114, 91, 0.39);
    padding: 0 0 1rem;
    margin: 0 0 2rem;
}

input[type="checkbox"],
input[type="radio"] {
    width: 1.3em;
    height: 1.3em;
}

.page-loader {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    background: #FFFAF8;
    opacity: 0;
    transition: all 1s ease-in-out;
    user-select: none;
    pointer-events: none;
}

.page-loader.show {
    opacity: 1;
}

.lds-ripple {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-ripple div {
    position: absolute;
    border: 4px solid #DD7258;
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
    animation-delay: -0.5s;
}
@keyframes lds-ripple {
    0% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 0;
    }
    4.9% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 0;
    }
    5% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        top: 0px;
        left: 0px;
        width: 72px;
        height: 72px;
        opacity: 0;
    }
}

.card-name {
    font-size: 4.3vw;
}

.number {
    font-size: 20px;
    user-select: none;
}

.btn-dark {
    transition: all .4s ease-in-out;
    opacity: 1;
}

.btn-dark:active {
    opacity: .7;
}


.prix-titre {
    font-size: 16px;
    color: #4a5568;
    padding: .5rem 0 0;
    margin: .5rem 0;
}

.option-title.grey {
    font-size: 15px;
    font-weight: 600;
    color: #858585;
    text-transform: uppercase;
}

.option-title {
    font-size: 15px;
    font-weight: 600;
    color: #dd4b39;
    text-transform: uppercase;
}

.prix {
    font-size: 25px;
    font-weight: 500;
}

.form-check-label {
    font-size: 17px;
    font-weight: 300;
}

.form-check-label,
.price-elem {
    font-size: 4vw;
}

.counter-section {
    border-top: 1px solid rgba(221, 114, 91, 0.42);
}

.fullscreen-img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 7, 27, 0.47);
    backdrop-filter: blur(4px);
    transition: all .4s ease-in-out;
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(.8);
}

.fullscreen-img.show {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.btn-outline-danger {
    border: 1px solid #DD725B !important;
    color: #DD725B !important;
}

.btn-outline-danger:hover {
    background: #DD725B !important;
    color: #fff !important;
}

.fullscreen-img .content {
    max-height: 600px;
    border-radius: 20px;
    overflow: hidden;
    transition: all .4s ease;
    transform: scale(.8);
}

.fullscreen-img.show content {
    transform: scale(1);
}

.fullscreen-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal.show {
    padding: 3rem 0 10rem;
}

.modal-content {
    border-radius: 20px !important;
}

.modal-content .btn-success {
    border-radius: 14px !important;
    background: #DD725B;
    border: none;
}

.btn:hover {
    background-color: rgba(221, 114, 91, 0.6) !important;
    border: none;
}

.button-textarea-wrap {
    opacity: 1;
    transition: all .3s ease-in-out;
}


.button-textarea-wrap.hide {
    opacity: 0;
    height: 0;
    display: none;
}

.textarea-wrap {
    opacity: 0;
    height: 0;
    transition: all .4s ease-in-out;
}

.textarea-wrap textarea {
    border-radius: 8px;
    border-color: rgba(221, 114, 91, 0.37);
    padding: 10px;
}

.textarea-wrap.show {
    opacity: 1;
    height: auto;
}

input {
    transition: all .3s ease;
}

.obligatoire {
    text-transform: uppercase;
    font-size: 11px;
    color: #dd4b39;
    text-align: start;
}

.title-mini {
    font-size: 13px;
    color: rgba(10, 7, 27, 0.63);
}

.form-check-input:focus {
    border-color: #dd4b39;
    box-shadow: none !important;
}

input.disabled {
    opacity: .3;
    pointer-events: none;
}

.tabs-products-grid {
    padding: 0 0 5rem;
}

.element-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.alert {
    display: none;
    opacity: 0;
    transition: all .3s ease-in-out;
    transform: translateY(-20px);
    position: fixed !important;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    font-size: 16px;
    background: #d4edda !important;
    border: none !important;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 15px 20px;
    z-index: 9999;
    align-items: center;
    justify-content: space-between;
}

.alert.alert-danger {
    background: #f8d7da !important;
    border-left: 5px solid #f5c6cb !important;
}

.alert.alert-danger .msg-success {
    color: #721c24;
}

.alert .msg-success {
    color: #155724;
    margin: 0;
    flex: 1;
}

.alert.show {
    display: flex;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.alert .btn-close {
    margin-left: 15px;
    opacity: 0.5;
    transition: opacity 0.2s ease-in-out;
}

.alert .btn-close:hover {
    opacity: 1;
}

@media screen and (min-width: 560px) {

    .form-check-label,
    .price-elem {
        font-size: 2.7vw;
    }
}

@media screen and (min-width: 768px) {
    .card-name {
        font-size: 3vw;
    }

    .form-check-label,
    .price-elem {
        font-size: 2vw;
    }
}

@media screen and (min-width: 991px) {
    .form-check-label,
    .price-elem {
        font-size: 1.7vw;
    }
}

@media screen and (min-width: 1200px) {
    .card-name {
        font-size: 2.3rem;
    }

    .form-check-label,
    .price-elem {
        font-size: 17px;
    }
}
