@page {
    size: A4;
    margin: 12mm;
}

html,
body.wf-print-body {
    margin: 0;
    padding: 0;
    background: #fff;
    color: #111;
}

.wf-print-body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.4;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.wf-print {
    box-sizing: border-box;
    max-width: 700px;
    margin: 0 auto;
    padding: 18px 15px 28px;
    background: #fff;
    color: #111;
}

.wf-print a {
    color: #111;
    text-decoration: none;
}

.wf-print__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
}

.wf-print__brand {
    flex: 0 1 280px;
}

.wf-print__logo {
    margin-bottom: 12px;
    max-width: 220px;
}

.wf-print__logo a,
.wf-print__logo span {
    display: inline-block;
}

.wf-print__logo img,
.wf-print__logo svg {
    display: block;
    max-width: 200px;
    max-height: 52px;
    width: auto;
    height: auto;
}

.wf-print__logo .fill-dark-light {
    fill: #111;
}

.wf-print__contacts {
    flex: 1 1 auto;
    text-align: left;
    font-size: 12px;
    line-height: 1.45;
    color: #222;
    padding-top: 4px;
}

.wf-print__icon-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 20px;
    color: #222;
}

.wf-print__icon-row:last-child {
    margin-bottom: 0;
}

.wf-print__ico {
    flex: 0 0 auto;
    display: block;
    margin-top: 1px;
}

.wf-print__rule {
    margin: 14px 0;
    border: 0;
    border-top: 2px solid #d22232;
}

.wf-print__rule--muted {
    margin: 20px 0 30px;
    border-top-width: 1px;
    border-top-color: #e3e2e4;
}

.wf-print__title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    color: #111;
}

.wf-print__hero {
    margin-bottom: 18px;
}

.wf-print__hero-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
}

.wf-print__photo {
    flex: 1 1 auto;
    box-sizing: border-box;
    height: 200px;
    padding: 10px;
    border: 1px solid #c4c4c4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wf-print__photo img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.wf-print__actions {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 215px;
    margin: 0 0 0 15px;
}

.wf-print__print-btn {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 10px 20px;
    border: none;
    border-radius: 0;
    background: #d22232;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color .15s;
}

.wf-print__print-btn img {
    display: block;
    flex: 0 0 20px;
}

.wf-print__print-btn:hover,
.wf-print__print-btn:focus,
.wf-print a.wf-print__print-btn:hover,
.wf-print a.wf-print__print-btn:focus {
    background: #b21c2a;
    color: #fff;
    outline: none;
}

.wf-print a.wf-print__print-btn {
    color: #fff;
}

.wf-print-modal[hidden] {
    display: none !important;
}

.wf-print-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    font-family: Manrope, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.47;
}

.wf-print-modal__overlay {
    position: absolute;
    inset: 0;
    background: #3a3f44;
    opacity: .7;
}

.wf-print-modal__window {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: 100%;
    max-width: 480px;
    max-height: 100%;
    overflow: auto;
    background: #fff;
    border-radius: 12px;
}

.wf-print-modal__close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    box-sizing: border-box;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: none;
    color: #888;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wf-print-modal__close:hover {
    background: #f2f2f2;
    color: #222;
}

.wf-print-modal__header {
    padding: 32px 32px 0;
}

.wf-print-modal__title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: calc(1em + 8px);
    color: #222;
}

.wf-print-modal__body {
    padding: 20px 32px 0;
}

.wf-print-modal__footer {
    padding: 4px 32px 32px;
}

.wf-print-modal .form-checkbox {
    position: relative;
    margin: 0 0 20px;
}

.wf-print-modal__group {
    position: relative;
    margin: 0 0 20px;
}

.wf-print-modal__group label {
    display: block;
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 1.3;
    color: #555;
}

.wf-print-modal__group input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 44px;
    margin: 0;
    padding: 6px 16px;
    border: 1px solid #e3e2e4;
    border-radius: 8px;
    background: #fff;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.47;
    color: #111;
}

.wf-print-modal__group input:hover {
    border-color: #c9c7ca;
}

.wf-print-modal__group input:focus {
    outline: none;
    border-color: #999;
}

.wf-print-modal__group.is-error input {
    border-color: #fba0b0;
}

.wf-print-modal__hint {
    margin: 4px 0 0;
    color: #ff4f64;
    font-size: 13px;
    line-height: 18px;
}

.wf-print-modal .form-checkbox .wf-print-modal__hint {
    padding-left: 24px;
}

.wf-print-modal .form-checkbox {
    position: relative;
}

.wf-print-modal .form-checkbox__input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.wf-print-modal .form-checkbox__label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    font-size: 13px;
    line-height: 18px;
    color: #666;
}

.wf-print-modal .form-checkbox__box {
    order: -1;
    flex: 0 0 16px;
    box-sizing: border-box;
    width: 16px;
    height: 16px;
    margin-top: 0;
    border: 1px solid #dadada;
    border-radius: 3px;
    background: #fff;
}

.wf-print-modal .form-checkbox__label:hover .form-checkbox__box {
    border-color: #999;
}

.wf-print-modal .form-checkbox__input:checked + .form-checkbox__label .form-checkbox__box {
    border-color: #d22232;
    background: #d22232 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2.2 6.2 4.8 8.8 9.8 3.2'/%3E%3C/svg%3E") center / 10px 10px no-repeat;
}

.wf-print-modal .form-checkbox a {
    color: #888;
    text-decoration: none;
    border-bottom: 1px dotted #888;
}

.wf-print-modal .form-checkbox a:hover {
    color: #222;
    border-bottom-color: #222;
}

.wf-print-modal__error {
    margin: 0 0 16px;
    padding: 12px 15px;
    background: #fee;
    color: #e83333;
    font-size: 13px;
    line-height: 1.4;
    border-radius: 4px;
}

.wf-print-modal__ok {
    padding: 48px 32px 32px;
    text-align: center;
}

.wf-print-modal__ok-icon {
    margin: 0 0 18px;
}

.wf-print-modal__ok .wf-print-modal__title {
    margin: 0 0 8px;
}

.wf-print-modal__ok p {
    margin: 0 0 24px;
    font-size: 15px;
    line-height: 1.45;
    color: #444;
}

.wf-print-modal__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 13px 26px;
    border: 1px solid #d22232;
    border-radius: 8px;
    background: #d22232;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    line-height: 1em;
    text-align: center;
    cursor: pointer;
}

.wf-print-modal__submit:hover,
.wf-print-modal__submit:focus {
    background: #b21c2a;
    border-color: #b21c2a;
    color: #fff;
    outline: none;
}

.wf-print-modal__submit--ghost {
    background: #fff;
    color: #222;
    border-color: #c9c7ca;
    font-weight: 500;
}

.wf-print-modal__submit--ghost:hover,
.wf-print-modal__submit--ghost:focus {
    background: #f7f7f7;
    border-color: #999;
    color: #222;
}

.wf-print-modal__submit:disabled {
    opacity: .6;
    cursor: wait;
}

.wf-print-modal__form.sending::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    background: rgba(255, 255, 255, .7);
}

.wf-print-modal__form {
    position: relative;
}

.wf-print-modal__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.wf-print__price {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: #111;
}

.wf-print__price-note {
    margin-top: 4px;
    font-size: 12px;
    color: #444;
}

.wf-print__chars-title {
    display: none;
}

.wf-print__table,
.wf-print .properties-group {
    width: 100%;
}

.wf-print .properties-group__group {
    margin: 0 0 12px;
}

.wf-print .properties-group__group-name {
    margin: 0;
    padding: 10px 0 6px;
    background: none;
    border-bottom: 1px solid #c9c9c9;
    color: #d22232;
    font-size: 14px;
    font-weight: 700;
    box-sizing: border-box;
}

.wf-print .properties-group__items {
    display: block;
}

.wf-print .properties-group__item,
.wf-print__table-row {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0;
    border: 0;
}

.wf-print .properties-group__name-wrap,
.wf-print__table-name {
    width: 45%;
    padding: 6px 14px 6px 0;
    background: none;
    border-bottom: 1px solid #e3e3e3;
    color: #555;
    box-sizing: border-box;
}

.wf-print .properties-group__value-wrap,
.wf-print__table-value {
    width: 55%;
    padding: 6px 0;
    background: none;
    border-bottom: 1px solid #e3e3e3;
    color: #221e1f;
    box-sizing: border-box;
}

.wf-print .properties-group__name,
.wf-print .properties-group__value {
    color: inherit;
}

.wf-print .hint,
.wf-print .tooltip {
    display: none !important;
}

.wf-print-facts {
    margin: 0 0 30px;
}

.wf-print-facts:last-of-type {
    margin-bottom: 0;
}

.wf-print-facts__title {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #111;
}

.wf-print-facts__title + .wf-print-facts__item {
    margin-top: 26px;
}

.wf-print-facts__note {
    margin: 0 0 30px;
    font-size: 13px;
    line-height: 1.4;
    color: #6d6b6e;
}

.wf-print-facts__item {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    margin-bottom: 30px;
}

.wf-print-facts__item:last-child {
    margin-bottom: 0;
}

.wf-print-facts__ico {
    flex: 0 0 32px;
    display: block;
    width: 32px;
    height: 32px;
    margin-top: 1px;
    background: #d22232;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-position: center;
            mask-position: center;
    -webkit-mask-size: contain;
            mask-size: contain;
}

.wf-print-ico--shield {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
}

.wf-print-ico--engine {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3.2'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3M4.9 4.9l2.1 2.1M17 17l2.1 2.1M19.1 4.9 17 7M7 17l-2.1 2.1'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3.2'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3M4.9 4.9l2.1 2.1M17 17l2.1 2.1M19.1 4.9 17 7M7 17l-2.1 2.1'/%3E%3C/svg%3E");
}

.wf-print-ico--bolt {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 3 14h9l-1 8 10-12h-9z'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 3 14h9l-1 8 10-12h-9z'/%3E%3C/svg%3E");
}

.wf-print-ico--globe {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18'/%3E%3Cpath d='M12 3a15 15 0 0 1 0 18 15 15 0 0 1 0-18z'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18'/%3E%3Cpath d='M12 3a15 15 0 0 1 0 18 15 15 0 0 1 0-18z'/%3E%3C/svg%3E");
}

.wf-print-ico--wrench {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0 5.3 5.3l-8.7 8.7a2.1 2.1 0 0 1-3-3z'/%3E%3Cpath d='M14.7 6.3 18 3a4 4 0 0 1 3 3l-3.3 3.3'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0 5.3 5.3l-8.7 8.7a2.1 2.1 0 0 1-3-3z'/%3E%3Cpath d='M14.7 6.3 18 3a4 4 0 0 1 3 3l-3.3 3.3'/%3E%3C/svg%3E");
}

.wf-print-ico--people {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.9'/%3E%3Cpath d='M16 3.1a4 4 0 0 1 0 7.8'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.9'/%3E%3Cpath d='M16 3.1a4 4 0 0 1 0 7.8'/%3E%3C/svg%3E");
}

.wf-print-ico--ruble {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M9.5 17.5V7.5h3a2.6 2.6 0 0 1 0 5.2H8'/%3E%3Cpath d='M8 15.2h5'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M9.5 17.5V7.5h3a2.6 2.6 0 0 1 0 5.2H8'/%3E%3Cpath d='M8 15.2h5'/%3E%3C/svg%3E");
}

.wf-print-facts__label {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
    color: #111;
}

.wf-print-facts__text {
    font-size: 13px;
    line-height: 1.45;
    color: #444;
}

.wf-print__consult {
    margin-top: 12px;
    padding: 7px 20px;
    background: #f3d0d3;
    color: #221e1f;
    font-size: 14px;
    line-height: 1.45;
    box-sizing: border-box;
}

.wf-print__consult-phone {
    display: inline-block;
    margin-top: 2px;
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
    color: #d22232;
}

.wf-print a.wf-print__consult-phone {
    color: #d22232;
}

@media print {
    html,
    body.wf-print-body {
        background: #fff;
        color: #000;
    }

    .wf-print {
        max-width: none;
        margin: 0;
        padding: 0;
    }

    .wf-print__actions,
    .wf-print__print-btn,
    .wf-print-modal {
        display: none !important;
    }

    .wf-print__hero-row {
        display: block;
    }

    .wf-print__photo {
        width: 100%;
        height: 200px;
    }

    .wf-print a {
        color: #000;
    }

    .wf-print__hero,
    .wf-print-facts__item {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    /* table-row, не flex: иначе Chrome режет строку пополам на границе листа */
    .wf-print .properties-group__items,
    .wf-print__table {
        display: table;
        width: 100%;
        border-collapse: collapse;
    }

    .wf-print .properties-group__item,
    .wf-print__table-row {
        display: table-row;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .wf-print .properties-group__name-wrap,
    .wf-print .properties-group__value-wrap,
    .wf-print__table-name,
    .wf-print__table-value {
        display: table-cell;
        vertical-align: top;
    }

    .wf-print .properties-group__group-name {
        break-after: avoid;
        page-break-after: avoid;
    }
}

@media screen and (max-width: 640px) {
    .wf-print {
        padding: 14px;
    }

    .wf-print__header {
        gap: 12px;
        align-items: flex-start;
    }

    .wf-print__brand,
    .wf-print__contacts {
        flex: 1 1 0;
        min-width: 0;
        padding-top: 0;
    }

    .wf-print__logo {
        margin-bottom: 8px;
        max-width: 150px;
    }

    .wf-print__logo img,
    .wf-print__logo svg {
        max-width: 140px;
        max-height: 40px;
    }

    .wf-print__icon-row {
        gap: 6px;
        margin-bottom: 6px;
        font-size: 12px;
        line-height: 16px;
    }

    .wf-print__hero-row,
    .wf-print .properties-group__item,
    .wf-print__table-row {
        flex-direction: column;
        gap: 12px;
    }

    .wf-print__actions {
        width: 100%;
        margin: 12px 0 0;
    }

    .wf-print__photo,
    .wf-print .properties-group__name-wrap,
    .wf-print .properties-group__value-wrap,
    .wf-print__table-name,
    .wf-print__table-value {
        width: 100%;
        max-width: none;
        flex: 1 1 auto;
    }

    .wf-print .properties-group__name-wrap,
    .wf-print__table-name {
        border-bottom: 0;
    }

    /* без плашек пара «название - значение» держится близостью, а не цветом */
    .wf-print .properties-group__item,
    .wf-print__table-row {
        gap: 2px;
        padding-bottom: 4px;
    }

    .wf-print__photo {
        height: 180px;
    }
}
