/* footer */
.footer {
    color: #fff;
    background-color: #15325C;
    font-size: 12px;
}

.content-decorator .footer a, .footer .content-decorator a, .footer .link, .footer .link-decorator a, .link-decorator .footer a {
    color: #fff;
}

.footer .footer-phone__hint {
    color: #fff;
}

.footer .link-box_style_hover .link-box__link {
    color: #fff;
}

.footer .r-footer__phone-link {
    color: #fff;
}

.footer .r-footer__address .link-box__link, .footer .r-footer__address a {
    color: #fff;
}

.facts {
    padding: 40px 0;
    width: 100%;
    display: flex;
    gap: 25px;
}

.fact {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.fact-header {
    font-size: 42px;
    margin-bottom: 100px;
    font-weight: bold;
    line-height: 1.2;
}

.fact-text {
    font-size: 24px;
    line-height: 1.3;
}

.fact:nth-child(1) { background: #FF5E15; color: white; }
.fact:nth-child(2) { background: #F8F8F8; color: #15325C; }
.fact:nth-child(3) { background: #15325C; color: white; }

@media (max-width: 1020px) {
    .facts {
      flex-direction: column;
      padding: 20px 0;
      gap: 25px;
    }
    
    .fact {
      padding: 15px;
    }
    
    .fact-header {
      margin-bottom: 30px;
    }
}

.feedback_form__contacts_page .multiform-gap-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feedback_form__contacts_page .multiform-gap-form .multiform-gap-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feedback_form__contacts_page .multiform-gap-form .multiform-gap-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feedback_form__contacts_page .multiform-gap-form .multiform-gap-field div {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-search__input-container {
    position: relative;
}

/* НАЧАЛО БЛОКА "НАШИ ПРЕИМУЩЕСТВА" */
.our-advantages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.our-advantages__item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    gap: 20px;
    background: #F8F8F8;
}

.our-advantages__logo-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.our-advantages__logo {
    width: 50px;
    height: auto;
}

.our-advantages__header {
    font-weight: 700;
    font-size: 16px;
    line-height: 120%;
}

.our-advantages__description {
    max-width: 410px;
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    color: #222222;
    flex-grow: 1;
}

.our-advantages__button-container {
    margin-top: auto;
    align-self: flex-end;
}

.our-advantages-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 5px 20px;
    border: 1px solid #15325C;
    border-radius: 1px;
    font-weight: 500;
    font-size: 12px;
    text-align: center;
    text-decoration: none;
    color: #15325C;
    transition: all 0.2s ease;
}

.our-advantages-button:hover {
    background: #15325C;
    color: #fff;
}

.our-advantages__arrow {
    width: 10px;
    height: 10px;
}

.our-advantages-button:hover .our-advantages__arrow {
    filter: invert(100%) sepia(2%) saturate(0%) hue-rotate(127deg) brightness(103%) contrast(103%);
}

.our-advantages__arrow-down {
    transform: rotate(90deg);
}

@media (max-width: 1024px) {
    .our-advantages {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .our-advantages {
        grid-template-columns: 1fr;
    }

    .our-advantages__item {
        padding: 24px;
    }

    .our-advantages__header {
        font-size: 16px;
    }

    .our-advantages__description {
        font-size: 14px;
    }
}
/* КОНЕЦ БЛОКА "НАШИ ПРЕИМУЩЕСТВА" */

/* НАЧАЛО БЛОКА "ОСТАВЬТЕ ЗАЯВКУ, И МЫ ВАМ ПЕРЕЗВОНИМ" */
.callback-form {
    position: relative;
    min-height: 552px;
    background: #F8F8F8;
    padding: 32px;
    overflow: hidden;
}

.callback-form__content {
    position: relative;
    z-index: 3;
}

.callback-form__img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: auto;
    max-width: 100%;
    height: auto;
}

.callback-form__vector {
    z-index: 1;
}

.callback-form__woman {
    z-index: 2;
}

.home-form-block .multiform-gap-fields,
.home-form-block .multiform-gap-value {
    padding: 0 !important;
}

.callback-form__input,
.callback-form__textarea {
    width: 384px !important;
    padding: 12px 24px !important;
    border: 1px solid #DFDFDF !important;
}

.callback-form__textarea {
    resize: none;
}

.callback-form__files .multiform-fileinput-button span {
    padding: 12px 24px;
    width: 220px;
    background: #FFFFFF;
    border: 1px solid #DFDFDF;
    border-radius: 2px;
    font-weight: 500;
    font-size: 16px;
    color: #474747;
    text-align: center;
}

.callback-form__files .multiform-files {
    max-width: 384px;
}

.callback-form__text, .callback-form__policy {
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    color: #161616;
}

.callback-form__link, .callback-form__policy a,
.home-form-block .multiform-temp-file .multiform-cell a {
    color: #15325C;
    text-decoration: none;
}

.callback-form__link:hover,
.home-form-block .multiform-temp-file .multiform-cell a:hover {
    color: #1E447F;
    transition: all 0.25s ease;
}

.home-form-block .mf-button {
    padding: 12px 25px !important;
    width: 385px;
    background: #15325C !important;
    border-radius: 2px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    color: #FFFFFF !important;
}

.home-form-block .mf-button:hover {
    background: #1E447F;
    transition: all 0.25s ease;
}


@media (max-width: 768px) {
    .callback-form {
        height: 840px;
        padding: 20px;
    }

    .callback-form__input,
    .callback-form__textarea {
        width: 100% !important;
    }

    .callback-form__files .multiform-files {
        max-width: 100%;
    }

    .home-form-block .mf-button {
        width: 100%;
    }

    .callback-form__img {
        width: 500px;
    }
}

@media (max-width: 480px) {
    .callback-form {
        height: 680px;
        padding: 16px;
    }

    .callback-form__img {
        width: 300px;
    }
}
/* КОНЕЦ БЛОКА "ОСТАВЬТЕ ЗАЯВКУ, И МЫ ВАМ ПЕРЕЗВОНИМ" */

.product-add-to-cart__prices_text, .product-extend__price-block, .product-thumb__prices, .product-compact__price-block  {
    flex-direction: column;
}

.product-thumb__prices {
    align-items: start;
}
.product-add-to-cart__measure-unit {
    font-size: 20px;
    line-height: 36px;
}

.product-compact__price-text {
    margin-right: 0;
}

.recprd-plugin-block {
    margin-top: 20px;
    margin-bottom: 20px;
}

.recprd-plugin-block .product-thumb__prices {
    align-items: start;

}

.product-thumb__price {
    font-size: 24px;
}

@media (max-width: 1023px) {
    .r-header__list-item-link_phone {
        background-color: #fff;
        color: #15325C;
        padding: 2px 4px 2px;
    }
}

/* Faq */

.faq {
    max-width: 100%;
    margin: 40px auto;
}

.content-decorator h4 {
    margin-bottom: 0px;
}

.faq-item {
    margin-bottom: 15px;

    border: 1px solid var(--primary-color-alpha-5);
    border-radius: var(--inputs-buttons-border-radius);
}

.faq-title {
    display: block;
    padding: 10px 15px;
    position: relative;

    font-size: var(--font-normal);
    color: var(--font-color);
    cursor: pointer;
    
    border-radius: var(--inputs-buttons-border-radius);
    transition: background .2s ease-out;
    
}

.faq-title:after {
    content: "";
    display: block;

    border-style: solid;
    border-width: 8px 5px 0 5px;
    border-color: var(--light-color) transparent transparent transparent;
    border-radius: var(--inputs-buttons-border-radius);

    position: absolute;
    top: 50%;
    right: 15px;

    transform: translateY(-50%);
}

.faq-title:hover {
    background-color: var(--light-color);
    border-radius: var(--inputs-buttons-border-radius);
}

.faq-input {
    width: 0;
    height: 0;

    -webkit-appearance: none;
    appearance: none;

    position: absolute;
}

.faq-input:checked ~ .faq-title {
    background-color: var(--light-color);
    color: var(--color-white);
}

.faq-input:checked ~ .faq-title:after {
    border-style: solid;
    border-width: 0 5px 8px 5px;
    border-color: transparent transparent #fff transparent;
}

.faq-input:checked ~ .faq-text {
    display: block;
}

.faq-text {
    display: none;
    padding: 10px 15px;

    font-size: var(--font-normal);
    color: var(--font-color);
    font-size: 14px;
}

footer {
    margin-top: 100px;
}

.multiform-theme2 .multiform-title, .multiform-theme2 .multiform-form-description, .multiform-theme2 .multiform-gap-value input[type="text"], .multiform-theme2 .multiform-gap-value textarea, .multiform-theme2 .multiform-gap-value input[type="email"], .multiform-theme2 .multiform-gap-value select, .multiform-theme2 .multiform-gap-value .multiform-formula span, .multiform-theme2 .multiform-gap-value input[type="tel"], .multiform-theme2 .multiform-gap-value input[type="file"] {
    font-family: var(--font-family) !important;
}

.prices-categories_form {
    padding: 10px 15px;
}

.prices-categories_send-button {
    padding: 12px 25px !important;
    width: 385px;
    border: 0px;
    background: #15325C !important;
    border-radius: 2px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    color: #FFFFFF !important;
}

.prices-categories_send-button:hover {
    background: #1E447F;
    transition: all 0.25s ease;
}

.multiform-wrap.multiform-theme2 {
    max-width: 500px !important;
}

.prices-categories_button {
    padding: 12px 25px !important;
    display: block;
    width: 250px;
    border: 0px;
    background: #15325C !important;
    border-radius: 2px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    color: #FFFFFF !important;
    text-align: center;
}

.prices-categories_button:hover {
    background: #1E447F;
    transition: all 0.25s ease;
}

.blocks {
    gap: 20px;
}

/*КД: Минимальный объем заказа*/
.product-min-order__block {
    background-color: #FAFAFA;
    display: flex;
    padding: 10px 15px;
    border-radius: 15px;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    font-size: 15px;
}

.product-min-order__icon {
    width: 40px;
    height: 40px;
}

@media (max-width: 768px) {
    .product-min-order__block {
        font-size: 20px;
    }
}
/*КД: Конец стилей на Минимальный объем заказа*/

/*Начало блока "Содержание" для Блога*/
#anchorlinks-toc {
    background: #fafafa !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 15px;
    margin: 10px 0;
    z-index: 1 !important;
}

.anchorlinks-toggle-icon {
    display: none !important;
}

.anchorlinks-title {
    margin-left: 0 !important;
    color: #000 !important;
    font-weight: bold;
}

.anchorlinks-content a {
    color: #686868 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
    display: block;
    padding: 3px 0;
}

.anchorlinks-content a:hover {
    color: #E31E24 !!important;
    text-decoration: none !important;
}

.anchorlinks-content a:active {
    color: #E31E24 !!important;
}

.anchorlinks-list-toggle {
    display: none !important;
}

.anchorlinks-toggle-button {
    color: #E31E24 !important;
    border: none !important;
    background: none !important;
    cursor: pointer;
    font-size: 16px;
    position: relative;
    top: -7px;
}

.anchorlinks-toggle-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0px !important;
}

.anchorlinks-level-0,
.anchorlinks-level-1,
.anchorlinks-level-2 {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.anchorlinks-level-1 {
    padding-left: 15px !important;
    margin-top: 5px;
}

.anchorlinks-level-2 {
    padding-left: 30px !important;
}

.anchorlinks-content ul[style*="display: block"] {
    display: block !important;
}

#anchorlinks-toc.detached {
    top: 100px !important;
}

.anchorlinks-toggle-button {
    color: #E31E24 !important;
    border: none !important;
    background: none !important;
    cursor: pointer;
    font-size: 16px;
    position: relative;
    top: -7px;
    padding: 0;
    width: 20px !important;
    height: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: bold !important;
    transition: transform 0.3s ease !important;
}

.anchorlinks-toggle-button img {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.anchorlinks-collapsible.expanded .anchorlinks-toggle-button img {
    transform: rotate(180deg);
}

.anchorlinks-toggle-button::before {
    content: none !important;
}

#anchorlinks-toc {
    min-width: 250px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.anchorlinks-title {
    white-space: nowrap;
    margin-left: 0 !important;
    color: #000 !important;
    font-weight: bold;
    flex-grow: 1;
    cursor: pointer;
}

.anchorlinks-toggle-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0px !important;
    cursor: pointer;
    user-select: none;
}

.anchorlinks-toggle-button {
    color: #E31E24 !important;
    border: none !important;
    background: none !important;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    width: 20px !important;
    height: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: bold !important;
    transition: transform 0.3s ease !important;
    flex-shrink: 0;
}


.anchorlinks-content {
    transition: all 0.3s ease;
    overflow: hidden;
    max-height: 1000px;
}

#anchorlinks-toc.collapsed .anchorlinks-content {
    max-height: 0 !important;
    opacity: 0;
    margin-top: 0;
    padding-top: 0;
}

#anchorlinks-toc.expanded .anchorlinks-content {
    max-height: 1000px;
    opacity: 1;
    margin-top: 10px;
    padding-top: 5px;
}

#anchorlinks-toc.expanded .anchorlinks-toggle-button img {
    transform: rotate(180deg);
}

.anchorlinks-toggle-container:hover {
    opacity: 0.8;
}

.anchorlinks-toggle-button::before {
    content: none !important;
}

.anchorlinks-content ul {
    transition: opacity 0.2s ease;
}

#anchorlinks-toc.collapsed .anchorlinks-content ul {
    opacity: 0;
}

#anchorlinks-toc.expanded .anchorlinks-content ul {
    opacity: 1;
}

/*Конец блока "Содержание" для Блога*/

/*Начало стилей для вывода плагинов Блога*/

.blog-post-page__datetime-container {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

@media (max-width: 1024px) {
    .blog-post-page__datetime-container {
        flex-direction: column;
        gap: 10px;
    }
    .blog-post-page__reading-viewed-container {
        gap: 10px;
        flex-direction: row;
    }
    .blog-post-page__text-container {
        text-align: justify;
    }
}

.blog-block__content {
    max-width: 1024px;
}

.blog-post-page__text-container img{
    margin: 20px 0;
}

.blog-post-page__text-container th {
    font-weight: 600;
}

.blog-post-page__text-container td {
    text-align: center;
    border: 1px solid #eee !important;
}


.blog-post-page__viewed-container, .blog-post-page__reading-time {
    display: flex;
    gap: 4px;
    align-items: center;
    color: #686868;
}

.blog-post-page__reading-viewed-container {
    display: flex;
    gap: 10px;
    flex-direction: row;
}