

/* Start:/calculator/calculator.css?17502392298640*/
/* Общие стили */
    body {
      font-family: Arial, sans-serif;
      background-color: #f4f4f4;
      margin: 0;
      padding: 0;
    }
    .calc-container {
      width: 90%;
      max-width: 1000px;
      margin: 20px auto;
      background: #fff;
      padding: 20px;
      border-radius: 5px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    .calc-step {
      display: none;
    }
    .calc-step.active {
      display: block;
    }
    .calc-step h2,
    .calc-step h3 {
      text-align: center;
    }
    .calc-navigation {
      margin-top: 20px;
      display: flex;
      justify-content: space-between;
    }
    .calc-navigation button {
      padding: 10px 20px;
      border: none;
      background-color: #f2782a;
      color: #fff;
      border-radius: 3px;
      cursor: pointer;
    }
    .calc-navigation button:hover {
	box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }
    .calc-navigation button[disabled] {
      background-color: #ccc;
      cursor: not-allowed;
    }
    /* Этап 1: Выбор формы столешницы */
    .calc-form-options {
      display: flex;
      justify-content: space-between;
      margin: 20px 0;
      min-height: 250px;
    }
    .calc-option {
      flex: 1;
      margin: 0 10px;
      text-align: center;
      border: 1px solid #ddd;
      padding: 10px;
      border-radius: 5px;
      cursor: pointer;
      transition: box-shadow 0.3s, border-color 0.3s;
      position: relative;
    }
    .calc-option input {
      position: absolute;
      opacity: 0;
      pointer-events: none;
    }
    .calc-option img {
      max-width: 100%;
      height: auto;
      margin-bottom: 10px;
    }
    .calc-option span {
      display: block;
      font-weight: bold;
position: absolute;
    bottom: 10px;
    left: 15px;
    }
    .calc-option:hover {
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }
    .calc-option.selected {
      border-color: #f2782a;
      box-shadow: 0 0 10px rgb(242 120 42 / 50%);
    }
    /* Этап 2: Размеры столешницы */
    .calc-layout-container {
      position: relative;
      text-align: center;
      margin: 20px 0;
    }
    .calc-layout-container input[type="number"], input#phone, input#email {
  display: inline-block;
  width: 80px;
  padding: 0.6rem 1rem;
  font-size: 16px;
  line-height: 1.2;
  color: #333;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ccc;
  border-radius: 6px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
    }
.calc-layout-container input[type="number"]::placeholder, input#phone::placeholder, input#email::placeholder {
  color: #aaa;
  opacity: 1;  /* чтобы в разных браузерах одинаково */
}
/* Состояние при фокусе */
.calc-layout-container input[type="number"]:focus, input#phone:focus, input#email:focus {
  outline: none;
  border-color: #f57c00;     /* оранжевый акцент */
  box-shadow: 0 0 0 3px rgba(245, 124, 0, 0.2);
}
input#phone, input#email {
	width: 180px !important;
}
    .calc-image-wrapper {
      position: relative;
      display: inline-block;
    }
    .calc-image-wrapper img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    /* Для прямой столешницы */
    #step2-straight .calc-input-side {
      position: absolute;
      left: -100px;
      top: 50%;
      transform: translateY(-50%);
    }
    /* Для Г-образной столешницы */
    #step2-g .calc-input-right {
      position: absolute;
      right: -150px;
      top: 35%;
      transform: translateY(-50%);
    }
    #step2-g .calc-input-left {
      position: absolute;
      left: -170px;
      top: 50%;
      transform: translateY(-50%);
    }
    #step2-g .calc-input-bottom-left {
      position: absolute;
      left: 25px;
    }
    /* Для П-образной столешницы */
    #step2-p .calc-input-right {
      position: absolute;
      right: -155px;
      top: 50%;
      transform: translateY(-50%);
    }
    #step2-p .calc-input-left {
      position: absolute;
      left: -150px;
      top: 50%;
      transform: translateY(-50%);
    }
    #step2-p .calc-input-bottom-right {
      position: absolute;
      right: 30px;
    }
    #step2-p .calc-input-bottom-left {
      position: absolute;
      left: 30px;
    }
    #step2-p .calc-input-center-bottom {
      position: absolute;
      left: 50%;
      bottom: 25%;
      transform: translateX(-50%);
    }
    /* Этап 3: Выбор камня (модальное окно) */
    .calc-modal {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.5);
    }
    .calc-modal-content {
      background: #fff;
      margin: 3% auto;
      padding: 20px;
      width: 90%;
      max-width: 600px;
      position: relative;
      border-radius: 5px;
	  /* 80% от высоты экрана */
    }
    .calc-close {
      position: absolute;
      right: 15px;
      top: 10px;
      font-size: 28px;
      cursor: pointer;
    }
    .calc-modal-step h3 {
      margin-top: 0;
      text-align: center;
    }
    .calc-options {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin: 15px 0;
      justify-content: center;
    }
    .calc-option-btn {
      padding: 10px 15px;
      border: 1px solid #ccc;
      background: #f7f7f7;
      cursor: pointer;
      border-radius: 3px;
      transition: background 0.3s;
        display: flex;
        flex-direction: column;
        /*max-width: 49%;*/
        align-items: center;
    }

/*.calc-option-btn b{*/
/*    white-space: nowrap;*/
/*    overflow: hidden;*/
/*    text-overflow: ellipsis;*/
/*}*/
#stoneOptions .calc-option-btn img{
    margin-bottom: 10px;
    /*min-width: 56px;*/
    /*max-width: 56px;*/
    /*min-height: 56px;*/
    /*max-height: 56px;*/
    min-width: 200px;
    max-width: 200px;
    min-height: 200px;
    max-height: 200px;
}

#brandOptions .calc-option-btn img{
    margin-bottom: 10px;
    min-height: 28px;
    max-height: 28px;
}

.calc-option-btn span{
    max-width: 200px
}
    .calc-option-btn.selected {
      background: #f2782a;
      color: #fff;
      border-color: #f2782a;
    }
    .calc-modal-nav {
      display: flex;
      justify-content: space-between;
	  position: absolute;
    bottom: 0;
    background: white;
    width: 90%;
    max-width: 550px;
    padding: 20px;
    }
    .calc-modal-nav button {
      padding: 8px 15px;
      cursor: pointer;
      border: none;
      background: #f2782a;
      color: #fff;
      border-radius: 3px;
    }
    .calc-modal-nav button[disabled] {
      background: #ccc;
      cursor: not-allowed;
    }
    /* Этап 4 и 5: Выбор кромки и бортика */
    .calc-options-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 10px;
      margin: 20px 0;
    }
    /* Этап 6: Доставка */
    .calc-delivery-options {
      display: flex !important;
      gap: 30px;
      margin: 15px;
      justify-content: center;
    }
    .calc-delivery-options label {
      cursor: pointer;
      font-weight: bold;
    }
    .calc-outside-input input {
      padding: 5px;
      width: 150px;
      margin-top: 5px;
    }
    /* Этап 7: Замер */
    .calc-measurement input[type="number"] {
      padding: 5px;
      width: 150px;
    }
    /* Этап 8: Дополнительные услуги */
    .calc-additional-services label {
      display: block;
      margin-bottom: 10px;
    }
    .calc-additional-services input[type="checkbox"] {
      margin-right: 10px;
    }
    /* Этап 9: Итог */
    .calc-summary {
      background-color: #eef;
      padding: 10px;
      margin-top: 20px;
      border-radius: 5px;
    }
    /* Мобильная адаптация */
    @media (max-width: 768px) {
      .calc-form-options {
        flex-direction: column;
      }
      .calc-option {
        margin: 10px 0;
      }
      .calc-options-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .calc-layout-container {
        padding: 0 10px;
      }
      .calc-modal-content {
        margin: 20% auto;
        width: 95%;
      }
    }
#step3 {
	text-align: center;
}
button#chooseStoneBtn {
    background: transparent;
    border-radius: 3px;
    padding: 10px 30px;
    color: #f2782a;
    border: solid 2px #f2782a;
	margin-top: 50px;
}
button#chooseStoneBtn:hover {
background-color: #f2782a
color: #fff
}
/* End */
/* /calculator/calculator.css?17502392298640 */
