:root {
    --sat: env(safe-area-inset-top);
    --sar: env(safe-area-inset-right);
    --sab: env(safe-area-inset-bottom); /* THIS ONE GETS US THE HOME BAR HEIGHT */
    --sal: env(safe-area-inset-left);
}
@media(max-width: 1996px) {
    .profile-data-input[type="mobile"] {
        width: 160px !important;
    }
}
@media(max-width: 1825px) {
    .customer-deals .customer-deal:not(.product-in-bubble) {
        width: 150px;
        max-width: 150px;
        margin: 2px;
    }
    .customer-deals .customer-deal:not(.product-in-bubble) .deal-photo {
        width: 148px;
        max-width: 148px;
    }
    .selected-product img,
    .product-datas,
    .selected-product,
    .please-choose-product {
        height: 200px;
    }
    [data-tab="featured-products"] {
        max-height: calc(100vh - 370px);
    }
    .input-group select:not(.without-minwidth) {
        min-width: 100px;
    }
    .customer-profile {
        padding: 10px 15px;
    }
    .tab-menu-dashboard {
        width: calc(100% + 30px);
        margin-left: -15px;
    }
    .customer-deal-row {
        min-height: 130px;
    }
    .customer-deal-row .price {
        top: 30px;
    }
    .customer-deal-row .deal-functions {
        margin-top: 15px;
    }
    .product-datas .add-to-cart-btn, .product-datas .ask-the-price-btn, .product-datas .look-btn, .product-datas .take-a-question-btn {
        font-size: 15px;
        height: 34px;
        line-height: 34px;
    }
    .product-datas [name="deal-quantity"] {
        height: 34px;
    }
    [name="deal-quantity"] {
        width: 50px !important;
    }
}
@media(max-width: 1665px) {
    .customer-deals .customer-deal:not(.product-in-bubble) {
        width: 140px;
        max-width: 140px;
    }
    .customer-deals .customer-deal:not(.product-in-bubble) .deal-photo {
        width: 138px;
        max-width: 138px;
    }
    .column-header {
        padding: 0 5px;
    }
    .products-column {width:35%;}
    .chat-column {width:40%;}
    .conversations-column {width:25%;}
    .chat-container .chat-bubble {
        width: 90%
    }
}
@media(max-width: 1565px) {
    .column-header {
        height: 50px;
        line-height: 50px;
    }
    .column-header h1,
    .column-header h2 {
        line-height: 50px;
    }
    .column-content {
        height: calc(100vh - 50px - 2px) !important;
    }
    .chat-container {
        width: 100%;
    }
    .customer-name input {
        padding-bottom: 5px !important
    }
    .chat-container .chat-bubble {
        width: 80%;
    }
    .photo-parameters {
        padding-left: 20px;
    }
    .products-column .customer-profile:before {
        top: 50px;
        height: calc(100vh - 50px);
    }
}
@media(max-width:1341px) {
    .customer-deals .customer-deal:not(.product-in-bubble) {
        width: 130px;
        max-width: 130px;
        margin: 4px;
        height: 233px;
    }
    .customer-deals .customer-deal:not(.product-in-bubble) .deal-photo {
        width: 128px;
        max-width: 128px;
        height: 128px;
        max-height: 128px;
    }
    .please-choose-product div {
        font-size: 32px;
    }
    .conversations-column {width:25%;}
    .chat-column {width:37.5%;}
    .products-column {width:37.5%;}
    .customer-profile {
        padding: 10px;
    }
}
@media(max-width:1159px) {
    .conversations-column {
        position: fixed;
        left: -200vw;
        width:90vw;
        z-index: 9999;
        background-color: white;
        -webkit-box-shadow: -10px 0px 100px 43px rgba(0,0,0,0.67);
        -moz-box-shadow: -10px 0px 100px 43px rgba(0,0,0,0.67);
        box-shadow: -10px 0px 100px 43px rgba(0,0,0,0.67);
    }
    .tab-menu-dashboard {
        width: calc(100% + 25px);
    }
    .side-bar-show[data-bar-show='client'] {
        display: block;
        visibility: visible;
    }
    .products-column {width:40%;}
    .chat-column {width:60%;}
    .customer-deals .customer-deal:not(.product-in-bubble) {
        height:210px;
        width: 110px;
        max-width: 110px;
        margin: 2px;
    }
    .customer-deals .customer-deal:not(.product-in-bubble) .deal-photo {
        width: 108px;
        max-width: 108px;
        height: 108px;
        max-height: 108px;
    }
}
@media(max-width: 907px) {

    .products-column {width:45%;}
    .chat-column {width:55%;}
}
@media(max-width: 860px) {
    .is_mobile { display: block; }
    .products-column {
        position: fixed;
        right:-200vw;
        width:95vw;
        z-index: 9999;
        background-color: white;
        height: 100vh;
        -webkit-box-shadow: 10px 0px 100px 43px rgba(0,0,0,0.67);
        -moz-box-shadow: 10px 0px 100px 43px rgba(0,0,0,0.67);
        box-shadow: 10px 0px 100px 43px rgba(0,0,0,0.67);
    }
    .products-column .column-content {
        height: 100vh !important;
        padding: 5px;
    }
    [data-tab="featured-products"] {
        max-height: calc(100vh - 330px);
    }
    .please-choose-product div {
        font-size: 26px;
    }
    .column-content.customer-profile .product-view-box {
        margin-top: 5px;
    }
    .side-bar-show[data-bar-show='products'] {
        display: block;
        visibility: visible;
    }
    .chat-column {
        width: 100vw;
    }
    .chat-container .bubble-message {
        max-width: calc(100% - 60px);
        min-width: 100px !important;
        padding: 10px 15px;
        padding-bottom: 30px;
    }
    .chat-container {
        padding: 5px;
    }
    .chat-container .mini-avatar {
        width: 34px;
        height: 34px;
    }
    .chat-container .date-time {
        font-size: 11px;
        top: 5px;
        width: 100%;
    }
    .chat-column .support-part .date-time {
        left: 60px;
        top: unset;
        bottom: 3px;
        text-align: left;
    }
    .chat-column .customer-part .date-time {
        right: 60px;
        top: unset;
        bottom: 3px;
        text-align: right;
        color: #fff;
    }
    .chat-container .chat-bubble {
        width: 90%;
    }
    .chat-column .column-header {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 10;
    }
    .chat-container {
        margin-top: 50px;
    }
}
@media(max-width: 610px) {
    .question-bubble .bubble-message img {
        height: 100px;
        width: 100px;
    }
    .chat-container .bubble-message {
        min-width: calc(100% - 60px);
    }
}