input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield; /* Firefox */
}

.custom-popup {
	box-sizing: border-box;
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100vh;
	padding: 0 16px;
	display: none;
	z-index: 99998;
}
.custom-popup.is-open {
  display: block;
}
.custom-popup--md {
  z-index: 99999;
}
@media (max-width: 1023px) {
  .custom-popup {
    padding: 0;
  }
}
.custom-popup--md .custom-popup__wrapper {
  max-width: 500px;
}
@media (max-width: 1023px) {
  .custom-popup--md .custom-popup__wrapper {
    max-width: 100%;
  }
}
.custom-popup__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
@media (max-width: 1023px) {
  .custom-popup__overlay {
    opacity: 0;
  }
}
.custom-popup__wrapper {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
@media (max-width: 1023px) {
  .custom-popup__wrapper {
    max-width: 100%;
    height: 100vh;
  }
}
.custom-popup__inner {
  width: 100%;
  background-color: #FFFFFF;
  padding: 48px 44px 48px 40px;
  border-radius: 8px;
}
@media (max-width: 1023px) {
  .custom-popup__inner {
    border-radius: 0;
    height: 100vh;
    overflow-y: auto;
    padding: 32px 16px 80px;
  }
  .custom-popup__inner::-webkit-scrollbar {
    display: none;
  }
}
.custom-popup__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 21px;
  height: 21px;
  z-index: 2;
  cursor: pointer;
}

.product-calc {
	font-family: "Inter", sans-serif;
	color: var(--white_text_black);
}
.product-calc__title {
  font-size: 24px;
  line-height: 1.3;
  font-weight: 400;
  color: #222222;
  margin-bottom: 24px;
}
@media (max-width: 767px) {
  .product-calc__title {
    font-size: 21px;
  }
}
.product-calc__item {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
@media (max-width: 767px) {
  .product-calc__item {
    position: relative;
    flex-direction: column;
    gap: 4px;
    padding-left: 116px;
  }
}
.product-calc__item-img {
  display: flex;
  align-items: center;
  justify-content: baseline;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .product-calc__item-img {
    position: absolute;
    top: 0;
    left: 0;
  }
}
.product-calc__item-img img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.product-calc__item-info {
  flex-grow: 1;
}
@media (max-width: 767px) {
  .product-calc__item-info {
    width: 100%;
  }
}
.product-calc__item-name {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 500;
  margin-bottom: 4px;
}
@media (max-width: 767px) {
  .product-calc__item-name {
    font-size: 16px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
.product-calc__item-sizes {
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .product-calc__item-sizes {
    width: 100%;
  }
}
.product-calc__item-sizes-title {
  font-size: 14px;
  line-height: 1.5;
  color: #555555;
  margin-bottom: 8px;
}
.product-calc__item-sizes-select {
  display: flex;
  align-items: center;
  gap: 16px;
}
.product-calc__item-sizes-control {
  position: relative;
}
.product-calc__item-sizes-control input {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  opacity: 0;
}
.product-calc__item-sizes-control input:checked + label {
  border-color: #142569;
  box-shadow: 0 0 0 1px #142569;
}
.product-calc__item-sizes-control label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: #142569;
  padding: 14px 16px;
  border-radius: 3px;
  border: 1px solid #8A92B4;
}
.product-calc__item-price {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
	white-space: nowrap;
	text-align: left;
}
.product-calc__item-price-title {
  font-size: 12px;
  line-height: 1.2;
  color: #848585;
}
.product-calc__item-price-value {
	font-size: 26px;
	line-height: 1.25;
	font-weight: 600;
	width: 100%;
}
.product-calc__item-price-top {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-right: 14px;
  border-bottom: 1px solid #E4E4ED;
}
.product-calc__item-price-variants {
  display: flex;
  align-items: center;
  gap: 6px;
}
.product-calc__item-price-variants-item input {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  opacity: 0;
}
.product-calc__item-price-variants-item input:checked + label {
  color: #DE291F;
}
.product-calc__item-price-variants-item input:checked + label::before {
  opacity: 1;
}
.product-calc__item-price-variants-item label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 32px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: #535454;
  padding: 3px 5px 8px 5px;
  border-radius: 3px;
}
.product-calc__item-price-variants-item label::before {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #DE291F;
  opacity: 0;
}
.product-calc__form {
  margin-top: 24px;
}
.product-calc__form-title {
  font-size: 15px;
  line-height: 1.3;
  font-weight: 500;
  margin-bottom: 12px;
}
@media (max-width: 767px) {
  .product-calc__item-sizes-select {
    overflow-x: auto;
    max-width: 100%;
    padding: 2px 0 2px 2px;
    margin: -2px -16px -2px -2px;
    min-width: calc(100% + 16px);
  }

  .product-calc__item-sizes-select::-webkit-scrollbar {
    display: none;
  }
  .product-calc__form-title {
    margin-bottom: 8px;
    font-size: 14px;
  }
}
.product-calc__form-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
}
@media (max-width: 767px) {
  .product-calc__form-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
}
.product-calc__form-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 767px) {
  .product-calc__form-groups {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
}
.product-calc__form-group {
  width: 100%;
  position: relative;
}
.product-calc__form-group-input {
  display: block;
  width: 100%;
  padding: 14px 52px 14px 15px;
  background-color: #FFFFFF;
  font-size: 16px;
  line-height: 1.25;
  color: #222222;
  border-radius: 3px;
  border: 1px solid #DADADA;
}
.product-calc__form-group-input::-moz-placeholder {
  color: #999999;
}
.product-calc__form-group-input::placeholder {
  color: #999999;
}
.product-calc__form-group-tip {
  position: absolute;
  right: 15px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  cursor: pointer;
}
@media (any-hover: hover) {
  .product-calc__form-group-tip:hover .product-calc__form-group-tip-cloude {
    opacity: 1;
    visibility: visible;
  }
}
.product-calc__form-group-tip-btn {
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #E6E6E6;
	border-radius: 3px;
	transition: all 0.1s;
}

.product-calc__form-group-desc {
  display: none;
}

.product-calc__form-group-tip-btn svg {
  display: block;
  width: 20px;
  height: 20px;
}

.product-calc__form-group-tip-btn:hover {
	background-color: #D3D3D3;
}
.product-calc__form-group-tip-cloude {
  min-width: 251px;
  position: absolute;
  font-size: 14px;
  text-align: center;
  line-height: 1.2;
  top: -100px;
  right: 216px;
  margin-bottom: 10px;
  position: relative;
  padding: 16px;
  background-color: #FFFFFF;
  border-radius: 2px;
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.0784313725);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@media (max-width: 1023px) {
  .product-calc__form-group-tip-cloude {
    display: none;
  }
}
.product-calc__form-group-tip-cloude::before {
  position: absolute;
  display: block;
  width: 12px;
  height: 6px;
  bottom: -6px;
  right: 20px;
  content: "";
  background: url("../images/arrow-down.svg") no-repeat;
}
@media (max-width: 1024px) {
  .product-calc__form-group-tip-cloude::before {
    display: none;
  }
}
@media (max-width: 767px) {
  .product-calc__form-submit {
    width: 100% !important;
  }

  .product-calc__form-group-tip {
    display: none;
  }

  .product-calc__form-group-desc {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    line-height: 1.5;
    color: #999999;
  }
}
.product-calc__result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
@media (max-width: 1023px) {
  .product-calc__result {
    grid-template-columns: 1fr;
    margin-top: 12px;
  }
}
.product-calc__block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 15px;
  border: 1px solid #E4E4ED;
  border-radius: 8px;
}
.product-calc__block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.product-calc__block-tip {
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #E6E6E6;
	border-radius: 3px;
	cursor: pointer;
	transition: all 0.1s;
}
.product-calc__block-tip:hover {
	background-color: #D3D3D3;
}
.product-calc__block-name {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
}
.product-calc__block-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.product-calc__block-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.product-calc__block-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.product-calc__block-detail:first-child {
  align-items: flex-start;
}
.product-calc__block-detail:last-child {
	align-items: flex-end;
	width: 145px;
}
.product-calc__block-detail--l .product-calc__block-detail-value {
  font-size: 20px;
}
.product-calc__block-detail--l .product-calc__block-detail-value span {
  font-size: 16px;
}
.product-calc__block-detail-label {
  font-size: 13px;
  line-height: 1.6;
  color: #555555;
}
.product-calc__block-detail-value {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

@media(max-width: 389px) {
  .product-calc__block-detail-value {
    font-size: 14px;
  }

  .product-calc__block-detail--l .product-calc__block-detail-value {
    font-size: 16px;
  }
}
.product-calc__block-detail-value span {
  color: #999999;
}
.product-calc__block-btn {
  width: 100% !important;
}
.product-calc__block-notify {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 8px 10px;
	background-color: #F5F5F7;
	font-size: 13px;
	line-height: 1.25;
	border: 1px solid #E4E4ED;
	border-radius: 4px;
	min-height: 50px;
}
.product-calc__block-notify svg {
	width: 23px !important;
	height: auto;
}
.product-calc__notify {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 24px;
	padding: 8px 12px;
	background-color: #F5F5F7;
	border-radius: 4px;
	font-size: 14px;
	line-height: 1.2;
	min-width: 51%;
}

.product-calc__notify svg {
  flex-shrink: 0;
}

.calc-tip {
  font-family: "Inter", sans-serif;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.calc-tip__title {
  font-size: 24px;
  line-height: 1.25;
  font-weight: 400;
}
@media (max-width: 767px) {
  .calc-tip__title {
    font-size: 21px;
  }
}
.calc-tip__desc {
  font-size: 15px;
  line-height: 1.4;
}
.calc-tip__img {
  display: flex;
  align-items: center;
  justify-content: center;
}
.calc-tip__btn {
  width: auto;
}

.custom-btn {
  box-sizing: border-box;
  align-self: center;
  display: inline-block;
  width: auto;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  color: #FFFFFF;
  padding: 15px 24px;
  background-color: #142569;
  border-radius: 3px;
  border: none;
  outline: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  cursor: pointer;
}

.custom-tooltip-popup {
  font-family: "Inter", sans-serif;
  display: none;
}
@media (max-width: 1024px) {
	.custom-tooltip-popup {
		position: fixed;
		inset: 0;
		width: 100%;
		height: 100vh;
		align-items: flex-end;
		z-index: 99999;
	}
  .custom-tooltip-popup.is-open {
    display: flex;
  }
}
.custom-tooltip-popup__overlay {
  display: none;
}
@media (max-width: 1024px) {
  .custom-tooltip-popup__overlay {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    background: rgba(44, 48, 51, 0.3);
  }
}
.custom-tooltip-popup__close {
  display: none;
}
@media (max-width: 1024px) {
  .custom-tooltip-popup__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 21px;
    height: 21px;
    margin-left: auto;
    outline: none;
    background: transparent;
    border-radius: 0;
    border: none;
    padding: 0;
  }
}
@media (max-width: 1024px) {
  .custom-tooltip-popup__inner {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #FFFFFF;
    align-items: flex-start;
    gap: 4px;
    padding: 16px;
    border-radius: 12px 12px 0 0;
  }
}
.custom-tooltip-popup__inner::before {
  position: absolute;
  display: block;
  width: 12px;
  height: 6px;
  bottom: -6px;
  right: 20px;
  content: "";
  background: url("../images/arrow-down.svg") no-repeat;
}
@media (max-width: 1024px) {
  .custom-tooltip-popup__inner::before {
    display: none;
  }
}
.custom-tooltip-popup__info {
  font-size: 14px;
  line-height: 1.2;
}

.color-red {
  color: #DE291F;
}

.color-green {
  color: #5FA957;
}/*# sourceMappingURL=calc.css.map */
.product-calc__form-group-input.err {
	border-color: red;
}
.product-calc__block-notify span {
	font-weight: bold;
}
#flat_popup2, #flat_popup {
	z-index: 999999;
}
.calc-tip__img img {
	width: 90%;
}
@media (max-width: 1024px) {
	[data-popup-btn="linoleum_calculator"] {
		margin: -20px 0 -15px;
	}
}