/* Подключение шрифта */
@font-face {
  font-family: 'Evolventa';
  src: url('fonts/evolventa/woff/Evolventa-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Evolventa';
  src: url('fonts/evolventa/woff/Evolventa-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

 

h1,h2,h3,h4,h5,h6{
  font-family: 'Inter', sans-serif;
}

.show_all_main_page_btn {
  background-color: #00969d !important;
  border-radius: .375rem !important;
  color: #FFF !important;
  font-size: .875rem !important;
  font-weight: 700 !important;
  padding: .7188rem 1rem !important;

  transition: all 0.3s;
}

.show_all_main_page_btn:hover {
  background-color: #AC0A11 !important;
}

#main_input_search {
    border: 0;
	height: 38px;
}
 
#main_input_search::placeholder { 
  color: #9999;
}

body {
    background-color: #FFF;
	font-family: 'Inter', sans-serif;
    overflow-x: hidden !important;
}

h2 {
    font-size: 2rem !important;
    font-weight: 700;
    color: #05020B !important;
    margin-bottom: 0 !important;
}

h3 {
    font-size: 1.5rem !important;
    font-weight: 500;
}

.header {
    padding: 0 0 0 0;
    background-color: transparent;
}

.nav .nav-item a {
    color: #ffffff !important;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.categories_header_nav li a {
    padding-top: 1.0625rem;
    padding-bottom: 1.0625rem;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    box-sizing: border-box;

    padding: 0 1.25rem;
}

.burger {
  width: 1.875rem;
  height: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.burger span {
    display: block;
    height: .25rem;
    background-color: #A2264E;
    border-radius: .125rem;
}


.search {
    padding: 9px 22px;
    font-size: 20px;
    width: 100%;
    height: 3.75rem;
    border-radius: 8px;
    color: #060606;
    border: 0px solid #d1d5db;
}

.favotites_container {
    position: relative;
    padding: .9375rem;
    background-color: #F8F8F8;
    border-radius: .625rem;
}

.favotites_container b {
    position: absolute;
    top: -5px;
    color: #5c5c5c;
    right: -7px;
    background: rgb(255, 255, 255, .72);
    border-radius: 50%;
    border: 1px solid #e9e9e9;
    font-size: 14px;
    padding: 3px;
    font-weight: 400;
    width: 1.8125rem;
    text-align: center;
}

.cart_container {
    position: relative;
    padding: .9375rem;
    background-color: #F8F8F8;
    border-radius: .625rem;
}

.custom-head-alert {
    position: relative;
    color: #C0BFC2;
    transition: all .2s;
}

.custom-head-alert:hover {
    color: #AC0A11 !important;

    transform: scale(1.1);
}

.custom-head-alert b {
    position: absolute;
    top: -5px;
    color: #FFFFFF;
    right: -10px;
    background: rgb(177, 0, 0);
    border-radius: 50%;
    border: 1px solid #e9e9e9;
    font-size: 10px;
    padding: 2px;
    font-weight: 400;
    width: 20px;
    text-align: center;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

.top-contacts-menu .col {
    transition: all 0.4s;
}

.top-contacts-menu .col:hover {
    color: #AC0A11;
}

.header-search-button {
    transition: all 0.4s !important;
}

.header-search-button:hover {
    background-color: #5c5c5c !important;
}



.feedback::placeholder {
    color: #ffffff
}

.feedback:focus {
    outline: none;
    box-shadow: none;
}

.feedback[type="number"] {
    -moz-appearance: textfield;
}

.feedback[type="number"]::-webkit-inner-spin-button, 
.feedback[type="number"]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

.scrollable-list {
  max-height: 150px;   /* фиксируем высоту области */
  overflow-y: auto;    /* включаем вертикальный скролл */
}

.scrollable-list::-webkit-scrollbar {
  width: 6px;
}
.scrollable-list::-webkit-scrollbar-thumb {
  background-color: #666;
  border-radius: 3px;
}
.scrollable-list::-webkit-scrollbar-track {
  background-color: #222;
}

.scrollable-list ul li {
    background-color: transparent !important;
    border: none !important;
    padding: .25rem 0 !important;
}

.scrollable-list ul li {
    background-color: transparent;
    border: none;
    padding: .375rem 1rem;
}

input.form-check-input:focus {
    outline: none;
    box-shadow: none;
    border-color: #fff;
}

input.form-check-input:checked {
    border-color: #fff;
}

.input-group .btn-outline-secondary {
    background-color: #C0BFC2;
    color: #FFFFFF;
    border: none;
}

.input-group .form-control-search {
    background-color: #F2F2F3 !important;
    background: url(/local/templates/main/images/search_foto.svg) no-repeat;
    background-position: right center;
}

.footer-light-gray-row {
    row-gap: 30px;
}

.footer_contacts {
    font-size: 14px;
    flex-wrap: nowrap;
    height: 100%; 
}

.footer_contacts a {
    transition: all 0.1s;
}

.footer_contacts a:hover {
    color: #AC0A11;
}

.politica-conf, .personal_data {
    transition: all .1s !important;
}

.politica-conf:hover, .personal_data:hover {
    text-decoration: underline !important;
}

.footer_order_call_button {
    transition: all .3s !important;
}

.footer_order_call_button:hover {
    background-color: #AC0A11 !important;
}

.footer {

}


.footer-hashtag-relative-top, .footer-hashtag-relative-bottom {
    position: absolute;
}

.footer-hashtag-relative-bottom {
    top: -13%;
    left: -20px;
    z-index: 1;
    color: #ffffff29;
}

.footer-hashtag-relative-top {
    top: -68%;
    right: -40px;
    z-index: -1;
}




@keyframes bg-move {
  from { background-position: 0 bottom; }
  to   { background-position: -1535px bottom } /* подбери число под ширину тайла */
}

.catalog_button {
    border: solid 1px #DB4A50; 
    color: #DB4A50;
    transition: all 0.5ms;
}

.catalog_button .fas.fa-bars {
    color: #DB4A50
}

.catalog_button:hover {
    border: solid 1px #AC0A11;
    background-color: #AC0A11;
    color: #FFFFFF
}

.catalog_button:hover .fas.fa-bars {
    color: #FFFFFF
}

.order_call_button {
    background-color: #D10F17; 
    color: #ffffff;
}

.order_call_button:hover {
    background-color: #AC0A11;
    color: #FFFFFF;
}

.nav .nav-item a {
    transition: all 0.5s;
}

.nav .nav-item a:hover {
    background-color: #AB0A11 !important;
    color: #FFFFFF !important;
}

.footer-phone-number {
    transition: all 0.1s;
}

.footer-phone-number:hover {
    color: #AC0A11;
}

.telegram, .whatsapp, .vk {
    color: #FFFFFF4C;
    /* background-color: #FFFFFF4C;
    padding: 6px 2px 5px 3px;
    border-radius: 50%; */
    transition: all 0.4s;
}

.telegram:hover, .whatsapp:hover, .vk:hover {
    color: #FFFFFF;

    transform: scale(1.1);
}

.max {
    color: #FFFFFF4C;
    /* background-color: #FFFFFF4C;
    padding: 6px 2px 5px 3px;
    border-radius: 50%; */
    transition: all 0.4s;
}

.max:hover{ 
    transform: scale(1.1);
}
.max:hover path{
    fill: #FFFFFF; 
}

.list-group .list-group-item {
    transition: all 0.1s !important;
}

.list-group .list-group-item:hover {
    color: #AC0A11 !important;
}

@media (max-width: 1500px) {
    .footer-hashtag-relative-bottom {
        left: 0;
    }

    .footer-hashtag-relative-top {
        right: 0;
    }

}

@media (max-width: 1300px) {
    .container {
        max-width: calc(100vw - 40px);
    }
}

@media (max-width: 992px) {
    
    .footer-hashtag {
        top: -35%;
    }

    .container {
        max-width: calc(100vw - 20px);
    }

    .container {
        padding: .625rem;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    .footer_contacts {
        font-size: 14px; 
        flex-wrap: wrap; 
        height: 140px
    }

    .footer {
        background-color: #05020B;
        padding-top: 40px; 
        padding-bottom: 84px; 
        background-position: center 97%; 
        background-repeat: repeat-x; 
        background-size: 80% auto;
    }
}

@media (min-width: 992px) {
    .container {
        padding: 0 0px;
        max-width: 1360px;
    }
}

.head_blog{
	display: flex;
    text-align: end;
    align-items: center;
    gap: 7px;
    margin-top: 20px;
    justify-content: end;
	color: #C0BFC2;
	font-size: 14px;
}

#scroller{position: fixed;right:30px;bottom: 79px;width: 32px;height: 32px;cursor: pointer;display:none;font-size: 18px;color: var(--color-brand);z-index: 50;}


/* --- НОВЫЕ СТИЛИ ФУТЕРА (FIGMA) --- */

.new-footer-design {
    background-color: #3D4042;
    padding: 40px 0 20px 0;
    font-family: 'Inter', sans-serif;
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Сетка колонок */
.footer-top-wrapper {
    position: relative;
    margin-bottom: 40px;
}

.footer-menu-grid {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.footer-col {
    flex: 1 1 0;
}

.footer-col-production {
    width: 420px;
    flex: none;
}

.footer-col-title {
    opacity: 0.80;
    color: #CACCD0;
    font-size: 16px;
    font-weight: 400;
    line-height: 21.6px;
    margin-bottom: 12px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list li a {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 20.8px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-list li a:hover {
    color: #00B1BA;
}

/* Скролл для списка каталога если нужно */
.footer-catalog-list {
    /* Если список очень длинный, можно ограничить высоту */
    max-height: 300px; 
    overflow-y: auto;
}

.footer-catalog-list::-webkit-scrollbar {
  width: 4px;
}
.footer-catalog-list::-webkit-scrollbar-thumb {
  background-color: rgba(255,255,255,0.3);
  border-radius: 3px;
}

/* Блок "Напишите нам" (абсолютный) */
.footer-write-us-block {
   
   margin-top: 38px; /* Отступ от списка выше */
    width: 68%; /* Ширина на всю колонку */
    background: rgba(255, 255, 255, 0.10);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box; /* Чтобы padding не ломал ширину */
   
}

.write-us-text {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    line-height: 22.4px;
}

.write-us-socials {
    display: flex;
    gap: 8px;
}

/* Иконки из шапки */
.social-icon-white {
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #00B1BA;
    font-size: 16px;
    transition: transform 0.2s, background 0.2s;
}

.social-icon-white:hover {
    transform: scale(1.1);
    background: #f0f0f0;
    color: #00B1BA;
}

/* Нижняя часть футера */
.footer-bottom-wrapper {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.footer-bottom-content {
   display: flex;
    justify-content: flex-start; /* Выравниваем по левому краю */
    align-items: center;
    gap: 24px; /* Фиксированный отступ 24px */
}

.footer-logo img {
    height: 65px; /* Размер как в фигме */
    width: auto;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: #CACCD0;
    font-size: 16px;
    font-weight: 500;
    text-decoration: underline;
    line-height: 22.4px;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: #fff;
}

/* Адаптив для футера */
@media (max-width: 1200px) {
    .footer-menu-grid {
        flex-wrap: wrap;
    }
    .footer-col {
        flex: 1 1 25%; /* По 2 колонки на планшете */
        margin-bottom: 30px;
    }
    .footer-col-production {
        width: 100%;
        flex: 1 1 100%;
    }
    .footer-write-us-block {
        position: relative;
        top: 0;
        margin-top: 20px;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .footer-col {
        flex: 1 1 100%;
    }
    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }
}
}



/* Активное состояние сравнения */
.pt-action-btn.compare_active,
.pt-action-btn.active,
.line-nw-icon-btn.compare_active,
.line-nw-icon-btn.active {
    color: #00B1BA !important;
}

/* Активное состояние избранного */
.pt-action-btn.favorites_active,
.pt-action-btn.active,
.line-nw-icon-btn.favorites_active,
.line-nw-icon-btn.active {
    color: #00B1BA !important;
}

/* Убедимся, что иконки внутри тоже меняют цвет */
.pt-action-btn.compare_active svg path,
.pt-action-btn.active svg path,
.line-nw-icon-btn.compare_active svg path,
.line-nw-icon-btn.active svg path {
    fill: #00B1BA !important;
}

.pt-action-btn.favorites_active svg path,
.pt-action-btn.active svg path,
.line-nw-icon-btn.favorites_active svg path,
.line-nw-icon-btn.active svg path {
    fill: #00B1BA !important;
}





/* =========================================
   БЛОК ЭТАПЫ ОПЛАТЫ
   ========================================= */

.payment_stages_section {
    margin-bottom: 4rem;
}

.stages_wrapper {
    width: 100%;
    position: relative;
    background: var(--BG-Dark, #3D4042);
    overflow: hidden;
    border-radius: 16px;
    padding: 40px 40px 40px 0; /* Отступ слева 0, чтобы title вышел на край */
    min-height: 281px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Фоновая картинка - строго по вашему ТЗ */
.stages_bg_ellipse {
    position: absolute;
    /*width: 304px;
    height: 129px;*/
    left: 0%;
    transform: rotate(0deg);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}
/* Ограничиваем размер самой картинки внутри контейнера, чтобы она не разъезжала блок */
.stages_bg_ellipse img {
    max-width: 304px;
    height: auto;
    display: block;
}

/* Заголовок Этапы оплаты - явно задаем белый цвет */
.stages_title {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff !important;
    font-size: 40px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    z-index: 1;
    max-width: 220px;
}

/* Контейнер для карточек */
.stages_cards {
    display: flex;
    align-items: stretch; /* ВАЖНО: Растягивает все карточки по максимальной высоте */
    justify-content: flex-start;
    width: 78%; /* Занимаем оставшуюся часть справа */
    position: relative;
    z-index: 2;
}

/* Сами карточки */
.stage_card {
    flex: 1 1 0;
    padding: 16px;
    background: var(--White, white);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 12px;
    /* Высота задается автоматически контейнером flex (align-items: stretch) */
}

/* Иконки - жестко фиксируем размер, чтобы они были одинаковыми у всех */
.stage_icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stage_icon img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Картинка масштабируется без искажений внутри 48x48 */
}

.stage_name {
    color: var(--Text-Dark, #292A2A);
    font-size: 16px;
    font-weight: 600;
    line-height: 20.80px;
    font-family: 'Inter', sans-serif;
}

.stage_desc {
    color: var(--Text-Dark-Gray, #878D91);
    font-size: 16px;
    font-weight: 400;
    line-height: 22.40px;
    font-family: 'Inter', sans-serif;
    word-wrap: break-word;
}
/* Текст внутри анонса, который выделен жирным в редакторе Битрикса */
.stage_desc b, .stage_desc strong {
    color: var(--Text-Dark, #292A2A);
    font-weight: 600;
}

/* Контакты в первой карточке */
.stage_contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto; /* Прижимаем контакты к низу карточки */
}
.stage_contacts a {
    color: var(--Accent-Default, #00B1BA);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.2;
}
.stage_contacts a:hover {
    text-decoration: underline;
}

/* 
   Стрелочки между карточками. 
   Трюк: Стрелка 80px, отступ (gap) 16px. 
   Чтобы она легла идеально по центру отступа и заходила на карточки, 
   делаем отрицательные маржины по 32px с каждой стороны. 
*/
.stage_arrow {
    flex-shrink: 0;
    width: 80px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-left: -32px;
    margin-right: -32px;
    z-index: 3;
    position: relative;
    top: -20px; 
}


/* --- Адаптив для этапов --- */
@media (max-width: 1199.98px) {
    .stages_cards {
        width: 70%;
    }
    .stages_title {
        font-size: 32px;
    }
}

@media (max-width: 991.98px) {
    .stages_wrapper {
        flex-direction: column;
        padding: 40px 20px;
        align-items: stretch;
    }
    
    .stages_title {
        position: static;
        transform: none;
        max-width: 100%;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .stages_cards {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stage_card {
        flex: 1 1 calc(50% - 16px);
        max-width: calc(50% - 16px);
    }
    
    /* Прячем стрелки на планшетах, так как карточки переносятся */
    .stage_arrow {
        display: none;
    }
    
    /* На планшетах прячем эллипс, чтобы не портил верстку */
    .stages_bg_ellipse {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .stage_card {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .stages_title {
        font-size: 26px;
    }
}
 
 /* === Блок с телефоном и Заказать звонок === */
.top-bar-phone-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center; /* Из Фигмы */
    gap: 2px; /* Из Фигмы */
    padding-top: 3px; /* Из Фигмы */
}

.phone-number {
    color: #fff; /* var(--Text-White) */
    font-weight: 600;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    transition: color 0.2s;
}

.phone-number:hover {
    color: #2DD8E1;
    text-decoration: none;
}

.callback-link {
    color: #2DD8E1; /* var(--Accent-AccentOnDark) */
    font-weight: 500;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
}