.calc_form input::-webkit-input-placeholder       {font-size: 16px; font-weight: 300}
.calc_form input::-moz-placeholder                {font-size: 16px; font-weight: 300}
.calc_form input:-moz-placeholder                 {font-size: 16px; font-weight: 300}
.calc_form input:-ms-input-placeholder            {font-size: 16px; font-weight: 300}
.calc_form input:focus::-webkit-input-placeholder {font-size: 16px; font-weight: 300}
.calc_form input:focus::-moz-placeholder          {font-size: 16px; font-weight: 300}
.calc_form input:focus:-moz-placeholder           {font-size: 16px; font-weight: 300}
.calc_form input:focus:-ms-input-placeholder      {font-size: 16px; font-weight: 300}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    font-family: 'Commissioner', sans-serif;
}


img {
    max-width: 100% !important;
}

.italic {
    font-style: italic;
}

.weight-100 {
    font-weight: 100;    
}

  /* Стили Cookie-Баннера под брендбук stroi.by */
  .stroi-cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 540px;
    background: #ffffff;
    border: 2px solid #e3e3e3;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 20px;
    z-index: 999999;
    font-family: 'Commissioner', sans-serif;
    color: #222222;
    box-sizing: border-box;
    display: none;
  }
  .stroi-cookie-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #20242B;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .stroi-cookie-text {
    font-size: 15px;
    line-height: 1.45;
    color: #515253;
    margin-bottom: 16px;
    font-weight: 300;
  }
  .stroi-cookie-text a {
    color: #3c85c3;
    text-decoration: underline;
  }
  .stroi-cookie-details {
    display: none;
    margin-bottom: 16px;
    padding: 12px;
    background: #e5eff9;
    border-radius: 8px;
    font-size: 14px;
  }
  .stroi-cookie-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
  }
  .stroi-cookie-option:last-child { margin-bottom: 0; }
  .stroi-cookie-option label {
    font-weight: 700;
    cursor: pointer;
  }
  .stroi-cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .stroi-cookie-btn {
    flex: 1 1 auto;
    padding: 12px 18px;
    font-family: 'Commissioner', sans-serif;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s ease;
  }
  .stroi-cookie-btn--accept {
    background: #ff9900;
    color: #ffffff;
    box-shadow: 0px 3px 0px 0px rgba(230, 130, 0, 1);
  }
  .stroi-cookie-btn--accept:hover {
    background: #ffb23f;
  }
  .stroi-cookie-btn--reject {
    background: #ffffff;
    color: #515253;
    border: 1px solid #cccccc;
  }
  .stroi-cookie-btn--settings {
    background: transparent;
    color: #3c85c3;
    border: none;
    text-decoration: underline;
    font-size: 13px;
    padding: 6px;
    width: 100%;
    margin-top: 4px;
  }
  /* Кнопка открытия параметров в футере */
  .stroi-cookie-reopen {
    font-size: 13px;
    color: #3c85c3;
    cursor: pointer;
    text-decoration: underline;
  }
  
#showError {
    background: #ff0000;
    padding: 12px;
    text-align: center;
    color: white;
    margin: 0 auto 12px auto;
    border-radius: 4px;
    box-shadow: 0px 0px 8px 0.6px rgba(0,0,0,0.5);
}

.link-title {
    color: #000;
}

.overflow-x-scroll {
    overflow-x: scroll;
}

.info-warning {
  display: inline-flex;
  margin-bottom: 23px;
  column-gap: 10px;
  align-items: center;
  padding: 15px;
  border: 4px solid #ff993e;
  border-radius: 7px;
  background-color: #fff;
}

@media(max-width: 480px) {
  .info-warning {
    flex-direction: column;
  }
}
.info-warning img {
  width: 53px;
  height: auto;
}
.info-warning p {
  margin-bottom: 0;
  font-family: 'Commissioner', sans-serif;
  font-size: 33px;
  line-height: 33px;
  font-weight: 800;
  color: #ff993e;
  text-align: center;
}

.hidden {
  display: none !important;
}

.calc_form .phone-href, .calc_form .js-modal-launcher {
  cursor: pointer;
  font-weight: 500;
}

.calc_form .phone-href:hover, .calc_form .js-modal-launcher:hover {
  text-decoration: underline;
}

.calc_form .phone-href > span {
  font-weight: 800;
}

.calc_form input[type="number"] {
  display: block;
  padding: 15px;
  width: 100%;
  font-family: 'Commissioner', sans-serif;
  font-size: 21px;
  line-height: 1.0;
  font-weight: 800;
  line-height: 33px;
  border: 1px solid #e3e3e3;
}

.calc_form select.input-error, .calc_form input.input-error {
  background: #f3dfe2;
  border: 1px solid #f3dfe2;
}

.calc_form select.input-success, .calc_form input.input-success {
  background: #ccffcc;
  border: 1px solid #ccffcc;
}

.calc_form .system_message {
  padding: 24px;
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.calc_form .system_message p {
  width: 100%;
  font-size: 1rem;
  line-height: 1.4;
  margin: 4px auto;
}

.calc_form .system_message.info_message {
  background: #ccddff;
}

.calc_form .input-button-font-like {
  display: block;
  margin: 6px auto 25px auto;
  text-align: center
}

.calc_form .calc_summary {
  padding-top: 20px;
}

.calc_form .calc_summary .price-rate-value:after {
  content: "";
  display: none;
}

.price-rate-selector-wrapper {
  text-align: center;
}

.calc_foundation_form .calc_summary {
  margin-top:5px;
}

.calc_foundation_form .system_message {
  margin-top: 16px;
}

.calcContainer {
  background: #fff;
  padding: 32px 0;
}

.calc_form .image-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.js-dynamic-text-wrapper {
display: inline-block; 
width: auto;
overflow: hidden;
position: relative;
top: 8px;
color: #ff9900;
}
.js-dynamic-text-wrapper span {
display: none;
}
.js-dynamic-text-wrapper span.active {
display: inline-block;
}	

.dynamic-text-cursor{
display: inline-block;
width: 7px;
height: 32px;
margin-right: 10px;
vertical-align: middle;
background: url(assets/img/dynamic-text-cursor.png);
background-repeat: no-repeat;
}

.result-box--example {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Шрифт с засечками */


ul {
    margin-bottom: 24px;
}

ul.content-list li, ol.content-list li, .pretty-table-wrapper table td, .pretty-table-wrapper table th {
    font-size: 21px;
    line-height: 35px;
    font-weight: 200;
    margin-left: 32px;
    list-style-type: disc;
}

.pretty-table-wrapper table th {
    font-weight: 600;
}

/* Оборачивающий блок: отвечает за горизонтальный скролл */
.pretty-table-wrapper {
    width: 100%;
    overflow-x: auto;
    /* Добавляем небольшой отступ снизу для полосы прокрутки */
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch; /* Плавный скролл на мобильных */
}

/* Базовые стили таблицы */
.pretty-table-wrapper table {
    width: 100%;
    border-collapse: collapse; /* Объединяем границы ячеек в одну линию */
    font-family: sans-serif;
    text-align: left;
    /* Жесткий алгоритм: таблица слушается размеров ячеек и не раздувается */
    table-layout: fixed; 
}

/* Рамки для сетки таблицы, ограничение ширины и перенос текста */
.pretty-table-wrapper th, 
.pretty-table-wrapper td {
    border: 1px solid #dcdcdc; /* Светло-серая рамка */
    padding: 12px 16px;       /* Удобные отступы */
    font-size: 1rem;
    
    /* Ограничение ширины и правила переноса */
    max-width: 280px;         /* Максимальная ширина ячейки (подстройте под себя) */
    white-space: normal;      /* Разрешаем перенос строк */
    word-wrap: break-word;    /* Ломаем длинные слова и ссылки, если они не влезают */
    overflow-wrap: break-word;
}

/* Стили для компактной таблицы */
.pretty-table-wrapper .small-size th, 
.pretty-table-wrapper .small-size td {
    padding: 6px 8px;       /* Уменьшенные отступы */
    font-size: 0.91rem;
    line-height: 1.2;
    
    /* Продублируем ограничения для компактного класса на случай переопределения */
    max-width: 200px;       /* Для компактной таблицы можно сделать ячейки чуть уже */
    white-space: normal;
    word-wrap: break-word;
}

/* Стили шапки (заголовков) таблицы */
.pretty-table-wrapper th {
    background-color: #f4f4f4; /* Светло-серый фон */
    font-weight: bold;
    color: #333;
}

/* Эффект полосатых строк для читаемости */
.pretty-table-wrapper tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Белая заливка в портфолио - убрал */
.js-collapsable__fading:before {
    content: none !important;
    background: none !important;
}

.lb-outerContainer {
    width: auto !important;
    display: inline-block;
}

.lb-dataContainer {
    width: auto !important;
    max-width: 1280px;
}

.lb-data .lb-close {
    display: block;
    position: absolute;
    float: none;
    left: 50%;
    margin-left: -15px;
    width: 30px;
    height: 30px;
}

.currency-note { margin-top: 10px; }
.common-table td .price-rate-value { white-space: nowrap; }

@media screen and (max-width: 1280px) {
    .lb-dataContainer {
        max-width: 98%;
    }
}

@media screen and (max-width: 767px) {
     /* Машинка */
    .concrete-pump {
        display: none !important;
    }

    .mobile-image-above { margin-bottom: 20px; }

    /* Люфты в ресурсе ундамент под ключ
    .wrapper {
        border: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    */
}

@media(max-width: 1199px) {
    body#page-kladka-blokov .fundaments-table tr td {
        white-space: normal; 
        word-wrap: break-word; 
    }
}

@media(min-width: 1200px) {
    body#page-kladka-blokov .fundaments-table tr td {
        max-width: 380px;
        padding: 8px;
        text-align: center;
        vertical-align: middle;
        /* Разрешаем перенос текста */
        white-space: normal; 
        /* Добавляем перенос длинных слов, если они не влезают в max-width */
        word-wrap: break-word; 
        word-break: break-word;
        
        border-bottom: 1px solid rgba(0,0,0,0.1);
        border-right: 1px solid rgba(0,0,0,0.1);
        cursor: pointer;
    }
}