@import url('./new_cfg.css');

/* базовые стили */
:root {
  --fill-black: #2a2a2a;
  --fill-black-50: rgba(42, 42, 42, 0.5);
  --fill-black-20: rgba(42, 42, 42, 0.2);
  --fill-gray: #f2f3f5;
  --fill-gray-60: #f2f3f5;
  --fill-gray-20: rgba(42, 42, 42, 0.2);
  --fill-white: #ffffff;
  --fill-yellow: #f7bc58;
  --fill-yellow-active: #ffa12e;
  --fill-blue: #78a6f3;
  --fill-green: #00ae76;
  --fill-green: #f91155;

  --text-black: #2a2a2a;
  --text-black-50: rgba(42, 42, 42, 0.5);
  --text-black-20: rgba(42, 42, 42, 0.2);
  --text-gray-60: #f2f3f5;
  --text-gray-20: rgba(42, 42, 42, 0.2);
  --text-white: #ffffff;
  --text-yellow: #f7bc58;
  --text-blue: #78a6f3;
}

#cfg header {
  position: relative !important;
}

@media screen and (max-width: 768px) {
  .cfg-rows {
    text-wrap: nowrap;
    flex-wrap: wrap;
    &:not(:last-child):first-child {
      margin-bottom: 40px;
      &::after {
        content: ' ';
        display: block;
        width: 100%;
        height: 1px;
        background-color: #dddddd;
      }
    }
  }
  .cfg-columns {
    flex-direction: column;
    gap: 10px !important;
    & button {
      & p {
        flex: 1;
        text-align: left !important;
      }
    }
  }
}

.customScroll::-webkit-scrollbar {
  width: 6px;
  height: 4px;
  border-top: 4px solid var(--fill-gray-60);
  background-color: var(--fill-gray-60);
}
.customScroll::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: var(--text-black-20);
}
.elemencustomScrollt::-webkit-scrollbar-track {
  background-color: var(--fill-gray-60);
}

h2.config-heading {
  font-size: 18px;
  font-weight: 500;
  line-height: normal;
  font-style: normal;
}

h2.config-header__heading {
  font-size: 22px;
  font-weight: 600;
  line-height: normal;
  margin-bottom: 0;
}

#appСonfigurator {
  overflow: hidden;
}

@media (min-width: 768px) {
  #configurator {
    margin: auto;
    display: flex;
    flex-direction: column;
    row-gap: 25px;
    line-height: normal;
    margin-bottom: 70px;
    user-select: none;
  }

  .config-wrapper {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto 500px;
    grid-column-gap: 20px;
    grid-row-gap: 25px;
  }
  .config-header {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
  }

  p.config-header__doptext {
    color: var(--text-black-50);
    font-size: 14px;
  }
  /* ========================== */

  /* меню для конфигуратора */
  .config-menu {
    grid-row: 1;
    grid-column: 1/13;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 30px;
  }
  .config-menu__listButtons {
    grid-column: 1/10;
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    grid-gap: 60px;
  }
  .config-menu__itemButton {
    display: flex;
    align-items: center;
    column-gap: 6px;
    border: none;
    background: none;
    font-weight: 500;
    cursor: pointer;
  }
  .config-menu__listButtons .itemButton__number {
    width: 26px;
    height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    border-radius: 5px;
    background: var(--fill-yellow);
    color: var(--text-white);
  }
  .config-menu__listButtons .itemButton__text {
    font-size: 14px;
    position: relative;
  }
  .config-menu__listButtons .itemButton__text:after {
    content: '';
    position: absolute;
    top: auto;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: transparent;
  }
  .config-menu__itemButton:hover .itemButton__number {
    background: var(--fill-yellow-active);
  }
  .config-menu__itemButton:hover .itemButton__text:after {
    content: '';
    position: absolute;
    top: auto;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: #000;
  }
  .config-menu__itemMenu.active .itemButton__number {
    background: var(--fill-yellow-active);
  }
  .config-menu__itemMenu.active .itemButton__text {
    font-weight: 600;
  }
  .config-menu__itemMenu.active .itemButton__text:after {
    content: '';
    position: absolute;
    top: auto;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: #000;
  }
  .addToBacket-wrapper {
    grid-column: 10/13;
  }
  .addToBacket-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    column-gap: 10px;
    height: 50px;
    padding: 15px 20px;
    font-weight: 500;
    font-size: 16px;
    margin: 0 0 0 auto;
    background: var(--fill-white);
    border: 1px solid var(--fill-gray-20);
    border-radius: 5px;
    cursor: pointer;
    transition-property: all;
    transition-duration: 0.15s;
  }
  span.addToBacket-button_plus {
    display: flex;
  }

  .addToBacket-button:hover {
    background-color: var(--fill-yellow-active);
    color: var(--fill-white);
    border: 1px solid var(--fill-yellow-active);
  }
  .addToBacket-button:hover svg path {
    transition-property: fill;
    transition-duration: 0.15s;
    fill: var(--fill-white);
  }

  .addToBacket-countWrapper {
    display: flex;
    justify-content: flex-end;
    column-gap: 10px;
  }
  .addToBacket-countWrapper .goToBasker-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--fill-yellow);
    color: var(--text-white);
    height: 50px;
    padding: 10px 30px;
    border-radius: 5px;
    font-weight: 500;
    transition-property: all;
    transition-duration: 0.15s;
  }
  .addToBacket-countWrapper .goToBasker-button .bigText {
    font-size: 16px;
  }
  .addToBacket-countWrapper .goToBasker-button .smallText {
    font-size: 12px;
  }
  .addToBacket-countWrapper .goToBasker-button:hover {
    background-color: var(--fill-yellow-active);
  }
  .countSelectBlock {
    display: flex;
    align-items: center;
  }
  .countSelectBlock__countChange,
  .countSelectBlock__count {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 100%;
    font-size: 18px;
    font-weight: 500;
    transition-property: all;
    transition-duration: 0.15s;
  }
  .countSelectBlock__countChange {
    background: var(--fill-gray);
    border-radius: 5px;
    cursor: pointer;
  }
  .countSelectBlock__countChange {
    background: var(--fill-gray);
    border-radius: 5px;
    cursor: pointer;
  }
  .countSelectBlock__countChange:hover {
    background: var(--fill-gray-20);
  }
  /* ======================== */

  /* блок с изображением */
  .config-previwBlock {
    /* max-width: 310px; */
    grid-row: 2;
    grid-column: 1/4;
    display: flex;
    flex-direction: column;
    row-gap: 15px;
  }
  .config-previwBlock .image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-height: 310px;
    border-radius: 5px;
    overflow: hidden;
    background-color: var(--fill-gray-60);
  }
  .config-previwBlock img.image-wrapper__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .config-previwBlock .messageCollectedImg {
    color: var(--yellow-active);
    font-size: 14px;
    font-weight: 500;
    line-height: 135%;
  }
  .config-previwBlock .btnOpenFull {
    position: absolute;
    top: auto;
    left: auto;
    right: 0;
    bottom: 0;
    z-index: 9;
    cursor: pointer;
  }
  .config-previwBlock .btnOpenFull:hover svg path {
    stroke: var(--fill-yellow-active);
  }
  .config-previwBlock .desc-product {
    font-size: 14px;
    line-height: 135%;
  }
  /* ======================== */

  /* блок с контентом */
  .config-contentBlock {
    grid-row: 2;
    grid-column: 4/10;
    border-radius: 5px;
    overflow: hidden;
    padding: 15px 5px 15px 20px;
    background: var(--fill-gray-60);
  }
  #configurator .tab-menu {
    position: relative;
    display: flex;
    column-gap: 30px;
    color: var(--text-black-50);
    overflow-y: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
  }
  #configurator .underline::after {
    content: '';
    position: absolute;
    background: var(--fill-black-20);
    left: 0;
    width: 100%;
    height: 1px;
    opacity: 0.5;
  }
  #configurator .underline.v1::after {
    top: 24px;
  }
  #configurator .underline.v2::after {
    top: 22px;
  }

  #configurator .tab-menu::-webkit-scrollbar {
    width: 0;
  }

  #configurator .tab-menu::-webkit-scrollbar-thumb {
    background-color: transparent;
  }
  #configurator .tab-menu::-webkit-scrollbar-track {
    background-color: transparent;
  }
  #configurator .container-tab-menu .line_container {
    position: relative;
  }

  #configurator .tab-menu__item {
    padding-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-black-50);
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.15s;
  }
  #configurator .tab-menu__item:hover {
    color: var(--text-black);
  }
  #configurator .tab-menu__item.active {
    color: var(--text-black);
    border-bottom: 1px solid;
    font-weight: 600;
  }
  #configurator .tab-menu.tab-menu__v2 {
    margin-top: 5px;
    margin-bottom: 5px;
    padding-bottom: 5px;
  }
  #configurator .tab-menu.tab-menu__v2 .tab-menu__item {
    font-size: 12px;
  }

  #configurator .tab-wrapper {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  #configurator .container-tab-menu {
    position: relative;
    padding-right: 25px;
  }

  .pointer_shadow {
    position: relative;
  }
  .pointer_shadow_left {
    position: relative;
  }
  .pointer_shadow_right {
    position: relative;
  }
  #configurator .container-tab-menu .pointer_shadow_left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 19px;
    border-radius: 5px;
    background: linear-gradient(
      -90deg,
      rgba(242, 243, 245, 0.4),
      rgba(242, 243, 245, 0.5) 35%,
      rgba(242, 243, 245, 0.6) 40%,
      rgba(242, 243, 245, 0.7) 45%,
      rgba(242, 243, 245, 0.8) 50%,
      rgba(242, 243, 245, 0.9) 80%,
      rgba(242, 243, 245, 1) 100%
    );
    pointer-events: none;
    z-index: 1;
  }

  #configurator .container-tab-menu .pointer_shadow_right::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 19px;
    border-radius: 5px;
    background: linear-gradient(
      90deg,
      rgba(242, 243, 245, 0.4),
      rgba(242, 243, 245, 0.5) 35%,
      rgba(242, 243, 245, 0.6) 40%,
      rgba(242, 243, 245, 0.7) 45%,
      rgba(242, 243, 245, 0.8) 50%,
      rgba(242, 243, 245, 0.9) 80%,
      rgba(242, 243, 245, 1) 100%
    );
    pointer-events: none;
    z-index: 1;
  }

  #configurator .container-tab-menu .left_pointer,
  #configurator .container-tab-menu .right_pointer {
    position: absolute;
    top: 0;
    cursor: pointer;
    width: 16px;
    height: 16px;
    z-index: 2;
  }
  #configurator .container-tab-menu .left_pointer {
    left: 0;
  }

  #configurator .container-tab-menu .right_pointer {
    right: 0;
  }

  #configurator .container-tab-menu .left_pointer:hover path,
  #configurator .container-tab-menu .right_pointer:hover path {
    transition: all 0.15s;
    stroke-opacity: 1;
  }

  #configurator .tab-content {
    display: flex;
    flex-direction: column;
    row-gap: 15px;
  }
  #configurator
    .tab-wrapper[data-type-wrapper='configTableWrapper']
    .tab-content {
    overflow-y: hidden;
  }
  #configurator .resetBut {
    display: flex;
    align-items: center;
    column-gap: 5px;
    margin: 0 0 0 auto;
    padding-right: 25px;
    width: fit-content;
  }
  #configurator .resetBut__icon {
    display: flex;
  }
  #configurator .resetBut__text {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-black-50);
    cursor: pointer;
    transition-property: all;
    transition-duration: 0.15s;
  }
  #configurator .resetBut__text:hover {
    color: var(--text-black);
  }
  #configurator .tab-content__list {
    min-height: 250px;
    display: grid;
    grid-template-columns: repeat(4, 120px);
    grid-gap: 25px 0;
    justify-content: space-between;
    height: fit-content;
    overflow-y: scroll;
    padding-right: 25px;
  }

  #configurator .tab-content__list__item {
    display: flex;
    flex-direction: column;
    text-align: center;
    color: var(--text-black-50);
  }
  #configurator .tab-content__list__item__name {
    min-height: 15px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 5px;
  }
  #configurator .tab-content__list__item__imageBlock {
    position: relative;
    max-width: 120px;
    max-height: 120px;
    min-height: 120px;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition-property: all;
    transition-duration: 0.2s;
    border: 4px solid transparent;
    margin-bottom: 5px;
  }
  #configurator .tab-content__list__item__imageBlock img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  #appСonfigurator .itemCont__expansion {
    display: none;
  }
  #appСonfigurator .tab-content__list__item.active .itemCont__expansion {
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background-image: url(../img/expansion_img_new.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
  }
  #configurator .tab-content__list__item__imageBloc img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  #configurator .tab-content__list__item__priceText {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 10px;
  }
  #configurator .item-napolnenie .tab-content__list__item__priceText {
    display: flex;
    justify-content: space-between;
    padding: 0 5px;
  }
  #configurator
    .tab-content__list__item.item-radio:hover
    .tab-content__list__item__imageBlock {
    border: 4px solid var(--fill-yellow);
  }
  #configurator
    .tab-content__list__item.active
    .tab-content__list__item__imageBlock {
    border: 4px solid var(--fill-yellow-active);
  }

  /* ======================= */

  /* для полей размеров */
  .listSizeFields {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
  }
  .listSizeFields .fielRowSize {
    display: flex;
    align-items: center;
    column-gap: 10px;
  }
  .listSizeFields label {
    width: 100px;
    font-size: 14px;
    font-weight: 500;
  }
  .listSizeFields .customSelectSection.sizeSelectBlock {
    background: var(--fill-white);
    border-radius: 5px;
  }
  .listSizeFields .currentValueSelect {
    width: 110px;
    height: 40px;
    font-size: 14px;
    padding: 11px 10px;
    line-height: 1;
    background-color: #fff;
  }
  .listSizeFields .currentValueSelect::after {
    position: static;
    margin-left: auto;
  }

  input::-webkit-outer-spin-button,
  input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  .elemFieldBlock input[type='number'] {
    width: 110px;
    height: 40px;
    font-weight: 500;
    font-size: 14px;
    padding: 10px 10px 11px 10px !important;
    border: 1px solid var(--fill-gray-dark-20, rgba(42, 42, 42, 0.2));
    -moz-appearance: textfield;
  }
  .elemFieldBlock input[type='number']:hover {
    border-color: var(--fill-yellow);
  }
  .elemFieldBlock input[type='number']:focus {
    border-color: var(--fill-yellow-active);
  }

  .elemFieldBlock .tapMessage {
    height: 24px;
    display: flex;
    align-items: center;
    column-gap: 5px;
    cursor: pointer;
  }
  .elemFieldBlock .tapMessage__icon {
    display: flex;
  }
  .elemFieldBlock .tapMessage__message {
    display: none;
  }
  .elemFieldBlock .tapMessage:hover .tapMessage__message {
    display: block;
    position: relative;
    width: 240px;
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    font-size: 12px;
  }
  .elemFieldBlock .tapMessage svg {
    opacity: 0.6;
  }
  .elemFieldBlock .tapMessage:hover svg {
    opacity: 1;
  }
  /* ======================= */

  /* блок с выбранными параметрами */
  #configurator .config-resultBlock__content__wrapper {
    margin-top: 30px;
  }
  #configurator .config-resultBlock__content__wrapper:first-child {
    margin-top: 0;
  }

  #configurator .config-resultBlock {
    grid-row: 2;
    grid-column: 10/13;
    display: flex;
    flex-direction: column;
    row-gap: 5px;
  }
  #configurator .config-resultBlock__heading {
    font-size: 18px;
    font-weight: 500;
  }
  #configurator .config-resultBlock__content {
    display: flex;
    flex-direction: column;
    row-gap: 30px;
    border-radius: 5px;
    background: var(--fill-gray-60);
    overflow: hidden;
    padding-right: 5px;
  }
  #configurator .headingWrapper {
    color: var(--text-black-50);
    padding-bottom: 5px;
    border-bottom: 1px solid;
    margin-bottom: 15px;
    font-size: 12px;
    font-weight: 400;
  }

  #configurator .config-resultBlock__listWrappers {
    overflow-y: scroll;
    padding: 0 20px 0 15px;
    margin: 15px 0;
  }
  #configurator .listStringElems .listElems__item {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }
  #configurator .listStringElems {
    margin-bottom: 10px;
  }
  #configurator .listElems__item {
    display: flex;
    flex-direction: column;
    row-gap: 5px;
  }
  #configurator .listElems__item__row {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    gap: 5px 10px;
  }
  #configurator .listElems__item__nameTable {
    grid-column: 1/4;
    font-size: 14px;
    font-weight: 500;
    color: var(--fill-black-50);
  }
  #configurator .listElems__item__countValue {
    font-size: 14px;
    font-weight: 500;
  }
  #configurator .listElems {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
  }
  #configurator .listElems__item__imageBlock {
    display: flex;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid var(--fill-black-20);
  }
  #configurator .listElems__item__imageBlock img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  #configurator .listElems__item__nameElem {
    font-weight: 500;
    font-size: 14px;
  }

  #configurator .config-resultBlock__footer {
    display: flex;
    flex-direction: column;
    row-gap: 18px;
    margin-top: 15px;
  }
  #configurator .config-resultBlock__footer__rowPrice {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-black-50);
    align-items: center;
  }
  #configurator .fullPriceValue {
    color: var(--text-black);
    font-size: 22px;
    font-weight: 600;
  }
  #configurator .config-resultBlock__footer__buttonConfirm {
    font-size: 16px;
    padding: 10px 20px;
    height: 50px;
    background: var(--fill-yellow);
    border-radius: 5px;
    border: none;
    color: var(--fill-white);
    font-weight: 500;
    cursor: pointer;
  }
  #configurator .config-resultBlock__footer__buttonConfirm:hover {
    background: var(--fill-yellow-active);
    transition: all;
    transition-duration: 0.15s;
  }
  /* ======================= */

  /* ======================= */
  #configurator .config-finishBlock {
    grid-column: 4/13;
    display: grid;
    grid-template-columns: 2fr 1fr;
    column-gap: 20px;
    overflow: hidden;
  }
  #configurator .config-finishBlock__center {
    overflow: hidden;
  }
  #configurator .config-finishBlock__center__heading {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
  }
  #configurator .config-finishBlock__center__content {
    background: var(--fill-gray-60);
    margin-top: 5px;
    padding: 15px 5px 50px 20px;
    border-radius: 5px;
    overflow: hidden;
    height: 100%;
  }
  #configurator .config-finishBlock__center__content .listSections {
    height: 100%;
    overflow-y: scroll;
    padding-right: 20px;
  }
  #configurator
    .resultFinish__section.listStringElems
    .resultFinish__section__row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: 280px;
  }
  #configurator .resultFinish__section__heading {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-black-50);
    border-bottom: 1px solid var(--fill-black-20);
    padding-bottom: 5px;
    margin-bottom: 10px;
  }
  #configurator .resultFinish__section__list {
    display: flex;
    flex-direction: column;
  }
  #configurator .resultFinish__section__row {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    column-gap: 10px;
    padding: 5px 0;
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    margin-bottom: 10px;
  }

  #configurator .resultFinish__section__row .resultFinish__section__resetBlock {
    display: flex;
    align-items: center;
    justify-content: end;
  }
  #configurator
    .resultFinish__section__row
    .resultFinish__section__resetBlock
    .butResetItem {
    display: none;
  }
  #configurator
    .resultFinish__item_row:hover
    .resultFinish__section__resetBlock
    .butResetItem {
    display: block;
    cursor: pointer;
  }
  #configurator .elemsBlock .resultFinish__item_row {
    width: 100%;
    display: grid;
    grid-template-columns: auto 4fr 1fr 1fr 1fr;
    column-gap: 10px;
    row-gap: 5px;
    padding: 5px 10px;
  }
  #configurator .elemsBlock .resultFinish__item_row:hover {
    background: var(--fill-gray-20);
  }

  #configurator .elemsBlock .resultFinish__section__name {
    grid-column: 1/6;
    grid-row: 1;
    color: var(--text-black-50);
    font-weight: 500;
  }
  #configurator .elemsBlock .resultFinish__section__imageBlock {
    width: 40px;
    height: 40px;
    display: flex;
    border-radius: 5px;
    overflow: hidden;
  }
  #configurator .elemsBlock img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  #configurator .elemsBlock .resultFinish__section__value {
    display: flex;
    align-items: center;
  }
  #configurator .elemsBlock .selectCountSection {
    grid-column: 3;
  }
  #configurator .selectCountSection {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 6px;
  }
  #configurator .selectCountSection button.setCountBut {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 4px;
    border-radius: 5px;
    cursor: pointer;
  }
  #configurator
    .tab-content__list__item.item-selectCount.active
    .selectCountSection
    button.setCountBut {
    background: var(--fill-yellow);
  }
  #configurator
    .tab-content__list__item.item-selectCount.active
    .selectCountSection
    button.noActive {
    background: none;
  }

  #configurator .selectCountSection button.setCountBut:hover {
    background: var(--fill-yellow-active) !important;
  }
  #configurator .selectCountSection button.noActive:hover {
    background: none !important;
  }
  #configurator .selectCountSection .countInputBlock input {
    height: 26px;
    width: 46px;
    border-radius: 5px;
    background: none;
    text-align: center;
    padding: 0;
    border: 1px solid var(--fill-gray-20);
  }
  #configurator
    .selectCountSection
    .countInputBlock
    input::-webkit-outer-spin-button,
  #configurator
    .selectCountSection
    .countInputBlock
    input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
  #configurator .elemsBlock .resultFinish__section__price {
    grid-column: 4;
    display: flex;
    align-items: center;
    justify-content: end;
    color: var(--text-gray-20);
    font-weight: 500;
  }

  #configurator .config-finishBlock__right {
    display: flex;
    flex-direction: column;
  }
  #configurator .config-priceBlock {
    background: var(--fill-gray-60);
    margin-top: 5px;
    padding: 15px 10px;
    border-radius: 5px;
  }

  #configurator .config-priceBlock__sale {
    display: flex;
    column-gap: 15px;
    align-items: end;
    line-height: 1;
    padding-bottom: 5px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--fill-black-20);
  }

  #configurator .config-priceBlock__sale span:first-child {
    font-size: 14px;
    color: var(--text-black-50);
    font-weight: 500;
  }

  #configurator .config-priceBlock__sale span:last-child {
    font-size: 18px;
    font-weight: 500;
  }

  #configurator .config-priceBlock__content p {
    font-size: 14px;
    color: var(--text-black-50);
    font-weight: 500;
  }

  #configurator .config-priceBlock__priceRow {
    display: flex;
    align-items: center;
    column-gap: 25px;
    margin: 10px 0;
    line-height: 1;
  }

  #configurator .config-priceBlock__priceRow .currentPrice {
    font-size: 22px;
    font-weight: 600;
  }

  #configurator .config-priceBlock__priceRow .oldPrice {
    font-weight: 500;
    color: var(--text-gray-20);
    text-decoration: line-through;
  }

  #configurator .config-priceBlock__bonusValue {
    display: flex;
    column-gap: 5px;
  }
  #configurator .config-priceBlock__bonusValue .iconBlock {
    display: flex;
  }
  #configurator .config-priceBlock__bonusValue span {
    display: flex;
    align-items: center;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
  }

  #configurator .config-finishBlock__form {
    margin: auto 0 0;
  }
  #configurator .config-finishBlock__form > p {
    font-size: 14px;
    line-height: 135%;
    margin-bottom: 25px;
  }

  #configurator form.sendConfigData {
    display: flex;
    flex-direction: column;
    row-gap: 25px;
    height: 180px;
  }
  #configurator form.sendConfigData .fieldBlock {
    position: relative;
  }
  #configurator form.sendConfigData .iconStatusField {
    position: absolute;
    top: 10px;
    left: auto;
    right: 10px;
    display: flex;
  }
  #configurator form.sendConfigData .iconBlock {
    display: flex;
  }
  #configurator form.sendConfigData input[type='tel'] {
    padding: 10px;
    font-size: 14px;
    border: 1px solid var(--fill-black-20);
    height: 50px;
  }
  #configurator form.sendConfigData input[type='tel']:hover {
    border-color: var(--fill-yellow);
  }
  #configurator form.sendConfigData input[type='tel']:focus {
    border-color: var(--fill-yellow);
  }
  #configurator form.sendConfigData button {
    font-size: 16px;
    padding: 10px;
    background: var(--fill-yellow);
    color: #fff;
    height: 50px;
    font-weight: 500;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition-property: all;
    transition-duration: 0.15s;
  }

  #configurator form.sendConfigData button:hover {
    background: var(--fill-yellow-active);
  }
  #configurator .config-finishBlock__form .bottomText {
    font-size: 11px;
    color: var(--text-black-50);
    text-align: center;
  }

  #configurator form.sendConfigData .iconBlock {
    display: none;
  }
  #configurator form.sendConfigData .order_confirmation {
    position: relative;
  }
  #configurator form.sendConfigData .sending_btn {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    row-gap: 10px;
    flex-direction: column;
    z-index: 1;
  }

  #configurator form.sendConfigData .sending_message {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    width: 100%;
    height: 100px;
    border: 1px solid #00ae76;
    border-radius: 5px;
    padding: 5px;
    z-index: 2;
  }
  #configurator form.sendConfigData .sending_message_container {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  #configurator form.sendConfigData .sending_message-heading {
    color: var(--text-black, var(--black, #2a2a2a));
    text-align: center;
    font-size: 14px;
    font-weight: 600;
  }
  #configurator form.sendConfigData .sending_message-text {
    color: var(--text-black, var(--black, #2a2a2a));
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    height: 30px;
  }
  #configurator .fieldBlock.error_status .iconBlock.iconStatusField__error {
    display: flex;
  }

  #configurator .fieldBlock.error_status input[type='tel'] {
    border-color: red;
  }
  #configurator .fieldBlock.error_status input[type='tel']:hover {
    border-color: red;
  }
  #configurator .fieldBlock.error_status .messageField {
    position: absolute;
    height: 2px;
    margin: 3px 0 0 10px;
    display: block;
    font-size: 12px;
    color: red;
    font-weight: 500;
    line-height: 1;
  }

  #configurator .fieldBlock.good_status .iconStatusField__good {
    display: flex;
  }
}

@media (max-width: 1360px) {
  #configurator .tab-content__list {
    grid-gap: 20px;
  }
}

.first_element {
  order: -1;
}
#appСonfigurator .popupWithImg .popupWithImg__wrapper {
  display: flex;
  height: 100%;
  width: 100%;
  justify-content: center;
  align-items: center;
}

#appСonfigurator .popupWithImg .popupWithImg__container {
  position: relative;
  width: fit-content;
  max-width: 700px;
  z-index: 1000;
}
#appСonfigurator .popupWithImg .popupWithImg__exit {
  cursor: pointer;
  width: 40px;
  height: 40px;
  background-image: url(../img/cross_icon.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px;
  margin-left: auto;
}

#appСonfigurator .popupWithImg .popupWithImg__img {
  border-radius: 10px;
}
