* {
  box-sizing: border-box;
}

@font-face {
  font-family: 'Jost';
  src: url('../fonts/Jost-Regular.woff') format('woff');
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jost-Medium';
  src: url('../fonts/Jost-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Jost-SemiBold';
  src: url('../fonts/Jost-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('../fonts/Roboto-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-stretch: normal;
  font-display: swap;
}

html {
  font-size: 16px;
  font-family: Jost, sans-serif;
}

html.webp {
  --img-header-bg: url("/kugoo/img/header-bg.webp");
  --img-thanks: url("/kugoo/img/thanks.webp");
}

html.no-webp {
  --img-header-bg: url("/kugoo/img/header-bg.jpg");
  --img-thanks: url("/kugoo/img/thanks.jpg");
}

:root {
  --white: #fff;
  --purple: #6f73ee;
  --black: #282739;
  --gray-600: #5d6c7b;
  --bachground: #f4f7fb;
  --gray-200: #eaebed;
  --warn: #EE685F;
  --green: #75D14A;
  --hover: #ccebcc;
}

/* initialization style */
p {
  margin: 0;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2 {
  font-family: Jost-SemiBold;
  font-size: 2.1875rem;
  line-height: 3.1875rem;
  text-transform: uppercase;
  margin: 0;
  word-wrap: break-word;
}

.bg-color {
  background-color: var(--bachground);
}


/* кнопки сайта */
.button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  width: max-content;
  padding: 8px 15px;
  font-family: Jost;
  font-size: 1rem;
  color: var(--white);
  background: var(--purple);
  border-width: 0;
  border-radius: 5px;
  cursor: pointer;
}

/* кнопки swipper */
.buttons-wrapper {
  display: flex;
  height: 37px;
  justify-content: flex-end;
}

/* кнопки swipper: неактивные */
.swiper-button-disabled,
.swiper-button-disabled {
  opacity: 0.4;
}


.button-prev,
.button-next {
  background-color: var(--purple);
  height: 100%;
  width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.button-next svg,
.button-prev svg {
  width: 32px;
  height: 39px;
  fill: white;
}

/* модальные окна */
.modal {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  background-color: rgba(41, 45, 51, 0.50);

  z-index: 10;
  transform: translateX(-100%);
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}

.modal-dialog {
  position: absolute;
  max-height: calc(100% - 10px);
  /* max-width указывается в стилях содержимого */
  width: calc(100% - 4px);
  left: 50%;
  top: 50%;
  overflow-y: auto;
  transform: translate(-50%, -60%);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  box-shadow: inset 2px var(--gray-600);
  box-shadow: 2px 2px var(--gray-200),
    -2px -2px var(--gray-200);
}

.modal.is-open .modal-dialog {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.modal-panel-close {
  top: 0;
  position: sticky;
}

.modal-close {
  display: flex;
  position: absolute;
  top: 5px;
  left: unset;
  right: 5px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  z-index: 15;
}

.modal-close .svg-box {
  width: 25px;
  height: 25px;
  fill: var(--gray-600);
  transition: fill 0.2s;
}

/* блок подключения из sprite.svg */
.svg-box {
  display: block;
  flex-shrink: 0;
}

/* стилизация ввода по-умолчанию */
.input-wrapper {
  position: relative;
  flex-grow: 1;
  background-color: var(--white);
}

.input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0.4rem;
  border: 1px solid transparent;
  border-radius: 5px;
  background-color: var(--white);
}

.input:focus {
  outline: none;
  border-color: var(--purple);
}

.input-wrapper-label {
  position: absolute;
  top: calc(50% - 0.8em);
  max-width: 100%;
  background-color: inherit;
  white-space: nowrap;
  overflow: hidden;
  cursor: text;
  transition: top 0.2s, font-style 0.2s;
}

.input:focus~.input-wrapper-label,
.input:not(:placeholder-shown).input:not(:focus)~.input-wrapper-label {
  top: -0.4rem;
  font-size: 0.8rem;
  line-height: 100%;
  background-color: inherit;
  cursor: default;
}

.input.is-invalid {
  border-color: var(--warn);
}

.just-validate-error-label {
  display: inline-block;
  position: absolute;
  left: 0.4rem;
  top: unset;
  bottom: -0.4rem;
  max-width: calc(100% - 0.4rem);
  padding: 0 0.2rem;
  font-size: 0.8rem;
  line-height: 100%;
  background-color: inherit;
  white-space: nowrap;
  overflow: hidden;
}

/* базовые стили */
.container,
.container-vs {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 30px;
}

.container {
  overflow: hidden;
}

.navbar {
  position: sticky;
  top: 0;
  background-color: var(--white);
  z-index: 2;
}

.navbar-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  gap: 14px;

  max-width: 1110px;
  width: 100%;
  margin: 0 auto;
}

.navbar-wrapper-mobile {
  width: 100%;
}

.navbar-wrapper-top,
.navbar-wrapper-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 0;
  margin: 0 auto;
  border-bottom: 1px solid #ecf3ff;
  font-family: Jost;
  font-size: 12px;
  line-height: 100%;
  overflow: hidden;
}

.navbar-wrapper-bottom {
  gap: 20px;
}

.mobile-menu-toggle {
  flex-shrink: 0;
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  width: 30px;
  padding: 4px;
}

.mobile-menu-line {
  height: 2px;
  min-width: 12px;
  width: 86%;
  margin: 2px 0;
  background-color: #333;
  transition: transform 0.2s;
}

.mobile-menu-line:nth-child(2) {
  width: 66%;
}

.navbar-logo {
  padding-right: 14px;
  font-family: Jost-SemiBold;
  font-size: 31px;
  line-height: 100%;
  text-transform: uppercase;
  color: var(--black);
}

.button.navbar-catalog {
  font-family: Jost-Medium;
  padding: 8px 18px 9px 15px;
  gap: 13px;
  transition: padding 0.2s;
}

.navbar-catalog-pictogram {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-evenly;
  width: 13px;
  height: 23px;
  padding: 3px 0;
}

.navbar-catalog-pictogram-line {
  height: 1.3px;
  width: 100%;
  background-color: var(--white);
}

.navbar-catalog-pictogram-line:nth-child(3) {
  width: 53.846%;
}

.navbar-panel-search {
  flex-grow: 1;

  display: flex;
  align-items: flex-start;
  width: 100%;
}

.navbar-panel-search-button-close {
  display: none;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--gray-200);
}

.navbar-panel-search-button-close .svg-box {
  width: 18px;
  height: 18px;
  fill: var(--gray-600);
}

.navbar-form-search {
  display: flex;
  width: 100%;
}

.navbar-form-search .input {  
  padding-left: 20px;
  border: 1.5px solid var(--purple);
  border-right-width: 0;
  border-radius: 5px 0 0 5px;
  font-size: 16px;
}

.navbar-form-search .input-wrapper-label {
  left: 10px;
  padding: 0 10px;
  max-width: calc(100% - 10px);
  font-family: Jost;
  font-size: 14px;
  line-height: 20.23px;
  color: var(--gray-600);
}


.navbar-form-search .input.is-invalid {
  border-color: var(--purple);
}

.navbar-form-search .input:not(:focus)~.just-validate-error-label {
  display: none;
}

.navbar-search-form-button {
  padding: 12px;
  border-radius: 0 5px 5px 0;
}

.navbar-search-form-button .svg-box {
  width: 16px;
  height: 16px;
  fill: white;
}

.navbar-shopping {
  display: flex;
  align-items: center;
  gap: 25px;
  padding-left: 3px;
  transition: gap 0.2s;
}

.navbar-shopping-link {
  color: var(--gray-600);
}

.navbar-shopping-link .svg-box {
  width: 20px;
  height: 20px;
  fill: var(--black);
}

.shopping-link-search {
  display: none;
}

.navbar-shopping-link.shopping-link-basket {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Jost-Medium;
  font-size: 14px;
  line-height: 20px;
  color: var(--black);
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.navbar-menu-item.navbar-menu-item-catalog {
  display: none;
}

.navbar-menu-link {
  color: var(--gray-600);
}

.navbar-menu-messenger-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 53px;
}

.navbar-menu-messenger-item .svg-box {
  width: 12px;
  height: 12px;
}

.navbar-phone-link {
  font-family: Jost-Medium;
  font-size: 12px;
  color: var(--black);
}

header {
  margin-top: 26px;
  word-wrap: break-word;
}

.header-wrapper {
  width: 100%;
  height: max-content;
  padding: 56px 9.855% 57px 9.855%;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
}

.header-image {
  background-image: var(--img-header-bg);
  background-size: cover;
  background-repeat: no-repeat;
}

.header-content {
  position: relative;
  max-width: 612px;
  color: var(--white);
}

.header-info {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.header-info-address {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 12px;
  line-height: 100%;
}

.header-info-address .svg-box {
  width: 15px;
  height: 15px;
}

.header-info-schedule {
  font-size: 12px;
  line-height: 100%;
}

h1.header-title {
  margin-top: 22px;
}

.header-text {
  margin-top: 6px;
  font-size: 20px;
  line-height: 29px;
}

.header-button {
  margin-top: 50px;
  padding: 25px 60px;
}

.header-features {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 28px;
  margin-bottom: 37px;
}

.header-features-item {
  display: flex;
  align-items: center;
  gap: 17px;
  max-width: 198px;
  font-size: 14px;
  line-height: 18px;
}

.header-features-item-leiba {
  padding: 12px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
}

.header-features-item-leiba .svg-box {
  width: 16px;
  height: 16px;
}

.header-button-signup {
  padding: 17px 41px;
  font-size: 16px;
  line-height: 19px;
  background-color: var(--white);
  color: var(--purple);
}

section.suggestion {
  margin-top: 72px;
}

.suggestion-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2%;
}

.suggestion-content {
  max-width: 780px;
  width: 100%;
  padding-left: 9.7826%;
}

.suggestion-content .section-title {
  margin: 29px 0 27px;
  color: var(--black);
}

.suggestion-list-title {
  margin: 30px 0 18px;
  font-family: Jost-Medium;
  font-size: 20px;
  line-height: 23.8px;
  color: var(--black);
}

.suggestion-list {
  font-family: Jost;
  font-weight: 500;
}

.suggestion-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 26px;
  color: var(--black);
}

.suggestion-list-item .svg-box {
  width: 22px;
  height: 22px;
}

.suggestion-img {
  flex-shrink: 0;

  display: flex;
  justify-content: flex-end;
  max-width: 515px;
  width: 100%;
  max-height: 422px;
  border-width: 0;
  border-radius: 10px;
  overflow: hidden;
  object-fit: contain;
}

.suggestion-img img {
  width: 100%;
  height: 100%;
}

section.offer {
  margin-top: 100px;
}

.offer-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
}

.offer-img {
  flex-shrink: 0;

  display: flex;
  justify-content: flex-end;
  max-width: 515px;
  width: 100%;
  max-height: 463px;
  border-width: 0;
  border-radius: 10px;
  overflow: hidden;
  object-fit: contain;
}

.offer-img img {
  width: 100%;
  height: 100%;
}

.offer-content {
  max-width: 770px;
  width: 100%;
  padding-right: 9.7826%;
}

.offer-content .section-title {
  margin: 29px 0 27px;
  color: var(--black);
}

.offer-list-title {
  margin: 30px 0 18px;
  font-family: Jost-Medium;
  font-size: 20px;
  line-height: 23.8px;
  color: var(--black);
}

.offer-list {
  font-family: Jost;
  font-weight: 500;
}

.offer-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 26.01px;
  color: var(--black);
}

.offer-list-item .svg-box {
  width: 22px;
  height: 22px;
}

section.available {
  margin-top: 100px;
}

.available-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.available .section-title {
  max-width: 732px;
  width: 100%;
  text-align: center;
  color: var(--black);
}

.available-cards {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin: 0 auto;
  margin-top: 49px;
  max-width: 1113px;
  width: 100%;
  min-height: 492px;
  height: max-content !important;
}

.available-card {
  flex-grow: 0;
  flex-shrink: 0;

  display: flex;
  flex-direction: column;
  position: relative;
  width: 258px !important;
  height: 492px !important;
  border: 1.5px solid var(--gray-200);
  border-radius: 5px;
  overflow: hidden;
}

.available-buttons {
  display: none;
}

.sticker-new.available-card::before,
.sticker-hit.available-card::before {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 10px;
  top: 10px;
  border-radius: 5px;
  font-family: Jost-Medium;
  font-size: 12px;
  line-height: 17.34px;
  color: var(--white);
}

.sticker-new.available-card::before {
  content: "Новинка";
  width: 63px;
  height: 25px;
  background-color: var(--green);
}

.sticker-hit.available-card::before {
  content: "ХИТ";
  width: 41px;
  height: 25px;
  background-color: var(--warn);
}

.available-card-photo {
  flex-grow: 0;
  flex-shrink: 0;

  display: block;
  width: 100%;
  height: 231px;
  padding: 27px 10px 22px 3px;
  background-color: var(--gray-200);
  object-fit: contain;
}

.available-card-photo img {
  width: 100%;
  height: 100%;
}

.available-card-link {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0);
  border-radius: 50%;
  background-color: var(--white);
}

.available-card .svg-box {
  width: 20px;
  height: 20px;
  fill: var(--purple);
}

.available-card .add-link-comparison {
  position: absolute;
  width: 37px;
  height: 37px;
  top: 10px;
  left: unset;
  right: 10px;
}

.available-card .add-link-favourites,
.available-card .add-link-basket {
  width: 40px;
  height: 40px;
  border-color: var(--gray-200);
}

.available-card-content {
  flex-grow: 0;
  flex-shrink: 0;

  display: block;
  width: 100%;
  padding: 20px 25px 17px 24px;
}

.available-card-content-title {
  width: 100%;
  font-family: Jost-SemiBold;
  font-size: 18px;
  line-height: 26px;
  color: var(--black);
}

.available-card-content-info {
  columns: 2;
  column-gap: 20px;
  padding-top: 21px;
  list-style-type: none;
}

.available-card-content-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 17px;
  max-width: 100px;
  font-family: Roboto;
  font-size: 14px;
  line-height: 16px;
  color: var(--gray-600);
}

.available-card-content-info-item .svg-box {
  width: 18px;
  height: 18px;
}

.available-card-content-shopping {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  padding: 0 0 16px;
}

.available-card-content-shopping-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-wrap: nowrap;
  padding-top: 6px;
  font-family: Jost-Medium;
}

.available-card-content-shopping-price-old {
  display: inline-block;
  position: relative;
  max-width: 110px;
  overflow: hidden;
  font-size: 12px;
  line-height: 17px;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--gray-600);
}

.available-card-content-shopping-price-old::before {
  content: "";
  position: absolute;
  top: 7.5px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--gray-600);
}

.available-card-content-shopping-price-current {
  max-width: 110px;
  overflow: hidden;
  font-size: 20px;
  line-height: 29px;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--black);
}

.available-card-content-shopping-choose {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  padding-top: 8px;
}

.available-card-content-button {
  flex-shrink: 0;
  justify-content: center;
  width: 100%;
  padding: 10px 20px;
  font-size: 12px;
  line-height: 17px;
}

section.cta-choice {
  margin-top: 105px;
}

.cta-choice-wrapper-background {
  width: 100%;
}

.cta-choice-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2%;

  max-width: 1110px;
  width: 100%;
  margin: 0 auto;
}

.cta-choice-content {
  max-width: 613px;
  width: 55.225%;
  overflow: hidden;
}

.cta-choice-content .section-title {
  margin-top: 85px;
  color: var(--black);
}

.cta-choice-img {
  flex-shrink: 0;

  display: flex;
  justify-content: flex-end;
  max-width: 410px;
  width: 36.937%;
  max-height: 495px;
  margin-top: -54px;
  margin-right: 4.0541%;
  object-fit: contain;
}

.cta-choice-img img {
  width: 100%;
  height: 100%;
}

.cta-choice-form-text {
  margin: 32px 0 20px;
  font-family: Jost-Medium;
  font-size: 16px;
  line-height: 23px;
  color: var(--black);
}

.cta-choice-form-call {
  display: flex;
  max-width: 541px;
  gap: 20px;
}

.cta-choice-form-call .input {
  padding-left: 25px;
  border-radius: 5px;
  font-size: 18px;
  color: var(--black);
}

.cta-choice-form-call .input::-webkit-input-placeholder {
  font-family: Jost;
  font-size: 16px;
  line-height: 20.23px;
  color: var(--gray-600);
}

.cta-choice-form-call .input::-moz-placeholder {
  font-family: Jost;
  font-size: 16px;
  line-height: 20.23px;
  color: var(--gray-600);
}

.cta-choice-form-button {
  padding: 15px 25px;
  font-size: 16px;
  line-height: 23.12px;
}

.cta-choice-form-footer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
  font-family: Jost;
  font-size: 12px;
  line-height: 14px;
}

.cta-choice-form-footer .svg-box {
  margin-top: 5px;
  width: 16px;
  height: 16px;
}

.cta-choice-form-footer-warning {
  max-width: 307px;
}

.policy-inline {
  display: inline;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.cta-new {
  margin-top: 100px;
}

.cta-new-wrapper {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  background-color: var(--purple);
  overflow: hidden;
}

.cta-new-form-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 135px 21px;
}

.cta-new-form-text {
  max-width: 430px;
  width: 39.09%;
  font-size: 19px;
  font-weight: 600;
  line-height: 26px;
  text-transform: uppercase;
  color: var(--white);
}

.cta-new-form-call {
  display: flex;
  width: 570px;
  gap: 20px;
}

.cta-new-form-call .input-wrapper {
  border-radius: 5px;
  background-color: inherit;
  background-color: rgba(255, 255, 255, 0.2);
}

.cta-new-form-call .input {
  padding-left: 25px;
  border-radius: 5px;
  font-size: 18px;
  color: var(--white);
  background-color: transparent;
}

.cta-new-form-call .input-wrapper-label {
  left: 15px;
  padding: 0 10px;
  max-width: calc(100% - 15px);
  font-size: 16px;
  line-height: 23px;
  color: var(--white);
  background-color: transparent;
}

.cta-new-form-call .input:focus~.input-wrapper-label,
.cta-new-form-call .input:not(:placeholder-shown).input:not(:focus)~.input-wrapper-label {
  background-color: var(--purple);
}

.cta-new-form-call .just-validate-error-label {
  display: none;
}

.cta-new-form-button {
  padding: 15px 25px;
  font-size: 16px;
  line-height: 23px;
  color: var(--purple);
  background-color: var(--white);
}

.footer-wrapper-background {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.footer-wrapper {
  max-width: 1110px;
  width: 100%;
  margin: 44px auto 17.32px;
}

.footer-partition {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-top {
  max-height: 229px;
  padding-bottom: 75px;
}

.footer-middle {
  padding: 35px 0;
}

.footer-bottom {
  align-items: center;
  padding-top: 10px;
}

.footer-top,
.footer-middle {
  border: 1px solid var(--bachground);
  border-bottom-color: var(--gray-200);
}

.footer-group {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.footer-group-catalog {
  width: 146px;
}

.footer-group-to-buyers {
  width: 254px;
}

.footer-group-contacts {
  width: 290px;
}

.footer-group-logo {
  width: 116px;
}

.footer-group-appstores {
  flex-direction: row;
  gap: 9px;
  width: 297px;
}

.footer-group-reserve {
  flex-shrink: 0;
  width: 132px;
  height: 100%;
}

.footer-group-subscribe {
  flex-direction: row;
  gap: 10px;
  max-width: 389px;
}

.footer-group-details {
  flex-direction: row;
  gap: 44px;
  max-width: 264px;
}

.footer-bottom .footer-group-reserve {
  width: 329px;
}

.footer-group-payment {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 267px;
  gap: 0px;
}

.footer-group-chats {
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 13px;
  width: 166px;
}

.footer-group-callback {
  flex-shrink: 0;
}

.footer-group-cap-link {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
  color: var(--black);
}

.footer-group-cap-link.calback {
  font-family: Jost-Medium;
  font-size: 12px;
  line-height: 26px;
  color: var(--purple);
}

.footer-group-cap-link.logo {
  width: 116px;
  font-family: Jost-SemiBold;
  font-size: 30px;
  line-height: 43px;
  text-transform: uppercase;
  color: var(--black);
}

.footer-group-cap-link.requisites,
.footer-group-cap-link.policy {
  font-size: 12px;
  line-height: 17px;
  color: var(--gray-600);
}

.footer-group-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  row-gap: 10px;
  height: 110px;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--gray-600);
}

.footer-group-content.shrink {
  gap: 5px;
  height: 80px;
}

.footer-group-content-link {
  color: inherit;
}

.footer-group-content-link-name {
  font-size: 12px;
  line-height: 17px;
  color: var(--black);
}

.footer-phone-link-phone {
  width: 176px;
  font-family: Jost-Medium;
  font-size: 16px;
  line-height: 23px;
  color: var(--black);
}

.footer-group-content-link-schedule {
  font-size: 12px;
  line-height: 19px;
  color: var(--gray-600);
}

.footer-group-img-link {
  flex-shrink: 0;
  width: 151.12px;
  height: 44.78px;
  overflow: hidden;
  object-fit: contain;
}

.footer-group-img-link img {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
}

.footer-card-subscribe {
  display: flex;
  align-items: ceter;
  justify-content: space-between;
  gap: 13px;
  width: 123px;
  height: 45px;
  border: 1px solid var(--white);
  border-radius: 5px;
  background-color: var(--white);
}

.footer-card-subscribe-img {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 32px;
  height: 100%;
}

.footer-card-subscribe-img .svg-box {
  width: 20px;
  height: 20px;
}

.footer-card-subscribe-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 78px;
  height: 99%;
}

.footer-card-subscribe-info-name {
  font-family: Jost-Medium;
  font-size: 14px;
  line-height: 20px;
  color: var(--black);
}

.footer-card-subscribe-info-counter {
  font-size: 10px;
  line-height: 14px;
  color: var(--gray-600);
}

.footer-card-payment {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 25px;
  border: 1px solid var(--white);
  border-radius: 5px;
  background-color: var(--white);
}

.footer-card-payment .svg-box {
  width: 26px;
  height: 12px;
}

.footer-card-payment .sb-24x8 {
  width: 26px;
  height: 10px;
}

.footer-card-payment .sb-22x13 {
  width: 24px;
  height: 15px;
}

.footer-card-payment .sb-24x15 {
  width: 26px;
  height: 17px;
}

.footer-card-payment .sb-15x15 {
  width: 17px;
  height: 17px;
}

.footer-group-chats p {
  width: 66px;
  font-size: 14px;
  line-height: 15px;
  color: var(--black);
}

.footer-card-chats {
  flex-shrink: 0;
  display: block;
  width: 18px;
  height: 18px;
}

.footer-card-chats .svg-box {
  width: 100%;
  height: 100%;
}

.cta-test {
  max-width: 790px;
  background-color: var(--white);
}

.cta-test-wrapper {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  gap: 20px;
}

.cta-test-wrapper-photo {
  max-width: 424px;
  width: 55%;
  padding: 46px 57px 44px 30px;
}

.cta-test-photo {
  width: 100%;
  border-width: 0;
  border-radius: 10px;
  overflow: hidden;
  object-fit: contain;
}

.cta-test-photo img {
  width: 100%;
  height: 100%;
}

.cta-test-content {
  max-width: 346px;
  width: 45%;
  padding: 39px 0px 0 41px;
  word-wrap: break-word;
}

.cta-test-content-title {
  font-family: Jost-SemiBold;
  font-size: 1.5625rem;
  line-height: 2.25rem;
  text-transform: uppercase;
  color: var(--black);
}

.cta-test-content-title-text {
  font-size: 16px;
  line-height: 39px;
  color: var(--black);
}

.cta-test-content-text {
  margin-top: 20px;
  font-size: 14px;
  line-height: 20px;
  color: var(--black);
}

.cta-test-form-text {
  margin-top: 86px;
  font-size: 12px;
  line-height: 17px;
  color: var(--gray-600);
}

.cta-test-input-wrapper {
  margin-top: 20px;
  max-width: 263px;
  height: 53px;
}

.cta-test-input-wrapper input:not(.is-invalid) .input {
  padding-left: 25px;
  font-size: 18px;
  line-height: 23px;
  color: var(--black);
  border-color: var(--gray-200);
}

.cta-test-input-wrapper .input::-webkit-input-placeholder {
  font-family: Jost;
  font-size: 16px;
  line-height: 23px;
  color: var(--gray-600);
}

.cta-test-input-wrapper .input::-moz-placeholder {
  font-family: Jost;
  font-size: 16px;
  line-height: 23px;
  color: var(--gray-600);
}

.cta-test-form-button {
  justify-content: center;
  margin-top: 19px;
  max-width: 263px;
  width: 100%;
  padding: 15px 25px;
  font-size: 16px;
  line-height: 23px;
}

.cta-test-form-footer {
  display: flex;
  position: relative;
  align-items: flex-start;
  gap: 12px;
  left: 16px;
  margin-top: 17px;
  font-size: 12px;
  line-height: 14px;
  color: var(--black);
  padding-bottom: 5px;
}

.cta-test-form-footer .svg-box {
  margin-top: 5px;
  width: 16px;
  height: 16px;
}

.cta-test-form-footer-warning {
  max-width: 200px;
  width: calc(100% - 16px);
}

.thanks {
  max-width: 350px;
  border-radius: 10%;
  background-color: var(--white);
}

.thanks-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 35px 20px 20px;
  overflow: hidden;
  word-wrap: break-word;
}

.thanks-title {
  font-family: Jost-SemiBold;
  font-size: 24px;
  line-height: 110%;
  line-height: 140%;
  color: var(--purple);
  text-transform: uppercase;
  text-align: center;
}

.thanks-photo {
  flex-shrink: 0;

  display: flex;
  align-items: center;
  width: 295px;
  height: 270px;
  background-position: right 20px bottom;
  background-image: var(--img-thanks);
  background-size: cover;
  background-repeat: no-repeat;
}

.thanks-text {
  display: flex;
  position: absolute;
  top: 126px;
  left: unset;
  right: 4.5%;
  max-width: 165px;
  font-size: 20px;
  line-height: 140%;
  color: var(--black);
}

.err404 {
  padding-top: 28px;
}

.err404-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.err404-number {
  font-family: Jost-SemiBold;
  font-size: 100px;
  font-style: normal;
   line-height: 100%;
  color: var(--purple);
}

.err404-messange {
  max-width: 480px;
  margin-top: 42px;
  font-size: 28px;
  font-weight: 500;
  color: var(--gray-600);
}

.err404-text {
  display: flex;
  align-items: center;
  text-align: center;
  max-width: 480px;
  margin: 29px 0 32px;
  color: var(--black);
}

.err404-button {
  max-width: 302px;
  width: 100%;
  min-height: 76px;
  font-weight: 600;
}


/* стили окружение мобильного меню */
body.nav-mobile .navbar-logo {
  padding: 0;
  font-size: 25px;
}

body.nav-mobile .navbar-phone {
  display: none;
}

body.nav-mobile .navbar-wrapper-bottom .navbar-catalog {
  display: none;
}

body.nav-mobile .navbar-menu-item.navbar-menu-item-catalog {
  display: inline;
}

body.search-open .navbar-panel-search {
  display: flex;
}

body.nav-mobile:not(.search-open) .navbar-panel-search {
  display: none;
}

body.nav-mobile.search-open .navbar-panel-search-button-close {
  display: flex;
}

body.nav-mobile .navbar-shopping {
  gap: 10px;
  padding: 0;
}

body.search-open .shopping-link-search {
  display: none;
}

body.nav-mobile:not(.search-open) .shopping-link-search {
  display: block;
}

body.nav-mobile .shopping-link-basket-name {
  display: none;
}

body.nav-mobile .navbar {
  position: static;
  padding-top: 70px;
}

body.nav-mobile.search-open .navbar {
  padding-top: 115px;
}

body.nav-mobile .navbar-wrapper-mobile {
  display: flex;
  align-items: flex-start;
  position: fixed;
  left: 0;
  top: 0;
  border: 0 solid var(--gray-200);
  border-bottom-width: 1px;
  border-radius: 0 0 10px 10px;
  padding: 10px;
  background-color: var(--bachground);
  overflow: hidden;
  z-index: 2;
}

body.nav-mobile .mobile-menu-toggle {
  display: flex;
}

body.nav-mobile .navbar-wrapper-bottom {
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

body.nav-mobile .container,
body.nav-mobile .container-vs {
  margin: 0;
  padding: 0 10px;
}

/* стили мобильного меню */
body.nav-mobile .navbar-wrapper-top {
  display: flex;
  flex-direction: column;
  font-size: 16px;
}

body.nav-mobile .navbar-menu {
  flex-direction: column;
  gap: 10px;
}

body.nav-mobile header,
body.nav-mobile section {
  display: none;
}

/* стили кнопки закрытия мобильного меню */
body.nav-mobile .mobile-menu-toggle {
  justify-content: center;
}

body.nav-mobile .mobile-menu-line {
  margin: 0;
}

body.nav-mobile .mobile-menu-line:nth-child(2) {
  display: none;
}

body.nav-mobile .mobile-menu-line:nth-child(1) {
  transform: translateY(2px) rotate(-45deg);
}

body.nav-mobile .mobile-menu-line:nth-child(3) {
  transform: rotate(45deg);
}

/* hover effects */
@media (min-width: 992px) and (hover:hover) {

  .navbar-logo:hover,
  .footer-group-cap-link.logo:hover {
    color: var(--purple);
  }

  .button:hover {
    opacity: 0.95;
    box-shadow: -1px -1px var(--gray-600);
    transform: translate(1px, 1px);
  }

  .navbar-shopping-item:hover .svg-box {
    fill: var(--purple);
  }

  .shopping-link-favourites:hover .svg-box {
    fill: var(--warn);
  }

  .add-link-basket:hover {
    background-color: var(--hover);
  }

  .add-link-favourites:hover .svg-box {
    fill: var(--warn);
  }

  .modal-close:hover {
    background-color: var(--bachground);
  }

  .modal-close:hover .svg-box {
    fill: var(--black);
  }

}

@media (max-width: 1250px) {

  .cta-new-form-wrapper {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-left: 5%;
    padding-right: 5%;
    row-gap: 20px;
  }

  .cta-new-form-text {
    width: 100%;
  }
}

@media (max-width: 1230px) {
  .navbar-shopping {
    gap: 10px;
    padding: 0;
  }
}

@media (max-width: 1171px) {
  .available-buttons {
    display: flex;
  }
}

@media (max-width: 1100px) {
  .suggestion-wrapper {
    flex-direction: column-reverse;
    align-items: center;
    gap: 0;
  }

  .offer-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .offer-content {
    max-width: 780px;
    padding-left: 9.7826%;
    padding-right: 0;
  }

  .cta-choice-wrapper {
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0;
  }

  .cta-choice-content {
    width: 100%;
    max-width: 780px;
    padding-left: 9.7826%;
  }

  .cta-choice-content .section-title {
    margin-top: 9px
  }

  .cta-choice-img {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 0;
  }

  .cta-choice-form-call {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .cta-choice-form-call .input {
    display: block;
    position: relative;
    max-width: 258px;
    width: 258px;
    width: 100%;
    height: 53px;
  }

  .cta-choice-form-button,
  .cta-new-form-button {
    max-width: fit-content;
    width: 100%;
    justify-content: center;
  }

  .cta-choice-form-footer-warning {
    max-width: unset;
    margin-right: 5%;
  }
}


/* перестройка подвала */
@media (max-width: 1000px) {

  .footer-partition,
  .footer-partition .footer-group,
  .footer-partition .footer-group .footer-group-cap-link,
  .footer-partition .footer-group .footer-group-content,
  .footer-partition .footer-group .footer-group-details {
    flex-wrap: wrap;
    max-width: unset;
    width: max-content;
    max-height: unset;
    height: max-content;
  }

  .footer-wrapper {
    margin-bottom: 0;
  }

  .footer-partition {
    gap: 5px;
    width: 100%;
    padding: 0;
    padding-bottom: 25px;
  }

  .footer-group-cap-link {
    padding-top: 20px;
  }

  .footer-group-reserve {
    display: none;
  }

  .footer-partition.footer-top .footer-phone-link-phone {
    width: max-content;
  }

  .footer-partition.footer-bottom .footer-group-details {
    gap: 5px;
    padding-bottom: 20px;
  }

  .footer-partition.footer-bottom .footer-group-cap-link.policy {
    width: fit-content
  }
}

@media (max-width: 760px) {

  .navbar-menu {
    gap: 10px;
  }

  .navbar-menu-item.navbar-menu-item-catalog {
    display: inline;
  }

  .navbar-wrapper-bottom .navbar-catalog {
    padding: 0;
    width: 0;
  }

  .navbar-logo {
    padding: 0;
    font-size: 25px;
  }

  .cta-test {
    max-width: 400px;
  }

  .cta-test-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .cta-test-wrapper-photo {
    width: 40%;
    padding: 40px 0 20px;
  }

  .cta-test-content {
    width: 100%;
    padding: 0 20px;
  }

  .cta-test-content-title-text {
    line-height: 18px;
  }

  .cta-test-content-text {
    margin-top: 10px;
  }

  .cta-test-form-text {
    margin-top: 15px;
    line-height: 14px;
  }

  .cta-test-input-wrapper {
    margin-top: 10px;
    width: 100%;
  }

  .cta-test-form-footer {
    gap: 7px;
    left: 0;
    margin-top: 10px;
    font-size: 10px;
    line-height: 12px;
    padding-bottom: 20px;
  }

  .cta-test-form-footer-warning {
    max-width: 200px;
    width: calc(100% - 10px);
  }

}

@media (max-width: 640px) {
  .cta-new-form-call {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    row-gap: 20px;
  }

  .cta-new-form-call .input-wrapper {
    display: block;
    position: relative;
    max-width: 258px;
    width: 100%;
    height: 53px;
  }
}


@media (max-width: 576px) {

  .navbar-wrapper-top {
    display: none;
  }

  .navbar-phone {
    display: none;
  }

  .navbar-wrapper-bottom .navbar-catalog {
    display: none;
  }

  .navbar-panel-search {
    display: none;
  }

  .navbar-panel-search-button-close {
    display: flex;
  }

  .shopping-link-search {
    display: block;
  }

  .shopping-link-basket-name {
    display: none;
  }

  .navbar {
    position: static;
    padding-top: 70px;
  }

  body.search-open .navbar {
    padding-top: 115px;
  }

  .navbar-wrapper-mobile {
    display: flex;
    align-items: flex-start;
    position: fixed;
    left: 0;
    top: 0;
    border: 0 solid var(--gray-200);
    border-bottom-width: 1px;
    border-radius: 0 0 10px 10px;
    padding: 10px;
    background-color: var(--bachground);
    overflow: hidden;
    z-index: 2;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .navbar-wrapper-bottom {
    flex-direction: column;
    gap: 5px;
    padding: 0;
  }

  .container,
  .container-vs {
    margin: 0;
    padding: 0 10px;
  }

  .header-features-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 1370px) {
  html {
    font-size: 15px;
  }
}


@media (max-width: 785px) {
  html {
    font-size: 14px;
  }
}

@media (max-width: 585px) {

  h2 {
    font-size: 25px;
    line-height: 146%;
  }
}

@media (max-width: 576px) {

  h1.header-title {
    font-size: 25px;
    line-height: 146%;
  }
}

@media (max-width: 320px) {

  h1.header-title,
  h2 {
    font-size: 22px;
    line-height: 146%;
  }
}