.stoim-header{
	min-height: 560px;
	background: url(/bitrix/templates/new_redesign/images/pages/bitrix24/stoimost/back.png) center no-repeat;
	background-size: cover;
	display: flex;
	justify-content: center;
	position: relative;
}
.stoim-title{
	width: 70%;
	margin-top: 50px !important;
	margin-bottom: 50px !important;
}
.stoim-header .buy-btn{
	width: auto;
	padding: 10px 30px;
}
.buy-btn{
    width: 95%;
    padding: 10px 0px;
    border-radius: 15px;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, color 0.3s !important;
    box-sizing: border-box;
	border: none;
}
.buy-btn.orange{
    color: #fff;
    background: #EEA041;
}
.buy-btn.orange:hover{
    color: #EEA041;
    outline: 3px solid #EEA041;
    outline-offset: -3px;
    background: transparent;
}
.buy-btn.white{
    color: #EEA041;
    outline: 3px solid #EEA041;
    outline-offset: -3px;
    background: #fff;
}
.buy-btn.white:hover{
    color: #fff;
    background: #EEA041;
}
.buy-btn.blue{
    color: #fff;
    background: #757ABB;
}
.buy-btn.blue:hover{
	color: #757ABB;
    outline: 3px solid #757ABB;
    outline-offset: -3px;
    background: #fff;
}
.blue-text{
    color: #313DA5;
}
.white-text{
	color: #fff;
}
.orange-text{
	color: #EEA041;
}
.wh-blue-text{
	color: #AAFFFE;
}
.gray-text{
	color: #ACACAC;
}
.shadow{
	filter: drop-shadow(0px 8px 15px #1F2872dd);
}
.count{
    font-size: 1.5rem;
	font-weight: bold;
}
.under-text{
	text-align: center;
	font-size: 1.5rem;
	margin: 20px 0px;
}
.main-zagolovok{
	margin: 40px 0px;
	font-size: 4rem;
	text-transform: uppercase;
	width: 100%;
	text-align: center;
}
.zagolovok{
	margin: 40px 0px;
	text-align: center;
	font-size: 3rem;
	text-transform: uppercase;
}
.toggle-button {
  position: relative;
  top: 50%;
  width: calc(75px + (150 - 75) * ((100vw - 400px)/(1920 - 400)));
  height: calc(40px + (80 - 40) * ((100vw - 400px)/(1920 - 400)));
  margin: 20px;
  overflow: hidden;
  border: 2px solid #fff;
}

.toggle-button.r {
  border-radius: 100px;
}

.toggle-button.b2 {
  border-radius: 2px;
}

.checkbox {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}

#toggle-button .knobs:before {
  content: "";
  position: absolute;
  top: 5%;
  left: 3%;
  width: 50%;
  height: 90%;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  background-color: #AAFFFE;
  border-radius: 50%;
  transition: 0.3s ease all, left 0.3s cubic-bezier(0.18, 0.89, 0.35, 1.15);
}

#toggle-button .checkbox:active + .knobs:before {
  width: 60%;
  border-radius: 100px;
}

#toggle-button .checkbox:checked:active + .knobs:before {
  margin-left: calc(-4px + (-28 + 4) * ((100vw - 400px)/(1920 - 400)));
}

#toggle-button .checkbox:checked + .knobs:before {
  content: "";
  left: 47%;
  background-color: #AAFFFE;
}

.stoim-price-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 22%));
    grid-template-rows: auto;
    gap: 40px;
	justify-self: center;
	justify-content: center;
	width: 100%;
	margin: 30px 0px;
	transition: all 0.3s;
}
.stoim-price-block{
    display: flex;
    flex-direction: column;
    border-radius: 17px;
	background: #fff;
    overflow: hidden;
    box-shadow: 5px 2px 40px #5f64c239;
    transition: all 0.3s;
}
.stoim-price-block:hover{
    transform: scale(110%);
    z-index: 2;
}
.stoim-price-block-title{
    padding: 20px;
    height: 70px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    line-height: 1.1;
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: bold;
}
.stoim-price-block-title.orange{
    background: #EEA041;
}
.stoim-price-block-title.blue{
    background: #8A91C3;
}
.stoim-price-block-content{
    padding: 20px 15px 30px;
    display: flex;
	height: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.stoim-price{
    font-size: 1.8rem;
	font-weight: bold;
}
.stoim-price-lined{
    text-decoration: line-through;
    color: #ACACAC;
    font-size: 1.5rem;
}
.stoim-price-block p,
.stoim-price-block span{
    cursor: default;
}
.stoim-price-grid.thrid{
	grid-template-columns: repeat(auto-fit, minmax(300px, 30%));
	gap: 40px;
}
#korobka-text, #oblako-text{
	text-align: center;
	transition: all 0.4s ease-out;
}
#korobka, #oblako{
	text-transform: uppercase;
	color: #fff;
	font-size: calc(17px + (50 - 17)*((100vw - 400px)/(1920 - 400)));
	transition: all 0.4s ease-out;
}
#korobka-grid, #oblako-grid{
	transition: all 0.4s ease-out;
}
.toggle-block{
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
}
.toggled{
	color: #AAFFFE !important;
	transition: all 1s;
}
.stoim-header .hidden,
.price-grid.hidden{
	display: flex !important;
	visibility: hidden;
	max-height: 0;
	height: 0;
    transition: all 0.4s ease-out;
    overflow: hidden;
	opacity: 0;
	margin: 0;
}
@media screen and (max-width: 1550px){
	.stoim-title{
		width: 90%;
	}
}
@media screen and (max-width: 768px){
	.stoim-price-grid{
		grid-template-columns: repeat(auto-fit, minmax(250px, 80%));
	}
	.stoim-price-grid.thrid{
		grid-template-columns: repeat(auto-fit, minmax(300px, 80%));
	}
}