/* Our fixes to style.css && custom.css */

/*  no margin-bottom: 30px; on mobile */
@media screen and (max-width: 767px) {
  .dslc-last-col{
    margin-bottom: 0px !important;
  }
}

/* фиксики приехали!
  Тизеры новостей центрируем для мобилочек. В определенных случаях текст обтекается криво.
  Аналогичнно для контента внутри модуля TABS
*/
@media screen and (max-width: 767px) {
	.blog-post #dslc-theme-content-inner > p > img:not(.aligncenter),
  .dslc-tabs-tab-content .dslca-editable-content > p > img:not(.aligncenter) {
		float: none !important;
		display: block;
		margin-left: auto !important;
		margin-right: auto !important;
	}
}

/* Элемент TABS от live-composer
  в мобильной версии нужен функционал сворачивания как в десктопе.
  + все следующие табы за открытым должны иметь ниже кноку для разворачивания таба
  JS в sevstar.js
*/
@media screen and (max-width: 767px) {

  .dslc-tabs-nav .dslc-tabs-nav-hook {
    display: block !important;
  }

  .dslc-tabs-tab-content.dslc-active .dslc-tabs-nav-hook,
  .dslc-tabs-tab-content:not(.dslc-active) .dslca-editable-content {
    display: none !important;
  }

  .dslc-tabs-tab-content:not(.dslc-active) {
    display: none !important;
  }

  .dslc-tabs .dslc-tabs-nav {
    display: block;
  }

  /* имхо, лучше новый стиль, чем править live-composer */
  /* тут добавляется иконка для сворачивания/разворачивания в мобильной версии */
  .dslc-tabs-nav .dslc-tabs-nav-hook ::after {
    content: '11';
    width: 14px;
    height: 14px;
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
    background-image: url(../img/expand.svg);
    color: rgba(0,0,0,0);
    float: right;
  }

  .dslc-tabs-nav .dslc-tabs-nav-hook.dslc-active ::after {
    background-image: url(../img/collapse.svg);
  }

}

/* Фиксы баннеров в моб версии */
@media screen and (max-width: 991px) {

  .block-banner.full-width .info .title,
  .block-banner.full-width .info .breadcrumbs,
  .block-banner.full-width .info .text {
      text-align: left;
      max-width: inherit;
  }

}

@media screen and (min-width:992px) {
  .block-banner.full-width:not(.image-full-height) .row {
    padding: 40px 0px;
  }

}

.text-yellow {
  color: #fdb914 !important;
}

.text-purple {
  color: #4c447c !important;
}

.footable .footable-header {
  background-color: #ffb237;
}

.footable > thead > tr > th {
  border: none;
}

.footable.table-striped > tbody > tr:nth-of-type(2n+1) {
  background-color: #fbf6e9;
}

.footable.table-hover > tbody tr:hover {
  background-color: #fff2ce;
}

.footable.business .footable-header {
  background-color: #4c447c;
}

.footable.business .footable-header {
  background-color: #4c447c;
  color: white;
}

.footable.business.table-striped > tbody > tr:nth-of-type(2n+1) {
  background-color: #b9b6d7
}

.footable.business.table-hover > tbody tr:hover {
  background-color: #cecee3;
}

@media screen and (min-width: 768px) {
  .block-clients {
    display: flex;
    flex-wrap: wrap;
  }

  .block-clients .client {
    display: flex;
  }

  body.vendor-safari .block-clients .client {
    flex: 1;
  }
}

#reviews-slider {
  display: flex;
  flex-direction: column;
}
#reviews-slider li,
#reviews-slider li .review{
  height: 100% !important;
}

/* */
.benefit-content {
  height: 100% !important;
}

.equipment-list {
  display: grid;
  gap: 30px 18px;
}

.equipment-list.display-centered {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.equipment-item {
  max-width: 400px;
  width: 100%;
  position: relative;

  padding: 30px;
}

@media screen and (min-width: 768px) {
  .equipment-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .display-centered .equipment-item {
    width: 48%;
  }
}

@media screen and (min-width: 972px) {
  .equipment-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .display-centered .equipment-item {
    width: 32%;
  }
}

@media screen and (min-width: 1400px) {
  .equipment-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .display-centered .equipment-item {
    width: 25%;
  }
}

.equipment-item .links a:not(:first-of-type) {
  margin-left:10px;
}

.equipment-item > .links > img,
.equipment-item  .image{
  padding: 20px;
  display:inherit;
}

.equipment-item-modern {
  background: #ffffff;
  border: 1px solid #eae6fc;
  border-radius: 15px;
  padding: 0 20px 25px;
  display: flex;
  flex-flow: column;
  transition: all ease-in-out 300ms;
  will-change: transform;
}

body:not(.dslc-res-phone):not(.dslc-res-tablet) .equipment-item-modern:hover {
  z-index: 2;
  box-shadow: 0 5px 25px -10px #464646;
}

.item-tag {
  display: inline-flex;
  align-items:center;
  padding: 0px 20px;
  margin-bottom: 20px;
  background: rgb(161,71,245);
  background: linear-gradient(90deg, rgba(161,71,245,1) 0%, rgba(243,59,226,1) 100%);
  color: #fff;
  font-size: 22px;
  position:relative;
  height: 39px;
  transform: scale(0.99);
}


.item-tag::before {
  content: '';
  position: absolute;
  top: 0;
  width: 0;
  height: 0;
  left: -14px;
  border-top: 40px solid rgba(161,71,245,1);
  border-left: 15px solid transparent;
}

.item-tag::after {
  content: '';
  position: absolute;
  top: 0;
  width: 0;
  height: 0;
  right: -14px;
  border-top: 40px solid rgba(243,59,226,1);
  border-right: 15px solid transparent;
}

.equipment-item.equipment-item-modern .item-title h2 {
  margin-bottom: 0;
  font-size: 20px;
}

.item-description {
  flex: 2;
}
.item-description ul {
  /* list-style-image: url(../img/bullet.svg); */
  padding-left: 25px;
}

.item-description ul li:not(:last-child) {
  margin-bottom: 0px;
}

.item-footer {
  min-height: 125px;
  margin: 0 -25px;
  padding: 0 25px;
  display: flex;
  flex-flow: column;
}

.item-footer.has-second-layer {
  height: 125px;
  overflow: hidden;
}

.item-footer.has-second-layer > div {
  height: 100%;
  transition: all ease-in-out 200ms;
  will-change: transform;
}

body:not(.dslc-res-phone):not(.dslc-res-tablet) .equipment-item-modern:hover .item-footer.has-second-layer > div {
  transform: translateY(-104%) scale(calc(1 / 1.04)); /* обратный скейл от карточки .equipment-item (1.04) */
}

.item-about-instruction {
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
}

/* @media screen and (min-width: 1024px) {
  .item-about-instruction {
    flex-wrap: nowrap;
  }
} */

.item-about-instruction .btn.btn-yellow.small {
  margin: 0 5px 10px;
  padding: 11px 20px 12px;
  font-size: 14px;
}

.btn.btn-yellow.open-request-modal {
  padding-right: 35px;
  padding-left: 35px;
}

/* fallback for footer buttons, so them can be visible without .equipment-item hover */
body.dslc-res-phone .item-footer.has-second-layer,
body.dslc-res-tablet .item-footer.has-second-layer{
  overflow: visible;
  height: auto;
}

body.dslc-res-phone .item-footer.has-second-layer > div,
body.dslc-res-tablet .item-footer.has-second-layer > div {
  height: 125px;
}

body.dslc-res-phone .item-footer.has-second-layer > .item-about-instruction,
body.dslc-res-tablet .item-footer.has-second-layer > .item-about-instruction {
  height: 30%;
}
/* end fallback */

.equipment-price {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  text-align: right;
  flex: 1;
}

.equipment-categories ul {
  padding: 0;
}

.equipment-categories a {
  cursor: pointer;
}

span.price-tag {
  font-size: 2em;
  position: relative;
  font-weight: bold;
}

span.price-tag[data-has-action-price]::after {
  content: '*';
  font-size: 0.5em;
  font-weight: normal;
  position: absolute;
  top: 5px;
}

span.action-price-tag {
  display: inline-block;
  background: linear-gradient(90deg, #a348f5, #eb3bdb);
  border-radius: 3px;
  color: #ffffff;
  padding: 0 6px 1px;
  user-select: none;
  font-size: 0.8em;

  position: absolute;
  right: 43px;
}

span.price-currency {
  font-size: 1.3em;
  font-weight: 600;
}

div.price-divider {
  background-color: #d7cffb;
  height: 1px;
  margin: 20px -25px;
}

@media screen and (max-width: 480px) {
  .item-about-instruction .btn.btn-yellow.small, .btn.open-request-modal {
    width: 85%;
    margin: 5px 0;
  }
}

.modal-form {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}
.modal-form .modal-form-layout {
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  /* IE 9 */
  -webkit-transform: translate(-50%, -50%);
  /* Safari */
  transform: translate(-50%, -50%);
  background: #ebe7e3;
  padding: 45px 60px 60px;
}
.modal-form .modal-form-layout .title {
  font-family: 'Open Sans', Montserrat;
    font-weight: 600;
  font-size: 26px;
  line-height: normal;
  color: #201600;
  margin-bottom: 30px;
}
.modal-form .modal-form-layout .input {
  margin-bottom: 30px;
}
.modal-form .modal-form-layout .modal-close {
  position: absolute;
  top: 0;
  right: 0;
  height: 44px;
  width: 44px;
  color: #333;
  font-size: 35px;
  background: transparent;
  border: none;
  z-index: 9;
}
.modal-form .modal-form-layout .modal-close:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 767px) {
  .modal-form .modal-form-layout {
    width: 100%;
    height: 100%;
    padding: 15px 10px;
  }
}

.collect-contacts .modal-form-layout {
  display: flex;
  max-width: 90vw;
  width: 1024px;
  padding: 70px 54px 54px;
  background: #fff;
  border-radius: 16px;
}

@media screen and (max-width: 768px) {
  .dslc-res-phone .modal-form.collect-contacts .modal-form-layout {
    max-width: 300px;
    width: 85vh;
    min-height: 550px;
    height: auto;
    padding: 20px 20px 36px;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
  }
}

#collect_contact_thanks .modal-form-layout {
  padding: 150px 54px 160px;
}

@media screen and (max-width: 960px) {
  #collect_contact_thanks .modal-form-layout {
    padding: 110px 22px 40px;
  }
}

@media screen and (max-width: 768px) {
  #collect_contact_thanks .modal-form-layout {
    padding-bottom: 10px;
  }
}

#collect_contact_thanks.collect-contacts .text {
  margin-bottom: 50px;
}

@media screen and (max-width: 768px) {
  #collect_contact_thanks.collect-contacts .text {
    margin-bottom: 70px;
  }
}

.collect-contacts .collect-left {
  width: 54%;
}

@media screen and (max-width: 880px) {
  .collect-contacts .collect-left {
    width: 60%;
  }
}

@media screen and (max-width: 768px) {
  .collect-contacts .collect-left {
    width: 100%;
    color: #642d90;
  }
}

.collect-img {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 100%;
  width: 50%;
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: contain;
}

@media screen and (max-width: 880px) {
  .collect-img {
    width: 40%;
  }
}

@media screen and (max-width: 768px) {
  .collect-img {
    position: static;
    width: 160px;
    height: 160px;
    background-position: center;
  }
}

.modal-form.collect-contacts .modal-form-layout .modal-close {
  top: 21px;
  right: 18px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  line-height: 0.8;
  background-color: #545454;
  border-radius: 50%;
}

@media screen and (max-width: 768px) {
  .modal-form.collect-contacts .modal-form-layout .modal-close {
    top: 10px;
    right: 10px;
    background-color: #642d90;
  }
}

.modal-form.collect-contacts .modal-form-layout .modal-close:hover {
  background-color: #545454;
}

.collect-contacts .form input {
  max-width: 390px;
  margin-bottom: 0;
  padding: 10px 20px;
  font-size: 18px;
  font-weight: 500;
  color: #3f3f3f;
  background-color: #e3d9e699;
  border: 1px solid #642d9080;
  border-radius: 8px;
  box-shadow: none;
}

@media screen and (max-width: 768px) {
  .collect-contacts .form input {
    font-size: 14px;
  }
}

.collect-contacts .form .input-wrapper {
  margin-bottom: 30px;
}

@media screen and (max-width: 768px) {
  .collect-contacts .form .input-wrapper {
    margin-bottom: 16px;
    font-size: 14px;
  }
}

.collect-contacts .buttons {
  display: flex;
  gap: 10px;
}

@media screen and (max-width: 768px) {
  .collect-contacts .buttons {
    justify-content: center;
  }
}

.collect-contacts .gdpr-checkbox-wrapper {
  margin-bottom: 30px;
  font-family: 'Open Sans', 'Montserrat', sans-serif;
  font-size: 10px;
  color: #707070;
}

@media screen and (max-width: 768px) {
  .collect-contacts .gdpr-checkbox-wrapper {
    margin-bottom: 15px;
    font-size: 9px;
  }
}

.collect-contacts .gdpr-checkbox-wrapper a {
  color: #707070;
}

#collect_contact_modal .collect-img {
  background-image: url(../img/collect-contact-cat.png);
}

@media screen and (max-width: 768px) {
  #collect_contact_modal .collect-img {
    background-image: url(../img/collect-contact-cat-mobile.png);
  }
}

#collect_contact_thanks .collect-img {
  background-image: url(../img/collect-contact-cat-thx.png);
}

@media screen and (max-width: 768px) {
  #collect_contact_thanks .collect-img {
    background-image: url(../img/collect-contact-cat-thx-mobile.png);
    margin-bottom: 30px;
  }
}

.modal-form.collect-contacts .modal-form-layout .title {
  margin-bottom: 20px;
  font-size: 42px;
  font-weight: 700;
  text-transform: uppercase;
}

@media screen and (max-width: 960px) {
  .modal-form.collect-contacts .modal-form-layout .title {
    font-size: 22px;
  }
}

@media screen and (max-width: 768px) {
  .modal-form.collect-contacts .modal-form-layout .title {
    margin-bottom: 6px;
    font-size: 36px;
    color: #642d90;
    text-transform: none;
  }
}

.collect-contacts .text {
  margin-bottom: 30px;
  font-size: 20px;
  line-height: 1.4;
}

@media screen and (max-width: 960px) {
  .collect-contacts .text {
    font-size: 16px;
  }
}

@media screen and (max-width: 768px) {
  .collect-contacts .text {
    margin-bottom: 16px;
    font-size: 14px;
  }
}

.custom-checkbox input[type=checkbox], .custom-checkbox input[type=radio] {
  display: none;
}

.custom-check {
  display: inline-block;
  position: relative;
  width: 18px;
  height: 18px;
  flex-basis: 18px;
  flex-shrink: 0;
  margin-right: 7px;
  border: 2px solid #642d90;
  border-radius: 2px;
  user-select: none;
  flex-shrink: 0;
}

.custom-check .check {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: 600;
}

.custom-checkbox input:checked + .custom-check{
  background: #642d90;
}

.custom-checkbox input:checked + .custom-check .check{
  display: block;
}

.collect-contacts .frm-label-text {
  width: 100%;
}

.form-tab {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.form-tab__link {
  width: 100%;
  padding: 15px 20px;
  text-align: center;
  font-size: 12px;
  border: 2px solid #fdb914;
  transition: color, background .2s ease;
}

@media screen and (min-width: 450px) {
  .form-tab__link {
    padding: 15px 30px;
    font-size: 14px;
  }
}

.form-tab__link.active {
  background: #fdb914;
  color: #fff;
}

.form-tab__content {
  display: none;
}

.form-tab__content.active {
  display: block;
}

/* вносим изменения в стили адаптива формы, чтобы не задеть стили {template_path}/css/business_request.css:44 */
.modal-form .modal-form-layout.mf-form.equipment-request {
  min-width: 0;
}

.modal-form .modal-form-layout.mf-form.equipment-request .mf-body {
  padding: 30px 15px;
}

@media screen and (min-width: 450px) {
  .modal-form .modal-form-layout.mf-form.equipment-request .mf-body {
    padding: 30px 40px;
  }
}

/* кнопка прилипла к левому краю и к линии инпута сверху. возвращаем отступ линии, добавляем отступ по бокам кнопки
чтобы не задеть стили {template_path}/css/style.css:3593 */
.equipment-request .line:last-child {
  margin-bottom: 20px;
}

.btn-get-equipment {
  margin: 0 auto;
}

ul.striped > li:nth-of-type(2n+1),
ol.striped > li:nth-of-type(2n+1) {
  background-color: rgba(255, 216, 122, 0.2);
}

ul.hover > li:hover,
ol.hover > li:hover {
  background-color: rgba(255, 216, 122, 0.6);
}



/* quickfix carousel-slider buttons to center*/
.block-slider .owl-carousel .owl-dots {
  /* padding-left: calc(50% - 200px); */
  text-align: center;
}

.online-payments .rncb-online img {
  width: 570px;
}

#footer .search-socials .old-site {
  margin-top: 20px;
  float: left;
  width: 100%;

}

@media screen and (max-width: 991px) {
  #footer .search-socials .old-site {
    text-align: center;
  }
}

#footer .search-socials .old-site a {
    font-size: 14px;
    line-height: normal;
    color: #939390;
    border-bottom: 1px solid #ececeb;
    text-decoration: none;
    position: relative;
}

#header .nav-menu .clients-type {
  /*width: calc(100% + 50px) !important;*/
  /*margin: 0px -25px;*/
  display: flex !important;
  flex-wrap: wrap;
  justify-content: space-around;
}

#header .nav-menu .clients-type.has-menu {
  border-bottom: 3px lightgray solid;
  margin-bottom: 20px;
}

#header .nav-menu .clients-type .type {
  width: auto !important;
}


#header .nav-menu ul {
  width: 100%;
}


#header .nav-menu ul li {
  float: none;
}

#header .nav-menu ul li a {
  border-radius: 0px;
}

.btn-back-to-top {
  display: none;
  position: fixed;
  bottom: 50px;
  right: 5%;
  z-index: 44;
  color: #333;
  border: 1px solid #b9b9b9;
  border-radius: 50%;
  background: #eaeaea;
  box-shadow: 0px 3px 18px -4px #333;
  width: 45px;
  height: 45px;
  text-align: center;
  vertical-align: middle;
  font-size: 20px;
}

.btn-back-to-top i {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin-top: -3px;
}

.btn-back-to-top:hover {
  background: #dadada;
}

.superhidden {
  display: none !important;
}

@media screen and (max-width: 767px) {
  .btn-back-to-top {
    display: flex;
  }
}


.modal-survey .body .survey-container {
  margin-top:5px;
  margin-bottom: 15px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.modal-survey .body .survey-container .survey-radio-btn {
  display:inline-block;
  text-align: center;
}

.open-callback-modal {
    cursor: pointer;
}

.equip-tag {
    display: inline;
    border: 1px lightgray solid;
    border-radius: 5px;
    padding-left: 5px;
    padding-right: 5px;
}

.notification-buttons {
    display: flex;
    justify-content: space-between;
}

.parallax-container {
	position:relative;
	overflow:hidden;
}
.parallax-container [data-depth-x],
.parallax-container [data-depth] {
	right: 0px;
}

.parallax-container img {
	width: 100%;
}



/* кабинетовские менюшки */

#header .top-panel .cabinet-link,
#header .top-panel .cabinet-link .popover *{
	font-family: 'Open Sans';
}
#header .top-panel .cabinet-link .popover a{
	color:black !important;
	font-size:inherit;
	font-weight: inherit;
	color:inherit;
}

#nav-menu-cabina .navbar-nav {
	width: 100%;
}
#header #nav-menu-cabina ul li {
	font-size: 18px;
}

#nav-menu-cabina .navbar-nav a{
	text-decoration: underline;
	font-size: 18px;
}
#header .top-panel .popover-content,
#header .top-panel .popover {
	min-width: 400px;
	max-width: 400px;
}

/* google custom srch */
.wgs_wrapper *, .wgs_wrapper :after, .wgs_wrapper :before {
  box-sizing: border-box !important;
}

.wgs_wrapper {
  background-color: #ffffff;
}

.wgs_wrapper .gsc-input-box .gsib_a input {
  font-family: 'Open Sans';
}

input.gsc-input {
  padding: 6px 10px !important;
}

table.gsc-input {
  border: 1px solid #dedede !important;
}

.wgs_wrapper .gsc-input-box .gsib_a input {
  height: auto !important;
}

.wgs_wrapper td.gsib_a {
  padding: 0;
}

.gsc-selected-option-container.gsc-inline-block {
  white-space: nowrap;
}

.wgs_wrapper .gsc-search-button-v2 {
  padding: 10px 40px;
  margin-top: -1px;
}

.dslc-res-phone .wgs_wrapper .gsc-search-button-v2,
.dslc-res-tablet .wgs_wrapper .gsc-search-button-v2 {
  padding: 9px 13px;
  margin-top: 0;
}

.gcsc-more-maybe-branding-root {
  display: none;
}

.wgs_wrapper form.gsc-search-box {
  margin-bottom: 15px;
}

.wgs_wrapper .gsc-adBlock {
  display: none; /* hehe */
}

.wgs_wrapper .gsc-result-info {
  padding: 10px 4px;
}

.wgs_wrapper .gsc-results .gsc-cursor-box {
  margin: 10px 5px 20px;
}

.wgs_wrapper .gsc-results .gsc-cursor-box .gsc-cursor-page {
  border-color: #c9c9c9;
  background-color: #f9f9f9;
  color: #666666;
  border-width: 1px;
  border-style: solid;
  padding: 5px 0;
  width: 30px;
  display: inline-block;
  text-align: center;
  border-radius: 3px;
}

.wgs_wrapper .gsc-results .gsc-cursor-box .gsc-cursor-current-page {
  border-color: #1A73E8;
  background-color: #FFFFFF;
  color: #1A73E8;
}

.wgs_wrapper .gsc-control-cse {
  padding: 15px 0 20px;
}

.dslc-res-phone .wgs_wrapper .gsc-above-wrapper-area,
.dslc-res-tablet .wgs_wrapper .gsc-above-wrapper-area {
  display: block;
}

.dslc-res-phone .wgs_wrapper .gsc-above-wrapper-area .gsc-above-wrapper-area-container tr:first-child,
.dslc-res-tablet .wgs_wrapper .gsc-above-wrapper-area .gsc-above-wrapper-area-container tr:first-child {
  display: flex;
  flex-flow: column;
  align-items: center;
}

/* переопределяем стили всплывашки jquery ui, чтобы она появлялась на всплывашке подключения абонента (например при выборе оборудования) */
.ui-front {
  z-index: 99999;
}

/* footer cookies banner */
.cookie-banner {
  display: grid;
  grid-template-columns: auto 1fr;
  max-width: 700px;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  position: fixed;
  bottom: 10px;
  right: 10px;
  padding: 20px;
  z-index: 2000;
  gap: 15px;
}

.cookie-banner__media {
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  border-radius: 15px;
}

.cookie-banner__media img {
  max-width: 130px;
  max-height: 130px;
  object-fit: contain;
}

.cookie-banner__content {
  margin: 3px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 14px;
}

.cookie-banner .btn {
  line-height: 1;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .cookie-banner {
    width: 100%;
    max-width: 100%;
    height: auto;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 15px;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .cookie-banner__media {
    aspect-ratio: auto;
    margin-bottom: 15px;
    padding: 8px;
  }

  .cookie-banner__media img {
    max-width: 100px;
    max-height: 100px;
  }

  .cookie-banner__content {
    padding: 0;
    margin: 0;
    font-size: 13px;
  }

  .cookie-banner__actions {
    display: flex;
    flex-direction: row;
    gap: 10px;
  }

  .cookie-banner .btn {
    flex: 1;
  }
}

/* Phone Identification Modal Styles */
#phone-identification-modal {
  /* Должен перекрывать другие модальные окна (.modal-form) */
  z-index: 11000;
}

#phone-identification-modal .identification-modal-content {
  text-align: center;
  padding: 20px 0;
}

#phone-identification-modal .identification-instruction {
  font-size: 16px;
  color: #201600;
  margin-bottom: 15px;
  line-height: 1.5;
}

#phone-identification-modal .identification-steps {
  font-size: 14px;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.5;
}

#phone-identification-modal .identification-input-wrapper {
  margin: 20px 0;
  text-align: left;
}

#phone-identification-modal .identification-input-wrapper label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

#phone-identification-modal .identification-input-wrapper input {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

#phone-identification-modal .identification-phone-info {
  margin: 20px 0;
  padding: 15px;
  background: #f5f5f5;
  border-radius: 8px;
  text-align: center;
}

#phone-identification-modal .identification-phone-info-label {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

#phone-identification-modal .identification-phone-info-value {
  font-size: 18px;
  font-weight: 600;
  color: #201600;
  margin: 0;
}

#phone-identification-modal .identification-phone-wrapper {
  margin: 30px 0;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  text-align: center;
}

#phone-identification-modal .identification-phone-label {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

#phone-identification-modal .identification-phone-link {
  display: inline-block;
  font-size: 28px;
  font-weight: 600;
  color: #ffc107;
  text-decoration: none;
  padding: 10px 20px;
  transition: all 0.3s ease;
}

#phone-identification-modal .identification-phone-link:hover {
  color: #ff9800;
  transform: scale(1.05);
}

#phone-identification-modal .identification-status {
  margin: 20px 0;
  min-height: 40px;
}

#phone-identification-modal .identification-spinner {
  display: inline-block;
  color: #666;
  font-size: 14px;
}

#phone-identification-modal .identification-spinner:before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #ffc107;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 10px;
  vertical-align: middle;
}

#phone-identification-modal .identification-actions {
  margin-top: 30px;
  text-align: center;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

#phone-identification-modal .identification-actions .btn {
  flex: 0 0 auto;
  min-width: 120px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

#phone-identification-modal .identification-actions {
  margin-top: 30px;
  text-align: center;
}

@media (max-width: 768px) {
  #phone-identification-modal .identification-phone-link {
    font-size: 22px;
  }
  
  #phone-identification-modal .identification-instruction {
    font-size: 14px;
  }
  
  #phone-identification-modal .identification-steps {
    font-size: 12px;
  }
}

/* Identification Check Spinner */
.identification-check-spinner {
  display: inline-block;
  padding: 8px 15px;
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 4px;
  color: #856404;
  font-size: 13px;
  margin-top: 5px;
  position: relative;
  padding-left: 35px;
}

.identification-check-spinner:before {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 2px solid #ffc107;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Заблокированная форма */
.form-blocked-identification {
  opacity: 0.6;
  position: relative;
}

.form-blocked-identification::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.3);
  z-index: 9;
  pointer-events: none;
}

.form-blocked-identification .identification-notification {
  position: sticky;
  top: 30px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.98);
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  z-index: 10;
  font-size: 14px;
  color: #333;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid #007bff;
  width: 90%;
  box-sizing: border-box;
}

.form-blocked-identification .identification-notification:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transform: scale(1.01);
}

.form-blocked-identification .identification-notification:active {
  transform: scale(0.99);
}

.form-blocked-identification .identification-notification strong {
  color: #007bff;
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
}

.form-blocked-identification .identification-notification .click-hint {
  font-size: 12px;
  color: #666;
  margin-top: 5px;
  font-style: italic;
}

