@import url('../fonts/Montserrat/stylesheet.css');

/*Сброс стандартных стилей браузера*/
* {
  box-sizing: border-box;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}

:focus {
  outline: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1.1;
  font-weight: normal;
  font-style: normal;
  color: #222222;
  font-family: Montserrat, 'Open Sans', sans-serif;
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-results-button,
input[type=search]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  -moz-appearance: none;
}

input[type=search] {
  -webkit-appearance: none;
  -moz-appearance: none;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

textarea {
  overflow: auto;
  vertical-align: top;
  resize: vertical;
}

audio,
canvas,
video {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  max-width: 100%;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden] {
  display: none;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  overflow-y: scroll;
  scroll-behavior: smooth;
  scroll-padding-top: 200px;
}

*:focus,
*:active,
*:hover {
  outline: none;
}

figure {
  margin: 0;
}

form {
  margin: 0;
}

legend {
  border: 0;
  padding: 0;
  white-space: normal;
}

button,
input,
select,
textarea {
  font-size: 100%;
  margin: 0;
  vertical-align: baseline;
  *vertical-align: middle;
  font-family: montserrat, 'Open Sans', sans-serif;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  -khtml-border-radius: 0;
  border-radius: 0;
  -moz-box-shadow: 0 0;
  -webkit-box-shadow: 0 0;
  box-shadow: 0 0;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

button,
input {
  line-height: normal;
}

button,
select {
  text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
  overflow: visible;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

html,
button,
input,
select,
textarea {
  color: #212529;
}

::-moz-selection {
  background: #B3D4FC;
  text-shadow: none;
}

::selection {
  background: #B3D4FC;
  text-shadow: none;
}

img {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
  border: 0;
  -ms-interpolation-mode: bicubic;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  width: 100%;
  resize: vertical;
  overflow: auto;
  vertical-align: top;
  font-family: inherit;
}

/* 1. Прячем стандартный чекбокс, но оставляем его доступным для браузера и валидации */
.wpcf7-list-item label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* 2. Настраиваем обертку, чтобы текст и квадратик стояли ровно */
.wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  position: relative;
  margin-bottom: 0;
}

/* 3. Создаем сам квадратик чекбокса */
.wpcf7-list-item label .wpcf7-list-item-label::before {
  content: "";
  display: inline-block;
  width: 22px;
  /* Ширина квадратика */
  height: 22px;
  /* Высота квадратика */
  flex-shrink: 0;
  /* Запрещаем квадратику сжиматься */
  border: 2px solid #ccc;
  /* Цвет рамки пустого чекбокса */
  border-radius: 4px;
  /* Скругление углов */
  margin-right: 12px;
  /* Отступ от квадратика до текста */
  background-color: #fff;
  transition: all 0.2s ease;
  position: relative;
  top: 2px;
  /* Легкое выравнивание по высоте текста */
}

/* 4. Рисуем саму галочку (она создается CSS-рамками) */
.wpcf7-list-item label .wpcf7-list-item-label::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 5px;
  width: 6px;
  height: 11px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: all 0.2s ease;
}

/* 5. Меняем цвет квадратика при нажатии (состояние checked) */
.wpcf7-list-item label input[type="checkbox"]:checked+.wpcf7-list-item-label::before {
  background-color: #168DA8;
  /* Ваш фирменный цвет */
  border-color: #168DA8;
}

/* 6. Показываем галочку при нажатии */
.wpcf7-list-item label input[type="checkbox"]:checked+.wpcf7-list-item-label::after {
  opacity: 1;
}

/* 7. Опционально: стилизация текста и ссылки согласия */
.wpcf7-list-item-label {
  font-size: 14px;
  line-height: 1.4;
  color: #333;
}

.wpcf7-list-item-label a {
  color: #168DA8;
  text-decoration: underline;
}

.wpcf7-list-item-label a:hover {
  text-decoration: none;
}

.wpcf7-not-valid-tip {
  color: #dc3232;
  font-size: 14px;
  font-weight: normal;
  display: block;
  margin-top: 5px;
}

.wpcf7-list-item {
  margin: 0;
}

.wpcf7-list-item .wpcf7-list-item-label {
  font-size: 14px;
  text-align: left;
}

.speczialist {
  margin-bottom: 15px;
}

.box-footer {
  --aspect-ratio: 16/9;
  position: relative;
  height: 0;
  padding-bottom: calc(100% / (var(--aspect-ratio)));
}

.box-footer>* {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.ml-10 {
  margin-left: 10px;
}

/* .box-rating {
  width: 150px;
  height: 50px;
  position: relative;
}

.box-rating iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
  display: block;
} */

.box-akcia {
  width: min(100%, 1000px);
  margin-inline: auto;
}