/* Печать/PDF калькулятора — макет A4 landscape (pdf-print-calc) */

:root {
    --lightgray: #d5e3ea;
    --white: #fff;
    --black: #444b54;
    --darkgray: #6f9ab0;
    --gray: #d7d7d7;
    --orange: #ff8c34;
    --blue: #0093df;
    --font-family: "Montserrat", sans-serif;
}

.calc-export-root,
.calc-export-root * {
    box-sizing: border-box;
}

html.is-printing-calc,
body.is-printing-calc {
    background: #fff;
    color: var(--black);
    font-family: var(--font-family);
    font-size: 14px;
    line-height: 1.2;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    color-adjust: exact;
}

.calc-export-root {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 297mm;
    height: 210mm;
    z-index: -1;
    opacity: 0;
    pointer-events: none;
    font-size: 10px;
    line-height: 1.2;
}

.calc-export-root ul li {
    list-style: none;
}

.calc-export-root a {
    color: inherit;
    text-decoration: none;
}

.calc-export-root input,
.calc-export-root button {
    font-family: inherit;
    background: transparent;
}

.calc-export-root .sheet {
    width: 297mm;
    height: 210mm;
    margin: 0;
    padding: 10mm 11mm 8mm;
    display: flex;
    flex-direction: column;
    gap: 8mm;
    overflow: hidden;
    background: #fff;
}

.calc-export-root .print-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 8mm;
    border-bottom: 1px solid var(--lightgray);
}

.calc-export-root .print-brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.calc-export-root .logo {
    width: 180px !important;
    height: 24px !important;
    min-width: 180px !important;
    display: block;
}

.calc-export-root .print-brand__tag {
    font-weight: 400;
    font-size: 11px;
    line-height: 1.22;
    color: var(--black);
}

.calc-export-root .print-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.calc-export-root .print-contacts__row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
}

.calc-export-root .print-brand__link,
.calc-export-root .print-contacts__item {
    color: inherit;
    text-decoration: none;
}

.calc-export-root .print-brand__link {
    display: block;
    width: fit-content;
}

.calc-export-root .print-contacts__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 11px;
    line-height: 1.22;
    color: var(--black);
    white-space: nowrap;
}

.calc-export-root .print-contacts__icon {
    width: 16px;
    height: 16px;
    min-width: 16px;
    color: var(--darkgray);
    fill: currentColor;
}

.calc-export-root .calc__inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 8px !important;
    flex: 0 1 auto;
    min-height: 0;
    width: 100%;
}

.calc-export-root .main-title {
    font-weight: 600;
    font-size: 18px;
    line-height: 1.2;
    color: var(--black);
}

.calc-export-root .btn-border {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.22;
    color: var(--orange);
    white-space: nowrap;
    background: var(--white);
    border: 1px solid var(--orange);
    border-radius: 5px;
    padding: 10px 24px;
}

.calc-export-root .btn-main {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 12px;
    line-height: 1.22;
    color: var(--white);
    border-radius: 5px;
    padding: 10px 10px;
    background: var(--orange);
    width: 100%;
}

.calc-export-root .calc {
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--lightgray);
    border-radius: 10px;
    flex: 1 1 66% !important;
    min-width: 0 !important;
    max-width: none !important;
    width: auto !important;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    overflow: visible;
    align-self: stretch;
}

.calc-export-root .calc__head {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 0 10px;
    margin: 0 0 10px;
    border-bottom: 1px solid var(--lightgray);
}

.calc-export-root .calc__subtitle {
    color: var(--darkgray);
    font-weight: 500;
    font-size: 11px;
}

.calc-export-root .calc__body {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 22px !important;
    flex: 1 1 auto;
    min-height: 0;
}

.calc-export-root .calc__left {
    padding: 0 16px 0 0 !important;
    border-right: 1px solid var(--lightgray) !important;
    width: 228px !important;
    min-width: 228px !important;
    max-width: 228px !important;
    display: flex !important;
    flex-direction: column !important;
    align-self: stretch;
}

.calc-export-root .calc__left-name {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
    color: var(--black);
    margin: 0 0 16px;
    display: block;
}

.calc-export-root .calc__tabs {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    justify-content: flex-start;
    gap: 13px;
    flex: 1 1 auto;
}

.calc-export-root .calc__tab {
    border: 1px solid var(--lightgray);
    border-radius: 10px;
    padding: 16px 14px !important;
    background: #fff;
    cursor: pointer;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px;
    flex: 1 1 auto;
    min-height: 72px;
    box-sizing: border-box;
}

.calc-export-root .calc__tab-name {
    font-weight: 400;
    font-size: 14px !important;
    line-height: 1.2;
    color: var(--black);
    text-align: left;
    white-space: nowrap;
}

.calc-export-root .calc__tab-img {
    width: auto;
    height: auto;
    max-width: 40px;
    max-height: 40px;
    flex-shrink: 0;
    object-fit: contain;
}

.calc-export-root .calc__tab--active {
    border-color: var(--orange);
}

.calc-export-root .calc__tab--active .calc__tab-name {
    font-weight: 600;
    color: var(--orange);
}

.calc-export-root .calc__item {
    display: none;
    width: 100%;
}

.calc-export-root .calc__item--active {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.calc-export-root .calc__item-rows {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
    height: 100%;
    flex: 1 1 auto;
    min-height: 0;
    overflow: visible;
}

.calc-export-root .calc__item-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 3%;
}

.calc-export-root .calc__item-row-name {
    font-weight: 600;
    font-size: 10px;
    line-height: 1.2;
    color: var(--black);
    width: 28% !important;
    max-width: 28% !important;
    min-width: 0;
    flex: 0 0 28%;
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

.calc-export-root .calc__item-row-content {
    width: 69%;
    max-width: 69%;
    flex: 0 0 69%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5%;
    flex-wrap: wrap;
}

.calc-export-root .calc__item-row--pair .calc__item-row-content {
    flex-wrap: nowrap;
}

.calc-export-root
    .calc__item-row--pair
    .calc__item-row-radio-label:nth-child(1) {
    flex: 0 0 53%;
    width: 53%;
    max-width: 53%;
    min-width: 0;
}

.calc-export-root
    .calc__item-row--pair
    .calc__item-row-radio-label:nth-child(2) {
    flex: 0 0 42%;
    width: 42%;
    max-width: 42%;
    min-width: 0;
}

.calc-export-root .calc__item-row-size .calc__item-row-content {
    flex-wrap: nowrap;
    gap: 8px;
}

.calc-export-root .calc__item-row-radio-label {
    min-width: 0 !important;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--black);
    font-weight: 500;
    font-size: 11px;
}

.calc-export-root .hide {
    display: none !important;
}

.calc-export-root .disabled {
    opacity: 0.4;
}

.calc-export-root .check {
    box-sizing: border-box;
    width: 16px;
    height: 16px;
    min-width: 16px;
    border: 1px solid var(--gray);
    border-radius: 2px;
    background: #fff;
}

.calc-export-root .self-adhesive-form {
    align-items: flex-start;
    padding-bottom: 2px;
}

.calc-export-root .self-adhesive-form .calc__item-row-content {
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 5%;
}

.calc-export-root .calc__item-row-radio-label-col {
    flex: 0 0 53%;
    width: 53%;
    max-width: 53%;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

.calc-export-root .calc__item-row-radio-label-col:nth-child(2) {
    flex: 0 0 42%;
    width: 42%;
    max-width: 42%;
}

.calc-export-root .calc__item-row-radio-label-text {
    font-weight: 400;
    font-size: 10px;
    line-height: 1.2;
    color: #6f9ab0;
    white-space: normal;
}

.calc-export-root
    .calc__item-row-radio-label.is-on
    .calc__item-row-radio-label-text {
    color: #444b54;
}

.calc-export-root .calc__item-row-radio-label-col.is-on {
    font-weight: 400;
    color: var(--black);
}

.calc-export-root .calc__item-row-radio-label-col > span:first-child,
.calc-export-root .calc__item-row-radio-label-col.is-on > span:first-child {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.calc-export-root .calc__item-row-radio-label-col.is-on > span:first-child {
    font-weight: 600;
    color: var(--orange);
}

.calc-export-root .calc__item-row-radio-label.is-on,
.calc-export-root
    .calc__order-delivery-label.is-on
    .calc__order-delivery-label-text {
    font-weight: 600;
    color: var(--orange);
}

.calc-export-root .adress {
    display: none;
    font-weight: 500;
    font-size: 11px;
    line-height: 1.15;
    color: #6f9ab0;
    margin: 4px 0 0;
}

.calc-export-root .shedule {
    display: none;
    font-weight: 500;
    font-size: 11px;
    line-height: 1.15;
    color: #6f9ab0;
}

.calc-export-root .calc__order-delivery-label.is-on .adress,
.calc-export-root .calc__order-delivery-label.is-on .shedule {
    display: block;
    color: #6f9ab0;
}

.calc-export-root .radio {
    box-sizing: border-box;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1px solid var(--gray);
    border-radius: 10px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.calc-export-root .radio--on {
    border-color: var(--orange);
}

.calc-export-root .radio__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--orange);
}

.calc-export-root .print-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.calc-export-root .calc__item-row-label {
    width: 100%;
    max-width: 86px;
    border: 1px solid var(--gray);
    border-radius: 5px;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.calc-export-root .calc__item-row-input {
    width: 100%;
    font-weight: 500;
    font-size: 11px;
    line-height: 1.22;
    color: var(--black);
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    outline: none;
    font-family: inherit;
}

.calc-export-root .calc__item-row-label-cm {
    font-weight: 500;
    font-size: 11px;
}

.calc-export-root .cross {
    width: 8px;
    min-width: 8px;
    height: 9px;
}

.calc-export-root .calc__item-row-dropdown {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    position: relative;
}

.calc-export-root .calc__item-row-dropdown-head {
    border: 1px solid var(--gray);
    border-radius: 5px;
    padding: 5px 6px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 5px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    box-sizing: border-box;
}

.calc-export-root .calc__item-row-dropdown-head-value {
    font-weight: 500;
    font-size: 9px;
}

.calc-export-root .calc__item-row-dropdown-head-value,
.calc-export-root .dropdown-head-value,
.calc-export-root .calc__item-row-input-frozen {
    display: block;
    width: auto;
    max-width: 100%;
    min-width: 0;
    flex: 1 1 auto;
    align-self: flex-start;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    outline: none;
    font: inherit;
    color: inherit;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.25;
    -webkit-appearance: none;
    appearance: none;
}

.calc-export-root .drop-arrow {
    width: 16px;
    height: 16px;
    min-width: 16px;
    flex-shrink: 0;
    color: var(--darkgray);
    fill: currentColor;
}

.calc-export-root .calc__item-row-dropdown-content {
    display: none;
}

.calc-export-root .calc__item-color {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.calc-export-root .calc__item-color .calc__item-row-content {
    margin-left: 0;
}

.calc-export-root .calc__item-color .calc__item-row-radio-label {
    min-width: 0;
    flex: 0 0 auto;
}

.calc-export-root .calc__item-color-body {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    align-items: stretch;
}

.calc-export-root .calc__item-color-box:not(.hide) {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.calc-export-root .calc__item-color-box {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.calc-export-root .calc__item-color-box .calc__item-row-dropdown {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.calc-export-root .calc__item-color-box .calc__item-row-dropdown-head {
    align-items: flex-start;
    overflow: hidden;
    height: auto;
    min-height: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.calc-export-root .calc__item-color-box .calc__item-row-dropdown-head-value,
.calc-export-root
    .calc__item-color-box
    input.calc__item-row-dropdown-head-value {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    overflow: hidden;
    text-overflow: unset;
    line-height: 1.25;
    overflow-wrap: anywhere;
    word-break: break-word;
    font-size: 9px;
}

.calc-export-root
    .calc__item-color-box
    input.calc__item-row-dropdown-head-value {
    field-sizing: content;
    flex: 0 1 auto;
    align-self: flex-start;
    min-inline-size: 4ch;
}

.calc-export-root .calc__item-color-box-name {
    font-weight: 500;
    font-size: 9px;
    color: var(--darkgray);
}

.calc-export-root .calc__item-edition {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 3%;
    flex-shrink: 0;
    margin-top: auto;
}

.calc-export-root .calc__item-edition-name {
    width: 28%;
    max-width: 28%;
    flex: 0 0 28%;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 12px;
    color: var(--black);
}

.calc-export-root .tooltip-mark {
    width: 14px;
    height: 14px;
    min-width: 14px;
    border-radius: 10px;
    background: var(--gray);
    color: #fff;
    font-weight: 500;
    font-size: 10px;
    line-height: 14px;
    text-align: center;
}

.calc-export-root .calc__item-edition-content {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 69%;
    max-width: 69%;
    flex: 0 0 69%;
    min-width: 0;
}

.calc-export-root .calc__item-edition .calc__item-row-label {
    max-width: 98px;
    flex: 0 0 98px;
}

.calc-export-root .calc__item-edition-btn {
    padding: 10px 18px;
    margin-left: auto;
}

.calc-export-root .calc__order {
    border-radius: 10px;
    padding: 14px 16px 16px !important;
    background: #fff;
    border: 1px solid var(--lightgray);
    flex: 0 0 32% !important;
    max-width: none !important;
    min-width: 0 !important;
    width: auto !important;
    min-height: 100%;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between;
    align-self: stretch;
    position: relative;
    gap: 0 !important;
    overflow: visible;
}

.calc-export-root .calc__order-head {
    padding: 0 0 10px;
    margin: 0 0 12px;
    border-bottom: 1px solid var(--lightgray);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.calc-export-root .calc__order-subtitle {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    font-size: 12px;
    color: var(--darkgray);
}

.calc-export-root .calc__order-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.calc-export-root .calc__order-box-name {
    font-weight: 600;
    font-size: 12px;
    color: var(--black);
}

.calc-export-root .calc__order-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.calc-export-root .calc__order-row {
    padding: 0 0 4px;
    border-bottom: 1px solid #e2e2e2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 11px;
}

.calc-export-root .calc__order-row-value {
    text-align: right;
}

.calc-export-root .calc__order-delivery {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 18px 0 0;
}

.calc-export-root .calc__order-delivery-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.calc-export-root .calc__order-delivery-label-text {
    display: flex;
    flex-direction: column;
    font-weight: 400;
    font-size: 11px;
    line-height: 1.3;
    color: var(--black);
}

.calc-export-root .calc__order-bot-btns {
    display: none !important;
}

.calc-export-root .calc__order-btn-submit {
    margin-top: 16px;
}

html.is-making-calc-pdf,
html.is-making-calc-pdf * {
    cursor: wait !important;
}

.calc-pdf-wait {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.62);
}

.calc-pdf-wait__box {
    padding: 16px 28px;
    border: 1px solid var(--lightgray);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(68, 75, 84, 0.12);
    color: var(--black);
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

@media print {
    @page {
        size: A4 landscape;
        margin: 0;
    }

    html,
    body {
        background: #fff !important;
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
        height: auto !important;
        overflow: visible !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    body.is-printing-calc {
        visibility: visible;
    }

    body.is-printing-calc .wrapper,
    body.is-printing-calc .modal,
    body.is-printing-calc > header,
    body.is-printing-calc > footer {
        display: none !important;
    }

    body.is-printing-calc .calc-pdf-wait {
        display: none !important;
    }

    body.is-printing-calc .calc-export-root {
        display: block !important;
        position: static !important;
        left: auto !important;
        top: auto !important;
        width: 297mm !important;
        height: 210mm !important;
        margin: 0 !important;
        padding: 0 !important;
        opacity: 1 !important;
        z-index: auto !important;
        pointer-events: auto !important;
        background: #fff !important;
        overflow: hidden !important;
    }

    body.is-printing-calc .calc-export-root .sheet {
        width: 297mm !important;
        height: 210mm !important;
        margin: 0 !important;
        overflow: hidden !important;
        page-break-after: avoid;
        page-break-inside: avoid;
        break-inside: avoid;
    }
}
