div#block-vesta-theme-views-block-tovary-block-1 {
    margin-bottom: 0;
    padding-bottom: 147px;
}

.view.view-tovary.view-id-tovary.view-display-id-page_1 {
    padding-top: 30px;
    padding-bottom: 100px;
}

.view.view-tovary.view-id-tovary.view-display-id-page_1 .view-header,
.view.view-commerce-cart-form.view-id-commerce_cart_form.view-display-id-default .view-header,
.view.view-tovary.view-id-tovary.view-display-id-block_1 .view-header {
    margin-bottom: 40px;
    font-family: 'Golos Text';
    font-size: 40px;
    color: #000;
    font-weight: 700;
}

.view.view-commerce-cart-form.view-id-commerce_cart_form.view-display-id-default .view-header {
    margin-bottom: 20px;
}

.view.view-tovary.view-id-tovary.view-display-id-block_1 .header-slogan,
.view.view-tovary.view-id-tovary.view-display-id-page_1 .header-slogan {
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;  
}

.view.view-tovary.view-id-tovary .view-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;

    --offsets: 2;
    --gap: 30px;
}

.view.view-tovary.view-id-tovary .view-content .views-row {
    width: calc((100% - var(--gap) * var(--offsets)) / (var(--offsets) + 1));
}

article.product .product-variations .field__item > div {
    position: relative;
    display: flex;
    flex-wrap: wrap;
}

.commerce-product-variation.commerce-product-variation--type-vesta-product.commerce-product-variation--view-mode-full.ds-1col.clearfix div {
    position: relative;
}

article.product-view-full div.product-teaser {
    gap: 0;
}

.field.field--name-field-variation-image.field--type-image.field--label-hidden {
    margin-bottom: 10px;
}

.field.field--name-field-variation-image.field--type-image.field--label-hidden img {
    border-radius: 10px;
    width: 100%;
    height: auto;
}

.field__item .field.field--name-title.field--type-string.field--label-hidden.field__item {
    margin-right: auto;
    margin-bottom: 10px;
    font-family: 'Golos Text';
    font-size: 24px;
    font-weight: 700;
    line-height: 29px;
    color: #000;
}

.field.field--name-field-v-nalichii.field--type-boolean.field--label-hidden.field__item {
    font-family: 'Golos Text';
    font-size: 16px;
    font-weight: 500;
    color: #3a80ff;
}

article.product-view-full {
    padding-top: 30px;
    padding-bottom: 100px;
}

.field.field--name-field-forma-vypuska,
.field.field--name-field-kolichestvo-v-upakovke,
.field.field--name-field-dozirovka,
.field.field--name-field-volume {
    display: flex;
    margin-bottom: 5px;
    align-items: center;
    gap: 5px;
    width: 100%;
}

.field.field--name-field-dozirovka.field--type-integer.field--label-inline.clearfix {
    margin-bottom: 10px;
}

.field.field--label-inline.clearfix::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #667685;
    
}

.field.field--name-field-forma-vypuska > div,
.field.field--name-field-kolichestvo-v-upakovke > div,
.field.field--name-field-dozirovka > div,
.field.field--name-field-volume > div {
    padding: 0;
    font-family: 'Golos Text';
    font-size: 16px;
    font-weight: 500;
    line-height: 19px;
    color: #667685;
}

.field.field--name-price.field--type-commerce-price.field--label-hidden.field__item {
    margin-bottom: 20px;
    font-family: 'Golos Text';
    font-size: 28px;
    font-weight: 700;
    line-height: 34px;
    color:#3a80ff;
}

form.commerce-order-item-variation-cart-form-form .field--name-quantity {
    position: absolute;
    bottom: 67px;
    right: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

form.commerce-order-item-variation-cart-form-form .field--name-quantity > span {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #3a80ff;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

form.commerce-order-item-variation-cart-form-form .field--name-quantity > span:hover {
    box-shadow: 0px 5px 10px 0px rgba(5, 66, 179, 0.5);
}

form.commerce-order-item-variation-cart-form-form .field--name-quantity .btn-minus {
    background-image: url('/sites/all/themes/vesta_theme/image/minus.svg');
}

form.commerce-order-item-variation-cart-form-form .field--name-quantity .btn-plus {
    background-image: url('/sites/all/themes/vesta_theme/image/plus.svg');
}

form.commerce-order-item-variation-cart-form-form .field--name-quantity .form-type-number.js-form-item-quantity-0-value.form-item-quantity-0-value {
    margin: 0;
}

form.commerce-order-item-variation-cart-form-form .field--name-quantity .form-type-number.js-form-item-quantity-0-value.form-item-quantity-0-value label {
    display: none;
}

form.commerce-order-item-variation-cart-form-form .field--name-quantity .form-type-number.js-form-item-quantity-0-value.form-item-quantity-0-value .form-number {
    padding: 0;
    border: none;
    width: 2ch;
    height: auto;
    text-align: center;

    font-size: 20px;
    line-height: 24px;
    color: #000;
}

form.commerce-order-item-variation-cart-form-form .form-actions.js-form-wrapper.form-wrapper {
    margin: 0;
}

.commerce-order-item-variation-cart-form-form {
    width: 100%;
}

form.commerce-order-item-variation-cart-form-form .form-actions.js-form-wrapper.form-wrapper .button--add-to-cart {
    padding: 15.5px 50px;
    width: 100%;
    border: none;
    border-radius: 10px;

    font-family: 'Golos Text';
    font-size: 16px;
    line-height: 19px;
    font-weight: 500;

    background-color: #3a80ff;
    transition: all 0.3s ease-in-out;
}

form.commerce-order-item-variation-cart-form-form .form-actions.js-form-wrapper.form-wrapper .button--add-to-cart:hover {
    box-shadow: 0px 5px 10px 0px rgba(5, 66, 179, 0.5);
}

.commerce-product-variation--type-vesta-product.commerce-product-variation--view-mode-full.ds-2col.clearfix .group-left,
.commerce-product-variation--type-vesta-product.commerce-product-variation--view-mode-full.ds-2col.clearfix .group-right {
    position: relative;
}

.view.view-commerce-cart-form.view-id-commerce_cart_form.view-display-id-default {
    padding-top: 30px;
    padding-bottom: 100px;
}

.field.field--name-field-description.field--type-text-with-summary.field--label-hidden.field__item p {
    position: relative;
    top: 35px;

    font-family: 'Golos Text';
    font-size: 18px;
    font-weight: 500;
}

.commerce-product-variation.commerce-product-variation--type-vesta-product.commerce-product-variation--view-mode-full.ds-2col.clearfix {
    display: flex;
    gap: 50px;
}

.commerce-product-variation.commerce-product-variation--type-vesta-product.commerce-product-variation--view-mode-full.ds-2col.clearfix .block__col {
    padding: 0;
}

div#block-vesta-theme-content .field.field--name-variations.field--type-entity-reference.field--label-hidden.field__items {
    padding-top: 30px;
    padding-bottom: 100px;
}

/*media*/
@media (max-width: 1024px) {
    div#block-vesta-theme-views-block-tovary-block-1 {
        padding-bottom: 100px;
    }

    .view.view-tovary.view-id-tovary.view-display-id-page_1 .view-header,
    .view.view-commerce-cart-form.view-id-commerce_cart_form.view-display-id-default .view-header,
    .view.view-tovary.view-id-tovary.view-display-id-block_1 .view-header {
        font-size: 32px;
    }

    .field__item .field.field--name-title.field--type-string.field--label-hidden.field__item {
        width: 100%;
    }

    .view.view-tovary.view-id-tovary.view-display-id-block_1 .header-slogan,
    .view.view-tovary.view-id-tovary.view-display-id-page_1 .header-slogan {
        font-size: 16px;
    }

    .field.field--name-field-description.field--type-text-with-summary.field--label-hidden.field__item p {
        font-size: 15px;
    }
}

@media (max-width: 992px) {
    div#block-vesta-theme-views-block-tovary-block-1 {
        padding-bottom: 50px;
    }

    .field__item .field.field--name-title.field--type-string.field--label-hidden.field__item {
        font-size: 20px;
        line-height: 25px;
    }

    .field.field--name-field-v-nalichii.field--type-boolean.field--label-hidden.field__item {
        font-size: 15px;
    }

    .field.field--name-field-forma-vypuska > div,
    .field.field--name-field-kolichestvo-v-upakovke > div,
    .field.field--name-field-dozirovka > div,
    .field.field--name-field-volume > div {
        font-size: 12px;
        line-height: 17px;
    }

    .field.field--name-price.field--type-commerce-price.field--label-hidden.field__item {
        font-size: 24px;
    }

    form.commerce-order-item-variation-cart-form-form .field--name-quantity > span {
        width: 34px;
        height: 34px;
    }
}

@media (max-width: 768px) {
    .view.view-tovary.view-id-tovary .view-content {
        --offsets: 1;
    }

    .commerce-product-variation.commerce-product-variation--type-vesta-product.commerce-product-variation--view-mode-full.ds-2col.clearfix {
        flex-direction: column;
        gap: 30px;
    }

    .field.field--name-field-description.field--type-text-with-summary.field--label-hidden.field__item p {
        top: 0;
    }
}

@media (max-width: 575px) {
    .view.view-tovary.view-id-tovary.view-display-id-page_1 .view-header,
    .view.view-commerce-cart-form.view-id-commerce_cart_form.view-display-id-default .view-header,
    .view.view-tovary.view-id-tovary.view-display-id-block_1 .view-header {
        margin-bottom: 20px;
        font-size: 28px;
    }

    .view.view-tovary.view-id-tovary.view-display-id-block_1 .view-header .slogan-slash,
    .view.view-tovary.view-id-tovary.view-display-id-page_1 .view-header .slogan-slash {
        display: none;
    }

    .view.view-tovary.view-id-tovary.view-display-id-block_1 .header-slogan,
    .view.view-tovary.view-id-tovary.view-display-id-page_1 .header-slogan {
       display: none;
    }

    .view.view-tovary.view-id-tovary .view-content {
        --offsets: 0;
    }

    .field.field--name-field-variation-image.field--type-image.field--label-hidden.field__items {
        width: 100%;
    }
}