/* -------------------------header------------------------- */

.header-btn-login {
    padding: 10px 8px 8px 8px;
    cursor: pointer;
min-width: 190px;
    position: relative;
}

.header-btn-login__menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 100%;

    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.header-btn-login__menu::after {
    content: "";

    position: absolute;
    top: -25px;
    left: 0;
    width: 100%;
    height: 30px;
    z-index: -1;
}

.header-btn-login:hover .header-btn-login__menu {
    transform: translateY(0px);
    opacity: 1;
    pointer-events: all;
}

.header-btn-login__menu .personal-account__sidebar-list {
    border: 1px solid var(--lightgray);
    border-radius: 5px;
    padding: 9px;
    background-color: #fff;
}

.header-btn-login__menu .personal-account__sidebar-item-link {
    padding: 6px 10px;
    font-size: 16px;
}

@media (hover: hover) {
    .header-btn-login__menu .personal-account__sidebar-item-link:hover,
    .header-btn-login__menu .personal-account__sidebar-exit:hover {
        background: var(--lightbluebg);
    }
}

.header-btn-login__menu .personal-account__sidebar-item-link:active,
.header-btn-login__menu .personal-account__sidebar-exit:active {
    background: var(--lightbluebg);
}

.header-btn-login__menu .personal-account__sidebar-exit {
    padding: 3px 10px;
    font-size: 16px;
    transition: all 0.2s ease;
}

.header-btn-login__menu .personal-account__sidebar-item:last-child {
    padding: 19px 0px 0px 0px;
    border-top: 1px solid var(--lightgray);
    margin: 12px 0px 0px 0px;
}

.header-btn-login .arrow-down {
    fill: var(--orange);
}

@media (hover: hover) {
    .header-btn-login:hover .arrow-down {
        fill: var(--darkorange);
        transform: rotate(180deg);
    }
}

.header-btn-login:active .arrow-down {
    fill: var(--darkorange);
    transform: rotate(180deg);
}

/* -------------------------login------------------------- */

.page__login {
}

.login__container {
}

.login__inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.login__body {
    border-radius: 10px;
    padding: 40px;
    background: var(--white);
    position: relative;
    min-height: 688px;
}

.login-loading {
    position: absolute;
    top: 40px;
    right: 40px;
}

.login__content {
    height: 100%;
    max-width: 360px;
    width: 100%;

    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
}

.login__top {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.login__head {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-head-loading {
    display: none;
}

.login__title {
    color: var(--black);
}

.login__subtitle {
    font-weight: 400;
    font-size: 20px;
    line-height: 120%;
    color: var(--black);
}

.login__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-form-code {
    /* display: none; */
}

.login__form-tabs {
    box-sizing: border-box;
    width: 100%;
    max-width: 360px;
    height: 50px;
    padding: 5px;
    gap: 10px;
    background: #f5f5f5;
    border-radius: 5px;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.login__form-tab {
    box-sizing: border-box;
    flex: 1 1 0;
    width: 100%;
    max-width: 170px;
    height: 42px;
    margin: 0 auto;
    padding: 10px;
    border-radius: 4px;
    background: #f5f5f5;
    cursor: pointer;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    font-family: var(--font-family);
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    text-align: center;
    color: #6f9ab0;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        font-weight 0.2s ease;
}

.login__form-tab--active {
    font-weight: 600;
    color: #444b54;
    background: #ffffff;
}

@media (hover: hover) {
    .login__form-tab:hover:not(.login__form-tab--active) {
        font-weight: 600;
        color: #6f9ab0;
    }
}

.login__form-box {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 10px;
}

.login__form-label {
}

.login__form .modal__form-label {
    box-sizing: border-box;
    display: block;
    padding: 12px 10px;

    width: 100%;
    max-width: 360px;
    height: 50px;
    min-height: 50px;

    background: #ffffff;
    border: 1px solid #d7d7d7;
    border-radius: 5px;
    position: relative;
    transition:
        border-color 0.2s ease,
        padding 0.2s ease;
}

.login__form
    .modal__form-label:hover:not(.disable):not(.error):not(.success):not(
        :focus-within
    ) {
    border-color: #6f9ab0;
}

.login__form .modal__form-label:focus-within:not(.error):not(.success) {
    border-color: #6f9ab0;
}

.login__form
    .modal__form-label.is-filled:not(:focus-within):not(.error):not(.success) {
    border-color: #d7d7d7;
}

.login__form .modal__form-label.success,
.login__form .modal__form-label.active {
    border-color: #4bae4f;
}

.login__form .modal__form-label.error {
    border-color: #eb0a0d;
}

.login__form .modal__form-label:focus-within,
.login__form .modal__form-label.is-filled,
.login__form .modal__form-label.success,
.login__form .modal__form-label.error,
.login__form .modal__form-label.disable,
.login__form .modal__form-label:has(.modal__form-label-name.active) {
    padding: 22px 10px 6px 10px;
}

.login__form .modal__form-label.disable {
    pointer-events: none;
}

.login__form .modal__form-label.disable .modal__form-label-name,
.login__form .modal__form-label.success .modal__form-label-name,
.login__form .modal__form-label.is-filled .modal__form-label-name {
    top: 5px;
    transform: none;
    font-size: 12px;
    line-height: 14px;
    width: calc(100% - 48px);
}

.modal__form-label-text-error {
    display: none;
    max-width: 360px;
    width: 100%;

    font-family: Montserrat, sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    color: #eb0a0d;
}

.login__form .modal__form-label.success .check,
.login__form .modal__form-label.active .check {
    opacity: 1;
}

.login__form .modal__form-label.error .error {
    opacity: 1;
}

.modal-form-status {
    box-sizing: border-box;
    width: 19px;
    height: 19px;
    min-width: 19px;
    padding: 2px;

    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    transition: opacity 0.2s ease;
    opacity: 0;
    pointer-events: none;
}

.login__form .modal__check {
    align-items: center;
}

.login__form .modal__form-label-name {
    left: 10px;
    width: calc(100% - 20px);
    font-size: 16px;
    line-height: 18px;
    color: #6f9ab0;
    top: 50%;
    transform: translateY(-50%);
}

.login__form .modal__form-label-name.active {
    top: 5px;
    transform: none;
    font-size: 12px;
    line-height: 14px;
    width: calc(100% - 48px);
}

.login__form .modal__form-input {
    font-family: Montserrat, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 18px;
    color: #444b54;
    width: 100%;
    height: 18px;
    padding: 0 28px 0 0;
    margin: 2px 0 0;
    border: 0;
    outline: none;
    background: transparent;
}

.login__form .modal__form-input.tel {
    letter-spacing: 1px;
}

.login__form
    .modal__form-label:has(.modal__form-label-name.active)
    .modal__form-input {
    margin-top: 0;
}

.login__form .modal__check-text {
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    color: var(--black);
}

.login-form-tel {
}

.login__form-btn {
    padding: 14px;
    width: 100%;

    position: relative;
}

.login__form-btn.btn-main.disable {
    pointer-events: auto;
    cursor: not-allowed;
}

.login__form-btn-desc {
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    width: 260px;
    background: var(--lightbluebg);
    border-radius: 5px;
    padding: 14px 10px;

    font-weight: 500;
    font-size: 14px;
    line-height: 114%;
    color: var(--darkgray);

    opacity: 0;
    visibility: hidden;
    z-index: 5;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
    pointer-events: none;
}

@media (hover: hover) {
    .login__form-btn.disable:hover .login__form-btn-desc {
        opacity: 1;
        visibility: visible;
    }
}

.login__form-btn.disable:active .login__form-btn-desc {
    opacity: 1;
    visibility: visible;
}

.login__form-btn.disable {
    background: var(--lightgray);
    color: var(--lightbluebg);
}

.login__bot {
    padding: 50px 0px 0px 0px;
    border-top: 1px solid var(--gray);

    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login__bot-box {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 20px;
}

.login__bot-text {
    font-weight: 500;
    font-size: 14px;
    line-height: 114%;
    color: var(--darkgray);
}

.login__slider {
    min-width: 0;
}

.page__login .preview__slider {
    height: 100%;
    padding: 0;
    margin: 0;
    background-color: transparent;
}

.login__form-code {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.login__form-code-input {
    border: 1px solid var(--gray);
    border-radius: 4px;
    padding: 16px;
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 400;
    font-size: 20px;
    line-height: 120%;
    text-align: center;
    color: var(--black);
}

.login__form-code-input:focus,
.login__form-code-input.filled {
    outline: none;
    border-color: rgba(111, 154, 176, 1);
}

.error .login__form-code-input {
    border-color: var(--red);
}

.login-form-code-error {
    font-weight: 500;
    font-size: 14px;
    line-height: 114%;
    color: var(--red);

    display: none;
}

.error .login-form-code-error {
    display: block;
}

.error .login__form-desc {
    display: none;
}

.login-form-code-repeat {
    font-weight: 500;
    font-size: 14px;
    line-height: 114%;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: var(--darkgray);
    display: none;
}

.error .login-form-code-repeat {
    display: block;
}

.login__form-desc {
    font-weight: 500;
    font-size: 14px;
    line-height: 114%;
    color: var(--gray);
}

.login__form-box-btn {
    font-weight: 500;
    font-size: 14px;
    line-height: 114%;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: var(--darkgray);
}

.login-form-email .modal-form-label-tel {
    display: none;
}

.login-form-tel .modal-form-label-email {
    display: none;
}

/* -------------------------personal-account------------------------- */

/* overflow:hidden на .wrapper ломает sticky и обрезает дропдаун шапки */
.wrapper:has(.page__personal-account) {
    overflow: visible;
}

.page__personal-account {
}

.personal-account-mob {
    display: none;
}

.personal-account__container {
}

.personal-account__inner {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.personal-account__inner.hide {
    display: none;
}

.personal-account__sidebar {
    max-width: 400px;
    width: 100%;
    min-width: 320px;
    flex: 0 0 auto;
}

.personal-account__sidebar-body {
    position: sticky;
    top: 140px;
    z-index: 5;

    border-radius: 10px;
    padding: 30px 20px;
    background: var(--white);

    display: flex;
    flex-direction: column;
    gap: 20px;
}

.personal-account__sidebar-head {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0px 0px 19px 0px;
    border-bottom: 1px solid var(--lightgray);
}

.personal-account__sidebar-name {
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    color: var(--black);
}

.personal-account__sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 8px;

    padding: 0px 0px 19px 0px;
    border-bottom: 1px solid var(--lightgray);
}

.personal-account__sidebar-item {
}

.new-order {
    width: 100%;
    margin: 12px 0px 0px 0px;
    padding: 13px;

    display: none;
}

.sidebar-personal-data .new-order {
    display: flex;
}

.personal-account__sidebar-item-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;

    padding: 10px 10px 10px 20px;
    border-radius: 5px;

    font-weight: 400;
    font-size: 18px;
    line-height: 122%;
    color: var(--black);

    transition: all 0.2s ease;
}

@media (hover: hover) {
    .personal-account__sidebar-item-link:hover {
        background: var(--lightbluebg);
    }
}

.personal-account__sidebar-item-link:active {
    background: var(--lightbluebg);
}

.personal-account__sidebar-item-link .arrow-down {
    transform: rotate(-90deg);
    fill: var(--darkgray);
}

.personal-account__sidebar-item-link--active {
    font-weight: 600;
    background: var(--lightbluebg);
}

.personal-account__sidebar-bot {
}

.personal-account__sidebar-exit {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 10px;
    width: 100%;
    border-radius: 5px;
    transition: all 0.2s ease;

    font-weight: 400;
    font-size: 18px;
    line-height: 122%;
    color: var(--darkgray);
}

@media (hover: hover) {
    .personal-account__sidebar-exit:hover {
        background: var(--lightbluebg);
    }
}

.personal-account__sidebar-exit:active {
    background: var(--lightbluebg);
}

.exit {
    width: 24px;
    height: 24px;
    min-width: 24px;
}

.personal-account__content {
    max-width: 1100px;
    width: 100%;
}

/* -------------------------my-orders------------------------- */

.my-orders {
}

.my-orders.hide {
    display: none;
}

.my-orders__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin: 0px 0px 20px 0px;
}

.my-orders__title.title {
    margin: 0;
    width: auto;
    max-width: 280px;
    height: auto;

    font-family: "Montserrat", sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 40px;
    line-height: 120%;
    color: #444b54;

    flex: none;
    flex-grow: 0;
}

.my-orders__right {
    display: flex;
    align-items: center;
    gap: 17px;
}

.my-orders__head .calc__item-row-dropdown,
.my-orders__head .calc__item-row-dropdown *,
.my-orders__head .calc__item-row-dropdown *::before,
.my-orders__head .calc__item-row-dropdown *::after {
    box-sizing: border-box;
}

/* слот в потоке всегда 50px — открытый список поверх, без прыжка страницы */
.my-orders__head .calc__item-row-dropdown {
    position: relative;
    z-index: 6;
    width: 260px;
    height: 50px;
    flex: none;
}

/* ===== default ===== */
.my-orders__head .calc__item-row-dropdown-head {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 260px;
    height: 50px;
    padding: 13px 10px;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #d7d7d7;
    border-radius: 5px;
    cursor: pointer;
    transition: none;
}

.my-orders__head .calc__item-row-dropdown-head-value {
    margin: 0;
    display: flex;
    align-items: center;
    font-family: var(--font-family);
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    color: #444b54;
    pointer-events: none;
    white-space: nowrap;
}

.my-orders__head .calc__item-row-dropdown-head-icon {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    flex: none;
    pointer-events: none;
}

.my-orders__head .drop-arrow {
    color: #6f9ab0;
    transition:
        color 0.15s ease,
        transform 0.15s ease;
}

/* ===== hover (закрытый) ===== */
@media (hover: hover) {
    .my-orders__head
        .calc__item-row-dropdown-head:hover:not(.dropdown-head--active) {
        border: 2px solid #d7d7d7;
        padding: 12px 9px;
    }

    .my-orders__head
        .calc__item-row-dropdown-head:hover:not(.dropdown-head--active)
        .drop-arrow {
        color: #444b54;
    }
}

.my-orders__head
    .calc__item-row-dropdown-head:active:not(.dropdown-head--active) {
    border: 2px solid #d7d7d7;
    padding: 12px 9px;
}

.my-orders__head
    .calc__item-row-dropdown-head:active:not(.dropdown-head--active)
    .drop-arrow {
    color: #444b54;
}

/* ===== active (открытый): одна карточка 260×116 поверх ===== */
.my-orders__head .calc__item-row-dropdown:has(.dropdown-head--active) {
    z-index: 20;
}

.my-orders__head .calc__item-row-dropdown:has(.dropdown-head--active)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 260px;
    height: 116px;
    background: #ffffff;
    border: 1px solid #6f9ab0;
    border-radius: 5px;
    z-index: 1;
    pointer-events: none;
}

.my-orders__head .dropdown-head--active.calc__item-row-dropdown-head {
    width: 240px;
    height: 50px;
    margin: 2px 10px 0;
    padding: 16px 0 16px 6px;
    border: none;
    border-radius: 10px;
    background: transparent;
    gap: 0;
}

.my-orders__head .dropdown-head--active .drop-arrow {
    color: #444b54;
    transform: rotate(180deg);
}

.my-orders__head .calc__item-row-dropdown-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 260px;
    height: 116px;
    padding: 56px 10px 10px;
    background: transparent;
    border: none;
    border-radius: 5px;
    z-index: 2;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
}

.my-orders__head .dropdown-content--active.calc__item-row-dropdown-content {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.my-orders__head .calc__item-row-dropdown-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 240px;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    list-style: none;
}

/* ===== option / active_hover ===== */
.my-orders__head .calc__item-row-dropdown-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 240px;
    height: 50px;
    min-height: 50px;
    padding: 16px 0 16px 6px;
    border: none;
    border-radius: 4px;
    background: #ffffff;

    font-family: var(--font-family);
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    color: #444b54;
    cursor: pointer;
}

.my-orders__head .calc__item-row-dropdown-item:not(:last-child) {
    border-bottom: none;
}

.my-orders__head .calc__item-row-dropdown-item.active {
    display: none;
}

.my-orders__head .calc__item-row-dropdown-item:active {
    background: #f6fafc;
}

@media (hover: hover) {
    .my-orders__head .calc__item-row-dropdown-item:hover {
        background: #f6fafc;
    }
}

/* ===== disabled ===== */
.my-orders__head .calc__item-row-dropdown.is-disabled,
.my-orders__head .calc__item-row-dropdown-head.disabled {
    pointer-events: none;
    cursor: default;
}

.my-orders__head
    .calc__item-row-dropdown.is-disabled
    .calc__item-row-dropdown-head,
.my-orders__head .calc__item-row-dropdown-head.disabled {
    border: 1px solid #d5e3ea;
    padding: 13px 10px;
}

.my-orders__head
    .calc__item-row-dropdown.is-disabled
    .calc__item-row-dropdown-head-value,
.my-orders__head
    .calc__item-row-dropdown-head.disabled
    .calc__item-row-dropdown-head-value {
    color: #d5e3ea;
}

.my-orders__head .calc__item-row-dropdown.is-disabled .drop-arrow,
.my-orders__head .calc__item-row-dropdown-head.disabled .drop-arrow {
    color: #d5e3ea;
}

.my-orders__btn {
    width: 260px;
    padding: 14px;
}

.my-orders__cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.my-orders__card {
    border-radius: 10px;
    padding: 30px 20px;
    background: var(--white);
    transition: background 0.2s ease;

    display: flex;
    flex-direction: column;
    gap: 20px;
    cursor: pointer;
}

.my-orders__card--unprocessed {
    cursor: pointer;
}

.my-orders__card--unprocessed .my-orders__card-head-right,
.my-orders__card--unprocessed .my-orders__card-link,
.my-orders__card--unprocessed .my-orders__card-date,
.my-orders__card--unprocessed .my-orders__card-num-bill,
.my-orders__card--unprocessed .my-orders__card-bot,
.my-orders__card--unprocessed .copy-btn {
    display: none;
}

.my-orders__card--unprocessed .my-orders__card-num-value {
    color: #000000;
}

.my-orders__card:hover {
    background: rgba(190, 227, 248, 0.07);
}

.my-orders__card--no-bx {
    background: rgba(255, 192, 203, 0.15);
    opacity: 0.85;
}

.my-orders__card--unprocessed .my-orders__card-status,
.my-orders__card--unprocessed .status-unprocessed {
    background: #f5f5f5;
    color: #444b54;
}

.my-orders__card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.my-orders__card-head-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.my-orders__card-num {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.my-orders__card-num-value {
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    color: var(--blue);
    min-width: 146px;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.copy {
    width: 16px;
    height: 18px;
    min-width: 16px;
    fill: #0093df;
}

.copy-tooltip {
    box-sizing: border-box;
    display: none;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px;
    gap: 10px;

    position: absolute;
    width: 260px;
    height: 52px;
    left: calc(100% + 8px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;

    background: #ffffff;
    border: 1px solid #d5e3ea;
    border-radius: 5px;
}

.copy-tooltip.is-visible {
    display: flex;
}

.copy-tooltip__text {
    flex: 1;
    font-family: Montserrat, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0;
    color: #6f9ab0;
    text-align: left;
}

.copy-tooltip__close {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px;
    gap: 10px;

    width: 24px;
    height: 24px;
    min-width: 24px;
    border: none;
    background: transparent;
    cursor: pointer;
    flex: none;
    flex-grow: 0;
}

.copy-tooltip__close .cross {
    width: 8px;
    height: 9px;
    fill: #6f9ab0;
}

.my-orders__card-date {
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    color: #000;
    min-height: 24px;
    display: flex;
    align-items: center;
}

.my-orders__card-status {
    font-weight: 500;
    font-size: 18px;
    line-height: 122%;

    padding: 4px 10px;
    border-radius: 5px;
    min-height: 28px;
    min-width: 150px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    text-align: center;
}

.status-waiting {
    background: var(--redlight);
    color: var(--black);
}

.status-unprocessed {
    background: #f5f5f5;
    color: #444b54;
}

.status-approval {
    color: var(--black);
    background: var(--yellowlight);
}

.status-work {
    color: var(--black);
    background: var(--lightgray);
}

.status-delivery {
    color: var(--white);
    background: var(--orange);
}

.status-ready-pickup {
    color: var(--white);
    background: var(--blue);
}

.status-complited {
    color: var(--black);
    background: var(--greenlight);
}

.my-orders__card-head-right {
}

.my-orders__card-link {
    font-family: var(--font-family);
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    text-align: right;
    text-decoration: none;
    color: #6f9ab0;
    white-space: nowrap;
}

.my-orders__card-link:hover {
    text-decoration: underline;
}

.my-orders__card-body {
    display: flex;
    align-items: start;
    gap: 20px;
}

.my-orders__card-img {
    min-width: 150px;
    width: 150px;
    height: 150px;
    overflow: hidden;
    border-radius: 4px;
}

.my-orders__card-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 0;
}

.my-orders__card-img--placeholder {
    box-sizing: border-box;
    width: 150px;
    height: 150px;
    min-width: 150px;
    padding: 12px;
    border-radius: 4px;
    background: var(--lightgray);

    display: flex;
    align-items: center;
    justify-content: center;
}

.my-orders__card-placeholder-text {
    max-width: 120px;
    font-family: var(--font-family);
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    color: #ffffff;
}

.my-orders__card-image {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
}

.my-orders__card-cotent {
    width: 100%;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.my-orders__card-left {
    max-width: 387px;
    width: 100%;

    display: flex;
    flex-direction: column;
    gap: 16px;
}

.my-orders__card-top {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 8px;
}

.my-orders__card-name {
    font-weight: 600;
    font-size: 18px;
    line-height: 122%;
    color: #000;
}

.my-orders__card-num-bill {
    font-weight: 500;
    font-size: 18px;
    line-height: 122%;
    color: var(--black);

    background: var(--lightblue);
    padding: 4px 10px;
    border-radius: 5px;
    display: inline-block;
}

.my-orders__card-desc {
    font-weight: 400;
    font-size: 18px;
    line-height: 122%;
    color: #000;
}

.my-orders__card-bot {
    display: flex;
    align-items: center;
    gap: 20px;
}

.my-orders__card-price {
    font-weight: 600;
    font-size: 18px;
    line-height: 122%;
    color: #000;
}

.my-orders__card-price-status {
    font-weight: 400;
    font-size: 16px;
    line-height: 113%;
}

.price-status-not-paid {
    color: var(--red);
}

.price-status-paid {
    color: var(--green);
}

.my-orders__card-right {
}

.my-orders__card-btn-approval {
}

.my-orders__card-btn-approval.btn-main {
    padding: 14px;
    width: 228px;
}

.my-orders__card-btn-repeat.btn-border {
    padding: 13px;
    width: 228px;
}

/* -------------------------my-order------------------------- */

.personal-account-content-width {
    max-width: unset;
}

.my-order {
    display: none;
}

.my-order.visible {
    display: block;
}

.my-order__head {
    margin: 0px 0px 40px 0px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.my-order__head-left {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.my-order__title.title {
    margin: 0;
    height: auto;

    font-family: "Montserrat", sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 40px;
    line-height: 120%;
    color: #444b54;

    flex: none;
    flex-grow: 0;
}

.my-order-btn {
    width: 42px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.my-order-btn .copy {
    width: 24px;
    height: 30px;
    min-width: 24px;
    fill: var(--darkgray);
}

.my-order__head-right {
    max-width: 895px;
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.my-order__box {
    display: flex;
    align-items: center;
    gap: 20px;
}

.my-order__date {
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    color: var(--black);
    white-space: nowrap;
}

.my-order__status {
    font-weight: 500;
    font-size: 18px;
    line-height: 122%;
    white-space: nowrap;

    padding: 4px 10px;
    display: inline-block;
    border-radius: 5px;
}

.status-completed {
    background: var(--greenlight);
    color: var(--black);
    padding: 4px 10px;
    display: inline-block;
    border-radius: 5px;
}

.status-waiting {
    background: var(--redlight);
    color: var(--black);
    padding: 4px 10px;
    display: inline-block;
    border-radius: 5px;
}

.status-approval {
    background: var(--yellowlight);
    color: var(--black);
}

.my-order__head-link {
    font-weight: 600;
    font-size: 18px;
    line-height: 122%;
    color: var(--darkgray);
    text-decoration: none;
}

.my-order__head-link:hover {
    text-decoration: underline;
}

.my-order__content {
    display: flex;
    align-items: stretch;
    gap: 20px;
    width: 100%;
}

.my-order__layout {
    border-radius: 10px;
    padding: 30px 40px;
    background: var(--white);
    max-width: 540px;
    width: 100%;
    flex: 0 0 auto;

    display: flex;
    flex-direction: column;
    gap: 20px;
}

.my-order__layout-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    padding: 0px 0px 13px 0px;
    border-bottom: 1px solid var(--lightgray);
}

.my-order__layout-title {
    color: var(--black);
}

.my-order__layout-head-btns {
    display: flex;
    align-items: center;
    gap: 18px;
}

.my-order__layout-head-btn {
}

.my-order__layout-img {
    position: relative;
    cursor: pointer;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 4px;
    overflow: hidden;
    background: rgba(236, 248, 254, 1);

    display: flex;
    align-items: center;
    justify-content: center;
}

.my-order__layout-image {
    border-radius: 4px;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.no-layout-yet-img {
    display: none;
}

.my-order__layout-placeholder {
    display: none;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 20px;
    border-radius: 4px;
    background: var(--lightgray);

    align-items: center;
    justify-content: center;
}

.my-order__layout-placeholder-text {
    max-width: 268px;
    font-family: var(--font-family);
    font-style: normal;
    font-weight: 400;
    font-size: 30px;
    line-height: 36px;
    text-align: center;
    color: #ffffff;
}

.no-layout-yet .my-order__layout-image {
    display: none;
}

.no-layout-yet .zoom {
    display: none;
}

.no-layout-yet .my-order__layout-btns {
    display: none;
}

.layout-approval .my-order__layout-btns {
    display: none;
}

.layout-approval .layout-approval-btns {
    display: flex;
}

.no-layout-yet .my-order__layout-img {
    cursor: default;
    background: var(--lightgray);
}

.no-layout-yet .no-layout-yet-img {
    display: none;
}

.no-layout-yet .my-order__layout-placeholder {
    display: flex;
}

.zoom {
    width: 34px;
    height: 34px;

    position: absolute;
    bottom: 10px;
    right: 10px;
    pointer-events: none;
}

.my-order__layout-btns {
    display: flex;
    align-items: center;
    gap: 20px;
}

.layout-approval-btns {
    display: none;
}

.my-order__layout-btn.btn-border {
    width: 100%;
    padding: 13px;
}

.my-order__layout-btn.btn-main {
    width: 100%;
    padding: 14px;
}

.my-order__body {
    border-radius: 10px;
    padding: 30px 40px;
    background: var(--white);

    display: flex;
    gap: 50px;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.my-order__rows {
    width: 100%;

    display: flex;
    flex-direction: column;
    gap: 20px;
}

.my-order__rows:not(:last-child) {
    border-right: 1px solid var(--lightgray);
    padding: 0px 49px 0px 0px;
}

.my-order__row {
    padding: 0px 0px 6px 0px;
    border-bottom: 1px solid #e2e2e2;

    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 10px;
}

.my-order__row-name {
    font-weight: 400;
    font-size: 18px;
    line-height: 122%;
    color: var(--black);
}

.my-order__row-value {
    font-weight: 400;
    font-size: 18px;
    line-height: 122%;
    text-align: right;
    color: var(--black);
}

.my-order__col {
    padding: 0px 0px 6px 0px;
    border-bottom: 1px solid #e2e2e2;

    display: flex;
    flex-direction: column;
    gap: 10px;
}

.my-order__col .my-order__row {
    border: none;
    padding: 0;
    align-items: center;
}

.my-order__col .my-order__row .my-order__row-value {
    color: var(--black);
}

.my-order__col .my-order__row-value {
    font-weight: 400;
    font-size: 16px;
    line-height: 113%;
    color: var(--darkgray);
    text-align: start;
}

.my-order__row-color {
    max-width: 240px;

    display: flex;
    gap: 4px;
}

.my-order__row-color-value {
    font-weight: 400;
    font-size: 18px;
    line-height: 122%;
    text-align: right;
    color: var(--black);
}

.my-order__row-color-list {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: end;
}

.my-order__row-color-item {
    font-weight: 500;
    font-size: 12px;
    line-height: 133%;
    color: var(--black);

    background: var(--lightblue);
    padding: 4px 12px;
    border-radius: 10px;
}

.my-order__row-circulation .my-order__row-name,
.my-order__row-circulation .my-order__row-value {
    font-weight: 600;
}

.my-order__rows-bot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.my-order__rows-bot-name {
    font-weight: 600;
    font-size: 18px;
    line-height: 130%;
    color: var(--orange);
}

.my-order__rows-bot-value {
    font-weight: 500;
    font-size: 14px;
    line-height: 114%;
    color: var(--orange);
    text-decoration: none;
}

.my-order__rows-bot-value-link {
    color: inherit;
    text-decoration: none;
}

.my-order__rows-bot-value-link:hover {
    text-decoration: underline;
}

a.my-order__rows-bot-value:hover {
    text-decoration: underline;
}

.my-order__rows-bot-value span {
    color: var(--darkgray);
    display: block;
}

/* -------------------------personal-data------------------------- */

.personal-data {
    display: none;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
}

.personal-data.visible {
    display: flex;
}

.personal-data__cards {
    max-width: 540px;
    width: 100%;

    display: flex;
    flex-direction: column;
    gap: 40px;
}

.personal-data__card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.personal-data__card-name {
    font-weight: 600;
    font-size: 18px;
    line-height: 122%;
    color: var(--black);
}

.personal-data__card-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.personal-data__card-row {
    padding: 7px 9px;
    border: 1px solid var(--gray);
    border-radius: 5px;
    background: var(--lightergray);

    display: flex;
    flex-direction: column;
    gap: 2px;
}

.personal-data__card-row-name {
    font-weight: 400;
    font-size: 12px;
    line-height: 117%;
    color: var(--darkgray);
}

.personal-data__card-row-value {
    font-weight: 400;
    font-size: 16px;
    line-height: 113%;
    color: var(--black);
}

.personal-data__box {
    max-width: 400px;
    width: 100%;
    margin: 42px 0px 0px 0px;

    border-radius: 10px;
    padding: 30px 20px;
    background: var(--white);

    display: flex;
    flex-direction: column;
    gap: 20px;
}

.personal-data__box-desc {
    font-weight: 400;
    font-size: 18px;
    line-height: 122%;
    color: var(--black);
}

.personal-data__box .header__top-list {
    flex-direction: column;
    align-items: start;
    gap: 20px;
}

/* -------------------------modal-order-img------------------------- */

.modal-order-img .modal__window {
    max-width: 1100px;
    width: 100%;
    box-sizing: border-box;
    max-height: calc(100vh - 68px);
    padding: 24px 40px 30px;
    overflow: auto;
}

.modal-order-img .modal__close {
    top: 12px;
    right: 12px;
    z-index: 10;
}

.modal-order-img__img {
    position: relative;
    z-index: 1;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lightblue);
    border-radius: 4px;
    overflow: hidden;
}

.modal-order-img__images {
    width: 100%;
    max-height: calc(100vh - 130px);
    object-fit: contain;
    display: block;
}

.modal-order-img__zoom {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 3;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.modal-order-img__zoom-icon {
    display: block;
    width: 34px;
    height: 34px;
}

.modal-order-img__zoom-icon--minus {
    display: none;
}

.modal-order-img__zoom.is-active .modal-order-img__zoom-icon--plus {
    display: none;
}

.modal-order-img__zoom.is-active .modal-order-img__zoom-icon--minus {
    display: block;
}

.modal-order-img__lens {
    position: absolute;
    z-index: 2;
    width: 220px;
    height: 220px;
    border-radius: 8px;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 20px rgba(68, 75, 84, 0.25);
    pointer-events: none;
    background-repeat: no-repeat;
    background-color: var(--lightblue);
}

.modal-order-img__lens[hidden] {
    display: none !important;
}

.modal-order-img__img.is-zooming {
    cursor: none;
}

.modal-order-img__img.is-zooming .modal-order-img__images {
    cursor: none;
}

.modal-order-img__img.is-zooming .modal-order-img__zoom {
    cursor: pointer;
}

.modal-personal .modal__window {
    box-sizing: border-box;
    max-width: 540px;
    width: 100%;
    height: auto;
    max-height: none;
    overflow: visible;
    flex-shrink: 0;
    padding: 40px;

    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal.modal-personal {
    overflow-y: auto;
    align-items: center;
}

.modal-personal .modal__close {
    top: 40px;
    right: 40px;
}

.modal-personal__name {
    font-family: Montserrat, sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #324452;

    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.modal-personal__name.title-h3 {
    font-weight: 600;
    font-size: 30px;
    line-height: 36px;
    color: #324452;
    padding: 0 50px 0 0;
}

.cloack2,
.apporv {
    width: 34px;
    height: 34px;
    min-width: 34px;
    flex-shrink: 0;
    margin-top: 1px;
}

.modal-personal__desc {
    font-family: Montserrat, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    color: #000;
}

.modal-personal__desc strong {
    font-weight: 600;
}

.modal-personal .my-order__layout-btns,
.modal-personal .modal-personal__bot {
    margin-top: 20px;
}

.modal-personal .my-order__layout-btns {
    width: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
}

.modal-personal .my-order__layout-btn {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
}

.modal-personal__bot {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.modal-personal .social {
    margin: 0;
}

.modal-personal .header__top-list svg {
    display: block;
}

.modal-personal .header__top-list {
    gap: 20px;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}

.modal-personal .header__top-list-item-link {
    font-size: 18px;
    line-height: 22px;
    font-weight: 500;
    color: #444b54;
}

.modal-sending-error .modal-personal__bot,
.modal-sending-repeat-error .modal-personal__bot {
    margin-top: 20px;
    padding: 40px 0 0;
    border-top: 1px solid var(--lightgray);
    justify-content: flex-start;
    align-items: flex-start;
}

.modal-sending-error .modal__window,
.modal-sending-repeat-error .modal__window {
    gap: 20px;
}

.modal-sending-error .my-order__layout-btns,
.modal-sending-repeat-error .my-order__layout-btns {
    margin-top: 20px;
}

.modal-sending-repeat-error .my-order__layout-btns .my-order__layout-btn,
.modal-sending-error .my-order__layout-btns .my-order__layout-btn {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
}

/* -------------------------media------------------------- */

@media (max-width: 1400px) {
    .my-order__layout {
        max-width: 400px;
        padding: 20px;
    }

    .my-order__body {
        padding: 20px;
        gap: 20px;
    }

    .my-order__rows:not(:last-child) {
        padding: 0px 19px 0px 0px;
    }

    .my-order__head-right {
        flex-direction: column-reverse;
        align-items: end;
    }

    .my-order__head-right {
        max-width: 500px;
    }

    .my-order__box {
        width: 100%;
        justify-content: space-between;
    }

    .my-order__layout-btns {
        flex-direction: column;
        gap: 10px 20px;
    }
}

@media (max-width: 1150px) {
    .pagination {
        padding: 140px 0 20px 0;
    }

    .personal-account__sidebar {
        display: none;
    }

    .my-order__head-link {
        display: none;
    }

    .my-order__title.title {
        font-size: 30px;
        line-height: 120%;
    }

    .my-orders__title.title {
        font-size: 30px;
        line-height: 120%;
        max-width: none;
        white-space: nowrap;
    }

    .my-orders__head {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
    }

    .my-orders__right {
        flex-shrink: 0;
    }

    .my-orders__head .calc__item-row-dropdown {
        width: 220px;
        height: 44px;
    }

    .my-orders__btn {
        width: 220px;
        padding: 9px;
        font-size: 14px;
    }

    .my-orders__head .calc__item-row-dropdown-head-value {
        font-size: 14px;
        line-height: 18px;
    }

    .my-orders__head .calc__item-row-dropdown-head {
        width: 220px;
        height: 44px;
        padding: 10px;
    }

    .my-orders__head
        .calc__item-row-dropdown-head:hover:not(.dropdown-head--active),
    .my-orders__head
        .calc__item-row-dropdown-head:active:not(.dropdown-head--active) {
        padding: 9px;
    }

    .my-orders__head
        .calc__item-row-dropdown:has(.dropdown-head--active)::before {
        width: 220px;
        height: 104px;
    }

    .my-orders__head .dropdown-head--active.calc__item-row-dropdown-head {
        width: 200px;
        height: 44px;
        margin: 2px 10px 0;
        padding: 12px 0 12px 6px;
    }

    .my-orders__head .calc__item-row-dropdown-content {
        width: 220px;
        height: 104px;
        padding: 50px 10px 10px;
    }

    .my-orders__head .calc__item-row-dropdown-list,
    .my-orders__head .calc__item-row-dropdown-item {
        width: 200px;
    }

    .my-orders__head .calc__item-row-dropdown-item {
        height: 44px;
        min-height: 44px;
        font-size: 14px;
        line-height: 18px;
        padding: 12px 0 12px 6px;
    }

    .my-orders__right {
        gap: 20px;
    }

    .my-orders__card-num-value,
    .my-orders__card-date,
    .my-orders__card-status,
    .my-orders__card-link {
        font-size: 14px;
    }

    .copy-tooltip {
        left: 0;
        right: auto;
        top: calc(100% + 8px);
        transform: none;
        width: min(260px, calc(100vw - 40px));
    }

    .my-orders__card {
        padding: 20px;
    }

    .my-orders__card-image {
        width: 100%;
        height: 100%;
    }

    .my-orders__card-img {
        min-width: 120px;
        width: 120px;
        height: 120px;
    }

    .my-orders__card-img--placeholder {
        width: 120px;
        height: 120px;
        min-width: 120px;
        padding: 10px;
    }

    .my-orders__card-placeholder-text {
        font-size: 12px;
        line-height: 16px;
    }

    .my-orders__card-num-bill {
        font-size: 14px;
    }

    .my-orders__card-desc {
        font-size: 14px;
    }

    .my-orders__card-price {
        font-size: 16px;
        font-weight: 500;
    }

    .my-orders__card-price-status {
        font-size: 14px;
    }

    .my-orders__card-left {
        gap: 10px;
    }

    .my-orders__card-top {
        gap: 5px;
    }

    .my-orders__card-name {
        font-weight: 500;
    }

    .my-orders__card-btn-approval.btn-main {
        font-size: 14px;
        padding: 12px;
        max-width: 200px;
    }

    .my-orders__card-btn-repeat.btn-border {
        font-size: 14px;
        padding: 11px;
        max-width: 200px;
    }

    .personal-account-mob {
        display: block;
        position: sticky;
        top: 0;
        z-index: 9;
        width: 100%;
        padding: 132px 34px 13px 34px;
        background-color: #fff;
        box-sizing: border-box;
    }

    .pagination-personal-account.pagination {
        padding: 20px 0;
    }

    .personal-account__sidebar-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 0;
        border: none;
    }

    .personal-account__sidebar-item-link {
        font-size: 14px;
        padding: 11px;
        border: 1px solid var(--lightgray);
        text-align: center;
        justify-content: center;
        box-sizing: border-box;
    }

    .personal-account__sidebar-exit {
        font-size: 14px;
        padding: 7px;
        border: 1px solid var(--lightgray);
        border-radius: 5px;
        justify-content: center;
        box-sizing: border-box;
    }

    .personal-account__sidebar-item-link--active {
        background-color: transparent;
        border: 1px solid var(--orange);
    }

    .personal-account-mob .personal-account__sidebar-list {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    }

    .personal-account-mob .personal-account__sidebar-item {
        min-width: 0;
    }

    .personal-account-mob .personal-account__sidebar-item-link {
        width: 100%;
    }

    .my-order__content {
        flex-direction: column-reverse;
    }

    .my-order__head {
        margin: 0px 0px 20px 0px;
    }

    .my-order__head-right {
        max-width: 343px;
    }

    .my-order__date {
        font-size: 18px;
    }

    .my-order__status {
        font-size: 14px;
    }

    .my-order-btn {
        width: 30px;
        height: 35px;
    }

    .my-order__layout {
        max-width: unset;
    }

    .my-order__body {
        flex-direction: column;
        gap: 50px;
    }

    .my-order__rows:not(:last-child) {
        padding: 0;
        border: none;
    }

    .my-order__row-circulation {
        padding: 0px 0px 19px 0px;
        border-color: var(--darkgray);
    }

    .my-order__layout-btns {
        flex-direction: row;
    }

    .personal-data {
        grid-template-columns: repeat(2, 1fr);
    }

    .personal-data.visible {
        display: grid;
    }

    .personal-data__box-desc {
        padding: 0px 0px 53px 0px;
        border-bottom: 1px solid var(--lightgray);
    }

    .personal-data__box {
        gap: 43px;
        padding: 20px;
        max-width: unset;
    }

    .personal-data__box .header__top-list svg {
        display: block;
    }

    .modal-order-img .modal__window {
        padding: 20px;
        overflow: auto;
    }

    .modal-order-img .modal__close {
        top: 8px;
        right: 8px;
        z-index: 10;
        width: 34px;
        height: 34px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .modal-order-img .modal__close .close-modal {
        /* viewBox 50×50, крестик в 30×30 → use ≈ 20×20 */
        width: 33.34px;
        height: 33.34px;
        min-width: 33.34px;
        min-height: 33.34px;
        display: block;
    }

    .modal-order-img__img {
        padding: 0;
    }

    .modal-personal .modal__close {
        top: 10px;
        right: 10px;
        width: 34px;
        height: 34px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: visible;
    }

    .modal-personal .modal__close .close-modal {
        /* viewBox 50×50, крестик в 30×30 → визуально 20px */
        width: 33.34px;
        height: 33.34px;
        min-width: 33.34px;
        min-height: 33.34px;
        display: block;
    }

    .modal-personal .modal__window {
        padding: 20px;
    }

    .modal-personal__name.title-h3 {
        font-size: 25px;
    }
}

@media (max-width: 1000px) {
    .login__slider {
        display: none;
    }

    .login__inner {
        grid-template-columns: repeat(1, 1fr);
    }

    .login__content {
        max-width: unset;
    }

    .login__body {
        min-height: 792px;
        padding: 20px 10px;
    }

    .login__title br {
        display: none;
    }

    .login__top {
        gap: 20px;
    }

    .login__form .modal__form-label {
        max-width: 100%;
    }

    .login__subtitle {
        font-size: 25px;
    }

    .login__bot-text {
        font-size: 16px;
    }

    .login__bot {
        padding: 20px 0px 0px 0px;
    }

    .login-loading {
        position: unset;
    }

    .login__subtitle br {
        display: none;
    }
}

@media (max-width: 770px) {
    .my-orders__head .calc__item-row-dropdown-head {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .pagination {
        padding: 120px 0 20px 0;
    }

    .my-order__title.title {
        font-size: 20px;
        line-height: 120%;
    }

    .my-order-btn .copy {
        width: 20px;
        height: 25px;
        min-width: 20px;
    }

    .my-orders__title.title {
        font-size: 20px;
        line-height: 120%;
        white-space: nowrap;
        max-width: none;
    }

    .my-orders__head {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 16px;
    }

    .my-orders__right {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        width: 100%;
        gap: 10px;
    }

    .my-orders__btn,
    .my-orders__head .calc__item-row-dropdown {
        flex: 1 1 0;
        width: 100%;
        min-width: 0;
    }

    .my-orders__head .calc__item-row-dropdown-head,
    .my-orders__head
        .calc__item-row-dropdown:has(.dropdown-head--active)::before,
    .my-orders__head .calc__item-row-dropdown-content {
        width: 100%;
    }

    .my-orders__head .dropdown-head--active.calc__item-row-dropdown-head,
    .my-orders__head .calc__item-row-dropdown-list,
    .my-orders__head .calc__item-row-dropdown-item {
        width: calc(100% - 20px);
    }

    .login__title {
        font-size: 20px;
    }

    .login__subtitle {
        font-size: 16px;
    }

    .login__form-tab {
        font-size: 16px;
    }

    .login__bot-text {
        font-size: 14px;
    }

    .login__body {
        min-height: 645px;
    }

    .login__bot-text br {
        display: none;
    }

    .my-orders__card {
        padding: 10px 10px 54px 10px;
        position: relative;
    }

    .my-orders__card-status {
        position: absolute;
        bottom: 10px;
        left: 10px;
        font-size: 12px;
        min-width: 150px;
        justify-content: center;
        text-align: center;
    }

    .my-orders__card-head-right {
        position: absolute;
        bottom: 14px;
        right: 10px;
    }

    .my-orders__card:has(.my-orders__card-right button)
        .my-orders__card-head-right {
        bottom: 84px;
    }

    .my-orders__card:has(.my-orders__card-right button)
        .my-orders__card-status {
        bottom: 80px;
    }

    .my-orders__card:has(.my-orders__card-right button) {
        padding: 10px 10px 124px 10px;
    }

    .my-orders__card-right {
        position: absolute;
        bottom: 10px;
        left: 10px;
        width: 100%;
    }

    .my-orders__card-right button {
        max-width: unset !important;
        width: calc(100% - 20px) !important;
    }

    .my-orders__card-head-left {
        width: 100%;
        justify-content: space-between;
    }

    .my-orders__card-name {
        font-size: 14px;
    }

    .my-orders__card-desc {
        font-size: 12px;
    }

    .my-orders__card-price {
        font-size: 14px;
        white-space: nowrap;
    }

    .my-orders__card-price-status {
        font-size: 12px;
    }

    .my-orders__card-top {
        gap: 8px;
    }

    .my-orders__card-cotent {
        height: 100%;
    }

    .my-orders__card-left {
        height: 100%;
        justify-content: space-between;
    }

    .my-orders__card-bot {
        gap: 10px;
    }

    .personal-account-mob {
        padding: 110px 17px 6px 17px;
    }

    .personal-account-mob .personal-account__sidebar-exit span {
        display: none;
    }

    .personal-account-mob .personal-account__sidebar-list {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
        gap: 10px;
    }

    .personal-account-mob .personal-account__sidebar-item-link {
        width: 100%;
        white-space: nowrap;
    }

    .personal-account-mob .personal-account__sidebar-item {
        width: auto;
        min-width: 0;
    }

    .my-order__head {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
        margin: 0px 0px 15px 0px;
    }

    .my-order__head-right {
        max-width: unset;
    }

    .my-order__date {
        font-size: 14px;
    }

    .my-order__status {
        font-size: 12px;
    }

    .my-order__body {
        padding: 20px 10px;
    }

    .my-order__row-name,
    .my-order__row-value {
        font-size: 14px;
    }

    .my-order__col .my-order__row-value {
        font-size: 12px;
    }

    .my-order__row-color-value {
        font-size: 14px;
    }

    .my-order__rows-bot-name {
        font-size: 14px;
    }

    .my-order__layout-title {
        font-size: 18px;
    }

    .my-order__layout-placeholder-text {
        font-size: 20px;
        line-height: 26px;
        max-width: 200px;
    }

    .my-order__layout-btns {
        flex-direction: column;
    }

    .my-order__layout-btn.btn-border,
    .my-order__layout-btn.btn-main {
        font-size: 14px;
    }

    .personal-data {
        grid-template-columns: repeat(1, 1fr);
        gap: 60px;
    }

    .personal-data__cards {
        max-width: unset;
    }

    .personal-data__box {
        max-width: unset;
    }

    .personal-data__box-desc {
        padding: 0px 0px 39px 0px;
        margin: 0px 0px 20px 0px;
        font-size: 16px;
    }

    .personal-data__box {
        gap: 20px;
    }

    .modal-order-img .modal__window {
        padding: 16px 10px;
    }

    .modal-order-img__img {
        padding: 0;
    }

    .modal-order-img .modal__close {
        top: 10px;
        right: 10px;
        width: 34px;
        height: 34px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .modal-order-img .modal__close .close-modal {
        /* viewBox 50×50, крестик в 30×30 → use ≈ 20×20 */
        width: 33.34px;
        height: 33.34px;
        min-width: 33.34px;
        min-height: 33.34px;
        display: block;
    }

    .modal-personal .modal__close {
        top: 16px;
        right: 10px;
        width: 34px;
        height: 34px;
        padding: 0;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: visible;
    }

    .modal-personal .modal__close .close-modal {
        /* viewBox 50×50, крестик в 30×30 → визуально 20px */
        width: 33.34px;
        height: 33.34px;
        min-width: 33.34px;
        min-height: 33.34px;
        display: block;
    }

    .modal-personal .modal__window {
        padding: 16px 10px;
        gap: 14px;
        border-radius: 10px;
    }

    .modal-new-order .modal__window,
    .modal-approved-repeat-order .modal__window,
    .modal-sending-error .modal__window,
    .modal-sending-repeat-error .modal__window {
        gap: 14px;
    }

    .modal-repeat-order .modal__window {
        gap: 14px;
    }

    .modal-personal__name.title-h3 {
        font-size: 18px;
        line-height: 20px;
        color: #324452;
        padding: 0 40px 0 0;
        align-items: flex-start;
    }

    .modal-personal__desc {
        font-size: 14px;
        line-height: 16px;
        color: #000;
    }

    .modal-personal .my-order__layout-btns,
    .modal-personal .modal-personal__bot {
        margin-top: 16px;
    }

    .modal-personal .my-order__layout-btns,
    .modal-repeat-order .my-order__layout-btns,
    .modal-sending-error .my-order__layout-btns,
    .modal-warning .my-order__layout-btns {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 10px;
        width: 100%;
    }

    .modal-warning .my-order__layout-btns {
        flex-direction: column;
    }

    .modal-repeat-order .my-order__layout-btns {
        margin-top: 6px;
    }

    .modal-personal .my-order__layout-btn {
        flex: 1 1 0;
        min-width: 0;
        width: auto;
        min-height: 50px;
        padding: 12px 18px;
        font-size: 16px;
        line-height: 20px;
    }

    .modal-sending-error .my-order__layout-btns,
    .modal-sending-repeat-error .my-order__layout-btns {
        margin-top: 16px;
    }

    .modal-sending-repeat-error .my-order__layout-btns {
        flex-direction: row;
    }

    .modal-sending-repeat-error .my-order__layout-btns .my-order__layout-btn {
        width: 100%;
        flex: 1 1 auto;
    }

    .modal-personal__bot {
        align-items: center;
        gap: 20px;
        width: 100%;
        margin-top: 16px;
        padding-top: 30px;
        border-top: 1px solid #d5e3ea;
    }

    .modal-personal .header__top-list {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        width: 100%;
    }

    .modal-personal .header__top-list-item-link {
        font-size: 16px;
        line-height: 16px;
        font-weight: 500;
        color: #444b54;
    }

    .modal-personal .social {
        margin: 0;
        padding: 0;
        border: none;
        width: auto;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }

    .modal-personal .social__item-link {
        width: 34px;
        height: 34px;
    }

    .modal-personal .social svg {
        width: 30px;
        height: 30px;
    }

    .modal-sending-error .modal-personal__bot,
    .modal-sending-repeat-error .modal-personal__bot {
        padding-top: 30px;
        border-top: 1px solid #d5e3ea;
        align-items: center;
        justify-content: center;
    }

    .cloack2,
    .apporv {
        width: 34px;
        height: 34px;
        min-width: 34px;
    }
}

/* --- v6 compatibility --- */
.my-orders__card-img.no_imges {
    width: 150px;
    height: 150px;
    box-sizing: border-box;
    background: #dff0fa;
    color: #5a7d95;
    font-weight: 600;
    font-size: 12px;
    text-align: center;
    text-transform: uppercase;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.my-orders__card-img.orange {
    width: 150px;
    height: 150px;
    box-sizing: border-box;
    background: var(--yellowlight);
    color: var(--black);
    font-weight: 600;
    font-size: 12px;
    text-align: center;
    text-transform: uppercase;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.my-orders__card-date {
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    color: #000;
    min-width: 235px;
    display: inline-block;
}
.woocommerce img, .woocommerce-page img {
    height: 100%;
}
.new-order {
    display: none;
}
#btn_order_prof.new-order {
    display: flex;
}
#new-order_btn-border.new-order {
    display: none !important;
}
.my-orders__card-link--disabled,
span.my-orders__card-link {
    color: #999;
    cursor: default;
    text-decoration: none;
    pointer-events: none;
}
@media (max-width: 480px) {
    .footer {
        padding: 40px 0 40px 0;
    }
    .my-orders__card-status {
        min-width: 120px;
        text-align: center;
    }
}

/* ===== V16: фиксы по отчёту дизайнеров 13.08 ===== */
/* п.3/п.20/п.21: «Дубль заказа №…» не должен наезжать на дату */
.my-orders__card-num {
    min-width: 0;
    flex-wrap: wrap;
}
.my-orders__card-num-value {
    min-width: 0;
    overflow: visible;
    white-space: normal;
    text-overflow: clip;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
}
.my-orders__card-date {
    min-width: 0;
    white-space: normal;
}
@media (max-width: 700px) {
    .my-orders__card-head-left {
        justify-content: flex-start;
    }
    .my-orders__card-num-value {
        font-size: 14px;
    }
    .my-orders__card-date {
        font-size: 14px;
    }
}
/* п.14: убираем лишний hover-эффект карточки (в ките его нет) */
.my-orders__card:hover {
    background: var(--white);
}
