.logo-menu-box, .header-menu-icon, .header-menu-button {
    display: flex;
    align-items: center;
}

.logo-menu-box .logo {
    margin-right: 50px;
}

.header-menu-icon {
    margin-right: 50px;
}

.header-menu-icon li {
    margin-right: 24px;
}

.header-menu-button li {
    margin-right: 12px;
}

.header-menu-icon li:last-child, .header-menu-button li:last-child {
    margin-right: 0;
}

.header-menu-icon a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
}

.header-menu-icon a svg {
    flex-shrink: 0;
    margin: 0;
    display: block;
    pointer-events: none;
}

.header-menu-button {
    margin-right: 50px;
}

.header-menu-button button,
.header-menu-button a {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 6px;
    background-color: transparent;
    border: 0;
    box-shadow: none;
    font-size: 13px;
    line-height: 13px;
    cursor: pointer;
}

.header-menu-button button i, .header-menu-button a i {
    flex-shrink: 0;
    display: flex;
    width: 18px;
    height: 18px;
    margin-right: 4px;
}

.header-menu-button button i svg, .header-menu-button a i svg {
    margin: 0;
    flex-shrink: 0;
    display: block;
    /*width: 100%;*/
    /*height: auto;*/
}

/*-----------------*/
.popup-info {
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 300ms;
}
.popup-info.open {
    opacity: 1;
}
.popup-info__inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.popup-info-box {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    width: 636px;
    border: 1px solid #159;
    border-radius: 5px;
    background-color: #fff;
    padding: 36px 30px 30px;
}
.popup-info-box__close {
    position: absolute;
    top: 0;
    right: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    cursor: pointer;
    outline: none;
    box-shadow: none;
    border: 0;
    border-radius: 0;
}
.popup-info-box__close:hover, .popup-info-box__close:active, .popup-info-box__close:focus {
    outline: none;
    background-color: transparent;
    box-shadow: none;
}
.popup-info-box__close svg {
    display: block;
    margin: 0;
    flex-shrink: 0;
}
.popup-info-box__img {
    width: 206px;
    height: 206px;
    margin: 0 auto 36px;
}
.popup-info-box__img img {
    display: block;
    width: 100%;
}
.popup-info-box__text {
    font-size: 14px;
    line-height: 18px;
}
.popup-info-box__title {
    font-weight: bold;
    margin-bottom: 6px;
}
ol.popup-info-box__list, ol.popup-info-box__list li {
    list-style-type: decimal;
    list-style-position: inside;
}
.popup-info-box__text_sm-box {
    width: 230px;
    margin: 0 auto;
}
.popup-info-box__text_md-box {
    width: 400px;
    margin: 0 auto;
}
.popup-info__substrate {
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
}
.popup-info-box__text_mb-36 {
    margin-bottom: 36px;
}
.popup-info-box__success {
    display: flex;
    align-items: center;
    font-size: 16px;
    line-height: 24px;
    gap: 36px;
}
.popup-info-box__success svg {
    display: block;
    margin: 0;
    flex-shrink: 0;
}
.popup-info-box__link {
    max-width: 400px;
    width: 100%;
    margin: 20px auto;
    text-align: center;
    font-size: 14px;
    line-height: 18px;
    font-weight: bold;
}
.popup-info-box__link a {
    text-decoration: underline;
    color: #344E9F;
    outline: none;
}
.popup-info-box__link a:hover, .popup-info-box__link a:active, .popup-info-box__link a:focus {
    text-decoration: none;
    color: #344E9F;
    outline: none;
}
.popup-info-box__text h3{
    margin-bottom: 20px;
    font-weight: bold;
}
.popup-info-box__text li {
    margin-bottom: 5px;
}
.popup-info[data-container="success"] {
    z-index: 100000;
}
.popup-info[data-container="success"] .popup-info-box {
    width: auto;
    padding: 46px 66px 40px 36px;
}
@media (max-width: 992px) {
    .popup-info-box {
        width: 97%;
    }
    .popup-info-box__text_md-box {
        width: auto;
    }
    .popup-info[data-container="success"] .popup-info-box {
        width: auto;
    }
}
@media (max-width: 439px) {
    .popup-info[data-container="success"] .popup-info-box {
        width: auto;
        padding: 36px 40px 30px 20px;
    }
    .popup-info-box__success {
        gap: 20px;
        font-size: 14px;
    }
}
@media (max-width: 359px) {
    .popup-info[data-container="success"] .popup-info-box {
        width: 97%;
    }
}
/*-----------------*/

.s-menu__item {
    position: relative;
    cursor: pointer;
}
.s-message-popup {
    position: absolute;
    top: calc(100% + 15px);
    right: -10px;
    color: #2f2f2f;
}
.s-message-popup:before {
    content: '';
    position: absolute;
    z-index: 0;
    top: -44px;
    right: 0;
    height: 46px;
    width: calc(var(--popup-before-width) + 20px);
}
.s-message-popup__inner {
    position: relative;
    z-index: 1;
    border: 1px solid #ccc;
    background-color: #fff;
    padding: 20px 20px 20px;
    box-shadow: 1px 2px 6px rgba(0, 0, 0, .35);
}
.s-message-popup__content {
    position: relative;
    z-index: 0;
}
.s-message-popup__content[data-content="disagree"] {
    width: 342px;
}
.s-message-popup__content[data-content="agree"] {
    width: 300px;
}
.s-message-popup__content[data-content="thanks"] {
    width: 314px;
}
.s-message-popup__content[data-content="contact-manager"] {
    width: 342px;
}
.s-message-popup__content[data-content="description"] {
    width: 382px;
}
.s-message-popup__content[data-content="agree"],
.s-message-popup__content[data-content="thanks"],
.s-message-popup__content[data-content="contact-manager"],
.s-message-popup__content[data-content="description"]
{
    padding-left: 44px;
}
.s-message-popup__content[data-content="agree"]:after,
.s-message-popup__content[data-content="thanks"]:after,
.s-message-popup__content[data-content="contact-manager"]:after,
.s-message-popup__content[data-content="description"]:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 24px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.s-message-popup__content[data-content="agree"]:after {
    background-image: url(/local/templates/catalog_page/images/popup-reconciliation/agree.png);
}
.s-message-popup__content[data-content="thanks"]:after {
    background-image: url(/local/templates/catalog_page/images/popup-reconciliation/yes.png);
}
.s-message-popup__content[data-content="contact-manager"]:after {
    background-image: url(/local/templates/catalog_page/images/popup-reconciliation/no.png);
}
.s-message-popup__content[data-content="description"]:after {
    background-image: url(/local/templates/catalog_page/images/popup-reconciliation/ignore.png);
}
.s-message-popup__header {
    font-size: 15px;
    line-height: 20px;
}
.s-message-popup__body {
    font-size: 13px;
    line-height: 20px;
}
.s-message-popup__header + *,
.s-message-popup__body + *,
.s-message-popup__footer {
    margin-top: 20px;
}
.s-message-popup__footer-button {
    display: flex;
    justify-content: space-evenly;
}
.s-message-popup__footer-button-left,
.s-message-popup__footer-button-right {
    flex-shrink: 0;
    width: 80px;
}
.button-message-popup {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    height: 30px;
    background-color: #344E9F;
    color: #fff;
    border: none;
    border-radius: 0;
    font-size: 13px;
    line-height: 100%;
    letter-spacing: 1px;
    cursor: pointer;
    outline: none;
    user-select: none;
    transition: background-color 0.2s;
}
.button-message-popup:hover {
    background-color: #122a74;
}
.button-message-popup svg {
    margin-left: 8px;
}
.s-text-red {
    color: #ff6565;
}
.s-text-green {
    color: #0ae900;
}
.s-text-blue {
    color: #122a74;
}
.s-message-popup__body.s-text-red {
    color: #f00;
}
.s-message-popup__body.s-text-green {
    color: #068800;
}
.button-close-message-popup {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: transparent;
    cursor: pointer;
    outline: none;
    padding: 0;
    margin: 0;
    box-shadow: none;
    user-select: none;
}
.button-close-message-popup svg {
    flex-shrink: 0;
    display: block;
}
.button-close-message-popup svg path {
    transition: stroke 150ms;
}
.button-close-message-popup:hover svg path {
    stroke: #E30613;
}
.partner-apro-ua {
    text-decoration: none;
}



.s-supplier {
    display: grid;
    grid-template-columns: 450px 410px;
    grid-gap: 30px 130px;
    min-height: 400px;
    width: 98%;
    margin: 0 auto;
    padding: 80px 70px;
    box-sizing: border-box;
    justify-content: center;
}

.s-supplier__img {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 40px;
}

.s-supplier__img img {
    display: block;
    flex-shrink: 0;
    max-width: 100%;
}

.s-supplier-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.s-supplier-description {
    margin-bottom: 30px;
}

.s-supplier-description p {
    margin: 0;
}

.s-supplier-description p + p {
    margin: 30px 0 0;
}

.s-supplier-description__text {
    font-size: 14px;
}

.s-supplier-description__text_big {
    font-size: 16px;
}

.s-form-group {
    position: relative;
    padding-left: 15px;
    margin-bottom: 30px;
}

.s-form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
    margin-left: -15px;
}

.s-form-group input {
    display: block;
    width: 100%;
    height: 32px;
    padding: 8px 15px;
    border: 1px solid #2e4c9c;
    border-radius: 4px;
    background-color: #fff;
    box-shadow: none;
}

.s-form-group input:hover,
.s-form-group input:focus,
.s-form-group input:active {
    outline: none;
}

.s-form-group.error input {
    border-color: red;
}

.s-form-error-message,
.s-error-fileTooLarge {
    color: red;
    font-size: 12px;
    display: none;
    position: absolute;
    bottom: -20px;
    left: 15px;
}

.s-form-group.error-size-file .s-error-fileTooLarge {
    display: block !important;
}

.s-form-group.error-field .s-form-error-message {
    display: block !important;
}

.s-form-button {
    display: flex;
    justify-content: flex-end;
}

.s-form-button button,
.s-form-file__button button {
    flex-shrink: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 100px;
    height: 32px;
    padding: 0 15px;
    font-size: 12px;
    line-height: 100%;
    color: #fff;
    text-transform: uppercase;
    border-radius: 4px;
    background-color: #2e4c9c;
    user-select: none;
    box-shadow: none;
    border: 0;
    cursor: pointer;
}

.s-form-button button {
    height: 40px;
}

.s-form-file {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-gap: 15px;
    height: 36px;
    margin-bottom: 6px;
}

.s-form-file__button {
    position: relative;
    display: inline-block;
    vertical-align: top;
}

.s-form-clarification {
    font-size: 14px;
    color: #a4a4a4;
}

.s-form-file__button input {
    opacity: 0;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    padding: 32px 0 0;
}

.s-form-file__button button {
    position: relative;
    z-index: 0;
    text-transform: none;
}

.s-form-file__field {
    position: relative;
}

.s-form-file__field input {
    position: relative;
    z-index: 0;
    padding-right: 40px;
}

.s-form-file__field button {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 1;
    top: 3px;
    right: 3px;
    width: 26px;
    height: 26px;
    cursor: pointer;
    background-color: #f00;
    border: 0;
    border-radius: 3px;
    padding: 0;
}

.s-form-file__field button svg {
    display: block;
    flex-shrink: 0;
}

.s-supplier-popup-success {
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,.5);
    width: 100%;
    height: 100%;
}

.s-supplier-popup-success__inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.s-supplier-popup-success__substrate {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.s-supplier-popup-success__content {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 400px;
    max-width: 100%;
    font-size: 16px;
    line-height: 22px;
    background-color: #fff;
    background-image: url(/local/templates/catalog_page/images/popup-reconciliation/agree.png);
    background-position: left 15px center;
    background-repeat: no-repeat;
    background-size: 32px auto;
    padding: 20px 20px 20px 62px;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, .5);
}

.m-card-wr-amount {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.m-item-price-sum, .m-item-price-multiplicity {
    margin: 10px 0;
}

.m-item-price-multiplicity {
    width: 160px;
}

.error-text-red, .error-text-red * {
    color: #E30613 !important;
}

/**/
.s-switch {
    flex-shrink: 0;
    position: relative;
    display: block;
    width: 46px;
    height: 26px;
}

.s-switch input {
    position: absolute;
    left: -9999px;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.s-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(255, 255, 255);
    border: 1px solid rgb(130, 141, 146);
    transition: .4s;
}

.s-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 2px;
    bottom: 0;
    top: 0;
    margin: auto;
    background-color: rgb(241, 241, 241);
    border: 1px solid rgb(130, 141, 146);
    transition: .4s;
}

.s-switch input:checked + .s-slider {
    background-color: rgb(75, 175, 80);
    border-color: rgb(75, 175, 80);
}

.s-switch input:checked + .s-slider:before {
    transform: translateX(19px);
    border-color: rgb(241, 241, 241);
}

/* Rounded sliders */
.s-slider.round {
    border-radius: 13px;
}

.s-slider.round:before {
    border-radius: 50%;
}

.s-switch .jq-checkbox {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.flex-align-center {
    align-items: center;
}

.m-detail__notify-availability {
    font-size: 12px;
    color: #545454;
    font-weight: 400;
}
/**/

@media (max-width: 1280px) {
    .s-supplier {
        padding: 80px 20px;
    }
}

@media (max-width: 1024px) {
    .s-supplier {
        grid-gap: 30px;
    }
}

@media (max-width: 992px) {
    .s-supplier {
        display: block;
        padding: 40px 12px 80px;
        height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
    }
    .s-supplier__img {
        display: none;
    }
    .s-form {
        max-width: 450px;
        width: 100%;
    }
}

@media (max-width: 479px) {
    .s-form-file {
        display: block;
        height: auto;
    }

    .s-form-file__field {
        margin-bottom: 10px;
    }
}












/* order page */
:root {
    --bg: #f6f7fb;
    --card: #ffffff;
    --border: #b9bcc5;
    --text: #101828;
    --muted: #667085;

    --blue-weak: #e8f3fd;   /* раскрытый заказ */
    --yellow-weak: #fbec88; /* выбранная карточка */

    --green: #60c635; /* Новий */
    --blue: #304e9d;  /* Прийнятий */
    --gray: #9a9998;  /* Відвантажений */

    --shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
    --radius: 8px;
}

.ordering-and-sales {
    flex-shrink: 0;
    width: 458px;
    max-width: 458px;
    min-width: 200px;
    height: 100%;
    overflow: hidden;
}
.ordering-and-sales__inner {
    display: flex;
    flex-direction: column;
    min-width: 458px;
    height: 100%;
}
.ordering-and-sales.hide {
    width: 0 !important;
    min-width: 0 !important;
}
.wrapper-orders-contents {
    flex-grow: 1;
    min-height: 265px;
    display: flex;
    flex-direction: column;
}
.order-header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.contLeftTable {
    position: relative;
    flex-grow: 1;
    min-height: 233px;
}

.wrapper-orders-list {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.wrapper-orders-list .scroll-box-simplebar {
    height: 100%;
}

.orders-list {
    display: grid;
    gap: 6px;
}

.title-sections {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.title-sections.grey-hd {
    background: transparent;
    font-size: 16px;
    font-weight: 700;
    color: #2f2f2f;
    line-height: 1.25;
    padding: 0;
    width: 100%;
    position: relative;
    left: 0;
    z-index: initial;
}

.btn-primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 26px;
    border: 0;
    background: #304e9d;
    color: #fff;
    padding: 4px 15px;
    border-radius: 4px;
    font-weight: 400;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    outline: none;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    text-decoration: none;
    outline: none;
}

.card-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.card-box.is-expanded .card {
    background-color: var(--blue-weak);
    border-bottom: 1px solid var(--border);
}

.card.is-selected {
    background: var(--yellow-weak);
    border-color: #f2d66a;
}

.card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 12px;
    cursor: pointer;
}

.card__left { flex: 1; min-width: 0; }
.card__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
}

.card__titleRow {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.card__title {
    width: 194px;
    font-weight: 700;
    font-size: 14px;
    line-height: 22px;
    white-space: nowrap;
}

.card-status {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    color: var(--muted);
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
    margin-top: -2px;
}

.card__meta {
    margin-top: 4px;
    font-size: 10px;
    color: var(--muted);
}

.card__amount {
    font-weight: 700;
    font-size: 14px;
    line-height: 22px;
    white-space: nowrap;
}

.subcard__amount {
    font-weight: 700;
    font-size: 12px;
    white-space: nowrap;
}

.icon-btn {
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    padding: 0;
    border: 0;
    box-shadow: none;
}

.card-drop {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-left: 6px;
    margin-top: -6px;
}

.card-drop img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.btn-card-toggle {
    border: 1px solid var(--border);
    background: transparent;
    border-radius: 4px;
    padding: 2px 10px;
    cursor: pointer;
    font-size: 10px;
    color: #344054;
    white-space: nowrap;
}

.btn-card-toggle__indicator {
    display: inline-block;
    margin-left: 6px;
    transition: 200ms;
}
.btn-card-toggle__indicator.active {
    transform: rotateX(180deg);
}

/* блок реализаций */
.card-box__children {
    padding: 12px;
    display: grid;
    gap: 8px;
    background-color: #f2f3f3;
}

.subcard {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}
.subcard.is-selected {
    background: var(--yellow-weak);
    border-color: #f2d66a;
}

.stShip .card-status {
    color: var(--gray);
}

.stShip .dot {
    background-color: var(--gray);
}

.stNew .card-status {
    color: var(--green);
}

.stNew .dot {
    background-color: var(--green);
}

.stAdopt .card-status {
    color: var(--blue);
}

.stAdopt .dot {
    background-color: var(--blue);
}

.subcard__main {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    cursor: pointer;
}

.subcard__left { flex: 1; min-width: 0; }
.subcard__title {
    width: 180px;
    font-weight: 700;
    font-size: 10px;
}
.subcard__meta {
    margin-top: -1px;
    font-size: 9px;
    color: var(--muted);
}
.subcard__right {
    text-align: right;
    min-width: 96px;
}
.subcard__titleRow {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.subcard__bonus {
    margin-top: -1px;
    font-size: 9px;
    color: var(--muted);
}
.wrapper-orders {
    display: flex;
    height: calc(100vh - 96px);
    overflow-y: auto;
    overflow-x: hidden;
}
.catalog-container.cab.order-detail {
    flex-grow: 1;
    display: block;
    min-width: 0;
    height: 100%;
    min-height: auto;
    background: transparent;
    position: relative;
    border: 0;
    padding-bottom: 0;
    overflow: visible;
}
.order-detail-table {
    height: 100%;
}
.tableOrder {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.wrapper-order-goods-table {
    flex-grow: 1;
    overflow-y: auto;
    min-height: 120px;
}
.tableOrder > .wrapper-order-goods-table {
    border: 1px solid var(--border);
    border-bottom: 0;
    border-radius: var(--radius) var(--radius) 0 0;
    background-color: #fff;
}
.tableOrder > .bott-box {
    border: 1px solid var(--border);
    border-top: 0;
    border-radius: 0 0 var(--radius) var(--radius);
    background-color: #fff;
}
/* скрытие children (аккордеон) */
.card-box__children[hidden] { display: none; }

.wrapper-block-hide-button {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
}
.wrapper-block-hide-button_vertical {
    flex-direction: column;
    margin: 0 4px;
    cursor: col-resize;
}
.wrapper-block-hide-button_vertical:before,
.wrapper-block-hide-button_vertical:after {
    flex-shrink: 0;
    content: '';
    display: block;
    width: 1px;
    height: 60px;
    background-color: var(--border);
    margin: 5px 0;
}
.wrapper-block-hide-button_horizontal {
    cursor: row-resize;
}
.block-hide-button {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 4px;
    cursor: pointer;
    background-color: #fff;
    user-select: none;
    transition: 200ms;
}
.block-hide-button:hover {
    background-color: rgba(48,78,157,1);
}
.block-hide-button:hover svg path {
    fill: #fff;
}
.block-hide-button svg {
    display: block;
    transition: 200ms;
    pointer-events: none;
}
.block-hide-button svg path {
    transition: 200ms;
}
.block-hide-button_vertical {
    width: 11px;
    height: 70px;
    padding: 2px;
}
.block-hide-button_horizontal {
    width: 82px;
    height: 14px;
}
.accumulative-shares {
    height: 272px;
    min-height: 60px;
}
.accumulative-shares .scroll-box-simplebar {
    height: 100%;
}
.accumulative-shares.hide {
    height: auto !important;
}
.accumulative-shares.hide .simplebar-content-wrapper {
    overflow: hidden !important;
}
.accumulative-shares.hide .scroll-box-simplebar {
    height: 60px;
}
.scroll-box-simplebar__inner {
    padding-right: 10px;
}
.wrapper-block-hide-button_accumulative.hide .block-hide-button svg {
    transform: rotateX(180deg);
}

.wrapper-block-hide-button_accumulative {
    position: relative;
    z-index: 1;
    margin: 16px 0 -7px;
}
.accumulative-shares {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.main-holder.section-page-orders {
    padding-left: 0;
    padding-right: 0;
}
.section-page-orders .heading-mag .jq-selectbox.jqselect .jq-selectbox__select {
    border-color: var(--border);
    border-radius: 6px;
    background-color: #fff;
}
.section-page-orders .heading-mag .jq-selectbox__select-text {
    color: #999b9c;
    padding: 0 26px 0 10px;
}
.section-page-orders .heading-mag .jq-selectbox__trigger {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='6' viewBox='0 0 12 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.59601 5.06587C6.76701 5.21868 6.69767 5.52849 6.44118 5.75781C6.1847 5.98708 5.83812 6.04903 5.66711 5.89616L0.0938067 0.914185C-0.077195 0.761326 -0.00788392 0.451535 0.248621 0.222244C0.505126 -0.00704711 0.851687 -0.0690059 1.02269 0.0838554L6.59601 5.06587Z' fill='%2348494A'/%3E%3Cpath d='M10.9773 0.103826C11.1483 -0.0490362 11.4949 0.0129241 11.7514 0.24221C12.0079 0.4715 12.0772 0.781297 11.9062 0.934155L6.33286 5.91614C6.16186 6.069 5.81533 6.00706 5.55879 5.77774C5.30231 5.54847 5.23301 5.23866 5.40397 5.08579L10.9773 0.103826Z' fill='%2348494A'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
}
.section-page-orders .heading-mag .jq-selectbox__trigger .jq-selectbox__trigger-arrow {
    display: none;
}
.section-page-orders .heading-mag input[type="date"] {
    width: 116px;
    color: #999b9c;
    padding: 0 10px;
    background-color: #fff;
    border-radius: 4px;
    border-color: var(--border);
}
.section-page-orders .heading-mag {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.section-page-orders .conPaidBonus,
.section-page-orders .print,
.section-page-orders .tell-btn,
.section-page-orders .add.blue,
.section-page-orders .heading-mag .select-box,
.section-page-orders .box-rgh
{
    float: none;
}
.section-page-orders .heading-mag:after {
    display: none;
}
.section-page-orders .box-rgh {
    display: flex;
    align-items: center;
}
.section-page-orders .conPaidBonus,
.section-page-orders .button-actions,
.section-page-orders .tell-btn {
    margin: 0 12px 0 0;
}
.section-page-orders .print {
    margin: 0;
}
.section-page-orders .button-actions,
.section-page-orders .tell-btn {
    border-radius: 4px;
}
.section-page-orders .conPaidBonus {
    display: flex;
    align-items: center;
}
.conPaidBonus input {
    visibility: hidden;
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}
.conPaidBonus label {
    display: block;
    cursor: pointer;
    margin-left: 6px;
}
.conPaidBonus__text {
    display: inline-block;
    vertical-align: middle;
    white-space: nowrap;
}
.conPaidBonus .jq-checkbox .jq-checkbox__div {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid var(--border);
    transition: 205ms;
    background: transparent;
}
.conPaidBonus .jq-checkbox.checked .jq-checkbox__div {
    width: 18px;
    height: 18px;
    background: var(--green);
}
/*order_goods_table*/
.order_goods_table {
    border: none;
    width: 100%;
    table-layout: fixed;
}
.order_goods_table tr:hover td {
    background-color: #dadada;;
}
.order_goods_table td {
    border: 1px solid var(--border);
    border-left: none;
    border-right: none;
    text-align: left;
}
.order_goods_table td,
.order_goods_table th {
    position: relative;
    vertical-align: middle;
    overflow: hidden;
}
.order_goods_table th {
    font-weight: 700;
    background-color: #d8dbe0;
    text-align: center;
}
.order_goods_table th.full-product-final-price {
    background-color: #a1d192;
}
.order_goods_table td.full-product-final-price {
    background-color: #b6e5a3;
}
.order_goods_table td > div,
.order_goods_table th > div {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}
.order_goods_table td > div > span,
.order_goods_table th > div > span {
    display: block;
    padding: 3px 6px;
    font-size: 11px;
}
.order_goods_table th:nth-child(1) > div > span,
.order_goods_table td:nth-child(1) > div > span {
    padding-left: 12px;
}
.order_goods_table th:nth-child(15) > div > span,
.order_goods_table td:nth-child(15) > div > span {
    padding-right: 12px;
}
.order_goods_table tr:nth-child(even) {
    background-color: #f2f3f3;
}
.order_goods_table .product-name-row {
    padding: 3px 5px;
    font-size: 11px;
    text-align: left;
}
.order_goods_table .full-product-final-price .num {
    font-size: 11px;
}
.order_goods_table th:nth-child(1) {
    width: 30px;
}
.order_goods_table th:nth-child(2) {
    width: 60px;
}
.order_goods_table th:nth-child(3) {
    width: 100px;
}
.order_goods_table th:nth-child(5) {
    width: 100px;
}
.order_goods_table th:nth-child(6) {
    width: 34px;
}
.order_goods_table th:nth-child(7) {
    width: 50px;
}
.order_goods_table th:nth-child(8) {
    width: 50px;
}
.order_goods_table th:nth-child(9) {
    width: 70px;
}
.order_goods_table th:nth-child(10) {
    width: 40px;
}
.order_goods_table th:nth-child(11) {
    width: 80px;
}
.order_goods_table th:nth-child(12) {
    width: 70px;
}
.order_goods_table th:nth-child(13) {
    width: 70px;
}
.order_goods_table th:nth-child(14) {
    width: 74px;
}
.order_goods_table th:nth-child(15) {
    width: 36px;
}

.order_goods_table td:nth-child(1),
.order_goods_table td:nth-child(15) {
    text-align: center;
}

.order_goods_table .quantity {
    border-radius: 6px;
    width: 62px;
    height: 24px;
    overflow: hidden;
}
.order_goods_table .quantity .quantity__input {
    width: 28px;
    font-size: 12px;
}
.order_goods_table .quantity .quantity__btn {
    width: 16px;
    height: 22px;
}
.order_goods_table .quantity .quantity__btn.minus svg {
    width: 10px;
}
.order_goods_table .quantity .quantity__btn.plus svg {
    width: 10px;
    height: 10px;
}
.wrapper-data-order {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}
.product-sum {
    font-size: 12px;
}
.data-status {
    font-size: 12px;
}
.data-weight {
    font-size: 12px;
}
.comm-bx {
    padding: 5px 10px;
}
.close-inp {
    cursor: pointer;
}
.form-line-label .form-line-label__input {
    height: 24px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background-color: transparent;
}


.promo-scale {
    --done: #439447;
    --todo: #d8dbe0;
    --text: #b7b6b6;
    --bg: #fff;

    width: 75%;
    position: relative;
    padding: 16px 0 82px; /* снизу место под подарки */
    border-radius: 10px;
}

.promo-scale__track {
    position: relative;
    height: 56px; /* место под бейдж */
}

/* базовая серая линия */
.promo-scale__line {
    position: absolute;
    left: 0;
    right: 0;
    top: 28px;
    height: 4px;
    background: var(--todo);
    transform: translateY(-50%);
}

/* цветная часть линии */
.promo-scale__lineDone {
    position: absolute;
    left: 0;
    top: 28px;
    height: 4px;
    width: 0;
    background-image: linear-gradient(
            to right,
            #77d55d,
            #0097b2
    );
    transform: translateY(-50%);
}

/* контейнер точек — равные расстояния */
.promo-scale__points {
    position: absolute;
    inset: 0;
}

.promo-scale__point {
    position: absolute;
    top: 28px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg);
    border: 2px solid #a6a5a4;
    box-shadow: 0 0 0 2px #fff;
    box-sizing: border-box;
}

.promo-scale__point.is-active {
    background: linear-gradient(
            to left,
            #77d55d,
            #0097b2
    );
    border: 0;
}

.promo-scale__point.is-active::after {
    content: "✓";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 20px;
    color: #fff;
}

.promo-scale__point:first-child.is-active::after {
    display: none;
}

/* подписи под точками */
.promo-scale__labels {
    position: absolute;
    left: 0;
    right: 0;
    top: 44px;
    height: 22px;
}

.promo-scale__label {
    position: absolute;
    transform: translateX(-50%);
    font-size: 11px;
    color: var(--text);
    white-space: nowrap;
}

.promo-scale__label.is-start {
    color: var(--done);
}

.promo-scale__label.is-active {
    color: var(--done);
}

/* бейдж-процент над линией */
.promo-scale__badge {
    position: absolute;
    top: -11px;
    left: 0;
    transform: translateX(-50%);
    background: #0097b2;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 6px;
    border-radius: 2px;
    line-height: 100%;
    white-space: nowrap;
}

.promo-scale__badge::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #0097b2;
}

/* “ножка” как на скрине */
.promo-scale__badgeStem {
    position: absolute;
    top: 19px;
    left: 0;
    transform: translateX(-50%);
    width: 3px;
    height: 11px;
    background: #0097b2;
}

/* блок подарков под точками */
.promo-scale__gifts {
    position: absolute;
    top: 86px;
    left: 0;
    right: 0;
    height: 88px;
}

.promo-scale__gift {
    position: absolute;
    transform: translateX(-50%);
    text-align: center;
    width: 120px;
}

.promo-scale__gift img {
    width: 58px;
    height: 26px;
    display: block;
    object-fit: cover;
    object-position: center;
    margin: 0 auto 5px;
}

.promo-scale__gift a,
.promo-scale__gift span {
    display: block;
    font-size: 9px;
    line-height: 11px;
    color: #2563eb;
    text-decoration: none;
    padding: 0 5px;
}



.promo-card {
    padding: 14px 14px 10px;
    width: 100%;
    max-width: 760px;
}

.promo-card__inner {
}

.promo-card__head {
    margin-bottom: 14px;
}

.promo-card__subtitle {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.promo-card__title {
    margin: 0 0 6px;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 600;
    color: #111827;
}

.promo-card__sub {
    margin: 0;
    font-size: 10px;
    color: #9aa3ad;
}

.promo-card__sum {
    display: flex;
    gap: 6px;
    white-space: nowrap;
    font-size: 10px;
    color: #9aa3ad;
    padding-top: 2px;
}

.promo-card__sumValue {
    color: #6b7280;
    font-weight: 600;
}

.promo-card__scale {
    /* место под шкалу как на макете */
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;

    /* можно убрать фон — оставил прозрачным */
    background: transparent;
}

.promo-card__footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

.promo-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    height: 44px;
    padding: 0 18px;
    border-radius: 8px;
    background: #2e4d9d;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

.promo-card__btn:hover {
    filter: brightness(1.05);
}

.promo-card__btn:active {
    transform: translateY(1px);
}

.order_goods_table th .resize {
    position: absolute;
    height: 100%;
    width: 3px;
    right: 0;
    top: 0;
    cursor: col-resize;
}
.order_goods_table th .resize:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 1px;
    height: 60%;
    background: #0097b2;
    opacity: 0;
}
.order_goods_table thead:hover .resize:before {
    opacity: .5;
}
.recipient-form .select2-container {
    z-index: 1999;
}

/* grid order form */
.recipient-content-box__inner {
    width: 100%;
    min-width: 0;
}
.grid-order-form {
    display: grid !important;
    grid-template-columns: repeat(3, 234px);
    grid-template-areas:
    "a b g"
    "j k l";
    gap: 10px;
}
.grid-order-form.WarehouseWarehouse {
    grid-template-areas:
    "a b n"
    "m g ."
    "j k l";
}
.grid-order-form.WarehouseDoors {
    grid-template-areas:
    "a b c"
    "d e f"
    "g h i"
    "j k l";
}
.grid-cell-marker--a { grid-area: a; }
.grid-cell-marker--b { grid-area: b; }
.grid-cell-marker--c { grid-area: c; }
.grid-cell-marker--d { grid-area: d; }
.grid-cell-marker--e { grid-area: e; }
.grid-cell-marker--f { grid-area: f; }
.grid-cell-marker--g { grid-area: g; }
.grid-cell-marker--h { grid-area: h; }
.grid-cell-marker--i { grid-area: i; }
.grid-cell-marker--j { grid-area: j; }
.grid-cell-marker--k { grid-area: k; }
.grid-cell-marker--l { grid-area: l; }
.grid-cell-marker--m { grid-area: m; }
.grid-cell-marker--n { grid-area: n; }
.form-line-label.grid-cell-marker--a .form-line-label__title,
.form-line-label.grid-cell-marker--m .form-line-label__title,
.form-line-label.grid-cell-marker--j .form-line-label__title,
.form-line-label.grid-cell-marker--d .form-line-label__title,
.grid-order-form.WarehouseDoors .form-line-label.grid-cell-marker--g .form-line-label__title
{
    text-align: left;
}

.paging-bx.orders-pagination-shysh ul li span:after {
    display: none;
}
.paging-bx.orders-pagination-shysh ul li span {
    background: #304e9dab;
    border-radius: 4px;
    color: #fff;
}