/* =====================
   Background (component-bg)
   ===================== */
.container-fluid .bg-color .overlay,
.w_widget .bg-color .overlay {
  opacity: 1 !important;
}

.b_block:last-of-type .component-bg { height: 100%; }

.component-bg {
  overflow: hidden;
  clip: rect(auto, auto, auto, auto);
  pointer-events: none;
  z-index: -1;
}

.component-bg,
.component-bg .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

.component-bg .overlay {
  z-index: 1;
  transition: all .18s;
}

.component-bg.bg-color .image-holder,
.component-bg.bg-color .video_bg_container { display: none; }

.component-bg.video_is_loaded .image-holder { opacity: 0; }

.component-bg .image-holder,
.component-bg .video_bg_container {
  position: relative;
  z-index: 0;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

.component-bg .image-holder .image,
.component-bg .image-holder .video_bg_player,
.component-bg .video_bg_container .image,
.component-bg .video_bg_container .video_bg_player {
  position: absolute;
  width: 100%; height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
}

.component-bg .image-holder .image,
.component-bg .video_bg_container .image {
  image-rendering: optimizeSpeed;
  image-rendering: auto;
  image-rendering: -o-crisp-edges;
  image-rendering: optimize-contrast;
  -ms-interpolation-mode: nearest-neighbor;
}

.component-bg .image-holder {
  opacity: 1;
  transition: opacity .35s;
}

.component-bg .loader-image {
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  background-size: cover;
  background-color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
}

.component-bg.loading .image {
  overflow: hidden;
  position: relative;
}

.component-bg.loading .loader-image {
  opacity: 1;
  visibility: visible;
  -webkit-filter: blur(25px);
  filter: blur(25px);
  transform: scale(1.1);
}

@media (min-width: 980px) {
  .component-bg.bg-video[data-parallax=true] .image-holder,
  .component-bg.bg-video[data-parallax=true] .video_bg_container { position: fixed; }

  .component-bg.bg-video[data-parallax=true] .image-holder .video_bg_player,
  .component-bg.bg-video[data-parallax=true] .video_bg_container .video_bg_player {
    transform: translateZ(0);
    will-change: transform;
  }
}

.component-bg.bg-image[data-parallax] .overlay { transition: none; }

.component-bg .parallax-outer,
.component-bg .parallax-outer canvas {
  position: absolute;
  top: 0; bottom: 0; left: 0; right: 0;
  margin: auto;
}

@media (max-width: 767px) {
  .component-bg .video_bg_container { display: none; }
  .component-bg.video_is_loaded .image-holder { opacity: 1; }

  .component-bg .image-holder .image,
  .component-bg .image-holder .video_bg_player,
  .component-bg .video_bg_container .image,
  .component-bg .video_bg_container .video_bg_player {
    transform: translateZ(0) !important;
  }
}

/* =====================
   Logo
   ===================== */
.component-logo {
  max-width: 100%;
  min-height: 50px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 50%;
}

.component-logo.text {
  min-width: 60px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
}

.component-logo a {
  display: inline-block;
  width: 100%; height: 100%;
  text-decoration: none;
  color: inherit;
  font: inherit;
}

.component-logo .text-logo {
  width: 100%;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* =====================
   Icon
   ===================== */
.component-ico {
  width: 100%; height: 100%;
  max-width: 128px; max-height: 128px;
}

.component-ico svg {
  fill: #fff;
  fill: currentColor;
  width: 100%; height: 100%;
}

.component-ico .ico {
  width: 100%; height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 50%;
}

/* =====================
   Media (image/video containers)
   ===================== */
.component-media { position: relative; padding-bottom: 100%; }
.component-media[data-type=video] { padding-bottom: 56.5%; }
.component-media[data-type=image] { overflow: hidden; }

.component-media > .component-image:not([data-img-type=image]),
.component-media > .component-slider,
.component-media > .component-video,
.component-media > .component-video > .component-image {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  padding-bottom: 0 !important;
}

.component-media > .component-video iframe { position: relative; }

/* =====================
   Image
   ===================== */
.component-image {
  position: relative;
  overflow: hidden;
  display: block;
}

.component-image,
.component-image .loading-img {
  image-rendering: optimizeSpeed;
  image-rendering: auto;
  image-rendering: -o-crisp-edges;
  image-rendering: optimize-contrast;
  -ms-interpolation-mode: nearest-neighbor;
  background-size: cover;
  background-position: 50%;
  background-repeat: no-repeat;
}

.component-image .loading-img {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  margin: -5px;
  transition: all .3s;
}

.component-image[data-img-size=contain],
.component-image[data-img-size=contain] .loading-img {
  background-size: contain;
  background-position: 50% !important;
}

.component-image[data-img-size=repeat],
.component-image[data-img-size=repeat] .loading-img {
  background-size: auto;
  background-repeat: repeat;
}

.component-image.loading .loading-img {
  -webkit-filter: blur(3px);
  filter: blur(3px);
  opacity: 1;
  visibility: visible;
}

.component-image[data-img-type=background] { padding-bottom: 100%; }

.component-image .natural-img {
  display: none !important;
  visibility: hidden;
  opacity: 0;
  width: 0; height: 0;
}

/* =====================
   Button
   ===================== */
.component-button {
  display: inline-block;
  min-width: 150px;
  max-width: 350px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.429;
  letter-spacing: normal;
  text-align: center;
  word-break: normal;
  -webkit-font-smoothing: auto;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.component-button .btn-content {
  position: relative;
  color: #fff;
  padding: 10px 16px;
  transform: translateZ(0);
  will-change: opacity;
  transition: background .25s ease;
  margin: auto;
}

.component-button .btn-content svg {
  pointer-events: none;
  fill: currentColor;
  width: 24px; height: 24px;
  display: block;
  position: absolute !important;
  top: 50%; left: 50%;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(.6);
}

.component-button .btn-content span { transition: opacity .45s; }

.component-button:hover { text-decoration: none; cursor: pointer; }

.component-button.animate-add-to-cart { pointer-events: none; }

.component-button.animate-add-to-cart .btn-content svg {
  opacity: 1;
  transform: translate3d(-50%, -50%, 0) scale(1);
  transition: opacity .45s, transform .3s cubic-bezier(.25, 1, .1, 3);
}

.component-button.animate-add-to-cart .btn-content span {
  opacity: 0;
  transition: none;
}

.component-button.small .btn-content { padding: 8px 16px; }

.component-button.big { font-size: 1.143rem; }
.component-button.big .btn-content { padding: 13px 22px 12px; }

.component-button.link {
  font-weight: 400;
  text-align: left;
  max-width: 350px;
  min-height: 1.5em;
  color: inherit;
}

.component-button.link .btn-content { padding: 0; color: inherit; }

.component-button.wide { width: 100%; max-width: 100%; }

.component-button.squared .btn-content { border-radius: 4px; }
.component-button.squared.small .btn-content { border-radius: 3px; }

.component-button.rounded .btn-content { border-radius: 46px; }

.component-button.filled .btn-content { background-color: #222; border: 0; }
.component-button.bordered .btn-content { border: 1px solid currentColor; }

.component-button.splash { max-width: none; width: 100%; height: 100%; border: 0; }
.component-button.splash .btn-content { border-radius: 0; }

/* =====================
   Menu
   ===================== */
.component-menu {
  display: inline-block;
  font-size: .857rem;
  line-height: 1.5;
  letter-spacing: .8px;
  font-weight: 700;
  text-transform: uppercase;
  margin: -10px;
  min-width: 70px;
  pointer-events: none;
}

.component-menu ul {
  list-style: none;
  padding: 10px 0;
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
}

.component-menu li {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 250px;
  padding: 5px 10px;
}

.component-menu li a {
  pointer-events: all;
  letter-spacing: 1.2px;
  color: inherit;
  display: inline-block;
}

.component-menu li a.active,
.component-menu li a:hover { text-decoration: none; }

@media (min-width: 980px) {
  .menu-burger,
  .mobile-menu { display: none; }
}

/* =====================
   Form
   ===================== */
.component-form { width: 100%; padding: 10px; }

.component-form form {
  position: relative;
  z-index: 1;
  width: 100%;
  display: block;
}

.component-form .policy-data-warning {
  text-align: center;
  margin-top: 20px;
  opacity: .5;
}

.component-form:not(.inline) .component-button { width: 100%; max-width: 100%; }

.component-form .form_fields {
  width: 100%;
  display: block;
  clear: both;
  margin: 0 auto;
  text-align: left;
  font-size: 1rem;
  line-height: 1.429;
  font-weight: 400;
}

.component-form .field_title {
  display: block;
  font-size: .857rem;
  line-height: 1.583;
  font-weight: 700;
  margin-bottom: 10px;
}

.component-form .field_title i {
  color: #ff6b61;
  margin-left: 3px;
  font-style: normal;
}

.component-form .field_desc {
  display: block;
  font-size: .857rem;
  line-height: 1.583;
  opacity: .5;
  margin-bottom: 10px;
}

.component-form .field_title + .field_desc { margin-top: -5px; }

.component-form .form_field {
  position: relative;
  z-index: 0;
  width: 100%;
  display: block;
  margin-bottom: 20px;
}

.component-form .form_field:last-child { margin-bottom: 0; }

.component-form .form_field.is_error .checkbox,
.component-form .form_field.is_error .form_field_text:before {
  border-color: #fc4d53;
  opacity: 1;
}

.component-form .form_field.is_error .error { opacity: 1; cursor: help; }

.component-form .form_field[data-type=select] {
  z-index: 1;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.component-form .form_field[data-type=select].active { z-index: 3; }

.component-form .form_field[data-type=checkbox] + [data-type=checkbox] { margin-top: -10px; }

.component-form .form_field[data-type=textarea] .form_field_text {
  display: table;
  width: 100%;
}

.component-form .form_field_text { position: relative; min-height: 46px; }

.component-form .form_field_text:before {
  pointer-events: none;
  content: "";
  display: block;
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  z-index: 2;
  border: 1px solid;
  border-radius: 4px;
  opacity: .2;
  transition: all .35s ease-out;
}

.component-form .form_field_text_input {
  position: relative;
  z-index: 1;
  font: inherit;
  font-size: 1rem;
  line-height: 1.429;
  display: block;
  width: 100%;
  height: 46px;
  padding: 13px 16px;
  background: #fff;
  border: 0;
  border-radius: 4px;
  -webkit-appearance: none;
}

.component-form .form_field_text_input:focus { outline: none; }

.component-form .form_field_text_input:focus ~ .field_title,
.component-form .form_field_text_input:valid ~ .field_title,
.component-form .form_field_text_input[value]:not([value=""]) ~ .field_title {
  font-size: .714rem;
  font-weight: 500;
  top: -10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: .6;
}

.component-form .form_field_textarea {
  min-height: 46px;
  max-height: 250px;
  resize: vertical;
  overflow: auto;
}

.component-form .form_field_textarea::-webkit-scrollbar { width: 3px; height: 95%; }
.component-form .form_field_textarea::-webkit-scrollbar-track { background: 0; }
.component-form .form_field_textarea::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, .2);
  border-radius: 3px;
}

.component-form .form_field_checkbox {
  cursor: pointer;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
}

.component-form .form_field_checkbox i {
  color: #ff6b61;
  margin-left: 3px;
  font-style: normal;
}

.component-form .form_field_checkbox_name {
  letter-spacing: .3px;
  display: inline-block;
}

/* Checkbox visuals */
@keyframes dothabottomcheck { 0% { height: 0; } to { height: 4.75px; } }
@keyframes dothatopcheck    { 0% { height: 0; } 50% { height: 0; } to { height: 9.5px; } }

.component-form input[type=checkbox] { display: none; }

.component-form .checkbox {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  height: 19px; width: 19px;
  background-color: transparent;
  border: 1px solid;
  opacity: .2;
  border-radius: 3px;
  position: relative;
  cursor: pointer;
  margin-top: 1px;
  margin-right: 8px;
  transition: all .3s ease-out;
}

.component-form .checkbox:before,
.component-form .checkbox:after {
  box-sizing: border-box;
  position: absolute;
  height: 0; width: 2px;
  background-color: #fff;
  display: inline-block;
  transform-origin: left top;
  content: " ";
  transition: opacity .2 ease;
}

.component-form .checkbox:before { top: 13px; left: 7px; transform: rotate(-135deg); }
.component-form .checkbox:after  { top:  9px; left: 3px; transform: rotate(-45deg); }

.component-form .checkbox.checked,
.component-form input[type=checkbox]:checked + .checkbox {
  background-color: currentColor;
  opacity: 1;
}

.component-form .checkbox.checked:after,
.component-form input[type=checkbox]:checked + .checkbox:after {
  animation: dothabottomcheck .2s ease 0s forwards;
}

.component-form .checkbox.checked:before,
.component-form input[type=checkbox]:checked + .checkbox:before {
  animation: dothatopcheck .4s ease 0s forwards;
}

/* Radio */
.component-form input[type=radio] { display: none; }

.component-form .form_field_radio_value {
  cursor: pointer;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 10px;
}

.component-form .form_field_radio_value:last-child { margin-bottom: 0; }

.component-form .form_field_radio_check {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  position: relative;
  margin-right: 8px;
}

.component-form .form_field_radio_check:after {
  position: relative;
  width: 17px; height: 17px;
  content: "";
  display: block;
  border: 1px solid;
  border-radius: 50%;
  opacity: .2;
}

.component-form .form_field_radio_check:before {
  content: "";
  position: absolute;
  display: block;
  width: 13px; height: 13px;
  border-radius: 50%;
  top: 3px; left: 3px;
  background: currentColor;
  opacity: 0;
  transform: scale(.8);
  transition: all .3s ease-out;
}

.component-form [type=radio]:checked + .form_field_radio_check:before {
  transform: scale(1);
  opacity: 1;
}

/* Select (dropdown) */
.component-form .custom-select { display: none; }

.component-form .dropdown-select {
  position: relative;
  z-index: 0;
  cursor: pointer;
  background-color: #fff;
  border-radius: 4px;
  padding: 13px 16px;
}

.component-form .dropdown-select span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  padding-right: 16px;
  display: block;
}

.component-form .dropdown-select:before {
  content: "";
  display: block;
  position: absolute;
  top: 0; left: 0;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  opacity: .2;
  border: 1px solid;
  border-radius: 4px;
  pointer-events: none;
  transform: translateZ(0);
}

.component-form .dropdown-select:after {
  content: "";
  display: block;
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%) rotate(180deg);
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 4px solid;
  opacity: .2;
  transition: all .35s;
}

/* Submit */
.component-form .form_submit { margin: 20px auto 0; }
.component-form .form_submit .btn-content { padding: 12px 16px; }

.component-form .form_field_submit {
  display: block;
  padding: 0;
  outline: none;
  position: relative;
}

.component-form .form_field_submit .submitting_status {
  display: none;
  position: absolute;
  top: 50%; left: 0; right: 0;
  transform: translateY(-50%);
  opacity: 0;
  margin: 0 auto;
  transition: opacity .35s;
  text-align: center;
  width: 100%; height: 22px;
}

.component-form .form_field_submit .submitting_status i {
  display: inline-block;
  position: relative;
  width: 22px; height: 22px;
  transform: rotate(0deg);
  transform-origin: center;
}

.component-form .form_field_submit .submitting_status i svg {
  width: 100%; height: 100%;
  opacity: 1; visibility: visible;
  position: absolute; left: 0; top: 0;
  animation: submitting_status_rotate .7s linear infinite;
}

.component-form .form_field_submit .submitting_status i svg path { fill: currentColor; }
.component-form .form_field_submit .submitting_status i svg .cls-1 { opacity: .2; }

@keyframes submitting_status_rotate { 0% { transform: rotate(0deg); } to { transform: rotate(1turn); } }

.component-form .form_field_submit .form_submit_text {
  transition: opacity .35s;
  opacity: 1;
}

/* =====================
   Floating dark cookies banner
   ===================== */
/* Плавающий тёмный баннер */
#cookies {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 40px); /* выезд снизу */
  width: min(92vw, 760px);
  background: #111827;            /* тёмный фон */
  color: #e5e7eb;                  /* светлый текст */
  border: 1px solid #1f2937;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
  border-radius: 18px;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.55;
  z-index: 9999999;
  padding: 18px 18px 14px;
  opacity: 0;
  pointer-events: none;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .45s ease;
}

#cookies.is-visible {
  transform: translate(-50%, 0); /* показ */
  opacity: 1;
  pointer-events: auto;
}

#cookies .cookie-inner {
  max-width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}

#cookies p {
  margin: 0;
  font-size: 15px;
}

#cookies a { color: #93c5fd; } /* ссылки как в примере */
#cookies a:hover { text-decoration: none; }

.cookie-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.cookie_block_ok {
  width: 100%;
  background: #333450;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s ease, transform .05s ease;
}

.cookie_block_ok:hover  { background: #218838; }
.cookie_block_ok:active { transform: translateY(1px); }

#fpolitika {
  transform: scale(1.7); /* увеличить в 1.6 раза */
  margin-left: 8px;
  cursor: pointer;
}

#fpolitika.has-error {
  outline: 2px solid #d93025;
  outline-offset: 2px;
}

.form-error {
  color: #d93025;
  font-size: 12px;
  margin-top: 6px;
}

/* =====================
   Альтернативный светлый баннер (закомментирован)
   ===================== */
/*#cookies {
  position: fixed;
  left: 0;
  right: 0;
  bottom: -200px;
  background: #fff;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  border-top: 1px solid #e5e5e5;
  font-family: 'Roboto', Arial, sans-serif;
  color: #222;
  line-height: 1.5;
  z-index: 9999;
  padding: 20px;
  opacity: 0;
  transition: all 0.5s ease;
}
#cookies.is-visible {
  bottom: 0;
  opacity: 1;
}
#cookies .cookie-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
#cookies p {
  margin: 0;
  flex: 1 1 700px;
  font-size: 15px;
}
#cookies a {
  color: #0066cc;
  text-decoration: none;
}
#cookies a:hover {
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie_block_ok {
  background: #28a745;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.cookie_block_ok:hover { background: #218838; }
.cookie_block_decline {
  background: transparent;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 15px;
  cursor: pointer;
  color: #444;
  transition: all 0.2s ease;
}
.cookie_block_decline:hover { background: #f4f4f4; }

/* Мобильная адаптация
@media (max-width: 700px) {
  #cookies .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  #cookies p { font-size: 14px; }
  .cookie-actions {
    width: 100%;
    justify-content: flex-end;
  }
} */
