/* Стили popup об успешной отправке Tilda */
#tildaformsuccesspopup-new { z-index: 100000000 }

/* Глобальные стили */
.overflow { overflow: hidden }

.t744__price-value, .t744__price-currency{
    color: green;
}
.t760__price-value, .t760__price-currency{
    color: green;
}

/* уменьшение текста у квиза */
.t835 .t-img-select__text {
    margin-top: 10px;
    font-size: 13px;
    text-transform: lowercase;
}

/* Связь в нижнем углу экрана */
.t825__btn { z-index: 100 !important }

/* Верхнее меню */
#nav961648111 {
  background-color: rgba(43, 43, 43, .8) !important;
  backdrop-filter: blur(28px);
}

.t770 { z-index: 101 }

.tmenu-mobile__container {
    display: grid !important;
    grid-template-columns: auto 1fr 28px;
    justify-items: flex-end;
    gap: 20px;
}

.tmenu-mobile__burgerlogo img { width: clamp(11.25rem, -4.5rem + 70vw, 20rem) !important }

.t-menuburger.fixed-burger {
    position: fixed;
    z-index: 102;
    padding: 16px 12px;
    background-color: rgba(77, 77, 77, .8);
    border-radius: 50%;
    backdrop-filter: blur(2px);
    box-shadow: 0 0 4px rgba(0, 0, 0, .2);
}

.t-menuburger.fixed-burger span {
    width: calc(100% - 24px);
    left: 12px;
    
}

.t-menuburger.fixed-burger span:nth-child(1) { top: 16px }
.t-menuburger.fixed-burger span:nth-child(2),
.t-menuburger.fixed-burger span:nth-child(3) { top: 24px }
.t-menuburger.fixed-burger span:nth-child(4) { top: 32px }

/* Иконки мессенджеров в попапе бургер меню */
.burger-social {
  display: none;
  justify-content: center;
  align-items: center;
  padding-block: 16px;
  gap: 14px;
}

.burger-social-item {
  display: flex;
  cursor: pointer;
}

.burger-social-item img {
  width: 40px;
  height: 40px;
  border-radius: 4px;
}

/* Стили для дефолт кнопок */
.button-default {
    display: block;
    padding: 10.2px 30px;
    font-family: 'Fira Sans',Arial,sans-serif,Arial,sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff !important;
    background-color: #68b44a;
    border-radius: 4px;
    text-transform: uppercase;
    width: fit-content;
    transition-duration: .2s background-color ease-in-out;
}

.button-default span {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.button-default:hover {}

header .button-default,
header .button-default img { display: none }

header .button-default img {
    width: 26px;
	height: 26px;
}

/* Заголовок блоков */
.block-block-title {
    margin-block: 100px clamp(5rem, 4.541rem + 2.041vw, 6.25rem);
    font-family: 'Fira Sans',Arial,sans-serif;
    font-weight: 700;
    font-size: clamp(1.25rem, 0.883rem + 1.633vw, 2.25rem);
}

.block-block-title span {
    display: inline-block;
    padding: 10px;
    background: #ffd700;
    text-transform: uppercase;
}

/* Вопросы */
/*.accordicon{ width: 70px }
.t585__opened .t585__lines { transform: rotate(-360deg) !important }
.t585__icon {
    position: absolute;
    left: 0;
    top: 25%;
    transform: translateY(-50%);
    width: 50px;
    height: 24px;
    padding: 8px;
    transition: opacity ease-in-out .2s;
}

.t-name_xl {
    font-size: 24px;
    line-height: 1.35;
    background-color: white;
}

.t585__circle { display: none }
.t585__title { padding-left: 100px }*/

/* Попап с ценами */
.mypopup{
    font-family: 'Fira Sans',Arial,sans-serif,Arial,sans-serif;
	padding: 30px;
}

.t-popup__container{
	border-radius: 8px;
	box-shadow: 3px 3px 10px #000;
}

.popup-title{
	font-size: 30px;
	text-align: center;
	margin-bottom:10px;
}	

.popup-list {
    list-style-type: square;
    line-height: 1.7;
}

/* Блок с бывшим текстом из футера */
.ft-content_img {
	max-width: 50%;
	margin: 0 20px 8px 0px !important;
	float: left;
}

.ft-content_text-header { margin-block-end: 12px }

.uc-ft-content .t396 > div,
.ft-content_text-header,
.ft-content_text-text,
.ft-content_text-text > div {
    display: block !important;
    max-width: 100%;
}

.ft-content_text-text li { list-style-position: inside }

.ft-content_button {
	margin: 32px 30px 0 !important;
	max-width: 100%;
	transition: margin .3s ease-in-out;
}

.ft-toggle {
    position: relative;
    display: flex;
    width: fit-content;
    padding: 8px 16px;
    background-color: #ffd500;
    border-radius: 4px;
    color: #746100 !important;
    cursor: pointer;
    z-index: 10;
    border-color: transparent;
}

.ft-toggle::after {
    position: absolute;
    content: "";
    bottom: 7px;
    left: 16px;
    width: 0;
    height: 1px;
    z-index: 1;
    background-color: #746100;
    transition: width .3s ease-in-out;
}

.ft-toggle:hover::after {
    width: calc(100% - 32px);
}

.ft-content_text-text {
    position: relative;
    transition: max-height .4s ease-in-out;
}

/* градиент в конце блока */
.ft-content_text-text::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100px;
    z-index: 2;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 100%);
    display: var(--after-display, none); /* управляем через JS */
}

/* Стили формы в товаре */
.t-store__prod-popup__btn-wrapper { display: none !important }

.uc-product-form {
    display: none;
	padding-block: 20px 0 !important;
	max-width: 100%;
}

.uc-product-form .t678 .t-container > div {
	padding-inline: 0;
	margin-inline: 0;
}

/* Media queries */
@media (max-width: 1199px) {
    .ft-content_button {
        width: 420px !important;
        margin: 32px 20px 0 !important;
    }
}

@media (min-width: 981px) and (max-width: 1380px) {
    .t770 .t770__rightwrapper .t770__descr { display: none }
}

@media (max-width: 980px) {
    .t770 {
        position: fixed;
        height: 100% !important;
        max-height: 100% !important;
    }
    /* .tmenu-mobile__imglogo { width: 40px !important } */
    .burger-social { display: flex }
    header .button-default { display: block }
    #rec961648111 .tmenu-mobile__menucontent_fixed { top: 80px !important }
    .t770__list_item {
        width: 205px;
        margin-inline: auto;
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .t-menusub__list {
        text-align: left;
        list-style-type: disc;
        display: flex;
        flex-direction: column;
    }
    
    .t-menusub__content { padding: 20px 20px 18px }
    .t-menusub__list-item {
        font-weight: 400;
        color: #fff;
        margin-bottom: 12px;
    }
}

@media (max-width: 960px) {
    .uc-ft-content .t396 > div { padding-inline: 20px !important }
    .t-store__prod-popup__col-right { margin-inline: 0 !important }
	.uc-product-form .t678 .t-form__submit { padding-bottom: 0 !important }
	
	.ft-content_button {
        width: 520px !important;
        margin: 32px auto 0 !important;
    }
}

@media (max-width: 880px) {
    .ft-content_img {
        max-width: 100%;
        float: unset;
        margin: 0 0 32px !important;
    }    
}

@media (max-width: 560px) {
	.t-store .t-store__prod-popup__container { padding-bottom: 0 !important }
	header .button-default {
	    display: flex;
	    align-items: center;
	    justify-content: center;
	    padding: 0;
	    width: 40px;
	    height: 40px;
	    box-sizing: border-box;
	}
	
	header .button-default img { display: block }
	header .button-default span { display: none }
}