/* модальная форма */

.contact-modal {
    opacity: 0;
    transition: all 3s linear !important;
}
.fancybox-inner .contact-modal {
    opacity: 1;
}
#js-modal {
    max-width: calc(600px * var(--k));
}
.fancybox-button.fancybox-close-small {
    border: 1px solid #f00;
    border-radius: 15px; color: #f00;
    margin: 20px 20px 0 0;
}
@media (max-width: 1680px) {
    .fancybox-button.fancybox-close-small { width: 30px; height: 30px; padding: 0; border-radius: 10px; }
}

.breadcrumbs__nav {
    text-transform: uppercase;
}

.js_modal_form {
    position: relative;
}
.form_done_wrap {
    background: #fff;
    width: 600px;
    padding: 55px;
    border: 1px solid #999;
    border-radius: var(--radius-20);
    margin: auto;
    text-align: center;
}
.form_done_title {
    font-size: 38px;
    line-height: 1.2;
    font-weight: bold;
}
.form_done_text {
    font-size: 20px;
    margin-top: 25px;
}
.js_modal_form .form-checkbox-agree label.error::before {
    border-color: #b91218;
}

/* модальная форма / end */

.promotion-banner__content .btn {
    width: auto;
}

.contacts-info__card {
    margin-top: 0;
}

/*
    https://zepro-oil.ru/contacts/
    Переключение вкладок
*/

.contacts-info__city.is-active {
    background-color: var(--c-red);
    color: var(--c-white);
    border-color:var(--c-red);
}
    
.contacts-info__details.contacts-info__city-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
}

.contacts-info__details.contacts-info__city-block:not(.is-active) {
  display: none;
}

.contacts-info__address-link {
    color: var(--c-border-gray);
    text-decoration: none;
}

.contacts-info__address-link:hover {
    color: var(--c-red);
}

/*
    Закругление углов у баннера на главной странице
*/

.contact__image .contact__img {
    border-radius: var(--radius-16);
}

/*
    https://zepro-oil.ru/about/
    Иконки
*/

.production .production__item-icon img {
    width: 80px;
    height: 80px;
}

@media (max-width: 1024px) {
    .production .production__item-icon img {
        width: 60px;
        height: 60px;
    }

    .features__item .features__item-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
    }
}


/*
    https://zepro-oil.ru/cooperation/
    Иконки
*/

.benefits__item--active .benefits__item-number { bottom: 0; }

.benefits .benefits__header-icon img {
    width: 90px;
    height: 90px;
}

@media (max-width: 1024px) {
    .benefits .benefits__header-icon img {
        width: 60px;
        height: 60px;
    }
}






/* Удаление подчеркивания у плиток и вкладок */
.catalog-views__list .catalog-views__item, .press__sub-tabs .press__sub-tab {
    text-decoration: none;
}



/* Бургер-меню */
.header__sidebar { padding-bottom: 150px; }

/* Верхнее-меню */
.header__nav { left: 45%; }


/* Каталог товаров */
.catalog-views { padding-top: 55px; }

.product-card__name { width: 70%; }
.product-card__volume { width: 30%; text-align: right; }
@media (max-width: 480px) {
   .product-card__volume { font-size: 18px; } 
}


/* Каталог подбора */
.product-selection { padding-top: 55px; }

.selection-tables__table td { text-wrap: wrap; }
@media (max-width: 480px) {
    .selection-tables__table td { font-size: 14px;}
}


/* баннер - ВОЗНИКЛИ ТРУДНОСТИ С ПОДБОРОМ? */
.product-selection--alt .product-selection__inner { padding: 35px 70px !important; }
@media (max-width: 991px) {
     .product-selection--alt .product-selection__inner { padding: 35px 50px !important; }
}
@media (max-width: 640px) {
    .product-selection--alt .product-selection__inner { padding: 35px !important; }
}


/* Меню в подвале */
.footer_nav_column { columns: 2 200px; line-height: 2; }
@media (max-width: 480px) {
    .footer_nav_column { columns: 2 150px; }
}


/* Главная - баннер О БРЕНДЕ */
@media (max-width: 1024px) {
    .brand__btn.visible--xs { margin-bottom: 45px; }
}



/* хлебные крошки */
.breadcrumbs__current { font-size: calc(16px * var(--k)); }
.breadcrumbs__link  { font-size: calc(16px * var(--k)); }
@media (max-width: 991px) {
    .breadcrumbs__current { font-size: calc(14px * var(--k)); }
    .breadcrumbs__link  { font-size: calc(14px * var(--k)); }
}
@media (max-width: 480px) {
    .breadcrumbs__current { font-size: calc(12px * var(--k)); }
    .breadcrumbs__link  { font-size: calc(12px * var(--k)); }
}



/* select в формах */
.product-selection__field.has-value label { display: none; }
.product-selection__field .ss-main .ss-values .ss-single, .selection-form__field .ss-main .ss-values .ss-single, .press__sort .ss-main .ss-values .ss-single { 	margin: 0; }
.product-selection__field select { display: none; }



