:root {
  --calc-shadow: 0 5px 5px rgba(0, 0, 0, .06), 0 5px 5px rgba(0, 0, 0, .03);
  --calc-shadow-hover: 0 10px 10px rgba(0, 0, 0, .12);
}

/* Base */
.balcon-calc-section,
.balcon-calc-section * { box-sizing: border-box; }
.balcon-calc__description{
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 24px;
}
.balcon-calc__description p {
    margin-bottom: 16px
}
.balcon-calc-section button,
.balcon-calc-section input,
.balcon-calc-section select { font: inherit; }
.balcon-calc-section button { cursor: pointer; }

.balcon-calc-section .calc {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.balcon-calc-section .head {
  position: relative;
  margin-bottom: 34px;
  padding: 28px 32px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(79, 199, 181, .20);
  box-shadow: var(--calc-shadow);
  backdrop-filter: blur(8px);
}

.balcon-calc-section .head::after {
  content: "Sale 5%";
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 8px 12px;
  background: var(--color-red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.balcon-calc-section .head h1 {
  margin: 0 0 16px;
  color: #000;
  font-size: 36px;
  font-weight: 700;
  line-height: 48px;
}

.balcon-calc-section .lead {
  max-width: 100%;
  margin: 0;
  color: var(--color-three);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-align: justify;
}

.balcon-calc-section .wrap {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 28px;
  align-items: start;
  padding: 0;
}

.balcon-calc-section .left,
.balcon-calc-section .right {
  position: relative;
  min-width: 0;
  padding: 24px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(79, 199, 181, .18);
  box-shadow: var(--calc-shadow);
}

.balcon-calc-section .left::before,
.balcon-calc-section .right::before {
  content: "";
  display: block;
  height: 6px;
  margin: -24px -24px 22px;
  background: linear-gradient(90deg, var(--color-one), var(--color-two));
}

.balcon-calc-section .right::before {
  background: linear-gradient(90deg, var(--color-two), var(--color-one), var(--color-red));
}

.balcon-calc-section .section-title {
  margin: 0 0 16px;
  color: #000;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}

/* Buttons */
.balcon-calc-section .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 12px 24px;
  border: 1px solid var(--color-one);
  border-radius: 0;
  background: var(--color-one);
  color: #fff;
  box-shadow: 0 10px 22px rgba(48, 151, 135, .18);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-align: center;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}

.balcon-calc-section .btn:hover {
  transform: translateY(-1px);
  background: var(--color-two);
  border-color: var(--color-two);
  box-shadow: 0 16px 30px rgba(48, 151, 135, .22);
}

.balcon-calc-section .btn--dark,
.balcon-calc-section .btn.secondary {
  background: var(--color-three);
  border-color: var(--color-three);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .12);
}

.balcon-calc-section .btn--dark:hover,
.balcon-calc-section .btn.secondary:hover {
  background: #000;
  border-color: #000;
}

.balcon-calc-section .addCartBtn,
.balcon-calc-section .payment__btns .btn:first-child {
  background: var(--color-red);
  border-color: var(--color-red);
}

.balcon-calc-section .addCartBtn:hover,
.balcon-calc-section .payment__btns .btn:first-child:hover {
  background: #bf0035;
  border-color: #bf0035;
}

/* Shape selector */
.balcon-calc-section .shape-slider {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  gap: 8px;
  align-items: stretch;
  margin: 0 0 24px;
}

.balcon-calc-section .shape-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 16px) / 3);
  grid-template-columns: none;
  gap: 8px;
  margin: 0;
  padding: 0 0 8px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--color-one) rgba(78, 78, 78, .12);
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.balcon-calc-section .shape-row::-webkit-scrollbar { height: 6px; }
.balcon-calc-section .shape-row::-webkit-scrollbar-track { background: rgba(78, 78, 78, .12); }
.balcon-calc-section .shape-row::-webkit-scrollbar-thumb { background: var(--color-one); }

.balcon-calc-section .shape-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 86px;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(78, 78, 78, .12);
  border-radius: 0;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .04);
  color: inherit;
  font: inherit;
  text-align: center;
  overflow: hidden;
  scroll-snap-align: center;
  user-select: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .15s ease, background .15s ease;
}

.balcon-calc-section .shape-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: var(--color-one);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.balcon-calc-section .shape-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-one);
  box-shadow: var(--calc-shadow-hover);
}

.balcon-calc-section .shape-card:hover::after,
.balcon-calc-section .shape-card.active::after { transform: scaleX(1); }

.balcon-calc-section .shape-card.active {
  border-color: var(--color-one);
  background: linear-gradient(180deg, rgba(79, 199, 181, .14), #fff 72%);
  box-shadow: 0 16px 36px rgba(48, 151, 135, .14);
  color: #000;
}

.balcon-calc-section .shape-card img {
  display: block;
  height: 46px;
  max-width: 100%;
  margin: 0 auto 4px;
  object-fit: contain;
}

.balcon-calc-section .shape-card span {
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.balcon-calc-section .shape-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  min-width: 38px;
  border: 1px solid rgba(79, 199, 181, .22);
  border-radius: 0;
  background: #fff;
  color: var(--color-two);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .04);
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.balcon-calc-section .shape-nav:hover {
  transform: translateY(-1px);
  background: var(--color-one);
  border-color: var(--color-one);
  color: #fff;
  box-shadow: var(--calc-shadow-hover);
}

.balcon-calc-section .shape-nav svg {
  display: block;
  width: 22px;
  height: 22px;
}

.balcon-calc-section .shape-nav path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Preview and ranges */
.balcon-calc-section .preview {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 382px;
  padding: 54px 70px 64px;
  border: 1px solid rgba(79, 199, 181, .22);
  background:
    linear-gradient(90deg, rgba(79, 199, 181, .07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(79, 199, 181, .07) 1px, transparent 1px),
    linear-gradient(145deg, #fff 0%, #f5fffd 100%);
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, .68);
  overflow: hidden;
}

.balcon-calc-section .preview-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 270px;
}

.balcon-calc-section .preview img {
  max-width: 100%;
  max-height: 300px;
  object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(48, 151, 135, .18));
}

.balcon-calc-section .range-line,
.balcon-calc-section .range-bottom {
  position: absolute;
  z-index: 3;
  background: #d9d9d9;
  border-radius: 999px;
}

.balcon-calc-section .range-line {
  top: 40px;
  bottom: 86px;
  left: 38px;
  width: 6px;
}

.balcon-calc-section .range-bottom {
  right: 70px;
  bottom: 38px;
  left: 88px;
  height: 6px;
}

.balcon-calc-section .range-control {
  position: absolute;
  z-index: 5;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  accent-color: var(--color-one);
  cursor: pointer;
}

.balcon-calc-section .range-control::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--color-one);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
  -webkit-appearance: none;
}

.balcon-calc-section .range-control::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: var(--color-one);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}

.balcon-calc-section .range-control::-webkit-slider-runnable-track,
.balcon-calc-section .range-control::-moz-range-track {
  height: 6px;
  background: transparent;
}

.balcon-calc-section .range-width {
  right: 70px;
  bottom: 28px;
  left: 88px;
  width: calc(100% - 158px);
  height: 22px;
}

.balcon-calc-section .range-height {
  top: 164px;
  left: -96px;
  width: 270px;
  height: 22px;
  transform: rotate(-90deg);
  transform-origin: center;
}

.balcon-calc-section .range-tip {
  position: absolute;
  z-index: 5;
  padding: 6px 10px;
  background: var(--color-red);
  box-shadow: 0 10px 24px rgba(229, 0, 64, .20);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  pointer-events: none;
}

.balcon-calc-section .range-tip-width {
  bottom: 58px;
  left: 50% !important;
  transform: translateX(-50%);
}

.balcon-calc-section .range-tip-height {
  top: 50%;
  right: 18px;
  left: auto !important;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
}

/* Type tabs */
.balcon-calc-section .toggle-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}

.balcon-calc-section .type-tab {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 74px;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(78, 78, 78, .12);
  border-radius: 0;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .04);
  color: inherit;
  text-align: left;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .15s ease, background .15s ease;
}

.balcon-calc-section .type-tab::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: var(--color-one);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.balcon-calc-section .type-tab:hover {
  transform: translateY(-2px);
  border-color: var(--color-one);
  box-shadow: var(--calc-shadow-hover);
}

.balcon-calc-section .type-tab:hover::after,
.balcon-calc-section .type-tab.active::after { transform: scaleX(1); }

.balcon-calc-section .type-tab.active {
  border-color: var(--color-one);
  background: linear-gradient(180deg, rgba(79, 199, 181, .14), #fff 72%);
  box-shadow: 0 16px 36px rgba(48, 151, 135, .14);
}

.balcon-calc-section .type-tab span {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
}

.balcon-calc-section .type-tab small {
  display: block;
  margin-top: 4px;
  color: var(--color-three);
  font-size: 13px;
  line-height: 18px;
}

.balcon-calc-section .type-tab__icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  margin: 0;
  border: 1px solid rgba(79, 199, 181, .26);
  border-radius: 0;
  background: linear-gradient(135deg, #fff, #f5fffd);
  color: var(--color-two);
  box-shadow: 0 8px 18px rgba(48, 151, 135, .10);
}

.balcon-calc-section .type-tab__icon svg {
  display: block;
  width: 25px;
  height: 25px;
}

.balcon-calc-section .type-tab[data-type="cold"] .type-tab__icon {
  color: var(--color-one);
  border-color: rgba(79, 199, 181, .25);
}

.balcon-calc-section .type-tab[data-type="cold"].active .type-tab__icon {
  background: var(--color-one);
  border-color: var(--color-one);
  color: #fff;
}

.balcon-calc-section .type-tab[data-type="warm"] {
  border-color: rgba(229, 0, 64, .18);
}

.balcon-calc-section .type-tab[data-type="warm"]::after {
  background: var(--color-red);
}

.balcon-calc-section .type-tab[data-type="warm"] .type-tab__icon {
  background: rgba(229, 0, 64, .04);
  border-color: rgba(229, 0, 64, .25);
  color: var(--color-red);
}

.balcon-calc-section .type-tab[data-type="warm"]:hover {
  border-color: var(--color-red);
  box-shadow: 0 10px 20px rgba(229, 0, 64, .15);
}

.balcon-calc-section .type-tab[data-type="warm"].active {
  border-color: var(--color-red);
  background: linear-gradient(180deg, rgba(229, 0, 64, .10), #fff 72%);
  box-shadow: 0 16px 36px rgba(229, 0, 64, .12);
}

.balcon-calc-section .type-tab[data-type="warm"].active .type-tab__icon {
  background: var(--color-red);
  border-color: var(--color-red);
  color: #fff;
}

/* Fields */
.balcon-calc-section .fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
}

.balcon-calc-section .field label {
  display: block;
  margin-bottom: 6px;
  color: #3d3d3d;
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
}

.balcon-calc-section .field input,
.balcon-calc-section .field select {
  display: block;
  width: 100%;
  height: 48px;
  padding: 12px 16px;
  border: 1px solid #d9d9d9;
  border-radius: 0;
  background: #fff;
  color: #000;
  box-shadow: none;
  outline: none;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.balcon-calc-section .field input:focus,
.balcon-calc-section .field select:focus {
  border-color: var(--color-one);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(79, 199, 181, .15);
}

.balcon-calc-section .field select {
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23444' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.balcon-calc-section .field input[type="number"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: textfield;
}

.balcon-calc-section .field input[type="number"]::-webkit-outer-spin-button,
.balcon-calc-section .field input[type="number"]::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

/* Stats */
.balcon-calc-section .stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 18px 0 28px;
  padding: 18px;
  border: 1px solid rgba(79, 199, 181, .14);
  background: linear-gradient(135deg, var(--color-gray), #fff);
}

.balcon-calc-section .stats__item {
  flex: 1;
  display: grid;
  grid-template-columns: 26px 1fr 42px;
  align-items: center;
  min-width: 0;
  gap: 10px;
  color: var(--color-three);
  font-size: 14px;
}

.balcon-calc-section .stats__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-two);
}

.balcon-calc-section .stats__bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(78, 78, 78, .12);
  overflow: hidden;
}

.balcon-calc-section .stats__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  box-shadow: 0 0 12px rgba(79, 199, 181, .30);
}

.balcon-calc-section .stats__bar--red span { background: linear-gradient(90deg, #ff7b5c, #ff5b4d); }
.balcon-calc-section .stats__bar--yellow span { background: linear-gradient(90deg, #ffd54f, #f6bf26); }
.balcon-calc-section .stats__bar--green span { background: linear-gradient(90deg, #7ed957, #69c53f); }

.balcon-calc-section .stats__item b {
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  text-align: right;
}

/* Options */
.balcon-calc-section .checks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 20px;
}

.balcon-calc-section .check {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: 74px;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(78, 78, 78, .12);
  border-radius: 0;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .04);
  text-align: left;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .15s ease, background .15s ease;
}

.balcon-calc-section .check::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: var(--color-one);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.balcon-calc-section .check:hover {
  transform: translateY(-2px);
  border-color: var(--color-one);
  box-shadow: var(--calc-shadow-hover);
}

.balcon-calc-section .check:hover::after,
.balcon-calc-section .check:has(input:checked)::after { transform: scaleX(1); }

.balcon-calc-section .check:has(input:checked) {
  border-color: var(--color-one);
  background: linear-gradient(180deg, rgba(79, 199, 181, .14), #fff 72%);
  box-shadow: 0 16px 36px rgba(48, 151, 135, .14);
}

.balcon-calc-section .check b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
}

.balcon-calc-section .check small {
  display: block;
  margin-top: 4px;
  color: var(--color-three);
  font-size: 13px;
  line-height: 18px;
}

.balcon-calc-section .lamination-options {
  display: none;
  grid-column: 1 / -1;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(79, 199, 181, .14);
  background: var(--color-gray);
}

.balcon-calc-section .lamination-options.show { display: grid; }

/* Payment */
.balcon-calc-section .payment {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid rgba(79, 199, 181, .18);
  border-radius: 0;
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .06);
}

.balcon-calc-section .payment__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.balcon-calc-section .payment__list > div {
  position: relative;
  min-width: 0;
  padding: 2px 12px;
  border-left: 4px solid var(--color-one);
  background: var(--color-gray);
}

.balcon-calc-section .payment__subtitle {
  color: var(--color-three);
  font-size: 14px;
  line-height: 20px;
}

.balcon-calc-section .payment__value {
  color: #000;
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 28px;
  white-space: nowrap;
}

.balcon-calc-section .payment__list--product .payment__subtitle,
.balcon-calc-section .payment__list--product .payment__value { font-size: 15px; }

.balcon-calc-section .payment__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.balcon-calc-section .pay--mobile { display: none; }

/* Cart */
.balcon-calc-section .cart-area {
  display: none;
  margin-top: 30px;
}

.balcon-calc-section .cart-area.show { display: block; }

.balcon-calc-section .cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.balcon-calc-section .cart__title {
  position: relative;
  margin: 0;
  padding-left: 18px;
  font-size: 28px;
  font-weight: 700;
  line-height: 36px;
}

.balcon-calc-section .cart__title::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: 6px;
  background: var(--color-one);
}

.balcon-calc-section .cart-clear {
  height: 42px;
  padding: 0 14px;
  border: none;
  background: var(--color-three);
  color: #fff;
  font-weight: 500;
}

.balcon-calc-section .cart-list {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.balcon-calc-section .cart-item {
  display: grid;
  grid-template-columns: 146px 1fr auto;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(79, 199, 181, .16);
  border-radius: 0;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .05);
  overflow: hidden;
}

.balcon-calc-section .cart-item__img {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 126px;
  padding: 24px;
  background: #fff;
}

.balcon-calc-section .cart-item__img img {
  max-width: 100%;
  max-height: 82px;
  object-fit: contain;
}

.balcon-calc-section .cart-item__data {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 24px;
}

.balcon-calc-section .cart-item__text {
  color: var(--color-three);
  font-size: 14px;
  line-height: 20px;
}

.balcon-calc-section .cart-item__side {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 28px 22px 0;
}

.balcon-calc-section .cart-price {
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}

.balcon-calc-section .remove {
  position: relative;
  width: 23px;
  height: 23px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0;
}

.balcon-calc-section .remove::before,
.balcon-calc-section .remove::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 10px;
  width: 2px;
  height: 20px;
  background: #9aa5ad;
  border-radius: 2px;
}

.balcon-calc-section .remove::before { transform: rotate(45deg); }
.balcon-calc-section .remove::after { transform: rotate(-45deg); }
.balcon-calc-section .remove:hover::before,
.balcon-calc-section .remove:hover::after { background: #111; }

.balcon-calc-section .cart-total {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
  padding: 20px;
  border-radius: 0;
  background: linear-gradient(135deg, var(--color-dark-gray), #222);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .15);
  color: #fff;
}

.balcon-calc-section .cart-total h3 {
  margin: 0;
  color: #fff;
  font-size: 28px;
  line-height: 36px;
}

.balcon-calc-section .cart-total .payment__list > div {
  background: rgba(255, 255, 255, .10);
  border-left-color: var(--color-one);
}

.balcon-calc-section .cart-total .payment__subtitle { color: rgba(255, 255, 255, .78); }
.balcon-calc-section .cart-total .payment__value { color: #fff; }

.balcon-calc-section .cart-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.balcon-calc-section .installment {
  padding: 12px 16px;
  border-radius: 0;
  background: var(--color-red);
  box-shadow: 0 10px 24px rgba(229, 0, 64, .22);
  color: #fff;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.balcon-calc-section .installment__label {
  font-size: 11px;
  opacity: .7;
}

.balcon-calc-section .cart-submit {
  height: 50px;
  padding: 0 14px;
  border: none;
  background: var(--color-one);
  color: #fff;
  font-size: 16px;
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 991px) {
  .balcon-calc-section { padding: 34px 0; }

  .balcon-calc-section .head { padding: 24px 20px 26px; }
  .balcon-calc-section .head::after {
    position: static;
    display: inline-block;
    margin-top: 14px;
  }
  .balcon-calc-section .head h1 {
    font-size: 32px;
    line-height: 42px;
  }
  .balcon-calc-section .wrap { grid-template-columns: 1fr; }
  .balcon-calc-section .left::before,
  .balcon-calc-section .right::before { margin: -24px -24px 18px; }
  .balcon-calc-section .payment__list,
  .balcon-calc-section .cart-total { grid-template-columns: repeat(2, 1fr); }
  .balcon-calc-section .cart-bottom { grid-column: 1 / -1; }

  .balcon-calc-section .pay--desktop { display: none; }
  .balcon-calc-section .pay--mobile { display: block; }

  .balcon-calc-section .cart-item { grid-template-columns: 120px 1fr; }
  .balcon-calc-section .cart-item__img { grid-row: 1 / span 2; }
  .balcon-calc-section .cart-item__side {
    grid-column: 2;
    justify-content: flex-start;
    padding: 0 28px 22px;
  }
}

@media (max-width: 767px) {
  .balcon-calc-section .head { padding: 20px 16px; }
  .balcon-calc-section .head h1 {
    font-size: 28px;
    line-height: 36px;
  }
    .balcon-calc-section .cart-item__body {
      padding: 10px;
    }
  .balcon-calc-section .left,
  .balcon-calc-section .right { padding: 16px; }

  .balcon-calc-section .left::before,
  .balcon-calc-section .right::before { margin: -16px -16px 16px; }

  .balcon-calc-section .preview {
    min-height: 320px;
    padding: 40px 48px 58px 18px;
  }

  .balcon-calc-section .fields,
  .balcon-calc-section .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .balcon-calc-section .stats {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 20px;
    padding: 14px;
  }

  .balcon-calc-section .payment {
    padding: 16px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
  }

  .balcon-calc-section .payment__list,
  .balcon-calc-section .cart-total .payment__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .balcon-calc-section .payment__list > div {
    padding: 10px;
    border-radius: 10px;
  }

  .balcon-calc-section .payment__subtitle {
    margin-bottom: 3px;
    font-size: 13px;
    line-height: 18px;
  }

  .balcon-calc-section .payment__value {
    font-size: 20px;
    line-height: 26px;
  }

  .balcon-calc-section .payment__btns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 14px;
  }

  .balcon-calc-section .payment__btns .btn,
  .balcon-calc-section .btn { width: 100%; }

  .balcon-calc-section .cart-area.show {
    display: flex;
    flex-direction: column;
  }

  .balcon-calc-section .cart-total {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
    border-radius: 14px;
    background: var(--color-dark-gray);
  }

  .balcon-calc-section .cart-bottom {
    display: grid;
    grid-template-columns: 1fr;
  }

  .balcon-calc-section .installment {
    border-radius: 10px;
    text-align: center;
  }
}

@media (min-width: 561px) and (max-width: 991px){
  .balcon-calc-section .shape-row{
    grid-auto-columns: 30%;
  }
}
@media (max-width: 560px) {
  .balcon-calc-section .shape-nav{
    display:none;
  }

  .balcon-calc-section .shape-slider{
    grid-template-columns:1fr;
  }

  .balcon-calc-section .shape-row {grid-auto-columns: 40%;}
  .balcon-calc-section .shape-card { min-height: 82px; }
  .balcon-calc-section .shape-card img { height: 42px; }

  .balcon-calc-section .type-tab__icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  .balcon-calc-section .type-tab__icon svg {
    width: 22px;
    height: 22px;
  }

  .balcon-calc-section .toggle-tabs { grid-template-columns: 1fr; }
  .balcon-calc-section .fields { grid-template-columns: repeat(2, 1fr); }

  .balcon-calc-section .preview { padding: 22px 20px 58px; }
  .balcon-calc-section .preview-inner { height: 220px; }

  .balcon-calc-section .range-line,
  .balcon-calc-section .range-height,
  .balcon-calc-section .range-tip-height { display: none; }

  .balcon-calc-section .cart-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .balcon-calc-section .cart-item { grid-template-columns: 1fr; }
  .balcon-calc-section .cart-item__img { display: none; }

  .balcon-calc-section .cart-item__side {
    grid-column: auto;
    justify-content: space-between;
    padding: 0 20px 20px;
  }

  .balcon-calc-section .cart-item__data {
    display: flex;
    gap: 4px 12px;
    font-size: 17px;
  }

  .balcon-calc-section .cart-installment { display: block; }
  .balcon-calc-section .cart-installment b {
    display: block;
    margin-top: 5px;
  }
   .balcon-calc-section .range-width{
    left:20px;
    right:20px;
    width:calc(100% - 40px);
  }

  .balcon-calc-section .range-bottom{
    left:20px;
    right:20px;
  }
}

.balcon-calc-section .check input[type="checkbox"] {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  width: 24px;
  height: 24px;
  min-width: 24px;
  margin: 1px 0 0;
  position: static;
  pointer-events: auto;
  accent-color: var(--color-red);
}
.balcon-calc-section {
  max-width: 100%;
  overflow-x: hidden;
}

.balcon-calc-section .shape-slider {
  max-width: 100%;
  overflow: hidden;
}

.balcon-calc-section .shape-row {
  max-width: 100%;
  overscroll-behavior-x: contain;
}

.balcon-calc-section .btn {
  margin-top: 0 !important;
}

.balcon-calc-section .btn::after {
  content: none !important;
  display: none !important;
}