:root {
    --coop-img-path: '';
}

.page-catalog .container, .page-order .container {
    max-width: 1320px;
}
.related-orders .container {
max-width: 1320px;
}

/* Location desktop/mobile visibility */
.location-mobile {
    display: none;
}
@media (max-width: 767px) {
    .location-desktop {
        display: none;
    }
    .location-mobile {
        display: inline;
    }
}

.page-catalog {

}

.catalog-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.catalog-header__title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 140%;
    color: #16181E;
}

.catalog-header__filter-btn {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: #484848;
    background-color: transparent;
    border: none;
    padding-right: 16px;
    background: url(img/catalog/icon-filter.svg) 100% 50% no-repeat;
    background-size: 14px;
}

.catalog-header__filter-btn--has-filter {
    color: #1928F0;
    background: url(img/catalog/icon-filter-active.svg) 100% 50% no-repeat;
}

.catalog-header__title-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 32px;
}

.catalog-header__actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    order: 3;
    gap: 16px;
    margin-top: 16px;
}

.catalog-header__actions .order__copy-link {
    display: none;
}

.catalog-header__add-order {
    display: inline-flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: #fff;
    padding: 16px 20px;
    border-radius: 16px;
    background-color: #1928F0;
    border: none;
    transition: all 200ms ease-in-out;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
}

.catalog-header__search {
    width: 100%;
    margin-top: 12px;
}

.order-search {
    position: relative;
}

.order-search__input {
    width: 100%;
    padding: 14px 20px;
    padding-right: 50px;
    border: 1px solid #D9D9D9;
    border-radius: 41px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    background-color: #fff;
    color: #16181E;
    outline: 0;
}

/* Убираем крестик в input type="search" */
.order-search__input::-webkit-search-cancel-button {
    display: none;
    -webkit-appearance: none;
}

.order-search__input[type="search"]::-webkit-search-decoration,
.order-search__input[type="search"]::-webkit-search-cancel-button,
.order-search__input[type="search"]::-webkit-search-results-button,
.order-search__input[type="search"]::-webkit-search-results-decoration {
    display: none;
    -webkit-appearance: none;
}

.order-search__action {
    width: 20px;
    height: 20px;
    background: url(img/catalog/icon-search.svg) 50% 50% no-repeat;
    background-size: 20px;
    background-color: transparent;
    border: none;
    position: absolute;
    top: 14px;
    right: 20px;
}

.order-search__input:focus {
    border-color: #1928F0;
}

.order-search__input:focus + .order-search__action {
    background: url(img/catalog/icon-search-hover.svg) 50% 50% no-repeat;
    background-size: 20px;
}

/* Автокомплит для поиска */
.order-search__autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border: 1px solid #D9D9D9;
    border-radius: 8px;
    margin-top: 4px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.order-search__suggestion {
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 1px solid #F0F0F0;
    transition: background-color 0.2s ease;
}

.order-search__suggestion:last-child {
    border-bottom: none;
}

.order-search__suggestion:hover {
    background-color: #F6F6F6;
}

.order-search__suggestion-title {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #16181E;
    margin-bottom: 4px;
}

.order-search__suggestion-location {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: #6B7280;
}

/* Заголовок результатов поиска */
.catalog-search-results-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.catalog-search-results__back {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background: url(img/catalog/icon-back.svg) 50% 50% no-repeat;
    background-size: 20px;
    cursor: pointer;
    display: block;
    text-decoration: none;
}

.catalog-search-results__title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 130%;
    color: #16181E;
    margin: 0;
}

.order-search__input::placeholder {
    color: #ADADAD;
}

.catalog-header__filters {
    display: none;
}

.filter-opened .catalog-header__filters {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    padding: 24px 16px 50px 16px;
    background-color: #fff;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* Плавный скролл на iOS */
}

/* Убираем sticky поведение кнопки "Применить фильтры" при фокусе на поиск */
.filter-opened .catalog-header__filters:has(.of-dropdown__search-input:focus) .order-filters__apply {
    position: absolute !important;
    bottom: 50px !important;
    transform: none !important;
    margin-top: 0 !important;
}

.filter-opened {
    overflow: hidden;
}

.order-filters__header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    justify-content: space-between;
    margin-bottom: 30px;
}

/* Skeleton для фильтров */
.order-filters__form--skeleton {
    pointer-events: none;
}

.order-filters__item--skeleton {
    pointer-events: none;
    cursor: default;
}

.order-filters__item--skeleton .of-select__title {
    pointer-events: none;
    cursor: default;
}

.order-filters__item--skeleton .skeleton {
    background: linear-gradient(90deg, #E5E5E5 25%, #F0F0F0 50%, #E5E5E5 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

.order-filters__item--skeleton .of-select__title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    padding: 16px 12px;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px #E5E5E5;
    background-color: #fff;
}

.order-filters__error {
    padding: 20px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #666;
}

.order-filters__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-filters__item {
    width: 100%;
}


.of-select__title {
    padding: 16px 12px;
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    gap: 4px;
    cursor: pointer;
    align-items: center;
    box-shadow: inset 0 0 0 1px #D9D9D9;
    justify-content: space-between;

}

.of-select__title:hover {
    border-color: #1928F0;
}

.of-select__title-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: #ADADAD;
    width: calc(100% - 20px);
}

.of-select__title-chevron {
    width: 16px;
    height: 16px;
    background: url(img/catalog/icon-filter-chevron.svg) 50% 50% no-repeat;
    background-size: 16px;
}

.order-filters__title {
    padding-left: 4px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 140%;
    color: #16181E;
}

.of-dropdown {
    display: none;
    flex-direction: column;
    padding: 0;
    width: 100%;
    border-radius: 4px;
    border: 1px solid #F2F4F7;
    position: absolute;
    top: 54px;
    background-color: #fff;
    z-index: 2;
    box-shadow: 0px 4px 6px -2px #00000008,
                0px 12px 16px -4px #00000014;
}

.of-dropdown__search {
    padding: 8px;
    border-bottom: 1px solid #E5E5E5;
    background: #FFFFFF;
    position: relative;
}

.of-dropdown__search-input {
    width: 100%;
    padding: 10px 32px 10px 12px;
    border: 1px solid #D9D9D9;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 16px;
    color: #16181E;
    background: #FFFFFF;
    outline: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.of-dropdown__search-input:focus {
    border-color: #1928F0;
}

.of-dropdown__search-input::placeholder {
    color: #999;
}

.of-dropdown__search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    cursor: text;
    color: #949494;
    transition: color 0.2s ease;
    z-index: 1;
}

.of-dropdown__search-icon svg {
    width: 16px;
    height: 16px;
    display: block;
}

.of-dropdown__search-icon--focused {
    color: #1928F0;
}

.of-dropdown__items {
    /* max-height устанавливается динамически через inline стили на основе высоты первых 4 элементов */
    overflow-y: auto;
    padding: 4px;
    -webkit-overflow-scrolling: touch; /* Плавный скролл на iOS */
}

.order-filters__item_active .of-dropdown {
    display: flex;
}

.of-dropdown__item {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.of-dropdown__item-content {
    padding: 10px 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #16181E;
    width: 100%;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.of-dropdown__item-text {
    flex: 1;
    cursor: pointer;
}

.of-dropdown__item-checkbox-area {
    width: 38px;
    min-width: 38px;
    height: 100%;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.of-dropdown__item--has-children .of-dropdown__item-content {
    font-weight: 500;
}

.of-dropdown__children {
    display: block;
    width: 100%;
    margin-top: 0;
    padding-left: 0;
    margin-left: 0;
}

.of-dropdown__item--child {
    width: 100%;
    padding-left: 18px;
}

.of-dropdown__item--child .of-dropdown__item-content {
    padding-left: 15px;
    font-weight: 400;
}

.of-dropdown__item-expand {
    font-size: 10px;
    color: #999;
    margin-left: 0;
    transition: transform 0.2s ease;
    flex-shrink: 0;
    transform: rotate(0);
    position: absolute;
    left: 0;
}

.of-dropdown__item--expanded .of-dropdown__item-expand {
    
}


.of-select {
    position: relative;
}

.of-dropdown__item.selected .of-dropdown__item-content {
    position: relative;
    padding-right: 32px;
    background-color: #F6F6F6;
    border-radius: 4px;
}

/* Галочка справа для single-select элементов */
.of-select[data-type="single"] .of-dropdown__item.selected .of-dropdown__item-content::after,
.of-dropdown__item.selected:not([data-type="multi"]) .of-dropdown__item-content::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: url(img/catalog/icon-select-check-single.svg) 50% 50% no-repeat;
    background-size: 16px;
}

.of-select[data-type="multi"] .of-dropdown__item.selected .of-dropdown__item-content, .of-select[data-type="multi"] .of-dropdown__item .of-dropdown__item-content {
    padding-right: 12px;
    padding-left: 0;
    background-color: #fff;
}

.of-dropdown__item-content:hover {
    background-color: #DEE9FF !important;
}


.of-select[data-type="multi"] .of-dropdown__item-checkbox-area::before {
    content: '';
    position: absolute;
    left: 16px;
    width: 16px;
    height: 16px;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid #D9D9D9;
    border-radius: 2px;
    background-color: #fff;
}

.of-select[data-type="multi"] .of-dropdown__item.selected .of-dropdown__item-checkbox-area::before {
    border: none;
    background: url(img/catalog/icon-select-check-multi.svg) 50% 50% no-repeat;
    background-size: 16px;
}

.of-dropdown__item[data-type="multi"].selected {
    background-color: #f0f0f0;
}

.of-select__title-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.order-filters__item_active .of-select__title {
    border-color: #1928F0;
}

.of-select.has-selection .of-select__title-text {
    color: #16181E;
}

.order-filters__item_active .of-select__title-chevron {
    transform: rotate(180deg);
}

.order-filters__clear {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: #707070;
    padding: 8px 12px 8px 36px;
    background: url(img/catalog/icon-filter-clear.svg) 12px 50% no-repeat;
    background-size: 16px;
    width: 178px;
    display: block;
    opacity: 0;
    visibility: hidden;
    margin: 30px auto;
    cursor: pointer;
}

.order-filters__clear--active {
    opacity: 1;
    visibility: visible;
}

.order-filters__apply {
    width: calc(100% - 32px);
    background-color: #1928F0;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    padding: 18px;
    border-radius: 16px;
    cursor: pointer;
    border: none;
    position: absolute;
    bottom: 50px;
    left: 16px;
    right: 16px;
    transition: all 200ms ease-in-out;
}

.order-filters__apply:hover {
    background-color: #3341FE;
}

.order-filters__close {
    width: 22px;
    height: 22px;
    background: url(img/catalog/icon-close.svg) 50% 50% no-repeat;
    background-size: contain;
    cursor: pointer;
    flex-shrink: 0;
}

.catalog-orders {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-item {
    background-color: #F6F6F6;
    padding: 16px 12px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.order-item--skeleton {
    cursor: default;
    pointer-events: none;
}

.order-item__image-wrapper {
    padding-right: 17px;

    text-align: center;
    height: 169px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.order-item--has-3d .order-item__image-wrapper::after {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 30px;
    height: 30px;
    background: url(img/catalog/icon-3d.svg) 50% 50% no-repeat;
    background-size: contain;
    content: '';
}
.order__image-wrapper--has-3d::after {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 30px;
    height: 30px;
    background: url(img/catalog/icon-3d.svg) 50% 50% no-repeat;
    background-size: contain;
    content: '';
}

.order-item__image {
    width: 240px;
    height: 129px;
    object-fit: contain;
    object-position: center;
}

.order-item__image--no-photo, .order-item__image--nda {
    width: auto;
}

.order-item__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    gap: 12px;
    margin-bottom: 10px;
}

.order-item__header-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600; 
    font-size: 16px;
    line-height: 140%;
    align-items: center;
    color: #16181E;
    display: flex;
}

.order-item:hover .order-item__header-title {
    color: #1928F0;
}

.order-item:hover .order-item__header-title .order-item__header-nda-icon {
    color: #575B67;
}

.order-item__header-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background: url(img/catalog/icon-link.svg) 50% 50% no-repeat;
    background-size: 20px;
    cursor: pointer;
}

.order-item__middle {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
}

.order-item__tags {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.catalog-orders__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: #666;
}

.catalog-orders__empty-icon {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.catalog-orders__empty-text {
    font-size: 18px;
    max-width: 400px;
    line-height: 1.5;
}

.order-item__tag {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    color: #2F333F;
    border-radius: 50px;
    padding: 6px 10px;
    background-color: #E1E4EE;
}

.order-item__location {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 4px;
}

.order-item__location-icon {
    width: 16px;
    height: 16px;
    background: url(img/catalog/icon-location.svg) 50% 50% no-repeat;
    background-size: 16px;
    flex-shrink: 0;
}

.order-item__location-text {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #6B7280;
}

.order-item__bottom {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.order-item__attr {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
    width: calc(50% - 4px);
}

.order-item__bottom .order-item__attr:nth-child(3){
    width: 100%;
    margin-bottom: 0;
}

.order-item__attr-label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: #6B7280;
}

.order-item__attr-value {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #16181E;
}

.order-item--nda .order-item__attr-value {
    color: #6B7280;
}

.not-order {
    margin-bottom: 60px;
    margin-top: 40px;
}

.not-order .container {
    background-color: #F6F6F6;
    border-radius: 16px;
    padding: 24px 16px;
}

.not-order__title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 130%;
    text-align: center;
    color: #16181E;
    margin-bottom: 16px;
}

.not-order__description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    text-align: center;
    color: #2A2A2A;
    margin-bottom: 16px;
}

.not-order__btn {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: #fff;
    background-color: #1928F0;
    border-radius: 16px;
    width: 100%;
    text-align: center;
    cursor: pointer;
    padding: 18px;
    transition: all 200ms ease-in-out;
    display: block;
}

.not-order__btn:hover {
    background-color: #3341FE;
}

.carousel-orders {
    background-color: #DFE5FF;
    padding: 20px 12px;
    border-radius: 16px;
    margin: 20px 0;
    margin-right: -16px;
    padding-right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.carousel-orders__header {
    margin-bottom: 16px;
}

.carousel-orders__title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 140%;
    color: #16181E;
}

.carousel-orders__comment {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #2F333F;
}

.carousel-orders-wrapper {
    overflow: auto;
}
.page-template-page-catalog .logo__img,.page-template-page-order .logo__img {
height: 27px;
}
.co-item {
    background-color: #fff;
    border-radius: 11px;
    padding: 10px;
    max-width: 260px;
    min-width: 260px;
    width: 100%;
    padding-bottom: 16px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
@media(min-width: 1200px) {
.co-item {
 padding-bottom: 20px;
}
}
.co-item__top {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    padding-bottom: 6px;
}

.co-item__bottom {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    margin-top: auto;
}

.co-item__image-wrapper {
    height: 160px;
    background-color: #F6F6F6;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px;
    margin-bottom: 10px;
    position: relative;
}

.co-item__image-wrapper--has-3d::after,
.co-item--has-3d .co-item__image-wrapper::after {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 30px;
    height: 30px;
    background: url(img/catalog/icon-3d.svg) 50% 50% no-repeat;
    background-size: contain;
    content: '';
    z-index: 1;
}

.carousel-orders__items {
    display: flex;
    flex-direction: row;
    justify-content: start;
    gap: 16px;
}

.carousel-orders__items:after {
    height: 100px;
    width: 12px;
    content: '';
}

.co-item__title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 150%;
    color: #16181E;
    margin-bottom: 0;
    transition: all 200ms ease-in-out;
}


.co-item:hover .co-item__title {
    color: #1928F0;
}  

.co-item__location {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 140%;
    color: #6B7280;
    padding-left: 16px;
    background: url(img/catalog/icon-location.svg) 0 50% no-repeat;
    background-size: 12px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    height: auto;
}

.co-item__location.toolkit {
    display: inline-flex;
}

.co-item__tags {
    display: flex;
    align-items: center;
    gap: 6px;
}

.co-item__tag {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 11px;
    line-height: 140%;
    color: #2F333F;
    background-color: #E1E4EE;
    border-radius: 50px;
    padding: 5px 8.5px;
}

.carousel-orders--light {
    background-color: #F6F6F6;
}

.carousel-orders__btns {
    display: none;
}

.order__content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.order__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.order__title-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.order__back-link {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background: url(img/catalog/icon-back.svg) 50% 50% no-repeat;
    background-size: 20px;
    cursor: pointer;
}

.order__title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 140%;
    color: #16181E;
}

.order__copy-link {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    background: url(img/catalog/icon-order-copy.svg) 50% 50% no-repeat;
    background-size: 14px;
    cursor: pointer;
    background-color: #F6F6F6;
    border-radius: 24px;
}

.order__copy-link span {
    display: none;
}

.order__image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background-color: #F6F6F6;
    position: relative;
    border-radius: 16px;
    padding: 16px;
}

.order__image {
    width: 240px;
    height: auto;
}

.order__content-top {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
}

.order__tags {
    display: flex;
    align-items: center;
    gap: 8px;
}

.order__tag {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    color: #2F333F;
    background-color: #E1E4EE;
    border-radius: 50px;
    padding: 6px 10px;
}

.order__location {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    text-align: left;
    color: #6B7280;
    padding-left: 20px;
    background: url(img/catalog/icon-location.svg) 0 50% no-repeat;
    background-size: 16px;
    display: flex;
    align-items: center;
    position: relative;
}

.order__content-middle {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.order__attr {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: calc(50% - 4px);
    margin-bottom: 10px;
}

.order__attr-label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    text-align: left;
    color: #6B7280;
}

.order__attr-value {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 160%;
    text-align: left;
    color: #16181E;
}

.order__content-middle .order__attr:nth-child(3){
    width: 100%;
    margin-bottom: 0;
}

.order__description {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}

.order__description-label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 160%;
    text-align: left;
    color: #484848;
}

.order__description-content {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 160%;
    text-align: left;
    color: #16181E;
}

.order__description-more {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    text-align: left;
    display: inline-block;
    width: 118px;
    color: #929DB2;
    cursor: pointer;
    padding-right: 14px;
    background: url(img/catalog/icon-description-more.svg) 100% 50% no-repeat;
    background-size: 8px;
}

.order__btn-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order__btn {
    display: block;
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #fff;
    padding: 16px;
    text-align: center;
    border-radius: 12px;
    background-color: #1928F0;
    border: none;
    cursor: pointer;
    transition: all 200ms ease-in-out;
}

.order__btn:hover {
    background-color: #3341FE;
}

.order__btn--platform {
    background-color: transparent;
    border: 1px solid #1928F0;
    color: #1928F0;
}

.order__btn--platform:hover {
    background-color: #1928F0;
    color: #fff;
}

.order__docs {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px 16px;
    background-color: #F6F6F6;
    border-radius: 16px;
}

.order__docs-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 140%;
    color: #16181E;
}

.order__docs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order__docs-item {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    align-items: center;
    background-color: #fff;
    border-radius: 8px;
    padding: 12px;
}

.order__docs-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.order__docs-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.order__docs-name {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #16181E;
}

.order__docs-size {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
    color: #707070;
}

.order__content {
    padding: 16px 12px;
    border-radius: 16px;
    background-color: #F6F6F6;
    height: 100%;
}
.page-template-page-order {
 min-height: 100vh;

}
.page-order {
    margin-bottom: 80px;
   
}

.related-orders {
    margin-bottom: 100px;
}

.related-orders__header {
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.related-orders__title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 140%;
    text-align: left;
    color: #16181E;
}

.related-orders__all {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #1928F0;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border: 1px solid #1928F0;
    border-radius: 12px;
    transition: all 200ms ease-in-out;
}

.related-orders__all:hover {
    background-color: #1928F0;
    color: #fff;
}

.related-orders__all::after {
    content: 'Все заказы';
    text-align: center;
}

.co-item__image {
width: 100%;
height: auto;
object-fit: contain;
aspect-ratio: 1 / 1;
object-position: center;
height: 100%;
}
.co-item--has-3d .co-item__image {
height: 150%;
}
.co-item__image-wrapper {
aspect-ratio: 1 / 1;
overflow: hidden;
}
.modal--order {
    background-color: #fff !important;
    border-radius: 20px !important;
    padding: 40px 20px 32px 20px !important;
    display: flex;
    justify-content: center;
}

.order-modal__title {
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 150% !important;
    color: #16181E !important;
    text-align: center !important;
    margin-bottom: 32px !important;
}

.modal--order .modal__close {
    top: 14px;
    right: 16px;
    height: 20px;
    width: 20px;
    background: url(img/catalog/icon-modal-close.svg) 50% 50% no-repeat;
    background-size: 20px;
}
.order-modal__btn {
    font-family: 'Inter', sans-serif !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 16px;
    text-align: center;
    vertical-align: middle;
    color: #fff !important;
    background-color: #1928F0 !important;
    padding: 20px !important;
    border-radius: 16px !important;
    border: none;
    cursor: pointer;
    width: 100% !important;
    transition: all 200ms ease-in-out;
    display: block;
}

.order-modal__btn:hover {
    background-color: #3341FE;
}

.carousel-orders--outbox {
    margin-top: 40px;
    margin-bottom: 40px;
}

.order-item__header-nda-icon {
    width: fit-content;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    border-radius: 50px !important;
    padding: 4px 32px 4px 12px !important;
    background: url(img/catalog/icon-nda.svg) calc(100% - 12px) 50% no-repeat !important;
    background-size: 16px !important;
    background-color: #E4E4E4 !important;
    display: inline-block !important;
    margin-left: 12px !important;
    color: #575B67 !important;
}

.order-item__content {
    width: 100% !important;
}

/* Базовые стили для элемента */
.toolkit {
    position: relative;
    cursor: pointer;
    display: flex;
}

/* Стили для тултипа */
.toolkit-tooltip {
    position: absolute;
    background-color: #181D27;
    color: white;
    padding: 12px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    box-shadow: 0px 4px 6px -2px #0A0D1208, 0px 12px 16px -4px #0A0D1214;
}



/* Позиционирование тултипа (по умолчанию сверху) */
.toolkit-tooltip.top {
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    max-width: calc(100vw - 20px);
    word-wrap: break-word;
}

.catalog-pagination-wrapper {
    display: none;
}

.toolkit-tooltip.top::after {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-color: #333 transparent transparent transparent;
}

.toolkit-tooltip.bottom {
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    max-width: calc(100vw - 20px);
    word-wrap: break-word;
}

.toolkit-tooltip.bottom::after {
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-color: transparent transparent #333 transparent;
}

.toolkit-tooltip.left {
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
}

.toolkit-tooltip.left::after {
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    border-color: transparent transparent transparent #333;
}

.toolkit-tooltip.right {
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
}

.toolkit-tooltip.right::after {
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    border-color: transparent #333 transparent transparent;
}

/* Показываем тултип при наведении */
.toolkit:hover .toolkit-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Адаптивность для длинного текста */
.toolkit-tooltip.multiline {
    white-space: normal;
    max-width: 356px;
    min-width: 356px;
}

.catalog-mobile-add-order {
    margin-top: 20px;
}

.modal-30-sec {
    position: fixed;
    bottom: 24px;
    right: 16px;
    background-color: #1928F0;
    padding: 16px;
    border-radius: 12px;
    color: #fff;
    width: 265px;
}

.modal-30-sec__close {
    position: absolute;
    width: 12px;
    height: 12px;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.modal-30-sec__close svg {
    width: 100%;
    height: 100%;
}

.modal-30-sec__title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 145%;
    color: #fff;
    margin-bottom: 12px;
}

.modal-30-sec__btn {
    font-family: Inter;
    font-weight: 500;
    font-style: Medium;
    font-size: 12px;
    leading-trim: NONE;
    line-height: 16px;
    letter-spacing: 0%;
    color: #1928F0;
    background-color: #fff;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    width: fit-content;
    border: none;
}



/* На мобильных устройствах ограничиваем ширину тултипа */
@media (max-width: 767px) {
    .catalog-mobile-add-order {
        display: block;
        margin-bottom: 24px;
    }
    
    .catalog-mobile-add-order .catalog-header__add-order {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        background: none;
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 14px;
        line-height: 16px;
        color: #fff;
        padding: 16px 20px;
        border-radius: 16px;
        background-color: #1928F0;
        border: none;
        transition: all 200ms ease-in-out;
        cursor: pointer;
        text-decoration: none;
        box-sizing: border-box;
    }
    
    .catalog-mobile-add-order .catalog-header__add-order::before {
        content: '';
        display: inline-block;
        width: 20px;
        height: 20px;
        background: url(img/catalog/icon-plus.svg) 50% 50% no-repeat;
        background-size: contain;
        flex-shrink: 0;
    }
    
    .catalog-mobile-add-order .catalog-header__add-order:hover {
        background-color: #3341FE;
    }
    
    .co-item__tag--empty {
        display: none;
    }
    
    .toolkit-tooltip {
        max-width: calc(100vw - 20px) !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    
    .toolkit-tooltip.multiline {
        max-width: calc(100vw - 20px) !important;
        min-width: auto !important;
    }
    
    /* Для тултипа кнопки копирования на мобильных - прижимаем к правому краю */
    .order__copy-link .toolkit-tooltip {
        left: auto !important;
        right: 0 !important;
        transform: none !important;
    }
}

.related-orders__show-more {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #1928F0;
    cursor: pointer;
    background-color: transparent;
    text-align: center;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border: 1px solid #1928F0;
    border-radius: 12px;
    transition: all 200ms ease-in-out;
}

.related-orders__show-more:hover {
    background-color: #1928F0;
    color: #fff;
}

    .catalog-header__add-order {
        display: block;
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 14px;
        line-height: 16px;
        color: #fff;
        padding: 16px 20px 16px 48px;
        border-radius: 16px;
        background: url(img/catalog/icon-plus.svg) calc(50% - 58px) 50% no-repeat;
        background-color: #1928F0;
        background-size: 20px;
        border: none;
        transition: all 200ms ease-in-out;
        cursor: pointer;
        text-decoration: none;
    }

.catalog-orders__invoice-banner {
    padding: 30px 24px;
    background-color: #DFE5FF;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.co-invoice-banner__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.co-invoice-banner__title {
    font-family: Inter;
    font-weight: 700;
    font-style: Bold;
    font-size: 28px;
    leading-trim: NONE;
    line-height: 140%;
    letter-spacing: 0%;
    color: #16181E;
}

.co-invoice-banner__description {
    font-family: Inter;
    font-weight: 500;
    font-style: Medium;
    font-size: 18px;
    leading-trim: NONE;
    line-height: 160%;
    letter-spacing: 0%;
    color: #2F333F;
}

.co-invoice-banner__btn {
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
    color: #fff;
    border-radius: 16px;
    padding: 24px 36px;
    background-color: #1928F0;
    cursor: pointer;
    transition: all 200ms ease-in-out;
    text-align: center;
}

.co-invoice-banner__btn:hover {
    background-color: #3341FE;
}

@media (min-width: 768px){
    .catalog-header__actions  {
        width: auto;
        margin-top: 0;
        order: unset;
    }

    .co-invoice-banner__btn {
        width: fit-content;
    }

    .carousel-orders {
        border-radius: 16px !important;
    }

    .catalog-header__title-wrapper {
        justify-content: flex-start;
        width: auto;
    }
    .related-orders__show-more {
        width: 264px;
        margin: 20px auto 0;
        font-size: 16px;
        padding: 20px 24px;
    }

    .catalog-header__title {
        font-weight: 700;
        font-size: 28px;
        line-height: 130%;
    }

    .catalog-header__add-order {
        display: block;
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 14px;
        line-height: 16px;
        color: #fff;
        padding: 16px 20px 16px 48px;
        border-radius: 16px;
        background: url(img/catalog/icon-plus.svg) 20px 50% no-repeat;
        background-color: #1928F0;
        background-size: 20px;
        border: none;
        transition: all 200ms ease-in-out;
        cursor: pointer;
        text-decoration: none;
    }

    .catalog-header__add-order:hover {
        background-color: #3341FE;
    }

    .catalog-header__search {
    }

    .catalog-header {
        position: relative;
    }

    .filter-opened .catalog-header__filters {
        width: 460px;
        left: auto;
        display: flex;
        flex-direction: column;
        bottom: 24px;
        right: 24px;
        box-shadow: 2px 0px 8px 0px #0000000A;
        border-radius: 8px;
        padding: 20px 24px 23px 24px;
    }

    .order-filters__close {
        width: 36px;
        height: 36px;
        background-size: 32px;
    }

    .of-dropdown__item {
        word-wrap: break-word;
    }


    .of-select__title {
        padding: 16px 14px;
    }

    .of-dropdown {
        top: 52px;
    }

    .order-item {
        flex-direction: row;
        gap: 20px;
        justify-content: space-between;
        padding: 16px 24px 16px 16px;
    }

    .order-item__image-wrapper {
        display: flex;
        padding-bottom: 40px;
        align-items: center;
        padding-right: 0;
        border-right: 2px solid #E4E4E4;
        min-width: 153px;
        width: 153px;
        justify-content: center;
    }

    .page-template-page-catalog {
        padding: 24px 24px 0 24px;
    }

    .order-item__image {
        width: 100%;
        aspect-ratio: 151 / 127;
        height: 160px;
    }

    .order-item__image--no-photo, .order-item__image--nda {
        aspect-ratio: 1;
        width: 140px !important;
        height: 140px !important;
    }

    .order-item__header-title {
        align-items: center;
        font-size: 18px;
    }

    .order-item__header {
        gap: 24px;
    }

    .order-item__middle {
        flex-direction: row;
        gap: 24px;
        align-items: center;
        justify-content: space-between;
    }

    .order-item__tag {
        font-size: 14px;
        padding: 8px 10px;
    }

    .order-item__image-wrapper {
        padding-bottom: 0;
        padding-right: 17px;
    }

    .order-item__bottom {
        gap: 16px;
    }

    .order-item__attr {
        width: calc(50% - 8px);
        margin-bottom: 0;
    }

    .order-item__bottom .order-item__attr:nth-child(3) {
        margin-top: -2px;
    }

    .not-order__btn {
        max-width: 302px;
        margin: 0 auto;
    }

    .not-order__title {
        margin-bottom: 20px;
    }

    .not-order {
        margin-bottom: 80px;
    }

    .not-order__description {
        font-size: 16px;
    }

    .carousel-orders {
        margin-right: 0;
        padding: 20px;
        padding-right: 0;
    }

    .carousel-orders__header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-right: 20px;
    }

    .carousel-orders__items:after {
        min-width: 2px;
    }

    .carousel-orders--light {
        background-color: #fff;
        padding: 0;
    }
    .order-item__image {
    width: auto;
    }
    
    .catalog-mobile-add-order {
        display: none;
        margin-bottom: 24px;
    }
    .carousel-orders--light .co-item {
        background-color: #F6F6F6;
    }

    .carousel-orders--light .co-item__image-wrapper {
        background-color: #fff;
    }
    
    .co-item__title {
        max-height: 42px;
        overflow: hidden;
    }
    
    .co-item__tags {
        height: 24px;
    }
    
    .co-item__tag--empty {
        visibility: hidden;
    }

    .order__title-wrapper {
        gap: 16px;
    }

    .order__back-link {
        width: 28px;
        height: 28px;
        background-size: 28px;
    }

    .order__title {
        font-size: 24px;
        line-height: 140%;
    }

    .order__copy-link span {
        display: block;
    }

    .order__copy-link {
        font-family: 'Inter', sans-serif;
        font-size: 14px;
        line-height: 100%;
        color: #16181E;
        padding: 12px 14px 12px 36px;
        background-position: 14px 50%;
        background-size: 14px;
        width: auto;
        height: auto;
    }

    .order__image-wrapper {
        padding: 24px;
    }

    .order__image {
        width: auto;
        height: 140px;
    }

    .order__content-wrapper {
        gap: 20px;
    }

    .order__content {
        padding: 20px;
    }

    .order__content-top {
        flex-direction: row;
        justify-content: space-between;
        margin-bottom: 12px;
    }

    .order__tag {
        font-size: 14px;
        line-height: 140%;
        padding: 8px 12px;
    }

    .order__attr {
        gap: 4px;
    }

    .order__attr-label {
        font-size: 16px;
        line-height: 160%;
        font-weight: 400;
        color: #484848;
    }

    .order__attr-value {
        font-size: 16px;
        line-height: 160%;
        font-weight: 600;
        color: #2F333F;
    }

    .order__content-middle {
        flex-wrap: nowrap;
        gap: 30px;
        margin-bottom: 8px;
    }

    .order__content-middle .order__attr:nth-child(1) {
        width: 140px;
        flex-shrink: 0;
    }
    
    .order__content-middle .order__attr:nth-child(2) {
        width: 93px;
        flex-shrink: 0;
    }

    .order__description-label {
        font-size: 16px;
        line-height: 160%;
        font-weight: 400;
    }

    .order__description-content {
        font-size: 14px;
        font-weight: 500;
        line-height: 160%;
    }

    .order__description-more {
        color: #6B7280;
    }

    .order__btn {
        padding: 20px 24px;
        font-size: 16px;
        line-height: 20px;
        width: auto;
    }

    .order__btn-wrapper {
        flex-direction: row;
        gap: 20px;
    }

    .related-orders__title {
        font-size: 24px;
    }

    .related-orders__all {
        font-size: 16px;
        padding: 20px 24px;
    }

    .related-orders__all::after {
        content: 'Смотреть все заказы';
    }

    .modal--order {
        padding: 60px 48px 48px 48px !important;
        max-width: 780px !important;
    }

    .modal .order-modal__title {
        font-size: 24px !important;
        line-height: 150% !important;
        margin-bottom: 32px !important;
    }

    .order-modal__btn {
        font-size: 18px !important;
        padding: 24px !important;
        border-radius: 12px !important;
    }

    .carousel-orders--outbox {
        margin-top: 60px;
        margin-bottom: 60px;
    }

    .modal-30-sec {
        padding: 24px;
        border-radius: 16px;
        width: 322px;
    }

    .modal-30-sec__close {
        width: 14px;
        height: 14px;
        top: 12px;
        right: 14px;
    }

    .modal-30-sec__title {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .modal-30-sec__btn {
        padding: 16px 20px;
        font-size: 14px;
    }
}

.carousel-orders--light .carousel-orders__title span {
    color: #1928F0;
}
@media (min-width: 1200px){

    .catalog-orders__invoice-banner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .order-item__image-wrapper {
    min-width:305px !important;
    }
    .order-filters__header {
        display: none;
    }
    .carousel-orders__header {
        margin-bottom: 12px;
    }

    .catalog-header__filter-btn {
        display: none;
    }

    .carousel-orders__comment {
        display: none;
    }

    .carousel-orders__btns {
        display: flex;
        gap: 12px;
    }

    .carousel-orders__btn-prev, .carousel-orders__btn-next {
        width: 36px;
        height: 36px;
        border-radius: 36px;
        cursor: pointer;
        background: url(img/catalog/icon-carousel-arrow.svg) 50% 50% no-repeat;
        background-color: #fff;
        background-size: 16px;
        border: none;
    }

    .carousel-orders__btn-next {
        transform: rotate(180deg);
    }

    .carousel-orders--light .carousel-orders__btn-prev,
    .carousel-orders--light .carousel-orders__btn-next {
        background-color: #F6F6F6;
    }

    .carousel-orders {
        margin-right: 0;
        border-radius: 16px;
        padding-right: 20px;
    }

    .carousel-orders-wrapper {
        overflow: hidden;
    }

    .co-item {
        width: 328px;
        min-width: 328px;
        max-width: 328px;
    }

    .carousel-orders__btn-next:disabled, .carousel-orders__btn-prev:disabled {
        opacity: 0.5;
    }

    .carousel-orders--light {
        padding-right: 0;
    }

    .carousel-orders--light .co-item {
        width: 328px;
        min-width: 328px;
        max-width: 328px;
    }


    .order__content-wrapper {
        grid-template-columns: 1fr 2fr;
        grid-template-rows: auto auto;
        gap: 20px;
        align-items: start;
    }

    .order__image-wrapper {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    .order__content {
        grid-column: 2 / 3;
        grid-row: 1 / 3;
        height: fit-content;
    }

    .order__docs {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }

    .order__title {
        font-size: 28px;
        line-height: 140%;
    }

    .order__header {
        margin-bottom: 21px;
    }

    .related-orders__title {
        font-size: 28px;
    }

    .carousel-orders--outbox {
        margin-top: 80px;
        margin-bottom: 80px;
    }

    .order-item__attr-value {
        font-size: 16px;
    }

    .order-item__bottom {
        flex-wrap: nowrap;
        gap: 48px;
    }

    .order-item__attr {
        width: 100%;
    }

    .catalog-header__filters {
        display: flex !important;
        flex-wrap: wrap;
        width: 100%;
        justify-content: flex-end;
    }
    
    .catalog-header__filters .order-filters__header {
        display: none;
    }

    .order-filters__apply {
        display: none;
    }

    .order-filters__form {
        flex-direction: row;
        width: 100%;
    }
    
    .order-filters__form--skeleton {
        flex-direction: row;
        width: 100%;
    }
    
    .order-filters__item--skeleton {
        width: calc((100% / 5) - 2px);
    }

    .order-filters__clear {
        margin: 0;
        margin-top: 8px;
        display: none;
    }

    .order-filters__clear--active {
        display: block;
    }

    .co-item__title {
        font-size: 16px;
        max-height: 48px;
        overflow: hidden;
    }

    .co-item__location {
        font-size: 14px;
    }
    
    .co-item__tags {
        height: 26.8px;
    }

    .co-item__tag {
        font-size: 12px;
    }
    
    .co-item__tag--empty {
        visibility: hidden;
    }

    .carousel-orders__title {
        font-size: 24px;
    }

    .not-order__title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .not-order .container {
        padding: 40px;
    }

    .not-order__btn {
        width: 350px;
        font-size: 16px;
        max-width: 350px;
        padding: 24px;
    }
}

@media (min-width: 1200px){
    .catalog-header__search {
        width: calc(100% - 535px);
        margin-bottom: 16px;
        position: relative;
        left: -15px;
    }
    .catalog-header__actions {
    order: 3;
    }
    .order-filters__form {
        flex-wrap: nowrap;
    }

    .order-filters__item {
        width: calc((100% / 5) - 2px) !important;
    }

    .catalog-header__title {
        font-size: 32px;
    }

    .catalog-header__search {
        width: calc(100% - 550px);
    }

    .catalog-header__add-order {
        width: 190px;
    }
    .catalog-header__title-wrapper {
    width: 270px;
    }

    .catalog-header__filters {
        order: 4;
    }
    
    .catalog-mobile-add-order {
        display: none;
    }
    
    .catalog-orders {
        gap: 20px;
    }

    .catalog-orders--search-results {
        margin-top: 20px;
    }

    .order-item__header-title {
        font-size: 20px;
    }

    .order-item__header-title {
        font-size: 20px;
    }

    .order-item__image-wrapper {
        width: 305px;
        padding-bottom: 0;
        flex-shrink: 0;
    }

    .order-item__image {
        aspect-ratio: 305 / 164;
    }

    .order-item__image--no-photo, .order-item__image--nda {
        aspect-ratio: 1;
    }

    .order-item__bottom {
        flex-wrap: nowrap;
        gap: 48px;
    }

    .order-item__attr {
        width: 100%;
    }

    .order-item__bottom .order-item__attr:nth-child(1) {
        width: 123px;
        flex-shrink: 0;
    }
    .order-item__bottom .order-item__attr:nth-child(2) {
        width: 81px;
        flex-shrink: 0;
    }

    .of-select__title {
        padding: 12px;
    }

    .not-order {
        margin-bottom: 100px;
        margin-top: 80px;
    }

    .page-order {
        margin-bottom: 80px;
    }

    .page-order__wrapper {
        min-height: 70vh;
    }

    /* Пагинация для десктопа */
    .catalog-pagination-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        margin: 32px 0;
        padding: 0;
    }

    .modal-30-sec {
        border-radius: 16px;
        width: 420px;
    }

    .modal-30-sec__title {
        font-size: 24px;
    }

}



.catalog-pagination__per-page {
    position: absolute;
    right: 0;
    }
.catalog-pagination__per-page {
    display: flex;
    align-items: center;
    gap: 12px;
}

.catalog-pagination__per-page-label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    color: #16181E;
}

.catalog-pagination__per-page-select {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    color: #16181E;
    background-color: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    min-width: 80px;
    transition: all 0.2s ease;
}

.catalog-pagination__per-page-select:hover {
    border-color: #1928F0;
}

.catalog-pagination__per-page-select:focus {
    outline: none;
    border-color: #1928F0;
}

.catalog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.catalog-pagination__btn {
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-pagination__btn:hover:not(:disabled) {
    opacity: 0.7;
}

.catalog-pagination__btn:disabled {
    cursor: not-allowed;
}

.catalog-pagination__btn:disabled .catalog-pagination__icon-active {
    display: none;
}

.catalog-pagination__btn:disabled .catalog-pagination__icon-disabled {
    display: block !important;
}

.catalog-pagination__btn:not(:disabled) .catalog-pagination__icon-active {
    display: block;
}

.catalog-pagination__btn:not(:disabled) .catalog-pagination__icon-disabled {
    display: none !important;
}

.catalog-pagination__pages {
    display: flex;
    align-items: center;
    gap: 6px;
}

.catalog-pagination__page {
    width: 40px;
    height: 40px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    text-align: center;
    color: #16181E;
    background-color: transparent;
    border: none;
    border-radius: 100px;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.catalog-pagination__page:hover:not(.catalog-pagination__page--active) {
    background-color: #F5F5F5;
}

.catalog-pagination__page--active {
    background: #1928F0;
    color: #FFFFFF;
    cursor: default;
}

.catalog-pagination__page--active:hover {
    background: #1928F0;
    color: #FFFFFF;
}

.catalog-pagination__ellipsis {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    color: #16181E;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Кнопка "Показать еще" для мобильных устройств */
.catalog-load-more {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #1928F0;
    cursor: pointer;
    background-color: transparent;
    text-align: center;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border: 1px solid #1928F0;
    border-radius: 12px;
    transition: all 200ms ease-in-out;
    box-sizing: border-box;
}

.catalog-load-more:hover {
    background-color: #1928F0;
    color: #fff;
}

.catalog-load-more:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.catalog-load-more__text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: inherit;
}

/* Индикатор загрузки для основного контейнера */
.catalog-orders__loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #484848;
}

/* Skeleton loader стили */
.order-item--skeleton {
    pointer-events: none;
    cursor: default;
}

.order-item--skeleton .order-item__image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.skeleton {
    background: linear-gradient(90deg, #E5E5E5 25%, #F0F0F0 50%, #E5E5E5 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.order-item--skeleton .skeleton-image {
    width: 100%;
    height: 129px;
    border-radius: 8px;
}

.order-item--skeleton .skeleton-text {
    height: 16px;
    margin-bottom: 6px;
}

.order-item--skeleton .skeleton-text--title {
    height: 20px;
    width: 80%;
    margin-bottom: 10px;
}

.order-item--skeleton .skeleton-text--location {
    height: 20px;
    width: 60%;
}

.order-item--skeleton .skeleton-text--label {
    height: 14px;
    width: 50%;
    margin-bottom: 6px;
}

.order-item--skeleton .skeleton-text--value {
    height: 20px;
    width: 70%;
}

.order-item--skeleton .skeleton-tag {
    width: 60px;
    height: 20px;
    border-radius: 50px;
    display: inline-block;
    margin-right: 8px;
}

.order-item--skeleton .skeleton-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    flex-shrink: 0;
}

/* Адаптация skeleton для десктопа */
@media (min-width: 768px) {
    .order-item--skeleton .skeleton-image {
        height: 160px;
        width: 100%;
        max-width: 240px;
    }
    
    .order-item--skeleton .skeleton-text--title {
        height: 22px;
        width: 85%;
    }
    
    .order-item--skeleton .skeleton-text--label {
        height: 16px;
        width: 55%;
    }
    
    .order-item--skeleton .skeleton-text--value {
        height: 22px;
        width: 75%;
    }
    
    .order-item--skeleton .skeleton-tag {
        width: 70px;
        height: 24px;
    }
}

@media (min-width: 1200px) {
    .order-item--skeleton .skeleton-image {
        height: 164px;
        width: 100%;
    }
    
    .order-item--skeleton .skeleton-text--title {
        height: 24px;
    }
    
    .order-item--skeleton .skeleton-text--value {
        height: 24px;
    }
}

/* Адаптивность пагинации */
@media (max-width: 1023px) {
    .catalog-pagination {
        display: none !important;
    }
    
    .catalog-pagination__per-page {
        display: none !important;
    }
    
    .catalog-load-more {
        display: flex;
    }
}

@media (min-width: 768px) {
    .catalog-load-more {
        width: 264px;
        margin: 20px auto 0;
        font-size: 16px;
        padding: 20px 24px;
    }
}

@media (min-width: 1024px) {
    .catalog-load-more {
        display: none !important;
    }
}

@media (min-width: 1200px) {
    .footer {
        margin-left: -24px !important;
    }
}
@media(max-width: 1024px) {

    .page-catalog, .page-order{
        margin-top: 80px !important;
    } 
}