body, html {
	scroll-behavior: smooth;
}

#calculatorApp .loader {
    width: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#calculatorApp .loader:before {
    content: '';
    width: 48px;
    height: 48px;
    border: 5px solid var(--ligh-blue-color);
    border-bottom-color: var(--light-gray-color);
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.welcome-box-wrapper {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 2fr;
    margin-bottom: 70px;
    grid-gap: 23px;
}
.welcome-box-wrapper > * {
    min-width: 0px;
}
.welcome-box-wrapper .col-left,
.welcome-box-wrapper .col-right {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
	gap: 23px;
    position: relative;
}
.welcome-box-wrapper .col-left {
    padding-bottom: 200px;
}




.v-callback-form-wrapper {
    width: 100%;
    max-width: 439px;
    margin-bottom: 120px;
}
.v-callback-form-wrapper h3 {
    font-size: 28px;
}
.v-callback-form-wrapper input:not([type="checkbox"]),
.v-callback-form-wrapper textarea{
    max-width: 100%;
}

.v-buy-form-wrapper .v-btn {
    height: 48px;
    align-items: center;
    display: flex;
}



@media (max-width: 768px) {
    .v-kit,
    .v-buy-form-wrapper,
    .v-ready-kits {
        width: 100%;
    }
}

.v-accordion .name {
    width: 100%;
}


/*основы*/
.v-basis {
    width: 100%;
    border-top: 1px solid var(--light-gray-color);
    border-bottom: 1px solid var(--light-gray-color);
    padding: 16px 0;
    margin-bottom: 16px;
}
.v-basis .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 24px;
    margin-top: 24px;
}
.v-basis .grid > * {
    min-width: 0px;
}
.v-accordion .name {
    color: var(--ligh-blue-color);
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0.03em;
}
.v-accordion .content {
    margin: 0;
	display: block;
}
/*основы end*/


/* карточка основы */
.v-basis-card-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.v-basis-card-wrapper .name {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    color: var(--black-color);
    margin-bottom: 16px;
}
.v-basis-card {
    width: 100%;
    cursor: pointer;
    background: var(--light-gray-color);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 24px 16px;
    border-radius: 16px 0px;
    border: 2px solid var(--light-gray-color);
    transition: .3s ease-out;
    flex: 1;
}
.v-basis-card.checked {
    border-color: var(--ligh-blue-color);
}
.v-basis-card img {
    width: 100%;
    mix-blend-mode: multiply;
}
.v-basis-card .price {
    padding: 9px 8px 8px 8px;
    background: var(--ligh-blue-color);
    color: white;
    font-style: normal;
    /*font-weight: 550;*/
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border-radius: 24px;
}
/* карточка основы end */



/* позиции */
.v-positions {
    width: 100%;
    border-bottom: 1px solid var(--light-gray-color);
    padding: 16px 0 32px 0;
}
.v-positions .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 24px;
    margin-top: 24px;
}
.v-positions .grid > * {
    min-width: 0px;
}
.v-positions .v-accordion {
	transition: .3s ease-out;
}
.v-positions .v-accordion.disabled {
    opacity: .5;
    pointer-events: none;
}
/* позиции end */

/* карточка ингридиент */
.v-position-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.v-position-wrapper .name {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    color: var(--black-color);
    margin-bottom: 8px;
}
.v-position-card {
    width: 100%;
    cursor: pointer;
    background: var(--light-gray-color);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 24px 16px;
    border-radius: 16px 0px;
    border: 2px solid var(--light-gray-color);
    transition: .3s ease-out;
    position: relative;
    flex: 1;
    max-height: 245px;
}
.v-position-card.v-empty {
    align-items: center;
    justify-content: center;
}
.v-position-card.v-empty img {
    width: 70%;
}
.v-position-card.checked {
    border:2px solid var(--ligh-blue-color);
}
.v-position-card .checked-input {
    width: 24px;
    height: 24px;
    position: absolute;
    top: 24px;
    left: 16px;
    z-index: 3;
    background: white;
    border: 1px solid white;
    border-radius: 4px;
    transition: .3s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
}
.v-position-card .checked-input svg {
    opacity: 0;
    transition: .3s ease-out;
}
.v-position-card.checked .checked-input {
    border-color: var(--ligh-blue-color);
}
.v-position-card.checked .checked-input svg {
    opacity: 1;
}
.v-position-card img {
    width: 100%;
    max-height: 100%;
    mix-blend-mode: multiply;
    object-fit: contain;
    object-position: center;
}
.v-position-card .price {
    padding: 9px 8px 8px 8px;
    background: var(--ligh-blue-color);
    color: white;
    font-style: normal;
    /*font-weight: 550;*/
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border-radius: 24px;
    position: absolute;
}

/* карточка ингридиент end */


/*форма заказа*/
.buy-form-col {
    position: sticky;
    top: 0;
    width: calc(40% - 12px);
}
.v-buy-form-wrapper {
    width: 100%;
	transition: .3s ease-out;
    margin-bottom: 24px;
}
.v-buy-form-wrapper.disabled,
.order-composition-wrapper.disabled{
    pointer-events: none;
    opacity: .5;
}
.add-branding-btn-wrapper {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-gap: 13px;
    background: var(--light-gray-color);
    padding: 16px;
    margin-bottom: 16px;
    font-family: 'FormaDJRCyrillicVariable';
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 120%;
    letter-spacing: 0.03em;
    color: var(--black-color);
}
.v-radio-btn {
    position: relative;
    width: 44px;
    height: 22px;
    border-radius: 32px;
    border: 1px solid var(--ligh-blue-color);
    padding: 1px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background: white;
    cursor: pointer;
}
.v-radio-btn:after {
    width: 20px;
    height: 20px;
    background: var(--ligh-blue-color);
    display: block;
    content: '';
    border-radius: 100%;
    transition: .3s ease-out;
}
.v-radio-btn.active:after {
    transform: translateX(20px);

}
.order-composition-wrapper .title {
	/*font-family: 'HelveticaNeueCyr';*/
	font-style: normal;
	font-weight: 700;
	font-size: 16px;
	line-height: 160%;
	color: var(--black-color);
	margin-bottom: 16px;
}
.order-composition-wrapper .total,
.order-composition-wrapper .basis,
.order-composition-wrapper .position{
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	/*font-family: 'HelveticaNeueCyr';*/
	font-style: normal;
	font-weight: 700;
	font-size: 14px;
	line-height: 160%;
	color: var(--black-color);

	padding-top: 16px;
	margin-bottom: 24px;
}
.order-composition-wrapper .total {
    border-top: 1px solid var(--light-gray-color);
}
.order-composition-wrapper .basis,
.order-composition-wrapper .position {
	font-weight: normal;
	padding: 0;
	margin-bottom: 16px;
    display: grid;
    grid-template-columns: 8fr 2fr;
    width: 100%;
}
.order-composition-wrapper .position.with-del {
    grid-template-columns: 8fr 2fr auto;
    grid-gap: 8px;
}
.order-composition-wrapper .basis span:nth-of-type(2),
.order-composition-wrapper .position span:nth-of-type(2) {
    text-align: right;
}
.order-composition-wrapper .counter {
    margin: 0 1rem;
    display: grid;
    grid-template-columns: 30px 50px 30px;
    grid-gap: 8px;
}
.order-composition-wrapper .counter .plus,
.order-composition-wrapper .counter .minus {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
    color: white;
    font-weight: bold;
    background: var(--dark-blue-color);
    transition: .3s ease-out;
    border-radius: 4px;
}
.order-composition-wrapper .counter .plus:hover,
.order-composition-wrapper .counter .minus:hover {
    background: var(--ligh-blue-color);
}
.order-composition-wrapper .counter input {
    min-height: 30px;
    height: 30px;
    margin: 0;
    padding: 0 4px;
    text-align: center;
    display: flex;
    align-items: center;
}
    /*форма заказа*/


/*селект*/
.v-select-wrapper {
	width: 100%;
	display: block;
}
.v-select-wrapper .current {
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	line-height: 100%;
	color: #000000;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 7px 10px 7px 12px;
	border-radius: 4px;
	border: 1px solid var(--light-gray-color);
	cursor: pointer;
	background: white;
	margin-bottom: 4px;
}
.v-select-wrapper .title {
	font-style: normal;
	font-weight: 550;
	font-size: 14px;
	line-height: 100%;
	color: var(--black-color);
	display: block;
	margin-top: 16px;
	margin-bottom: 12px;
}
.v-select-wrapper .options {
	padding: 7px 10px 7px 12px;
	border-radius: 4px;
	border: 1px solid var(--light-gray-color);
	width: 100%;
	background: white;
	max-height: 280px;
	overflow: auto;
}
.v-select-wrapper .option {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 0;
	cursor: pointer;
}



/*v-kit*/
.v-kit-wrapper {
	width: calc(60% - 12px);
    position: sticky;
    top: 0;
}
.v-kit-wrapper .text {

	color: var(--black-color);
	margin-bottom: 16px;
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0.03em;
    margin-top: 18px;
}
.v-kit {
	width: 100%;
	border: 1px solid var(--light-gray-color);
	border-radius: 16px 0px;
	background-size: cover;
	min-height: 555px;
	display: flex;
	justify-content: center;
	align-items: center;
	/*background: linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/soberi-svoy-welcome-box/kit-wr.jpeg');*/
	/*background-size: cover;*/
    background: var(--light-gray-color);
	position: relative;
    transition: .3s ease-out;
}
.v-kit.filled {
    /*background: url('/soberi-svoy-welcome-box/kit-wr.jpeg');*/
    /*background-size: cover;*/
}
.v-kit .empty {
	background: #F2F2F2;
	opacity: 0.7;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80%;
	max-width: 323px;
	min-height: 151px;
	font-style: normal;
	font-weight: 300;
	font-size: 20px;
	line-height: 100%;
	text-align: center;
	color: rgba(0, 0, 0, 0.7);
}
.v-kit-wrapper .reset-btn {
	cursor: pointer;
	display: grid;
	grid-template-columns: auto 1fr;
    align-items: center;
	grid-gap: 12px;
	padding: 8px 12px;
	font-style: normal;
	font-weight: 400;
	font-size: 12px;
	line-height: 100%;
	color: var(--black-color);
	position: absolute;
	top: 12px;
	right: 12px;
	border-radius: 16px;
	background: rgba(255,255,255,.7);
    z-index: 10;
}
.v-kit-wrapper .basis-only {
    display: flex;
    align-items: center;
    justify-content: center;
}
.v-kit-wrapper .basis-only img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    mix-blend-mode: multiply;
}
.v-kit-wrapper .basis-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}
.v-kit-wrapper .basis-grid.col3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}
.v-kit-wrapper .basis-grid.col3row3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
}
.v-kit-wrapper .basis-grid.col3row4 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
}
.v-kit-wrapper .basis-grid > * {
    min-width: 0px;
}
.v-kit-wrapper .basis-grid .item {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.v-kit-wrapper .basis-grid .item .remove {
    position: absolute;
    top: 50%;
    left: 50%;
    cursor: pointer;
    opacity: 0;
    transition: .3s ease-out;
    transform: translate(-50%, -50%);
    color: white;
    width: 48px;
    height: 48px;
    z-index: 2;
}
.v-kit-wrapper .basis-grid .item:hover .remove {
    opacity: .7;
}
.v-kit-wrapper .basis-grid img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    mix-blend-mode: multiply;
}
.v-kit-wrapper .item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/*v-kin end*/

form {
    transition: .3s ease-out;
}
.disabled {
    opacity: .5;
    pointer-events: none;
}


/*готовые наборы*/
.v-ready-kits {
    width: 100%;
}
.v-ready-kits .title {
    width: 100%;
    font-family: 'FormaDJRCyrillicVariable';
    font-style: normal;
    font-weight: 500;
    font-size: 28px;
    line-height: 90%;
    color: var(--black-color);
    margin-bottom: 24px;
}
.v-ready-kits .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 17px;

}
.v-ready-kits .grid > * {
    min-width: 0px;
}
.v-ready-kit-card {
    width: 100%;
    display: flex;
    flex-direction: column;
}
.v-ready-kit-card .img {
    width: 100%;
    background: url("/soberi-svoy-welcome-box/kit-wr.jpeg") no-repeat center;
    background-size: cover;
    border: 1px solid var(--light-gray-color);
    border-radius: 16px 0px;
    height: 174px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    overflow: hidden;
}
.v-ready-kit-card .img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.v-ready-kit-card .name {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    color: var(--black-color);
    margin-bottom: 8px;
}
.v-ready-kit-card .price {
    font-style: normal;
    font-weight: 550;
    font-size: 16px;
    line-height: 160%;
    color: var(--black-color);
}
@media (max-width: 640px) {

    .v-ready-kit-card .img {
        height: 171px;
    }
}
/*готовые наборы*/


@media (max-width: 1470px) {
    .v-position-card {
        max-height: 230px;
    }
}



@media (max-width: 1340px) {
	.welcome-box-wrapper {
		grid-template-columns: 1fr 1.3fr;
		grid-gap: 16px;
	}
	.v-kit-wrapper,
	.v-buy-form-wrapper,
	.v-ready-kits {
		width: 100%;
	}

    .buy-form-col {
        width: 100%;
        position: initial;
    }
    .v-kit-wrapper {
        position: initial;
    }
    .v-basis .grid,
    .v-positions .grid {
        grid-template-columns: 1fr 1fr ;
        grid-gap: 16px;
    }
}

@media (max-width: 1024px) {
    .v-position-wrapper .name {
        font-size: 14px!important;
    }
    .v-position-card {
        max-height: 200px;
    }
}
@media (max-width: 920px) {
	.welcome-box-wrapper {
		grid-template-columns: 1fr 1fr;
	}
	.v-basis .grid,
	.v-positions .grid {
		grid-template-columns: 1fr 1fr;
		grid-gap: 16px;
		margin-top: 16px;
	}
	.v-accordion .name,
	.v-kit .empty,
	.add-branding-btn-wrapper{
		font-size: 16px;
	}
	.v-kit-wrapper .text,
	.v-ready-kit-card .name,
	.v-ready-kit-card .price{
		font-size: 14px;
	}
	.v-kit .empty {
		min-height: 80px;
	}
	.welcome-box-wrapper .col-left,
	.welcome-box-wrapper .col-right {
		gap: 16px;
	}
	.v-ready-kits .title,
	.v-callback-form-wrapper h3{
		font-size: 20px;
	}
    .v-position-card {
        max-height: 190px;
    }

}
@media (max-width: 768px) {
	.welcome-box-wrapper {
		grid-template-columns: 1fr;
	}
	.v-kit {
		min-height: 359px;
	}
}

@media (max-width: 580px) {
    main {
        padding-top: 3rem;
    }
    .v-position-card .checked-input {
        top: 14px;
    }
    .v-position-card .price {
        bottom: 14px;
    }
}

@media (max-width: 380px) {
    .v-position-wrapper .name {
        font-size: 12px!important;
    }
    .v-position-card {
        max-height: 180px;
    }
}


/* Простая анимация fade */
.fade-enter-active,
.fade-leave-active {
	transition: opacity 0.3s ease;
}

.fade-enter-from,
.fade-leave-to {
	opacity: 0;
}

.empty-product {
    width: 100%;
    cursor: pointer;
    background: var(--light-gray-color);
    padding: 24px 16px;
    border-radius: 16px 0px;
    border: 2px solid var(--light-gray-color);
    transition: .3s ease-out;
}

#v-callback-form-hidden {
    max-width: 439px;
}
#v-callback-form-hidden h3 {
    font-size: 28px;
}
#v-callback-form-hidden p {
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 16px;
}
#v-callback-form-hidden  input:not([type="checkbox"],[type='submit'],[type='radio']),
#v-callback-form-hidden  textarea,
#v-callback-form-hidden  input:not([type="checkbox"],[type='submit'],[type='radio']),
#v-callback-form-hidden  textarea,
#v-callback-form-hidden  textarea,
#v-callback-form-hidden  input:not([type="checkbox"],[type='submit'],[type='radio']){
    border: 1px solid #0F0F0F33;
    border-radius: 4px;
    min-height: 42px;
    padding: 13px 16px;
    /*font-family: 'HelveticaNeueCyr1';*/
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: -0.02em;
    text-align: left;
    color: var(--black-color);
    margin-bottom: 16px;
    outline: none!important;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    display: flex;
    align-items: center;
    max-width: 376px;
    width: 100%;
}


.branding-select {
    width: 100%;
    padding: 1rem;
    background: var(--light-gray-color);
    border: 1px solid var(--gray-color);
    outline: none!important;
}

.vi-form-fields-but .v-btn,
.v-cb-form .v-btn {
    width: 100%;
}
.v-cb-form p {
    text-align: center;
    font-family: 'HelveticaNeueCyr1';
}
form textarea {
    font-family: 'Arial', sans-serif;
}