/*База*/
* {
    box-sizing: border-box;}
html {
    min-height: 100%;}
body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(30, 135, 240, 0.10), transparent 30%),
        linear-gradient(180deg, #f6f8fb 0%, #ffffff 100%);
    color: #1f2937;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;}



/*Навигация*/
.uk-container {
    max-width: 1040px;}
.uk-navbar-container {
    margin-top: 12px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);}
.uk-navbar-left {
    display: flex;
    align-items: center;}
.uk-navbar-left a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    color: #1f2937;
    text-decoration: none;
    transition: 0.2s ease;}
.uk-navbar-left a:hover {
    background: #eef6ff;
    color: #1e87f0;
    text-decoration: none;}
.uk-navbar-left i {
    font-size: 17px;}
.uk-navbar-left p {
    padding: 8px 12px;
    border-radius: 999px;
    background: #f3f6fb;
    border: 1px solid #e5e7eb;
    color: #374151;}



/*Боковое меню*/
.uk-offcanvas-bar {
    background-color: #ffffff;
    color: #374151;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);}
.uk-offcanvas-bar .uk-offcanvas-close {
    color: #6b7280;}
.uk-offcanvas-bar .uk-offcanvas-close:hover {
    color: #111827;}
.uk-offcanvas-bar a.uk-margin-small {
    width: 100%;
    margin-top: 8px;
    background-color: #ffffff;
    color: #1f2937;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    text-align: left;
    box-shadow: none;}
.uk-offcanvas-bar a.uk-margin-small:hover {
    background-color: #eef6ff;
    color: #1e87f0;
    border-color: #bfdbfe;}



/*Основной контент*/
#content {
    width: 100%;
    margin: 0 auto 30px auto;
    padding: 8px 10px 30px;}
#content[style*="max-width: 700px"] {
    margin-left: auto;
    margin-right: auto;}
#content h1 {
    margin-top: 10px;
    margin-bottom: 24px !important;
    color: #111827;
    letter-spacing: -1.5px;
    line-height: 1;}
.uk-heading-hero {
    font-weight: 800;}
.uk-card.uk-card-default {
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);}
.uk-card-body {
    padding: 28px;}
h3.uk-card-title {
    margin-top: 0;
    margin-bottom: 18px;
    text-align: center;
    line-height: 1.2;
    color: #1f2937;
    font-weight: 700;}
#content > div > div > .uk-card.uk-card-default {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;}



/*Формы и поля*/
form.uk-flex.uk-flex-column {
    gap: 4px;}
label {
    display: inline-block;
    margin-bottom: 6px;
    color: #374151;
    font-size: 14px;
    font-weight: 600;}
.uk-input,
.uk-select,
.uk-textarea {
    border-radius: 11px;
    border: 1px solid #d9dee8;
    background-color: #ffffff;
    color: #111827;
    transition: 0.2s ease;}
.uk-input,
.uk-select {
    height: 42px;}
.uk-input:focus,
.uk-select:focus,
.uk-textarea:focus {
    border-color: #1e87f0;
    box-shadow: 0 0 0 3px rgba(30, 135, 240, 0.13);
    background-color: #ffffff;}
.uk-input::placeholder,
.uk-textarea::placeholder {
    color: #9ca3af;}
.uk-input:disabled,
.uk-select:disabled,
.uk-textarea:disabled {
    background-color: #f3f4f6;
    color: #6b7280;
    border-color: #d1d5db;}
/* Поле только для чтения — визуально «неактивное», но значение отправляется */
.uk-input[readonly] {
    background: #f3f4f6;
    color: #6b7280;
    cursor: not-allowed;}
#selected_date,
#selected_worker {
    background-color: #f9fafb !important;
    color: #4b5563 !important;}
#work_select,
#part_select {
    min-width: 0;}
#payment_type {
    font-weight: 700;}
.filter-type-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    cursor: pointer;}
.part-print-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 8px;
    cursor: pointer;
    user-select: none;
    font-size: 11px;
    color: #666;
    vertical-align: middle;}
.part-print-label-text {
    line-height: 1;}

.part-badges .order-status-badge { margin: 0;}
/* Обёртка под два бейджа в строке */
.part-badges {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;}
/* Бейдж цены закупки — нейтральный серый, чтобы не спорил с ценой клиента */
.part-badge-purchase {
    background: #e5e7eb!important;
    color: #374151!important;
    border: 1px solid #d1d5db!important;}



/*Кнопки*/
.uk-button {
    border-radius: 12px;
    font-weight: 700;
    transition: 0.2s ease;}
.uk-button-default {
    min-height: 42px;
    line-height: 1.2 !important;
    padding: 12px 15px !important;
    background: #ffffff;
    color: #1f2937;
    border: 1px solid #d1d5db;}
.uk-button-default:hover {
    background: #eef6ff;
    color: #1e87f0;
    border-color: #bfdbfe;}
form button[type="submit"] {
    margin-top: 18px !important;
    min-height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1e87f0, #0f6ecd);
    color: #ffffff;
    border: none;
    font-weight: 800;
    font-size: 15px;
    box-shadow: 0 10px 22px rgba(30, 135, 240, 0.25);}
form button[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(30, 135, 240, 0.32);
    background: linear-gradient(135deg, #0f7ae5, #075eb5);
    color: #ffffff;}
.uk-card a.uk-button-default {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 46px;
    margin-top: 8px !important;
    text-decoration: none;}
.uk-card a.uk-margin-small.uk-button-default {
    letter-spacing: 0.3px;}
.uk-card a.uk-margin-small.uk-button-default:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(30, 135, 240, 0.12);}
#add_work,
#add_part {
    min-height: 42px;
    border-radius: 11px;
    white-space: nowrap;
    font-weight: 700;
    border-color: #d1d5db;
    background: #ffffff;
    color: #111827;}
#add_work:hover {
    background: #1e87f0;
    color: #ffffff;
    border-color: #1e87f0;}
#add_part:hover {
    background: #32d296;
    color: #ffffff;
    border-color: #32d296;}
.remove-work,
.remove-part {
    min-width: 34px;
    border-radius: 9px;
    padding-left: 10px !important;
    padding-right: 10px !important;
    font-weight: 800;}
form button[type="submit"].uk-button-danger {
    background: linear-gradient(135deg, #e03131, #c92a2a);
    box-shadow: 0 10px 22px rgba(224, 49, 49, 0.25);}
form button[type="submit"].uk-button-danger:hover {
    background: linear-gradient(135deg, #c92a2a, #b02525);}



/*Меню страницы*/
.pagemenu {
    max-width: 780px;
    margin: 20px auto 20px auto;}
.pagemenu a.menu-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    padding: 9px 14px;
    margin: 0 5px 0 0;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #ffffff;
    color: #1e87f0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.04);
    transition: 0.2s ease;}
.pagemenu a.menu-link:hover {
    background-color: #1e87f0;
    color: #ffffff;
    border-color: #1e87f0;
    text-decoration: none;}

/* Выделенная кнопка действия — возврат к заказу, добавление запчасти */
.menu-link-accent {
    background: #2563eb !important;
    color: #fff !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    padding: 6px 12px !important;}
.menu-link-accent:hover {
    background: #1d4ed8 !important;
    color: #fff !important;}



/*Новая заявка*/
#select_seat {
    width: 100%;}
#select_seat .uk-margin-small-top {
    margin-top: 12px !important;}
#select_seat.closest-order {
    max-width: 780px;}



/*Корзины заказа*/
.order-cart-box {
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);}
.works-cart-box {
    border-left: 5px solid #1e87f0;}
.parts-cart-box {
    border-left: 5px solid #32d296;}
/* Кнопка «Добавить» + мелкая ссылка под ней */
.part-add-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    flex-shrink: 0;}
.part-add-actions .uk-button {
    margin: 0 !important;}
/* Мелкая текстовая ссылка «+ Новая запчасть» */
.part-new-link {
    display: block;
    text-align: center;
    font-size: 12px;
    line-height: 1.3;
    color: #2563eb;
    text-decoration: none;
    white-space: nowrap;
    padding: 0;}
.part-new-link:hover {
    color: #1d4ed8;
    text-decoration: underline;}
.order-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #edf0f5;
    color: #1f2937;
    font-weight: 800;}
.order-cart-header-title {
    display: flex;
    align-items: center;
    gap: 9px;}
.order-cart-body {
    padding: 14px;
    background: #ffffff;
    min-height: 62px;}
.order-cart-empty {
    padding: 10px 0;
    color: #9ca3af;
    font-size: 14px;}
.order-cart-item {
    padding: 11px 12px;
    border: 1px solid #edf0f5;
    border-radius: 13px;
    background: #ffffff;
    margin-bottom: 9px;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04);
    transition: 0.2s ease;}
.order-cart-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.07);}
.order-cart-item:last-child {
    margin-bottom: 0;}
.order-cart-price {
    margin-top: 3px;
    font-size: 13px;
    color: #6b7280;}
.order-cart-price .cart-price-input {
    width: 92px;
    display: inline-block;
    padding: 2px 6px;
    height: 28px;}
.order-cart-price .cart-price-unit {
    margin-left: 4px;}
.cart-price-input.cart-price-changed {
    border-color: #f0a500;
    box-shadow: inset 0 0 0 1px #f0a500;}
.order-cart-badge-work {
    background: #1e87f0;
    color: #ffffff;}
.order-cart-badge-part {
    background: #32d296;
    color: #ffffff;}
.order-section-title {
    margin-top: 20px;
    margin-bottom: 8px;
    color: #111827;
    font-weight: 800;
    font-size: 16px;}
.order-cart-item-main {
    flex: 1;
    min-width: 0;}
.order-cart-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;}
.order-cart-price .cart-price-input {
    width: 88px;
    display: inline-block;
    padding: 2px 6px;
    height: 28px;}
.order-cart-price .cart-qty-input   {
    width: 60px;
    display: inline-block;
    padding: 2px 6px;
    height: 28px;
    text-align: center;}
.order-cart-price .cart-price-unit  {
    margin-right: 4px;}
.order-cart-price .cart-price-times {
    margin: 0 4px;
    color: #999;}
.cart-row-sum-wrap {
    margin-left: 6px;
    color: #333;
    font-weight: 600;}
.cart-price-input.cart-price-changed,
.cart-qty-input.cart-qty-changed {
    border-color: #f0a500;
    box-shadow: inset 0 0 0 1px #f0a500;}
.order-cart-master {
    margin-top: 6px;
    width: 100%;}
.order-cart-master .cart-master-select {
    width: 100%;
    max-width: 320px;}



/*Просмотр заказа*/
.order-view-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border: 1px solid #e5e7eb;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);}
.order-view-number {
    color: #111827;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.1;}
.order-view-subtitle {
    margin-top: 5px;
    color: #6b7280;
    font-size: 14px;}
.order-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #eef6ff;
    color: #1e87f0;
    border: 1px solid #bfdbfe;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;}
.order-status-badge.status-new {
    background: #eef6ff;
    color: #1e87f0;
    border-color: #bfdbfe;}
.order-status-badge.status-progress {
    background: #fff4e6;
    color: #f2751a;
    border-color: #fed7aa;}
.order-status-badge.status-waiting {
    background: #fef9c3;
    color: #a16207;
    border-color: #fde68a;}
.order-status-badge.status-done {
    background: #e8faf1;
    color: #1fa971;
    border-color: #a7f3d0;}
.order-status-badge.status-canceled {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fecaca;}
.order-view-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;}
.order-info-box {
    padding: 14px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.035);}
.order-info-label {
    margin-bottom: 5px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;}
.order-info-value {
    color: #111827;
    font-size: 15px;
    font-weight: 800;}
.order-view-section {
    margin-top: 22px;}
.order-view-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 9px;
    color: #111827;
    font-size: 16px;
    font-weight: 900;}
.order-client-link {
    text-decoration: none;
    color: inherit;
    border-bottom: 1px dashed #999;}
.order-client-link:hover {
    color: #1e87f0;
    border-bottom-color: #1e87f0;
    text-decoration: none;}
.order-client-sep {
    color: #999;
    margin: 0 2px;}
.order-client-phone {
    white-space: nowrap;}
/* Текст клиента — обычный, не ссылка */
.order-client-text {
    font-weight: 800;}
/* Две маленькие кнопки под клиентом */
.order-client-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;}
.client-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 600;
    color: #fff !important;
    background: #2563eb;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none !important;
    transition: background-color .15s ease;
    white-space: nowrap;}
.client-action-btn:hover {
    background: #1d4ed8;
    color: #fff !important;}
.client-action-icon {
    font-size: 11px;
    line-height: 1;}



/*Стоимость заказа*/
#works_price,
#parts_price,
#total_price {
    height: 44px;
    font-weight: 800;
    font-size: 17px;
    background: #f9fafb !important;}
#works_price {
    border-left: 5px solid #1e87f0 !important;}
#parts_price {
    border-left: 5px solid #32d296 !important;}
#total_price {
    border-left: 5px solid #faa05a !important;
    background: #fffaf3 !important;
    color: #111827 !important;
    font-size: 19px;}



/*Список заявок*/
.orders-list {
    gap: 10px;}
.order-list-item {
    display: block;
    padding: 14px 16px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    color: #111827;
    text-decoration: none;
    transition: 0.2s ease;
    border-left: 5px solid #1e87f0;}
.order-list-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.09);
    border-color: #bfdbfe;
    border-left-color: #0f6ecd;
    color: #111827;
    text-decoration: none;}
.order-list-item.status-new {
    border-left-color: #1e87f0;}
.order-list-item.status-new:hover {
    border-left-color: #0f6ecd;}
.order-list-item.status-progress {
    border-left-color: #f2751a;}
.order-list-item.status-progress:hover {
    border-left-color: #c85a10;}
.order-list-item.status-waiting {
    border-left-color: #a16207;}
.order-list-item.status-waiting:hover {
    border-left-color: #78430a;}
.order-list-item.status-done {
    border-left-color: #1fa971;}
.order-list-item.status-done:hover {
    border-left-color: #14895a;}
.order-list-item.status-canceled {
    border-left-color: #dc2626;}
.order-list-item.status-canceled:hover {
    border-left-color: #a91a1a;}
.order-list-item-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;}
.order-list-item-title {
    color: #111827;
    font-size: 16px;
    font-weight: 800;}
.order-list-item-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;}
.order-list-item-cell {
    padding: 8px 10px;
    border-radius: 10px;
    background: #f9fafb;
    border: 1px solid #edf0f5;}
.order-list-item-label {
    margin-bottom: 3px;
    color: #6b7280;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;}
.order-list-item-value {
    color: #111827;
    font-size: 14px;
    font-weight: 700;}
.order-list-item-total {
    color: #faa05a;}

.order-list-item-types {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
    margin-bottom: 6px;}
.order-type-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    color: #fff;}
.order-type-badge.type-1 { background: #e07b00; } /* Антикор */
.order-type-badge.type-2 { background: #0b6bcb; } /* Фильтры */
.order-type-badge.type-3 { background: #2a9d4a; } /* Турбины */



/*Вход в систему*/
#login_system {
    gap: 5px;}
#login_system .uk-input {
    height: 46px;
    font-size: 15px;}
#login_system button[type="submit"] {
    min-height: 48px;}



/*Страница доступа*/
#content[style*="max-width: 700px"] .uk-card {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;}
#content[style*="max-width: 700px"] h1 {
    margin-top: 18px;}
#content[style*="max-width: 700px"] .uk-card a.uk-button-default {
    justify-content: center;
    min-height: 48px;
    border-radius: 14px;
    background: #ffffff;
    border-color: #e5e7eb;
    color: #1f2937;}
#content[style*="max-width: 700px"] .uk-card a.uk-button-default:hover {
    background: linear-gradient(135deg, #1e87f0, #0f6ecd);
    border-color: transparent;
    color: #ffffff;}



/*Оператор*/
p.operator {
    margin: 0;
    font-size: 11px;
    top: 10px;
    left: 10px;}



/*Подвал*/
body > .uk-padding-small.uk-container.uk-flex.uk-flex-column.uk-flex-middle {
    margin-top: 24px;
    margin-bottom: 12px;
    padding-top: 22px !important;
    padding-bottom: 22px !important;
    border-top: 1px solid #e5e7eb;
    color: #6b7280;}
body > .uk-padding-small.uk-container.uk-flex.uk-flex-column.uk-flex-middle h2 {
    color: #1f2937;
    font-weight: 800;}
body > .uk-padding-small.uk-container.uk-flex.uk-flex-column.uk-flex-middle p {
    color: #6b7280;}



/*Панель печати, аккардеон*/
.print-accordion {
    margin: 0;
    padding: 0;
    list-style: none;}
/* Гасим штатный маркер UIkit — у нас свой шеврон */
.print-accordion .uk-accordion-title::before,
.print-accordion .uk-accordion-title::after {
    content: none !important;
    display: none !important;}
.print-accordion .print-accordion-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
    padding: 14px 16px;
    border-radius: 14px;
    background: #c7c7c7;
    color: #333333;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;}
.print-accordion .print-accordion-title:hover {
    background: #b0b0b0;
    text-decoration: none;}
/* Шеврон: квадрат с двумя сторонами, повёрнутый на 45° */
.print-accordion .print-accordion-arrow {
    flex: none;
    width: 9px;
    height: 9px;
    margin-bottom: 3px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;}
/* Открыто — UIkit сам вешает uk-open на <li> */
.print-accordion .uk-open .print-accordion-arrow {
    margin-bottom: 0;
    margin-top: 3px;
    transform: rotate(225deg);}
.print-accordion .print-panel-placeholder {
    padding: 16px;
    color: #666666;
    font-size: 15px;}



/*Адаптив 700*/
@media (max-width: 700px) {
    .uk-container {
        padding-left: 10px;
        padding-right: 10px;}
    .uk-navbar-container {
        margin-top: 8px;
        margin-bottom: 12px;
        border-radius: 14px;}
    .uk-navbar-left {
        gap: 6px !important;
        flex-wrap: wrap;}
    .uk-navbar-left p {
        max-width: 100%;
        font-size: 11px !important;
        padding: 7px 10px;}
    #content {
        padding: 4px 6px 24px;}
    #content h1 {
        font-size: 38px;
        line-height: 1.05;
        margin-bottom: 18px !important;}
    .uk-card-body {
        padding: 20px;}
    .uk-card.uk-card-default {
        border-radius: 16px;}
    .pagemenu {
        margin: 12px auto 14px auto;}
}



/*Адаптив 550*/
@media (max-width: 550px) {
    #content h1 {
        font-size: 34px;}
    h3.uk-card-title {
        font-size: 20px;}
    .uk-input,
    .uk-select {
        height: 44px;}
    #work_select,
    #part_select {
        width: 100%;
        margin-bottom: 8px;
        display: block;}
    #add_work,
    #add_part {
        width: 100%;}
    #work_select + #add_work,
    #part_select + #add_part {
        margin-left: 0;}
    #work_select,
    #part_select,
    #add_work,
    #add_part {
        flex: 1 1 100%;}
    #select_seat .uk-flex.uk-flex-middle {
        flex-wrap: wrap;
        align-items: stretch;
        gap: 8px !important;}
    .order-cart-header {
        align-items: flex-start;
        gap: 8px;}
    .order-cart-item {
        align-items: flex-start;
        gap: 10px;}
    .remove-work,
    .remove-part {
        min-width: 36px;}
    form button[type="submit"] {
        min-height: 50px;}
    .order-add-row {
        flex-direction: column;
        align-items: stretch;
        gap: 8px !important;}
    .order-list-item-grid {
        grid-template-columns: 1fr;}
    .order-list-item-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;}
}



/*Адаптив 380*/
@media (max-width: 380px) {
    #content h1 {
        font-size: 30px;}
    .uk-card-body {
        padding: 16px;}
    .uk-navbar-left a {
        width: 34px;
        height: 34px;}
    .order-cart-header {
        padding: 12px;}
    .order-cart-body {
        padding: 12px;}
}