#header .pm-quote-button {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 6px 11px;
    border: 1px solid #006da8;
    border-radius: 4px;
    background: #fff;
    color: #006192;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}
#header .pm-quote-button:hover {
    background: #edf7fd;
    color: #00517c;
}
#header .pm-quote-menu {
    margin: 10px;
}
#header .pm-quote-menu .pm-quote-button {
    width: 100%;
    min-height: 44px;
}
#header .pm-quote-desktop {
    display: none;
}
@media (min-width: 992px) {
    #header .pm-quote-menu {
        display: none;
    }
    #header .header__contacts {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        width: auto;
        margin-right: 0;
        gap: 12px;
    }
    #header .header__contacts > .contacts {
        margin: 0;
        padding-right: 22px;
    }
    #header .header__contacts .contacts__phone,
    #header .header__contacts .header__email {
        white-space: nowrap;
    }
    #header .header__contacts .contacts__phone > .h3 {
        font-size: 19px;
    }
    #header .pm-quote-desktop {
        display: block;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    body:not(.fixed-header) #header .header__catalog-menu {
        width: 270px;
    }
    body:not(.fixed-header) #header .header__cart {
        width: 130px;
    }
    #header .header__address .address {
        width: 166px;
    }
    #header .header__address .text-nowrap {
        white-space: normal !important;
    }
    #header .header__contacts {
        gap: 9px;
    }
    #header .pm-quote-desktop {
        padding-inline: 8px;
        font-size: 14px;
    }
}
.pm-quote-dialog:not([open]) {
    display: none;
}
.pm-quote-dialog {
    width: min(480px, calc(100% - 24px));
    max-width: none;
    max-height: calc(100% - 24px);
    box-sizing: border-box;
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: #191919;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .22);
    overscroll-behavior: contain;
}
.pm-quote-dialog::backdrop {
    background: rgba(0, 0, 0, .48);
}
.pm-quote-panel {
    position: relative;
    padding: 22px;
}
.pm-quote-panel h2 {
    margin: 0 38px 16px 0;
    color: inherit;
    font-size: 25px;
    line-height: 1.15;
}
.pm-quote-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: none;
    color: #343434;
    font-size: 29px;
    line-height: 1;
}
.pm-quote-close:hover {
    background: #eee;
}
#pm-quote-form label {
    display: block;
    margin: 11px 0 4px;
    font-size: 15px;
    font-weight: 700;
}
#pm-quote-form .form-control,
#pm-quote-file {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    font-size: 16px;
}
#pm-quote-form textarea {
    resize: vertical;
}
#pm-quote-file-hint,
.pm-quote-policy {
    color: #555;
    font-size: 13px;
}
.pm-quote-status {
    margin: 8px 0;
    color: #a32424;
    font-size: 15px;
}
.pm-quote-status:empty {
    margin: 0;
}
.pm-quote-status[data-state="success"] {
    color: #1a6338;
}
.pm-quote-status[data-state="pending"] {
    color: #555;
}
#pm-quote-form .pm-quote-submit {
    width: 100%;
    min-height: 44px;
    margin-top: 10px;
    border-color: #006da8;
    background: #006da8;
    color: #fff;
}
#pm-quote-form .pm-quote-submit:hover:not(:disabled) {
    border-color: #005b8c;
    background: #005b8c;
}
.pm-quote-policy {
    margin: 9px 0 0;
    line-height: 1.3;
}
.pm-quote-policy a {
    color: #006192;
    text-decoration: underline;
}
#header .pm-quote-button:focus-visible,
.pm-quote-dialog :is(button, input, textarea, a):focus-visible {
    outline: 2px solid #005b8c;
    outline-offset: 2px;
}
