/*body .wrapper{*/
/*    overflow-x: hidden;*/
/*}*/

table{
    max-width: 100%;
}

.header__nav .active, .footer__nav .active {
    background-color: var(--color--white);
    -webkit-box-shadow: var(--box-shadow);
    -moz-box-shadow: var(--box-shadow);
    box-shadow: var(--box-shadow);
}

header [header-hidden='true'], footer [footer-hidden='true'] {
    display: none !important;
}

body .wrapper .mark {
    background-color: rgba(0, 0, 0, 0);
    color: var(--color--blue);
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit
}

body .wrapper .advantages-list .advantages-list__item__heading .mark {
    color: var(--color--dark-blue)
}

body .wrapper .for-whom .for-whom__content .for-whom__heading .mark {
    font-weight: inherit;
    color: var(--color--dark-gray)
}

body .wrapper .about-short .section__heading-wrapper .section__heading .mark {
    color: var(--color--dark-gray)
}

body .wrapper .about-us-section .about-us__heading-large .mark {
    color: var(--color--dark-gray)
}

@media (max-width: 1070px) {
    body .wrapper .for-whom .for-whom__content .for-whom__description {
        min-height: 80px;
    }
}

.dev__sale-points__marker {
    cursor: pointer;
}

.dev__sale-points__marker:hover {
    text-decoration: underline;
}

.pagintaion__nav__button._current {
    background-color: var(--color--blue) !important;
    color: var(--color--white) !important;
}

body .wrapper .information-section .text-content h1, body .wrapper .information-section .text-content .h1 {
    font-weight: unset;
}

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

.dev_text-content a {
    text-decoration: underline !important;
}

.dev_text-content a:hover {
    text-decoration: none !important;
}

.dev_text-content table {
    margin-bottom: 20px;
    border-radius: 4px;
    min-width: 768px
}

.dev_text-content table tr:nth-child(odd) {
    background: #fff
}

.dev_text-content table tr:nth-child(even) {
    background: #f7f7f7
}

.dev_text-content table th {
    font-weight: 700;
    padding: 10px 12px;
    background: #efefef;
    border: 1px solid #ddd
}

.dev_text-content table td {
    padding: 10px 12px;
    border: 1px solid #eee;
    text-align: left
}

.dev_text-content blockquote { */
    font-size: unset;
    position: relative;
    padding-left: 25px;
}

.dev_text-content blockquote:before {
    display: block;
    position: absolute;
    content: " ";
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background-color: #ddd;
}

.dev_wrap_geoip {
    padding: 10px 0 !important;
    margin-bottom: 15px !important;
}

/* ФОРМЫ */
#message-box {
    font-family: "Roboto", sans-serif;
    width: 100%;
    overflow: hidden;
    position: fixed;
    padding: 15px;
    font-size: 16px;
    line-height: 14px;
    background: #aaa;
    color: #fff !important;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999999999;
    display: none;
    text-align: center;
}

#message-box .btn-close {
    color: #fff !important;
    position: absolute;
    text-decoration: none !important;
    top: 3px;
    right: 8px;
    font-size: 20px;
    line-height: 20px;
    overflow: hidden;
}

.red-popup {
    background: rgb(189, 25, 25, .7) !important;
}

.green-popup {
    background: rgb(0, 128, 0, .7) !important;
}

@media (min-width: 701px) {
    .form__part_subscribe input {
        margin-right: 10px;
    }
}

.dev_ajax_load.disabled {
    cursor: default !important;
    background-color: var(--color--dark-gray) !important;
}

/* Убираем ajax-индикацию "Загрузка..." для 1С-Битрикс */
div[id^="wait_"]{
    display: none !important;
}
/* (END) Убираем ajax-индикацию "Загрузка..." для 1С-Битрикс */
/* /ФОРМЫ */

.dev_order_input_label {
    position: relative;
}

::-webkit-scrollbar, ::-webkit-scrollbar-thumb {
    width: 1rem;
    height: 1rem;
    border: 0.25rem solid transparent;
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 0 1rem rgba(0, 170, 230, 0.9);
}

::-webkit-scrollbar-thumb:hover {
    box-shadow: inset 0 0 0 1rem rgba(0, 170, 230, 1);
}

/* Костыли для яндекс.карты */
body .wrapper ymaps {
    margin: auto !important;
    line-height: 24px !important;
    font-size: small !important;
}

body .wrapper ymaps .ymaps-2-1-79-controls__control, body .wrapper ymaps .ymaps-2-1-79-copyright, body .wrapper ymaps .ymaps-2-1-79-gototaxi, body .wrapper ymaps .ymaps-2-1-79-gototech {
    display: none;
}

body .wrapper ymaps .ymaps-2-1-79-gotoymaps__pin {
    padding-right: 5px;
}

body .wrapper ymaps .ymaps-2-1-79-gotoymaps {
    margin: 0 5px !important;
}

body .wrapper ymaps .ymaps-2-1-79-gotoymaps__container {
    padding: 0 3px !important;
}

body .wrapper ymaps .ymaps-2-1-79-balloon {
    padding: 1px !important;
    box-shadow: unset !important;
}

body .wrapper ymaps .ymaps-2-1-79-balloon__layout {
    padding: 10px !important;
    margin: 0px !important;
    background: #fff !important;
    border: 1px solid #e6e6e6 !important;
    z-index: 9;
}

body .wrapper ymaps .ymaps-2-1-79-balloon__tail {
    margin: 0 !important;
    z-index: 1;
}

body .wrapper ymaps .ymaps-2-1-79-balloon__close {
    margin-bottom: -40px !important;
}

body .wrapper ymaps .ymaps-2-1-79-balloon__close+.ymaps-2-1-79-balloon__content {
    margin-right: 30px;
}

body .wrapper .for-whom .for-whom__buttons{
    display: grid;
    grid-column: 1/2;
    grid-row: 2/3;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 370px;
}
body .wrapper .aside__item.item_filter{
    max-width: 100%
}

@media (max-width: 700px) {
    body .wrapper .aside-section .main-content {
         grid-column: 1 / 3;
    }
}
body .wrapper .aside-section .container{
    box-sizing: border-box;
}

body .wrapper .article .text-content.dev_text-content
{
    overflow-x: hidden;
}

body .wrapper .about-section
{
    overflow-x: hidden;
}
@media (max-width: 840px){
    body .wrapper .order_wrapper .order_info .order_info_buyer>input[type="radio"]+label, body .wrapper .order_wrapper .order_info .order_info_buyer .order_info_delivery>input[type="radio"]+label, body .wrapper .order_wrapper .order_info .order_info_buyer .order_info_payment_list>input[type="radio"]+label{
        width: 100%;
        margin-right: 0;
    }
    body .wrapper .order_wrapper .order_info .order_info_buyer .order_info_payment_list{
        width: 100%;
    }
    body .wrapper .order_wrapper .order_total .order_total_info{
        margin-top: 0;
    }
}

/*body .wrapper .header__nav a:not(.nav__button), body .wrapper .footer__nav a:not(.nav__button){*/
/*    min-width: 90px;*/
/*}*/

.socials{
    display: flex;
    gap: 10px;
}
.socials__item{
    width: 60px;
    height: 60px;
}
.socials__item--yt{
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_1305_1624)'%3E%3Cpath d='M44.3524 22.2792C44.0077 20.9885 42.992 19.9719 41.7021 19.6269C39.3641 19 29.9894 19 29.9894 19C29.9894 19 20.6148 19 18.2768 19.6269C16.9871 19.9719 15.9712 20.9885 15.6265 22.2792C15 24.6188 15 29.4999 15 29.4999C15 29.4999 15 34.3813 15.6265 36.7208C15.9712 38.0113 16.9871 39.028 18.2768 39.3729C20.6148 40 29.9894 40 29.9894 40C29.9894 40 39.3641 40 41.7021 39.3729C42.992 39.028 44.0077 38.0113 44.3524 36.7208C44.979 34.3813 44.979 29.4999 44.979 29.4999C44.979 29.4999 44.979 24.6188 44.3524 22.2792Z' fill='%232D2D2D'/%3E%3Cpath d='M26.9917 34L34.7802 29.5001L26.9917 25V34Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_1305_1624'%3E%3Crect width='30' height='21' fill='white' transform='translate(15 19)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
}
.socials__item--vk{
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 29.52C18 24.0894 18 21.3741 19.6871 19.6871C21.3741 18 24.0894 18 29.52 18H30.48C35.9106 18 38.6259 18 40.3129 19.6871C42 21.3741 42 24.0894 42 29.52V30.48C42 35.9106 42 38.6259 40.3129 40.3129C38.6259 42 35.9106 42 30.48 42H29.52C24.0894 42 21.3741 42 19.6871 40.3129C18 38.6259 18 35.9106 18 30.48V29.52Z' fill='%232D2D2D'/%3E%3Cpath d='M30.7698 35.2898C25.2998 35.2898 22.1798 31.5398 22.0498 25.2998H24.7898C24.8798 29.8798 26.8998 31.8198 28.4998 32.2198V25.2998H31.0798V29.2498C32.6598 29.0798 34.3196 27.2798 34.8796 25.2998H37.4597C37.0297 27.7398 35.2297 29.5398 33.9497 30.2798C35.2297 30.8798 37.2798 32.4498 38.0598 35.2898H35.2197C34.6097 33.3898 33.0898 31.9198 31.0798 31.7198V35.2898H30.7698Z' fill='white'/%3E%3C/svg%3E%0A");
}
.socials__item--rt{
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_1305_1676)'%3E%3Cpath d='M31.2786 28.1168H20.55V23.8819H31.2786C31.9053 23.8819 32.3411 23.9909 32.5597 24.1812C32.7784 24.3714 32.9139 24.7244 32.9139 25.2399V26.7605C32.9139 27.3037 32.7784 27.6566 32.5597 27.8469C32.3411 28.0372 31.9053 28.1185 31.2786 28.1185V28.1168ZM32.0147 19.8893H16V37.9999H20.55V32.1078H28.9351L32.9139 37.9999H38.0089L33.6222 32.0802C35.2395 31.8411 35.9657 31.3467 36.5646 30.5319C37.1636 29.7171 37.4639 28.4145 37.4639 26.6759V25.3179C37.4639 24.2869 37.3545 23.4721 37.1636 22.8476C36.9726 22.2231 36.6462 21.6799 36.1827 21.192C35.6931 20.7301 35.1481 20.4049 34.4936 20.1869C33.8392 19.9966 33.0216 19.8877 32.0147 19.8877V19.8893Z' fill='%232D2D2D'/%3E%3Cpath d='M41.5043 19.8878C43.4349 19.8878 44.9999 18.3459 44.9999 16.4439C44.9999 14.5419 43.4349 13 41.5043 13C39.5738 13 38.0088 14.5419 38.0088 16.4439C38.0088 18.3459 39.5738 19.8878 41.5043 19.8878Z' fill='%23ED143B'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_1305_1676'%3E%3Crect width='29' height='25' fill='white' transform='translate(16 13)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A")
}

@media (max-width: 740px){
    body .wrapper .footer__item.item_sub-nav {
        align-items: center;
        flex-direction: column;
    }
}


.success-popup{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, .1);
    width: 100vw;
    height: 100vh;
    font-family: "Roboto", sans-serif;
    z-index: 10000;
    cursor: pointer;
    text-align: center;
/*    overflow: hidden;*/
}
.success-popup__overlay{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.success-popup__inner{
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    max-width: 650px;
    max-height: 650px;
    position: fixed;
    top: calc(50% - 15px);
    left: calc(50% - 15px);
    transform: translate(-50%, -50%);
    background: #FCFDFD;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 40px;
    cursor: default;
    z-index: 1001;
    padding: 15px;
    margin: 15px;
    box-sizing: border-box;
}
.success-popup__close{
    position: absolute;
    top: 10px;
    right: 10px;
    width: 48px;
    height: 48px;
    background-image: url("data:image/svg+xml,%3Csvg width='48' height='48' viewBox='0 0 48 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 18L18 30' stroke='black' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M18 18L30 30' stroke='black' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    cursor: pointer;
}
.success-popup__icon{
    width: 60px;
    height: 60px;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='60' height='60' rx='30' fill='%2300AAE6'/%3E%3Cpath d='M38 24L27 35L22 30' stroke='%23FCFDFD' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}
.success-popup__title{
    font-size: 40px;
    line-height: 50px;

}
.success-popup__text{
    font-size: 18px;
    line-height: 25px;
}
.tanais-yandexcaptcha{
    margin-bottom: 15px !important;
}
body .wrapper .main-button.button_primary.button_primary-second{
    width: 100%;
    color: #2D2D2D;
    background-color: #E3F5FB;
}

body .wrapper .order_wrapper .order_total .order_total_coupon .input__container input.coupon-success{
    border-color: #00E65C;
}
body .wrapper .order_wrapper .order_total .order_total_coupon .input__container input.coupon-error{
    border-color: #FF0000;
}
/* Scroll-to-top */
#scrollToTop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  text-decoration: none;
  outline: none;
  z-index: 9999;

  /* базовые цвета в стиле Аспро */
  background: var(--theme-base, #00AAE6);
  color: #fff;

  /* скрыто по умолчанию */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

/* модификаторы под ваши классы */
#scrollToTop.ROUND_COLOR { border-radius: 50%; }
#scrollToTop.PADDING { padding: 0; }

/* появление */
#scrollToTop.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transform: rotate(270deg);
    fill: #fff;
}

/* ховер/фокус */
#scrollToTop:hover,
#scrollToTop:focus {
  background: var(--theme-accent, #3d8bfd);
  color: #fff;
}

/* иконка внутри */
#scrollToTop .icon {
  display: block;
  pointer-events: none;
}

/* немного адаптива */
@media (max-width: 767px) {
  #scrollToTop {
    right: 12px;
    bottom: 12px;
    width: 44px;
    height: 44px;
  }
}

/* если есть «плавающий» нижний бар — поднимем кнопку чуть выше */
.has-sticky-bottom #scrollToTop { bottom: 72px; }

/* уважение предпочтений пользователя */
@media (prefers-reduced-motion: reduce) {
  #scrollToTop { transition: none; }
}


/* Dual consent checkboxes on forms */
body .wrapper .privacy-policy-list,
body .fancybox__content .privacy-policy-list,
body .fancybox__slide .privacy-policy-list,
body .fancybox__footer .privacy-policy-list,
body .order_offer_info .privacy-policy-list {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	margin-top: 8px;
}

body .wrapper .privacy-policy-list .privacy-policy,
body .fancybox__content .privacy-policy-list .privacy-policy,
body .fancybox__slide .privacy-policy-list .privacy-policy,
body .fancybox__footer .privacy-policy-list .privacy-policy,
body .order_offer_info .privacy-policy-list .privacy-policy {
	margin-bottom: 0;
	width: 100%;
}
