body {
  height: 100%;
  margin: 0;
  font-family: var(--font-family);
  overflow-x: hidden;
  background-color: #fafafd;
}
html {
  overflow-x: hidden;
}
#page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
#main {
  flex: 1;
}

.ui-dialog {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  max-width: calc(100% - 20px);
  max-height: calc(100% - 20px);
}
img {
  max-width: 100%;
  height: auto;
}
/*HEADER STYLES*/
.header-top .contacts__detail--address svg path {
  fill: var(--primary-hover);
}
.contacts__detail {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-top .bvi-open {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  border-radius: 30px;
  padding: 10px 20px;
  background: #fff;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}
.header .nav-link:hover {
  color: var(--primary);
  text-decoration: dotted;
}
.header ul.nav {
  justify-content: space-between;
}
.header .col-navigation {
  max-width: 525px;
  width: 100%;
}
.header .nav-link:hover::after {
  opacity: 1;
}
.header .nav-link::after {
  content: "";
  position: absolute;
  bottom: 4px;
  width: 100%;
  opacity: 0;
  left: 0;
  height: 1px;
  border-bottom: 3px dotted var(--primary);
  transition: opacity 0.2s ease-in-out;
}
.header .nav-link {
}
.header .nav-link {
  position: relative;
  padding: 4px 0;
  font-weight: 700;
  font-size: 16px;
  line-height: 125%;
  color: var(--color-text);
}
.header-top .col-visually_impaired {
  margin-left: auto;
}
.header-bottom .col-logo img {
  width: 100%;
}
.header-bottom .col-nav {
  max-width: 524px;
}
.header-bottom .col-logo {
  width: 216px;
}
.header-bottom > * {
  flex-shrink: 0;
}
.header-bottom {
  padding: 30px 40px;
  border-radius: 40px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
  background: #fff;
  justify-content: space-between;
}

.header-top .contacts__detail {
  font-weight: 500;
}
.header-top {
  font-size: 14px;
  padding: 20px 0;
}
.header-top .contacts__item--phone {
  display: none;
}
.header-top .contacts {
  display: flex;
  align-items: center;
  gap: 30px;
}
.header-bottom,
.header-top {
  display: flex;
  align-items: center;
  gap: 24px;
}
.header::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  background: url("/sites/all/themes/vesta_theme/image/header-bg.png");
  z-index: -3;
  height: 880px;
  background-size: cover;

  /* Чтобы градиенты не повторялись и плавно перетекали */
  background-repeat: no-repeat;
}
.header {
  position: relative;
}
.header .col-callback .callback_phone:hover {
  color: var(--primary-hover);
}
.header .col-callback .callback_phone {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 125%;
  text-align: right;
  color: var(--color-title);
  padding: 4px 0;
  display: block;
}
#footer .ajax-progress,
#header .ajax-progress {
  display: none;
}

.toolbar .toolbar-tab .toolbar-icon {
  padding: 0.75em 1.5em 0.75em 2.5em;
}
.path-admin .messages--error {
  display: none;
}
/* *** contextual-region *** */
.contextual-region .contextual {
  display: none;
  top: -8px;
  right: 8px;
}

.contextual-region .contextual-region .contextual {
  top: 8px;
}

.contextual-region:hover .contextual {
  display: block;
}

.contextual-region .contextual .trigger {
  width: 22px !important;
  height: 22px !important;
  background-size: 14px 14px;
}

.cart-block--summary .cart-block--summary__count {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--primary-hover);
  color: #fff;
  top: 1px;
  right: 3px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

#header-mob .col-logo {
  width: 180px;
}
#header-mob {
  top: 0;
  width: 100%;
  color: var(--color-title);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
  border-radius: 40px;
  padding: 20px;
  z-index: 50;
  background: #fff;
}

#header-mob.toolbar-horizontal #header-mob {
  top: 0;
}

#header-mob > * {
  padding: 0 10px;
}

#header-mob a {
}

.offcanvas .logo {
  width: 180px;
}
.offcanvas ul.nav {
}
.offcanvas {
  background-image: 
    /* 1. Верхний правый (розово-красный) */
    radial-gradient(
      circle at 100% 0%,
      rgba(223, 76, 88, 0.35) 0%,
      transparent 55%
    ),
    /* 2. Нижний правый (нежный сине-фиолетовый акцент для баланса) */
    radial-gradient(
        circle at 100% 100%,
        rgba(130, 140, 230, 0.25) 0%,
        transparent 50%
      );

  background-repeat: no-repeat;
  background-size: cover;

  /* Чтобы градиенты не повторялись и плавно перетекали */
  background-repeat: no-repeat;
  background-size: cover;
}

.offcanvas .offcanvas-title {
  color: #000;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 500;
}

.region-navigation .nav > .nav-item:hover .dropdown-menu {
  display: block;
  top: 100%;
  left: 0;
}

/*HEADER STYLES*/

/* SLICK STYLES */
.region-slider .view-content:not(.slick-initialized) .views-row {
  display: none;
}

.region-slider .view-content:not(.slick-initialized) .views-row:first-child {
  display: block;
}

.slick-prev,
.slick-next {
  font-size: 0;
  line-height: 0;
  position: absolute;
  top: calc(50% - 10px);
  display: block;
  width: 20px;
  height: 20px;
  padding: 0;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  transform: translate(0, -50%);
  cursor: pointer;
  color: transparent;
  border: none;
  outline: none;
  background: transparent;
}

button.slick-prev.slick-arrow {
  left: 25px;
}

button.slick-next.slick-arrow {
  right: 25px;
}

ul.slick-dots {
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin-top: 40px;
}

ul.slick-dots li button {
  background: rgba(43, 46, 131, 0.1);
  border-radius: 6px;
  border: none;
  padding: 0;
  width: 12px;
  font-size: 0;
  height: 12px;
  display: block;
}

ul.slick-dots li button::before {
  display: none;
}

ul.slick-dots li.slick-active button {
  background: var(--primary);
  width: 32px;
}

button.slick-arrow {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

button.slick-arrow::before {
  content: "";
  display: block;
  position: relative;
  width: 30px;
  height: 30px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  font-size: 0;
}

button.slick-prev.slick-arrow::before {
  background-image: url("/sites/all/themes/vesta_theme/image/arrow-top.svg");
  transform: rotate(-90deg);
}

button.slick-next.slick-arrow::before {
  background-image: url("/sites/all/themes/vesta_theme/image/arrow-top.svg");
  transform: rotate(90deg);
}

#scrollToTop {
  width: 60px;
  height: 60px;
  background: none;
  text-indent: 0;
  font-size: 0;
  border: 0px;
  outline: 0px;
  display: flex;
  bottom: 60px;
  right: 60px;
  cursor: pointer;
  position: fixed;

  z-index: 10;
  transition: 0.2s;
  padding: 0;
}

/* SLICK STYLES */

/* PRODUCT PAGE STYLES*/
.product-teaser {
  display: flex;
}

.product-teaser .product-teaser-image {
  max-width: 500px;
}

.product-teaser
  .product-teaser-image
  .field.field--name-field-variation-image.field--type-image
  .elements
  .current-slide.slick-initialized.slick-slider {
  margin: 0 0 10px;
}

.product-teaser
  .product-teaser-image
  .field.field--name-field-variation-image.field--type-image
  .elements
  .current-slide.slick-initialized.slick-slider
  .slick-list.draggable
  .slick-track
  .element.slick-slide
  img {
  max-width: 500px;
  min-width: 500px;
  max-height: 500px;
  min-height: 500px;
  object-fit: cover;
}

.product-teaser
  .product-teaser-image
  .field.field--name-field-variation-image.field--type-image
  .elements
  .nav-slide.slick-initialized.slick-slider
  .slick-list.draggable {
  margin: 0 -5px;
}

.product-teaser
  .product-teaser-image
  .field.field--name-field-variation-image.field--type-image
  .elements
  .nav-slide.slick-initialized.slick-slider
  .slick-list.draggable
  .slick-track
  .element.slick-slide {
  margin: 0 5px;
  max-width: 118px;
  min-width: 118px;
  max-height: 118px;
  min-height: 118px;
}

.product-teaser
  .product-teaser-image
  .field.field--name-field-variation-image.field--type-image
  .elements
  .nav-slide.slick-initialized.slick-slider
  .slick-list.draggable
  .slick-track
  .element.slick-slide
  img {
  max-width: 118px;
  min-width: 118px;
  max-height: 118px;
  min-height: 118px;
  object-fit: cover;
}

.product-teaser .product-teaser-info {
  max-width: 500px;
}

.product-view-full button.slick-prev.slick-arrow {
  left: -25px;
}

.product-view-full button.slick-next.slick-arrow {
  right: -25px;
}

.node--view-mode-full .field--name-body img {
  margin: 0 10px;
}

/* PRODUCT PAGE STYLES*/
/* FOOTER */
#footer .col-education_info .view-content {
  column-count: 2;
  column-gap: 20px;
}
.footer_title {
  font-family: var(--font-family);
  font-weight: 900;
  font-size: 16px;
  line-height: 125%;
  color: var(--primary);
  margin-bottom: 24px;
}
#footer .col-education_info .views-row {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  line-height: 143%;
  color: var(--color-text);
}
#footer .col-education_info .views-row:not(:last-child) {
  margin-bottom: 10px;
}
#footer .col-education_info {
  max-width: 400px;
}
#footer .col-about .views-row:not(:last-child) {
  margin-bottom: 10px;
}
#footer .col-about {
  max-width: 190px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  line-height: 143%;
  color: var(--color-text);
}
#footer .col-navigation .dropdown-toggle {
  white-space: wrap;
}
#footer .col-navigation {
  max-width: 170px;
}
#footer .col-logo {
  width: 260px;
  display: flex;
  flex-direction: column;
}
#footer .footer-bottom a {
  color: var(--color-text);
}
.footer-wrapper {
  background: #f1f1f8;
  border-radius: 30px;
  padding: 28px;
  margin-top: auto;
}
#footer .footer-bottom::before {
  content: "";
  position: absolute;
  width: 101vw;
  left: calc(50% - 50vw);
  height: 1px;
  top: 0;
  background: rgba(43, 46, 131, 0.1);
}
#footer .footer-bottom {
  position: relative;
  padding: 20px 0;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  line-height: 143%;
  color: var(--color-text);
}
#footer .footer-top {
  display: flex;
  flex-wrap: wrap;
  row-gap: 20px;
  column-gap: 15px;
  padding: 40px 0;
  justify-content: space-between;
}
#footer .contacts__text {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  line-height: 143%;
  color: var(--color-text);
}
#footer .contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#footer {
  background: #fff;
  overflow-x: hidden;
}
#footer .col-education_info a:hover {
  color: var(--primary-hover);
}
#footer .col-education_info a,
#footer .col-about a {
  color: var(--color-text);
}
#footer .col-contacts {
  max-width: 227px;
  display: none;
}
#footer .region-footer-about ul.nav {
  gap: 10px;
}
#footer .region-footer-about .nav-link:hover {
  color: var(--primary-hover);
}
#footer .region-footer-about .nav-link {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  line-height: 143%;
  color: #1a1c4b;
}
/* FOOTER */
/* BANNER */
.node--type-slide {
  width: 100%;
  background: #fff;
  border-radius: 40px;
}
.field--name-field-slide-title strong {
  background: linear-gradient(180deg, #e30613 0%, #2b2e83 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.field--name-field-slide-title {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 42px;
  line-height: 100%;
  color: var(--color-title);
}
.slider-block .field--name-body {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 19px;
  line-height: 147%;
  color: var(--color-text);
}
.node--type-slide .group-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.node--type-slide .group-right .field--name-field-image {
  border-radius: 30px;
  min-height: 430px;
  max-height: 600px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.node--type-slide .group-right {
  padding-left: 40px;
  display: flex;
  height: 100%;
}

.node--type-slide .group-left > * {
  max-width: 478px;
}
.node--type-slide .group-left {
  display: flex;
  flex-direction: column;
  gap: 40px;
  justify-content: center;
}
.node--type-slide .group-left,
.node--type-slide .group-right {
  width: 50%;
}
.node--type-slide .field--name-field-slider-callback .btn.btn:hover::after {
  background-color: var(--primary-hover);
}
.node--type-slide .field--name-field-slider-callback .btn.btn:hover {
  border-color: var(--primary-hover);
  color: var(--primary-hover);
}
.node--type-slide .field--name-field-slider-callback .btn::after {
  -webkit-mask-image: url("/sites/all/themes/vesta_theme/image/btn-arrow.svg");
  mask-image: url("/sites/all/themes/vesta_theme/image/btn-arrow.svg");
  background: var(--primary);
  transition: background-color 0.2s;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.node--type-slide .field--name-field-slider-callback .btn {
  background: transparent;
  border: 1px solid rgba(43, 46, 131, 0.1);
  color: var(--color-text);
}
.node--type-slide .btn-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}
.node--type-slide {
  display: flex;
  padding: 40px;
  align-items: stretch;
  row-gap: 30px;
  flex-wrap: wrap;
  height: 100%;
}
.slider-block .slick-slide {
  display: flex;
  height: auto;
}
.slider-block .slick-track {
  display: flex;
  align-items: stretch;
}
.slider-block .slick-slide {
  border-radius: 40px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}
.slider-block {
  margin-top: 30px;
}
.slider-block .slick-list {
  /* Задаем вертикальные отступы больше, чем размытие тени (blur + spread) */
  padding: 30px;
  margin: -30px;
}

/* BANNER */
.front-h1 {
  margin-top: var(--section-padding);
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 48px;
  line-height: 100%;
  text-align: center;
  color: var(--color-title);
  margin-bottom: 30px;
}
#block-vesta-theme-title-body .field--name-body {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 19px;
  line-height: 147%;
  text-align: center;
  color: var(--color-text);
  max-width: 570px;
  margin: auto;
  margin-bottom: var(--section-padding);
}
.view-services .taxonomy-term--view-mode-teaser:hover svg path {
  fill: var(--primary);
}
.view-services .taxonomy-term--view-mode-teaser:hover svg rect {
  fill: #fff;
  fill-opacity: 1;
}
.view-services .taxonomy-term--view-mode-teaser:hover .field--name-description,
.view-services .taxonomy-term--view-mode-teaser:hover a {
  color: #fff;
}
.view-services .taxonomy-term--view-mode-teaser:hover {
  background: var(--primary);
  color: #fff;
}
.view-services .taxonomy-term--view-mode-teaser:hover svg path,
.view-services .taxonomy-term--view-mode-teaser svg rect {
  transition: all 0.3s;
}
.view-services .taxonomy-term--view-mode-teaser svg rect {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.05));
}
.view-services .taxonomy-term--view-mode-teaser {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid #eeeff7;
  border-radius: 30px;
  padding: 40px 30px;
  box-shadow: 0 10px 40px -10px rgba(43, 48, 135, 0.08);
  background: #fff;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
  height: 100%;
}
.block-title {
  margin-bottom: 40px;
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 30px;
  line-height: 100%;
  text-align: center;
  color: var(--color-title);
}
.view-services .views-row:nth-child(10),
.view-services .views-row:first-child {
  width: 50%;
}
.view-services .view-content > * {
  padding: 15px;
  width: 25%;
}
.field--name-taxonomy-term-link a:hover::after {
  background: url("/sites/all/themes/vesta_theme/image/btn-arrow-dark.svg")
    center center no-repeat;
  background-color: #f7f7fc;
}
.view-services .field--name-taxonomy-term-title a {
  font-weight: 800;
}
.field--name-taxonomy-term-link a::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.field--name-taxonomy-term-link a::after {
  content: "";
  display: block;
  width: 40px;
  height: 40px;
  background: url("/sites/all/themes/vesta_theme/image/btn-arrow.svg") center
    center no-repeat;
  background-color: var(--primary);
  background-size: 13px 12px;
  border-radius: 50%;
  transition:
    background-color 0.3s ease,
    background-image 0.3s ease;
  margin-left: auto;
  padding-left: 15px;
}
.field--name-taxonomy-term-link a:hover {
  color: #f7f7fc;
}
.field--name-taxonomy-term-link a {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 125%;
  color: var(--primary);
  display: flex;

  align-items: center;
  gap: 15px;
}
.field--name-taxonomy-term-link {
  margin-top: auto;
}
.view-services .field--name-description {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 156%;
  color: var(--color-text);
  margin-bottom: 10px;
  transition: color 0.3s;
}
.view-services .field--name-taxonomy-term-title {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 19px;
  line-height: 158%;
  color: var(--color-text);
  margin-bottom: 10px;
}
.view-services .field--name-field-services-icon {
  margin-bottom: 20px;
}
.view-services .view-content {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin: -15px;
}
.more-link a {
  margin: auto;
  margin-top: 30px;
}
.services {
  background: url("/sites/all/themes/vesta_theme/image/catalog-bg.webp")
    no-repeat center;
  background-size: cover;
  padding-bottom: var(--section-padding);
}
/* DIRECTION BLOCK */
.field--name-field-activity-direction-materia > * {
  width: 50%;
  padding: 0 15px;
}
.field--name-field-activity-direction-materia {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
  align-items: stretch;
  row-gap: 30px;
}
#block-vesta-theme-activity-directions {
  padding: var(--section-padding) 0;
}
.node--type-activity-directions .group-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding-left: 30px;
}
.node--type-activity-directions .field--name-body {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 156%;
  color: var(--color-text);
}
.node--type-activity-directions .field--name-node-title h3 {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 19px;
  line-height: 158%;
  color: var(--color-text);
  margin-bottom: 10px;
}
.node--type-activity-directions .group-left {
  width: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.node--type-activity-directions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  border-radius: 30px;
  padding: 40px 30px;
  box-shadow: 0 10px 40px -10px rgba(43, 48, 135, 0.2);
  background: #fff;
  height: 100%;
}
/* DIRECTION BLOCK */
/* EDUCATION BLOCK */
#block-vesta-theme-education-steps {
  padding-bottom: var(--section-padding);
}
.node--type-educations-step .field--name-body {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 18px;
  line-height: 156%;
  color: var(--color-text);
}
.field--name-field-edications-step-block
  .field__item:last-child
  .field--name-body {
  background: linear-gradient(90deg, #e30613 0%, #2b2e83 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.field--name-field-edications-step-block
  .field__item:last-child
  .field--name-node-title {
  color: var(--primary-hover);
}
.node--type-educations-step {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
}
.field--name-field-edications-step-block .field--name-node-title {
  font-family: var(--second-family);
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  line-height: 150%;
  color: var(--primary);
  border-radius: 30px;
  width: 60px;
  height: 60px;
  box-shadow: 0 10px 40px -10px rgba(43, 48, 135, 0.08);
  background: #e7e7f2;
  margin-bottom: 30px;
}
.field--name-field-edications-step-block > * {
  width: 25%;
  padding: 0 5px;
}
.field--name-field-edications-step-block::after {
  content: "";
  position: absolute;
  width: 100vw;
  height: 2px;
  left: calc(50% - 50vw);

  background: url("/sites/all/themes/vesta_theme/image/line.svg") no-repeat
    center;
  background-size: contain;
  top: 30px;
  z-index: -1;
}
.field--name-field-edications-step-block {
  position: relative;
  display: flex;
  margin: 0 5px;
  row-gap: 20px;
  flex-wrap: wrap;
}
/* EDUCATION BLOCK */
/* ABOUT */
.block-views-blockabout-block-1::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 101vw;
  height: 100%;
  background: url("/sites/all/themes/vesta_theme/image/about.webp") no-repeat
    center;
  left: calc(50% - 50vw);
  background-size: cover;
  z-index: -1;
}
.node--type-about .field--name-field-about-image {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.node--type-about .group-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.node--type-about .group-right,
.node--type-about .group-left {
  width: 50%;
  padding: 0 15px;
}
.node--type-about .group-left {
  display: flex;
  height: auto;
  min-height: 400px;
  max-height: 650px;
}
.node--type-about {
  display: flex;
  flex-wrap: wrap;
  row-gap: 30px;
  margin: 0 -15px;
  align-items: stretch;
}
.block-views-blockabout-block-1 {
  position: relative;
  padding: var(--section-padding) 0;
}
.field--name-field-about-summary ul {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 25px;
}
.field--name-field-about-summary li::before {
  content: "";
  width: 40px;
  height: 40px;
  display: block;
  border-radius: 50%;
  background-color: #f9f9f9;
  background-image: url("/sites/all/themes/vesta_theme/image/checkmark.svg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 16px 12px;
  z-index: 1;
}
.field--name-field-about-summary li {
  position: relative;
  gap: 10px;
  display: flex;
  align-items: center;
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 19px;
  line-height: 158%;
  color: var(--color-text);
}
.field--name-field-about-summary p:not(:last-of-type) {
  margin-bottom: 30px;
}
.field--name-field-about-summary p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 19px;
  line-height: 158%;
  color: var(--color-text);
}
/* ABOUT */
/* NEWS */
.node--type-news.node--view-mode-teaser .field--name-field-image-news img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.node--type-news.node--view-mode-teaser .content {
  display: flex;
  flex-direction: column;
  height: auto;
  padding: 30px 40px;
  flex-grow: 1;
}
.node--type-news.node--view-mode-teaser .field--name-field-image-news {
  width: 100%;
}
.node--type-news.node--view-mode-teaser .field--name-node-title a {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 19px;
  line-height: 147%;
  color: #1a1c4b;
}
.node--type-news.node--view-mode-teaser .field--name-node-title {
  margin-bottom: 50px;
}
.node--type-news.node--view-mode-teaser .field--name-field-date {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 125%;
  color: #e30613;
  transition: color 0.3s;
  margin-bottom: 20px;
}
.node--type-news.node--view-mode-teaser .field--name-node-link {
  margin-top: auto;
}
.node--type-news.node--view-mode-teaser:hover a {
  color: #fff;
}
.node--type-news.node--view-mode-teaser:hover .field--name-field-date {
  color: #fff;
}
.node--type-news.node--view-mode-teaser:hover {
  background-color: var(--primary);
  color: #fff;
}
.node--type-news.node--view-mode-teaser {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 30px;
  overflow: hidden;
  height: 100%;
  background: #fff;
  transition: background-color 0.3s;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
}
.view-news .view-content > * {
  width: calc(100% / 3);
  padding: 0 15px;
}
.view-news .view-content {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
  row-gap: 30px;
  align-items: stretch;
}
#block-vesta-theme-views-block-news-block-1 {
  padding: var(--section-padding) 0;
}
/* NEWS */
/* CALLBACK FORM */
.block-content--type-callback-form .field--name-body {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 19px;
  line-height: 158%;
  color: #fff;
}
.field--name-field-web-form .webform-submission-form .form-item-phone,
.field--name-field-web-form .webform-submission-form .form-item-name {
  width: 50%;
}
.field--name-field-web-form .webform-submission-form > * {
  width: 100%;
  padding: 0 5px;
}
.field--name-field-web-form .webform-submission-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 -5px;
  row-gap: 20px;
}
.field--name-field-web-form {
  box-shadow:
    0 4px 6px -4px rgba(0, 0, 0, 0.1),
    0 10px 15px -3px rgba(0, 0, 0, 0.05);
  background: #fff;
  border-radius: 30px;
  padding: 40px 30px;
}
.block-content--type-callback-form .field--name-block-title {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 42px;
  line-height: 100%;
  color: #fff;
  margin-bottom: 30px;
}
.block-content--type-callback-form .group-left > * {
  max-width: 400px;
}
.block-content--type-callback-form .group-left {
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.block-content--type-callback-form .group-right,
.block-content--type-callback-form .group-left {
  width: 50%;
}
#block-vesta-theme-callback-block {
  padding-bottom: var(--section-padding);
}
.block-content--type-callback-form {
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
  background: linear-gradient(270deg, #e30613 0%, #2b2e83 100%);
  border-radius: 40px;
  padding: 40px;
  display: flex;
  row-gap: 20px;
  flex-wrap: wrap;
}
/* CALLBACK FORM */
/* CONTACTS */
.body-node--800 .wr_content .contacts a {
  color: #1a1c4b;
}
.body-node--800 .wr_content .contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  line-height: 143%;
  color: #1a1c4b;
}
.mapContainer {
  height: 400px;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}
.contacts-row .left {
  margin-bottom: 30px;
}
/*  CONTACTS*/
/*  GALLERY */
.field--name-field-gallery-images a {
  border-radius: 30px;
  overflow: hidden;
  height: 100%;
  display: block;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
}
.field--name-field-gallery-images img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.field--name-field-gallery-images > * {
  width: 25%;
  padding: 0 15px;
}
.field--name-field-gallery-images {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
  row-gap: 30px;
}
/*  GALLERY */
/*  TOVARY */
.view-tovary .product-teaser .field--widget-commerce-quantity {
  display: none;
}
.product-teaser-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.view-tovary .product-teaser {
  justify-content: center;
  height: 100%;
  border-radius: 20px;
  padding: 20px;
  box-shadow:
    0 4px 6px -4px rgba(0, 0, 0, 0.05),
    0 10px 15px -3px rgba(0, 0, 0, 0.05);
  background: #fff;
  border: 1px solid var(--primary-hover);
}
.view-tovary .view-content > * {
  width: 25%;
  padding: 0 15px;
}
.view-tovary .content {
  padding: 20px 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.view-tovary .field--name-field-image-product-view {
  width: 100%;
}

.view-tovary .commerce-product--view-mode-teaser img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.view-tovary .field--name-title a {
  color: #1a1c4b;
}
.commerce-cart-flyout,
.cart-flyout,
.ajax-progress-throbber {
  display: none !important;
  animation: none !important;
  transition: none !important;
}
.view-tovary .field--name-title {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 15px;
  line-height: 147%;
}
.view-tovary .dynamic-token-fieldcommerce-product-podrobnee {
  margin-top: auto;
}
.view-tovary .commerce-product--view-mode-teaser:hover .field--name-title a {
  color: #fff;
}
.view-tovary .commerce-product--view-mode-teaser:hover {
  background: var(--primary);
}
.view-tovary .commerce-product--view-mode-teaser {
  border-radius: 30px;
  background: #fff;
  overflow: hidden;
  position: relative;
  display: flex;
  height: 100%;
  flex-direction: column;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s;
}
.view-tovary .view-content {
  display: flex;
  flex-wrap: wrap;
  row-gap: 30px;

  align-items: stretch;
  margin: 0 -15px;
}
.commerce-product--view-mode-full .group-top,
.commerce-product--view-mode-full .group-bottom {
  width: 100%;
}

.commerce-product--view-mode-full .group-right,
.commerce-product--view-mode-full .group-left {
  width: 50%;
}
.commerce-product--view-mode-full .field--name-field-image-product-view img {
  width: 100%;

  height: 100%;
  object-fit: contain;
}
.commerce-product--view-mode-full .field--name-field-image-product-view {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-radius: 30px;
  width: fit-content;
  margin: auto;
  overflow: hidden;
}
.commerce-product--view-mode-full .field--name-price {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 22px;
  line-height: 144%;
  color: var(--primary);
  margin-bottom: 15px;
}
.field--widget-commerce-quantity {
  width: fit-content;
  padding: 0px 16px;
  border-radius: 35px;
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  margin-right: 20px;
}
.button--add-to-cart {
  transition: all 0.3s;
}

.btn-minus,
.btn-plus {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 0;
  cursor: pointer;
}
.btn-minus::after {
  -webkit-mask: url("/sites/all/themes/vesta_theme/image/minus.svg") center
    no-repeat;
  background: url("/sites/all/themes/vesta_theme/image/minus.svg") center
    no-repeat;
  mask: url("/sites/all/themes/vesta_theme/image/minus.svg") center no-repeat;
}

.cart-form .form-item,
.commerce-order-item-add-to-cart-form .form-item {
  margin-bottom: 0;
}

.field--name-quantity label {
  display: none;
  font-size: 0;
}

.view-id-commerce_cart_form .form-number:focus-visible,
.view-id-commerce_cart_form .form-number:focus,
.view-id-commerce_cart_form .form-number,
.commerce-order-item-add-to-cart-form .form-number:focus-visible,
.commerce-order-item-add-to-cart-form .form-number:focus,
.commerce-order-item-add-to-cart-form .form-number {
  outline: none;
  border: none;
  box-shadow: none;
  color: var(--primary);
  font-weight: 500;
  font-size: 16px;
  text-align: center;
  width: 60px;
  padding: 11px 15px;
  background: none;
  line-height: 200%;
}
.btn-plus::after {
  background: url("/sites/all/themes/vesta_theme/image/plus_full.svg") center
    no-repeat;
  mask: url("/sites/all/themes/vesta_theme/image/plus_full.svg") center
    no-repeat;
  -webkit-mask: url("/sites/all/themes/vesta_theme/image/plus_full.svg") center
    no-repeat;
}

.btn-minus::after,
.btn-plus::after {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  transition: all 0.3s;
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  -webkit-mask-size: contain;
  mask-size: contain;
  background-color: #769eb5;
  transition: background-color 0.2s ease;
}
.commerce-product--view-mode-full
  .commerce-order-item-add-to-cart-form
  .field--type-entity-reference
  legend {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}
.commerce-product--view-mode-full
  .commerce-order-item-add-to-cart-form
  .field--type-entity-reference {
  width: 100%;
}
.commerce-product--view-mode-full
  .commerce-order-item-add-to-cart-form
  label.option:hover {
  background-color: var(--primary);
  color: #fff;
}
.commerce-product--view-mode-full
  .commerce-order-item-add-to-cart-form
  label.option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 27px;
  font-weight: 600;
  color: #1c3b75;
  background-color: transparent;
  border: 2px solid #1c3b75;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  margin-bottom: 0;
}
.commerce-product--view-mode-full
  .commerce-order-item-add-to-cart-form
  fieldset:has(legend) {
  margin-bottom: 20px;
}
.commerce-product--view-mode-full
  .commerce-order-item-add-to-cart-form
  input.form-radio[type="radio"]:checked
  + label.option {
  background: var(--primary);
  color: #fff;
}
.commerce-product--view-mode-full
  .commerce-order-item-add-to-cart-form
  input.form-radio[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.commerce-product--view-mode-full .commerce-order-item-add-to-cart-form {
  text-align: center;
}
.commerce-product--view-mode-full
  .commerce-order-item-add-to-cart-form
  .form-radios {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}
.commerce-product--view-mode-full .commerce-order-item-add-to-cart-form {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.commerce-product--view-mode-full .body-styles {
  margin-bottom: 20px;
}
.commerce-product--view-mode-full .group-right .body-styles {
  margin-bottom: 15px;
}
.commerce-product--view-mode-full .group-right {
  padding-left: 40px;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.commerce-product--view-mode-full .block-title {
  margin-bottom: 15px;
}
.view-tovary .field--name-dynamic-token-fieldcommerce-product-podrobnee {
  margin-top: auto;
}
.commerce-product--view-mode-full {
  display: flex;
  row-gap: 30px;
  flex-wrap: wrap;
  align-items: stretch;
}
/*  TOVARY */
.ui-dialog .ui-dialog-titlebar {
  background: #ffffff !important;
  border: none !important;
  border-bottom: 1px solid #f5f5f5 !important;
  padding: 20px 24px !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

.ui-dialog .ui-dialog-content {
  padding: 24px !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  color: #555555 !important;
  height: auto !important;
}

.ui-dialog.ui-widget-content {
  background: #ffffff !important;
  border: 1px solid var(--btn-bg) !important;
  border-radius: 25px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
  padding: 0 !important;
  font-family: inherit !important;
  overflow: hidden;
  animation: modalFadeIn 0.3s ease-out;
}

.ui-dialog .ui-dialog-titlebar-close {
  background: none !important;
  border: none !important;
  position: absolute !important;
  right: 20px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 30px !important;
  height: 30px !important;
  margin: 0 !important;
  padding: 0 !important;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.ui-dialog .ui-dialog-titlebar-close::before,
.ui-dialog .ui-dialog-titlebar-close::after {
  content: "";
  position: absolute;
  height: 16px;
  width: 2px;
  background-color: #333;
  left: 14px;
  top: 7px;
}
.ui-dialog .ui-dialog-titlebar-close::after {
  transform: rotate(-45deg);
}
.ui-dialog .ui-dialog-titlebar-close::before {
  transform: rotate(45deg);
}
.ui-dialog .ui-dialog-buttonset {
  float: none !important;
  display: flex !important;
  gap: 8px !important;
  width: 100%;
  justify-content: space-between;
}
.ui-dialog .ui-dialog-buttonpane button {
  text-transform: none;
  font-size: 12px;
  margin: 0;
  padding: 20px 23px;
}

.ui-dialog .ui-dialog-buttonpane {
  background: #fdfdfd !important;
  border: none !important;
  border-top: 1px solid #f5f5f5 !important;
  padding: 12px !important;
  margin: 0 !important;
}

/* CART */
.cart-form .table thead tr {
  display: none;
}

.cart-form thead {
  display: none;
}

.cart-form .table {
  --bs-table-striped-bg: unset;
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  overflow: hidden;
}

.cart-form .visually-hidden {
  position: static !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  margin: auto !important;
  overflow: visible !important;
  clip: unset !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.views-field-unit-price__number::before {
  content: "Цена";
}

.views-field-total-price__number::before {
  content: "Итого";
}
.cart-form label,
.cart-form .views-field::before {
  font-size: 14px;
  line-height: 100%;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #8c8c8c;
  display: inline-block;
  margin-right: 6px;
  line-height: 200%;
}

.cart-form button.delete-order-item {
  margin: auto;
  text-align: center;
}

.cart-form .field--name-total-price {
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 1rem;
}

.order-total-line {
  padding: 0 10px;
  padding-bottom: 12px;
  text-align: right;
}
.cart-form .field--name-total-price .order-total-line-value {
  font-weight: 700;
}

.cart-form .quantity-edit-input {
  padding: 0;
  width: 31px;
  border-radius: 0;
  -moz-appearance: textfield;
}

.cart-form .js-form-type-number {
}
.cart-form .table tr {
  overflow: hidden;
  flex-wrap: wrap;
  font-weight: 600;
  color: var(--color-text);
  display: flex;
  align-items: center;
  border: 1px solid rgba(43, 48, 135, 0.08);
  width: 100%;
  border-radius: 20px;
  padding: 5px;
  row-gap: 16px;
  margin-bottom: 20px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  background: #fff;
}
.views-table td {
  vertical-align: middle;
}

.cart-form img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.cart-form .table tr > * {
  width: calc(100% / 6);
  text-align: center;
}
.cart-form .view-id-commerce_cart_form .form-number {
  padding: 0;
  line-height: 105%;
}
.layout-region label {
  font-size: 17px;
}
.layout-region-checkout-secondary {
  background-color: #fff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
  margin-bottom: 16px;
  padding: 20px;
  border-radius: 10px;
  border: var(--bs-border-width) solid var(--bs-border-color);
}

.layout-region-checkout-secondary h3 {
  font-size: 18px;
  font-weight: 700;
}

.checkout-pane span.fieldset-legend {
  display: none;
}

.checkout-pane .form-radios > * {
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.layout-region-checkout-secondary tbody tr {
  border-bottom: 1px solid rgba(43, 48, 135, 0.2);
}
.table > :not(caption) > * > * {
  background-color: transparent;
}
.layout-region label {
  text-transform: none;
}

.layout-region-checkout-main form .form-item {
  margin-bottom: 14px;
}

.commerce-checkout-flow-multistep-default
  .layout-region-checkout-footer
  .form-actions
  a,
.commerce-checkout-flow-multistep-default
  .layout-region-checkout-footer
  .form-actions
  button {
  margin: 0;
  text-transform: none;
}
.commerce-checkout-flow-multistep-default
  .layout-region-checkout-footer
  .form-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 15px;
}
/* CART */
.field--name-field-web-form .webform-actions {
  order: 1;
}
.captcha__title {
  display: none;
}
.align-right {
  margin-left: 15px;
  margin-bottom: 15px;
}
.body-styles img {
  display: block;
  border-radius: 30px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.align-left {
  margin-right: 15px;
  margin-bottom: 15px;
}
.wr_content .field--name-field-date {
  margin-top: 15px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 125%;
  color: var(--primary);
}
.field--name-field-services-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}
.field--name-field-services-images > * {
  width: calc(100% / 3);
  padding: 0 15px;
  height: 300px;
}
.field--name-field-services-images {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
  row-gap: 30px;
  padding-top: 30px;
}
.field--name-field-service-summary {
  margin: 15px 0;
}
.block-content--type-page-images {
  margin-top: 20px;
}
.field--name-field-page-images {
  display: flex;
  margin: 0 -7px;
  flex-wrap: wrap;
  row-gap: 14px;
}
.field--name-field-page-images > * {
  width: 25%;
  padding: 0 7px;
}
.field--name-field-page-images img {
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 1.2 / 1;
}
/* *** ADAPTIVE *** */
@media screen and (min-width: 1198px) {
  .container {
    max-width: 1194px;
  }
}
@media screen and (max-width: 1199px) {
  .field--name-field-services-images > * {
    height: 250px;
  }
  .commerce-product--view-mode-full .field--name-price {
    font-size: 20px;
  }
  div#vpa-short-wrapper {
    padding: 30px;
    font-size: 15px;
  }
  #scrollToTop {
    width: 50px;
    height: 50px;
  }
  .block-content--type-callback-form .field--name-body {
    font-size: 17px;
  }
  .block-content--type-callback-form .field--name-block-title {
    font-size: 33px;
  }
  form .form-control,
  form .form-number {
    padding: 14px 25px;
  }
  .field--name-field-web-form .webform-submission-form {
    row-gap: 10px;
    font-size: 14px;
  }
  form label {
    font-size: 16px;
    margin-bottom: 7px;
  }
  form .description {
    font-size: 12px;
  }
  .view-news .view-content {
    margin: 0 -7px;
  }
  .view-news .view-content > * {
    padding: 0 7px;
  }
  .node--type-news.node--view-mode-teaser .field--name-field-date {
    margin-bottom: 12px;
  }
  .node--type-news.node--view-mode-teaser .content {
    padding: 25px 30px;
  }
  .node--type-news.node--view-mode-teaser .field--name-field-date {
    font-size: 14px;
  }
  .node--type-news.node--view-mode-teaser .field--name-node-title a {
    font-size: 17px;
  }
  .node--type-news.node--view-mode-teaser .field--name-node-title {
    margin-bottom: 30px;
  }
  .field--name-field-about-summary li {
    font-size: 17px;
  }
  .field--name-field-about-summary ul {
    margin-top: 15px;
    margin-bottom: 10px;
  }
  .field--name-field-about-summary p {
    font-size: 17px;
  }
  .field--name-field-about-summary p:not(:last-of-type) {
    margin-bottom: 15px;
  }
  .field--name-field-edications-step-block .field--name-node-title {
    font-size: 18px;
  }
  .node--type-educations-step .field--name-body {
    font-size: 16px;
  }
  .node--type-activity-directions {
    padding: 30px 25px;
  }
  .node--type-activity-directions .group-right {
    padding-left: 20px;
  }
  .node--type-activity-directions .field--name-node-title h3 {
    font-size: 17px;
  }
  .node--type-activity-directions .field--name-body {
    font-size: 16px;
  }
  .view-services .taxonomy-term--view-mode-teaser {
    padding: 30px 25px;
  }
  .field--name-taxonomy-term-link a {
    font-size: 15px;
  }
  .view-services .field--name-taxonomy-term-title {
    font-size: 17px;
  }
  .view-services .field--name-description {
    font-size: 16px;
  }
  .block-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  #block-vesta-theme-title-body .field--name-body {
    font-size: 17px;
  }
  .front-h1 {
    font-size: 40px;
  }
  .node--type-slide .group-right .field--name-field-image {
    min-height: 380px;
    max-height: 425px;
  }
  .webform-button--submit::after,
  .more-link a::after,
  .field--type-link a::after,
  .btn-primary:not(.js-form-submit)::after,
  .button--secondary::after {
    width: 11px;
    height: 10px;
  }
  .field--type-link a,
  .button--secondary,
  .button--primary,
  .link--previous,
  .field--name-field-slide-link a,
  .vpa-actions .btn-primary,
  .btn,
  .btn-primary,
  .more-link a,
  .btn-second {
    padding: 20px 28px;
    font-size: 14px;
    border: 1px solid transparent;
  }
  .node--type-slide .group-left {
    gap: 30px;
  }
  .slider-block .field--name-body {
    font-size: 15px;
  }
  .field--name-field-slide-title {
    font-size: 35px;
  }
  #footer ul.nav {
    gap: 15px;
  }
  #footer .col-navigation {
    max-width: 140px;
  }
  #footer .col-education_info a {
    font-size: 13px;
  }
  #footer .col-education_info .view-content {
    column-gap: 10px;
  }
  #footer .contacts__detail {
    gap: 6px;
  }
  #footer .col-about a {
    font-size: 13px;
  }
  #footer .col-about {
    max-width: 124px;
  }
  .footer_title {
    margin-bottom: 20px;
  }
  .footer_title,
  #footer .nav-link {
    font-size: 15px;
  }
  .footer-wrapper {
    padding: 20px;
  }
  #footer .contacts__text {
    font-size: 13px;
  }
  #footer .col-logo {
    max-width: 227px;
  }
  .header .col-search {
    width: 42px;
  }
  .header-top {
    padding: 15px 0;
  }
  .header-bottom {
    padding: 17px 27px;
  }
  .header .header-bottom .btn-primary,
  .header .col-callback .callback_phone {
    font-size: 14px;
  }
  .header .col-navigation ul.nav {
    justify-content: flex-start;
    gap: 10px;
  }
  .header .col-navigation {
    max-width: 415px;
  }
  .header-bottom .cart--cart-block img {
    width: 42px;
  }
  .header-bottom svg {
    width: 42px;
    height: 42px;
  }
  .header-bottom .col-logo {
    width: 180px;
  }

  .header-bottom,
  .header-top {
    gap: 15px;
  }
  .header .nav-link {
    font-size: 15px;
  }
}

@media screen and (max-width: 991px) {
  .field--name-field-page-images > * {
    width: calc(100% / 3);
  }
  .field--name-field-services-images {
    margin: 0 -7px;
    row-gap: 14px;
    padding-top: 20px;
  }
  .field--name-field-services-images > * {
    width: calc(100% / 2);
    padding: 0 7px;
  }
  .field--name-field-gallery-images {
    row-gap: 14px;
    margin: 0 -7px;
  }
  .field--name-field-gallery-images a {
    border-radius: 20px;
  }
  .field--name-field-gallery-images > * {
    width: calc(100% / 3);
    padding: 0 7px;
  }
  .cart-form button.delete-order-item {
    padding: 14px 20px;
  }
  .commerce-product--view-mode-full .group-right,
  .commerce-product--view-mode-full .group-left {
    width: 100%;
    padding: 0;
  }
  .view-tovary .view-content > * {
    width: calc(100% / 3);
  }
  .view-tovary .field--name-title {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .view-tovary .content {
    padding: 12px 20px;
  }
  div#vpa-short-wrapper {
    font-size: 14px;
    gap: 30px;
  }
  #scrollToTop {
    bottom: 60px;
    right: 40px;
  }
  .block-content--type-callback-form .field--name-block-title {
    font-size: 26px;
    margin-bottom: 20px;
  }
  .block-content--type-callback-form .field--name-body {
    font-size: 16px;
  }

  .block-content--type-callback-form,
  .field--name-field-web-form {
    padding: 30px;
  }
  .block-content--type-callback-form .group-left > * {
    max-width: 100%;
    text-align: center;
  }
  .block-content--type-callback-form .group-right,
  .block-content--type-callback-form .group-left {
    width: 100%;
    padding: 0;
  }
  .node--type-about .group-right,
  .node--type-about .group-left {
    width: 100%;
    padding: 0;
  }
  .node--type-about .group-left {
    height: auto;
  }
  .node--type-about {
    margin: 0;
  }
  .node--type-about .field--name-field-about-image {
    width: 100%;
    height: auto;
  }
  .field--name-field-edications-step-block {
    margin-top: 40px;
  }
  .field--name-field-edications-step-block::after {
    width: 100%;
    transform-origin: center;
    transform: rotate(90deg);
    top: 50%;
    left: -102px;
    background-size: cover;
  }
  .field--name-field-edications-step-block > * {
    width: 40%;
  }
  .field--name-field-edications-step-block {
    row-gap: 40px;
    overflow: hidden;
  }
  .node--type-educations-step .field--name-body {
    text-align: start;
  }
  .field--name-field-edications-step-block .field--name-node-title {
    margin-bottom: 0;
    margin-right: 30px;
  }
  .node--type-educations-step > * {
    flex-shrink: 0;
  }
  .node--type-educations-step {
    flex-direction: row;
  }
  .field--name-field-edications-step-block {
    flex-direction: column;
    align-items: center;
  }
  .node--type-activity-directions .field--name-node-title h3 {
    font-size: 16px;
  }
  .node--type-activity-directions .field--name-body {
    font-size: 14px;
  }
  .node--type-activity-directions .group-left {
    width: 55px;
  }
  .field--name-field-activity-direction-materia {
    margin: -7px;
    row-gap: 14px;
  }
  .field--name-field-activity-direction-materia > * {
    padding: 0 7px;
  }
  .node--type-activity-directions {
    padding: 25px 20px;
  }
  .view-services .field--name-field-services-icon {
    margin-bottom: 12px;
  }
  .view-services .field--name-taxonomy-term-title {
    margin-bottom: 7px;
    font-size: 16px;
  }
  .view-services .blazy svg {
    width: 42px;
    height: 42px;
  }
  .view-services .field--name-description {
    font-size: 14px;
  }
  .field--name-taxonomy-term-link a {
    font-size: 14px;
  }
  .field--name-taxonomy-term-link a::after {
    width: 35px;
    height: 35px;
    background-size: 11px 10px;
  }
  .block-title {
    font-size: 24px;
    margin-bottom: 25px;
  }
  .view-services .view-content > * {
    width: calc(100% / 3);
  }
  .view-services .views-row:nth-child(10),
  .view-services .views-row:first-child {
    width: calc(100% / 3 * 2);
  }
  .front-h1 {
    font-size: 36px;
    margin-bottom: 24px;
  }
  ul.slick-dots {
    margin-top: 25px;
  }
  .node--type-slide .group-left {
    gap: 20px;
  }
  .node--type-slide .group-right .field--name-field-image {
    max-height: unset;
    height: 500px;
    width: 100%;
  }
  .node--type-slide .group-right,
  .node--type-slide .group-left {
    width: 100%;
    padding: 0;
  }
  #footer .footer-bottom {
    font-size: 13px;
  }
  #footer ul.nav {
    flex-direction: column;
    gap: 12px;
  }
  #offcanvasNav .nav .dropdown-menu {
    display: none;
    position: static;
    border: 0px solid;
    background: transparent;
    padding: 10px 0;
    border-bottom: 1px solid #bdbdbd;
  }

  #offcanvasNav li.nav-item {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .field--name-field-services-images > * {
    height: 200px;
  }
  .align-bottom,
  .align-top,
  .align-right,
  .align-left {
    float: none;
    width: 100%;
  }
  .layout-region-checkout-main {
    margin-bottom: 20px;
  }
  .cart-form button.delete-order-item {
    width: 100%;
    justify-content: center;
  }
  .cart-form img {
    width: 130px;
    height: 130px;
    border-radius: 10px;
  }
  .commerce-checkout-flow-multistep-default
    .layout-region-checkout-footer
    .form-actions {
    justify-content: center;
  }
  .layout-region label {
    font-size: 14px;
  }
  .cart-form .table tr {
    padding: 10px;
  }
  .cart-form .table tr > * {
    width: 50%;
  }
  .view-id-commerce_cart_form .form-number:focus-visible,
  .view-id-commerce_cart_form .form-number:focus,
  .view-id-commerce_cart_form .form-number,
  .commerce-order-item-add-to-cart-form .form-number:focus-visible,
  .commerce-order-item-add-to-cart-form .form-number:focus,
  .commerce-order-item-add-to-cart-form .form-number {
    padding: 7px 15px;
  }
  .view-tovary .view-content > * {
    width: 50%;
  }
  .field--type-link a,
  .button--secondary,
  .button--primary,
  .link--previous,
  .field--name-field-slide-link a,
  .vpa-actions .btn-primary,
  .btn,
  .btn-primary,
  .more-link a,
  .btn-second {
    padding: 17px 28px;
  }
  .block-content--type-callback-form .field--name-block-title {
    font-size: 22px;
    margin-bottom: 12px;
  }
  form .form-control,
  form .form-number {
    font-size: 14px;
  }
  form label,
  .block-content--type-callback-form .field--name-body {
    font-size: 15px;
  }
  .field--name-field-web-form .webform-submission-form .form-item-phone,
  .field--name-field-web-form .webform-submission-form .form-item-name {
    width: 100%;
  }
  .view-news .view-content {
    justify-content: center;
  }
  .view-news .view-content > * {
    width: 50%;
  }
  .field--type-link a {
    margin: auto;
  }
  .field--name-field-about-summary li {
    font-size: 15px;
  }
  .field--name-field-about-summary ul {
    max-width: 358px;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 15px;
  }
  .field--name-field-about-summary p {
    font-size: 15px;
  }
  .field--name-field-edications-step-block > * {
    width: 60%;
  }
  .field--name-field-edications-step-block::after {
    left: -117px;
  }
  .field--name-field-edications-step-block .field--name-node-title {
    margin-right: 20px;
  }
  .node--type-educations-step .field--name-body {
    font-size: 15px;
  }
  .field--name-field-activity-direction-materia {
    margin: 0;
  }
  .field--name-field-activity-direction-materia > * {
    width: 100%;
    padding: 0;
  }
  .view-services .taxonomy-term--view-mode-teaser {
    padding: 20px;
    padding-bottom: 15px;
  }
  .block-title {
    font-size: 22px;
    margin-bottom: 20px;
  }
  .view-services .view-content {
    margin: -7px;
  }
  .view-services .view-content > * {
    width: 50%;
    padding: 7px;
  }
  .view-services .views-row:nth-child(10),
  .view-services .views-row:first-child {
    width: 50%;
  }
  .front-h1 {
    font-size: 31px;
    margin-bottom: 24px;
  }
  #block-vesta-theme-title-body .field--name-body {
    font-size: 14px;
  }
  .slider-block {
    margin-top: 25px;
  }
  .node--type-slide .btn-wrapper {
    justify-content: space-between;
  }
  .field--name-field-slide-title {
    font-size: 29px;
  }
  .slider-block .field--name-body {
    font-size: 14px;
  }
  .node--type-slide .group-right .field--name-field-image {
    height: 350px;
  }
  .node--type-slide {
    padding: 30px;
  }
  .footer-wrapper .footer_title {
    text-align: center;
  }
  #footer .contacts {
    gap: 14px;
  }
  .footer-wrapper {
    padding: 25px;
  }
  #footer .footer-top {
    padding: 25px 0;
    row-gap: 15px;
  }
  #footer .footer-bottom {
    flex-wrap: wrap;
    justify-content: center;
    padding: 15px 0;
  }
  #footer .nav-link {
    font-size: 14px;
    font-weight: 800;
  }
  #footer .col-education_info .view-content {
    column-gap: 10px;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  #footer .col-about .view-content {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
  }
  #footer .col-about .views-row:not(:last-child) {
    margin-bottom: 0;
  }
  #footer ul.nav {
    flex-direction: row;
    justify-content: center;
  }
  #footer .col-contacts {
    display: block;
  }
  .col-logo .footer-wrapper {
    display: none;
  }
  #footer .footer-top > * {
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media screen and (max-width: 576px) {
  .field--name-field-page-images > * {
    width: 50%;
  }
  .field--name-field-services-images > * {
    height: 170px;
  }
  .field--name-field-gallery-images > * {
    width: 50%;
  }
  .commerce-checkout-flow-multistep-default
    .layout-region-checkout-footer
    .form-actions {
    flex-direction: column;
  }
  .ui-dialog .ui-dialog-buttonpane button {
    padding: 16px 20px;
  }
  #scrollToTop {
    bottom: 40px;
    right: 30px;
  }
  .block-content--type-callback-form .field--name-block-title {
    font-size: 21px;
  }
  .block-content--type-callback-form,
  .field--name-field-web-form {
    padding: 25px;
  }
  .more-link a {
    margin-top: 20px;
  }
  .view-news .view-content {
    margin: 0;
  }
  .view-news .view-content > * {
    width: 100%;
    padding: 0;
  }
  .field--name-field-edications-step-block {
    max-width: 283px;
    margin: auto;
    margin-top: 30px;
    overflow: visible;
  }
  .field--name-field-edications-step-block .field--name-node-title {
    margin-right: 18px;
  }
  .field--name-field-edications-step-block > * {
    width: 100%;
  }
  .field--name-field-edications-step-block::after {
    left: calc(-50% + 35px);
  }
  .block-title {
    margin-bottom: 15px;
  }
  .slider-block .slick-list {
    padding: 12px;
    margin: -12px;
  }
  ul.slick-dots {
    margin-top: 17px;
  }
  .front-h1 {
    font-size: 22px;
    margin-bottom: 15px;
  }
  .slider-block {
    margin-top: 15px;
  }
  .cart-block--summary .cart-block--summary__count {
    width: 14px;
    height: 14px;
    top: 2px;
    right: 2px;
    font-size: 9px;
  }
  #header-mob > * {
    padding: 0 7px;
  }
  #header-mob .cart--cart-block img,
  #header-mob .col-contacts svg {
    width: 42px;
    height: 42px;
  }
  .node--type-slide .group-right .field--name-field-image {
    height: 279px;
    min-height: unset;
    border-radius: 20px;
  }
  .field--name-field-slide-link,
  .field--name-field-slider-callback {
    width: 100%;
  }
  .node--type-slide .field--name-field-slider-callback .btn,
  .field--type-link a,
  .button--secondary,
  .button--primary,
  .link--previous,
  .field--name-field-slide-link a,
  .vpa-actions .btn-primary,
  .btn,
  .btn-primary,
  .more-link a,
  .btn-second {
    width: 100%;
    justify-content: center;
    padding: 15px 23px;
    font-size: 13px;
  }
  .node--type-slide {
    padding: 20px;
    border-radius: 30px;
  }
  .node--type-slide .btn-wrapper {
    flex-direction: column;
    max-width: 260px;
    margin: auto;
  }
  .field--name-field-slide-title {
    font-size: 24px;
  }
}
@media screen and (max-width: 420px) {
  .commerce-product--view-mode-full .field--name-variations,
  .commerce-product--view-mode-full .form-actions {
    width: 100%;
  }
  .commerce-product--view-mode-full .commerce-order-item-add-to-cart-form {
    flex-direction: column;
  }
  .field--widget-commerce-quantity {
    margin-right: 0;
    margin-bottom: 15px;
  }
  .block-title {
    font-size: 20px;
  }
  .field--name-field-edications-step-block {
    margin: unset;
    margin-top: 30px;
  }
  .view-services .view-content {
    margin: 0px;
    row-gap: 14px;
  }
  .view-services .view-content > * {
    width: 100%;
    padding: 0px;
  }
  .node--type-slide .btn-wrapper {
    max-width: 100%;
    width: 100%;
  }
  .view-services .views-row:nth-child(10),
  .view-services .views-row:first-child {
    width: 100%;
  }
}
