body {background: #FAF6F2 !important;}

/* Ховеры */

.gray-link a:hover {color: #1B1C1E!important;}
.dark-link a:hover {color: #949494!important;}
.social-icon .tn-atom:hover {background-color: #1B1C1E!important;}

.gray-link a, .dark-link a, .social-icon .tn-atom {transition: all 0.2s ease-out!important;} 



/* Поп-ап */

.t702 .t702__wrapper {padding: 28px 32px !important;} 
.t702 .t-input-group {margin-bottom: 8px !important;} 
.t702 .t-input, .t702 .t-select {height: 46px !important; font-size: 12px !important;}  
.t702 .t-input-title {font-size: 14px !important;}
.t702 .t-form__submit {margin-top: 20px !important;} 
.t702 .t-submit {height: 46px !important; font-size: 14px !important; transition: all 0.2s ease-out !important;}  
.t702 .t702__form-bottom-text {font-size: 12px !important; line-height: 1.2 !important; margin-top: 12px !important;}
    
@media (max-width: 640px) {
    .t702 .t-popup__container {border-radius: 16px !important;}
    .t702 .t-popup__block-close {background: #faf6f2 !important;}
    .t702 .t-input-title {font-size: 12px !important;}
}


/* Галерея на странице Санатория */

.t764__col {
    max-width: 580px !important;
    margin-left: 110px !important;
}   
    
.t764 .t-slds__bgimg {
    padding-bottom: 62% !important;
}

@media (max-width: 1199px) {
        .t764__col {
            max-width: 560px !important;
            margin-left: 20px !important;
        }
    }
    
@media (max-width: 960px) {
    .t764__col {
        max-width: 640px !important;
        margin-left: 0px !important;
    }
    
    .t764 .t-slds__items-wrapper .t-slds__bgimg {
        border-radius: 18px !important;
    }
}
    
@media (max-width: 639px) {
    .t764__col {
        max-width: 320px !important; 
        padding-left: 10px !important; 
        padding-right: 10px !important; 
    } 
        
    .t764 .t-slds__items-wrapper .t-slds__bgimg {
        border-radius: 12px !important;
    }
}


/* Корзина */

.t706__cartwin-content { 
    background-color: #faf6f2 !important;
    margin: 48px auto !important;
    max-width: 520px !important;
    padding: 32px !important;
}  
    
.t706__cartwin-heading, 
.t706__product-title, 
.t706__product-amount, 
.t706__product-amount--portion {
    color: #1B1C1E !important;
} 
    
.t706__cartwin-top {
    padding: 0 0 20px !important;
} 
    
.t706 .t-input, 
.t706 .t-submit {
    height: 48px !important;
}
    
.t706 .t-input-group {
    margin-bottom: 8px !important;
}
    
@media (min-width: 640px) {
    .t706__cartwin-content { 
        border-radius: 28px !important;
    }
}