﻿/*** Responsive ***/
@media screen and (min-width: 1800px) {
    .modal.new-feature,
    .modal.product-of-week,
    .modal.new-supplier {
        padding-top: 20vh;
    }
    .modal.product-of-week .modal-content, 
    .modal.new-supplier .modal-content {
        min-height: 50vh !important;
        max-height: 50vh !important;
        margin-top: 0vh;
    }
}
/*** < 1800px ***/
@media screen and (max-width: 1800px) {
    .aboutUs .scentree-header-ingredient {
        flex-wrap: wrap;
    }

    .aboutUs .scentree-header-ingredient .titleHeader {
        min-width: 100%;
    }

    .aboutUs .scentree-header-ingredient .chiffresBloc {
        padding-left: 24px;
    }
}

/*** < 1280px ***/
@media screen and (max-width: 1280px) {
    #popup_new_products {
    margin-top: 20px!important;
    }
    .clash-card__image {
        margin-top: 10px;
        margin-bottom: 0px;
        height: 150px;
    }
    .clash-card__show_product{
      padding-bottom: 10px;
    }
    .clash-card__unit-description{
        padding-bottom: 0px;
    }

}

/*** < 1080px ***/
@media screen and (max-width: 1080px) {
    .openMenu {
        margin-left: 0px;
    }

    aside.scentree-side-nav {
        display: none;
    }
    
    .scentree-img-ingredient:not(.scentree-img-map) {
        display: none !important;
    }

    .scentree-img-ingredient-mobile {
        display: flex !important;
        margin-bottom: 8px;
    }

    .scentree-header-top {
        flex-direction: column;
    }

    .scentree-header-top button {
        margin-top: 16px;
        margin-bottom: 16px;
    }

    #partners {
        display: none;
    }

    #partnersMobile {
        display: block;
    }

    #partnerIngredients {
        display: none;
    }

    #partnerIngredientsMobile {
        display: block;
    }
    .modal.new-feature,
    .modal.product-of-week,
    .modal.new-supplier {
        padding-top: 0vh;
    }
    .modal.product-of-week .modal-content, 
    .modal.new-supplier .modal-content {
        min-height: 85vh !important;
        max-height: 85vh !important;
        min-width: 80vw !important;
        max-width: 80vw !important;
    }
    .modal.product-of-week img.potw-img {
        height: 50px;
    }
    .modal.product-of-week .modal-body {
        display: none;
    }
    .modal-footer{  justify-content: center;
    }
}

/*** < 992px ***/
@media screen and (max-width: 992px) {
    .tabListElement li {
        height: 45px;
    }
    .modal.product-of-week .modal-header {
        text-align: center;
    }
    .modal.new-feature,
    .modal.product-of-week,
    .modal.new-supplier {
        padding-top: 0vh;
        margin-left: 12vh;
    }
}

/*** < 800px ***/
@media screen and (max-width: 800px) {
    .contactBloc {
        flex-wrap: wrap;
    }

    .contactBloc .contactBlocDiv {
        width: 100%;
        margin-bottom: 16px;
    }
    
    .scentree-table-partners {
        max-width: 80vw;
    }
}

/*** < 768px ***/
@media screen and (max-width: 768px) {
    .chiffresBloc {
        flex-wrap: wrap;
    }

    .chiffresBloc div {
        width: 100%;
        margin-top: 8px;
    }
    
    .tabListElement {
        max-width: 100%;
        width: 100%;
    }


    .hideOnMobile {
        display: none;
    }

    thead.displayOnMobile {
        display: table-header-group !important;
    }

    tbody.displayOnMobile {
        display: table-row-group !important;
    }

    .new-feature .modal-content {
        background: radial-gradient(80.42% 21.9% at -2.29% 4.72%, #FF795B 0%, rgba(246, 244, 246, 0.55) 90%), #FFF;
    }

    .scentree-data-list { max-width: 100%; width: 100%; }

    .scentree-header-ingredient { flex-direction: column; }

    .scentree-modal--lg { width: 90vw; --bs-modal-width: 90vw; --bs-modal-margin: 5vw; }

    .scentree-popup.modal { overflow: hidden; }
    .scentree-popup .modal-content { max-height: calc(100vh - 10vw); display: flex; flex-direction: column; }
    .scentree-popup .scentree-modal-header { flex-shrink: 0; }
    .scentree-popup .scentree-modal-body { flex: 1; min-height: 0; overflow: hidden; padding-bottom: 8px; display: flex; flex-direction: column; }
    .scentree-popup .scentree-modal-body .row { flex-direction: column; align-items: center; flex: 1; min-height: 0; flex-wrap: nowrap; }
    .scentree-popup .scentree-modal-body .col-3 { width: auto; flex-shrink: 0; }
    .scentree-popup__partner-logo { max-height: 80px; }
    .scentree-popup .scentree-modal-body .col-9 { width: 100%; overflow-y: auto; min-height: 0; flex: 1; }
    .scentree-popup__stats { display: none; }
    .scentree-popup .scentree-modal-footer { flex-direction: column; align-items: center; gap: 4px; flex-shrink: 0; }
    .scentree-popup .scentree-modal-footer .scentree-popup__dismiss { order: 2; }
    .scentree-popup .scentree-modal-footer .button { order: 1; }
}

/*** < 650px ***/
@media screen and (max-width: 650px) {
    button.openMenu, button.openMenu:hover {
        background-color: transparent;
        box-shadow: none;
    }
    
    button.openMenu svg {
        fill: var(--orange-main);
        width: 24px;
        height: 24px;
    }

    button.openMenu:hover svg {
        fill:  var(--orange-dark);
    }
}

/*** < 600px ***/
@media screen and (max-width: 600px) {
    .scentree-table-partners {
        max-width: 70vw;
    }

    .scentree-page-wrapper .scentree-page-card .scentree-header-ingredient {
        padding: 0px 34px 0 34px;
    }

    .scentree-page-wrapper .scentree-page-card .scentree-header-ingredient .scentree-block-title {
        border-left: 0px;
        border-top: 20px solid;
        margin-left: 0px;
        padding-left: 0px;
        padding-top: 24px;
        margin-top: -10px;
    }

    .scentree-page-wrapper .scentree-page-card .scentree-header-ingredient .scentree-img-ingredient-mobile img {
        max-height: 300px;
        margin: auto;
    }

    .modal.product-of-week img.potw-img {
        display: none;
    }
    .modal.new-feature,
    .modal.product-of-week,
    .modal.new-supplier {
        padding-top: 7vh;
        margin-left: 7vh;
    }

}

/*** < 500px ***/
@media screen and (max-width: 500px) {
    .scentree-page-body {
        padding: 0 34px 34px 34px;
    }

    .scentree-page-body a {
        word-break: auto-phrase;
    }

    .aboutUs .scentree-header-ingredient .chiffresBloc {
        padding-left: 0px;
    }

    .chiffresBloc div {
        margin-left: 0px;
    }

    .scentree-timeline {
        border-left: none;
        margin-left: 0;
    }

    .scentree-timeline-bloc {
        padding-left: 0px;
        padding-bottom: 16px;
    }

    .scentree-timeline-img {
        display: none;
    }
}

/*** < 400px ***/
@media screen and (max-width: 400px) {
    .scentree-page-body {
        padding: 0 16px 16px 16px;
        word-break: auto-phrase;
    }
.scentree-page-wrapper .scentree-page-card .scentree-header-ingredient {
        padding: 0px 16px 0 16px;
    }
    .PartnersBloc a {
        height: auto;
        width: 44%;
    }
}

