/* CSS Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.services-vipaks {

/* Grid System */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

.container_padding {
  padding-left: 30px;
  padding-right: 30px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.row_no-gutter {
  margin: 0;
  padding: 0 14px;
}
.row.row_no-gutter {
	justify-content: space-between;
}
.calc-block .form-control {height: 34px;}
.select-block__data
 {
    display: inline-block;
    min-width: 221px;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    vertical-align: middle;
}
.calc-block__filter .row.middle-xs{
	display: flex;
    flex-wrap: wrap;
    /* gap: 0.5rem; */
    justify-content: space-between;
}
.calc-block__filter .row:before,
.calc-block__filter .row:after {
	display: none;
}
.col-xs-12 {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 15px;
}

.col-sm-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 15px;
}

.col-md-3 {
  flex: 0 0 25%;
  max-width: 25%;
  padding: 0 15px;
}

.col-md-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 15px;
}

.col-lg-3 {
  flex: 0 0 25%;
  max-width: 25%;
  padding: 0 15px;
}

.col-xl-3 {
  flex: 0 0 25%;
  max-width: 25%;
  padding: 0 15px;
}

}

/* Responsive Grid */
@media (max-width: 767px) {
.services-vipaks {
  .col-sm-6, .col-md-3, .col-md-6, .col-lg-3, .col-xl-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .container_padding {
    padding-left: 15px;
    padding-right: 15px;
  }
}  
}

@media (min-width: 768px) and (max-width: 991px) {
.services-vipaks {	
  .col-md-3, .col-lg-3, .col-xl-3 {
    flex: 0 0 50%;
    max-width: 50%;
  }
} 
}


.services-vipaks {
/* Alignment Classes */
.center-xs {
  justify-content: center;
  text-align: center;
}

.middle-xs {
	align-items: center;
	padding-left: 8px;
	padding-right: 8px;
}

.end-sm {
  justify-content: flex-end;
  text-align: right;
}

.start-print {
  justify-content: flex-start;
  text-align: start;
}

/* Utility Classes */
.hidden {
  display: none;
}

.print-hidden {
  display: block;
}
}

@media print {
  .print-hidden {
    display: none !important;
  }
}


.services-vipaks {
/* Calculator Styles */
.page-calculator {
  display: block;
}

.calc-block {
  display: block;
}

.calc-block__filter {
  background: var(--theme-base-color);
  padding: 12px 14px;
}

.calc-block__data {
  background: #3a8cf0;
}

.calc-block__total {
  background: #275fa3;
  overflow: hidden;
    padding: 0 14px;
}

.calc-block__col {
  padding: 12px 8px;
}

.calc-block__col_blue {
  background: #21508a;
}

.calc-block__btn {
  padding: 12px;
  text-align: center;
  border-bottom: 1px solid #ccc;
}
}
@media print {
  .calc-block__data,
  .calc-block__total,
  .calc-block__filter {
    background: none;
  }
}
.services-vipaks {
/* Features Styles */
.features-unit {
  display: block;
}

.features-unit + .features-unit {
 /* border-top: 1px solid #195fa6; */
}

.features-unit__col {
  padding: 20px 8px;
}

.features-group {
  display: block;
}

.features-group__title {
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1rem;
  color: #fff;
  margin-bottom: 15px;
}

.features-group__info {
  margin-top: 15px;
}

.features-group__item + .features-group__item {
  margin-top: 10px;
}

.features-row {
  display: flex;
  border-bottom: 1px solid #fff;
}

.features-row_no-border {
  border-bottom-color: transparent;
}

.features-row__name {
  width: 70%;
  font-size: 0.75rem;
  line-height: 1.45rem;
  color: #fff;
}

.features-row__value {
  width: 30%;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.45rem;
  color: #ffd400;
  text-align: right;
}

/* Group Result Styles */
.groupResult {
  border-top: 1px solid #fff;
  align-items: center;
  padding: 0 14px;
}

.groupResult .features-row {
  border-bottom: none;
}

.groupResult .features-group__title {
 /* color: #ffd400; */
}

/* Form Controls */
.form-control {
  display: block;
  width: 100%;
  padding: 8px 10px;
  font-size: 0.875rem;
  line-height: 1rem;
  color: #000;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
}

.form-control_small {
  padding: 2px 10px;
  border-radius: 4px;
}

/* Select Styles */
.select-block {
  display: flex;
  flex-wrap: wrap;
}

.select-block_small {
  font-size: 0.875rem;
}

.select-block__text {
  display: inline-block;
  min-width: 110px;
  margin-right: 10px;
  font-size: 0.75rem;
  color: #fff;
}

.select-block__data {
  flex: 1;
}

.calc-block__data .select {
  width: 100%;
  padding: 5px 10px;
  font-size: 0.875rem;
  color: #000;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.select_styl {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 8px center;
  background-repeat: no-repeat;
  background-size: 16px 12px;
  padding-right: 40px;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 8px 12px;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1rem;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background: #3a8cf0;
  border: 1px solid #3a8cf0;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #46a8ff;
  border-color: #46a8ff;
}

.btn_small {
  padding: 3px 7px;
  font-size: 0.75rem;
}

.btn_blue-dark {
  background: #21508a;
  border-color: #21508a;
}

.btn_blue-dark:hover {
  background: #2860a6;
  border-color: #2860a6;
}

.btn_icon .icon {
  margin-right: 7px;
  display: inline-block;
  vertical-align: middle;
}

.features-unit .btn:hover,
.features-unit .btn:focus{
    color: #fff;
 }
.calc-block__total  .btn:hover,
.calc-block__total   .btn:focus{
    color: #fff;
 }
 .calc-block__btn   .btn:hover,
 .calc-block__btn    .btn:focus{
    color: #fff;
 }
.calc-result .btn:hover,
.calc-result .btn:focus{
    color: #fff;
 }


/* Camera Selection Styles */
.cams_select {
  opacity: 0.5;
}

.cams_select.active {
  opacity: 1.0;
}

.cams_select .title .checkbox__label {
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1rem;
  color: #fff;
  text-align: right;
}

/* Icon Styles */
.icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.icon_plus {
  width: 12px;
  height: 12px;
  fill: #fff;
}

.icon_x {
  transform: rotate(45deg);
}

/* Chosen.js Select Styles */
.chosen-container {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  font-size: 13px;
  zoom: 1;
  user-select: none;
  width: 100% !important;
}

.chosen-container-single .chosen-single {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0 0 0 8px;
  height: 34px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  background-clip: padding-box;
  text-decoration: none;
  white-space: nowrap;
  line-height: 32px;
}

.chosen-container-single .chosen-single span {
  display: block;
  overflow: hidden;
  margin-right: 26px;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--white_text_black);
}

.chosen-container-single .chosen-single div {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: 18px;
  height: 100%;
}

.chosen-container-single .chosen-single div b {
  display: block;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") no-repeat center center;
  background-size: 12px;
}

.chosen-container-single .chosen-drop {
  position: absolute;
  top: 100%;
  left: -9999px;
  z-index: 1010;
  width: 100%;
  border: 1px solid #ccc;
  border-top: 0;
  background: #fff;
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
}

.chosen-container-single.chosen-with-drop .chosen-drop {
  left: 0;
}

.chosen-container .chosen-results {
  color: #444;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  margin: 0 4px 4px 0;
  padding: 0 0 0 4px;
  max-height: 240px;
}

.chosen-container .chosen-results li {
  display: none;
  margin: 0;
  padding: 5px 6px;
  list-style: none;
  line-height: 15px;
  word-wrap: break-word;
}

.chosen-container .chosen-results li.active-result {
  display: list-item;
  cursor: pointer;
}

.chosen-container .chosen-results li.highlighted {
  background-color: #3a8cf0;
  color: #fff;
}

/* Calc Results */
.calc-result {
  display: none;
}



.chosen-drop ul li:before {
    content: "";
	display: none;
}

}

/* Responsive Design */
@media (max-width: 767px) {
.services-vipaks {	
  .calc-block__col {
    margin: 0 auto;
    max-width: 500px;
  }

  .container_padding {
    padding-left: 15px;
    padding-right: 15px;
  }

  .features-unit__col {
    padding: 15px 0;
  }
}  
}

@media (min-width: 768px) and (max-width: 1199px) {
.services-vipaks {	
  .features-unit__col {
    padding: 15px 0;
  }
}  
}

@media print {
  .calc-block__col {
    padding: 5px 0;

  }

  .features-unit__col {
    padding: 5px 0;
    flex-basis: 50%;
    max-width: 50%;
  }

  .features-row__name {
    color: #b2b2b2;
  }

  .features-row__value {
    color: #000;
  }

  .calc-block__total {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
  }
  
  
  .calc-block__filter .row.middle-xs
 {

 }
 .product-result__data, .calc-result__item .col-xs-3, .calc-result__item .col-xs-6 {
    max-width: 230px;
    width: 33.333%;
 }
}

.services-vipaks {
/* Общая таблица */
.calc-result {
  margin: 20px 0;
  font-family: Arial, sans-serif;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}

/* Заголовок */
.fullwidth_block.gray {
  background: #f5f5f5;
  font-weight: bold;
  padding: 10px 15px;
  font-size: 16px;
  border-bottom: 1px solid #ddd;
}

/* Строки */
.calc-result__item .row {
  display: table;
  width: 100%;
  table-layout: fixed;
  border-bottom: 1px solid #eee;
  margin-left: 0px;
  margin-right: 0px;
}

.calc-result__item .row:last-child {
 /* border-bottom: none; */
}

/* Ячейки */
.product-result__data,
.calc-result__item .col-xs-3,
.calc-result__item .col-xs-6 {
  display: table-cell;
  vertical-align: middle;
  padding: 12px 10px;
  border-right: 1px solid #eee;
}

.calc-result__item .row .col-xl-2:last-child,
.calc-result__item .row .col-xl-3:last-child {
  border-right: none;
}

/* Заголовки ячеек */
.product-result__data-label {
  font-size: 12px;
  color: #777;
  margin-bottom: 5px;
}

.product-result__data-value {
  font-weight: 600;
  color: #333;
}

/* Картинка */
.product-result__img {
  max-width: 80px;
  margin: 0 auto;
}
.product-result__img-src {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid #ddd;
    aspect-ratio: 3 / 2;
}

/* Итог */
.calc-result__total-count,
.calc-result__total-summ {
  font-weight: bold;
  font-size: 15px;
  color: #222;
}

/* Кнопки */
.calc-result__footer {
 /* background: #fafafa; */
  border-top: 1px solid #ddd;
  padding: 15px;
  font-size: 13px;
}
.calc-result__footer-btn .btn {
  margin: 5px;
}


/* ===== Общий блок калькулятора ===== */
.calc-block {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #333;
}

.calc-block__filter,
.calc-block__data,
.calc-block__total {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 20px;
}

/* ===== Заголовки разделов ===== */
.features-group__title {
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 12px;
  color: #222;
  border-left: 4px solid #007acc;
  padding-left: 8px;
}

/* ===== Поля (input и select) ===== */
.form-control,
.select {
  width: 100%;
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: 0.2s ease;
  font-size: 13px;
  background: #fff;
}

.form-control:focus,
.select:focus {
  border-color: #007acc;
  box-shadow: 0 0 5px rgba(0,122,204,0.3);
  outline: none;
}

.select-block {
  margin-bottom: 12px;
}
.select-block__text {
  font-size: 12px;
  color: var(--white_text_black);
  margin-bottom: 4px;
}

/* ===== Checkbox ===== */
.checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.checkbox__input {
  margin-right: 8px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.checkbox__label {
  cursor: pointer;
  font-size: 13px;
  color: #333;
}

/* ===== Табличные строки характеристик ===== */
.features-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid #eaeaea;
}

.features-row:last-child {
  border-bottom: none;
}

.features-row__name {
  color: #666;
}
.features-row__value {
  font-weight: bold;
  color: #222;
}

/* ===== Кнопки ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s ease;
  text-decoration: none;
  border: none;
}

.btn_blue-dark {
  background: #007acc;
  color: #fff;
}
.btn_blue-dark:hover {
  background: #005f99;
}

.btn_small {
  font-size: 12px;
  padding: 6px 10px;
}

.btn_icon svg {
  margin-right: 5px;
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ===== Итоговый блок ===== */
.calc-block__total .features-row {
  font-size: 14px;
}
.calc-block__total .features-row__value {
  font-size: 15px;
  font-weight: 700;
}
.calc-block__col_blue {
  background: #eaf6ff;
  border-radius: 4px;
}


/* Скрыть стандартный чекбокс */
.checkbox__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Стилизованный контейнер */
.checkbox_white.checkbox_small {
  position: relative;
  display: flex;
  align-items: center;
}

.checkbox__label {
  position: relative;
  padding-left: 30px;
  font-size: 14px;
  cursor: pointer;
  color: var(--white_text_black);
  user-select: none;
  transition: color 0.2s;
}

/* Рисуем кастомный чекбокс */
.checkbox__label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: #fff;
  border: 1px solid #1976d2;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(25,118,210,0.07);
  transition: border-color 0.2s, box-shadow 0.2s;
}

/* Галочка при выборе */
.checkbox__input:checked + .checkbox__label::after {
  content: '';
  left: 5px;
  top: 45%;
  width: 10px;
  height: 5px;
  position: absolute;
  border-left: 2px solid #1976d2;
  border-bottom: 2px solid #1976d2;
  transform: rotate(-45deg);
  opacity: 1;
}

/* Обводка при фокусе */
.checkbox__input:focus + .checkbox__label::before {
  border-color: #1565c0;
  box-shadow: 0 0 0 0.1em #1976d230;
}

/* Hover эффект */
.checkbox__label:hover::before {
  border-color: #1565c0;
}

.chosen-search input {
	position: relative;
    display: block;
    overflow: hidden;
    padding: 0 0 0 8px;
    height: 34px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    background-clip: padding-box;
    text-decoration: none;
    white-space: nowrap;
    line-height: 32px;
	margin: 0.5rem;
}
.product-result__title  {text-align: center;}
}

@media print {
    body {
        background: none !important;
        color: #111 !important;
    }
    .container, .calc-block, .fullwidth_block {
        box-shadow: none !important;
        background: #fff !important;
        border-radius: 0 !important;
        padding: 0 !important;
    }
    .calc-block__filter,
    .calc-block__data,
    .features-group,
    .table {
        page-break-inside: avoid;
    }
    .btn, .link, .print-hidden {
        display: none !important;
    }
    a {
       /* color: #1976d2 !important; 
        text-decoration: underline !important; */
    }
    .features-row__value, .features-row__name {
        color: #111 !important;
    }
    .features-group__title {
        color: #111 !important;
    }
    .fullwidth_block {
        background: #eee !important;
        color: #111 !important;
    }
    /* Сократить отступы и поля */
    .row, .calc-block__col, .features-group__item, .features-unit__col {
        padding: 0 !important;
        margin: 0 !important;
    }
	section.page-top
 {
    padding-block: 40px 5px;
	    margin-top: -40px;
 }
	.calc-block {
    display: flex;
	flex-direction: column;
    gap: 8px;
	background: #fff;
    border: none;
	}
	.row.row_no-gutter
 {
    justify-content: space-between;
 }
	.chosen-container-single .chosen-single
 {
    height: 26px;
    line-height: 28px;
 }
 .calc-block .form-control {
    height: 26px;
 }
 .features-unit__col
 {
    padding: 7px 0;
 }
 .features-group__item + .features-group__item {
    margin-top: 5px;
}
}
.chosen-container .chosen-search {
    display: none !important;
}
/* Для разделения на листы */
@page {
    size: A4 portrait;
    margin: 14mm;
}

